From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Shutko Newsgroups: gmane.emacs.devel Subject: Re: crash in display, triggered by calendar Date: Tue, 06 Aug 2002 10:38:46 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <87r8hccart.fsf@wesley.springies.com> References: <200208061338.g76DcRY20077@emr.cs.iit.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1028645017 3313 127.0.0.1 (6 Aug 2002 14:43:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2002 14:43:37 +0000 (UTC) Cc: 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 17c5Yd-0000rK-00 for ; Tue, 06 Aug 2002 16:43:35 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17c5tm-00016g-00 for ; Tue, 06 Aug 2002 17:05:26 +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 17c5ZD-00023m-00; Tue, 06 Aug 2002 10:44:11 -0400 Original-Received: from mta8.srv.hcvlny.cv.net ([167.206.5.23]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17c5Yc-0001yp-00 for ; Tue, 06 Aug 2002 10:43:34 -0400 Original-Received: from wesley.springies.com (ool-182f7213.dyn.optonline.net [24.47.114.19]) by mta8.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 0.8 (built Jul 12 2002)) with ESMTP id <0H0F00IACFD3MM@mta8.srv.hcvlny.cv.net> for emacs-devel@gnu.org; Tue, 06 Aug 2002 10:39:03 -0400 (EDT) Original-Received: from ats by wesley.springies.com with local (Exim 3.35 #1 (Debian)) id 17c5UM-0007Dv-00; Tue, 06 Aug 2002 10:39:10 -0400 Original-To: Ed Reingold User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Original-Lines: 23 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:6311 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6311 Sam Steingold writes: > diary always leaves ~/.diary with the leading newline that it adds, and > it has always done it. Right, although it only matters if you later edit and save the buffer. It adds the newline without marking the buffer as modified... though I don't know what it does if the buffer's read only. Seems to complain. That should be fixable. I can replicate the crash, so I'll see if I can figure out why it's happening. > PS. may I suggest that you add some defvars in diary-lib.el to avoid > compiler warnings? Hmmm... I'm not sure a good idea in all the cases. Some of the variables (diary-entries-list, or entry in sexp forms) never exist at the top level. Ed, what do you think? -- Alan Shutko - In a variety of flavors! We sought the truth where it was least obvious.