GNU logs - #57792, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master
Resent-From: Vladimir Nikishkin <lockywolf@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 14 Sep 2022 04:01:02 +0000
Resent-Message-ID: <handler.57792.B.166312803919515 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 57792
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 57792 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.166312803919515
          (code B ref -1); Wed, 14 Sep 2022 04:01:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Sep 2022 04:00:39 +0000
Received: from localhost ([127.0.0.1]:53335 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYJZm-00054f-IM
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 00:00:39 -0400
Received: from lists.gnu.org ([209.51.188.17]:33738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lockywolf@HIDDEN>) id 1oYJZi-00054V-6m
 for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 00:00:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55888)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lockywolf@HIDDEN>)
 id 1oYJZh-0004z0-SE
 for bug-gnu-emacs@HIDDEN; Wed, 14 Sep 2022 00:00:33 -0400
Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:34742)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lockywolf@HIDDEN>)
 id 1oYJZe-0000L3-TW
 for bug-gnu-emacs@HIDDEN; Wed, 14 Sep 2022 00:00:33 -0400
Received: by mail-pf1-x42a.google.com with SMTP id e68so13682826pfe.1
 for <bug-gnu-emacs@HIDDEN>; Tue, 13 Sep 2022 21:00:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc
 :subject:date; bh=mOGXxE2FizW0RDGkmrnn1aL0bkWT46DwXe2GPE1UShY=;
 b=JnpW0psVleW1hJsFifJo4k8yxeko6i19U27HmGAEgM6Q5MC5OWqW/fi9kPjlS4n9Cv
 KEWO+xHw5EqNCG7xORkDt16eqKOYcZ30RYkhXjx3/zW3opnW951W1kHuph/ISY+nSnzv
 M2GQMp+Pe0xGMAsh8E89xiAvA2XI51j2KCvn/0QAg3uPtGXdj6WJNkGCB5k5GCs2FVA2
 qYM9ux84FWrFkf/bURT2KU8JZtBvvK8iACLOZLuOZUZkpU8Nzv2iVRrRji9jgMDBb3Rn
 rRnFVK9s1PD5AE+zrPKkbDmwogfWco6Kw/PSpahBz+5D/xBLL8WFzs+tNwGdsEzMexcA
 yqBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:subject:to:from:user-agent
 :x-gm-message-state:from:to:cc:subject:date;
 bh=mOGXxE2FizW0RDGkmrnn1aL0bkWT46DwXe2GPE1UShY=;
 b=gbZ6Q1OS18dR01MzvNHjZDPCm8G/6ShwkVSVy2lNSwox3Tg3dk2KTHOcy6yQJWiutC
 ZgCeuoFxhzCKaAcPc05qAYC7il+G+YBOiNBLOlL8xS0ApbBfiUJmUvJscyM/s1dKcNpO
 in6MpDB3Z6sRX5gVPr73HFqcjSA3vbjkR3d41O/6wSFhtuvfsfHhrLb/4WcXu1vpctM4
 siVuR1fvECvW3fvg5ZeXDCBUwJydfsQJVQP95gtVepJssoXvZ5SPMLDipa/9+AxzRxNG
 VKquK22/cW7JCLIs8yBgsPBY1qqyDC1Eo1Hllao4xGZCZoZ2qvDx0SyKKzDZZTNW3dok
 DUNQ==
X-Gm-Message-State: ACgBeo3VNMC4l3Q4H7b7n9kMy6dAMQrfOPjgoh33xN3LqcJOpBVASZqq
 HVdKT2a/f76A1NQ2KPqb2O3bA+1Y+2CYJw==
X-Google-Smtp-Source: AA6agR5upWGH9Y6SMNdU6US8pj6BVLJkVJqFmzG/Iw0KH/GkFXC4BDi0y9r1dyaM2tHIEAdLvMIs6Q==
X-Received: by 2002:a63:a43:0:b0:430:9ec5:4775 with SMTP id
 z3-20020a630a43000000b004309ec54775mr31179359pgk.572.1663128026971; 
 Tue, 13 Sep 2022 21:00:26 -0700 (PDT)
Received: from laptop.lockywolf.net ([2001:470:24:315::102])
 by smtp.gmail.com with ESMTPSA id
 p1-20020a170902a40100b00174fa8cbf3dsm9291053plq.157.2022.09.13.21.00.19
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 13 Sep 2022 21:00:26 -0700 (PDT)
User-agent: mu4e 1.8.6; emacs 29.0.50
From: Vladimir Nikishkin <lockywolf@HIDDEN>
Date: Wed, 14 Sep 2022 11:55:21 +0800
Message-ID: <87pmfy38sg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::42a;
 envelope-from=lockywolf@HIDDEN; helo=mail-pf1-x42a.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Dear Emacs developers,

I have recently compiled Emacs from -master
(5abcc2fc679cc256b4fe5fe300cc67fd205aaf26),
and found the following issue:

In the *scratch* buffer:
C-u M-& echo test RET
results in an error, whereas on stable Emacs it pastes "test\n" at
point.

The error is:
(wrong-type-argument stringp (4))
The stack trace is:
Debugger entered--Lisp error: (wrong-type-argument stringp (4))
  shell-command("echo test &" (4) nil)
  async-shell-command("echo test" (4) nil)
  funcall-interactively(async-shell-command "echo test" (4) nil)
  command-execute(async-shell-command)

Hope this helps.


In GNU Emacs 29.0.50 (build 1, x86_64-slackware-linux-gnu, GTK+ Version
 3.24.31, cairo version 1.16.0) of 2022-09-13 built on
 laptop.lockywolf.net
System Description: Slackware 15.0 x86_64

Configured using:
 'configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc
 --localstatedir=/var --program-prefix= --program-suffix=
 --mandir=/usr/man --infodir=/usr/info --without-gconf
 --without-gsettings --with-modules --with-native-compilation
 --with-pgtk --with-json --with-imagemagick --with-pdumper
 --with-xwidgets --build=x86_64-slackware-linux 'CFLAGS=-O2 -fPIC''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ IMAGEMAGICK
JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK
PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM
XWIDGETS GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: mu4e-headers

Minor modes in effect:
  memento-mori-mode: t
  hes-mode: t
  global-highlight-parentheses-mode: t
  highlight-parentheses-mode: t
  global-color-identifiers-mode: t
  idle-org-agenda-mode: t
  mu4e-search-minor-mode: t
  mu4e-update-minor-mode: t
  mu4e-context-minor-mode: t
  TeX-PDF-mode: t
  TeX-source-correlate-mode: t
  async-bytecomp-package-mode: t
  hl-line-mode: t
  magit-todos-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  global-flycheck-mode: t
  global-hl-todo-mode: t
  gdb-many-windows: t
  global-company-mode: t
  company-mode: t
  auto-insert-mode: t
  pdf-occur-global-minor-mode: t
  shackle-mode: t
  ido-everywhere: t
  global-auto-revert-mode: t
  electric-pair-mode: t
  global-display-fill-column-indicator-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  windmove-mode: t
  savehist-mode: t
  recentf-mode: t
  save-place-mode: t
  super-save-mode: t
  xterm-mouse-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-layout-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  auto-save-visited-mode: t
  abbrev-mode: t

Load-path shadows:
/home/lockywolf/.emacs.d/elpa/company-cmake-0.1/company-cmake hides /home/lockywolf/.emacs.d/elpa/company-20220825.1044/company-cmake
/home/lockywolf/.emacs.d/elpa/cmake-mode-20220823.1201/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/home/lockywolf/.emacs.d/elpa/transient-20220806.2224/transient hides /usr/share/emacs/29.0.50/lisp/transient
/home/lockywolf/.emacs.d/elpa/flim-20220720.1311/sasl hides /usr/share/emacs/29.0.50/lisp/net/sasl

