unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 32215@debbugs.gnu.org, npostavs@gmail.com
Subject: bug#32215: 27.0.50; Minibuffer completion fails with /~<partial-name>
Date: Fri, 20 Jul 2018 23:46:58 +0200	[thread overview]
Message-ID: <874lgtk2b1.fsf@rub.de> (raw)
In-Reply-To: <83sh4dzq4m.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Jul 2018 22:03:21 +0300")

On Fri, 20 Jul 2018 22:03:21 +0300 Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Stephen Berman <stephen.berman@gmx.net>
>> Cc: npostavs@gmail.com,  32215@debbugs.gnu.org
>> Date: Fri, 20 Jul 2018 19:30:52 +0200
>> 
>> > Try a subdirectory of your home directory.
>> 
>> Perhaps I'm misunderstanding what you're suggesting, but with the
>> following I still get the same behavior:
>> 
>> 0. emacs -Q
>> 1. M-x cd RET ~/Downloads/ RET
>> 2. C-x d /~s TAB
>> 
>> results in this minibuffer display:
>> 
>> Dired (directory): ~/Downloads//~s█[No match]
>
> The original recipe was different:
>
>   0. emacs -Q
>   1. M-x cd RET ~/Downloads/ RET
>   2. C-x d / ~ TAB s TAB

I did not give, nor have I seen, this recipe in this bug thread.  But I
see now that the recipe of my OP (which lacked the above step 1) could
be understood as consistent with the above.  There is indeed a
difference between

  Dired (directory): ~/~ TAB

or

  Dired (directory): ~/Downloads/~ TAB

on the one hand, and

  Dired (directory): ~//~ TAB

or

  Dired (directory): ~/Downloads//~ TAB

on the other.  But the bug I meant to report is about this:

  Dired (directory): ~//~s TAB

or

  Dired (directory): ~/Downloads//~s TAB

which both get '[No match]', whereas

  Dired (directory): ~//~steve TAB

or

  Dired (directory): ~/Downloads//~steve TAB

both complete, to '~//steve/' and '~/Downloads//steve/', respectively.  

One thing I just noticed: in the latter two case, when I type '/', that
changes the face on '~/' or '~/Downloads/' to shadow, and when I then
type '~', the changes the face of the just typed '/' to shadow, but when
I continue and type 's', then the face of the last '/' returns to
default (but the face of the preceding characters remains shadow), and
stays like that when I add 't', 'e', 'v'; but as soon as I add 'e'
(which make TAB complete successfully), the face of the last '/' changes
back to shadow (and '~steve' keeps default face).

Steve Berman





  reply	other threads:[~2018-07-20 21:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 17:55 bug#32215: 27.0.50; Minibuffer completion fails with /~<partial-name> Stephen Berman
2018-07-19 18:19 ` Eli Zaretskii
2018-07-19 20:11   ` Stephen Berman
2018-07-20  1:02     ` Noam Postavsky
2018-07-20  6:40       ` Eli Zaretskii
2018-07-20  8:31       ` Stephen Berman
2018-07-20 13:58         ` Noam Postavsky
2018-07-20 14:28           ` Stephen Berman
2018-07-20 14:56             ` Eli Zaretskii
2018-07-20 15:06               ` Eli Zaretskii
2018-07-20 15:08               ` Stephen Berman
2018-07-20 17:22                 ` Eli Zaretskii
2018-07-20 17:30                   ` Stephen Berman
2018-07-20 19:03                     ` Eli Zaretskii
2018-07-20 21:46                       ` Stephen Berman [this message]
2018-07-20  6:39     ` 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=874lgtk2b1.fsf@rub.de \
    --to=stephen.berman@gmx.net \
    --cc=32215@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=npostavs@gmail.com \
    /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).