GNU bug report logs - #32438
[macOS] 26.1; Long command in shell-mode results in ^G being displayed

Previous Next

Package: emacs;

Reported by: Svend Sorensen <svend <at> svends.net>

Date: Tue, 14 Aug 2018 17:48:02 UTC

Severity: minor

Found in version 26.1

To reply to this bug, email your comments to 32438 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Tue, 14 Aug 2018 17:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Svend Sorensen <svend <at> svends.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 Aug 2018 17:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Svend Sorensen <svend <at> svends.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; Long command in shell-mode results in ^G being displayed
Date: Tue, 14 Aug 2018 09:39:52 -0700
To reproduce:

emacs -Q

M-x [execute-extended-command]
s [self-insert-command]
h [self-insert-command]
e [self-insert-command]
l [self-insert-command]
l [self-insert-command]
<return> [minibuffer-complete-and-exit]
t [self-insert-command]
r [self-insert-command]
u [self-insert-command]
e [self-insert-command]
SPC [self-insert-command]
C-u [universal-argument]
1 [digit-argument]
0 [digit-argument]
1 [digit-argument]
9 [digit-argument]
a [self-insert-command]
<return> [comint-send-input]

Expected result:

New shell prompt displayed with no output from "true" command:

$ true aaa...
$

Actual result:

^G displayed, pressing enter results in ^G again.

$ true aaa...
^G
^G


In GNU Emacs 26.1 (build 2, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.13.6 (Build 17G65))
 of 2018-07-31 built on 200956
Windowing system distributor 'Apple', version 10.3.1561
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Quit
Configured using:
 'configure
 --prefix=/nix/store/f8dskldv8dh8pqrwbglrb0vqsnnmri0w-emacs-26.1
 --with-modules --with-ns --disable-ns-self-contained
 CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS

Important settings:
  value of $EMACSLOADPATH: /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp::/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/clojure-mode-20180709.648/clojure-mode hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/clojure-mode-5.8.1/clojure-mode
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/clojure-mode-20180709.648/clojure-mode-autoloads hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/clojure-mode-5.8.1/clojure-mode-autoloads
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/clojure-mode-20180709.648/clojure-mode-pkg hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/clojure-mode-5.8.1/clojure-mode-pkg
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-dabbrev-code hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-dabbrev-code
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-tempo hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-tempo
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-gtags hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-gtags
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-elisp hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-elisp
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-cmake hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-cmake
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-capf hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-capf
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-dabbrev hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-dabbrev
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-autoloads hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-autoloads
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-etags hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-etags
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-eclim hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-eclim
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-semantic hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-semantic
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-ispell hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-ispell
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-keywords hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-keywords
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-clang hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-clang
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-abbrev hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-abbrev
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-pkg hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-pkg
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-yasnippet hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-yasnippet
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-template hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-template
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-nxml hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-nxml
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-css hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-css
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-oddmuse hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-oddmuse
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-files hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-files
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-xcode hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-xcode
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-bbdb hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-bbdb
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-0.9.6/company-tng hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/company-20180704.701/company-tng
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-20180720.247/flycheck-autoloads hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-31/flycheck-autoloads
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-20180720.247/flycheck-pkg hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-31/flycheck-pkg
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-20180720.247/flycheck-ert hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-31/flycheck-ert
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-20180720.247/flycheck-buttercup hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-31/flycheck-buttercup
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-20180720.247/flycheck hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/flycheck-31/flycheck
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/go-mode-1.5.0/go-mode hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/go-mode-20180327.830/go-mode
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/go-mode-1.5.0/go-mode-pkg hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/go-mode-20180327.830/go-mode-pkg
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/go-mode-1.5.0/go-mode-autoloads hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/go-mode-20180327.830/go-mode-autoloads
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-0.10.0/ivy-pkg hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-20180719.1037/ivy-pkg
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-0.10.0/ivy hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-20180719.1037/ivy
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-0.10.0/colir hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-20180719.1037/colir
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-0.10.0/ivy-autoloads hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-20180719.1037/ivy-autoloads
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-0.10.0/ivy-overlay hides /nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/ivy-20180719.1037/ivy-overlay
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/seq-2.20/seq hides /nix/store/f8dskldv8dh8pqrwbglrb0vqsnnmri0w-emacs-26.1/share/emacs/26.1/lisp/emacs-lisp/seq
/nix/store/4c7459zcdym0b5w7khng8snsdrmnlbkd-emacs-packages-deps/share/emacs/site-lisp/elpa/let-alist-1.0.5/let-alist hides /nix/store/f8dskldv8dh8pqrwbglrb0vqsnnmri0w-emacs-26.1/share/emacs/26.1/lisp/emacs-lisp/let-alist

Features:
(shadow sort mail-extr emacsbug message rmc puny seq seq-25 byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils shell pcomplete comint
ansi-color ring elec-pair time-date tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 208693 9261)
 (symbols 48 20513 1)
 (miscs 40 53 212)
 (strings 32 30090 2243)
 (string-bytes 1 842562)
 (vectors 16 35772)
 (vector-slots 8 721835 10258)
 (floats 8 48 98)
 (intervals 56 471 0)
 (buffers 992 13))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Wed, 15 Aug 2018 12:28:02 GMT) Full text and rfc822 format available.

