From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29918: 26.0.90; serial-term error in process filter Date: Thu, 18 Jul 2019 14:33:57 +0300 Message-ID: <83d0i7y3tm.fsf@gnu.org> References: <87y3liwr80.fsf@runbox.com> <87d0icy03x.fsf@mouse.gnus.org> <87sgr7ottd.fsf@runbox.com> <87ims19bbo.fsf@mouse.gnus.org> <87a7dczyd9.fsf@gmail.com> <83pnm7ybmf.fsf@gnu.org> <874l3jzixp.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="187938"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 29918@debbugs.gnu.org, gazally@runbox.com, larsi@gnus.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 18 13:35:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ho4go-000mh0-H9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jul 2019 13:35:10 +0200 Original-Received: from localhost ([::1]:36638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho4gn-00071U-5O for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jul 2019 07:35:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52625) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho4gj-0006yd-5p for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 07:35:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho4gi-0003g8-6V for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 07:35:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ho4gg-0003dt-1K for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 07:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ho4gf-00045d-Rt for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 07:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jul 2019 11:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29918 X-GNU-PR-Package: emacs Original-Received: via spool by 29918-submit@debbugs.gnu.org id=B29918.156344966015662 (code B ref 29918); Thu, 18 Jul 2019 11:35:01 +0000 Original-Received: (at 29918) by debbugs.gnu.org; 18 Jul 2019 11:34:20 +0000 Original-Received: from localhost ([127.0.0.1]:53515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho4fz-00044Y-O4 for submit@debbugs.gnu.org; Thu, 18 Jul 2019 07:34:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho4fx-00044L-Gg for 29918@debbugs.gnu.org; Thu, 18 Jul 2019 07:34:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ho4fl-00037j-FS; Thu, 18 Jul 2019 07:34:07 -0400 Original-Received: from [176.228.60.248] (port=4056 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ho4fk-0004yJ-QB; Thu, 18 Jul 2019 07:34:05 -0400 In-reply-to: <874l3jzixp.fsf@gmail.com> (message from Noam Postavsky on Thu, 18 Jul 2019 07:22:10 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163291 Archived-At: > From: Noam Postavsky > Cc: 29918@debbugs.gnu.org, gazally@runbox.com, larsi@gnus.org > Date: Thu, 18 Jul 2019 07:22:10 -0400 > > >> there is a possibility it prevents correct decoding in case the > >> terminal receives a utf-8 character in single byte chunks (though > >> I'm not sure if it's even valid for a program to emit single bytes > >> like that). > > > > I agree. > > I thought of limiting partial to 4, to avoid this possibility, since > utf-8 characters can be 4 bytes at most (not sure about other encodings > though). I don't understand why limit, if we assume that no program will write UTF-8 encoded sequences byte-byte. What am I missing? In general, I'd prefer the simplest fix, as this is going to be pushed to the release branch, yes?