all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: 40517@debbugs.gnu.org
Subject: bug#40517: 28.0.50; Dired, expansion missing with local directory
Date: Thu, 09 Apr 2020 16:58:44 +0300	[thread overview]
Message-ID: <83k12ooj57.fsf@gnu.org> (raw)
In-Reply-To: <20200409082153.GH9475@protected.rcdrun.com> (message from Jean Louis on Thu, 9 Apr 2020 11:21:53 +0300)

> Date: Thu, 9 Apr 2020 11:21:53 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: 40517@debbugs.gnu.org
> 
> 1. I am having only 1 window, like this email being written.
> 
> 2. I do: C-x C-f to open ~/tmp
> 
> 3. There is directory ~/tmp/attachments
> 
> 4. I move cursor to the file: tmp-string-ZKE7jOO9Un located in ~/tmp
> 
> 5. I press "C" in Dired
> 
> 6. Minibuffer appears with: Copy tmp-string-ZKE7jOO9Un to: ~/tmp/
> 
> 7. If I start typing "att" from wanted "attachments" and after "at" or
>    "att" I press TAB then the minibuffer prompt will expand to:
>    ~/tmp/attachments
> 
> 8. If I delete the "~/tmp/" from minibuffer prompt, and start typing
>    "att" and press TAB, it will also expand to "attachments/" -- this
>    is desired behavior, and it does exist in Dired, I can expand file
>    names, and if I do not use full path, it will expand to local
>    default directory paths.
> 
> If I however, open 2 dired windows, one is for "~/tmp" and other for
> "~/" or any other directory, as directory does not matter here, and if
> I then delete whatever is written in the minibuffer prompt, I cannot
> expand it to local directory or file.
> 
> In my particular example, if I wish to "C" or copy file "PHOTO.jpg"
> from "~/" to "~/Media", I cannot just deleete "~/" from minibuffer
> prompt and write "Med"<TAB> to expand it to Media, in fact I can
> expand it to "attachments" which is located in "~/tmp/" or as
> "~/tmp/attachments" because other Dired window is open with "~/tmp"
> being there.

This works for me (with names of directories changed to fit my system)
as you expect.  Did you try this in "emacs -Q"?  Maybe some of your
customizations gets in the way?





  reply	other threads:[~2020-04-09 13:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-09  5:00 bug#40517: 28.0.50; Dired, expansion missing with local directory Jean Louis
2020-04-09  6:56 ` Eli Zaretskii
2020-04-09  8:21   ` Jean Louis
2020-04-09 13:58     ` Eli Zaretskii [this message]
2020-04-09 15:02       ` Jean Louis
2020-04-09 16:38         ` 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

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

  git send-email \
    --in-reply-to=83k12ooj57.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=40517@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.