From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: 57792@debbugs.gnu.org, Stefan Kangas <stefankangas@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 [thread overview]
Message-ID: <87h71a6lfv.fsf@gnus.org> (raw)
In-Reply-To: <87bkri2faf.fsf@laptop.lockywolf.net> (Vladimir Nikishkin's message of "Wed, 14 Sep 2022 22:36:19 +0800")
Vladimir Nikishkin <lockywolf@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...
prev parent reply other threads:[~2022-09-14 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 3:55 bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master Vladimir Nikishkin
2022-09-14 7:51 ` Stefan Kangas
2022-09-14 14:13 ` Lars Ingebrigtsen
2022-09-14 14:17 ` Vladimir Nikishkin
2022-09-14 14:36 ` Vladimir Nikishkin
2022-09-14 15:10 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h71a6lfv.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=57792@debbugs.gnu.org \
--cc=lockywolf@gmail.com \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).