From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#3862: marked as done (23.1.50; error calling `documentation' on calendar-mode) Date: Sun, 19 Jul 2009 00:45:06 +0000 Message-ID: References: <6dfxct1pan.fsf@fencepost.gnu.org> <87tz1da4kx.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1247964306-26587-0" X-Trace: ger.gmane.org 1247965083 18421 80.91.229.12 (19 Jul 2009 00:58:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 00:58:03 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 19 02:57:56 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MSKix-0001Ok-Cf for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jul 2009 02:57:55 +0200 Original-Received: from localhost ([127.0.0.1]:47952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSKiw-0007EX-P3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jul 2009 20:57:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSKii-00075Z-AZ for bug-gnu-emacs@gnu.org; Sat, 18 Jul 2009 20:57:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSKid-00071h-JE for bug-gnu-emacs@gnu.org; Sat, 18 Jul 2009 20:57:39 -0400 Original-Received: from [199.232.76.173] (port=56298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSKid-00071W-DA for bug-gnu-emacs@gnu.org; Sat, 18 Jul 2009 20:57:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60196) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MSKiZ-0007vF-B0; Sat, 18 Jul 2009 20:57:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6J0vSYE028672; Sat, 18 Jul 2009 17:57:29 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6J0j6tr026652; Sat, 18 Jul 2009 17:45:06 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 3862 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29513 Archived-At: This is a multi-part message in MIME format... ------------=_1247964306-26587-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 18 Jul 2009 20:37:04 -0400 with message-id <6dfxct1pan.fsf@fencepost.gnu.org> and subject line Re: bug#3862: 23.1.50; error calling `documentation' on ca= lendar-mode has caused the Emacs bug report #3862, regarding 23.1.50; error calling `documentation' on calendar-mode to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 3862: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D3862 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1247964306-26587-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jul 2009 23:51:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6FNp63F000949 for ; Wed, 15 Jul 2009 16:51:08 -0700 Received: from mail.gnu.org ([199.232.76.166]:37865 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MREFd-0006K7-I2 for emacs-pretest-bug@gnu.org; Wed, 15 Jul 2009 19:51:05 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MREFZ-00049J-QH for emacs-pretest-bug@gnu.org; Wed, 15 Jul 2009 19:51:03 -0400 Received: from mailout1-1.pacific.net.au ([61.8.2.208]:45010 helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MREFZ-00048D-2m for emacs-pretest-bug@gnu.org; Wed, 15 Jul 2009 19:51:01 -0400 Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id EA9CA4FD1D4 for ; Thu, 16 Jul 2009 09:50:54 +1000 (EST) Received: from blah.blah (ppp29B9.dyn.pacific.net.au [61.8.41.185]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 623E88C3F for ; Thu, 16 Jul 2009 09:50:53 +1000 (EST) Received: from gg by blah.blah with local (Exim 4.69) (envelope-from ) id 1MREFC-0002Ik-Ow for emacs-pretest-bug@gnu.org; Thu, 16 Jul 2009 09:50:38 +1000 From: Kevin Ryde To: emacs-pretest-bug@gnu.org Subject: 23.1.50; error calling `documentation' on calendar-mode Date: Thu, 16 Jul 2009 09:50:38 +1000 Message-ID: <87tz1da4kx.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) In a recent cvs starting "emacs -Q" and evaluating (progn (require 'calendar) (documentation 'calendar-mode)) gets the error and backtrace below. For what it's worth it works fine from the actual calendar buffer, but I was trying in some program code where that wasn't the case. I hoped I could generally get the docs for any function from anywhere. Also incidentally I tried a condition-case around it like (condition-case nil (documentation 'calendar-mode) (error nil)) and was surprised it still went to the debugger. But maybe that's a separate problem. Debugger entered--Lisp error: (void-variable displayed-month) calendar-cursor-to-date(t 24) cal-menu-set-date-title(("--" ["Holidays" calendar-cursor-holidays] ["Mar= k date" calendar-set-mark] ["Sunrise/sunset" calendar-sunrise-sunset] ["Oth= er calendars" calendar-print-other-dates] ("Prepare LaTeX buffer" ["Daily (= 1 page)" cal-tex-cursor-day] ["Weekly (1 page)" cal-tex-cursor-week] ["Week= ly (2 pages)" cal-tex-cursor-week2] ["Weekly (other style; 1 page)" cal-tex= -cursor-week-iso] ["Weekly (yet another style; 1 page)" cal-tex-cursor-week= -monday] ["Monthly" cal-tex-cursor-month] ["Monthly (landscape)" cal-tex-cu= rsor-month-landscape] ["Yearly" cal-tex-cursor-year] ["Yearly (landscape)" = cal-tex-cursor-year-landscape] ("Filofax styles" ["Filofax Daily (one-day-p= er-page)" cal-tex-cursor-filofax-daily] ["Filofax Weekly (2-weeks-at-a-glan= ce)" cal-tex-cursor-filofax-2week] ["Filofax Weekly (week-at-a-glance)" cal= -tex-cursor-filofax-week] ["Filofax Yearly" cal-tex-cursor-filofax-year])) = ("Write HTML calendar" ["For selected month" cal-html-cursor-month] ["For s= elected year" cal-html-cursor-year]) ["Diary entries" calendar-mouse-view-d= iary-entries :keys "d"] ["Insert diary entry" diary-insert-entry] ["Other d= iary file entries" calendar-mouse-view-other-diary-entries :keys "D"])) (easy-menu-filter-return (cal-menu-set-date-title menu) "cal-menu-mouse2") (lambda (menu) (easy-menu-filter-return (cal-menu-set-date-title menu) "c= al-menu-mouse2"))(("--" ["Holidays" calendar-cursor-holidays] ["Mark date" = calendar-set-mark] ["Sunrise/sunset" calendar-sunrise-sunset] ["Other calen= dars" calendar-print-other-dates] ("Prepare LaTeX buffer" ["Daily (1 page)"= cal-tex-cursor-day] ["Weekly (1 page)" cal-tex-cursor-week] ["Weekly (2 pa= ges)" cal-tex-cursor-week2] ["Weekly (other style; 1 page)" cal-tex-cursor-= week-iso] ["Weekly (yet another style; 1 page)" cal-tex-cursor-week-monday]= ["Monthly" cal-tex-cursor-month] ["Monthly (landscape)" cal-tex-cursor-mon= th-landscape] ["Yearly" cal-tex-cursor-year] ["Yearly (landscape)" cal-tex-= cursor-year-landscape] ("Filofax styles" ["Filofax Daily (one-day-per-page)= " cal-tex-cursor-filofax-daily] ["Filofax Weekly (2-weeks-at-a-glance)" cal= -tex-cursor-filofax-2week] ["Filofax Weekly (week-at-a-glance)" cal-tex-cur= sor-filofax-week] ["Filofax Yearly" cal-tex-cursor-filofax-year])) ("Write = HTML calendar" ["For selected month" cal-html-cursor-month] ["For selected = year" cal-html-cursor-year]) ["Diary entries" calendar-mouse-view-diary-ent= ries :keys "d"] ["Insert diary entry" diary-insert-entry] ["Other diary fil= e entries" calendar-mouse-view-other-diary-entries :keys "D"])) documentation(calendar-mode) (progn (require (quote calendar)) (documentation (quote calendar-mode))) eval-region(1 63 t (lambda (ignore) (goto-char 63) (quote (progn ... ...)= ))) ; Reading at buffer position 8 apply(eval-region (1 63 t (lambda (ignore) (goto-char 63) (quote ...)))) eval-defun-2() eval-defun(nil) call-interactively(eval-defun nil nil) In GNU Emacs 23.1.50.1 (i586-pc-linux-gnu, GTK+ Version 2.16.4) of 2009-07-12 on blah.blah configured using `configure 'CFLAGS=3D-O -g' '--prefix=3D/down/emacs/b/ins= t' '--with-x-toolkit=3Dgtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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_AU value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default-enable-multibyte-characters: t ------------=_1247964306-26587-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3862-done) by emacsbugs.donarmstrong.com; 19 Jul 2009 00:37:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-8.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6J0b9wS025627 for <3862-done@emacsbugs.donarmstrong.com>; Sat, 18 Jul 2009 17:37:10 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MSKOm-0004Ry-70; Sat, 18 Jul 2009 20:37:04 -0400 From: Glenn Morris To: 3862-done@emacsbugs.donarmstrong.com Subject: Re: bug#3862: 23.1.50; error calling `documentation' on calendar-mode References: <87tz1da4kx.fsf@blah.blah> X-Spook: Vince Foster Roswell Aladdin Ansar al-Islam embassy X-Ran: (DgZvy3"c!}hMy.fZGa>iM'~7UnbOr}rez<"R#|D"J8-hDY@PfUr7`vI}h!|tPXn-u?h_j X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 18 Jul 2009 20:37:04 -0400 In-Reply-To: (Glenn Morris's message of "Fri, 17 Jul 2009 01:12:29 -0400") Message-ID: <6dfxct1pan.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from non-calendar buffers (Bug#3862). ------------=_1247964306-26587-0--