unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59207: minor inconsistency in filename completion listing
@ 2022-11-11 23:11 Nicolas Graner
  0 siblings, 0 replies; only message in thread
From: Nicolas Graner @ 2022-11-11 23:11 UTC (permalink / raw)
  To: 59207

When reading a file name in the minibuffer, in some very specific cases
the names listed in the completion buffer are shown with their directory
instead of just the base name.

This is only a display problem, it doesn-t affect the file name actually
read.

Example (starting from emacs -Q):

M-x mkdir ~/d1<RET>
M-x mkdir ~/d2<RET>
M-x mkdir ~/x<RET>
M-x cd  ~/x<RET>
M-x cd ~/d<TAB>

The *Completions* buffer now shows:
    x/~/d1
    x/~/d2

instead of:
    d1
    d2

This seems to be an old bug (found in emacs 26, I haven't checked
before) still present in 29 master.

Nicolas





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-11 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 23:11 bug#59207: minor inconsistency in filename completion listing Nicolas Graner

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).