GNU bug report logs - #12579
24.1; Emacs 24.1 / 24.2 (daily) crashes

Previous Next

Package: emacs;

Reported by: "Fabrice Niessen" <fni <at> missioncriticalit.com>

Date: Fri, 5 Oct 2012 15:52:01 UTC

Severity: normal

Found in version 24.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #311 received at 12579 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Fabrice Niessen" <fni <at> missioncriticalit.com>
Cc: 12579 <at> debbugs.gnu.org, lekktu <at> gmail.com, thierry.volpiatto <at> gmail.com
Subject: Re: bug#12579: Emacs 24.2 crashes or freezes
Date: Wed, 28 Nov 2012 23:22:04 -0500
> instead of a more natural syntax (directory, then file):
>   (expand-file-name windows-program-files-dir "SumatraPDF/SumatraPDF.exe")
> I know this may sound stupid, and purely syntactic...

I definitely understand your point, and it is well taken.
But expand-file-name is also often called with a single argument (the
relative file name), so it would be rather odd/inconvenient to combine
the two since Elisp optional args traditionally come at the end rather
than at the beginning.

OTOH, maybe we could do that for a new `concat-file-name-elements' which
would be like `expand-file-name' except that it leaves the result
relative if the directory argument is relative (so it'd be more like
a "concat that adds a slash when needed").


        Stefan




This bug report was last modified 8 years and 138 days ago.

Previous Next


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