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

43222 Commits

Author SHA1 Message Date
Dan Nicolaescu
7afdc39150 (emacs-lisp-mode-map): Add menu entries for eldoc and ielm. 2008-03-17 16:19:05 +00:00
Glenn Morris
2c080040fb (diary-frame-parameters, calendar-frame-parameters)
(calendar-and-diary-frame-parameters): Fix custom type; add options.
(calendar-frame, diary-frame): Doc fixes.
(calendar-dedicate-diary, calendar-frame-1): Extract common code into
new functions.
(calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
Use calendar-frame-1 and calendar-dedicate-diary.
(calendar-one-frame-setup): Also handle only-one-frame case.
(calendar-only-one-frame-setup): Doc fix.  Just call calendar-one-frame-setup.
2008-03-17 02:38:26 +00:00
Glenn Morris
1435831ffa Re-order some definitions before their use.
(nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
(diary-list-entries): Doc fixes.
(simple-diary-display, fancy-diary-display): Use
calendar-in-read-only-buffer to replace previous code and disable undo.
(make-fancy-diary-display): Remove function.
2008-03-17 02:33:49 +00:00
Glenn Morris
bf0cce5ad9 (calendar-today-marker, initial-calendar-window-hook)
(today-visible-calendar-hook, today-invisible-calendar-hook)
(diary-file, calendar-basic-setup, calendar-star-date)
(calendar-mark-today): Doc fixes.
(today-visible-calendar-hook): Add options.
(calendar-in-read-only-buffer): New macro.
(calendar-basic-setup): Adapt for change in calendar-read-date.
Place holiday let inside if.
(calendar-day-name-array, calendar-month-name-array): Make defcustoms.
(calendar-read-date): Set day to 1 rather than nil in the NODAY case.
(calendar-print-other-dates): Use one let rather than many.
Use calendar-in-read-only-buffer to replace previous code and disable undo.
2008-03-17 02:30:06 +00:00
Glenn Morris
318a548888 (list-yahrzeit-dates): Use calendar-in-read-only-buffer to replace
previous code and disable undo.
2008-03-17 02:21:37 +00:00
Glenn Morris
9449f9ebe4 (calendar-list-holidays, list-holidays, calendar-cursor-holidays):
Use calendar-in-read-only-buffer to replace previous code and disable undo.
2008-03-17 02:20:49 +00:00
Glenn Morris
48844538ae (calendar-phases-of-moon): Use calendar-in-read-only-buffer to replace
previous code and disable undo.
2008-03-17 02:19:31 +00:00
Juanma Barranquero
2472a6f07f *** empty log message *** 2008-03-17 01:24:44 +00:00
Kenichi Handa
87b8ce92db *** empty log message *** 2008-03-17 00:48:03 +00:00
Juri Linkov
f564644bb2 (goto-line): Leave mark at previous position. Doc fix. 2008-03-16 17:45:11 +00:00
Juri Linkov
a86b330f8f (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
to check if the current buffer is the minibuffer, and in this case
call abort-recursive-edit to kill the minibuffer.  Doc fix.
(kill-this-buffer-enabled-p): Allow this function to return non-nil
when the current buffer is the minibuffer.
2008-03-16 17:44:20 +00:00
Juri Linkov
363de02ef0 (isearch-edit-string): Use search-ring-yank-pointer
and regexp-search-ring-yank-pointer for the HISTPOS argument of
read-from-minibuffer to provide the correct initial minibuffer
history position in isearch-edit-string when it is called from
isearch-ring-adjust.
2008-03-16 17:44:11 +00:00
Dan Nicolaescu
b0fb2dee9a Fix typos. 2008-03-16 17:02:40 +00:00
Tassilo Horn
7edd6b92de (doc-view-doc->txt, doc-view-convert-current-doc):
Use non-nil PARENTS attribute of make-directory instead of
explicitly checking existence the current cache directory.
2008-03-16 09:24:29 +00:00
Michael Olson
2ecb26c3d2 lisp/ChangeLog: Update. 2008-03-16 04:05:03 +00:00
Michael Olson
fef7aa9ec6 EasyPG: Fix bug with C-x C-s after M-x epa-file-select-keys. 2008-03-16 04:04:15 +00:00
Glenn Morris
2112d731b8 (calendar-mayan-haab-to-string): Simplify.
(calendar-mayan-tzolkin-from-absolute): Expand calendar-mod calls.
2008-03-16 01:58:15 +00:00
Glenn Morris
594928444e *** empty log message *** 2008-03-16 01:57:13 +00:00
Kenichi Handa
03f244e255 (auto-coding-alist): Use
no-conversion-multibyte for archive files.
2008-03-16 01:54:07 +00:00
Glenn Morris
de670487fb Small formatting change. 2008-03-16 01:28:43 +00:00
Glenn Morris
f1700e2678 (diary-remind-message, mark-sexp-diary-entries, list-sexp-diary-entries)
(diary-font-lock-sexps): Use format rather than concat.
(diary): Remove un-needed let.
(view-other-diary-entries): Rename argument.
(diary-list-entries-2): New function.
(diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
(print-diary-entries): Use unless.
(diary-mark-entries-1): Change argument order, make all but
markfunc optional.  Handle the standard (Gregorian) case.  Use
match-string-no-properties.  Handle marks.
(mark-diary-entries): Use diary-mark-entries-1.
(calendar-mark-complex, calendar-mark-1): New functions.
(diary-font-lock-keywords-1): New macro.
(diary-font-lock-keywords): Use diary-font-lock-keywords-1.
2008-03-16 01:27:15 +00:00
Glenn Morris
28c0279602 (calendar-mark-complex): Autoload it.
(mark-hebrew-calendar-date-pattern): Add optional argument `color'.
Use calendar-mark-complex.

(calendar-absolute-from-hebrew, hebrew-calendar-yahrzeit)
(insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
(insert-yearly-hebrew-diary-entry): Use let rather than let*.
(calendar-hebrew-prompt-for-date): New function.
(calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
(holiday-tisha-b-av-etc): Use unless, let.
2008-03-16 01:25:11 +00:00
Glenn Morris
b2fba0132f (calendar-mark-1): Autoload it.
(mark-islamic-calendar-date-pattern): Add optional argument `color'.
Use calendar-mark-1.

(calendar-islamic-prompt-for-date): New function.
(calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
2008-03-16 01:24:21 +00:00
Glenn Morris
d07a05c2fb (calendar-mark-1): Autoload it.
(calendar-bahai-mark-date-pattern): Add optional argument `color'.
Use calendar-mark-1.

(calendar-bahai-date-string): Use a single let.
(diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
(diary-bahai-insert-yearly-entry): Use let rather than let*.
Move obsolete aliases after the functions that replaced them.
2008-03-16 01:23:55 +00:00
Glenn Morris
c97663f6bc (calendar-chinese-from-absolute, calendar-chinese-date-string): Expand
calendar-mod calls.
2008-03-16 01:23:25 +00:00
Glenn Morris
df3b40c18c (calendar-mod): Remove.
(calendar-for-loop): Add indent spec.
2008-03-16 01:22:58 +00:00
Glenn Morris
615eabde2a Ulf Jasper <ulf.jasper at web.de>
(icalendar-version): Increase to 0.18.
(icalendar-export-hidden-diary-entries): New variable.
(icalendar-export-region): Use icalendar-export-hidden-diary-entries.
In case of error, insert full error-val.
(icalendar-first-weekday-of-year): Remove `offset' argument.  Doc fix.
Use calendar-day-of-week.  Return the day number.
(icalendar--convert-weekly-to-ical): Use funcall rather than apply.
2008-03-16 01:21:57 +00:00
Glenn Morris
f8e9107c53 Craig Markwardt <Craig.Markwardt at nasa.gov>
(icalendar-recurring-start-year): New variable.
(icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
(icalendar-export-region): Ignore hidden diary entries.
(icalendar--convert-ordinary-to-ical): Fix case where event
spans across midnight boundary.
(icalendar-first-weekday-of-year): New function.
(icalendar--convert-weekly-to-ical): Allow user-selectable start
year for recurring events (Mozilla calendars do not propagate
recurring events forever, so year 2000 start date was not working).
(icalendar--convert-yearly-to-ical): Remove extra spaces in
formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
2008-03-16 01:21:25 +00:00
Michael Albinus
a8a700984f *** empty log message *** 2008-03-15 21:59:33 +00:00
Michael Albinus
8a798e4193 * tramp.el (tramp-root-regexp): New defconst.
(tramp-completion-file-name-regexp-unified)
(tramp-completion-file-name-regexp-separate)
(tramp-completion-file-name-regexp-url): Use it.
(tramp-do-copy-or-rename-file-via-buffer): Set
`enable-multibyte-characters' to nil.  Set `jka-compr-inhibit' to
t for `insert-file-contents-literally'.
(tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
Autoload it.
(tramp-completion-file-name-handler-post-function): New defconst.
(tramp-completion-file-name-handler): Use it.
(tramp-maybe-open-connection): Update calls to
`tramp-flush-connection-property' for removed 2nd argument.
2008-03-15 21:54:02 +00:00
Michael Albinus
e3ea58b7ea *** empty log message *** 2008-03-15 21:50:58 +00:00
Stefan Monnier
39f4444267 (vc-bzr-diff): Use a faster invocation when possible.
(vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table): New functions.
2008-03-15 19:37:17 +00:00
Glenn Morris
4e11bcc210 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-selective-display)
(number-of-diary-entries, diary-list-entries, diary-goto-entry):
(list-sexp-diary-entries, diary-date, diary-block, diary-float)
(diary-anniversary, diary-cyclic)
(diary-fancy-font-lock-fontify-region-function): Doc fixes.
(diary-header-line-format): Change wording.
(diary-list-entries): Set `date-start' in let.
(include-other-diary-files, mark-included-diary-files): Use format.
(simple-diary-display, fancy-diary-display): Use cadr, unless.
(mark-diary-entries): Use 1+.
(mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
(mark-calendar-month): Use dotimes.
(diary-list-entries-1, diary-mark-entries-1): New functions.
2008-03-15 03:03:08 +00:00
Glenn Morris
711d00e76e (number, original-date, add-to-diary-list)
(diary-name-pattern, mark-calendar-days-named): Remove declarations.
(diary-list-entries-1, diary-mark-entries-1): Autoload.
(list-hebrew-diary-entries): Use diary-list-entries-1.
(mark-hebrew-diary-entries): Doc fix.  Use diary-mark-entries-1.

(calendar-hebrew-month-name-array-common-year)
(calendar-hebrew-month-name-array-leap-year)
(hebrew-calendar-parashiot-names): Make constants.
(diary-parasha): Move definition after constants it uses.
2008-03-15 03:01:40 +00:00
Glenn Morris
cb33924367 (number, original-date, add-to-diary-list)
(diary-name-pattern, mark-calendar-days-named): Remove declarations.
(diary-list-entries-1, diary-mark-entries-1): Autoload.
(list-islamic-diary-entries): Use diary-list-entries-1.
(mark-islamic-diary-entries): Doc fix.  Use diary-mark-entries-1.

(calendar-islamic-month-name-array, calendar-islamic-epoch): Make constants.
(calendar-islamic-epoch): Doc fix.
2008-03-15 03:01:13 +00:00
Glenn Morris
0a349c6dfb (number, original-date, add-to-diary-list)
(diary-name-pattern, mark-calendar-days-named): Remove declarations.
(diary-list-entries-1, diary-mark-entries-1): Autoload.
(diary-bahai-list-entries): Use diary-list-entries-1.
(diary-bahai-mark-entries): Doc fix.  Use diary-mark-entries-1.

(calendar-bahai-epoch): Doc fix.
2008-03-15 03:00:48 +00:00
Glenn Morris
40802b080b (european-calendar-style, calendar-for-loop)
(calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
(calendar-cursor-to-date): Doc fix.
(hebrew-holidays-1, hebrew-holidays-4): Simplify.
(extract-calendar-day, extract-calendar-year): Use cadr, nth.
(calendar-day-number): Use when.
(generate-calendar-month): Use dotimes.
(exit-calendar, calendar-print-other-dates): Use let rather than let*.
(calendar-set-mark): Reverse conditional.
(calendar-make-alist): Move definition before use.
2008-03-15 03:00:17 +00:00
Glenn Morris
354716682d (appt-check, appt-delete, appt-make-list): Use caar. 2008-03-15 02:59:34 +00:00
Glenn Morris
706531d9fa (number-chinese-months, calendar-chinese-from-absolute): Use nth, caar. 2008-03-15 02:59:15 +00:00
Glenn Morris
cc7fff4f64 (coptic-calendar-epoch): Doc fix. 2008-03-15 02:58:39 +00:00
Glenn Morris
fd32e5b926 Formatting changes only. 2008-03-15 02:58:24 +00:00
Glenn Morris
071f8d93af (french-calendar-accents): Doc fix. 2008-03-15 02:57:58 +00:00
Glenn Morris
851335187f (cal-html-insert-link-yearpage, (cal-html-htmlify-list): Doc fix.
(cal-html-htmlify-entry): Use nth.
2008-03-15 02:57:42 +00:00
Glenn Morris
965c889906 (cal-menu-goto-menu): Use "Go To". 2008-03-15 02:57:13 +00:00
Glenn Morris
a078051c4a (cal-tex-hook, cal-tex-insert-preamble, cal-tex-month-name): Doc fix.
(cal-tex-last-blank-p): Use zerop.
2008-03-15 02:56:30 +00:00
Glenn Morris
125001e94b (displayed-month, displayed-year): Move declarations where needed.
(calendar-list-holidays): Doc fix.
2008-03-15 02:55:45 +00:00
Glenn Morris
1fa570afc5 (parse-time-string): Simplify. 2008-03-15 02:55:25 +00:00
Glenn Morris
48dc6f9fd2 (solar-n-hemi-seasons, solar-s-hemi-seasons): Make constants.
(solar-sunrise-sunset): Rename some local variables for clarity.
(sunrise-sunset): Use zerop.
(solar-mean-equinoxes/solstices): Doc fix.
2008-03-15 02:55:06 +00:00
Glenn Morris
55dfee43fa (timeclock-time-to-seconds, timeclock-log-data): Use nth.
(timeclock-completing-read, timeclock-generate-report): Use zerop.
(timeclock-mean, timeclock-generate-report): Use dolist.
2008-03-15 02:54:45 +00:00
Glenn Morris
17a1af5370 (todo-add-category): Simplify.
(todo-more-important-p, todo-delete-item, todo-file-item): Use unless, when.
(todo-top-priorities): Use zerop.
2008-03-15 02:54:24 +00:00