GNU bug report logs - #8220
24.0.50; (On Windows XP) "c:\_emacs" isn't found during startup

Previous Next

Packages: w32, emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 10 Mar 2011 20:41:02 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #37 received at 8220-done <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Juanma Barranquero'" <lekktu <at> gmail.com>
Cc: 'Eli Zaretskii' <eliz <at> gnu.org>, 8220-done <at> debbugs.gnu.org,
	dmoncayo <at> gmail.com
Subject: RE: bug#8220: 24.0.50;
	(On Windows XP) "c:\_emacs" isn't found during startup
Date: Fri, 11 Mar 2011 09:59:31 -0800
> > It is just as silly to argue that `_emacs' should be desupported.
> > That's the point.
> 
> I disagree.
> 
> > On the contrary.  `_emacs' behaves similarly across platforms.
> 
> No, it doesn't, because non-DOS, non-Windows Emacsen do not 
> load _emacs.

It behaves similarly as a _file_ - that's what I meant.  Most platforms do not
treat `_emacs' specially because of its _file name_.  Many platforms do treat
`.emacs' specially because of its _file name_.

My point was that `_emacs' _should_ be handled by Emacs as a default init-file
name on all platforms, just as it is handled that way on Windows.  Why?  Because
it's a good, simple name that is not treated specially by different platforms.

> Yes, you're talking of `ls' and/or `dir', but the point is that you're
> arguing in favor of keeping an old compatibility feature by
> *extending* it, making detection of [._]emacs(.elc?)? / init.el (and,
> more important, explaining how that detection is done) no less complex
> on Windows/DOS, and more complex on POSIX environments. For a net gain
> of... what?

Shouldn't be complex.

The gain is simplicity: `_emacs' is simpler than `.emacs' because it is not a
name that is handled specially on various platforms.

I'd say keep `.emacs' handling too, so that users on UNIX or GNU/Linux can, if
they want, take advantage of the special treatment of dot files.

But allow `_emacs' also as a default init-file name.

Anyway, as Eli has said, this is all moot - it has already been decided.





This bug report was last modified 14 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.