Features:
(shadow mail-extr emacsbug time-stamp misearch multi-isearch view
cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays
holiday-loaddefs org-duration org-eldoc latexenc disp-table ol-eww
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview ol-bbdb
ol-w3m ol-doi org-link-doi face-remap macros info-look ffap dired-aux
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb init rc-local lockywolf-postamble-laptop
display-line-numbers lockywolf-exwm exwm exwm-input xcb-keysyms xcb-xkb
exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout
exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types
xcb-debug lockywolf-erc erc-track erc-match erc-networks erc-goodies
erc-backend erc erc-compat erc-loaddefs lockywolf-equake equake
lockywolf-gui-x11 hamburger-menu lockywolf-gui-general diary-lib
diary-loaddefs memento-mori highlight-escape-sequences
highlight-parentheses rainbow-mode color-identifiers-mode python
prettify-greek form-feed tsdh-dark-theme lockywolf-monitoring
idle-org-agenda lockywolf-autocomplete-ido
lockywolf-org-scientific-large org-pdftools pdf-annot facemenu org-noter
org2blog ox-wp writegood-mode metaweblog xml-rpc url-http url-auth
url-gw nsm hydra lv htmlize org-journal org-crypt cal-iso org-sidebar
org-ql-search org-ql-view ov org-super-agenda ht org-ql peg ts org-habit
org-mru-clock org-capture ox-beamer ox-org ox-md ox-odt rng-loc rng-uri
rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda org-refile
ox-html table ox-ascii ox-publish ox org-clock ob-fortran ob-shell
ob-latex ob-scheme geiser-impl help-fns radix-tree geiser-custom
geiser-base ob-C ob-plantuml org-tempo tempo org-protocol ox-youtube
org-ebib org-bibtex-extras ol-bibtex ox-bibtex org-fancy-priorities
lockywolf-cryptography pinentry lockywolf-elfeed elfeed-protocol-ttrss
elfeed-protocol-owncloud elfeed-protocol-newsblur elfeed-protocol-fever
elfeed-protocol elfeed-protocol-common elfeed-show elfeed-search matlab
matlab-scan matlab-syntax matlab-compat pulse vc-hg vc-git vc-bzr vc-src
vc-sccs vc-svn vc-cvs vc-rcs log-view elfeed-csv elfeed elfeed-curl
elfeed-log elfeed-db elfeed-lib xml-query lockywolf-email-pim bbdb
bbdb-site timezone gnus-dired mu4e-speedbar speedbar ezimage dframe mu4e
mu4e-org mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls
dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap
nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range
gnus-win mu4e-main mu4e-headers mu4e-compose mu4e-draft mu4e-actions
mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill
mu4e-contacts mu4e-update mu4e-folders mu4e-server mu4e-context
mu4e-vars mu4e-helpers mu4e-config auth-source-xoauth2 auth-source-pass
smtpmail-multi smtpmail khardel yaml-mode vdirel org-vcard lockywolf-tex
company-auctex vdm-snippets yasnippet bib-cite auctex-latexmk latex
latex-flymake tex-ispell tex-style tex texmathp cdlatex lockywolf-bibtex
ebib helm helm-global-bindings helm-easymenu helm-core async-bytecomp
helm-source helm-multi-match helm-lib ivy delsel ivy-faces ivy-overlay
colir ebib-reading-list ebib-notes org-element org ob ob-tangle ob-ref
ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
ob-core ob-eval org-table oc-basic org-keys oc org-loaddefs cal-menu
calendar cal-loaddefs ol org-compat org-macs avl-tree ebib-filters
ebib-keywords ebib-utils ebib-db parsebib mule-util hl-line bibretrieve
bibtex-utils reftex reftex-loaddefs reftex-vars bibtex iso8601
lockywolf-plantuml flycheck-plantuml plantuml-mode lockywolf-matlab
lockywolf-scheme geiser scheme-complete scheme lockywolf-emacs-lisp
paredit-menu paredit lockywolf-helm lockywolf-vala vala-mode cc-langs
lockywolf-cpp clang-format+ clang-format eldoc-cmake cmake-mode rst
company-c-headers flycheck-clangcheck google-c-style cc-mode cc-fonts
cc-guess cc-menus cc-cmds lockywolf-fortran f90 lockywolf-bash sh-script
smie executable lockywolf-version-control magit-todos pcre2el rxt
re-builder f f-shortdoc shortdoc s async grep magit-bookmark
magit-submodule magit-obsolete magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func edebug
magit-diff smerge-mode diff diff-mode git-commit log-edit message
sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils pcvs-util add-log magit-core magit-autorevert magit-margin
magit-transient magit-process with-editor shell server magit-mode
transient magit-git magit-base magit-section crm compat-27 compat-26 vc
vc-dispatcher lockywolf-spellchecking-hard languagetool
languagetool-server request mailheader languagetool-console
languagetool-java languagetool-issue languagetool-correction
languagetool-core flycheck lockywolf-spellchecking-simple hl-todo compat
flyspell ispell lockywolf-debugging gdb-mi bindat gud
lockywolf-advanced-editing eglot array jsonrpc ert debug backtrace
flymake-proc flymake markdown-mode color company pcase hippie-exp
autoinsert ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help
ediff-init ediff-util lockywolf-ggtags ggtags etags fileloop xref
project ewoc lockywolf-tramp files-x lockywolf-shells esh-help dash
em-unix pcomplete em-smart esh-mode eshell esh-cmd generator esh-ext
esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util
lockywolf-paper-pdf-djvu djvu pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local find-func
cedet pdf-isearch let-alist pdf-misc imenu pdf-tools pdf-view pdf-cache
pdf-info tq pdf-util format-spec pdf-macs doc-view jka-compr image-mode
exif ps-print ps-print-loaddefs lpr lockywolf-downloaded-packages
diminish shackle trace mic-paren lockywolf-dired dired-x
lockywolf-standard-packages eww xdg url-queue thingatpt shr pixel-fill
kinsoku url-file svg dom puny mm-url gnus nnheader gnus-util time-date
range woman man info-colors secrets dbus ido-completing-read+ memoize
minibuf-eldef ido xml locate dired dired-loaddefs arc-mode archive-mode
compile comint ansi-color ring autorevert filenotify elec-pair
display-fill-column-indicator hi-lock foldout edmacro kmacro noutline
outline windmove bookmark text-property-search savehist recentf
tree-widget saveplace super-save rmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils image-file image-converter
lockywolf-handy-own-functions-keybindings lockywolf-basic-init xt-mouse
use-package-ensure-system-package system-packages cus-edit pp cus-load
wid-edit use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core init-custom finder-inf auth-source-xoauth2-autoloads
cdlatex-autoloads cmake-mode-autoloads anaconda-mode-autoloads tex-site
company-quickhelp-autoloads company-shell-autoloads company-autoloads
diminish-autoloads ebib-autoloads eglot-autoloads ess-autoloads
flycheck-phpstan-autoloads flycheck-autoloads ghub-autoloads
gnuplot-autoloads go-mode-autoloads comp comp-cstr warnings icons rx
cl-extra help-mode ivy-autoloads lua-mode-autoloads
magit-todos-autoloads magit-autoloads magit-section-autoloads
git-commit-autoloads markdown-mode-autoloads math-symbol-lists-autoloads
org-contrib-autoloads org-download-autoloads org-journal-autoloads
org-mru-clock-autoloads org-noter-pdftools-autoloads
org-pdftools-autoloads org-noter-autoloads org-sidebar-autoloads
org-ql-autoloads org-super-agenda-autoloads ht-autoloads
org2blog-autoloads metaweblog-autoloads hydra-autoloads
paredit-autoloads parsebib-autoloads pdf-tools-autoloads
phpstan-autoloads php-mode-autoloads polymode-autoloads
pos-tip-autoloads pythonic-autoloads f-autoloads request-autoloads
semi-autoloads flim-autoloads apel-autoloads slime-autoloads
spell-fu-autoloads sudo-edit-autoloads transient-autoloads ts-autoloads
use-package-ensure-system-package-autoloads use-package-autoloads
bind-key-autoloads cc-styles cc-align cc-engine cc-vars cc-defs
helm-autoloads popup-autoloads helm-core-autoloads async-autoloads
with-editor-autoloads info compat-autoloads writegood-mode-autoloads
yaml-mode-autoloads s-autoloads package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win
pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
replace newcomment text-mode lisp-mode prog-mode register page tab-bar
menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse
jit-lock font-lock syntax font-core term/tty-colors frame minibuffer
nadvice seq simple cl-generic indonesian philippine cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop
case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads
xwidget-internal dbusbind inotify dynamic-setting font-render-setting
cairo gtk pgtk lcms2 multi-tty make-network-process native-compile
emacs)