Message #8 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Svend Sorensen <svend <at> svends.net>
Cc: 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1;
 Long command in shell-mode results in ^G being displayed
Date: Wed, 15 Aug 2018 08:27:06 -0400
retitle 32438 [macOS] 26.1; Long command in shell-mode results in ^G being displayed
quit

Svend Sorensen <svend <at> svends.net> writes:

> $ true aaa...
> ^G
> ^G

I can't reproduce, maybe it's macOS specific?





Changed bug title to '[macOS] 26.1; Long command in shell-mode results in ^G being displayed' from '26.1; Long command in shell-mode results in ^G being displayed' Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 15 Aug 2018 12:28:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Wed, 15 Aug 2018 13:01:03 GMT) Full text and rfc822 format available.

Message #13 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Svend Sorensen <svend <at> svends.net>, 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1;
 Long command in shell-mode results in ^G being displayed
Date: Wed, 15 Aug 2018 15:00:10 +0200
On Aug 15 2018, Noam Postavsky <npostavs <at> gmail.com> wrote:

> retitle 32438 [macOS] 26.1; Long command in shell-mode results in ^G being displayed
> quit
>
> Svend Sorensen <svend <at> svends.net> writes:
>
>> $ true aaa...
>> ^G
>> ^G
>
> I can't reproduce, maybe it's macOS specific?

Probably tty buffer overflow.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Wed, 15 Aug 2018 15:09:04 GMT) Full text and rfc822 format available.

Message #16 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: Svend Sorensen <svend <at> svends.net>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1;
 Long command in shell-mode results in ^G being displayed
Date: Wed, 15 Aug 2018 08:08:51 -0700
> I can't reproduce, maybe it's macOS specific?

It does seem to be macOS specific. I cannot reproduce on Linux using the same version of Emacs from Nixpkgs (https://nixos.org/nixpkgs/).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Wed, 22 Aug 2018 19:49:02 GMT) Full text and rfc822 format available.

Message #19 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: charles <at> aurox.ch (Charles A. Roelli)
To: Svend Sorensen <svend <at> svends.net>
Cc: 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1;
 Long command in shell-mode results in ^G being displayed
Date: Wed, 22 Aug 2018 21:48:14 +0200
> From: Svend Sorensen <svend <at> svends.net>
> Date: Tue, 14 Aug 2018 09:39:52 -0700
> 
> To reproduce:
> 
> emacs -Q
> 
> M-x [execute-extended-command]
> s [self-insert-command]
> h [self-insert-command]
> e [self-insert-command]
> l [self-insert-command]
> l [self-insert-command]
> <return> [minibuffer-complete-and-exit]
> t [self-insert-command]
> r [self-insert-command]
> u [self-insert-command]
> e [self-insert-command]
> SPC [self-insert-command]
> C-u [universal-argument]
> 1 [digit-argument]
> 0 [digit-argument]
> 1 [digit-argument]
> 9 [digit-argument]
> a [self-insert-command]
> <return> [comint-send-input]
> 
> Expected result:
> 
> New shell prompt displayed with no output from "true" command:
> 
> $ true aaa...
> $
> 
> Actual result:
> 
> ^G displayed, pressing enter results in ^G again.
> 
> $ true aaa...
> ^G
> ^G
> 
> 
> In GNU Emacs 26.1 (build 2, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.13.6 (Build 17G65))
>  of 2018-07-31 built on 200956
> Windowing system distributor 'Apple', version 10.3.1561

Thanks for reporting this.  It occurs for me in macOS in every version
of Emacs starting from 24.3, but not in version 23.4.  There must have
been a regression in between those two versions.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Sun, 26 Aug 2018 12:49:01 GMT) Full text and rfc822 format available.

Message #22 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: "Charles A. Roelli" <charles <at> aurox.ch>
Cc: Svend Sorensen <svend <at> svends.net>, 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1; Long command in shell-mode results in ^G being
 displayed
Date: Sun, 26 Aug 2018 13:48:09 +0100
On Wed, Aug 22, 2018 at 09:48:14PM +0200, Charles A. Roelli wrote:
> Thanks for reporting this.  It occurs for me in macOS in every version
> of Emacs starting from 24.3, but not in version 23.4.  There must have
> been a regression in between those two versions.

I can’t reproduce in either 26 or the master branch. Strange.

-- 
Alan Third




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Sun, 26 Aug 2018 15:47:02 GMT) Full text and rfc822 format available.

Message #25 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: charles <at> aurox.ch (Charles A. Roelli)
To: Alan Third <alan <at> idiocy.org>
Cc: svend <at> svends.net, 32438 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#32438: 26.1;
 Long command in shell-mode results in ^G being  displayed
