Lars Magne Ingebrigtsen
53080505af
Remove arch-tags from all files, since these are no longer needed.
2010-09-02 00:55:51 +00:00
Chong Yidong
aad4679e7d
Add "Version:" and "Package:" Lisp file headers.
2010-08-29 16:10:43 -04:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Chong Yidong
b0126eac41
Merge changes from emacs-23 branch.
2010-08-22 16:02:16 -04:00
Glenn Morris
30ebab6ded
Minor icalendar fix.
...
* lisp/calendar/icalendar.el (icalendar--convert-recurring-to-diary):
Fix format call.
2010-08-16 23:48:37 -07:00
Glenn Morris
ec1339fbce
* lisp/calendar/diary-lib.el: Bump custom :version for previous change.
2010-08-13 19:23:56 -07:00
Glenn Morris
721dce172b
Minor diary-lib.el fix.
...
* lisp/calendar/diary-lib.el (diary-header-line-format):
Fit it to the window, not the frame.
2010-08-13 18:56:35 -07:00
Ulf Jasper
81ee941084
Fixed bug#6766 (icalendar.el)
...
lisp/ChangeLog:
* calendar/icalendar.el (icalendar-uid-format): Doc fix.
(icalendar--split-value): Fixed splitting regexp. (Bug#6766)
(icalendar--get-weekday-numbers): New
(icalendar--create-uid, icalendar-export-region)
(icalendar--parse-summary-and-rest): Code formatting.
(icalendar--convert-recurring-to-diary): Handle multiple byday
values in weekly rules. (Bug#6766)
test/ChangeLog:
* icalendar-testsuite.el (icalendar-testsuite-run): Added internal tests.
(icalendar-testsuite--trim, icalendar-testsuite--compare-strings)
(icalendar-testsuite--run-internal-tests): New.
(icalendar-testsuite--test-convert-ordinary-to-ical)
(icalendar-testsuite--test-convert-block-to-ical)
(icalendar-testsuite--test-convert-anniversary-to-ical)
(icalendar-testsuite--test-parse-vtimezone)
(icalendar-testsuite--do-test-export): Code formatting.
(icalendar-testsuite--test-parse-vtimezone): Doc fix.
(icalendar-testsuite--do-test-import)
(icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings
(icalendar-testsuite--run-import-tests): Comment added.
(icalendar-testsuite--run-import-tests)
(icalendar-testsuite--run-real-world-tests): Fixed expected results.
2010-08-08 19:42:47 +02:00
Chong Yidong
fea9cabd27
Merge changes from emacs-23 branch.
2010-07-16 11:42:15 -04:00
Glenn Morris
3260caf88a
cal-tex.el fixes for calendar-week-start-day != 0.
...
* calendar/calendar.el (calendar-week-end-day): New function.
* calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
Respect calendar-week-start-day. (Bug#6606)
(cal-tex-insert-day-names, cal-tex-insert-blank-days)
(cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
(cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
respect calendar-week-start-day.
2010-07-10 16:34:57 -07:00
Stefan Monnier
2a64315a11
Merge from emacs-23
2010-06-16 16:08:41 -04:00
Glenn Morris
d7cd4abb48
Tweak previous change.
...
* lisp/calendar/appt.el (appt-time-msg-list): Doc fix.
(appt-check): Let-bind appt-warn-time.
(appt-add): Make the 3rd argument optional.
Simplify argument names. Doc fix. Check for integer WARNTIME.
Only add WARNTIME to the output list if non-nil.
2010-06-14 20:42:33 -07:00
Ivan Kanis
a675c74911
Close bug#5176.
...
* lisp/calendar/appt.el (appt-check): Let the 3rd element of
appt-time-msg-list specify the warning time.
(appt-add): Add new argument with the warning time.
2010-06-14 20:38:58 -07:00
Juanma Barranquero
528b9ea9ff
Simplify by using `define-derived-mode'.
...
* info.el (Info-mode):
* calendar/todo-mode.el (todo-mode):
* play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
(gomoku-mode-map): Move initialization into declaration.
2010-04-15 03:12:20 +02:00
Stefan Monnier
eb6967a081
Remove the Arch metafiles.
2010-04-12 23:06:50 -04:00
Stefan Monnier
e867cb5d30
Merge from `emacs-23'.
2010-03-24 14:02:56 -04:00
Juanma Barranquero
c8de140b34
Fix typos in docstrings.
...
* image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
(image-dired-read-comment): Doc fix.
* json.el (json-object-type, json-array-type, json-key-type, json-false)
(json-null, json-read-number):
* minibuffer.el (completion-in-region-functions):
* calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
(cal-tex-cursor-week):
* emacs-lisp/trace.el (trace-function):
* eshell/em-basic.el (eshell/printnl):
* eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
(eshell-read-last-dir-ring, eshell-write-last-dir-ring):
* obsolete/levents.el (allocate-event, event-key, event-object)
(event-point, event-process, event-timestamp, event-to-character)
(event-window, event-x, event-x-pixel, event-y, event-y-pixel):
* textmodes/reftex-vars.el (reftex-index-macros-builtin)
(reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
(reftex-cite-punctuation, reftex-search-unrecursed-path-first)
(reftex-highlight-selection): Fix typos in docstrings.
2010-03-22 17:50:29 +01:00
Glenn Morris
1a355d092b
* calendar/cal-french.el: Convert to utf-8.
2010-03-17 22:25:13 -07:00
Glenn Morris
33f779825b
Fix date of Yom HaAtzma'ut holiday.
...
* calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
2010-03-01 19:27:41 -08:00
Chong Yidong
de3a1fe935
Fix more save-excursion warnings.
...
* textmodes/reftex-toc.el (reftex-toc-promote-prepare):
* emacs-lisp/elint.el (elint-add-required-env):
* cedet/semantic/db-find.el (semanticdb-find-translate-path-brutish-default):
* cedet/ede/make.el (ede-make-check-version):
* calendar/icalendar.el (icalendar--add-diary-entry):
* calc/calcalg2.el (math-tracing-integral): Use with-current-buffer instead of save-excursion.
2010-02-27 20:22:44 -05:00
Ulf Jasper
b4340b3f0b
Fixed bug#5549 (icalendar.el)
2010-02-19 19:59:00 +01:00
Stephen Berman
7d82a7383b
Fix bug#5477.
...
Stephen Berman <stephen.berman at gmx.net>:
(diary-unhide-everything): Handle narrowed buffers.
2010-01-26 20:00:54 -08:00
Chong Yidong
244b023e52
Doc fix for current-time-string and date-to-time (Bug#5408)
...
* src/editfns.c (Fcurrent_time_string): Doc fix.
* lisp/calendar/time-date.el (date-to-time): Doc fix.
2010-01-18 11:29:00 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Ulf Jasper
6fe539d246
Fixed timezone handling problem in icalendar.el.
2009-12-18 19:35:14 +00:00
Glenn Morris
5813f6ef75
(diary-list-entries): Replace superfluous save-excursion with
...
save-current-buffer.
Widen before searching. (Bug#5093)
(diary-list-sexp-entries): Remove superfluous save-excursion.
2009-12-02 03:03:48 +00:00
Glenn Morris
e8a11b2298
Update x-popup-menu declaration.
2009-11-10 08:11:47 +00:00
Dan Nicolaescu
1e8780b173
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
...
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
Glenn Morris
4f8f657fc4
(top-level): Make load behave more like require.
2009-11-05 03:22:18 +00:00
Juanma Barranquero
d3d5f4f504
* calendar/calendar.el (cal-loaddefs):
...
* calendar/diary-lib.el (diary-loaddefs):
* calendar/holidays.el (hol-loaddefs):
* eshell/esh-module.el (esh-groups):
* mh/mh-e.el (mh-loaddefs): Load rather than require.
2009-11-04 00:27:34 +00:00
Stefan Monnier
7e83e8b459
(todo-add-category): Don't hardcode point-min==1.
...
(todo-top-priorities): Only display-buffer when called interactively.
(todo-item-start): Don't save excursion point.
(todo-item-end): Be slightly more careful. Add `include-sep' arg.
(todo-insert-item-here, todo-file-item, todo-remove-item):
Adjust uses of todo-item-start and todo-item-end.
2009-11-03 22:24:34 +00:00
Stefan Monnier
937e6a5612
* url-util.el (url-insert-entities-in-string):
...
* url-nfs.el (url-nfs-unescape):
* url-ldap.el (url-ldap):
* url-imap.el (url-imap):
* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
* erc.el (erc-display-line-1, erc-process-away):
* erc-truncate.el (erc-truncate-buffer-to-size):
Use with-current-buffer.
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
* play/mpuz.el (mpuz-create-buffer):
* play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
(lm-print-y,s,noise, lm-print-w0, lm-init):
* play/gomoku.el (gomoku-prompt-for-move):
* play/fortune.el (fortune-in-buffer):
* play/dissociate.el (dissociated-press):
* play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
(decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
* mail/supercite.el (sc-eref-show):
* mail/smtpmail.el (smtpmail-send-it):
* mail/rmailsum.el (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message, rmail-summary-wipe)
(rmail-summary-undelete-many, rmail-summary-rmail-update)
(rmail-summary-goto-msg, rmail-summary-expunge)
(rmail-summary-get-new-mail, rmail-summary-search-backward)
(rmail-summary-add-label, rmail-summary-output-menu)
(rmail-summary-output-body):
* mail/rfc822.el (rfc822-addresses):
* mail/reporter.el (reporter-dump-variable, reporter-dump-state):
* mail/mailpost.el (post-mail-send-it):
* mail/hashcash.el (hashcash-generate-payment):
* mail/feedmail.el (feedmail-run-the-queue)
(feedmail-queue-send-edit-prompt-help-first)
(feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
(feedmail-deduce-address-list):
* eshell/esh-ext.el (eshell-remote-command):
* eshell/em-unix.el (eshell-occur-mode-mouse-goto):
* emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
(viper-wildcard-to-regexp, viper-glob-mswindows-files)
(viper-save-string-in-file, viper-valid-marker):
* emulation/viper-keym.el (viper-toggle-key):
* emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
(ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
(ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
* emulation/viper-cmd.el (viper-exec-form-in-vi)
(viper-exec-form-in-emacs, viper-brac-function):
* emulation/viper.el (viper-delocalize-var):
* emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
(vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
(vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
(ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
* emulation/vi.el (vi-switch-mode, vi-ex-cmd):
* emulation/edt.el (edt-electric-helpify):
* emulation/cua-rect.el (cua--rectangle-aux-replace):
* emulation/cua-gmrk.el (cua--insert-at-global-mark)
(cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
(cua-indent-to-global-mark-column):
* calendar/diary-lib.el (calendar-mark-1):
* calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
Use with-current-buffer.
* emulation/viper.el (viper-delocalize-var): Use dolist.
2009-11-03 02:04:29 +00:00
Glenn Morris
d566f22825
Stephen Berman <stephen.berman at gmx.net>
...
(todo-edit-item): Signal an error if there is no item to edit. (Bug#4820)
(todo-top-priorities): Restore point and restore narrowing in Todo
buffer. (Bug#4820)
2009-10-31 02:22:30 +00:00
Glenn Morris
58ae51ae02
(calendar-split-width-threshold): New option.
...
(calendar-basic-setup): Use calendar-split-width-threshold.
2009-10-10 20:50:39 +00:00
Glenn Morris
429a150633
(calendar-basic-setup): In the wide frame case, show the original
...
buffer rather than a random one.
2009-10-07 02:57:46 +00:00
Glenn Morris
eaf9b5643d
Use window-full-height-p.
2009-10-06 02:42:29 +00:00
Glenn Morris
00169eb683
Matthew Junker <matthew.junker at sbcglobal.net> (tiny change)
...
(cal-tex-cursor-month-landscape)
(cal-tex-cursor-month): Correctly increment the end date for diary and
holiday listing. (Bug#4626)
2009-10-06 02:36:35 +00:00
Stefan Monnier
4a34f0655d
(diary-show-all-entries): Re-fit the calendar window if necessary.
2009-10-05 05:39:48 +00:00
Stefan Monnier
72aa7df48f
(calendar-basic-setup): Don't call switch-to-buffer in a dedicated window.
2009-10-05 05:36:11 +00:00
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