From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ed Reingold Newsgroups: gmane.emacs.devel Subject: Re: crash in display, triggered by calendar Date: Tue, 06 Aug 2002 09:51:42 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200208061451.g76EphY20584@emr.cs.iit.edu> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028645489 5298 127.0.0.1 (6 Aug 2002 14:51:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2002 14:51:29 +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 17c5gG-0001NL-00 for ; Tue, 06 Aug 2002 16:51:28 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17c61Q-0001Dk-00 for ; Tue, 06 Aug 2002 17:13:20 +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 17c5gt-00033L-00; Tue, 06 Aug 2002 10:52:07 -0400 Original-Received: from charlie.cns.iit.edu ([216.47.143.70]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17c5gW-00030t-00 for ; Tue, 06 Aug 2002 10:51:45 -0400 Original-Received: from emr.cs.iit.edu (emr.cs.iit.edu [216.47.142.126]) by charlie.cns.iit.edu (8.11.5/8.11.5) with ESMTP id g76Emgf9121501; Tue, 6 Aug 2002 09:48:42 -0500 (CDT) Original-Received: from emr.cs.iit.edu (localhost [127.0.0.1]) by emr.cs.iit.edu (8.10.2+Sun/8.10.2) with ESMTP id g76EphY20584; Tue, 6 Aug 2002 09:51:43 -0500 (CDT) X-Mailer: exmh version 2.5 02/08/2002 with nmh-1.0.4 Original-To: Alan Shutko In-Reply-To: Message from Alan Shutko of "Tue, 06 Aug 2002 10:38:46 EDT." <87r8hccart.fsf@wesley.springies.com> 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:6312 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6312 > 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 thought I protected it when the buffer was read only. What did I miss? > I can replicate the crash, so I'll see if I can figure out why it's > happening. That would be great! > > 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? I have always thought that warnings are just that: warnings to be careful, NOT bugs. In this case, the warnings are meaningless, so I think the defvars are meaningless too. I don't object if somebody adds them, but I wouldn't bother.