[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bootstrap from scratch
From: |
Alan Shutko |
Subject: |
Re: bootstrap from scratch |
Date: |
Thu, 05 May 2005 14:24:08 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
Alan Shutko <address@hidden> writes:
> Why does it need to use the latitude and longitude at compilation
> time? If we fix that, it doesn't matter what the default is.
So, here's the problem.
On load, appt.el calls (appt-activate 1). That activates the
appointment stuff, which loads the diary file. If the user has a
diary file with diary-sunrise-sunset in it, diary-sunrise-sunset is
called, which tries to use the latitude and longitude.
icalendar.el has (require 'appt). So, when icalendar.el is compiled,
appt is loaded and activated. Enter the problem.
Here's what I have as a possible fix. It will fix bootstrap, but it
won't fix the case if someone is interactively compiling a file which
requires appt, and doesn't have lat & long set.
2005-05-05 Alan Shutko <address@hidden>
* calendar/appt.el: Only activate appt if in an interactive
session. This stops appt from prompting during Emacs bootstrap.
--- appt.el 31 Mar 2005 08:33:46 -0600 1.57
+++ appt.el 05 May 2005 14:20:30 -0500
@@ -1,6 +1,7 @@
;;; appt.el --- appointment notification functions
-;; Copyright (C) 1989, 1990, 1994, 1998, 2004 Free Software Foundation, Inc.
+;; Copyright (C) 1989, 1990, 1994, 1998, 2004, 2005
+;; Free Software Foundation, Inc.
;; Author: Neil Mager <address@hidden>
;; Maintainer: Glenn Morris <address@hidden>
@@ -689,8 +690,8 @@
;; This is needed for backwards compatibility. Feh.
-(appt-activate 1)
-
+(if (not noninteractive)
+ (appt-activate 1))
(provide 'appt)
--
Alan Shutko <address@hidden> - I am the rocks.
Next to ingratitude, the most painful thing to bear is gratitude.
- bootstrap from scratch, Robert J. Chassell, 2005/05/04
- Re: bootstrap from scratch, Ed Reingold, 2005/05/04
- Re: bootstrap from scratch, Robert J. Chassell, 2005/05/05
- Re: bootstrap from scratch, Ed Reingold, 2005/05/05
- Re: bootstrap from scratch, Alan Shutko, 2005/05/05
- Re: bootstrap from scratch, Ed Reingold, 2005/05/05
- Re: bootstrap from scratch,
Alan Shutko <=
- Re: bootstrap from scratch, Ed Reingold, 2005/05/05
- Re: bootstrap from scratch, Glenn Morris, 2005/05/05
- org.el fix, Alan Shutko, 2005/05/05
- Re: bootstrap from scratch, Glenn Morris, 2005/05/05
- Re: bootstrap from scratch, Stefan Monnier, 2005/05/05
- Re: bootstrap from scratch, Glenn Morris, 2005/05/05
- Re: bootstrap from scratch, Kim F. Storm, 2005/05/05
- Re: bootstrap from scratch, Jason Rumney, 2005/05/05
- Re: bootstrap from scratch [is now appt activation], Marcelo Toledo, 2005/05/06
- Re: bootstrap from scratch [is now appt activation], Jason Rumney, 2005/05/06