From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#40517: 28.0.50; Dired, expansion missing with local directory Date: Thu, 9 Apr 2020 18:02:40 +0300 Message-ID: <20200409150240.GC18730@protected.rcdrun.com> References: <83zhblno40.fsf@gnu.org> <20200409082153.GH9475@protected.rcdrun.com> <83k12ooj57.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="2748"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.13.5 (2020-03-28) Cc: 40517@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 09 17:29:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMZ7F-0000ai-OY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Apr 2020 17:29:17 +0200 Original-Received: from localhost ([::1]:51658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMZ7E-0000P5-Qi for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Apr 2020 11:29:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50101) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMZ71-0000N6-8G for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2020 11:29:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMZ70-0001pD-6k for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2020 11:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jMZ70-0001ox-3P for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2020 11:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jMZ6z-0003yr-Tq for bug-gnu-emacs@gnu.org; Thu, 09 Apr 2020 11:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Apr 2020 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40517 X-GNU-PR-Package: emacs Original-Received: via spool by 40517-submit@debbugs.gnu.org id=B40517.158644611015262 (code B ref 40517); Thu, 09 Apr 2020 15:29:01 +0000 Original-Received: (at 40517) by debbugs.gnu.org; 9 Apr 2020 15:28:30 +0000 Original-Received: from localhost ([127.0.0.1]:54343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMZ6T-0003y6-JM for submit@debbugs.gnu.org; Thu, 09 Apr 2020 11:28:29 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:44813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMYhx-0003Ld-5k for 40517@debbugs.gnu.org; Thu, 09 Apr 2020 11:03:09 -0400 Original-Received: from localhost ([::ffff:41.210.141.2]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000002D4971.000000005E8F3926.00001120; Thu, 09 Apr 2020 08:03:01 -0700 Content-Disposition: inline In-Reply-To: <83k12ooj57.fsf@gnu.org> X-Mailman-Approved-At: Thu, 09 Apr 2020 11:28:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178173 Archived-At: Hello Eli, > 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? Now I see that it works with emacs -Q I cannot know which customization is getting in the way as there are too many. Maybe some customization is telling on my side to expand from the other window, maybe my (setq dired-dwim-target t) as when I put it to nil, then it is expanding just how I mean it. So I was ordering Emacs to Do What I Mean... and it did not do what I mean. Now you can close it. Jean * Eli Zaretskii [2020-04-09 16:59]: > > Date: Thu, 9 Apr 2020 11:21:53 +0300 > > From: Jean Louis > > 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" 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?