Am 26.11.2007 um 09:50 schrieb Adrian Robert:

> after this and a full day SourceForge outage I've replaced the rc3
> dmg and source tarball

Soon another update will become necessary! Right now the CVS code of  
GNU Emacsen 23.0.50 and 23.0.60 is faulty in calendar. When choosing  
a list of holidays for some year from Holidays menu you either get:

        Debugger entered--Lisp error: (void-function holiday-list)
          (holiday-list (+ displayed-year -5))
          menu-function-1()
          call-interactively(menu-function-1)

or you *always* get the list of holidays from 2002 ... The following  
patch seems to correct the latter failure in GNU Emacs 22.0.50, but  
not yet in 23.0.60:

*** cal-menu.el.~1.76.~ 2007-11-21 23:17:17.000000000 -0500
--- cal-menu.el 2007-11-24 14:38:15.000000000 -0500
***************
*** 95,107 ****
       ,@(let ((l ()))
           ;; Show 11 years--5 before, 5 after year of middle month.
           (dotimes (i 11)
!           (push (vector "For Year"
!                         `(lambda ()
!                            (interactive)
!                            (holiday-list (+ displayed-year ,(- i 5))
!                                          (+ displayed-year ,(- i 5))))
!                         :suffix `(number-to-string (+ displayed- 
year ,(- i 5))))
!                 l))
           (nreverse l))
       "--"
       ["Unmark Calendar" calendar-unmark]
--- 95,105 ----
       ,@(let ((l ()))
           ;; Show 11 years--5 before, 5 after year of middle month.
           (dotimes (i 11)
!         (let ((y (+ 2007 -5 i)))
!           (push (vector (format "For Year %s" y)
!                         (list (list 'lambda 'nil '(interactive)
!                                     (list 'list-holidays y y))))
!                 l)))
           (nreverse l))
       "--"
       ["Unmark Calendar" calendar-unmark]

--
Greetings

   Pete

Who the fsck is "General Failure," and why is he reading my disk?



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to