GNU bug report logs - #57792
29.0.50; async-shell-command fails with prefix-argument on -master

Previous Next

Package: emacs;

Reported by: Vladimir Nikishkin <lockywolf <at> gmail.com>

Date: Wed, 14 Sep 2022 04:01:02 UTC

Severity: normal

Tags: confirmed

Found in versions 27.1, 29.0.50, 28.2

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Vladimir Nikishkin <lockywolf <at> gmail.com>
Cc: 57792 <at> debbugs.gnu.org, Stefan Kangas <stefankangas <at> gmail.com>
Subject: bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master
Date: Wed, 14 Sep 2022 17:10:44 +0200
Vladimir Nikishkin <lockywolf <at> gmail.com> writes:

> Maybe I am confusing it with C-u M-! , but for the async version would
> do the same would make sense.

The problem is basically the same with M-! asynchronously --
`C-u M-! echo hello &' will also bug out.

So inserting things into the current buffer asynchronously has possibly
never worked?

The issue here is that in the async case, we set up a sentinel to handle
the output, and we also erase the output buffer, and we set the mode to
shell-mode.

I think it should be able to make this work (I think it'd be nice to
have), but I think it requires some serious rewriting of this code...




This bug report was last modified 1 year and 158 days ago.

Previous Next


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