From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Sutton Newsgroups: gmane.emacs.bugs Subject: bug#43099: 28.0.50; process-send-string broken on osx Date: Sat, 29 Aug 2020 00:26:35 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000063758705adfd6a59" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21314"; mail-complaints-to="usenet@ciao.gmane.io" To: 43099@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 29 07:27:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBtOT-0005Nh-Pr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Aug 2020 07:27:14 +0200 Original-Received: from localhost ([::1]:45638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBtOS-0001CV-9n for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Aug 2020 01:27:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBtOI-0001C4-Nm for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 01:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36269) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBtOI-0001G0-EM for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 01:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBtOI-00063o-A8 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 01:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Sutton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 05:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43099 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159867881523282 (code B ref -1); Sat, 29 Aug 2020 05:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Aug 2020 05:26:55 +0000 Original-Received: from localhost ([127.0.0.1]:47816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBtOB-00063S-DH for submit@debbugs.gnu.org; Sat, 29 Aug 2020 01:26:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBtO9-00063J-F5 for submit@debbugs.gnu.org; Sat, 29 Aug 2020 01:26:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBtO9-0001BH-2x for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 01:26:53 -0400 Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:53065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBtO5-0001Bz-G0 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 01:26:52 -0400 Original-Received: by mail-wm1-x335.google.com with SMTP id q9so974473wmj.2 for ; Fri, 28 Aug 2020 22:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dpsutton-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=E6YZQ9ToK6OL2doSfu+EYWWp0kQ/fa60PtHq2AuLGlg=; b=L8pqEtuql/pRg67Yakd5nLRcE+EEGBz+UO2QfqXrh0l5YvPI7rABVZgIrWuX2qsJmz zfiLqeDzYd+PLtuWyVazzJnPEHXgsVhwr76iB1EolUsgHAJwpwRl+Dsjv2HUbbDU7GLk aKVhdRM/xL13BbdKWx5KKAt/44e10NAB4FpTuYLPN6MoK0Acgds3e6QI1lRD9tRNnYPT nTnuGKQKH7i0TmAZLQTdaByURUTOvQTtSN9eqGutpYaol6d6UQyE18gamL0jWSidqxqK qsp+r5aGZc90rbB4604DG8NlLPXSRZkdpY3dTurNgpXkaLbWCs3/HsVC05i5SBs8RFao wvQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=E6YZQ9ToK6OL2doSfu+EYWWp0kQ/fa60PtHq2AuLGlg=; b=i+0TbstZhzwr1TXKtTiXZ9ZZFS4aj/5h77Stmc1ZZvIBn6ORVVYh8OYhy82GlkGBJg 2Sxrsekq1YiPPqmQa+d65sWsFKrq6Kj0hOXSkCYlx1UXOCDaBK2TXyUrnC8KKXcNY0kR 53x+vCWDW/GI89IYpmpVBjr9mEKmPHLO72Lgm3a0WGvm7DGaekStFEF2cb0R9UKST3iF tvqFRz8Xzqs05ffWy9uuYZKx5JoLSZv1eEM7M4sOcK1hTzUcsi3XYK0S8fRIrJk7hp5W VxyxEn0LhCLtsbNJ8BdKlvIvp6hSD9u2bZMwgBPg5mLE/kAq/UxBmANd6uVbjRkeeftl dbfA== X-Gm-Message-State: AOAM533rfIzcgJmqinY9tqmyR0IPN0xrfWK9YlE97Xv03CnmataxjWFV 0BXPItfQ0uU6fPm2eFdW8s5x+zpzkhEF4XWbJVglOWxzlTsvB2H/ X-Google-Smtp-Source: ABdhPJwLzNwtQg4PR0yXaX3v87hb3ku3Q05YqLp/q/BEalHFkB1TgmPOdg9gYX9aIcRp6zUbwnSmOltKyNHJh/zJTNU= X-Received: by 2002:a1c:7e02:: with SMTP id z2mr1774234wmc.138.1598678806781; Fri, 28 Aug 2020 22:26:46 -0700 (PDT) Received-SPF: none client-ip=2a00:1450:4864:20::335; envelope-from=dan@dpsutton.com; helo=mail-wm1-x335.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186629 Archived-At: --00000000000063758705adfd6a59 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm diagnosing some issues with inf-clojure which is based on comint mode. When sending clojure forms with long docstrings, the repl would would output "^G^G^G..." quite a bit and become unresponsive. This problem is seemingly only present on OSX. I've tracked down the smallest reproduction to be the following: ``` (let ((process (start-process "testing" "*process-output*" nil))) (process-send-string process "iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiii") (stop-process process)) ``` This prints out "^G^G ..." (repeated many times) in *process-output* on OSX and prints the expected multiple "i"s on GNU/linux. A similar interesting example of buggy behavior is ``` (let ((process (start-process "testing" "*process-output*" nil))) (process-send-string process "hi") (stop-process process)) ``` On OSX this leaves the buffer empty while on GNU/Linux this prints the expected "hi". This bug seemingly affects all users of comint on OSX due to its usage of process-send-string. One can demonstrate this by trying to evaluate the preceding "iiii..." string in a scheme buffer (for example `(run-scheme "chez")`. This is also demonstrated by trying to evaluate a form like `(+ 1 1 1 ...)` which is sufficiently long. In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.6 (Build 19G73)) of 2020-08-11 built on dan-mbp.local Repository revision: 0d0aad213f941efc0fa0ec032e37dc9c2b08c9fb Repository branch: master Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.6 Recent messages: Checking 57 files in /Users/dan/projects/emacs/lisp/eshell... Checking 71 files in /Users/dan/projects/emacs/lisp/erc... Checking 34 files in /Users/dan/projects/emacs/lisp/emulation... Checking 182 files in /Users/dan/projects/emacs/lisp/emacs-lisp... Checking 24 files in /Users/dan/projects/emacs/lisp/cedet... Checking 59 files in /Users/dan/projects/emacs/lisp/calendar... Checking 87 files in /Users/dan/projects/emacs/lisp/calc... Checking 107 files in /Users/dan/projects/emacs/lisp/obsolete... Checking for load-path shadows...done Mark set Configured features: JPEG TIFF GIF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Message Minor modes in effect: recentf-mode: t global-magit-file-mode: t magit-file-mode: t magit-auto-revert-mode: t global-git-commit-mode: t mml-mode: t async-bytecomp-package-mode: t projectile-mode: t shell-dirtrack-mode: t yas-global-mode: t yas-minor-mode: t global-flycheck-mode: t flycheck-mode: t ivy-rich-mode: t ivy-mode: t global-undo-tree-mode: t undo-tree-mode: t delete-selection-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t global-company-mode: t company-mode: t which-key-mode: t minions-mode: t pixel-scroll-mode: t save-place-mode: t winner-mode: t show-paren-mode: t global-auto-revert-mode: t auto-compile-on-load-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 auto-fill-function: yas--auto-fill transient-mark-mode: t abbrev-mode: t Load-path shadows: ~/projects/dev/clojure-mode/clojure-mode hides /Users/dan/.emacs.d/elpa/clojure-mode-20200419.559/clojure-mode Features: (shadow sort mail-extr emacsbug sendmail novice cl-print apropos tabify eieio-opt speedbar ezimage dframe recentf tree-widget 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 magit-diff smerge-mode magit-core magit-autorevert magit-margin magit-transient magit-process magit-mode git-commit transient magit-git magit-section magit-utils crm log-edit message rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async loccur cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs bug-reference help-fns radix-tree crux vc-git diff-mode all-the-icons-dired smart-mode-line rich-minority projectile grep ibuf-ext ibuffer ibuffer-loaddefs company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb exec-path-from-shell ediprolog haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-complete-module haskell-ghc-support flymake-proc flymake dabbrev haskell-customize cider tramp-sh cider-debug cider-browse-ns cider-mode cider-inspector cider-completion cider-profile cider-eval cider-repl-history pulse cider-repl cider-resolve cider-test cider-overlays cider-stacktrace cider-doc cider-browse-spec cider-clojuredocs cider-eldoc cider-client cider-common etags fileloop cider-connection cider-util cider-popup sesman-browser nrepl-client tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time iso8601 ls-lisp nrepl-dict cider-compat inf-clojure thingatpt assess m-buffer m-buffer-at m-buffer-macro clojure-mode derived align imenu flycheck-clj-kondo buttercup warnings ert ewoc debug backtrace buttercup-compat sesman vc vc-dispatcher spinner queue pkg-info url-http url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-cookie url-domsuf url-util url-gw nsm rmc puny lisp-mnt epl parseedn parseclj-parser parseclj-lex a yasnippet fish-mode flycheck rainbow-delimiters paredit counsel xdg xref project swiper ivy-rich ivy ivy-faces ivy-overlay colir pcre2el rxt re-builder rx htmlize ox-reveal cl 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 ox-html table ox-ascii ox-publish ox org-element avl-tree generator org-tempo org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs tempo pdf-tools compile comint ansi-color pdf-view bookmark text-property-search pp jka-compr pdf-cache pdf-info tq pdf-util format-spec image-mode dired dired-loaddefs exif undo-tree diff browse-kill-ring delsel all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons memoize company-quickhelp pos-tip company pcase hydra lv diminish which-key brin-theme gruvbox-theme gruvbox sublime-themes kaolin-themes kaolin-themes-lib autothemer dash solarized-theme solarized solarized-faces color hl-line moody minions pixel-scroll advice saveplace winner ring paren autorevert filenotify edmacro kmacro resize-window cl-extra help-mode server auto-compile packed use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf cus-edit cus-start cus-load wid-edit info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 781232 166059) (symbols 48 49330 50) (strings 32 223936 15043) (string-bytes 1 6578514) (vectors 16 79064) (vector-slots 8 1690412 127179) (floats 8 1118 737) (intervals 56 28290 2564) (buffers 992 34)) --00000000000063758705adfd6a59 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I'm diagnosing some issues = with inf-clojure which is based on comint
= mode. When sending clojure forms with long docstrings, the repl would
would output "^G^G^G..." quite a bit = and become unresponsive. This
problem is s= eemingly only present on OSX. I've tracked down the smallest

