Subject: 29.0.60; emacsclient adds unabbreviated names to file-name-history

From: Augusto Stoffel <[email-masked]>
Date: Thu, 15 Dec 2022 19:14:45 +0100

1. Start emacs -Q
2. M-x server-start RET
3. In a terminal, type /home/user/somefile

Then "/home/user/somefile" is added to file-name-history.  I would
instead expect the abbreviated name, "~/somefile", to be added to
history.

In GNU Emacs 29.0.60 (build 3, x86_64-pc-linux-gnu, GTK+ Version
 3.24.35, cairo version 1.17.6) of 2022-12-12 built on ars3
Repository revision: 14ac927aa61200485b87d035ca5797d8e89ffb7e
Repository branch: emacs-29-grep-heading
System Description: Fedora Linux 37 (Workstation Edition)

Configured using:
 'configure --with-pgtk'