Memory information:
((conses 16 1357877 106448)
 (symbols 48 79618 1)
 (strings 32 359428 14866)
 (string-bytes 1 11925016)
 (vectors 16 190806)
 (vector-slots 8 4002197 212536)
 (floats 8 2315 479)
 (intervals 56 13482 3318)
 (buffers 1000 40))

-- 
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Vladimir Nikishkin <lockywolf@HIDDEN>
Subject: bug#57792: Acknowledgement (29.0.50; async-shell-command fails
 with prefix-argument on -master)
Message-ID: <handler.57792.B.166312803919515.ack <at> debbugs.gnu.org>
References: <87pmfy38sg.fsf@HIDDEN>
X-Gnu-PR-Message: ack 57792
X-Gnu-PR-Package: emacs
Reply-To: 57792 <at> debbugs.gnu.org
Date: Wed, 14 Sep 2022 04:01:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 57792 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
57792: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57792
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 14 Sep 2022 07:53:02 +0000
Resent-Message-ID: <handler.57792.B57792.166314192219278 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 57792
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Vladimir Nikishkin <lockywolf@HIDDEN>
Cc: 57792 <at> debbugs.gnu.org
Received: via spool by 57792-submit <at> debbugs.gnu.org id=B57792.166314192219278
          (code B ref 57792); Wed, 14 Sep 2022 07:53:02 +0000
