Subject: Re: bug#60097: 29.0.60; emacsclient adds unabbreviated names to file-name-history

From: Augusto Stoffel <[email-masked]>
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.