emacs-devel
[Top][All Lists]
Advanced

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

Re: `rename-file' with leading spaces in filename


From: Eli Zaretskii
Subject: Re: `rename-file' with leading spaces in filename
Date: Mon, 02 Jan 2006 17:51:49 +0200

> Date: Mon, 02 Jan 2006 10:48:59 +0100
> From: martin rudalics <address@hidden>
> CC: address@hidden
> 
> Your guess is precise.  It wouldn't have come into my mind that Windows
> does _not_ tildify when there are 8+3 offenders and all of them are
> spaces.

I'm not sure, but perhaps this is due to some non-default setting,
like if NameNumericTails is set to zero in the Registry.

> By the way look at the dir output below:
> 
> FOO                     10  02.01.06   8:16  foo
> FOO~1                   13  02.01.06   8:19   foo
> FOO~                    13  02.01.06   8:13   foo~
> FOO~                    10  02.01.06   7:45  foo~
> 
> The funny thing here is that the backups have identic short aliases.

Yes, it's a known bug in the alias generation algorithm.

> When I `find-file-noselect' " foo~" or "  foo~" Emacs opens the correct
> file.  When I `find-file-noselect' the non-existent "foo~" Emacs opens
> "  foo~" instead.

Probably because " foo~" is the first one of these two in the
directory, as the output from DIR suggests.




reply via email to

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