Discussion:
[ jEdit-devel ] [jedit:feature-requests] #501 Auto-save untitled buffers
(too old to reply)
Maarten Boekhold
2015-08-12 08:28:16 UTC
Permalink
---

** [feature-requests:#501] Auto-save untitled buffers**

**Status:** open
**Group:** none
**Created:** Wed Aug 12, 2015 08:28 AM UTC by Maarten Boekhold
**Last Updated:** Wed Aug 12, 2015 08:28 AM UTC
**Owner:** nobody


Hi,

I'm missing a feature from Notepad++/SublimeText that I find very useful. In those editors when you create a new buffer, enter text but do not save to file, when you exit the editor the buffer is saved automatically somewhere, and when you open the editor again, it is automatically reloaded.

This is incredibly useful for "persistent scratch buffers".

Is this something that jEdit already supports (5.2) and I just can't find it, or is it a feature that could be added?

Maarten


---

Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Maarten Boekhold
2015-09-06 09:59:02 UTC
Permalink
I'm willing to have a look at implementing this myself, but I could use some pointers to get started. I did some testing, and had an initial look at the source code:

* Currently auto-save is done in whatever directory the file browser is. That's a problem if you use remote filesystems. IMO auto-save (eg the #Untitled-1# files) should be located in a central 'autosave' directory on the local filesystem.
* On exit of jEdit, it asks if you want to save the untitled buffers. There's no way to tell it "no, I don't want to save as real file but keep the autosave file".

Both of these should be easy to solve, but probably requires some discussion as it would change the existing behavior of jEdit.


---

** [feature-requests:#501] Auto-save untitled buffers**

**Status:** open
**Group:** none
**Created:** Wed Aug 12, 2015 08:28 AM UTC by Maarten Boekhold
**Last Updated:** Wed Aug 12, 2015 08:28 AM UTC
**Owner:** nobody


Hi,

I'm missing a feature from Notepad++/SublimeText that I find very useful. In those editors when you create a new buffer, enter text but do not save to file, when you exit the editor the buffer is saved automatically somewhere, and when you open the editor again, it is automatically reloaded.

This is incredibly useful for "persistent scratch buffers".

Is this something that jEdit already supports (5.2) and I just can't find it, or is it a feature that could be added?

Maarten


---

Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Hrotkó Gábor
2017-02-17 17:36:50 UTC
Permalink
patch #596 create for this
https://sourceforge.net/p/jedit/patches/596/


---

** [feature-requests:#501] Auto-save untitled buffers**

**Status:** open
**Group:** none
**Created:** Wed Aug 12, 2015 08:28 AM UTC by Maarten Boekhold
**Last Updated:** Sun Sep 06, 2015 09:59 AM UTC
**Owner:** nobody


Hi,

I'm missing a feature from Notepad++/SublimeText that I find very useful. In those editors when you create a new buffer, enter text but do not save to file, when you exit the editor the buffer is saved automatically somewhere, and when you open the editor again, it is automatically reloaded.

This is incredibly useful for "persistent scratch buffers".

Is this something that jEdit already supports (5.2) and I just can't find it, or is it a feature that could be added?

Maarten


---

Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Alan Ezust
2017-05-30 20:07:13 UTC
Permalink
- **status**: open --> closed-accepted
- **Comment**:

Committed to jEdit 5.5pre1



---

** [feature-requests:#501] Auto-save untitled buffers**

**Status:** closed-accepted
**Group:** none
**Created:** Wed Aug 12, 2015 08:28 AM UTC by Maarten Boekhold
**Last Updated:** Fri Feb 17, 2017 05:36 PM UTC
**Owner:** nobody


Hi,

I'm missing a feature from Notepad++/SublimeText that I find very useful. In those editors when you create a new buffer, enter text but do not save to file, when you exit the editor the buffer is saved automatically somewhere, and when you open the editor again, it is automatically reloaded.

This is incredibly useful for "persistent scratch buffers".

Is this something that jEdit already supports (5.2) and I just can't find it, or is it a feature that could be added?

Maarten


---

Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Loading...