emacs-devel
[Top][All Lists]
Advanced

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

Re: Suggest renaming Emacs source file with '$' in name


From: Jean Louis
Subject: Re: Suggest renaming Emacs source file with '$' in name
Date: Sun, 3 Jan 2021 08:54:17 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Stefan Monnier <monnier@iro.umontreal.ca> [2021-01-03 06:38]:
> > I suggest renaming the file in the Emacs source tree. If the '$' is needed
> > for a filename test, the test can create a file with that name; that should
> > be less of a problem than having a '$' file in the repository.
> 
> IIRC, I added this file for a completion test, where the $ is very much
> needed (the test is about the use of $ in `read-file-name` where it can
> be used for ENVVARs, it can be escaped by doubling it, and it stays
> untouched in case it ends up not referring to an existing ENVVAR).
> 
> So feel free to rename it, but please be careful to change the tests so
> they first rename it back to its "name with dollar in it".
> 
> 
>         Stefan "who can't remember having problems with $ in file names"


Good reference on file names:
https://dwheeler.com/essays/fixing-unix-linux-filenames.html




reply via email to

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