unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32438: 26.1; Long command in shell-mode results in ^G being displayed
@ 2018-08-14 16:39 Svend Sorensen
  2018-08-15 12:27 ` Noam Postavsky
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Svend Sorensen @ 2018-08-14 16:39 UTC (permalink / raw)
  To: 32438

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))





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being displayed
  2018-08-14 16:39 bug#32438: 26.1; Long command in shell-mode results in ^G being displayed Svend Sorensen
@ 2018-08-15 12:27 ` Noam Postavsky
  2018-08-15 13:00   ` Andreas Schwab
  2018-08-15 15:08   ` Svend Sorensen
  2018-08-22 19:48 ` Charles A. Roelli
  2021-02-06  5:20 ` 吴锐扬
  2 siblings, 2 replies; 10+ messages in thread
From: Noam Postavsky @ 2018-08-15 12:27 UTC (permalink / raw)
  To: Svend Sorensen; +Cc: 32438

retitle 32438 [macOS] 26.1; Long command in shell-mode results in ^G being displayed
quit

Svend Sorensen <svend@svends.net> writes:

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

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






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being displayed
  2018-08-15 12:27 ` Noam Postavsky
@ 2018-08-15 13:00   ` Andreas Schwab
  2018-08-15 15:08   ` Svend Sorensen
  1 sibling, 0 replies; 10+ messages in thread
From: Andreas Schwab @ 2018-08-15 13:00 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: Svend Sorensen, 32438

On Aug 15 2018, Noam Postavsky <npostavs@gmail.com> wrote:

> retitle 32438 [macOS] 26.1; Long command in shell-mode results in ^G being displayed
> quit
>
> Svend Sorensen <svend@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@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being displayed
  2018-08-15 12:27 ` Noam Postavsky
  2018-08-15 13:00   ` Andreas Schwab
@ 2018-08-15 15:08   ` Svend Sorensen
  1 sibling, 0 replies; 10+ messages in thread
From: Svend Sorensen @ 2018-08-15 15:08 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 32438


> 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/).





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being displayed
  2018-08-14 16:39 bug#32438: 26.1; Long command in shell-mode results in ^G being displayed Svend Sorensen
  2018-08-15 12:27 ` Noam Postavsky
@ 2018-08-22 19:48 ` Charles A. Roelli
  2018-08-26 12:48   ` Alan Third
  2021-02-06  5:20 ` 吴锐扬
  2 siblings, 1 reply; 10+ messages in thread
From: Charles A. Roelli @ 2018-08-22 19:48 UTC (permalink / raw)
  To: Svend Sorensen; +Cc: 32438

> From: Svend Sorensen <svend@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.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being displayed
  2018-08-22 19:48 ` Charles A. Roelli
@ 2018-08-26 12:48   ` Alan Third
  2018-08-26 15:46     ` Charles A. Roelli
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Third @ 2018-08-26 12:48 UTC (permalink / raw)
  To: Charles A. Roelli; +Cc: Svend Sorensen, 32438

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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being  displayed
  2018-08-26 12:48   ` Alan Third
@ 2018-08-26 15:46     ` Charles A. Roelli
  0 siblings, 0 replies; 10+ messages in thread
From: Charles A. Roelli @ 2018-08-26 15:46 UTC (permalink / raw)
  To: Alan Third; +Cc: svend, 32438, monnier

> Date: Sun, 26 Aug 2018 13:48:09 +0100
> From: Alan Third <alan@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@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.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being  displayed
  2018-08-14 16:39 bug#32438: 26.1; Long command in shell-mode results in ^G being displayed Svend Sorensen
  2018-08-15 12:27 ` Noam Postavsky
  2018-08-22 19:48 ` Charles A. Roelli
@ 2021-02-06  5:20 ` 吴锐扬
  2021-02-06 10:00   ` Eli Zaretskii
  2 siblings, 1 reply; 10+ messages in thread
From: 吴锐扬 @ 2021-02-06  5:20 UTC (permalink / raw)
  To: 32438

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being  displayed
  2021-02-06  5:20 ` 吴锐扬
@ 2021-02-06 10:00   ` Eli Zaretskii
  2021-02-06 19:44     ` 吴锐扬
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2021-02-06 10:00 UTC (permalink / raw)
  To: 吴锐扬; +Cc: 32438

> From: 吴锐扬 <ywwry66@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

?





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#32438: 26.1; Long command in shell-mode results in ^G being  displayed
  2021-02-06 10:00   ` Eli Zaretskii
@ 2021-02-06 19:44     ` 吴锐扬
  0 siblings, 0 replies; 10+ messages in thread
From: 吴锐扬 @ 2021-02-06 19:44 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 32438

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@gnu.org> wrote:
> 
>> From: 吴锐扬 <ywwry66@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
> 
> ?






^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-02-06 19:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 16:39 bug#32438: 26.1; Long command in shell-mode results in ^G being displayed Svend Sorensen
2018-08-15 12:27 ` Noam Postavsky
2018-08-15 13:00   ` Andreas Schwab
2018-08-15 15:08   ` Svend Sorensen
2018-08-22 19:48 ` Charles A. Roelli
2018-08-26 12:48   ` Alan Third
2018-08-26 15:46     ` Charles A. Roelli
2021-02-06  5:20 ` 吴锐扬
2021-02-06 10:00   ` Eli Zaretskii
2021-02-06 19:44     ` 吴锐扬

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).