emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#28575: closed (25.1; dired-do-find-regexp-and-repl


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28575: closed (25.1; dired-do-find-regexp-and-replace error about previously deleted directory)
Date: Mon, 25 Sep 2017 22:49:02 +0000

Your message dated Tue, 26 Sep 2017 01:48:15 +0300
with message-id <address@hidden>
and subject line Re: bug#28575: 25.1; dired-do-find-regexp-and-replace error 
about previously deleted directory
has caused the debbugs.gnu.org bug report #28575,
regarding 25.1; dired-do-find-regexp-and-replace error about previously deleted 
directory
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28575: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28575
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1; dired-do-find-regexp-and-replace error about previously deleted directory Date: Sun, 24 Sep 2017 16:10:26 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
Dired mode command "Q" (dired-do-find-regexp-and-replace) fails when
user has deleted a directory in the same Emacs session. Steps to
reproduce:

 1. Create test files:

    $ mkdir dir1 dir2
    $ touch dir1/file1 dir2/file2

 2. Start Emacs in dired-mode inside "dir1":

    $ emacs -Q dir1

    /home/dtw/tmp/dir1:
    total used in directory 0 available 16454160
    drwxr-xr-x 2 dtw  dtw  60 2017-09-24 16:02:00 .
    drwxrwxrwt 4 root root 80 2017-09-24 16:02:00 ..
    -rw-r--r-- 1 dtw  dtw   0 2017-09-24 16:02:00 file1

 3. Mark the "file1" with command "m" (dired-mark).

 4. Type command "Q" (dired-do-find-regexp-and-replace) and type any
    strings to the regexp and replace prompts.

 5. Go one directory up with command "^" (dired-up-directory).

    /home/dtw/tmp:
    total used in directory 4 available 16454160
    drwxrwxrwt  4 root root   80 2017-09-24 16:02:00 .
    drwxr-xr-x 61 dtw  dtw  4096 2017-09-24 15:42:49 ..
    drwxr-xr-x  2 dtw  dtw    60 2017-09-24 16:02:00 dir1
    drwxr-xr-x  2 dtw  dtw    60 2017-09-24 16:02:00 dir2

 6. Use "D" (dired-do-delete) to delete "dir1" (confirm with "yes"
    twice).

 7. Go to "dir2".

    /home/dtw/tmp/dir2:
    total used in directory 0 available 16454160
    drwxr-xr-x 2 dtw  dtw  60 2017-09-24 16:02:00 .
    drwxrwxrwt 3 root root 60 2017-09-24 16:03:32 ..
    -rw-r--r-- 1 dtw  dtw   0 2017-09-24 16:02:00 file2

 8. Mark the "file2" with command "m" (dired-mark).

 9. Type command "Q" (dired-do-find-regexp-and-replace) and enter some
    strings to regexp and replace prompts.

10. There will be the following error in the echo area and the
    *Messages* buffer:

        call-process-shell-command: Setting current directory: No such
        file or directory, ~/tmp/dir1/

    And the command "Q" can't be performed.



--- End Message ---
--- Begin Message --- Subject: Re: bug#28575: 25.1; dired-do-find-regexp-and-replace error about previously deleted directory Date: Tue, 26 Sep 2017 01:48:15 +0300 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0
Version: 26.1

On 9/24/17 4:10 PM, Teemu Likonen wrote:
Dired mode command "Q" (dired-do-find-regexp-and-replace) fails when
user has deleted a directory in the same Emacs session.

Thanks for the report, should be fixed now in emacs-26.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]