Package: emacs;
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Fri, 2 Jan 2026 18:25:02 UTC
Severity: normal
Found in version 31.0.50
Done: Philip Kaludercic <philipk <at> posteo.net>
To reply to this bug, email your comments to 80115 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org:bug#80115; Package emacs.
(Fri, 02 Jan 2026 18:25:02 GMT) Full text and rfc822 format available.Philip Kaludercic <philipk <at> posteo.net>:bug-gnu-emacs <at> gnu.org.
(Fri, 02 Jan 2026 18:25:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Philip Kaludercic <philipk <at> posteo.net> To: bug-gnu-emacs <at> gnu.org Subject: 31.0.50; M-x shell echos Date: Fri, 02 Jan 2026 18:24:23 +0000
Hi, using "emacs -Q", M-x shell appears to echo the command being executed before executing it. I do not think that this was the default behaviour, but I cannot find the source of the regression. In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) of 2026-01-02 built on siskin Repository revision: 938866b3352fb8a9bf54c1ab94d454a650837a03 Repository branch: master System Description: Debian GNU/Linux 13 (trixie) Configured using: 'configure --with-pgtk' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 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: Elisp/l Minor modes in effect: TeX-PDF-mode: t TeX-source-correlate-mode: t bug-reference-prog-mode: t auto-revert-mode: t outline-minor-mode: t flyspell-mode: t flymake-mode: t repeat-mode: t display-battery-mode: t display-time-mode: t diff-hl-flydiff-mode: t diff-hl-mode: t winner-mode: t windmove-mode: t corfu-history-mode: t corfu-mode: t editorconfig-mode: t electric-pair-mode: t recentf-mode: t save-place-mode: t savehist-mode: t pixel-scroll-precision-mode: t pixel-scroll-mode: t xterm-mouse-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t vc-auto-revert-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-nonselected-mode: t minibuffer-regexp-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/phi/.config/emacs/user-lisp/e2-mode hides /home/phi/.config/emacs/elpa/e2-mode-1/e2-mode /home/phi/.config/emacs/user-lisp/package-lint/package-lint-flymake hides /home/phi/.config/emacs/elpa/package-lint-0.26/package-lint-flymake /home/phi/.config/emacs/user-lisp/package-lint/package-lint hides /home/phi/.config/emacs/elpa/package-lint-0.26/package-lint /home/phi/.config/emacs/user-lisp/shell-command+/shell-command+ hides /home/phi/.config/emacs/elpa/shell-command+/shell-command+ /home/phi/.config/emacs/user-lisp/shell-command+/shell-command+-tests hides /home/phi/.config/emacs/elpa/shell-command+/shell-command+-tests /home/phi/.config/emacs/user-lisp/vc-backup/vc-backup hides /home/phi/.config/emacs/elpa/vc-backup/vc-backup Features: (shadow emacsbug macrostep tmm dictionary external-completion dictionary-connection send-to ffap hippie-exp gnus-search eieio-opt speedbar ezimage dframe flow-fill tex-info texinfo texinfo-loaddefs tex texmathp auctex vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs emacs-news-mode avy debbugs-gnu debbugs-bookmarks debbugs soap-client rng-xsd rng-dt rng-util xsd-regexp debbugs-compat nndoc crm smiley gnus-cite gnus-async gnus-bcklg qp gnus-ml disp-table nndraft nnmh utf-7 nnfolder gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache do-at-point hi-lock slime-tests ert debug backtrace slime etags fileloop hyperspec apropos cl-print shortdoc help-fns oc-basic org-element org-persist org-id org-refile org-element-ast inline avl-tree generator ol-eww eww vtable url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-compat org-macs mailalias smtpmail textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check sort jka-compr tabify imenu man misc cursor-sensor smerge-mode xref writegood-mode ecomplete mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win pulse face-remap color whitespace bug-reference find-func tar-mode arc-mode archive-mode dired-aux gnus-dired copyright autorevert filenotify char-fold misearch multi-isearch mm-archive message yank-media rfc822 mml mml-sec mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mule-util vc-backup vc-git package-vc epa-file epa derived gnutls network-stream url-cache url-http url-auth url-gw nsm puny epg epg-config display-line-numbers help-at-pt noutline outline flyspell ispell checkdoc flymake project init auth-source-pass repeat pcase battery dbus xml bash-completion use-package-ensure use-package-core shell-command+ thingatpt dired-x dired dired-loaddefs holidays holiday-loaddefs cal-menu calendar cal-loaddefs time sendmail mail-parse rfc2231 gnus nnheader gnus-util range rmail rfc6068 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils diff-hl-flydiff diff diff-hl log-view log-edit add-log pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode track-changes easy-mmode winner windmove corfu-history corfu compat editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch elec-pair tramp-sh tramp-cache time-stamp tramp trampver tramp-integration files-x tramp-message tramp-compat shell pcomplete parse-time iso8601 time-date format-spec tramp-loaddefs recentf tree-widget saveplace savehist pixel-scroll cua-base xt-mouse cus-edit pp wid-edit comp comp-cstr warnings grep cus-start cus-load setup finder-inf .user-lisp-autoloads loaddefs-gen lisp-mnt radix-tree compile text-property-search comint ansi-osc ansi-color ring comp-run comp-common rx auctex-autoloads tex-site autocrypt-autoloads avy-autoloads bash-completion-autoloads corfu-autoloads debbugs-autoloads diff-hl-autoloads do-at-point-autoloads e2-mode-autoloads focus-autoloads forth-mode-autoloads go-mode-autoloads haskell-mode-autoloads iedit-autoloads markdown-mode-autoloads minimail-autoloads ngnk-mode-autoloads package-lint-autoloads proof-general-autoloads proof-site proof-autoloads setup-autoloads shell-command+-autoloads simple-single-autoloads info slime-autoloads macrostep-autoloads sml-mode-autoloads vc-backup-autoloads wgrep-autoloads writegood-mode-autoloads yasnippet-snippets-autoloads yasnippet-autoloads package browse-url xdg 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 url-vars package-core cl-extra help-mode icons cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen 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 theme-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 dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 1847518 352666) (symbols 48 44217 146) (strings 32 286607 24168) (string-bytes 1 12076037) (vectors 16 130238) (vector-slots 8 2475473 189013) (floats 8 1313 18085) (intervals 56 328607 11156) (buffers 1064 89))
Philip Kaludercic <philipk <at> posteo.net>:Philip Kaludercic <philipk <at> posteo.net>:Message #10 received at 80115-done <at> debbugs.gnu.org (full text, mbox):
From: Philip Kaludercic <philipk <at> posteo.net> To: 80115-done <at> debbugs.gnu.org Subject: Re: bug#80115: Acknowledgement (31.0.50; M-x shell echos) Date: Fri, 02 Jan 2026 18:26:34 +0000
help-debbugs <at> gnu.org (GNU bug Tracking System) writes: > 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 <at> gnu.org > > If you wish to submit further information on this problem, please > send it to 80115 <at> debbugs.gnu.org. > > Please do not send mail to help-debbugs <at> gnu.org unless you wish > to report a problem with the Bug-tracking system. Never mind, I figured out the issue was that I was playing around with "stty sane" in my .bashrc and that apparently caused the regression. Sorry for the noise!
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.