From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: RFC on proposal fix [Re: Crash caused by insert-file-contents, both trunk (bzr 111532) and 24.2.92 affected] Date: Thu, 17 Jan 2013 19:50:55 +0200 Message-ID: <83pq137l6o.fsf@gnu.org> References: <50F52EC0.2030309@yandex.ru> <8338y2qsyi.fsf@gnu.org> <50F593E8.2030105@yandex.ru> <83vcay8g2n.fsf@gnu.org> <50F830F6.1070805@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1358446197 6469 80.91.229.3 (17 Jan 2013 18:09:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 18:09:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 17 19:10:12 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tvtcg-0001uX-KR for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2013 18:51:30 +0100 Original-Received: from localhost ([::1]:44696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvtcQ-0004ta-4h for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2013 12:51:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvtcK-0004tS-TW for emacs-devel@gnu.org; Thu, 17 Jan 2013 12:51:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvtcG-00051d-KQ for emacs-devel@gnu.org; Thu, 17 Jan 2013 12:51:08 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:51518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvtcG-00051X-Ci for emacs-devel@gnu.org; Thu, 17 Jan 2013 12:51:04 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MGS00F006VL6D00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 17 Jan 2013 19:50:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGS00ESS6WQUPA0@a-mtaout22.012.net.il>; Thu, 17 Jan 2013 19:50:50 +0200 (IST) In-reply-to: <50F830F6.1070805@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156447 Archived-At: > Date: Thu, 17 Jan 2013 21:12:22 +0400 > From: Dmitry Antipov > CC: Eli Zaretskii > > This is what I'm testing now. I'm trying to a) read _everything_ with > internal_condition_case_1 to avoid C-g mess, b) have consistent buffer > text state after each successful read, and c) always decode all read > data to avoid redisplay crash. Can you tell which problems you found in the original code that these changes are supposed to fix?