* backup files on mounted filesystems
@ 2013-04-12 12:29 Michael Bane
2013-04-12 14:57 ` Eli Zaretskii
2013-04-12 16:58 ` Stefan Monnier
0 siblings, 2 replies; 7+ messages in thread
From: Michael Bane @ 2013-04-12 12:29 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
Hi
I've noticed that I do not seem to get automatic backup files if I am on a mounted filesystem (eg /tmp). Is there a setting for enabling this functionality?
Many thanks,
Michael Bane || Snr Research Applications & Collaboration Consultant || RAC Team || IT Services || The University of Manchester || 0161 306 6652 || michael.bane@manchester.ac.uk || @mkbane_mcr || http://www.rac.manchester.ac.uk || http://www.manchester.ac.uk/rac
[-- Attachment #2: Type: text/html, Size: 2649 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: backup files on mounted filesystems
2013-04-12 12:29 backup files on mounted filesystems Michael Bane
@ 2013-04-12 14:57 ` Eli Zaretskii
2013-04-12 16:12 ` Michael Bane
2013-04-12 16:58 ` Stefan Monnier
1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2013-04-12 14:57 UTC (permalink / raw)
To: help-gnu-emacs
> From: Michael Bane <michael.bane@manchester.ac.uk>
> Date: Fri, 12 Apr 2013 13:29:49 +0100
>
> I've noticed that I do not seem to get automatic backup files if I am on a mounted filesystem (eg /tmp). Is there a setting for enabling this functionality?
Not mounted filesystems, but specifically /tmp, because it's a place
where you place temporary files.
To customize this, define your own function instead of
normal-backup-enable-predicate, and set backup-enable-predicate to
that function.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: backup files on mounted filesystems
2013-04-12 14:57 ` Eli Zaretskii
@ 2013-04-12 16:12 ` Michael Bane
2013-04-12 17:41 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Michael Bane @ 2013-04-12 16:12 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: <help-gnu-emacs@gnu.org>
On 12 Apr 2013, at 15:57, Eli Zaretskii wrote:
>> From: Michael Bane <michael.bane@manchester.ac.uk>
>> Date: Fri, 12 Apr 2013 13:29:49 +0100
>>
>> I've noticed that I do not seem to get automatic backup files if I am on a mounted filesystem (eg /tmp). Is there a setting for enabling this functionality?
>
> Not mounted filesystems, but specifically /tmp, because it's a place
> where you place temporary files.
As well as /tmp (on whichever OS I have tried) I also see this issue on MacOS where work/ is a mounted (encrypted) filesystem
Thanks, Michael
>
> To customize this, define your own function instead of
> normal-backup-enable-predicate, and set backup-enable-predicate to
> that function.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: backup files on mounted filesystems
2013-04-12 16:12 ` Michael Bane
@ 2013-04-12 17:41 ` Eli Zaretskii
[not found] ` <6DED36A28A9D17448D476BCDD077928E012F6D5EA2@MBXP07.ds.man.ac.uk>
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2013-04-12 17:41 UTC (permalink / raw)
To: help-gnu-emacs
> From: Michael Bane <michael.bane@manchester.ac.uk>
> CC: "<help-gnu-emacs@gnu.org>" <help-gnu-emacs@gnu.org>
> Date: Fri, 12 Apr 2013 16:12:11 +0000
>
> >> I've noticed that I do not seem to get automatic backup files if I am on a mounted filesystem (eg /tmp). Is there a setting for enabling this functionality?
> >
> > Not mounted filesystems, but specifically /tmp, because it's a place
> > where you place temporary files.
>
> As well as /tmp (on whichever OS I have tried) I also see this issue on MacOS where work/ is a mounted (encrypted) filesystem
If work/ is temporary-file-directory, then that's again Emacs in
action. Otherwise, it's not Emacs's fault.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: backup files on mounted filesystems
2013-04-12 12:29 backup files on mounted filesystems Michael Bane
2013-04-12 14:57 ` Eli Zaretskii
@ 2013-04-12 16:58 ` Stefan Monnier
1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2013-04-12 16:58 UTC (permalink / raw)
To: help-gnu-emacs
> I've noticed that I do not seem to get automatic backup files if I am
> on a mounted filesystem (eg /tmp).
On Unix, you can't basically access a file unless it's on
a mounted filesystem. Even "/" is a "mounted filesystem".
But yes, /tmp is treated specially in Emacs. You can set
backup-enable-predicate to another function if you want to change
this behavior.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-04-16 16:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 12:29 backup files on mounted filesystems Michael Bane
2013-04-12 14:57 ` Eli Zaretskii
2013-04-12 16:12 ` Michael Bane
2013-04-12 17:41 ` Eli Zaretskii
[not found] ` <6DED36A28A9D17448D476BCDD077928E012F6D5EA2@MBXP07.ds.man.ac.uk>
[not found] ` <83mwt38wm0.fsf@gnu.org>
2013-04-16 14:34 ` Michael Bane
2013-04-16 16:15 ` Eli Zaretskii
2013-04-12 16:58 ` Stefan Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).