From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40407: [PATCH] slow ENCODE_FILE and DECODE_FILE Date: Thu, 16 Apr 2020 16:44:07 +0300 Message-ID: <83k12feeag.fsf@gnu.org> References: <87mu7b60dy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50755"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40407@debbugs.gnu.org, mattiase@acm.org, hirofumi@mail.parknet.co.jp To: handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 16 15:45:21 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 1jP4pP-000Ctf-OE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 15:45:15 +0200 Original-Received: from localhost ([::1]:34462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP4pO-000819-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 09:45:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35074) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP4pC-0007zh-QT for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 09:45:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP4pB-0006gW-RM for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 09:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP4pB-0006gS-OY for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 09:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jP4pB-000097-Mp for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 09:45: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, 16 Apr 2020 13:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40407 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40407-submit@debbugs.gnu.org id=B40407.1587044670510 (code B ref 40407); Thu, 16 Apr 2020 13:45:01 +0000 Original-Received: (at 40407) by debbugs.gnu.org; 16 Apr 2020 13:44:30 +0000 Original-Received: from localhost ([127.0.0.1]:37751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP4og-000089-GW for submit@debbugs.gnu.org; Thu, 16 Apr 2020 09:44:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP4of-00007y-2f for 40407@debbugs.gnu.org; Thu, 16 Apr 2020 09:44:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jP4oY-0006U3-UL; Thu, 16 Apr 2020 09:44:22 -0400 Original-Received: from [176.228.60.248] (port=4312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jP4oX-0007ih-UG; Thu, 16 Apr 2020 09:44:22 -0400 In-Reply-To: <87mu7b60dy.fsf@gnu.org> (message from handa on Thu, 16 Apr 2020 22:11:37 +0900) 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178450 Archived-At: > From: handa > Cc: hirofumi@mail.parknet.co.jp, mattiase@acm.org, 40407@debbugs.gnu.org, > handa@gnu.org > Date: Thu, 16 Apr 2020 22:11:37 +0900 > > > I prefer to wait for Handa-san's response, and meanwhile install the > > least disruptive change, which just fixes the one aspect that got > > broken. Call me a coward, if you wish. > > I think Mattias' patch is good. Including making the coding-type of utf-7 'charset'? I think that didn't work, see an earlier message in this discussion: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40407#107 And could you please tell more about the conditions for a coding-system to be a candidate for 'charset' coding-type? what exactly is such a coding-system supposed to do/provide/support? I don't think this is documented anywhere, and most/all of the coding-systems that have this type are simple single-byte encodings that support just 256 codepoints (which is not what utf-7 is). Thanks.