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

73 Commits

Author SHA1 Message Date
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
Glenn Morris
27ba2fc3ec (calendar-mode-map): Refer to `diary-view-entries' rather than alias
`view-diary-entries'.
2006-04-22 00:10:30 +00:00
Stefan Monnier
0d72b43bbb Avoid macros from calendar.el so as to break
the nastiest part of the cyclic dependency.
(cal-menu-update): Use dotimes and calendar-increment-month.
2006-01-24 17:14:16 +00:00
Glenn Morris
600b6bc9c3 Update copyright info. 2005-12-10 05:46:09 +00:00
Stefan Monnier
e9f8d300e6 (date, event): Don't declare as dynamic-var.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-print-dates): Add optional `event' argument.
Update interactive-spec.
(calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax):
Use `calendar-event-to-date' instead of `event'.
2005-11-01 19:55:19 +00:00
Glenn Morris
aff88519c0 Update maintainer email address. 2005-10-08 04:49:48 +00:00
Stefan Monnier
a04b6191a4 (calendar-mouse-view-diary-entries): Use the new arg to diary-list-entries. 2005-10-06 16:25:31 +00:00
Stefan Monnier
ed1cd40c23 Don't require easymenu, since we don't use it.
(check-calendar-holidays, diary-list-entries): Autoload.
Otherwise `emacs -q' followed by "mouse-2 -> diary entries" burps.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries): Simplify.
2005-09-14 16:01:57 +00:00
Juanma Barranquero
04ec34141f (date): Add defvar. 2005-08-26 11:25:56 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Eli Zaretskii
9110ca1185 (cal-menu-update): Add separator as a string so that tmm doesn't create
a completion entry for it.
2005-05-21 11:35:56 +00:00
Glenn Morris
b6a156a735 Update copyright.
(top level): Delete local C-down-mouse-3 binding.  Suggested by
Stephan Stahl <stahl@eos.franken.de>.
2005-03-26 15:54:29 +00:00
Glenn Morris
6b8927e31c Update copyright and maintainer.
From  Emilio C. Lopes  <eclig@gmx.net>:
(calendar-mode-map): Add binding for `calendar-goto-iso-week'.
2004-10-04 23:45:06 +00:00
John Wiegley
811a8484c0 2004-05-08 John Wiegley <johnw@newartisans.com>
* calendar/cal-bahai.el: New file, which adds support for the
	Baha'i calendar to Emacs.  This calendar is based on a solar year
	of 19 months of 19 days, with 4 intercalary days.  Each year
	begins on March 21, with the calendar starting in 1844.

	* calendar/cal-menu.el, calendar/calendar.el,
	calendar/diary-lib.el, calendar/holidays.el: Added support for
	using cal-bahai.el.
