From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: crash in display, triggered by calendar Date: 06 Aug 2002 10:05:48 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200208061338.g76DcRY20077@emr.cs.iit.edu> Reply-To: sds@gnu.org NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028642728 27779 127.0.0.1 (6 Aug 2002 14:05:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2002 14:05:28 +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 17c4xj-0007Dw-00 for ; Tue, 06 Aug 2002 16:05:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17c5Is-0000BO-00 for ; Tue, 06 Aug 2002 16:27:18 +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 17c4yL-0005Xt-00; Tue, 06 Aug 2002 10:06:05 -0400 Original-Received: from h024.c001.snv.cp.net ([209.228.32.139] helo=c001.snv.cp.net) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17c4y7-0005Tv-00 for ; Tue, 06 Aug 2002 10:05:51 -0400 Original-Received: (cpmta 15498 invoked from network); 6 Aug 2002 07:05:50 -0700 Original-Received: from 65.114.186.226 (HELO glip.premonitia.com) by smtp.premonitia.com (209.228.32.139) with SMTP; 6 Aug 2002 07:05:50 -0700 X-Sent: 6 Aug 2002 14:05:50 GMT Original-To: Ed Reingold X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never In-Reply-To: <200208061338.g76DcRY20077@emr.cs.iit.edu> Original-Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:6310 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6310 > * In message <200208061338.g76DcRY20077@emr.cs.iit.edu> > * On the subject of "Re: crash in display, triggered by calendar " > * Sent on Tue, 06 Aug 2002 08:38:27 -0500 > * Honorable Ed Reingold writes: > > The diary processing code does NOT require that diary-file be writable > or start with a newline. At least it is not supposed to. However, if > the file does not begin and end with newlines they MUST be added or > the simple diary display mechanism (selective display) cannot work; > but this is done in a protected way, however (at least I thought it > was). diary always leaves ~/.diary with the leading newline that it adds, and it has always done it. > By the way, if I had my druthers, there would be no simple diary > display, only the fancy one, and the problem would not exist. The > simple display is and has always been a problem; I added it at RMS's > insistence. I suggest that you remove it. RMS reads this list - I hope he will withdraw his insistence. At any rate, these are two separate issues: the redisplay crash and the newline in diary. PS. may I suggest that you add some defvars in diary-lib.el to avoid compiler warnings? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux God had a deadline, so He wrote it all in Lisp.