help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: make-auto-save-file-name: not using name transforms for mere buffers


From: Eli Zaretskii
Subject: Re: make-auto-save-file-name: not using name transforms for mere buffers
Date: Fri, 12 Dec 2003 20:38:56 +0200

> From: Florian von Savigny <florian265@uboot.com>
> Newsgroups: gnu.emacs.help
> Date: 12 Dec 2003 02:19:30 +0100
> 
> > > Wow, thanks for this hint; it does sound like a sane approach. But I
> > > still need to understand when, in the particular case of auto-save
> > > file names derived from buffer names, convert-standard-file-name takes
> > > effect. AFAICS, it is not called directly from within
> > > make-auto-save-file-name.
> > 
> > It _is_ called directly, at least in my version of Emacs, albeit only
> > for non-Unix platforms.  
> 
> So is it one of msdos-long-file-names or dos-8+3-filename which calls
> it? These were non-operational, undefined functions (presumably not
> loaded) when running under Linux.

It sounds like the code I've been looking at exists only in the CVS
version of Emacs.  So it seems like in your case the best option is
to redefine make-auto-save-file-name with your own version.

> > Why not call `df' instead?  I think "df ." should produce a line where
> > one field gives you the type of the filesystem that you want.
> 
> df version 4.1 doesn't do so on my Debian woody

Sorry, I shopuld have written "df -T .".  The -T switch is important.




reply via email to

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