blu.org  wiki

 « Return to Thread: text editor with auto-save feature

Re: text editor with auto-save feature

by Jerry Feldman-2 :: Rate this Message:

Reply to Author | View in Thread

On 05/21/2009 08:41 AM, Kevin D. Clark wrote:

> Tom Metro writes:
>
>  
>> Any recommendations for a Linux GUI text editor that will automatically
>> save unnamed buffers?
>>    
>
> How about:
>
> xemacs -vanilla /tmp/unamed-file-created-on-`date '+%Y-%m-%d-%H-%M-%S'`
>
> It's not exactly what you asked for, but it might accomplish your
> goal.
>
>  
Again with xemacs,  a bare xemacs and GNU emacs comes up in a *scratch*
buffer that is not saved. But, if you want to create a buffer ^x^f lets
you either read an existing file or create a buffer with a file name.
And at that point, a save file is created in the current directory. So,
if your system crashes because of a hardware problem (because we all
know that neither Linux nor Emacs ever crashes) you will have at least a
partial file. Additionally, if you start vi (eg. vim) and start editing,
a .swp file is created, since there is no file name associated. Normally
a <filename>.swp is created.


--
Jerry Feldman <gaf@...>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846



_______________________________________________
Discuss mailing list
Discuss@...
http://lists.blu.org/mailman/listinfo/discuss

 « Return to Thread: text editor with auto-save feature