reproduction to be the following:

```
(let ((process (start-process "testing" "*= process-output*" nil)))
= =C2=A0=C2=A0(process-send-s= tring process
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0"iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii= iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii")
=C2=A0=C2=A0(= stop-process process))
```

This prints out &quo= t;^G^G ..." (repeated many times) in *process-output* on
OSX and prints the expected multiple "i"s on = GNU/linux. A
similar interesting example o= f buggy behavior is

```
(let ((process (start= -process "testing" "*process-output*" nil)))
=C2=A0=C2=A0(process-send-string process
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0= =C2=A0"hi")
=C2=A0=C2=A0(stop-process process))
```

On OSX this leaves the buffer empty while on GNU/Linux this prints= the
expected "hi". This bug see= mingly affects all users of comint on OSX due
to its usage of process-send-string. One can demonstrate this by trying=
to evaluate the preceding "iiii...&q= uot; string in a scheme buffer (for
exampl= e `(run-scheme "chez")`. This is also demonstrated by trying to
evaluate a form like `(+ 1 1 1 ...)` which = is sufficiently long.


In GNU Emacs 28.0.50= (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.6 (Bu= ild 19G73))
of 2020-08-11 built on dan-mbp= .local
Repository revision: 0d0aad213f941e= fc0fa0ec032e37dc9c2b08c9fb
Repository bran= ch: master

