GNU bug report logs - #33050
27.0.50; [macOS] Problem with process input with process-connection-type nil

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Mon, 15 Oct 2018 19:04:02 UTC

Severity: normal

Found in version 27.0.50

Done: Filipp Gunbin <fgunbin <at> fastmail.fm>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: charles <at> aurox.ch (Charles A. Roelli)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 33050 <at> debbugs.gnu.org, fitzsim <at> fitzsim.org, fgunbin <at> fastmail.fm, alan <at> idiocy.org
Subject: bug#33050: 27.0.50; [macOS] Problem with process input with process-connection-type nil
Date: Sun, 28 Oct 2018 20:53:55 +0100
> Date: Sun, 28 Oct 2018 18:00:49 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Does anyone recall where these "character injections" come from?  ISTR
> > that these no longer happen...  Maybe this is a reference to the code
> > deleted here:
> > 
> > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2b0a91e78f83fb446cc38efb99399e83ad2cded3
> > (as seen, e.g., in Bug#32438)
> 
> Probably.
> 
> > Also, both "process-send-region" and "process-send-string" (in master)
> > claim to split their process input if it is longer than 500
> > /characters/ (not bytes) -- but reading through the code in process.c,
> > it's not clear where (or if) this still happens.
> 
> pty_max_bytes was deleted as well, so I think you are right.

Aha, yes, pty_max_bytes was removed later after going unused for some time:

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3d082a269ece18058ed82957f8a056822b39789e

IIUC, there might be a good case for bringing it back, with respect to
Bug#6149 and Bug#32438.  At least so that we can warn users (or
prevent them from) overflowing a pty input queue.

For the doc issue, I've opened Bug#33191.




This bug report was last modified 6 years and 152 days ago.

Previous Next


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