Date: Sun, 26 Aug 2018 17:46:05 +0200
> Date: Sun, 26 Aug 2018 13:48:09 +0100
> From: Alan Third <alan <at> idiocy.org>
> 
> On Wed, Aug 22, 2018 at 09:48:14PM +0200, Charles A. Roelli wrote:
> > Thanks for reporting this.  It occurs for me in macOS in every version
> > of Emacs starting from 24.3, but not in version 23.4.  There must have
> > been a regression in between those two versions.
> 
> I can’t reproduce in either 26 or the master branch. Strange.

Odd.

On this box, the behavior traces back to the following commit.

  commit 2b0a91e78f83fb446cc38efb99399e83ad2cded3
  Author: Stefan Monnier <monnier <at> iro.umontreal.ca>
  Date:   Mon Apr 12 22:07:48 2010 -0400

      Try to solve the problem of spurious EOF chars in long lines of text
      sent to interactive subprocesses.
      * sysdep.c (child_setup_tty): Do not enable ICANON any more.
      (system_process_attributes): Remove unused var `ttotal'.
      * process.c (send_process): Don't bother breaking long line with EOF
      chars when talking to ttys any more.
      (wait_reading_process_output): Output a warning when called in such
      a way that it could block without being interruptible.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Sat, 06 Feb 2021 08:45:02 GMT) Full text and rfc822 format available.

Message #28 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: 吴锐扬 <ywwry66 <at> gmail.com>
To: 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1; Long command in shell-mode results in ^G being 
 displayed
Date: Fri, 5 Feb 2021 22:20:56 -0700
Hi there,

I just want to follow up on this bug since it has been around for a while. Although I cannot reproduce this bug with the steps described in the original bug report, it definitely exists and can be reproduced in a clearer way: https://emacs.stackexchange.com/questions/40603/process-input-seems-buggy-in-emacs-on-os-x
I personally encountered this in ESS inferior R buffer: https://github.com/emacs-ess/ESS/issues/1093

I have tested this under macOS Catalina and Big Sur with master branch Emacs and Yamamoto’s Emacs Mac Port. This bug can always be reproduced. I also tried on an m1 arm MacBook, and it is still there so it has nothing to do with architecture.

Hopefully this can help you identify the issue.

Ruiyang



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Sat, 06 Feb 2021 10:01:02 GMT) Full text and rfc822 format available.

Message #31 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 吴锐扬 <ywwry66 <at> gmail.com>
Cc: 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1;
 Long command in shell-mode results in ^G being  displayed
Date: Sat, 06 Feb 2021 12:00:26 +0200
> From: 吴锐扬 <ywwry66 <at> gmail.com>
> Date: Fri, 5 Feb 2021 22:20:56 -0700
> 
> I just want to follow up on this bug since it has been around for a while. Although I cannot reproduce this bug with the steps described in the original bug report, it definitely exists and can be reproduced in a clearer way: https://emacs.stackexchange.com/questions/40603/process-input-seems-buggy-in-emacs-on-os-x
> I personally encountered this in ESS inferior R buffer: https://github.com/emacs-ess/ESS/issues/1093
> 
> I have tested this under macOS Catalina and Big Sur with master branch Emacs and Yamamoto’s Emacs Mac Port. This bug can always be reproduced. I also tried on an m1 arm MacBook, and it is still there so it has nothing to do with architecture.
> 
> Hopefully this can help you identify the issue.

Didn't Andreas already identify it in

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32438#13

?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32438; Package emacs. (Sat, 06 Feb 2021 19:45:02 GMT) Full text and rfc822 format available.

Message #34 received at 32438 <at> debbugs.gnu.org (full text, mbox):

From: 吴锐扬 <ywwry66 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32438 <at> debbugs.gnu.org
Subject: Re: bug#32438: 26.1; Long command in shell-mode results in ^G being 
 displayed
Date: Sat, 6 Feb 2021 12:44:08 -0700
Oh I thought that was not conclusive, as the bug is not labeled as “confirmed” in the bug tracker. But anyways, I just wanted to add some extra info, useful or not, especially the testing on the m1 chip Mac. Thanks.

Ruiyang

> On Feb 6, 2021, at 3:00 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> From: 吴锐扬 <ywwry66 <at> gmail.com>
>> Date: Fri, 5 Feb 2021 22:20:56 -0700
>> 
>> I just want to follow up on this bug since it has been around for a while. Although I cannot reproduce this bug with the steps described in the original bug report, it definitely exists and can be reproduced in a clearer way: https://emacs.stackexchange.com/questions/40603/process-input-seems-buggy-in-emacs-on-os-x
>> I personally encountered this in ESS inferior R buffer: https://github.com/emacs-ess/ESS/issues/1093
>> 
>> I have tested this under macOS Catalina and Big Sur with master branch Emacs and Yamamoto’s Emacs Mac Port. This bug can always be reproduced. I also tried on an m1 arm MacBook, and it is still there so it has nothing to do with architecture.
>> 
>> Hopefully this can help you identify the issue.
> 
> Didn't Andreas already identify it in
> 
>  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32438#13
> 
> ?





This bug report was last modified 4 years and 134 days ago.

Previous Next


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