From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gerd.moellmann@t-online.de (Gerd Moellmann) Newsgroups: gmane.emacs.devel Subject: Re: [Harald.Maier.BW@t-online.de: Endless Loop with diary entries] Date: 09 Aug 2002 19:27:49 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <86y9bgx7qi.fsf@gerd.free-bsd.org> References: <200208091639.g79Gdn0N003731@santafe.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028914106 12284 127.0.0.1 (9 Aug 2002 17:28:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2002 17:28:26 +0000 (UTC) Cc: Harald.Maier.BW@t-online.de, Ed Reingold , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17dDYl-0003Bv-00 for ; Fri, 09 Aug 2002 19:28:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17dDvQ-0003UM-00 for ; Fri, 09 Aug 2002 19:51:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17dDZT-00016C-00; Fri, 09 Aug 2002 13:29:07 -0400 Original-Received: from mailout11.sul.t-online.com ([194.25.134.85]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17dDYb-00011z-00; Fri, 09 Aug 2002 13:28:13 -0400 Original-Received: from fwd07.sul.t-online.de by mailout11.sul.t-online.com with smtp id 17dDYZ-0008Kj-0E; Fri, 09 Aug 2002 19:28:11 +0200 Original-Received: from gerd.free-bsd.org (520015515780-0001@[80.130.114.171]) by fwd07.sul.t-online.com with esmtp id 17dDYV-1YC5keC; Fri, 9 Aug 2002 19:28:07 +0200 Original-Received: from gerd.free-bsd.org (localhost [127.0.0.1]) by gerd.free-bsd.org (8.12.5/8.12.5) with ESMTP id g79HS5pY002650; Fri, 9 Aug 2002 19:28:05 +0200 (CEST) (envelope-from gerd.moellmann@t-online.de) Original-Received: (from gerd@localhost) by gerd.free-bsd.org (8.12.5/8.12.5/Submit) id g79HRnqc002647; Fri, 9 Aug 2002 19:27:49 +0200 (CEST) X-Authentication-Warning: gerd.free-bsd.org: gerd set sender to gerd.moellmann@t-online.de using -f Original-To: rms@gnu.org In-Reply-To: <200208091639.g79Gdn0N003731@santafe.santafe.edu> Original-Lines: 62 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-Sender: 520015515780-0001@t-dialin.net Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6405 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6405 Richard Stallman writes: > Can you investigate this? > > From: Harald.Maier.BW@t-online.de > Subject: Endless Loop with diary entries > To: emacs-pretest-bug@gnu.org > CC: Ed Reingold , emacs-devel@gnu.org > Date: Thu, 08 Aug 2002 08:24:52 +0200 > Reply-To: Harald Maier > > This bug report will be sent to the Free Software Foundation, > not to your local site managers! > Please write in English if possible, because the Emacs maintainers > usually do not have translators to read other languages for them. > > Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > Hello all, > > I followed the discussion in the emacs-devel mailing list about the > calendar problem. On my system I figured out a similar problem that is > too related to this problem. If I execute the following lines in a > .emacs file then the current cvs emacs (see the compilation date) > hangs in a endless loop in xdisp.c. Personal, I don't think that this > problem is related to the author of the diary system. The problem > seems to be related to the changes in xdisp.c because before Aug 8 it > worked fine and I also don't have problems with emacs-21.2.90. [...] Does this patch fix it for you? (I'm about to install it, too.) Index: xdisp.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v retrieving revision 1.775 diff -c -c -r1.775 xdisp.c *** xdisp.c 3 Aug 2002 12:44:18 -0000 1.775 --- xdisp.c 9 Aug 2002 17:24:43 -0000 *************** *** 3869,3875 **** n += STRINGP (it->string) ? 0 : 1) { if (!get_next_display_element (it)) ! break; newline_found_p = it->what == IT_CHARACTER && it->c == '\n'; set_iterator_to_next (it, 0); } --- 3869,3875 ---- n += STRINGP (it->string) ? 0 : 1) { if (!get_next_display_element (it)) ! return 0; newline_found_p = it->what == IT_CHARACTER && it->c == '\n'; set_iterator_to_next (it, 0); }