GNU bug report logs - #45402
28.0.50; new completion inconvenience

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Thu, 24 Dec 2020 05:54:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #35 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#45402: 28.0.50; new completion inconvenience
Date: Fri, 25 Dec 2020 12:20:09 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Richard Stallman <rms <at> gnu.org> writes:
>
>> My default directory is ~/ and I tyoe C-x C-f /med TAB.
>>
>> It used to give me ~//media/.  Another TAB would give me
>> ~//media/rms/.
>
> But why do you type "/med TAB" instead of "med TAB"?

The assumption, I believe, is that the target folder is under /media/,
while the initial prompt is "~/".  Starting with a slash causes the
initial prompt to be "greyed out" (i.e. rendered ineffectual unless the
user backspaces).

> And I'm unable to reproduce the behaviour you're describing in older
> Emacs versions -- I tried this in Emacs 25.1, and `C-x C-f /med TAB'
> just gives me "No match", even if ~/media exists.

As Richard explained in <E1ksevx-0003Un-Sf <at> fencepost.gnu.org>, some
GNU/Linux distros mount external media under /media/$USER, so typing
/med TAB greys out the initial ~/ and used to complete to /media/$USER
(if $USER is the only folder under /media).  Now users need to type an
additional slash to disambiguate from "/media:".





This bug report was last modified 4 years and 143 days ago.

Previous Next


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