GNU bug report logs - #24394
25.1.50; (find-file "/sudo::") ignores async-shell-command-buffer settings

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Thu, 8 Sep 2016 14:40:02 UTC

Severity: normal

Tags: fixed

Merged with 34172

Found in versions 25.1.50, 27.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tino Calancha <tino.calancha <at> gmail.com>
Subject: bug#24394: closed (Re: bug#24394: 25.1.50; (find-file "/sudo::")
 ignores async-shell-command-buffer settings)
Date: Sun, 24 Mar 2019 12:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#24394: 25.1.50; (find-file "/sudo::") ignores async-shell-command-buffer settings

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 24394 <at> debbugs.gnu.org.

-- 
24394: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24394
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 24394-done <at> debbugs.gnu.org
Subject: Re: bug#24394: 25.1.50;
 (find-file "/sudo::") ignores async-shell-command-buffer settings
Date: Sun, 24 Mar 2019 13:43:30 +0100
Tino Calancha <tino.calancha <at> gmail.com> writes:

Hi Tino,

> Thank you Michael!
> I just tested it now and I confirm it is fixed.

Thanks, I'm closing the bug.

Best regards, Michael.

[Message part 3 (message/rfc822, inline)]
From: Tino Calancha <tino.calancha <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; (find-file "/sudo::") ignores async-shell-command-buffer
 settings
Date: Thu, 8 Sep 2016 23:39:24 +0900 (JST)
emacs -Q -eval "(setq async-shell-command-buffer 'new-buffer)"

I) M-&: i=0; while true; do echo $i; i=$((i+1)); sleep 1;done RET
;; Repeating the command will not prompt for confirmation
II) M-&: M-p RET ; create buffer "*Async Shell Command*<2>".
III) M-:(let ((dir (expand-file-name default-directory)))
          (find-file (concat "/sudo::") dir)) RET
IV) M-&: M-p RET
;; Received prompt to kill buffer "*Async Shell Command*".

In IV) the machine is the same as before and the original user
still is the owner of the Emacs session: i would expect IV) create
the buffer "*Async Shell Command*<3>" without any prompt.
Even if i set `async-shell-command-buffer' to 'new-buffer in
/root/.emacs i receive the prompt.


In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5)
 of 2016-09-08
Repository revision: ba5d32398ba42fcf14ad5242d95c68133981744f




This bug report was last modified 6 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.