From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12196: 24.1.50; setting cache-long-line-scans to non-nil freezes Emacs Date: Mon, 10 Sep 2012 21:43:49 +0300 Message-ID: <837gs1lnve.fsf@gnu.org> References: <87has6ysxn.fsf@web.de> <834no4jeoa.fsf@gnu.org> <87ehmwscrt.fsf@web.de> <83ehmwh0pn.fsf@gnu.org> <87sjb9g981@ch.ristopher.com> <83oblrqwc1.fsf@gnu.org> <877gs218a3@ch.ristopher.com> <83ligikuam.fsf@gnu.org> <87mx0y9fss@ch.ristopher.com> <83d31tls6u.fsf@gnu.org> <87zk4xu6nf@ch.ristopher.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347302681 26225 80.91.229.3 (10 Sep 2012 18:44:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2012 18:44:41 +0000 (UTC) Cc: 12196@debbugs.gnu.org To: Christopher Schmidt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 10 20:44:44 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TB8yP-00080p-81 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Sep 2012 20:44:41 +0200 Original-Received: from localhost ([::1]:47879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB8yL-0007Ge-TH for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Sep 2012 14:44:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB8yE-0007GR-TP for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 14:44:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TB8yA-00054g-KD for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 14:44:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB8yA-00054b-H3 for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 14:44:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TB8yk-0008Ef-0J for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 14:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2012 18:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12196-submit@debbugs.gnu.org id=B12196.134730267131592 (code B ref 12196); Mon, 10 Sep 2012 18:45:01 +0000 Original-Received: (at 12196) by debbugs.gnu.org; 10 Sep 2012 18:44:31 +0000 Original-Received: from localhost ([127.0.0.1]:52741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TB8yA-0008DQ-NO for submit@debbugs.gnu.org; Mon, 10 Sep 2012 14:44:30 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:51612) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TB8y3-0008DD-Qe for 12196@debbugs.gnu.org; Mon, 10 Sep 2012 14:44:24 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MA500500D7PGY00@a-mtaout23.012.net.il> for 12196@debbugs.gnu.org; Mon, 10 Sep 2012 21:43:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MA50053SDCTBI70@a-mtaout23.012.net.il>; Mon, 10 Sep 2012 21:43:42 +0300 (IDT) In-reply-to: <87zk4xu6nf@ch.ristopher.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64074 Archived-At: > From: Christopher Schmidt > Cc: bug-gnu-emacs@gnu.org > Date: Mon, 10 Sep 2012 18:31:00 +0100 (BST) > > Eli Zaretskii writes: > > How about the one below? > > Still hangs right during startup with my init.el setting the default of > cache-long-line-scans to t. Hangs at the end of the buffer, as in the data you showed me? That should not happen anymore, because whenever 'start' becomes more than 'end', Emacs should break from the loop. What am I missing? > > Once again, a reproducible recipe with buffer text that causes the > > infloop would help immensely, TIA. > > With your new patch, > > emacs -q > M-: (setq-default cache-long-line-scans t) RET > C-h i > > loops indefinitely. Not here, sigh... > I can try to come up with a recipe for a vanilla trunk build and Gnus > this weekend. A recipe without Gnus would be preferred. If you can post a buffer of text which consistently causes the hang, I could use that here. By the way, what command causes the hang? Also, next time you look at the loop in a debugger, step into region_cache_forward, and type this command at GDB prompt: (gdb) call pp_cache (c) Then post here the results.