emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto save for shell buffers


From: Andreas Schwab
Subject: Re: auto save for shell buffers
Date: Wed, 24 Jan 2018 10:19:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)

On Jan 24 2018, Robert Pluim <address@hidden> wrote:

> Perry Smith <address@hidden> writes:
>
>> How can I set things up so the buffer being used to run an inferior shell 
>> will be autosaved periodically to a file?
>>
>> The file to save in could be named "shell-2018-01-22".
>>
>> I thought this would be trivial but it seems the autosave concept is
>> deeply tied into the visiting file concepts which of course, doesn't
>> apply for the buffer being used by the inferior shell.
>>
>
> I'm not sure why you think that. You can save the shell buffer to a
> file, and it will be autosaved. Note that the shell buffer doesn't
> have to be called "*shell*"

Also, auto-save handles non-file buffers as well.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]