GNU bug report logs -
#32969
"Confirm--do you mean to use ‘*’ as a wildcard? (y or n)" stays in minibuffer
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32969 in the body.
You can then email your comments to 32969 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32969
; Package
emacs
.
(Sun, 07 Oct 2018 13:34:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 07 Oct 2018 13:34:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Dired has a message:
Confirm--do you mean to use ‘*’ as a wildcard? (y or n)
if one answers "n" the message just stays in the minibuffer.
It should instead say "command aborted", else the user thinks it used
'*' in its other (text replacement) way. Which it turns out it doesn't.
emacs-version "25.2.2"
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32969
; Package
emacs
.
(Sun, 07 Oct 2018 17:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 32969 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> Dired has a message:
> Confirm--do you mean to use ‘*’ as a wildcard? (y or n)
> if one answers "n" the message just stays in the minibuffer.
>
> It should instead say "command aborted", else the user thinks it used
> '*' in its other (text replacement) way. Which it turns out it doesn't.
Thank you for the report!
I agree.
--8<-----------------------------cut here---------------start------------->8---
commit e76bbfa62b7185cd3284d69483704366dc54e7e8
Author: Tino Calancha <tino.calancha <at> gmail.com>
Date: Mon Oct 8 02:40:30 2018 +0900
dired-do-shell-command: Notify users after abort the command
* lisp/dired-aux.el (dired-do-shell-command): Notify users that
the command have aborted when they answer 'n' to the prompt (Bug#32969).
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 1f13204b7c..a4145eb67a 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -763,16 +763,17 @@ dired-do-shell-command
(y-or-n-p (format-message
"Confirm--do you mean to use `?' as a wildcard? ")))
(t))))
- (when ok
- (if on-each
- (dired-bunch-files (- 10000 (length command))
- (lambda (&rest files)
- (dired-run-shell-command
- (dired-shell-stuff-it command files t arg)))
- nil file-list)
- ;; execute the shell command
- (dired-run-shell-command
- (dired-shell-stuff-it command file-list nil arg)))))))
+ (cond ((not ok) (message "OK, canceled"))
+ (t
+ (if on-each
+ (dired-bunch-files (- 10000 (length command))
+ (lambda (&rest files)
+ (dired-run-shell-command
+ (dired-shell-stuff-it command files t arg)))
+ nil file-list)
+ ;; execute the shell command
+ (dired-run-shell-command
+ (dired-shell-stuff-it command file-list nil arg))))))))
;; Might use {,} for bash or csh:
(defvar dired-mark-prefix ""
--8<-----------------------------cut here---------------end--------------->8---
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32969
; Package
emacs
.
(Sun, 07 Oct 2018 18:25:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 32969 <at> debbugs.gnu.org (full text, mbox):
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Mon, 08 Oct 2018 02:44:12 +0900
> Cc: 32969 <at> debbugs.gnu.org
>
> + (cond ((not ok) (message "OK, canceled"))
I'd suggest to use "Command canceled". the "OK" part might confuse
some non-native English speakers to think the command was executed.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32969
; Package
emacs
.
(Sun, 07 Oct 2018 19:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 32969 <at> debbugs.gnu.org (full text, mbox):
On Sun, 7 Oct 2018, Eli Zaretskii wrote:
>> From: Tino Calancha <tino.calancha <at> gmail.com>
>> Date: Mon, 08 Oct 2018 02:44:12 +0900
>> Cc: 32969 <at> debbugs.gnu.org
>>
>> + (cond ((not ok) (message "OK, canceled"))
>
> I'd suggest to use "Command canceled". the "OK" part might confuse
> some non-native English speakers to think the command was executed.
OK (I mean, I updated the patch as you mentioned :-)
BTW, emacs-26 or master?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32969
; Package
emacs
.
(Mon, 08 Oct 2018 02:28:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 32969 <at> debbugs.gnu.org (full text, mbox):
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Date: Mon, 8 Oct 2018 04:43:18 +0900 (JST)
> cc: Tino Calancha <tino.calancha <at> gmail.com>, jidanni <at> jidanni.org,
> 32969 <at> debbugs.gnu.org
>
> >> + (cond ((not ok) (message "OK, canceled"))
> >
> > I'd suggest to use "Command canceled". the "OK" part might confuse
> > some non-native English speakers to think the command was executed.
> OK (I mean, I updated the patch as you mentioned :-)
>
> BTW, emacs-26 or master?
I think emacs-26. Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32969
; Package
emacs
.
(Mon, 08 Oct 2018 07:56:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 32969 <at> debbugs.gnu.org (full text, mbox):
On Mon, 8 Oct 2018, Eli Zaretskii wrote:
>> From: Tino Calancha <tino.calancha <at> gmail.com>
>> Date: Mon, 8 Oct 2018 04:43:18 +0900 (JST)
>> cc: Tino Calancha <tino.calancha <at> gmail.com>, jidanni <at> jidanni.org,
>> 32969 <at> debbugs.gnu.org
>>
>>>> + (cond ((not ok) (message "OK, canceled"))
>>>
>>> I'd suggest to use "Command canceled". the "OK" part might confuse
>>> some non-native English speakers to think the command was executed.
>> OK (I mean, I updated the patch as you mentioned :-)
>>
>> BTW, emacs-26 or master?
> I think emacs-26. Thanks.
OK (I mean, 0 killed, understood, got it, entendido, wakarimashita)
I will wait some days before push it. Thanks.
Reply sent
to
Tino Calancha <tino.calancha <at> gmail.com>
:
You have taken responsibility.
(Thu, 11 Oct 2018 08:29:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
bug acknowledged by developer.
(Thu, 11 Oct 2018 08:29:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 32969-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tino Calancha <tino.calancha <at> gmail.com>
>> Date: Mon, 8 Oct 2018 04:43:18 +0900 (JST)
>> cc: Tino Calancha <tino.calancha <at> gmail.com>, jidanni <at> jidanni.org,
>> 32969 <at> debbugs.gnu.org
>>
>> >> + (cond ((not ok) (message "OK, canceled"))
>> >
>> > I'd suggest to use "Command canceled". the "OK" part might confuse
>> > some non-native English speakers to think the command was executed.
>> OK (I mean, I updated the patch as you mentioned :-)
>>
>> BTW, emacs-26 or master?
>
> I think emacs-26. Thanks.
Implemeted in emacs-26 as commit
'dired-do-shell-command: Notify users after abort the command'
(a7ebc6bf633bd3849ccab032dad6b1fd31b1ef43)
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 08 Nov 2018 12:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.