diff options
| author | Karoly Lorentey | 2004-02-20 15:41:31 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-02-20 15:41:31 +0000 |
| commit | 3b7fbceb8359279028f466091b22ab11c5484bc3 (patch) | |
| tree | 2717da66d1b1213826e5622d0a57b94d0833a909 /lisp | |
| parent | aaaf7fe1673a2a5ece2eebaccf2d67a60e9938eb (diff) | |
| parent | 2320865de4ed4217fd534a5644f6ed0977981df1 (diff) | |
| download | emacs-3b7fbceb8359279028f466091b22ab11c5484bc3.tar.gz emacs-3b7fbceb8359279028f466091b22ab11c5484bc3.zip | |
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-104
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-105
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-106
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-87
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 60 | ||||
| -rw-r--r-- | lisp/calendar/appt.el | 46 | ||||
| -rw-r--r-- | lisp/calendar/cal-coptic.el | 4 | ||||
| -rw-r--r-- | lisp/calendar/cal-french.el | 4 | ||||
| -rw-r--r-- | lisp/calendar/cal-hebrew.el | 22 | ||||
| -rw-r--r-- | lisp/calendar/cal-islam.el | 12 | ||||
| -rw-r--r-- | lisp/calendar/cal-julian.el | 4 | ||||
| -rw-r--r-- | lisp/calendar/cal-mayan.el | 8 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 6 | ||||
| -rw-r--r-- | lisp/calendar/diary-lib.el | 8 | ||||
| -rw-r--r-- | lisp/play/morse.el | 8 |
11 files changed, 115 insertions, 67 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f5e51f9a093..bf4e852c494 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,35 @@ | |||
| 1 | 2004-02-19 Simon Josefsson <jas@extundo.com> | ||
| 2 | |||
| 3 | * play/morse.el: Fix typo. | ||
| 4 | (morse-code): Add @. | ||
| 5 | |||
| 6 | 2004-02-19 Glenn Morris <gmorris@ast.cam.ac.uk> | ||
| 7 | |||
| 8 | * calendar/appt.el (appt-display-format): Change default to | ||
| 9 | 'ignore, for backwards compatability. | ||
| 10 | (appt-display-message): If appt-display-format is 'ignore, | ||
| 11 | respect old vars appt-msg-window and appt-visible. | ||
| 12 | (appt-activate): Don't depend on return value of cancel-timer. | ||
| 13 | |||
| 14 | * calendar/calendar.el (calendar-holidays): Doc fix. | ||
| 15 | |||
| 16 | * calendar/cal-coptic.el (coptic-prompt-for-date): | ||
| 17 | Use assoc-string instead of assoc-ignore-case. | ||
| 18 | * calendar/cal-french.el (calendar-goto-french-date): Ditto. | ||
| 19 | * calendar/cal-hebrew.el (calendar-goto-hebrew-date) | ||
| 20 | (mark-hebrew-diary-entries, list-yahrzeit-dates): Ditto. | ||
| 21 | * calendar/cal-islam.el (calendar-goto-islamic-date) | ||
| 22 | (mark-islamic-diary-entries): Ditto. | ||
| 23 | * calendar/cal-julian.el (calendar-goto-julian-date): Ditto. | ||
| 24 | * calendar/cal-mayan.el (calendar-read-mayan-haab-date) | ||
| 25 | (calendar-read-mayan-tzolkin-date): Ditto. | ||
| 26 | * calendar/calendar.el (calendar-read-date): Ditto. | ||
| 27 | * calendar/diary-lib.el (mark-diary-entries): Ditto. | ||
| 28 | |||
| 1 | 2004-02-18 Markus Rost <rost@mathematik.uni-bielefeld.de> | 29 | 2004-02-18 Markus Rost <rost@mathematik.uni-bielefeld.de> |
| 2 | 30 | ||
| 3 | * progmodes/executable.el (executable-command-find-posix-p): Fix | 31 | * progmodes/executable.el (executable-command-find-posix-p): |
| 4 | choice of the directory. | 32 | Fix choice of the directory. |
| 5 | 33 | ||
| 6 | 2004-02-17 Luc Teirlinck <teirllm@auburn.edu> | 34 | 2004-02-17 Luc Teirlinck <teirllm@auburn.edu> |
| 7 | 35 | ||
| @@ -55,11 +83,11 @@ | |||
| 55 | 83 | ||
| 56 | * rmail-spam-filter.el: (vm-use-spam-filter) | 84 | * rmail-spam-filter.el: (vm-use-spam-filter) |
| 57 | (rsf-min-region-length-added-to-spam-list): New variables. | 85 | (rsf-min-region-length-added-to-spam-list): New variables. |
| 58 | (rsf-bbdb-auto-delete-spam-bbdb-entries): Renamed from | 86 | (rsf-bbdb-auto-delete-spam-bbdb-entries): Rename from |
| 59 | rmail-bbdb-auto-delete-spam-entries. Added cc: to recipients for | 87 | rmail-bbdb-auto-delete-spam-entries. Added cc: to recipients for |
| 60 | spam testing. Don't delete spam message if automatic deletion | 88 | spam testing. Don't delete spam message if automatic deletion |
| 61 | after output via variable rmail-delete-after-output is turned on. | 89 | after output via variable rmail-delete-after-output is turned on. |
| 62 | (rsf-bbdb-dont-create-entries-for-deleted-messages): Renamed from | 90 | (rsf-bbdb-dont-create-entries-for-deleted-messages): Rename from |
| 63 | rsf-bbdb-dont-create-entries-for-spam. | 91 | rsf-bbdb-dont-create-entries-for-spam. |
| 64 | (check-field): New function, extracted from code in | 92 | (check-field): New function, extracted from code in |
| 65 | rmail-spam-filter to ease addition of header fields like | 93 | rmail-spam-filter to ease addition of header fields like |
| @@ -69,11 +97,10 @@ | |||
| 69 | (rmail-spam-filter): Replace repeated test code for header fields | 97 | (rmail-spam-filter): Replace repeated test code for header fields |
| 70 | by calls to check-field; change the call to | 98 | by calls to check-field; change the call to |
| 71 | rmail-output-to-rmail-file such that rmail-current-message stays | 99 | rmail-output-to-rmail-file such that rmail-current-message stays |
| 72 | the same to avoid wrong deletion of unseen | 100 | the same to avoid wrong deletion of unseen flags. |
| 73 | flags. | ||
| 74 | (rsf-add-contents-type): New function to convert old format | 101 | (rsf-add-contents-type): New function to convert old format |
| 75 | of rmail-spam-definitions-alist into new one. | 102 | of rmail-spam-definitions-alist into new one. |
| 76 | Changed prefixes of all variables and functions from | 103 | Change prefixes of all variables and functions from |
| 77 | rmail-spam-filter- or spam-filter- or rmail-spam- to rsf-. | 104 | rmail-spam-filter- or spam-filter- or rmail-spam- to rsf-. |
| 78 | 105 | ||
| 79 | 2004-02-16 Eli Zaretskii <eliz@elta.co.il> | 106 | 2004-02-16 Eli Zaretskii <eliz@elta.co.il> |
| @@ -97,8 +124,8 @@ | |||
| 97 | 2004-02-16 Eli Zaretskii <eliz@elta.co.il> | 124 | 2004-02-16 Eli Zaretskii <eliz@elta.co.il> |
| 98 | 125 | ||
| 99 | * emacs-lisp/rx.el (rx-check, rx-check-any, rx-check-not) | 126 | * emacs-lisp/rx.el (rx-check, rx-check-any, rx-check-not) |
| 100 | (rx-repeat, rx-check-backref, rx-syntax, rx-to-string): Use | 127 | (rx-repeat, rx-check-backref, rx-syntax, rx-to-string): |
| 101 | lower-case "rx" in all error message. | 128 | Use lower-case "rx" in all error message. |
| 102 | 129 | ||
| 103 | 2004-02-16 Dave Love <fx@gnu.org> | 130 | 2004-02-16 Dave Love <fx@gnu.org> |
| 104 | 131 | ||
| @@ -125,7 +152,7 @@ | |||
| 125 | * autorevert.el (auto-revert-active-p, auto-revert-list-diff) | 152 | * autorevert.el (auto-revert-active-p, auto-revert-list-diff) |
| 126 | (auto-revert-dired-file-list, auto-revert-dired-changed-p) | 153 | (auto-revert-dired-file-list, auto-revert-dired-changed-p) |
| 127 | (auto-revert-handler, auto-revert-active-p): New functions. | 154 | (auto-revert-handler, auto-revert-active-p): New functions. |
| 128 | (auto-revert-buffers): Moved revert logic to `auto-revert-handler' | 155 | (auto-revert-buffers): Move revert logic to `auto-revert-handler' |
| 129 | and `auto-revert-active-p'. | 156 | and `auto-revert-active-p'. |
| 130 | (eval-when-compile): Defvar dired-directory and vc-mode. | 157 | (eval-when-compile): Defvar dired-directory and vc-mode. |
| 131 | (auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p) | 158 | (auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p) |
| @@ -188,7 +215,7 @@ | |||
| 188 | 215 | ||
| 189 | 2004-02-14 Martin Stjernholm <bug-cc-mode@gnu.org> | 216 | 2004-02-14 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 190 | 217 | ||
| 191 | * Makefile.in: Fixed the CC Mode recompile kludge so it works | 218 | * Makefile.in: Fix the CC Mode recompile kludge so it works |
| 192 | when building in a different directory. | 219 | when building in a different directory. |
| 193 | 220 | ||
| 194 | 2004-02-13 Luc Teirlinck <teirllm@auburn.edu> | 221 | 2004-02-13 Luc Teirlinck <teirllm@auburn.edu> |
| @@ -197,6 +224,17 @@ | |||
| 197 | 224 | ||
| 198 | 2004-02-11 Stefan Monnier <monnier@iro.umontreal.ca> | 225 | 2004-02-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 199 | 226 | ||
| 227 | * diff.el: Don't use compile any more, use diff-mode instead. | ||
| 228 | (diff-regexp-alist, diff-old-file, diff-new-file) | ||
| 229 | (diff-parse-differences, diff-process-setup): Remove. | ||
| 230 | (diff-sentinel): New fun. | ||
| 231 | (diff): Use it. Run the process ourselves. | ||
| 232 | Use diff-mode for the rest of the processing. | ||
| 233 | |||
| 234 | * diff.el (diff): Simplify code handling `switch'. | ||
| 235 | |||
| 236 | 2004-02-11 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 237 | |||
| 200 | * pcvs-defs.el (cvs-menu): Add `tag'. | 238 | * pcvs-defs.el (cvs-menu): Add `tag'. |
| 201 | 239 | ||
| 202 | 2004-02-11 Luc Teirlinck <teirllm@auburn.edu> | 240 | 2004-02-11 Luc Teirlinck <teirllm@auburn.edu> |
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index f6e33aeefe0..d002b6fd212 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el | |||
| @@ -43,7 +43,7 @@ | |||
| 43 | ;;; documentation of the function `appt-check' is required. | 43 | ;;; documentation of the function `appt-check' is required. |
| 44 | ;;; Relevant customizable variables are also listed in the | 44 | ;;; Relevant customizable variables are also listed in the |
| 45 | ;;; documentation of that function. | 45 | ;;; documentation of that function. |
| 46 | ;;; | 46 | ;;; |
| 47 | ;;; Today's appointment list is initialized from the diary when this | 47 | ;;; Today's appointment list is initialized from the diary when this |
| 48 | ;;; package is activated. Additionally, the appointments list is | 48 | ;;; package is activated. Additionally, the appointments list is |
| 49 | ;;; recreated automatically at 12:01am for those who do not logout | 49 | ;;; recreated automatically at 12:01am for those who do not logout |
| @@ -121,15 +121,16 @@ If non-nil, this variable overrides `appt-visible'." | |||
| 121 | (make-obsolete-variable 'appt-msg-window 'appt-display-format "21.4") | 121 | (make-obsolete-variable 'appt-msg-window 'appt-display-format "21.4") |
| 122 | 122 | ||
| 123 | ;; TODO - add popup. | 123 | ;; TODO - add popup. |
| 124 | (defcustom appt-display-format (cond (appt-msg-window 'window) | 124 | (defcustom appt-display-format 'ignore |
| 125 | (appt-visible 'echo) | ||
| 126 | (t nil)) | ||
| 127 | "How appointment reminders should be displayed. | 125 | "How appointment reminders should be displayed. |
| 128 | The options are: | 126 | The options are: |
| 129 | window - use a separate window | 127 | window - use a separate window |
| 130 | echo - use the echo area | 128 | echo - use the echo area |
| 131 | nil - no visible reminder. | 129 | nil - no visible reminder. |
| 132 | See also `appt-audible' and `appt-display-mode-line'." | 130 | See also `appt-audible' and `appt-display-mode-line'. |
| 131 | |||
| 132 | The default value is 'ignore, which means to fall back on the value | ||
| 133 | of the (obsolete) variables `appt-msg-window' and `appt-visible'." | ||
| 133 | :type '(choice | 134 | :type '(choice |
| 134 | (const :tag "Separate window" window) | 135 | (const :tag "Separate window" window) |
| 135 | (const :tag "Echo-area" echo) | 136 | (const :tag "Echo-area" echo) |
| @@ -222,17 +223,24 @@ If this is non-nil, appointment checking is active.") | |||
| 222 | The string STRING describes the appointment, due in integer MINS minutes. | 223 | The string STRING describes the appointment, due in integer MINS minutes. |
| 223 | The format of the visible reminder is controlled by `appt-display-format'. | 224 | The format of the visible reminder is controlled by `appt-display-format'. |
| 224 | The variable `appt-audible' controls the audible reminder." | 225 | The variable `appt-audible' controls the audible reminder." |
| 225 | (cond ((eq appt-display-format 'window) | 226 | ;; let binding for backwards compatability. Remove when obsolete |
| 226 | (funcall appt-disp-window-function | 227 | ;; vars appt-msg-window and appt-visible are dropped. |
| 227 | (number-to-string mins) | 228 | (let ((appt-display-format |
| 228 | (format-time-string "%a %b %e " (current-time)) | 229 | (if (eq appt-display-format 'ignore) |
| 229 | string) | 230 | (cond (appt-msg-window 'window) |
| 230 | (run-at-time (format "%d sec" appt-display-duration) | 231 | (appt-visible 'echo)) |
| 231 | nil | 232 | appt-display-format))) |
| 232 | appt-delete-window-function)) | 233 | (cond ((eq appt-display-format 'window) |
| 233 | ((eq appt-display-format 'echo) | 234 | (funcall appt-disp-window-function |
| 234 | (message "%s" string))) | 235 | (number-to-string mins) |
| 235 | (if appt-audible (beep 1))) | 236 | (format-time-string "%a %b %e " (current-time)) |
| 237 | string) | ||
| 238 | (run-at-time (format "%d sec" appt-display-duration) | ||
| 239 | nil | ||
| 240 | appt-delete-window-function)) | ||
| 241 | ((eq appt-display-format 'echo) | ||
| 242 | (message "%s" string))) | ||
| 243 | (if appt-audible (beep 1)))) | ||
| 236 | 244 | ||
| 237 | 245 | ||
| 238 | (defun appt-check (&optional force) | 246 | (defun appt-check (&optional force) |
| @@ -648,9 +656,9 @@ ARG is positive, otherwise off." | |||
| 648 | (remove-hook 'write-file-functions 'appt-update-list) | 656 | (remove-hook 'write-file-functions 'appt-update-list) |
| 649 | (or global-mode-string (setq global-mode-string '(""))) | 657 | (or global-mode-string (setq global-mode-string '(""))) |
| 650 | (delq 'appt-mode-string global-mode-string) | 658 | (delq 'appt-mode-string global-mode-string) |
| 651 | (and appt-timer | 659 | (when appt-timer |
| 652 | (cancel-timer appt-timer) | 660 | (cancel-timer appt-timer) |
| 653 | (setq appt-timer nil)) | 661 | (setq appt-timer nil)) |
| 654 | (when appt-active | 662 | (when appt-active |
| 655 | (add-hook 'write-file-functions 'appt-update-list) | 663 | (add-hook 'write-file-functions 'appt-update-list) |
| 656 | (setq appt-timer (run-at-time t 60 'appt-check) | 664 | (setq appt-timer (run-at-time t 60 'appt-check) |
diff --git a/lisp/calendar/cal-coptic.el b/lisp/calendar/cal-coptic.el index f33e80d6991..df1201a23c4 100644 --- a/lisp/calendar/cal-coptic.el +++ b/lisp/calendar/cal-coptic.el | |||
| @@ -151,14 +151,14 @@ Echo Coptic date unless NOECHO is t." | |||
| 151 | (calendar-coptic-from-absolute | 151 | (calendar-coptic-from-absolute |
| 152 | (calendar-absolute-from-gregorian today)))))) | 152 | (calendar-absolute-from-gregorian today)))))) |
| 153 | (completion-ignore-case t) | 153 | (completion-ignore-case t) |
| 154 | (month (cdr (assoc-ignore-case | 154 | (month (cdr (assoc-string |
| 155 | (completing-read | 155 | (completing-read |
| 156 | (format "%s calendar month name: " coptic-name) | 156 | (format "%s calendar month name: " coptic-name) |
| 157 | (mapcar 'list | 157 | (mapcar 'list |
| 158 | (append coptic-calendar-month-name-array nil)) | 158 | (append coptic-calendar-month-name-array nil)) |
| 159 | nil t) | 159 | nil t) |
| 160 | (calendar-make-alist coptic-calendar-month-name-array | 160 | (calendar-make-alist coptic-calendar-month-name-array |
| 161 | 1)))) | 161 | 1) t))) |
| 162 | (last (coptic-calendar-last-day-of-month month year)) | 162 | (last (coptic-calendar-last-day-of-month month year)) |
| 163 | (day (calendar-read | 163 | (day (calendar-read |
| 164 | (format "%s calendar day (1-%d): " coptic-name last) | 164 | (format "%s calendar day (1-%d): " coptic-name last) |
diff --git a/lisp/calendar/cal-french.el b/lisp/calendar/cal-french.el index 7c855e4127a..d988b008f53 100644 --- a/lisp/calendar/cal-french.el +++ b/lisp/calendar/cal-french.el | |||
| @@ -228,12 +228,12 @@ Echo French Revolutionary date unless NOECHO is t." | |||
| 228 | (concat "Jour " x)) | 228 | (concat "Jour " x)) |
| 229 | special-days)))))))) | 229 | special-days)))))))) |
| 230 | (completion-ignore-case t) | 230 | (completion-ignore-case t) |
| 231 | (month (cdr (assoc-ignore-case | 231 | (month (cdr (assoc-string |
| 232 | (completing-read | 232 | (completing-read |
| 233 | "Mois ou Sansculottide: " | 233 | "Mois ou Sansculottide: " |
| 234 | month-list | 234 | month-list |
| 235 | nil t) | 235 | nil t) |
| 236 | (calendar-make-alist month-list 1 'car)))) | 236 | (calendar-make-alist month-list 1 'car) t))) |
| 237 | (day (if (> month 12) | 237 | (day (if (> month 12) |
| 238 | (- month 12) | 238 | (- month 12) |
| 239 | (calendar-read | 239 | (calendar-read |
diff --git a/lisp/calendar/cal-hebrew.el b/lisp/calendar/cal-hebrew.el index acdac6ce5c6..776868159be 100644 --- a/lisp/calendar/cal-hebrew.el +++ b/lisp/calendar/cal-hebrew.el | |||
| @@ -236,17 +236,17 @@ Driven by the variable `calendar-date-display-form'." | |||
| 236 | calendar-hebrew-month-name-array-leap-year | 236 | calendar-hebrew-month-name-array-leap-year |
| 237 | calendar-hebrew-month-name-array-common-year)) | 237 | calendar-hebrew-month-name-array-common-year)) |
| 238 | (completion-ignore-case t) | 238 | (completion-ignore-case t) |
| 239 | (month (cdr (assoc-ignore-case | 239 | (month (cdr (assoc-string |
| 240 | (completing-read | 240 | (completing-read |
| 241 | "Hebrew calendar month name: " | 241 | "Hebrew calendar month name: " |
| 242 | (mapcar 'list (append month-array nil)) | 242 | (mapcar 'list (append month-array nil)) |
| 243 | (if (= year 3761) | 243 | (if (= year 3761) |
| 244 | '(lambda (x) | 244 | '(lambda (x) |
| 245 | (let ((m (cdr | 245 | (let ((m (cdr |
| 246 | (assoc-ignore-case | 246 | (assoc-string |
| 247 | (car x) | 247 | (car x) |
| 248 | (calendar-make-alist | 248 | (calendar-make-alist month-array) |
| 249 | month-array))))) | 249 | t)))) |
| 250 | (< 0 | 250 | (< 0 |
| 251 | (calendar-absolute-from-hebrew | 251 | (calendar-absolute-from-hebrew |
| 252 | (list m | 252 | (list m |
| @@ -254,7 +254,7 @@ Driven by the variable `calendar-date-display-form'." | |||
| 254 | m year) | 254 | m year) |
| 255 | year)))))) | 255 | year)))))) |
| 256 | t) | 256 | t) |
| 257 | (calendar-make-alist month-array 1)))) | 257 | (calendar-make-alist month-array 1) t))) |
| 258 | (last (hebrew-calendar-last-day-of-month month year)) | 258 | (last (hebrew-calendar-last-day-of-month month year)) |
| 259 | (first (if (and (= year 3761) (= month 10)) | 259 | (first (if (and (= year 3761) (= month 10)) |
| 260 | 18 1)) | 260 | 18 1)) |
| @@ -753,18 +753,18 @@ is provided for use as part of the nongregorian-diary-marking-hook." | |||
| 753 | (string-to-int y-str))))) | 753 | (string-to-int y-str))))) |
| 754 | (if dd-name | 754 | (if dd-name |
| 755 | (mark-calendar-days-named | 755 | (mark-calendar-days-named |
| 756 | (cdr (assoc-ignore-case dd-name | 756 | (cdr (assoc-string dd-name |
| 757 | (calendar-make-alist | 757 | (calendar-make-alist |
| 758 | calendar-day-name-array | 758 | calendar-day-name-array |
| 759 | 0 nil calendar-day-abbrev-array)))) | 759 | 0 nil calendar-day-abbrev-array) t))) |
| 760 | (if mm-name | 760 | (if mm-name |
| 761 | (setq mm | 761 | (setq mm |
| 762 | (if (string-equal mm-name "*") 0 | 762 | (if (string-equal mm-name "*") 0 |
| 763 | (cdr | 763 | (cdr |
| 764 | (assoc-ignore-case | 764 | (assoc-string |
| 765 | mm-name | 765 | mm-name |
| 766 | (calendar-make-alist | 766 | (calendar-make-alist |
| 767 | calendar-hebrew-month-name-array-leap-year)))))) | 767 | calendar-hebrew-month-name-array-leap-year) t))))) |
| 768 | (mark-hebrew-calendar-date-pattern mm dd yy))))) | 768 | (mark-hebrew-calendar-date-pattern mm dd yy))))) |
| 769 | (setq d (cdr d))))) | 769 | (setq d (cdr d))))) |
| 770 | 770 | ||
| @@ -839,12 +839,12 @@ from the cursor position." | |||
| 839 | (int-to-string (extract-calendar-year today)))) | 839 | (int-to-string (extract-calendar-year today)))) |
| 840 | (month-array calendar-month-name-array) | 840 | (month-array calendar-month-name-array) |
| 841 | (completion-ignore-case t) | 841 | (completion-ignore-case t) |
| 842 | (month (cdr (assoc-ignore-case | 842 | (month (cdr (assoc-string |
| 843 | (completing-read | 843 | (completing-read |
| 844 | "Month of death (name): " | 844 | "Month of death (name): " |
| 845 | (mapcar 'list (append month-array nil)) | 845 | (mapcar 'list (append month-array nil)) |
| 846 | nil t) | 846 | nil t) |
| 847 | (calendar-make-alist month-array 1)))) | 847 | (calendar-make-alist month-array 1) t))) |
| 848 | (last (calendar-last-day-of-month month year)) | 848 | (last (calendar-last-day-of-month month year)) |
| 849 | (day (calendar-read | 849 | (day (calendar-read |
| 850 | (format "Day of death (1-%d): " last) | 850 | (format "Day of death (1-%d): " last) |
diff --git a/lisp/calendar/cal-islam.el b/lisp/calendar/cal-islam.el index 482b77d74d9..8dcf5c29b1f 100644 --- a/lisp/calendar/cal-islam.el +++ b/lisp/calendar/cal-islam.el | |||
| @@ -154,12 +154,12 @@ Driven by the variable `calendar-date-display-form'." | |||
| 154 | (calendar-absolute-from-gregorian today)))))) | 154 | (calendar-absolute-from-gregorian today)))))) |
| 155 | (month-array calendar-islamic-month-name-array) | 155 | (month-array calendar-islamic-month-name-array) |
| 156 | (completion-ignore-case t) | 156 | (completion-ignore-case t) |
| 157 | (month (cdr (assoc-ignore-case | 157 | (month (cdr (assoc-string |
| 158 | (completing-read | 158 | (completing-read |
| 159 | "Islamic calendar month name: " | 159 | "Islamic calendar month name: " |
| 160 | (mapcar 'list (append month-array nil)) | 160 | (mapcar 'list (append month-array nil)) |
| 161 | nil t) | 161 | nil t) |
| 162 | (calendar-make-alist month-array 1)))) | 162 | (calendar-make-alist month-array 1) t))) |
| 163 | (last (islamic-calendar-last-day-of-month month year)) | 163 | (last (islamic-calendar-last-day-of-month month year)) |
| 164 | (day (calendar-read | 164 | (day (calendar-read |
| 165 | (format "Islamic calendar day (1-%d): " last) | 165 | (format "Islamic calendar day (1-%d): " last) |
| @@ -372,16 +372,16 @@ provided for use as part of the nongregorian-diary-marking-hook." | |||
| 372 | (string-to-int y-str))))) | 372 | (string-to-int y-str))))) |
| 373 | (if dd-name | 373 | (if dd-name |
| 374 | (mark-calendar-days-named | 374 | (mark-calendar-days-named |
| 375 | (cdr (assoc-ignore-case dd-name | 375 | (cdr (assoc-string dd-name |
| 376 | (calendar-make-alist | 376 | (calendar-make-alist |
| 377 | calendar-day-name-array | 377 | calendar-day-name-array |
| 378 | 0 nil calendar-day-abbrev-array)))) | 378 | 0 nil calendar-day-abbrev-array) t))) |
| 379 | (if mm-name | 379 | (if mm-name |
| 380 | (setq mm (if (string-equal mm-name "*") 0 | 380 | (setq mm (if (string-equal mm-name "*") 0 |
| 381 | (cdr (assoc-ignore-case | 381 | (cdr (assoc-string |
| 382 | mm-name | 382 | mm-name |
| 383 | (calendar-make-alist | 383 | (calendar-make-alist |
| 384 | calendar-islamic-month-name-array)))))) | 384 | calendar-islamic-month-name-array) t))))) |
| 385 | (mark-islamic-calendar-date-pattern mm dd yy))))) | 385 | (mark-islamic-calendar-date-pattern mm dd yy))))) |
| 386 | (setq d (cdr d))))) | 386 | (setq d (cdr d))))) |
| 387 | 387 | ||
diff --git a/lisp/calendar/cal-julian.el b/lisp/calendar/cal-julian.el index ac422602dc4..67fb8515b24 100644 --- a/lisp/calendar/cal-julian.el +++ b/lisp/calendar/cal-julian.el | |||
| @@ -115,12 +115,12 @@ Driven by the variable `calendar-date-display-form'." | |||
| 115 | today)))))) | 115 | today)))))) |
| 116 | (month-array calendar-month-name-array) | 116 | (month-array calendar-month-name-array) |
| 117 | (completion-ignore-case t) | 117 | (completion-ignore-case t) |
| 118 | (month (cdr (assoc-ignore-case | 118 | (month (cdr (assoc-string |
| 119 | (completing-read | 119 | (completing-read |
| 120 | "Julian calendar month name: " | 120 | "Julian calendar month name: " |
| 121 | (mapcar 'list (append month-array nil)) | 121 | (mapcar 'list (append month-array nil)) |
| 122 | nil t) | 122 | nil t) |
| 123 | (calendar-make-alist month-array 1)))) | 123 | (calendar-make-alist month-array 1) t))) |
| 124 | (last | 124 | (last |
| 125 | (if (and (zerop (% year 4)) (= month 2)) | 125 | (if (and (zerop (% year 4)) (= month 2)) |
| 126 | 29 | 126 | 29 |
diff --git a/lisp/calendar/cal-mayan.el b/lisp/calendar/cal-mayan.el index acaa1709080..c2c3e027c4b 100644 --- a/lisp/calendar/cal-mayan.el +++ b/lisp/calendar/cal-mayan.el | |||
| @@ -256,11 +256,11 @@ Returns nil if such a tzolkin-haab combination is impossible." | |||
| 256 | (haab-month-list (append calendar-mayan-haab-month-name-array | 256 | (haab-month-list (append calendar-mayan-haab-month-name-array |
| 257 | (and (< haab-day 5) '("Uayeb")))) | 257 | (and (< haab-day 5) '("Uayeb")))) |
| 258 | (haab-month (cdr | 258 | (haab-month (cdr |
| 259 | (assoc-ignore-case | 259 | (assoc-string |
| 260 | (completing-read "Haab uinal: " | 260 | (completing-read "Haab uinal: " |
| 261 | (mapcar 'list haab-month-list) | 261 | (mapcar 'list haab-month-list) |
| 262 | nil t) | 262 | nil t) |
| 263 | (calendar-make-alist haab-month-list 1))))) | 263 | (calendar-make-alist haab-month-list 1) t)))) |
| 264 | (cons haab-day haab-month))) | 264 | (cons haab-day haab-month))) |
| 265 | 265 | ||
| 266 | (defun calendar-read-mayan-tzolkin-date () | 266 | (defun calendar-read-mayan-tzolkin-date () |
| @@ -271,11 +271,11 @@ Returns nil if such a tzolkin-haab combination is impossible." | |||
| 271 | '(lambda (x) (and (> x 0) (< x 14))))) | 271 | '(lambda (x) (and (> x 0) (< x 14))))) |
| 272 | (tzolkin-name-list (append calendar-mayan-tzolkin-names-array nil)) | 272 | (tzolkin-name-list (append calendar-mayan-tzolkin-names-array nil)) |
| 273 | (tzolkin-name (cdr | 273 | (tzolkin-name (cdr |
| 274 | (assoc-ignore-case | 274 | (assoc-string |
| 275 | (completing-read "Tzolkin uinal: " | 275 | (completing-read "Tzolkin uinal: " |
| 276 | (mapcar 'list tzolkin-name-list) | 276 | (mapcar 'list tzolkin-name-list) |
| 277 | nil t) | 277 | nil t) |
| 278 | (calendar-make-alist tzolkin-name-list 1))))) | 278 | (calendar-make-alist tzolkin-name-list 1) t)))) |
| 279 | (cons tzolkin-count tzolkin-name))) | 279 | (cons tzolkin-count tzolkin-name))) |
| 280 | 280 | ||
| 281 | (defun calendar-next-calendar-round-date | 281 | (defun calendar-next-calendar-round-date |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 7440a5c7e02..a0644f54aa2 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -1164,7 +1164,7 @@ example, to include American presidential elections, which occur on the first | |||
| 1164 | Tuesday after the first Monday in November of years divisible by 4, add | 1164 | Tuesday after the first Monday in November of years divisible by 4, add |
| 1165 | 1165 | ||
| 1166 | (holiday-sexp | 1166 | (holiday-sexp |
| 1167 | (if (zerop (% year 4)) | 1167 | '(if (zerop (% year 4)) |
| 1168 | (calendar-gregorian-from-absolute | 1168 | (calendar-gregorian-from-absolute |
| 1169 | (1+ (calendar-dayname-on-or-before | 1169 | (1+ (calendar-dayname-on-or-before |
| 1170 | 1 (+ 6 (calendar-absolute-from-gregorian | 1170 | 1 (+ 6 (calendar-absolute-from-gregorian |
| @@ -2544,12 +2544,12 @@ If optional NODAY is t, does not ask for day, but just returns | |||
| 2544 | (calendar-current-date))))) | 2544 | (calendar-current-date))))) |
| 2545 | (month-array calendar-month-name-array) | 2545 | (month-array calendar-month-name-array) |
| 2546 | (completion-ignore-case t) | 2546 | (completion-ignore-case t) |
| 2547 | (month (cdr (assoc-ignore-case | 2547 | (month (cdr (assoc-string |
| 2548 | (completing-read | 2548 | (completing-read |
| 2549 | "Month name: " | 2549 | "Month name: " |
| 2550 | (mapcar 'list (append month-array nil)) | 2550 | (mapcar 'list (append month-array nil)) |
| 2551 | nil t) | 2551 | nil t) |
| 2552 | (calendar-make-alist month-array 1)))) | 2552 | (calendar-make-alist month-array 1) t))) |
| 2553 | (last (calendar-last-day-of-month month year))) | 2553 | (last (calendar-last-day-of-month month year))) |
| 2554 | (if noday | 2554 | (if noday |
| 2555 | (if (eq noday t) | 2555 | (if (eq noday t) |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index d2a0075fb71..bb4ea20f804 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -906,19 +906,19 @@ After the entries are marked, the hooks `nongregorian-diary-marking-hook' and | |||
| 906 | marks (nth 1 temp)))) | 906 | marks (nth 1 temp)))) |
| 907 | (if dd-name | 907 | (if dd-name |
| 908 | (mark-calendar-days-named | 908 | (mark-calendar-days-named |
| 909 | (cdr (assoc-ignore-case | 909 | (cdr (assoc-string |
| 910 | dd-name | 910 | dd-name |
| 911 | (calendar-make-alist | 911 | (calendar-make-alist |
| 912 | calendar-day-name-array | 912 | calendar-day-name-array |
| 913 | 0 nil calendar-day-abbrev-array))) marks) | 913 | 0 nil calendar-day-abbrev-array) t)) marks) |
| 914 | (if mm-name | 914 | (if mm-name |
| 915 | (setq mm | 915 | (setq mm |
| 916 | (if (string-equal mm-name "*") 0 | 916 | (if (string-equal mm-name "*") 0 |
| 917 | (cdr (assoc-ignore-case | 917 | (cdr (assoc-string |
| 918 | mm-name | 918 | mm-name |
| 919 | (calendar-make-alist | 919 | (calendar-make-alist |
| 920 | calendar-month-name-array | 920 | calendar-month-name-array |
| 921 | 1 nil calendar-month-abbrev-array)))))) | 921 | 1 nil calendar-month-abbrev-array) t))))) |
| 922 | (mark-calendar-date-pattern mm dd yy marks)))) | 922 | (mark-calendar-date-pattern mm dd yy marks)))) |
| 923 | (setq d (cdr d)))) | 923 | (setq d (cdr d)))) |
| 924 | (mark-sexp-diary-entries) | 924 | (mark-sexp-diary-entries) |
diff --git a/lisp/play/morse.el b/lisp/play/morse.el index cda88f4e640..ce4e4877e5e 100644 --- a/lisp/play/morse.el +++ b/lisp/play/morse.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; morse.el --- convert text to morse code and back -*- coding: utf-8 -*- | 1 | ;;; morse.el --- convert text to morse code and back -*- coding: utf-8 -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995, 2002 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1995, 2002, 2004 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Rick Farnbach <rick_farnbach@MENTORG.COM> | 5 | ;; Author: Rick Farnbach <rick_farnbach@MENTORG.COM> |
| 6 | ;; Keywords: games | 6 | ;; Keywords: games |
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | ;;; Commentary: | 25 | ;;; Commentary: |
| 26 | 26 | ||
| 27 | ;; Converts text to Morse code and back with M-x morese-region and | 27 | ;; Converts text to Morse code and back with M-x morse-region and |
| 28 | ;; M-x unmorse-region (though Morse code is no longer official :-(). | 28 | ;; M-x unmorse-region (though Morse code is no longer official :-(). |
| 29 | 29 | ||
| 30 | ;;; Code: | 30 | ;;; Code: |
| @@ -88,7 +88,9 @@ | |||
| 88 | ("Ñ" . "--.--") | 88 | ("Ñ" . "--.--") |
| 89 | ("Ö" . "---.") | 89 | ("Ö" . "---.") |
| 90 | ("Ø" . "---.") | 90 | ("Ø" . "---.") |
| 91 | ("Ü" . "..--")) | 91 | ("Ü" . "..--") |
| 92 | ;; Recently standardized | ||
| 93 | ("@" . ".--.-.")) | ||
| 92 | "Morse code character set.") | 94 | "Morse code character set.") |
| 93 | 95 | ||
| 94 | ;;;###autoload | 96 | ;;;###autoload |