Glenn Morris
686ea556eb
(calendar-basic-setup): Handle the case where the frame is wide.
...
(calendar-generate-window): Test for shrinkability rather than width.
2009-10-03 02:19:22 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Glenn Morris
2157a2be64
(diary-fancy-display): Always run the hook.
2009-09-24 03:26:51 +00:00
Glenn Morris
daedbbc2a9
(calendar-mode-map): Make mouse-1 and 3 clicks on the scroll-bar
...
scroll the calendar window rather than the buffer.
2009-09-22 07:37:58 +00:00
Glenn Morris
d8899a7416
(cal-menu-scroll-menu): Add a sub-section with commands that move
...
point (as opposed to scrolling).
2009-09-22 07:15:31 +00:00
Glenn Morris
2b8e87c469
(diary-display-function): Change the default to fancy display.
...
(body): Define for compiler.
2009-09-15 02:34:54 +00:00
Katsumi Yamaoka
cdce0b331f
* calendar/time-date.el (autoload):
...
Expand define-obsolete-function-alias into defalias and make-obsolete
for old Emacsen that Gnus supports.
(with-no-warnings): Define it for old Emacsen.
(time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
is available.
(time-to-number-of-days): Don't use (featurep 'xemacs) to check if
float-time is available; suppress compile warning for time-to-seconds.
2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
* net/imap.el (imap-message-map): Docstring fix.
2009-09-09 09:29:29 +00:00
Glenn Morris
c8dc27bff3
(diary-entry): Add help-echo and follow-link properties to this button.
...
(diary-fancy-display): Don't extend the button to the final newline.
(diary-fancy-display-mode): Continue to define "q" as a local key.
2009-09-05 21:11:34 +00:00
Glenn Morris
cca065d8cf
(holiday-chinese): Make it slightly more efficient.
2009-09-05 21:07:15 +00:00
Glenn Morris
b42d4989af
(diary-fancy-display): Only switch modes if necessary.
...
(diary-fancy-overriding-map): New variable.
(diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
Use view-mode.
2009-09-04 02:59:13 +00:00
Glenn Morris
e605eeebd5
(appt-check): Don't call substitute-in-file-name on diary-file.
2009-09-03 06:35:25 +00:00
Glenn Morris
6dd2d9b932
(diary-set-header, diary-live-p)
...
(diary-check-diary-file, diary-list-entries)
(diary-include-other-diary-files, diary-simple-display)
(diary-fancy-display, diary-print-entries)
(diary-mark-included-diary-files, diary-make-entry):
Don't call substitute-in-file-name on diary-file.
2009-09-03 06:34:19 +00:00
Glenn Morris
697c7714ce
(time-to-seconds): In Emacs, make it an obsolete alias for float-time.
...
(time-to-number-of-days): In Emacs, use float-time.
2009-09-02 03:22:58 +00:00
Glenn Morris
e7d3b89834
(diary-button-face): Mark this face alias as obsolete.
2009-08-31 01:33:58 +00:00
Glenn Morris
d8bc5d08e6
(calendar-today): Doc fix.
...
(calendar-today-face, diary-face, holiday-face):
Mark these face aliases as obsolete.
2009-08-31 01:33:43 +00:00
Glenn Morris
4d985ac2e6
(diary-list-entries, diary-goto-entry)
...
(diary-show-all-entries, diary-mark-entries, diary-make-entry):
Use default-value of major-mode rather than default-major-mode.
2009-08-28 03:18:49 +00:00
Glenn Morris
6dc3311d25
Define risky-local-variable property here rather than in files.el.
2009-08-26 03:07:25 +00:00
Glenn Morris
977955fab7
(diary-mark-entries-1): Only mark all days of a given name if the
...
pattern is not more specific.
2009-08-22 19:47:42 +00:00
Glenn Morris
b4deec2e85
(lunar-phase-names): New option.
...
(lunar-phase): Doc fix.
(lunar-cycles-per-year): New constant.
(lunar-index): New function.
(lunar-phase-list, diary-lunar-phases): Use lunar-index.
(lunar-phase-name): Use lunar-phase-names.
(calendar-lunar-phases): Use format.
(lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
2009-08-22 19:45:30 +00:00
Stefan Monnier
cb5b40ee3b
* textmodes/remember.el (remember-buffer):
...
* progmodes/cperl-mode.el (cperl-vc-header-alist):
* calendar/icalendar.el (icalendar-convert-diary-to-ical)
(icalendar-extract-ical-from-buffer): Add version of obsolescence.
2009-08-21 15:09:42 +00:00
Glenn Morris
a8ab722f60
(calendar-cursor-to-nearest-date, calendar-cursor-to-visible-date):
...
Use forward-line, not goto-line.
2009-08-21 07:11:24 +00:00
Chong Yidong
81b1f9c9b7
* calendar/parse-time.el (parse-time-string-chars): Save match data.
2009-08-16 18:38:15 +00:00
Chong Yidong
1200ac269a
* calendar/parse-time.el (parse-time-string-chars): Compute using
...
character classes (Bug#3190).
2009-08-16 14:33:43 +00:00
Glenn Morris
55d27f4157
(calendar-current-date): Update declaration.
2009-07-21 05:02:36 +00:00
Glenn Morris
a71b84cd1b
(cal-menu-set-date-title): Handle calls from non-calendar buffers (Bug#3862).
...
Restore "not on a date" message.
(cal-menu-context-mouse-menu): Doc fix.
2009-07-19 00:32:31 +00:00
Glenn Morris
7ef5b8b271
(calendar-current-date): Rework previous change.
2009-07-08 02:48:11 +00:00
Glenn Morris
3ce82f979d
Ed Reingold <reingold at emr.cs.iit.edu>
...
(calendar-current-date): Add an optional argument giving an offset from today.
2009-07-08 02:46:23 +00:00
Glenn Morris
84cb770dc9
(calendar-time-zone-daylight-rules): Simplify Persian conditionals.
2009-06-23 07:30:25 +00:00
Glenn Morris
731a00fbd7
(appt-make-list): Fix off-by-one error caused by
...
differing behavior of \n and ^ in strings. (Bug#3385)
2009-06-22 06:29:59 +00:00
Glenn Morris
b27c3bc6ec
(calendar-time-zone-daylight-rules): Fix typo in 2008-04-02 change.
2009-06-10 01:32:55 +00:00
Glenn Morris
8682defdaa
(solar-n-hemi-seasons, solar-s-hemi-seasons):
...
Make into defcustoms. (Bug#3429)
2009-06-04 06:40:13 +00:00
Glenn Morris
d5a8ed1053
(calendar-forward-day): Fix 2008-06-21 change -
...
always move cursor to new date. (Bug#3338)
2009-05-21 04:40:08 +00:00
Glenn Morris
64b7c58a67
(calendar-holidays): Don't autoload it. (Bug#2811)
2009-04-02 06:34:21 +00:00
Glenn Morris
6f8eab73b4
(diary-cyclic): Check for +ve N.
2009-04-02 06:33:18 +00:00
Glenn Morris
a20013c1bb
(cal-tex-preamble-extra): Add an example string value to help people
...
with the formatting.
2009-03-15 21:32:14 +00:00
Glenn Morris
6302f8acf2
(diary-date-forms, calendar-date-display-form):
...
Add :set-after listing variables on which we might depend.
2009-03-02 07:00:43 +00:00
Glenn Morris
fa262b58b2
(calendar-window-list): Ignore invisible windows.
...
(calendar-set-mode-line): Fall back to a default width if we seem to be
called from daemon. (Bug#2199)
2009-02-11 04:02:16 +00:00
Glenn Morris
833374ea08
Add :version tags for previous change.
2009-02-09 17:26:21 +00:00
Glenn Morris
bdc3df307b
(diary-entry-marker, calendar-today-marker)
...
(calendar-holiday-marker): Drop test for color display.
2009-02-09 07:52:54 +00:00
Glenn Morris
c253eff0ae
(diary-fancy-display): It doesn't make sense to check font-lock-mode
...
(see comments; reverts 2008-04-02 change). (Bug#2199)
2009-02-08 01:52:26 +00:00
Glenn Morris
6ed1743386
(diary-entry-marker, calendar-today-marker, calendar-holiday-marker)
...
(calendar-mark-visible-date): It doesn't make sense to check
font-lock-mode (see comments; reverts 2008-04-02 change). (Bug#2199)
2009-02-08 01:52:01 +00:00
Chong Yidong
3a67b38766
Update Oliver Seidel's email address, and add Stephen Berman as
...
maintainer.
2009-01-29 15:19:44 +00:00
Chong Yidong
685b547932
(todo-insert-item-here): Prevent insertion
...
of a new entry inside of an existing entry. Minor code cleanup.
(todo-add-category): Change the interactive spec. Signal an error
if the Todo file is non-empty but contains no category. Reject
category names that could induce bugs and confusion. Call
todo-mode if the Todo file is new and unsaved. Simplify handling
of local variables cookie. Properly display the newly added
category in Todo mode.
(todo-show): Call todo-initial-setup only if there is neither a
Todo file nor a corresponding unsaved buffer.
(todo-category-alist): Delete function.
(todo-completing-read): New function.
(todo-insert-item, todo-jump-to-category): Use it.
(todo-insert-item): Make the use of the prefix argument conform to
the doc string.
2009-01-28 03:56:18 +00:00
Ulf Jasper
3edf528464
icalendar: fixed doc string.
2009-01-25 21:23:39 +00:00
Ulf Jasper
f052351afe
icalendar: uid-format, bug fixes.
2009-01-25 13:38:14 +00:00
Glenn Morris
3309a9ee3f
(calendar-scroll-left-three-months, calendar-scroll-right-three-months):
...
Add event handling, for when called from menus with the calendar
buffer not current.
2009-01-10 22:01:32 +00:00
Glenn Morris
dc67263ca3
(calendar-lunar-phases): Add event handling, for when called from
...
menus with the calendar buffer not current.
2009-01-10 22:00:33 +00:00
Glenn Morris
436b840d1e
(calendar-list-holidays, calendar-mark-holidays): Add event handling,
...
for when called from menus with the calendar buffer not current.
2009-01-10 22:00:14 +00:00
Miles Bader
e3e955fed3
Merge from gnus--devo--0
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1513
2009-01-09 03:01:50 +00:00
Glenn Morris
912b78ddda
(cal-menu-scroll-menu): Remove entries that don't scroll the calendar.
2009-01-08 04:13:28 +00:00