unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Augusto Stoffel <arstoffel@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 60097@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	[thread overview]
Message-ID: <874jtritj4.fsf@gmail.com> (raw)
In-Reply-To: <83wn6qgpqz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 17 Dec 2022 14:48:36 +0200")

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.





  reply	other threads:[~2022-12-19 10:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15 18:14 bug#60097: 29.0.60; emacsclient adds unabbreviated names to file-name-history Augusto Stoffel
2022-12-17 12:48 ` Eli Zaretskii
2022-12-19 10:20   ` Augusto Stoffel [this message]
2022-12-19 13:34     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jtritj4.fsf@gmail.com \
    --to=arstoffel@gmail.com \
    --cc=60097@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).