From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25203: 25.1; crash during message, infinite recursion Date: Fri, 16 Dec 2016 12:48:05 +0200 Message-ID: <83h964880q.fsf@gnu.org> References: <83fulp9oft.fsf@gnu.org> <20161215.174857.2282423958048957975.wl@gnu.org> <83inqk8d8m.fsf@gnu.org> <20161216.100855.1654130123321007430.wl@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1481885418 23916 195.159.176.226 (16 Dec 2016 10:50:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2016 10:50:18 +0000 (UTC) Cc: htl10@users.sourceforge.net, hintak.leung@gmail.com, 25203-done@debbugs.gnu.org To: Werner LEMBERG Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 16 11:50:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHq5d-0005CH-3y for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2016 11:50:13 +0100 Original-Received: from localhost ([::1]:59743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHq5h-00079P-DO for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2016 05:50:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHq5W-00071c-MG for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 05:50:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHq5T-0000zp-Bl for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 05:50:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56454) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHq5T-0000zS-9A for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 05:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHq5T-000103-1j for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 05:50:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2016 10:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25203 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 25203@debbugs.gnu.org, eliz@gnu.org, hintak.leung@gmail.com Original-Received: via spool by 25203-done@debbugs.gnu.org id=D25203.14818853503755 (code D ref 25203); Fri, 16 Dec 2016 10:50:02 +0000 Original-Received: (at 25203-done) by debbugs.gnu.org; 16 Dec 2016 10:49:10 +0000 Original-Received: from localhost ([127.0.0.1]:43615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHq4c-0000yU-3d for submit@debbugs.gnu.org; Fri, 16 Dec 2016 05:49:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHq4a-0000yH-7C for 25203-done@debbugs.gnu.org; Fri, 16 Dec 2016 05:49:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHq4Q-0000RT-36 for 25203-done@debbugs.gnu.org; Fri, 16 Dec 2016 05:49:02 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHq4F-0000Me-N4; Fri, 16 Dec 2016 05:48:47 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2651 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cHq4E-00077L-U5; Fri, 16 Dec 2016 05:48:47 -0500 In-reply-to: <20161216.100855.1654130123321007430.wl@gnu.org> (message from Werner LEMBERG on Fri, 16 Dec 2016 10:08:55 +0100 (CET)) 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: 208.118.235.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:127087 Archived-At: > Date: Fri, 16 Dec 2016 10:08:55 +0100 (CET) > Cc: hintak.leung@gmail.com, htl10@users.sourceforge.net, > 25203@debbugs.gnu.org > From: Werner LEMBERG > > >> > In fact, any I/O that might require encoding should be completely > >> > avoided in pre-write-conversion. > >> > >> Is this documented? If yes, I've missed it. > > > > Frankly, it should be obvious: you are recursively invoking the same > > operation that is being processed by the calling function. > > Well, `cjk-coding' worked flawlessly for years. The problem was triggered by adding the 2 'message' calls, after the point where coding-system-for-write was bound to this coding-system. Without those 'message' calls, cjk-coding indeed should still work flawlessly. > > Any reasons not to close this bug report, now that all of its > > aspects have been addressed? > > Yes, please do. Done.