GNU bug report logs - #60097
29.0.60; emacsclient adds unabbreviated names to file-name-history

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Thu, 15 Dec 2022 18:16:01 UTC

Severity: normal

Found in version 29.0.60

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 60097 <at> debbugs.gnu.org
Subject: bug#60097: 29.0.60; emacsclient adds unabbreviated names to file-name-history
Date: Mon, 19 Dec 2022 11:20:47 +0100
On Sat, 17 Dec 2022 at 14:48, Eli Zaretskii wrote:

> Does the patch below do what you want?

Yes, exactly.

> Btw, we don't do this consistently: "C-x C-f" doesn't record the
> abbreviated file name, it records the original one.

Indeed.  But at least one is induced to type abbreviated file names, so
I don't have a strong opinion.  The problem that need fixing IMO is,
say, when opening a file by clicking it in a file manager, in which case
the absolute file name is passed and the user has no control over this.




This bug report was last modified 2 years and 213 days ago.

Previous Next


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