1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

116 Commits

Author SHA1 Message Date
Glenn Morris
912b78ddda (cal-menu-scroll-menu): Remove entries that don't scroll the calendar. 2009-01-08 04:13:28 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Dan Nicolaescu
d46b521475 (cal-menu-scroll-menu): Add bindings for
week forward/backward.
2008-11-20 18:14:10 +00:00
Glenn Morris
f2d9c15f59 Add declarations for builds without X. 2008-08-11 01:23:07 +00:00
Glenn Morris
d88acfe1d5 (cal-menu-sunmoon-menu, cal-menu-global-mouse-menu): Update for lunar
name changes.
2008-06-27 00:38:43 +00:00
Glenn Morris
70e420e303 (cal-menu-sunmoon-menu): Rename from cal-menu-moon-menu. Add
calendar-sunrise-sunset-month.
(cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.

(cal-menu-goto-menu): Tweak menu name.
2008-06-26 22:29:15 +00:00
Glenn Morris
7ec4149077 (calendar-check-holidays): Declare rather than autoloading.
(diary-show-holidays-flag): Remove unneeded declaration.
2008-06-26 07:16:38 +00:00
Glenn Morris
2eff62d6fa (cal-menu-moon-menu): Add sunrise/sunset. 2008-06-26 07:06:27 +00:00
Glenn Morris
8da2243fe5 (cal-menu-context-mouse-menu): Add some :keys. 2008-06-26 05:02:04 +00:00
Glenn Morris
cb9069371d (calendar-mouse-holidays): Remove function.
(cal-menu-context-mouse-menu): Use calendar-cursor-holidays.
2008-06-26 04:54:12 +00:00
Glenn Morris
0fa9d7e26c (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
(cal-menu-goto-menu, cal-menu-scroll-menu): Add doc strings.

(calendar-mouse-print-dates): Remove function.
(cal-menu-context-mouse-menu): Use calendar-print-other-dates.
2008-06-26 03:42:12 +00:00
Glenn Morris
df59aa7bc8 (cal-menu-holidays-menu): Use calendar-cursor-holidays rather than
cal-menu-today-holidays.
(cal-menu-today-holidays): Remove function.

(cal-menu-holiday-window-suffix): Simplify.
(cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
(cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
Remove unused functions.
(calendar-mouse-view-diary-entries): Use format rather than concat.

(cal-menu-x-popup-menu): Turn it into a macro.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.

(cal-menu-event-to-date): Remove function.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
(cal-menu-set-date-title): Use calendar-cursor-to-date rather than
cal-menu-event-to-date.

(calendar-mouse-tex-day, calendar-mouse-tex-week, calendar-mouse-tex-week2)
(calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
(calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
(calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
(calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
(calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
Remove functions.
(cal-menu-context-mouse-menu): Replace the above functions with the
cal-tex versions.  Add HTML submenu.
2008-06-18 02:56:39 +00:00
Stefan Monnier
10979c7466 * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
(calendar-set-mark):
* calendar/diary-lib.el (diary-insert-entry):
* calendar/solar.el (calendar-sunrise-sunset): Use it.
* calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
(calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
(cal-menu-context-mouse-menu): Use calendar-set-mark, diary-insert-entry,
and calendar-sunrise-sunset instead, to get proper key-shortcuts.
2008-06-17 15:42:19 +00:00
Glenn Morris
a02717ccd4 (calendar-mouse-view-diary-entries): Use LIST-ONLY argument of
diary-list-entries rather than setting diary-display-hook.
2008-05-30 02:59:21 +00:00
Glenn Morris
2ed665755b Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:07:58 +00:00
Glenn Morris
378d60452f (cal-menu-diary-menu): Fix typo.
(cal-menu-scroll-menu): Use commands rather than key macros, which don't
work with easymenu.  Add :keys where needed.
2008-04-24 05:44:38 +00:00
Glenn Morris
0e408f0cc5 (cal-menu-event-to-date): Rename calendar-event-to-date. Update callers.
(calendar-mouse-tex-day): Rename cal-tex-mouse-day.
(calendar-mouse-tex-week): Rename cal-tex-mouse-week.
(calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
(calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
(calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
(calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
(calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
(calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
(calendar-mouse-tex-month): Rename cal-tex-mouse-month.
(calendar-mouse-tex-month-landscape): Rename cal-tex-mouse-month-landscape.
(calendar-mouse-tex-year): Rename cal-tex-mouse-year.
(calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
(calendar-mouse-tex-year-landscape): Rename cal-tex-mouse-year-landscape.
(cal-menu-context-mouse-menu): Update for above name changes.
2008-04-08 07:04:17 +00:00
Glenn Morris
e803eab777 Update for calendar.el name changes. 2008-04-07 01:59:37 +00:00
Glenn Morris
9ee4e58104 Update for diary-lib name changes. 2008-04-06 20:54:25 +00:00
Glenn Morris
7e25454801 Update for chinese and hebrew name changes. 2008-04-05 20:59:44 +00:00
Glenn Morris
06bfc9822a Update for coptic and french name changes. 2008-04-05 19:16:40 +00:00
Glenn Morris
c2bfc7e393 Update for iso, islamic, julian, mayan, persian name changes. 2008-04-04 07:34:56 +00:00
Glenn Morris
714b503452 (Commentary): Point to calendar.el.
(cal-menu-holidays-menu):  Use calendar-mark-holidays rather than
obsolete alias.
2008-04-01 02:42:35 +00:00
Glenn Morris
fdbe82c9af (cal-menu-holidays-menu, cal-menu-list-holidays-year)
(cal-menu-list-holidays-following-year, cal-menu-list-holidays-previous-year):
Simplify now that 2nd arg of holiday-list is optional.
(calendar-mouse-holidays): Remove un-needed local `l'.
2008-03-28 02:45:39 +00:00
Glenn Morris
7ff651d07a Require calendar rather than declaring functions.
(cal-menu-diary-menu): Remove menu headings that cause cal-bahai,
cal-islam, cal-hebrew to be loaded on starting the calendar.
2008-03-26 03:11:38 +00:00
Glenn Morris
f328a783dc (calendar-other-dates): Declare it, and removes the declarations it replaces.
(calendar-mouse-print-dates): Use calendar-other-dates.
(calendar-mouse-holidays): Re-use the title.
(calendar-mouse-view-diary-entries): Use or.
(calendar-mouse-chinese-date): Remove unused command.
(cal-menu-load-hook): Mark as obsolete.
2008-03-20 04:46:51 +00:00
Glenn Morris
965c889906 (cal-menu-goto-menu): Use "Go To". 2008-03-15 02:57:13 +00:00
Glenn Morris
6cd61ebd91 (displayed-year): Move declaration where needed.
(calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso): Doc fix.
(calendar-mouse-goto-date): Move definition before use.
2008-03-14 03:18:20 +00:00
Glenn Morris
71ea27eeac Whitespace only. 2008-03-13 06:29:28 +00:00
Glenn Morris
5bbcf60332 (cal-menu-holiday-window-suffix)
(cal-menu-x-popup-menu, calendar-mouse-holidays)
(calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
(calendar-mouse-goto-date): Doc fixes.
(cal-menu-set-date-title): Move definition before use.
2008-03-08 21:05:13 +00:00
Glenn Morris
f7ae31df1d (holidays-in-diary-buffer): Declare for compiler. 2008-03-07 04:45:09 +00:00
Stefan Monnier
29ca115fea (cal-menu-holidays-menu): Comment update. 2008-01-15 22:36:18 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Glenn Morris
225ccf92ab (calendar-increment-month)
(calendar-month-name, extract-calendar-year)
(calendar-cursor-to-date, holiday-list, calendar-sunrise-sunset)
(calendar-current-date, calendar-cursor-holidays)
(calendar-date-string, insert-diary-entry, calendar-set-mark)
(cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2)
(cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
(cal-tex-cursor-filofax-daily, cal-tex-cursor-filofax-2week)
(cal-tex-cursor-filofax-week, cal-tex-cursor-month)
(cal-tex-cursor-month-landscape, cal-tex-cursor-year)
(cal-tex-cursor-filofax-year, cal-tex-cursor-year-landscape)
(calendar-day-of-year-string, calendar-iso-date-string)
(calendar-julian-date-string, calendar-astro-date-string)
(calendar-absolute-from-gregorian, calendar-hebrew-date-string)
(calendar-persian-date-string, calendar-bahai-date-string)
(calendar-islamic-date-string, calendar-chinese-date-string)
(calendar-coptic-date-string, calendar-ethiopic-date-string)
(calendar-french-date-string, calendar-mayan-date-string)
(calendar-print-chinese-date, calendar-goto-date):
Declare as functions.
2007-11-27 08:36:25 +00:00
Glenn Morris
f086f60952 Comment. 2007-11-27 04:14:33 +00:00
Glenn Morris
60806b7399 (cal-menu-holidays-menu): Use :label rather than :suffix. 2007-11-26 07:28:37 +00:00
Glenn Morris
771e188293 Revert previous commit, made without ChangeLog entry. 2007-11-25 02:49:38 +00:00
Mark A. Hershberger
f860383bed Fix holiday menu bug 2007-11-24 19:44:25 +00:00
Glenn Morris
64831124ba (cal-menu-holidays-menu): Fix holiday-list call. 2007-11-22 04:17:17 +00:00
Glenn Morris
4aefe5e2dc (cal-menu-diary-menu, cal-menu-goto-menu):
Following cal-bahai renaming, update all instances of
insert-bahai-diary-entry to diary-bahai-insert-entry,
insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry,
insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and
calendar-goto-bahai-date to calendar-bahai-goto-date
2007-09-16 02:20:02 +00:00
Glenn Morris
175ede29fd Rename all list-calendar-holidays callers to calendar-list-holidays,
list-holidays to holiday-list, check-calendar-holidays to
calendar-check-holidays, and mark-calendar-holidays to
calendar-mark-holidays.
2007-09-14 04:29:10 +00:00
Stefan Monnier
d0a702a576 (displayed-month): Remove declaration since it's not used here. 2007-07-29 20:44:22 +00:00
Stefan Monnier
cca1dde04d (cal-menu-scroll-menu, cal-menu-global-mouse-menu): Use new names. 2007-07-27 06:15:40 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Stefan Monnier
05efa389a5 Break dependency on calendar.el (i.e. do not modify calendar-mode-map),
use easy-menu, and make sure that C-h k can be used on the menu entries.
(cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
(cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
(cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
(cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
(calendar-flatten, cal-menu-update): Remove.
(calendar-mouse-insert-hebrew-diary-entry)
(calendar-mouse-insert-islamic-diary-entry)
(calendar-mouse-insert-bahai-diary-entry):
Remove (fold into cal-menu-diary-menu).
(calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
(cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
(calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
(calendar-mouse-view-diary-entries): Minor simplifications.
(calendar-event-to-date): Use with-current-buffer.
2007-07-25 21:58:18 +00:00
Glenn Morris
075969b476 Switch license to GPLv3 or later. 2007-07-25 03:51:22 +00:00
Glenn Morris
11dd1e5ee4 (Commentary): No longer maintained by original author, bug reports as
for the rest of emacs.
2007-04-17 02:35:44 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Glenn Morris
0df333e5c9 (calendar-mode-map, calendar-mouse-3-map): Refer to
diary-view-entries, diary-list-entries, diary-show-all-entries rather
than obsolete aliases.
2006-05-13 06:11:29 +00:00