
On Jun 22, 2009, at 16:18 , Gwern Branwen wrote:
The 4th and fifth patches are because I discovered that when Emacs is passed "" as an argument, it either bombs out or opens a new file by that name. (I'm not clear how the latter is possible...) The problem
I've noticed that Emacs when given a bogus filename will take any open error as ENOENT and create a new file buffer, so you only find out if you pay close attention to the minibuffer during startup or you try to save the file later. Arguably this is a bug, although I think they justify it as "you might do something that makes the filename legal before saving". (Compare opening a file in a nonexistent directory. Admittedly modern Emacs prompts you to try M-x make-directory RET RET or similar in that case.) -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH