From: Glenn Morris <rgm@gnu.org>
To: 3862@emacsbugs.donarmstrong.com
Cc: Kevin Ryde <user42@zip.com.au>
Subject: bug#3862: 23.1.50; error calling `documentation' on calendar-mode
Date: Fri, 17 Jul 2009 01:12:29 -0400 [thread overview]
Message-ID: <fad47z6gg2.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <bpeisg86kw.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 16 Jul 2009 21:02:39 -0400")
Perhaps something like this is better:
*** cal-menu.el.~1.114.~ 2009-01-07 20:13:09.000000000 -0800
--- cal-menu.el 2009-07-16 22:08:54.000000000 -0700
***************
*** 202,210 ****
(defun cal-menu-set-date-title (menu)
"Convert date of last event to title suitable for MENU."
! (easy-menu-filter-return
! menu (calendar-date-string (calendar-cursor-to-date t last-input-event)
! t nil)))
(easy-menu-define cal-menu-context-mouse-menu nil
"Pop up menu for Mouse-2 for selected date in the calendar window."
--- 202,212 ----
(defun cal-menu-set-date-title (menu)
"Convert date of last event to title suitable for MENU."
! (let ((date (ignore-errors (calendar-cursor-to-date nil last-input-event))))
! (if date
! (easy-menu-filter-return menu (calendar-date-string date t nil))
! (message "Not on a date!")
! nil)))
(easy-menu-define cal-menu-context-mouse-menu nil
"Pop up menu for Mouse-2 for selected date in the calendar window."
next prev parent reply other threads:[~2009-07-17 5:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6dfxct1pan.fsf@fencepost.gnu.org>
2009-07-15 23:50 ` bug#3862: 23.1.50; error calling `documentation' on calendar-mode Kevin Ryde
2009-07-16 1:40 ` Stefan Monnier
2009-07-17 1:02 ` Glenn Morris
2009-07-17 5:12 ` Glenn Morris [this message]
2009-07-17 15:58 ` Stefan Monnier
2009-07-19 0:45 ` bug#3862: marked as done (23.1.50; error calling `documentation' on calendar-mode) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fad47z6gg2.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=3862@emacsbugs.donarmstrong.com \
--cc=user42@zip.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.