From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Shutko Newsgroups: gmane.emacs.bugs Subject: Incorrect interactive autoloads in diary-lib.el Date: Fri, 12 Jul 2002 14:48:26 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87ele8pyth.fsf@wesley.springies.com> 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 1026500068 20915 127.0.0.1 (12 Jul 2002 18:54:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2002 18:54:28 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17T5Yh-0005Qk-00 for ; Fri, 12 Jul 2002 20:54:27 +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 17T5ZU-0002s6-00; Fri, 12 Jul 2002 14:55:16 -0400 Original-Received: from mta4.srv.hcvlny.cv.net ([167.206.5.10]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17T5YM-0002r7-00 for ; Fri, 12 Jul 2002 14:54:06 -0400 Original-Received: from wesley.springies.com (ool-182f7213.dyn.optonline.net [24.47.114.19]) by mta4.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 (built Feb 21 2002)) with ESMTP id <0GZ500MQCG913U@mta4.srv.hcvlny.cv.net> for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2002 14:48:37 -0400 (EDT) Original-Received: from ats by wesley.springies.com with local (Exim 3.35 #1 (Debian)) id 17T5T3-0004HE-00 for ; Fri, 12 Jul 2002 14:48:37 -0400 Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Original-Lines: 257 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2663 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2663 In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-03-22 on raven, modified by Debian configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The autoloads in diary-lib.el specify that the function is interactive, although it is not. Here is a patch to correct them. 2002-07-12 Alan Shutko * diary-lib.el (check-calendar-holidays, calendar-holiday-list) (diary-french-date, diary-mayan-date, diary-iso-date) (diary-julian-date, diary-astro-day-number, diary-chinese-date) (diary-islamic-date, list-islamic-diary-entries) (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern) (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha) (diary-rosh-hodesh, list-hebrew-diary-entries) (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern) (diary-coptic-date, diary-persian-date, diary-phases-of-moon) (diary-sunrise-sunset, diary-sabbath-candles): Removed interactive flag. *** /home/ats/tmp/diary-lib.el~ Fri Jul 12 14:37:07 2002 --- /home/ats/tmp/diary-lib.el Fri Jul 12 14:44:03 2002 *************** *** 88,195 **** (autoload 'check-calendar-holidays "holidays" "Check the list of holidays for any that occur on DATE. The value returned is a list of strings of relevant holiday descriptions. ! The holidays are those in the list `calendar-holidays'." ! t) (autoload 'calendar-holiday-list "holidays" "Form the list of holidays that occur on dates in the calendar window. ! The holidays are those in the list `calendar-holidays'." ! t) (autoload 'diary-french-date "cal-french" ! "French calendar equivalent of date diary entry." ! t) (autoload 'diary-mayan-date "cal-mayan" ! "Mayan calendar equivalent of date diary entry." ! t) (autoload 'diary-iso-date "cal-iso" ! "ISO calendar equivalent of date diary entry." ! t) (autoload 'diary-julian-date "cal-julian" ! "Julian calendar equivalent of date diary entry." ! t) (autoload 'diary-astro-day-number "cal-julian" ! "Astronomical (Julian) day number diary entry." ! t) (autoload 'diary-chinese-date "cal-china" ! "Chinese calendar equivalent of date diary entry." ! t) (autoload 'diary-islamic-date "cal-islam" ! "Islamic calendar equivalent of date diary entry." ! t) (autoload 'list-islamic-diary-entries "cal-islam" ! "Add any Islamic date entries from the diary file to `diary-entries-list'." ! t) (autoload 'mark-islamic-diary-entries "cal-islam" ! "Mark days in the calendar window that have Islamic date diary entries." ! t) (autoload 'mark-islamic-calendar-date-pattern "cal-islam" ! "Mark dates in calendar window that conform to Islamic date MONTH/DAY/YEAR." ! t) (autoload 'diary-hebrew-date "cal-hebrew" ! "Hebrew calendar equivalent of date diary entry." ! t) (autoload 'diary-omer "cal-hebrew" ! "Omer count diary entry." ! t) (autoload 'diary-yahrzeit "cal-hebrew" ! "Yahrzeit diary entry--entry applies if date is yahrzeit or the day before." ! t) (autoload 'diary-parasha "cal-hebrew" ! "Parasha diary entry--entry applies if date is a Saturday." ! t) (autoload 'diary-rosh-hodesh "cal-hebrew" ! "Rosh Hodesh diary entry." ! t) (autoload 'list-hebrew-diary-entries "cal-hebrew" ! "Add any Hebrew date entries from the diary file to `diary-entries-list'." ! t) (autoload 'mark-hebrew-diary-entries "cal-hebrew" ! "Mark days in the calendar window that have Hebrew date diary entries." ! t) (autoload 'mark-hebrew-calendar-date-pattern "cal-hebrew" ! "Mark dates in calendar window that conform to Hebrew date MONTH/DAY/YEAR." ! t) (autoload 'diary-coptic-date "cal-coptic" ! "Coptic calendar equivalent of date diary entry." ! t) (autoload 'diary-ethiopic-date "cal-coptic" ! "Ethiopic calendar equivalent of date diary entry." ! t) (autoload 'diary-persian-date "cal-persia" ! "Persian calendar equivalent of date diary entry." ! t) ! (autoload 'diary-phases-of-moon "lunar" "Moon phases diary entry." t) (autoload 'diary-sunrise-sunset "solar" ! "Local time of sunrise and sunset as a diary entry." ! t) (autoload 'diary-sabbath-candles "solar" "Local time of candle lighting diary entry--applies if date is a Friday. ! No diary entry if there is no sunset on that date." ! t) (defvar diary-syntax-table (copy-syntax-table (standard-syntax-table)) "The syntax table used when parsing dates in the diary file. --- 88,170 ---- (autoload 'check-calendar-holidays "holidays" "Check the list of holidays for any that occur on DATE. The value returned is a list of strings of relevant holiday descriptions. ! The holidays are those in the list `calendar-holidays'.") (autoload 'calendar-holiday-list "holidays" "Form the list of holidays that occur on dates in the calendar window. ! The holidays are those in the list `calendar-holidays'.") (autoload 'diary-french-date "cal-french" ! "French calendar equivalent of date diary entry.") (autoload 'diary-mayan-date "cal-mayan" ! "Mayan calendar equivalent of date diary entry.") (autoload 'diary-iso-date "cal-iso" ! "ISO calendar equivalent of date diary entry.") (autoload 'diary-julian-date "cal-julian" ! "Julian calendar equivalent of date diary entry.") (autoload 'diary-astro-day-number "cal-julian" ! "Astronomical (Julian) day number diary entry.") (autoload 'diary-chinese-date "cal-china" ! "Chinese calendar equivalent of date diary entry.") (autoload 'diary-islamic-date "cal-islam" ! "Islamic calendar equivalent of date diary entry.") (autoload 'list-islamic-diary-entries "cal-islam" ! "Add any Islamic date entries from the diary file to `diary-entries-list'.") (autoload 'mark-islamic-diary-entries "cal-islam" ! "Mark days in the calendar window that have Islamic date diary entries.") (autoload 'mark-islamic-calendar-date-pattern "cal-islam" ! "Mark dates in calendar window that conform to Islamic date MONTH/DAY/YEAR.") (autoload 'diary-hebrew-date "cal-hebrew" ! "Hebrew calendar equivalent of date diary entry.") (autoload 'diary-omer "cal-hebrew" ! "Omer count diary entry.") (autoload 'diary-yahrzeit "cal-hebrew" ! "Yahrzeit diary entry--entry applies if date is yahrzeit or the day before.") (autoload 'diary-parasha "cal-hebrew" ! "Parasha diary entry--entry applies if date is a Saturday.") (autoload 'diary-rosh-hodesh "cal-hebrew" ! "Rosh Hodesh diary entry.") (autoload 'list-hebrew-diary-entries "cal-hebrew" ! "Add any Hebrew date entries from the diary file to `diary-entries-list'.") (autoload 'mark-hebrew-diary-entries "cal-hebrew" ! "Mark days in the calendar window that have Hebrew date diary entries.") (autoload 'mark-hebrew-calendar-date-pattern "cal-hebrew" ! "Mark dates in calendar window that conform to Hebrew date MONTH/DAY/YEAR.") (autoload 'diary-coptic-date "cal-coptic" ! "Coptic calendar equivalent of date diary entry.") (autoload 'diary-ethiopic-date "cal-coptic" ! "Ethiopic calendar equivalent of date diary entry.") (autoload 'diary-persian-date "cal-persia" ! "Persian calendar equivalent of date diary entry.") ! (autoload 'diary-phases-of-moon "lunar" "Moon phases diary entry.") (autoload 'diary-sunrise-sunset "solar" ! "Local time of sunrise and sunset as a diary entry.") (autoload 'diary-sabbath-candles "solar" "Local time of candle lighting diary entry--applies if date is a Friday. ! No diary entry if there is no sunset on that date.") (defvar diary-syntax-table (copy-syntax-table (standard-syntax-table)) "The syntax table used when parsing dates in the diary file. Recent input: s e r 9 C-g C-x C-f c a l e M-x M-p M-p M-p M-n M-p M-p M-p C-g M-x g r e p M-p SPC C-e C-x 4 f e m l i s / c a l e d i a C-s d i a r y - f r e n c h - d a t e M-x e r e p o r t - e m Recent messages: Building cal-coptic.el Semantic directory index imenu Parsing error messages...done. Note: file is write protected Building calendar.el Semantic directory index imenu Building cal-mayan.el Semantic directory index imenu Building cal-coptic.el Semantic directory index imenu Making completion list... Mark set Mark saved where search started Loading emacsbug...done -- Alan Shutko - In a variety of flavors! In nuclear war, all men are cremated equal.