2004-05-08 12:42:07 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Glenn Morris
f9df0ca042 Edward M. Reingold <reingold@emr.cs.iit.edu>
(calendar-mode-map): Add `calendar-goto-day-of-year' to menu.
(calendar-flatten): New function.
(calendar-mouse-view-other-diary-entries)
(calendar-mouse-view-diary-entries): Rewritten to put any holidays in
the menu title and to show multi-line diary entries correctly in the
menu.
2003-08-17 22:48:54 +00:00
Glenn Morris
5bb7a2d574 (displayed-month, displayed-year): Define for compiler.
(cal-menu-update): Adapt for new behaviour of `calendar-month-name' function.
2003-08-03 14:00:03 +00:00
Richard M. Stallman
d5b213cc0c (cal-menu-update): Use easy-menu-create-menu rather than easy-menu-change. 2003-04-06 20:21:26 +00:00
Pavel Janík
3f3410a93b (cal-menu-x-popup-menu): Fix argument of error call. 2002-05-01 09:46:36 +00:00
Eli Zaretskii
9a8e2a104f (calendar-mode-map): Change the menu item's name to "Insert Diary Entry". 2002-02-08 18:50:37 +00:00
Eli Zaretskii
87671c2577 (cal-menu-x-popup-menu): New function,
calls x-popup-menu only if popup menus are supported.
(calendar-mouse-insert-hebrew-diary-entry)
(calendar-mouse-insert-islamic-diary-entry)
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-view-other-diary-entries)
(calendar-mouse-print-dates, calendar-mouse-2-date-menu)
(calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax): Call
cal-menu-x-popup-menu instead of x-popup-menu.
2001-10-01 11:08:06 +00:00
Gerd Moellmann
369335f5fa (calendar-mouse-view-other-diary-entries): Fix name
of file in header of menu.
2001-09-05 08:20:13 +00:00
Gerd Moellmann
b0e6051ab3 Undo changes made by John Wiegley in previous revision. 2001-03-26 13:33:23 +00:00
John Wiegley
341c19b9d0 See ChangeLog 2001-03-20 20:26:13 +00:00
Karl Heuer
3f0855d5cc (cal-menu-update): Fix menu wording. 1998-10-30 19:44:50 +00:00
Edward M. Reingold
f20d548a48 Minor fix to previous change. 1998-06-09 22:27:59 +00:00
Edward M. Reingold
6c8a48a6d0 Rewrote calendar-mouse-holidays, calendar-mouse-view-diary-entries,
calendar-mouse-view-other-diary-entries to put results in popup menu to be
consistent with other functions.
1998-06-09 22:03:14 +00:00
Edward M. Reingold
4cb546524d Fix menu separators. 1998-06-05 18:29:44 +00:00
Edward M. Reingold
b67c85e9a3 Add separators to Holidays menu. 1998-05-12 15:32:50 +00:00
Richard M. Stallman
f8cac35aae (calendar-mode-map): Rename holidays' menu to Holidays'.
(cal-menu-update): Similar renamings; change the arg to
easy-menu-change also.  Change some item names.
1998-05-12 03:12:08 +00:00
Edward M. Reingold
07342a647f Minor fix to earlier changes today. 1998-05-11 17:18:04 +00:00
Edward M. Reingold
b5305eb051 Made holiday button on menu bar related to current calendar display. 1998-05-11 14:56:37 +00:00
Edward M. Reingold
20f92f7bc8 Minor repair of previous change. 1997-12-05 21:28:00 +00:00
Edward M. Reingold
ee3bb32f1b Add fixed date (RD) to menu of other dates. 1997-12-05 17:37:39 +00:00
Karl Heuer
a137e62c85 (cal-tex-mouse-filofax-daily): New function.
(cal-tex-mouse-filofax): Add menu item for it.
1997-09-24 16:29:39 +00:00
Richard M. Stallman
dce5c9160a Require calendar only when compiling. 1997-09-19 03:04:00 +00:00
Richard M. Stallman
20eff79988 Require calendar.el. 1997-09-12 22:08:16 +00:00
Richard M. Stallman
f10cbb4c17 (cal-menu-list-holidays-following-year)
(cal-menu-list-holidays-previous-year)
(cal-menu-list-holidays-year): New commands.
(calendar-mode-map): Put them in the holidays menu.
1997-05-05 17:54:28 +00:00
Richard M. Stallman
26808bb3a7 Delete all menu-enable properties.
They ran slowly and sometimes got errors.
1997-04-24 22:54:27 +00:00
Edward M. Reingold
33a07d62d3 Spelling fix. 1996-04-24 23:35:14 +00:00
Richard M. Stallman
a0e06fd0c1 (calendar-mouse-goto-date): New function.
Call it instead of calendar-goto-date throughout this file.
(calendar-event-to-date): Switch buffers based on the event.
1996-04-07 03:22:54 +00:00
Edward M. Reingold
c21eb13de8 Add references to Persian calendar. 1996-03-29 17:47:01 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Edward M. Reingold
ebf90a0f2a Put date on top of other-calendars menu. 1995-12-27 17:33:27 +00:00