Windowing system distributor &#= 39;Apple', version 10.3.1894
System De= scription:=C2=A0=C2=A0Mac OS X 10.15.6

Recent messages:
Checkin= g 57 files in /Users/dan/projects/emacs/lisp/eshell...
Checking 71 files in /Users/dan/projects/emacs/lisp/erc...

Checking 34 files in /Users/dan/projects/emac= s/lisp/emulation...
Checking 182 files in= /Users/dan/projects/emacs/lisp/emacs-lisp...
Checking 24 files in /Users/dan/projects/emacs/lisp/cedet...
Checking 59 files in /Users/dan/projects/emacs/lisp/= calendar...
Checking 87 files in /Users/da= n/projects/emacs/lisp/calc...
Checking 107= files in /Users/dan/projects/emacs/lisp/obsolete...
Checking for load-path shadows...done
Mark set

Configured features:
= JPEG TIFF = GIF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2

Importan= t settings:

=C2=A0=C2=A0value of $LANG: en_US.UTF-8
=C2=A0=C2=A0locale-coding-system: utf-8-unix

Major mode: Message<= /span>

Minor= modes in effect:
=C2=A0=C2=A0recentf-mode: t
=C2=A0=C2=A0global-magit-file-mode: t
=C2=A0=C2=A0= magit-file-mode: t
=C2=A0
=C2=A0magit-auto-revert-mode: = t
=C2=A0=C2=A0global-git-commit-mode: t
=C2=A0=C2=A0mml-mode: t
=C2= =A0= =C2=A0async-bytecomp-pac= kage-mode: t
=C2=A0=C2=A0projectile-mode: t
=C2=A0=C2=A0shell-dirtrack-mode: t
=C2=A0=C2=A0yas-g= lobal-mode: t
=C2=A0=C2=A0yas-minor-mode: t
=C2=A0=C2=A0global-flycheck-mode: t
=C2=A0=C2=A0fl= ycheck-mode: t
=C2=A0=C2=A0ivy-rich-mode: t
=C2=A0=C2=A0ivy-mode: t
= =C2=A0=C2=A0global-undo-tre= e-mode: t
=C2=A0=C2=A0undo-tree-mode: t
=C2=A0=C2=A0delete-selection-mode: t
=C2=A0=C2=A0compa= ny-quickhelp-mode: t
=C2=A0
=C2=A0company-quickhelp-local-= mode: t
=C2=A0=C2=A0global-company-mode: t
=C2=A0=C2=A0company-mode: t
= =C2=A0which-key-mod= e: t
=C2=A0=C2=A0minions-mode: t
=C2=A0=C2=A0= pixel-scroll-mode: t
= =C2=A0=C2=A0save-place-mode= : t
=C2=A0=C2=A0winner-mode: t
=C2=A0=C2=A0<= /span>show-paren-mode: t
=C2= =A0= =C2=A0global-auto-revert= -mode: t
=C2=A0=C2=A0auto-compile-on-load-mode: t<= br style=3D"color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-styl= e:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;= text-align:start;text-indent:0px;text-transform:none;white-space:normal;wor= d-spacing:0px;text-decoration:none">=C2=A0=C2=A0override-global-mode: t
=C2=A0=C2=A0
tooltip-mode: t
=C2=A0
=C2=A0global-eldoc-mode: t=
=C2=A0=C2=A0electric-indent-mode: t
=C2=A0=C2=A0mouse-wheel-mode: t
=C2=A0<= /span>=C2=A0menu-bar-mode: t
=C2=A0=C2=A0file-name-shadow-mode: t
=C2=A0=C2=A0global-font-lock-mode: t
= =C2=A0
=C2=A0font-lock-mode:= t
=C2=A0=C2=A0blink-cursor-mode: t
=C2=A0=C2= =A0auto-composition-mode: t
=C2=A0=C2=A0auto-encry= ption-mode: t
=C2=A0=C2=A0auto-compression-mode: t
=C2=A0=C2=A0line-number-mode: t
=C2=A0=C2=A0auto-fill-function: yas--auto-fill
=C2=A0=C2=A0transient= -mark-mode: t
=C2=A0=C2=A0abbrev-mode: t