Received: (at 57792) by debbugs.gnu.org; 14 Sep 2022 07:52:02 +0000
Received: from localhost ([127.0.0.1]:53592 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYNBi-00050q-Ch
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:02 -0400
Received: from mail-oa1-f45.google.com ([209.85.160.45]:36801)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYNBg-00050H-B1
 for 57792 <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:01 -0400
Received: by mail-oa1-f45.google.com with SMTP id
 586e51a60fabf-127ba06d03fso38843666fac.3
 for <57792 <at> debbugs.gnu.org>; Wed, 14 Sep 2022 00:52:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=Sxs9YI2Sv+9Iih6HMrU2fgKsez/S6JjmSN7dyRDATikZLezua8U+dTHuxNW1KdizzQ
 YZrCVSCZO9ZEVDDxw7h20xvCploLMASzfYHGEDe7hB1rGrEArLKjoyOTPJUecCnWpYvv
 go7mLmpXEiYv7Vk5CJG7h0+J0/SFgz5RzENH5INBvE2uoIDfxf6s0mPDB7ZF9WSQR0DQ
 H+g5C/NR30s5LLWQxPB3WbimNWNTIPJjwe0IKiHw6iA8q+mm/hYkP403XeKJEGaQVF49
 jGyP0A6o1SvoAKRowabDq8+3jBI/oHXxaqPiy2Dw6M+1n1th7mw2FvkTTYqCKanIv8ou
 /YCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:x-gm-message-state:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=w3DM4DhJqc0J+7Uj+v2VjvNGF5arrpaDb8VZhcDdfnUuIlJ3IWONvi+9rwkD0ignuL
 jr+y1bSpk78472mGMNrHVzwtrZUpeuvtzQcHG//7ntiTALWSv+6nRSFBrbHp0wf0rZJE
 WRL7iRPBxyN9Dm09glLcho7sJtuJQkdNvJ1FaSL30myBDNSt2wmKu04B5pzeILlZtyEy
 X2qXfzTCtwkSktN6/r2/+u5lt8U+BfKBNlXcLWSU2VuIY7TLqVIPshcEZSMSmuHVWxIP
 q88/IXvRym9Pup96OTzeiHuUdwvYVqunbPm9fCiwh03SgfjctZuT/vcS3FZIKLY6iPUf
 mjig==
X-Gm-Message-State: ACgBeo0XnxWEPI9dceV2ppqCr9+1OvY20yh9ewWjI09bm9lioQ1L6sf5
 0ljpGT9D4+JsaPJTjdQcyDduO8QNlLhzDPAe1Es=
X-Google-Smtp-Source: AA6agR4lNJgNgw8wyBm6SJ8N47RZgh03xVTiYorp+03fw25xGNTdWa1qSviXPZ5j44B2ntivmzA+niqb4cZOP3t0sfQ=
X-Received: by 2002:a05:6870:538c:b0:11b:e64f:ee1b with SMTP id
 h12-20020a056870538c00b0011be64fee1bmr1561642oan.92.1663141914389; Wed, 14
 Sep 2022 00:51:54 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 00:51:54 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87pmfy38sg.fsf@HIDDEN> (Vladimir Nikishkin's
 message of "Wed, 14 Sep 2022 11:55:21 +0800")
References: <87pmfy38sg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
X-Hashcash: 1:20:220914:57792 <at> debbugs.gnu.org::lRM3YfrRK58M+BmR:2BES
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 00:51:54 -0700
Message-ID: <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

found 57792 27.1
found 57792 28.2
tags 57792 + confirmed
thanks

Vladimir Nikishkin <lockywolf@HIDDEN> writes:

> In the *scratch* buffer:
> C-u M-& echo test RET
> results in an error, whereas on stable Emacs it pastes "test\n" at
> point.
>
> The error is:
> (wrong-type-argument stringp (4))
> The stack trace is:
> Debugger entered--Lisp error: (wrong-type-argument stringp (4))
>   shell-command("echo test &" (4) nil)
>   async-shell-command("echo test" (4) nil)
>   funcall-interactively(async-shell-command "echo test" (4) nil)
>   command-execute(async-shell-command)

This is from `get-buffer-create' in simple.el:4572.

> Hope this helps.

I can reproduce this bug on master, 27.1 and 28.2.  Here's a test case
(not tested):

(ert-deftest simple-tests-async-shell-command-57792 ()
  "Test for https://debbugs.gnu.org/57792 ."
  (with-temp-buffer
    ;; Pretend we have a prefix argument.
    (async-shell-command "echo \"test\"" '(4))
    (should (equal (buffer-string) "test"))))

I'm not sure what behavior we want here, though.  Should we insert the
command output directly at point in the current buffer, or should we
first insert it into "*Async Shell Command*" and copy it over when done?




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 14 Sep 2022 07:52:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 03:52:03 2022
Received: from localhost ([127.0.0.1]:53594 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYNBi-00050t-OQ
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:03 -0400
Received: from mail-oa1-f54.google.com ([209.85.160.54]:33575)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYNBg-00050I-BC
 for control <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:01 -0400
Received: by mail-oa1-f54.google.com with SMTP id
 586e51a60fabf-1274ec87ad5so38895057fac.0
 for <control <at> debbugs.gnu.org>; Wed, 14 Sep 2022 00:52:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=Sxs9YI2Sv+9Iih6HMrU2fgKsez/S6JjmSN7dyRDATikZLezua8U+dTHuxNW1KdizzQ
 YZrCVSCZO9ZEVDDxw7h20xvCploLMASzfYHGEDe7hB1rGrEArLKjoyOTPJUecCnWpYvv
 go7mLmpXEiYv7Vk5CJG7h0+J0/SFgz5RzENH5INBvE2uoIDfxf6s0mPDB7ZF9WSQR0DQ
 H+g5C/NR30s5LLWQxPB3WbimNWNTIPJjwe0IKiHw6iA8q+mm/hYkP403XeKJEGaQVF49
 jGyP0A6o1SvoAKRowabDq8+3jBI/oHXxaqPiy2Dw6M+1n1th7mw2FvkTTYqCKanIv8ou
 /YCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:x-gm-message-state:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=fwrlTAlatPOIu1ogqYKJx5TVdA36k2PBUMwioWmeFFLZH35q8hKzgbFb+oW/OPviJo
 TMTCk0VyNPeztMCfn/cIbDa0BzEcUOG6sG8cn0pFNOSYYa+gjnDOvlpJXvsTEQ15nGr6
 NP8/cfn8M7kV/zorUNXPBx6uYvc/d7GWKWkjeoB71nP/eROwl4VEdn2JfE4UpYIE7dDq
 YWtX+ZphFf5GcNdS7CTjYTE668l3ue1ufe1RCEXy+QlPcHMTOFLvHIdCkUarVEZpHMDa
 gUe+9mmBnNyse7M5zixWuQ1xjYGMT5iND7I1X+gjJlaM2jicfx5rjD33epo1FFRyq0/T
 aEUg==
X-Gm-Message-State: ACgBeo1UjRS0nN/v2Cai1+Uduh0hPpfzwmIbErKw4Gscgor/LTJrjW0+
 8IwZpqHKU3/3z0Rw//jb3jPznvjo1YizUfmzNFs=
X-Google-Smtp-Source: AA6agR4lNJgNgw8wyBm6SJ8N47RZgh03xVTiYorp+03fw25xGNTdWa1qSviXPZ5j44B2ntivmzA+niqb4cZOP3t0sfQ=
X-Received: by 2002:a05:6870:538c:b0:11b:e64f:ee1b with SMTP id
 h12-20020a056870538c00b0011be64fee1bmr1561642oan.92.1663141914389; Wed, 14
 Sep 2022 00:51:54 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 00:51:54 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87pmfy38sg.fsf@HIDDEN> (Vladimir Nikishkin's
 message of "Wed, 14 Sep 2022 11:55:21 +0800")
References: <87pmfy38sg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
X-Hashcash: 1:20:220914:57792 <at> debbugs.gnu.org::lRM3YfrRK58M+BmR:2BES
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 00:51:54 -0700
Message-ID: <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
Subject: Re: bug#57792: 29.0.50; async-shell-command fails with
 prefix-argument on -master
To: Vladimir Nikishkin <lockywolf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Bcc: control <at> debbugs.gnu.org
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
Cc: 57792 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

found 57792 27.1
found 57792 28.2
tags 57792 + confirmed
thanks

Vladimir Nikishkin <lockywolf@HIDDEN> writes:

> In the *scratch* buffer:
> C-u M-& echo test RET
> results in an error, whereas on stable Emacs it pastes "test\n" at
> point.
>
> The error is:
> (wrong-type-argument stringp (4))
> The stack trace is:
> Debugger entered--Lisp error: (wrong-type-argument stringp (4))
>   shell-command("echo test &" (4) nil)
>   async-shell-command("echo test" (4) nil)
>   funcall-interactively(async-shell-command "echo test" (4) nil)
>   command-execute(async-shell-command)

This is from `get-buffer-create' in simple.el:4572.

> Hope this helps.

I can reproduce this bug on master, 27.1 and 28.2.  Here's a test case
(not tested):

(ert-deftest simple-tests-async-shell-command-57792 ()
  "Test for https://debbugs.gnu.org/57792 ."
  (with-temp-buffer
    ;; Pretend we have a prefix argument.
    (async-shell-command "echo \"test\"" '(4))
    (should (equal (buffer-string) "test"))))

I'm not sure what behavior we want here, though.  Should we insert the
command output directly at point in the current buffer, or should we
first insert it into "*Async Shell Command*" and copy it over when done?




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 14 Sep 2022 07:52:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 03:52:03 2022
Received: from localhost ([127.0.0.1]:53594 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYNBi-00050t-OQ
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:03 -0400
Received: from mail-oa1-f54.google.com ([209.85.160.54]:33575)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYNBg-00050I-BC
 for control <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:01 -0400
Received: by mail-oa1-f54.google.com with SMTP id
 586e51a60fabf-1274ec87ad5so38895057fac.0
 for <control <at> debbugs.gnu.org>; Wed, 14 Sep 2022 00:52:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=Sxs9YI2Sv+9Iih6HMrU2fgKsez/S6JjmSN7dyRDATikZLezua8U+dTHuxNW1KdizzQ
 YZrCVSCZO9ZEVDDxw7h20xvCploLMASzfYHGEDe7hB1rGrEArLKjoyOTPJUecCnWpYvv
 go7mLmpXEiYv7Vk5CJG7h0+J0/SFgz5RzENH5INBvE2uoIDfxf6s0mPDB7ZF9WSQR0DQ
 H+g5C/NR30s5LLWQxPB3WbimNWNTIPJjwe0IKiHw6iA8q+mm/hYkP403XeKJEGaQVF49
 jGyP0A6o1SvoAKRowabDq8+3jBI/oHXxaqPiy2Dw6M+1n1th7mw2FvkTTYqCKanIv8ou
 /YCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:x-gm-message-state:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=fwrlTAlatPOIu1ogqYKJx5TVdA36k2PBUMwioWmeFFLZH35q8hKzgbFb+oW/OPviJo
 TMTCk0VyNPeztMCfn/cIbDa0BzEcUOG6sG8cn0pFNOSYYa+gjnDOvlpJXvsTEQ15nGr6
 NP8/cfn8M7kV/zorUNXPBx6uYvc/d7GWKWkjeoB71nP/eROwl4VEdn2JfE4UpYIE7dDq
 YWtX+ZphFf5GcNdS7CTjYTE668l3ue1ufe1RCEXy+QlPcHMTOFLvHIdCkUarVEZpHMDa
 gUe+9mmBnNyse7M5zixWuQ1xjYGMT5iND7I1X+gjJlaM2jicfx5rjD33epo1FFRyq0/T
 aEUg==
X-Gm-Message-State: ACgBeo1UjRS0nN/v2Cai1+Uduh0hPpfzwmIbErKw4Gscgor/LTJrjW0+
 8IwZpqHKU3/3z0Rw//jb3jPznvjo1YizUfmzNFs=
X-Google-Smtp-Source: AA6agR4lNJgNgw8wyBm6SJ8N47RZgh03xVTiYorp+03fw25xGNTdWa1qSviXPZ5j44B2ntivmzA+niqb4cZOP3t0sfQ=
X-Received: by 2002:a05:6870:538c:b0:11b:e64f:ee1b with SMTP id
 h12-20020a056870538c00b0011be64fee1bmr1561642oan.92.1663141914389; Wed, 14
 Sep 2022 00:51:54 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 00:51:54 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87pmfy38sg.fsf@HIDDEN> (Vladimir Nikishkin's
 message of "Wed, 14 Sep 2022 11:55:21 +0800")
References: <87pmfy38sg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
X-Hashcash: 1:20:220914:57792 <at> debbugs.gnu.org::lRM3YfrRK58M+BmR:2BES
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 00:51:54 -0700
Message-ID: <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
Subject: Re: bug#57792: 29.0.50; async-shell-command fails with
 prefix-argument on -master
To: Vladimir Nikishkin <lockywolf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Bcc: control <at> debbugs.gnu.org
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
Cc: 57792 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

found 57792 27.1
found 57792 28.2
tags 57792 + confirmed
thanks

Vladimir Nikishkin <lockywolf@HIDDEN> writes:

> In the *scratch* buffer:
> C-u M-& echo test RET
> results in an error, whereas on stable Emacs it pastes "test\n" at
> point.
>
> The error is:
> (wrong-type-argument stringp (4))
> The stack trace is:
> Debugger entered--Lisp error: (wrong-type-argument stringp (4))
>   shell-command("echo test &" (4) nil)
>   async-shell-command("echo test" (4) nil)
>   funcall-interactively(async-shell-command "echo test" (4) nil)
>   command-execute(async-shell-command)

This is from `get-buffer-create' in simple.el:4572.

> Hope this helps.

I can reproduce this bug on master, 27.1 and 28.2.  Here's a test case
(not tested):

(ert-deftest simple-tests-async-shell-command-57792 ()
  "Test for https://debbugs.gnu.org/57792 ."
  (with-temp-buffer
    ;; Pretend we have a prefix argument.
    (async-shell-command "echo \"test\"" '(4))
    (should (equal (buffer-string) "test"))))

I'm not sure what behavior we want here, though.  Should we insert the
command output directly at point in the current buffer, or should we
first insert it into "*Async Shell Command*" and copy it over when done?




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 14 Sep 2022 07:52:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 03:52:03 2022
Received: from localhost ([127.0.0.1]:53594 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYNBi-00050t-OQ
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:03 -0400
Received: from mail-oa1-f54.google.com ([209.85.160.54]:33575)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYNBg-00050I-BC
 for control <at> debbugs.gnu.org; Wed, 14 Sep 2022 03:52:01 -0400
Received: by mail-oa1-f54.google.com with SMTP id
 586e51a60fabf-1274ec87ad5so38895057fac.0
 for <control <at> debbugs.gnu.org>; Wed, 14 Sep 2022 00:52:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=Sxs9YI2Sv+9Iih6HMrU2fgKsez/S6JjmSN7dyRDATikZLezua8U+dTHuxNW1KdizzQ
 YZrCVSCZO9ZEVDDxw7h20xvCploLMASzfYHGEDe7hB1rGrEArLKjoyOTPJUecCnWpYvv
 go7mLmpXEiYv7Vk5CJG7h0+J0/SFgz5RzENH5INBvE2uoIDfxf6s0mPDB7ZF9WSQR0DQ
 H+g5C/NR30s5LLWQxPB3WbimNWNTIPJjwe0IKiHw6iA8q+mm/hYkP403XeKJEGaQVF49
 jGyP0A6o1SvoAKRowabDq8+3jBI/oHXxaqPiy2Dw6M+1n1th7mw2FvkTTYqCKanIv8ou
 /YCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:user-agent:references
 :in-reply-to:from:x-gm-message-state:from:to:cc:subject:date;
 bh=cxA8YEjFWZvRs/KcKL+KMO/9Abo8JfI39OZEGTXcRWg=;
 b=fwrlTAlatPOIu1ogqYKJx5TVdA36k2PBUMwioWmeFFLZH35q8hKzgbFb+oW/OPviJo
 TMTCk0VyNPeztMCfn/cIbDa0BzEcUOG6sG8cn0pFNOSYYa+gjnDOvlpJXvsTEQ15nGr6
 NP8/cfn8M7kV/zorUNXPBx6uYvc/d7GWKWkjeoB71nP/eROwl4VEdn2JfE4UpYIE7dDq
 YWtX+ZphFf5GcNdS7CTjYTE668l3ue1ufe1RCEXy+QlPcHMTOFLvHIdCkUarVEZpHMDa
 gUe+9mmBnNyse7M5zixWuQ1xjYGMT5iND7I1X+gjJlaM2jicfx5rjD33epo1FFRyq0/T
 aEUg==
X-Gm-Message-State: ACgBeo1UjRS0nN/v2Cai1+Uduh0hPpfzwmIbErKw4Gscgor/LTJrjW0+
 8IwZpqHKU3/3z0Rw//jb3jPznvjo1YizUfmzNFs=
X-Google-Smtp-Source: AA6agR4lNJgNgw8wyBm6SJ8N47RZgh03xVTiYorp+03fw25xGNTdWa1qSviXPZ5j44B2ntivmzA+niqb4cZOP3t0sfQ=
X-Received: by 2002:a05:6870:538c:b0:11b:e64f:ee1b with SMTP id
 h12-20020a056870538c00b0011be64fee1bmr1561642oan.92.1663141914389; Wed, 14
 Sep 2022 00:51:54 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 00:51:54 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87pmfy38sg.fsf@HIDDEN> (Vladimir Nikishkin's
 message of "Wed, 14 Sep 2022 11:55:21 +0800")
References: <87pmfy38sg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
X-Hashcash: 1:20:220914:57792 <at> debbugs.gnu.org::lRM3YfrRK58M+BmR:2BES
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 00:51:54 -0700
Message-ID: <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
Subject: Re: bug#57792: 29.0.50; async-shell-command fails with
 prefix-argument on -master
To: Vladimir Nikishkin <lockywolf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Bcc: control <at> debbugs.gnu.org
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
Cc: 57792 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

found 57792 27.1
found 57792 28.2
tags 57792 + confirmed
thanks

Vladimir Nikishkin <lockywolf@HIDDEN> writes:

> In the *scratch* buffer:
> C-u M-& echo test RET
> results in an error, whereas on stable Emacs it pastes "test\n" at
> point.
>
> The error is:
> (wrong-type-argument stringp (4))
> The stack trace is:
> Debugger entered--Lisp error: (wrong-type-argument stringp (4))
>   shell-command("echo test &" (4) nil)
>   async-shell-command("echo test" (4) nil)
>   funcall-interactively(async-shell-command "echo test" (4) nil)
>   command-execute(async-shell-command)

This is from `get-buffer-create' in simple.el:4572.

> Hope this helps.

I can reproduce this bug on master, 27.1 and 28.2.  Here's a test case
(not tested):

(ert-deftest simple-tests-async-shell-command-57792 ()
  "Test for https://debbugs.gnu.org/57792 ."
  (with-temp-buffer
    ;; Pretend we have a prefix argument.
    (async-shell-command "echo \"test\"" '(4))
    (should (equal (buffer-string) "test"))))

I'm not sure what behavior we want here, though.  Should we insert the
command output directly at point in the current buffer, or should we
first insert it into "*Async Shell Command*" and copy it over when done?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 14 Sep 2022 14:14:02 +0000
Resent-Message-ID: <handler.57792.B57792.16631648334434 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 57792
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: 57792 <at> debbugs.gnu.org, Vladimir Nikishkin <lockywolf@HIDDEN>
Received: via spool by 57792-submit <at> debbugs.gnu.org id=B57792.16631648334434
          (code B ref 57792); Wed, 14 Sep 2022 14:14:02 +0000
Received: (at 57792) by debbugs.gnu.org; 14 Sep 2022 14:13:53 +0000
Received: from localhost ([127.0.0.1]:55662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYT9E-00019S-KP
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:13:52 -0400
Received: from quimby.gnus.org ([95.216.78.240]:49486)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oYT9D-00019A-91
 for 57792 <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:13:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=pxIdeOPGqSUPftG2PAks/o8GFkbkBpN8SrQe3QPuklc=; b=IG0mLpPx2W5CkjiyLXyl9eF3IZ
 FYUSxToO1eou7x3mA1d5//Vi01W+NY8NOUr34za6jXZhQPOwH+kWYgAj/9+xmbzJK7DpccR4tg23S
 DOMHGjbjrGlYd3WYUreSHZEyQ0KabD2pA6PND58Kxlm+EVqEkonbOxd8CJN6kYy83CdQ=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oYT94-0007Ce-4o; Wed, 14 Sep 2022 16:13:44 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
 (Stefan Kangas's message of "Wed, 14 Sep 2022 00:51:54 -0700")
References: <87pmfy38sg.fsf@HIDDEN>
 <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
X-Now-Playing: David Bowie's _Brilliant Live Adventures (1): Ouvrez Le Chien
 (live Dallas '95)_: "The Man Who Sold The World"
Date: Wed, 14 Sep 2022 16:13:41 +0200
Message-ID: <87czby82ne.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Kangas <stefankangas@HIDDEN> writes: > I can
 reproduce
 this bug on master, 27.1 and 28.2. Here's a test case > (not tested): > >
 (ert-deftest simple-tests-async-shell-command-57792 () > "Test for
 https://debbugs.gnu.org/57792 ." > (with- [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Kangas <stefankangas@HIDDEN> writes:

> I can reproduce this bug on master, 27.1 and 28.2.  Here's a test case
> (not tested):
>
> (ert-deftest simple-tests-async-shell-command-57792 ()
>   "Test for https://debbugs.gnu.org/57792 ."
>   (with-temp-buffer
>     ;; Pretend we have a prefix argument.
>     (async-shell-command "echo \"test\"" '(4))
>     (should (equal (buffer-string) "test"))))
>
> I'm not sure what behavior we want here, though.  Should we insert the
> command output directly at point in the current buffer, or should we
> first insert it into "*Async Shell Command*" and copy it over when done?

The prefix isn't documented to do anything (and currently bugs out), so
perhaps we should just remove the prefix from the interactive spec
instead?

Is the intention that `C-u M-&' insert the output in the current buffer?





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 14 Sep 2022 14:13:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 10:13:57 2022
Received: from localhost ([127.0.0.1]:55665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYT9I-00019j-UY
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:13:57 -0400
Received: from quimby.gnus.org ([95.216.78.240]:49500)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oYT9H-00019I-6W
 for control <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:13:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=px/+y6SgBZRsqk2C6FYBg+G5bqFbPUFWwA9xP18vjlY=; b=eQ8lRxeUcI0PW/ZUfx7xHKJjPo
 lZJcRG3ze291P4MKLomuaY/+BkTVU2A3mIASGv89eHnZZGD9hGqjqY1GoCozsaTHzUNDG+JkRlI9+
 jeoMQcIaRTlpuR5uHRQeSOw/x+aglc0W+iAnYBkTwi5biCmgwk+RY4SPHnMa+NAqPcQ8=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1oYT99-0007Cn-EX
 for control <at> debbugs.gnu.org; Wed, 14 Sep 2022 16:13:49 +0200
Date: Wed, 14 Sep 2022 16:13:46 +0200
Message-Id: <87bkri82n9.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #57792
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 57792 + moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 57792 + moreinfo
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master
Resent-From: Vladimir Nikishkin <lockywolf@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 14 Sep 2022 14:23:02 +0000
Resent-Message-ID: <handler.57792.B57792.166316533213691 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 57792
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 57792 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>
Received: via spool by 57792-submit <at> debbugs.gnu.org id=B57792.166316533213691
          (code B ref 57792); Wed, 14 Sep 2022 14:23:02 +0000
Received: (at 57792) by debbugs.gnu.org; 14 Sep 2022 14:22:12 +0000
Received: from localhost ([127.0.0.1]:55681 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYTHI-0003Yl-B2
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:22:12 -0400
Received: from mail-pf1-f169.google.com ([209.85.210.169]:39490)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lockywolf@HIDDEN>) id 1oYTHE-0003YV-KH
 for 57792 <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:22:10 -0400
Received: by mail-pf1-f169.google.com with SMTP id u132so15075860pfc.6
 for <57792 <at> debbugs.gnu.org>; Wed, 14 Sep 2022 07:22:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:from:to:cc:subject:date;
 bh=GXs/ZOXhHL7Q97COlg0EctvmWV1RFDMEE1DXAVrJM3o=;
 b=hugRQfZxU4WssaMY6JpJagJskKLokJjUzFBxxr9j8LV8oVkJg1k2ETIvM6MMlRnWg4
 pCl7AsghRHu+cLXtw8pG3zDHzQCzUwOvgbdUkL0sA8z6jvLRgBhI2vTjPmciIWjLt7I4
 NV8idzawR1jl3apjHXvokoFQ4lDBaGcck5CzVs9CJL3IJ0OXxFBabuJ1RA/ccF3rwj3p
 sHFDV7+VTZTZ2opzVnnqjjjkZl8UxcHxxgfq6X/BBBZX7XjWXowk+O1rif5GkRa5TUJY
 WzG/xQ/JhBSZ7aQOv6N+8MFGTJlo7SbferMIujatK+sB8db5K3pl6kH6GPvEnUpXyoAt
 383w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:x-gm-message-state:from:to:cc:subject:date;
 bh=GXs/ZOXhHL7Q97COlg0EctvmWV1RFDMEE1DXAVrJM3o=;
 b=KtN9yQ7WPLzty+bTrglGymQdLYsCfGg6xFE7ENj8eZEK8ZCVxPyPAPtsiyR2Qb3PTb
 IW7mhDAMnTFCwZ5qEt6HXNuXuD5G1XtmqxMJWXUx6nXIZDg/mnBuLqimvaDEJRfkyDNp
 g0iIarTYP9+UEEA7ifLzAfCzjBZFJVJrXv2Hsnyc4xWRMYfsvrLyy2LZWyuAmsMIOuB+
 edrpw2cRyt8ECX6dYPprTzYhFeD0ZO//obyYF70VAVuKNPyEkL7jjGOriwkJ+6dCHw56
 FGMzfZSYn3j+m+DfILLELQzOMZGcHSGwYlXGFMPSysOpndCeTjg703nJ6CUJhaxZ98Fg
 dczw==
X-Gm-Message-State: ACgBeo3ANsuQCGpM4QX3UZTx5rsEvhbLw1Ttc1ROnTFlRbskJcFetKE7
 OYIV4tidmzNYCr4IpuQZ767YEwChmILC3A==
X-Google-Smtp-Source: AA6agR7KqNn6YPk7yOXzmFC6GCQ/3zrTx0ht9jkg8BmuLgkgwwUT7c92H7QNe16JVFgTBpvReAjPbA==
X-Received: by 2002:a63:354e:0:b0:439:837:692f with SMTP id
 c75-20020a63354e000000b004390837692fmr13083024pga.74.1663165322016; 
 Wed, 14 Sep 2022 07:22:02 -0700 (PDT)
Received: from laptop.lockywolf.net ([2001:470:24:315::102])
 by smtp.gmail.com with ESMTPSA id
 w2-20020a1709026f0200b00172ba718ed4sm10805632plk.138.2022.09.14.07.21.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 14 Sep 2022 07:22:00 -0700 (PDT)
References: <87pmfy38sg.fsf@HIDDEN>
 <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
 <87czby82ne.fsf@HIDDEN>
User-agent: mu4e 1.8.6; emacs 29.0.50
From: Vladimir Nikishkin <lockywolf@HIDDEN>
Date: Wed, 14 Sep 2022 22:17:23 +0800
In-reply-to: <87czby82ne.fsf@HIDDEN>
Message-ID: <87fsgu2g0f.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Stefan Kangas <stefankangas@HIDDEN> writes:
>
>> I can reproduce this bug on master, 27.1 and 28.2.  Here's a test case
>> (not tested):
>>
>> (ert-deftest simple-tests-async-shell-command-57792 ()
>>   "Test for https://debbugs.gnu.org/57792 ."
>>   (with-temp-buffer
>>     ;; Pretend we have a prefix argument.
>>     (async-shell-command "echo \"test\"" '(4))
>>     (should (equal (buffer-string) "test"))))
>>
>> I'm not sure what behavior we want here, though.  Should we insert the
>> command output directly at point in the current buffer, or should we
>> first insert it into "*Async Shell Command*" and copy it over when done?
>
> The prefix isn't documented to do anything (and currently bugs out), so
> perhaps we should just remove the prefix from the interactive spec
> instead?

> Is the intention that `C-u M-&' insert the output in the current buffer?

I am quite sure it used to do that in the past. Perhaps, as late as
27.2. I can try to do a bisect to find when exactly this has changed.
Moreover, it would be analogous to C-u M-: inserting the return value
into the buffer at point.

-- 
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master
Resent-From: Vladimir Nikishkin <lockywolf@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 14 Sep 2022 14:38:02 +0000
Resent-Message-ID: <handler.57792.B57792.166316625015330 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 57792
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 57792 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>
Received: via spool by 57792-submit <at> debbugs.gnu.org id=B57792.166316625015330
          (code B ref 57792); Wed, 14 Sep 2022 14:38:02 +0000
Received: (at 57792) by debbugs.gnu.org; 14 Sep 2022 14:37:30 +0000
Received: from localhost ([127.0.0.1]:55727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYTW6-0003z6-9n
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:37:30 -0400
Received: from mail-ej1-f43.google.com ([209.85.218.43]:35484)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lockywolf@HIDDEN>) id 1oYTW3-0003yl-EQ
 for 57792 <at> debbugs.gnu.org; Wed, 14 Sep 2022 10:37:28 -0400
Received: by mail-ej1-f43.google.com with SMTP id go34so35232159ejc.2
 for <57792 <at> debbugs.gnu.org>; Wed, 14 Sep 2022 07:37:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:from:to:cc:subject:date;
 bh=hPGoyCkQ1RESUd9HJEHoPImtyL4OYef+z4bNm9k8elI=;
 b=i1y+8/qnEg8QZkoidglSiIKqhZubaPaLm5SRdOywfq9wdztM3O8rHGa/bvyBBupMl7
 M2E1usbAJTHiVFMXqGPTu9NJpW9Wcs3FXYkYj0JG0xXSbdI4YEQh4nDT6hvpGZOd8h18
 OzNsblG/BXXVMrjP8REROER181d51x6zo5lM4DazdusZHl15g4awrkZ8aa+9iWh00pIE
 +vqIpbrSpLAruoGF3ajVECMBrXtnOEOF12oUyrRYIhPbPqas/Uz/yfdByTDDBSPrSHDs
 rB3jk1009gP+ZMNWjTbLgyNoX8N3qgaNUCFzA2RdGV/eNq7e7V8vl58nuCXf9G6PT9Iu
 kTXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:in-reply-to:date:subject:cc:to:from
 :user-agent:references:x-gm-message-state:from:to:cc:subject:date;
 bh=hPGoyCkQ1RESUd9HJEHoPImtyL4OYef+z4bNm9k8elI=;
 b=O3MtDI1oXvnp6AReCr/Gek2vL0E6LyeEx6haoLySjX/bUHrZtiCjE5MKl79Ntz0GNw
 D7fm9STQ2eNgezzD/ocFYvsR/9GRoEwj0M3i+hXSQynTLOvVBrbBf2m330d095Yzw0bx
 DpzOOn+qepDsi19PcWeje9oEd351ZKokq8SwuUh2LXIsony05QixVA6/K7N/ACkppSEs
 hT8ouOXqwDyWMc0P2pJlR4dM0zO2p7Ya8Efd9xhcbcs3kxlSsiXVT0ktV8ghXD6rDETw
 ZJdxf0rfaj8gxv8zeadfbCRMTh6O2QUbBVUrdkuGlgyjqJISGGH5803/Fj8Vq/1iPeK9
 ZL4A==
X-Gm-Message-State: ACgBeo2HP7/QhzTh79CoGScavYNT6Wjh1TtjCd+yusoVwaTGJJeWunWS
 yObtgsIkmLDY4JSGYIT06ouMzZZAUi9hHQ==
X-Google-Smtp-Source: AA6agR56EtmeDkCkdGB73N5AOUFCb/BY2k7VDOqctqCUT4q3QtX7EP6wpy/TAYgNXNvEwbrY68Ar3g==
X-Received: by 2002:a17:907:318b:b0:740:33f2:9e8 with SMTP id
 xe11-20020a170907318b00b0074033f209e8mr25780304ejb.138.1663166240947; 
 Wed, 14 Sep 2022 07:37:20 -0700 (PDT)
Received: from laptop.lockywolf.net ([240e:36f:d51:210:fc0:6e92:303:8c91])
 by smtp.gmail.com with ESMTPSA id
 g21-20020aa7c855000000b0044e983132c3sm9657057edt.60.2022.09.14.07.37.17
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 14 Sep 2022 07:37:20 -0700 (PDT)
References: <87pmfy38sg.fsf@HIDDEN>
 <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
 <87czby82ne.fsf@HIDDEN> <87fsgu2g0f.fsf@HIDDEN>
User-agent: mu4e 1.8.6; emacs 29.0.50
From: Vladimir Nikishkin <lockywolf@HIDDEN>
Date: Wed, 14 Sep 2022 22:36:19 +0800
In-reply-to: <87fsgu2g0f.fsf@HIDDEN>
Message-ID: <87bkri2faf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


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

Vladimir Nikishkin <lockywolf@HIDDEN> writes:

> Lars Ingebrigtsen <larsi@HIDDEN> writes:
>
>> Stefan Kangas <stefankangas@HIDDEN> writes:
>>
>>> I can reproduce this bug on master, 27.1 and 28.2.  Here's a test case
>>> (not tested):
>>>
>>> (ert-deftest simple-tests-async-shell-command-57792 ()
>>>   "Test for https://debbugs.gnu.org/57792 ."
>>>   (with-temp-buffer
>>>     ;; Pretend we have a prefix argument.
>>>     (async-shell-command "echo \"test\"" '(4))
>>>     (should (equal (buffer-string) "test"))))
>>>
>>> I'm not sure what behavior we want here, though.  Should we insert the
>>> command output directly at point in the current buffer, or should we
>>> first insert it into "*Async Shell Command*" and copy it over when done?
>>
>> The prefix isn't documented to do anything (and currently bugs out), so
>> perhaps we should just remove the prefix from the interactive spec
>> instead?
>
>> Is the intention that `C-u M-&' insert the output in the current buffer?
>
> I am quite sure it used to do that in the past. Perhaps, as late as
> 27.2. I can try to do a bisect to find when exactly this has changed.
> Moreover, it would be analogous to C-u M-: inserting the return value
> into the buffer at point.


-- 
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#57792: 29.0.50; async-shell-command fails with prefix-argument on -master
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 14 Sep 2022 15:12:02 +0000
Resent-Message-ID: <handler.57792.B57792.16631682623095 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 57792
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed moreinfo
To: Vladimir Nikishkin <lockywolf@HIDDEN>
Cc: 57792 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN>
Received: via spool by 57792-submit <at> debbugs.gnu.org id=B57792.16631682623095
          (code B ref 57792); Wed, 14 Sep 2022 15:12:02 +0000
Received: (at 57792) by debbugs.gnu.org; 14 Sep 2022 15:11:02 +0000
Received: from localhost ([127.0.0.1]:55782 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYU2Y-0000nh-38
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 11:11:02 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50672)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oYU2P-0000nE-Nj
 for 57792 <at> debbugs.gnu.org; Wed, 14 Sep 2022 11:11:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=4jyNEiaKnaUDgsWkSG3AtyfthqV9GXXfbAYqHSyI/Uo=; b=c7AJHO98QZeNRW7yt55Nlpbvm+
 GrdYnF/ZChGqe67zl8nh8QWWCVXU40fMYmcZqHk8BiBVGG1FwtzzhmWTma1heQVL27cOScuVd03vc
 zd+nkjKpM+A6FDYNlUF40SqSicIylec5SPyODoz9OqfDvUp9kQbAZMYi8MdnvdBya3Qc=;
Received: from [84.212.220.105] (helo=joga)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1oYU2G-0007hq-T7; Wed, 14 Sep 2022 17:10:46 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87bkri2faf.fsf@HIDDEN> (Vladimir Nikishkin's
 message of "Wed, 14 Sep 2022 22:36:19 +0800")
References: <87pmfy38sg.fsf@HIDDEN>
 <CADwFkm=DMs_4ANgVwSYnqZuYjDkduu38RAeBXTEjD64fxDM6Ag@HIDDEN>
 <87czby82ne.fsf@HIDDEN> <87fsgu2g0f.fsf@HIDDEN>
 <87bkri2faf.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVXCCuhExf7LAHx
 EQX///+EbqWtAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YJDg8IKWAxEiQAAAG0SURBVDjLjZSNkeMw
 CIWF3YCQGlhQA0b039s+kOxk93I3p5mMHL4Ajx+nlEL66ZR/AseZOubAB1/mwJUAT+P/Qg2eCZhv
 g6+7cgswmvSWZpwEiB5AGly3HSIS6A3iqz+kLA/txnekkeQqrXQjlT7SIWvwKUc4EQO0mfYNB3QC
 VBrc+YvCjrrh4qXVGR5CVK9rRhKY4XIS6jgN4Kr1arqSq9tZ+IhQ8GC2NiKRukSymckF+REcOifA
 Zd36bCu5IT6MI4AwtNxAfwB7AdnAlwdOixwjOpI5llz0wTXk6upgqNKkTfagVOW4+ghjxJsd4l8A
 sbLpYNL7A6hCZQ4QTJhvYJWJjzV2atGBDfjLiM4lgg7U+4AhHaHCPtE4LqGqxA9tyBq5K9VWMkfJ
 DcPZu0AYD9q+PaB8rzBk2ZhPqMywt+re3eXh0n4vdbmfPd8C9fEGxBs6spqyurkBl3psufnaPMDJ
 yDG6t/XddZAXrp0+gRNrXP8ERU4UXHesN+A6bRljSfjVK4z8wj4F6OaxcA9wqxZOhnWd8gPYxXlh
 MVnfAS8P3NLnW69QcI8b3Vx/AEU/nb+Cb7VUjESWM2HrAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIy
 LTA5LTE0VDE1OjA4OjQxKzAwOjAwHtKitAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOS0xNFQx
 NTowODo0MSswMDowMG+PGggAAAAASUVORK5CYII=
X-Now-Playing: Don Cherry's New Researches featuring =?UTF-8?Q?Nan=C3=A1?=
 Vasconcelos's
 _Organic Music Theatre Festival de Chateauvallon 1972 (1)_: "Ganesh"
Date: Wed, 14 Sep 2022 17:10:44 +0200
Message-ID: <87h71a6lfv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Vladimir Nikishkin <lockywolf@HIDDEN> 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. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Vladimir Nikishkin <lockywolf@HIDDEN> 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...




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 10 Jan 2024 10:56:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 05:56:28 2024
Received: from localhost ([127.0.0.1]:42081 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNWG4-00055O-8s
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 05:56:28 -0500
Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:44276)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1rNWG2-00055C-O3
 for control <at> debbugs.gnu.org; Wed, 10 Jan 2024 05:56:27 -0500
Received: by mail-ed1-x52f.google.com with SMTP id
 4fb4d7f45d1cf-55783b7b47aso3899664a12.0
 for <control <at> debbugs.gnu.org>; Wed, 10 Jan 2024 02:56:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704884173; x=1705488973; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Q55vjY34uU27XWYOKi45FsV4WIzRBwuaVcEiW5H8McY=;
 b=iRxLq6/r4b0QYCZhg3tLSTbbs9HGjo5YP3EWpLDWYO7kgVPKrdI7ho9vd6H6GnSD29
 eNnR3x2WQ4UW8yl9C5MrBMmmfA8iTKxKXuQKE5jL1H+VK6Qf1Sx0q/KqCi5M9X6A66Eo
 TF5R+319rQLQMuDr9qantKAgThiv0K+ZPy0A+eDJlVLJDbwczw1hf4tO0zscVXYat5dP
 gWgU2rPq7L9D9zZf7Iv9F1T+r6EpQfS6jlygq7thfEFiAFuETem6p/CJKHEI8h4ldKDG
 SjE3/YB3QmOq5OfxGDy3rbFeyaTS3s8x+b5/Qwnc1LB4mOw0bQHK31AdD0+ObIMFpuo0
 a2gQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704884173; x=1705488973;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Q55vjY34uU27XWYOKi45FsV4WIzRBwuaVcEiW5H8McY=;
 b=v9jmEY/+AkDaINQqdONYaCnZOykQS1x91bJ70uPpUqDAHlRUCQPKBsNuJ2cUxX34JD
 DEIZ79y9jyVbsCJHILCBvT+2di6fTejbuEhyzY9VLqr5iK5vC4bCrZEBc9uR33Io2jDF
 LN38Tb9maBagDFOsadFQzxzwBVU45iOYGmFBXRmqQqSsp1rSKqbOqDelQUk75KjbVgtz
 SFEPsQcCA2oqH1FY5DqN596OKhbxRDARwP8eyFt0p19co+fXrR9nk1nTrPrYPH/+WS7T
 d4qPRfFsINnnVGZDKnfx0reXZzH0zgZGtrMMhfSUI5PrLZK/M4Z9r2Vu+sS9PEpAi+uS
 f/Fw==
X-Gm-Message-State: AOJu0YxNxb7klKe6lfpJd4wNGNuzfcslIBMlOZFWq28HDR/C7I8MGDKn
 y/qdkBkTcE4sfDfUOzBz31+LgXgsieqXAeMGvZ1C5q+4LGg=
X-Google-Smtp-Source: AGHT+IGFie0gMgUL7OdhcnezH17TZZtE3V8H1T4VLWlEr+SxS2igfc8RfFN4nTeeZVQ4eK3qgRwjMeDw3DZTw65QhiY=
X-Received: by 2002:a50:8ad9:0:b0:554:2359:51b2 with SMTP id
 k25-20020a508ad9000000b00554235951b2mr349820edk.66.1704884173554; Wed, 10 Jan
 2024 02:56:13 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 10 Jan 2024 02:56:13 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Wed, 10 Jan 2024 02:56:13 -0800
Message-ID: <CADwFkmkjLz1gYoQEXxzUh_GMWb=f-_ybQGZWSHnnRXaA=Fua3A@HIDDEN>
Subject: control message for bug #57792
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 57792 - moreinfo
quit





Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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