Load-path shadows:<= /span>
~/projects/dev/clojure-mode/clojure-mode h= ides /Users/dan/.emacs.d/elpa/clojure-mode-20200419.559/clojure-mode=

<= span style=3D"color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-st= yle:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:norma= l;text-align:start;text-indent:0px;text-transform:none;white-space:normal;w= ord-spacing:0px;text-decoration:none;display:inline;float:none">Features:
(shadow sort mail-extr emacsbug sendmail no= vice cl-print apropos tabify
eieio-opt spe= edbar ezimage dframe recentf tree-widget 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-re= fs magit-status
magit magit-repos magit-ap= ply magit-wip magit-log which-func magit-diff
smerge-mode magit-core magit-autorevert magit-margin magit-transient
magit-process magit-mode git-commit transien= t magit-git magit-section
magit-utils crm = log-edit message rfc822 mml mml-sec epa epg epg-config
gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode m= ailabbrev
mail-utils gmm-utils mailheader = pcvs-util add-log with-editor
async-byteco= mp async loccur cc-mode cc-fonts cc-guess cc-menus cc-cmds

cc-styles cc-align cc-engine cc-vars cc-defs bug-referenc= e help-fns
radix-tree crux vc-git diff-mod= e all-the-icons-dired smart-mode-line
rich= -minority projectile grep ibuf-ext ibuffer ibuffer-loaddefs
company-oddmuse company-keywords company-etags company-gt= ags
company-dabbrev-code company-dabbrev c= ompany-files company-capf
company-cmake co= mpany-xcode company-clang company-semantic company-eclim
company-template company-bbdb exec-path-from-shell ediprolog=
haskell-mode haskell-cabal haskell-utils = haskell-font-lock
haskell-indentation hask= ell-string haskell-sort-imports haskell-lexeme
haskell-align-imports haskell-complete-module haskell-ghc-support
flymake-proc flymake dabbrev haskell-customize= cider tramp-sh
cider-debug cider-browse-n= s cider-mode cider-inspector cider-completion
cider-profile cider-eval cider-repl-history pulse cider-repl
cider-resolve cider-test cider-overlays cider-stackt= race cider-doc
cider-browse-spec cider-clo= juredocs cider-eldoc cider-client
cider-co= mmon etags fileloop cider-connection cider-util cider-popup

sesman-browser nrepl-client tramp tramp-loaddefs trampver=
tramp-integration files-x tramp-compat sh= ell parse-time iso8601 ls-lisp
<= span style=3D"color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-st= yle:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:norma= l;text-align:start;text-indent:0px;text-transform:none;white-space:normal;w= ord-spacing:0px;text-decoration:none;display:inline;float:none">nrepl-dict = cider-compat inf-clojure thingatpt assess m-buffer

m-buffer-at m-buffer-macro clojure-mode derived align imenu=
flycheck-clj-kondo buttercup warnings ert ewoc d= ebug backtrace
buttercup-compat sesman vc = vc-dispatcher spinner queue pkg-info url-http
url url-proxy url-privacy url-expand url-methods url-history mailcap
url-auth mail-parse rfc2231 rfc2047 rfc2045 = mm-util ietf-drums
mail-prsvr url-cookie= url-domsuf url-util url-gw nsm rmc puny lisp-mnt
epl parseedn parseclj-parser parseclj-lex a yasnippet fish-mode fly= check
rainbow-delimiters paredit counsel x= dg xref project swiper ivy-rich ivy
ivy-fa= ces ivy-overlay colir pcre2el rxt re-builder rx htmlize ox-revealcl ox-odt rng-loc rng-uri rng-parse rng-match rng-d= t rng-util rng-pttrn
nxml-parse nxml-ns nx= ml-enc xmltok nxml-util ox-latex ox-icalendar
ox-html table ox-ascii ox-publish ox org-element avl-tree generator
org-tempo org ob ob-tangle ob-ref ob-lob ob-t= able ob-exp org-macro
org-footnote org-src= ob-comint org-pcomplete pcomplete org-list
ob-emacs-lisp ob-core ob-eval org-table ol org-keys o= rg-compat org-macs
org-loaddefs find-fun= c cal-menu calendar cal-loaddefs tempo pdf-tools
compile comint ansi-color pdf-view bookmark text-property-search pp<= /span>
jka-compr pdf-cache pdf-info tq pdf-util f= ormat-spec image-mode dired
dired-loaddefs= exif undo-tree diff browse-kill-ring delsel all-the-icons

all-the-icons-faces data-material data-weathericons data-= octicons
data-fileicons data-faicons data-= alltheicons memoize company-quickhelp
pos-= tip company pcase hydra lv diminish which-key brin-theme
gruvbox-theme gruvbox sublime-themes kaolin-themes kaolin-th= emes-lib
autothemer dash solarized-theme s= olarized solarized-faces color hl-line
moo= dy minions pixel-scroll advice saveplace winner ring paren autorevert
filenotify edmacro kmacro resize-window cl-extr= a help-mode server
auto-compile packed u= se-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core finder-inf cus-edit cus-start = cus-load wid-edit info
package easymenu br= owse-url url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x= map
url-vars seq byte-opt gv bytecomp byt= e-compile cconv cl-loaddefs cl-lib
tooltip= eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/ns-win ns-win ucs-normalize mule-util term/c= ommon-win
tool-bar dnd fontset image regex= p-opt fringe tabulated-list replace
newcom= ment text-mode elisp-mode lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearch timer select scroll-= bar mouse
jit-lock font-lock syntax faceme= nu font-core term/tty-colors frame
minibuf= fer cl-generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp519= 32 hebrew greek
romanian slovak czech euro= pean ethiopic indian cyrillic chinese
comp= osite charscript charprop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray 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=
threads kqueue cocoa ns lcms2 multi-tty make-net= work-process emacs)

Memory information:
((conse= s 16 781232 166059)
(symbols 48 49330 50)=
(strings 32 223936 15043)
(string-bytes 1 6578514)
(vectors 16 79064)
(vector-slots 8 16904= 12 127179)
(floats 8 1118 737)
(intervals 56 28290 2564)
(buffers 992 34))
--00000000000063758705adfd6a59--