diff options
| author | Paul Eggert | 1999-10-19 07:18:58 +0000 |
|---|---|---|
| committer | Paul Eggert | 1999-10-19 07:18:58 +0000 |
| commit | 64ed733adadc4012f0182b1daee7e105994e85d0 (patch) | |
| tree | c5c1e1b269716db99ec75e396f7b5ad5b031f9c7 | |
| parent | 4ee9629e2beb7a870ab30509d547b6845ef645cf (diff) | |
| download | emacs-64ed733adadc4012f0182b1daee7e105994e85d0.tar.gz emacs-64ed733adadc4012f0182b1daee7e105994e85d0.zip | |
Fix bootstrapping problems.
Use the system locale to specify Emacs locale defaults.
* international/mule-cmds.el (global-map):
Do not use backquote, because that makes a bootstrapping
problem if you need to recompile all Lisp files using interpreted code.
* international/mule.el (charset-id, charset-bytes,
charset-dimension, charset-chars, charset-width,
charset-direction, charset-iso-final-char,
charset-iso-graphic-plane, charset-reverse-charset,
charset-short-name, charset-long-name, charset-description,
charset-plist): Likewise.
* subr.el (save-match-data): Likewise.
* international/mule-cmds.el
(set-display-table-and-terminal-coding-system): New function,
containing code migrated out of set-language-environment.
(set-language-environment, set-locale-environment): Use it.
(locale-translation-file-name): Moved here from startup.el.
(locale-language-names, locale-preferred-coding-systems):
New vars.
(locale-name-match, set-locale-environment): New functions.
* language/japan-util.el (setup-japanese-environment-internal):
Prefer japanese-iso-8bit if the system-type is usg-unix-v.
* startup.el (iso-8859-n-locale-regexp): Remove.
(locale-translation-file-name): Move to mule-cmds.el.
(command-line): Move locale-stuff into set-locale-environment.
| -rw-r--r-- | lisp/ChangeLog | 32 | ||||
| -rw-r--r-- | lisp/loaddefs.el | 88 | ||||
| -rw-r--r-- | lisp/startup.el | 64 | ||||
| -rw-r--r-- | lisp/subr.el | 14 |
4 files changed, 95 insertions, 103 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5119076c64e..dec2cfb9476 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,35 @@ | |||
| 1 | 1999-10-19 Paul Eggert <eggert@twinsun.com> | ||
| 2 | |||
| 3 | Fix bootstrapping problems. | ||
| 4 | Use the system locale to specify Emacs locale defaults. | ||
| 5 | |||
| 6 | * international/mule-cmds.el (global-map): | ||
| 7 | Do not use backquote, because that makes a bootstrapping | ||
| 8 | problem if you need to recompile all Lisp files using interpreted code. | ||
| 9 | * international/mule.el (charset-id, charset-bytes, | ||
| 10 | charset-dimension, charset-chars, charset-width, | ||
| 11 | charset-direction, charset-iso-final-char, | ||
| 12 | charset-iso-graphic-plane, charset-reverse-charset, | ||
| 13 | charset-short-name, charset-long-name, charset-description, | ||
| 14 | charset-plist): Likewise. | ||
| 15 | * subr.el (save-match-data): Likewise. | ||
| 16 | |||
| 17 | * international/mule-cmds.el | ||
| 18 | (set-display-table-and-terminal-coding-system): New function, | ||
| 19 | containing code migrated out of set-language-environment. | ||
| 20 | (set-language-environment, set-locale-environment): Use it. | ||
| 21 | (locale-translation-file-name): Moved here from startup.el. | ||
| 22 | (locale-language-names, locale-preferred-coding-systems): | ||
| 23 | New vars. | ||
| 24 | (locale-name-match, set-locale-environment): New functions. | ||
| 25 | |||
| 26 | * language/japan-util.el (setup-japanese-environment-internal): | ||
| 27 | Prefer japanese-iso-8bit if the system-type is usg-unix-v. | ||
| 28 | |||
| 29 | * startup.el (iso-8859-n-locale-regexp): Remove. | ||
| 30 | (locale-translation-file-name): Move to mule-cmds.el. | ||
| 31 | (command-line): Move locale-stuff into set-locale-environment. | ||
| 32 | |||
| 1 | 1999-10-18 Dave Love <fx@gnu.org> | 33 | 1999-10-18 Dave Love <fx@gnu.org> |
| 2 | 34 | ||
| 3 | * abbrev.el (add-abbrev, inverse-add-abbrev) | 35 | * abbrev.el (add-abbrev, inverse-add-abbrev) |
diff --git a/lisp/loaddefs.el b/lisp/loaddefs.el index 99cad91890c..b2e7e26a2eb 100644 --- a/lisp/loaddefs.el +++ b/lisp/loaddefs.el | |||
| @@ -154,7 +154,7 @@ If you use ada-xref.el: | |||
| 154 | ;;;*** | 154 | ;;;*** |
| 155 | 155 | ||
| 156 | ;;;### (autoloads (ada-header) "ada-stmt" "progmodes/ada-stmt.el" | 156 | ;;;### (autoloads (ada-header) "ada-stmt" "progmodes/ada-stmt.el" |
| 157 | ;;;;;; (14332 44800)) | 157 | ;;;;;; (14344 1074)) |
| 158 | ;;; Generated autoloads from progmodes/ada-stmt.el | 158 | ;;; Generated autoloads from progmodes/ada-stmt.el |
| 159 | 159 | ||
| 160 | (autoload (quote ada-header) "ada-stmt" "\ | 160 | (autoload (quote ada-header) "ada-stmt" "\ |
| @@ -341,7 +341,7 @@ Look at the file `advice.el' for comprehensive documentation." nil (quote macro) | |||
| 341 | ;;;*** | 341 | ;;;*** |
| 342 | 342 | ||
| 343 | ;;;### (autoloads (ange-ftp-hook-function ange-ftp-reread-dir) "ange-ftp" | 343 | ;;;### (autoloads (ange-ftp-hook-function ange-ftp-reread-dir) "ange-ftp" |
| 344 | ;;;;;; "ange-ftp.el" (14333 58084)) | 344 | ;;;;;; "ange-ftp.el" (14344 981)) |
| 345 | ;;; Generated autoloads from ange-ftp.el | 345 | ;;; Generated autoloads from ange-ftp.el |
| 346 | (defalias 'ange-ftp-re-read-dir 'ange-ftp-reread-dir) | 346 | (defalias 'ange-ftp-re-read-dir 'ange-ftp-reread-dir) |
| 347 | 347 | ||
| @@ -1221,7 +1221,7 @@ corresponding bookmark function from Lisp (the one without the | |||
| 1221 | ;;;;;; browse-url-of-buffer browse-url-of-file browse-url-generic-program | 1221 | ;;;;;; browse-url-of-buffer browse-url-of-file browse-url-generic-program |
| 1222 | ;;;;;; browse-url-save-file browse-url-netscape-display browse-url-new-window-p | 1222 | ;;;;;; browse-url-save-file browse-url-netscape-display browse-url-new-window-p |
| 1223 | ;;;;;; browse-url-browser-function) "browse-url" "browse-url.el" | 1223 | ;;;;;; browse-url-browser-function) "browse-url" "browse-url.el" |
| 1224 | ;;;;;; (14124 22275)) | 1224 | ;;;;;; (14344 983)) |
| 1225 | ;;; Generated autoloads from browse-url.el | 1225 | ;;; Generated autoloads from browse-url.el |
| 1226 | 1226 | ||
| 1227 | (defvar browse-url-browser-function (if (eq system-type (quote windows-nt)) (quote browse-url-default-windows-browser) (quote browse-url-netscape)) "\ | 1227 | (defvar browse-url-browser-function (if (eq system-type (quote windows-nt)) (quote browse-url-default-windows-browser) (quote browse-url-netscape)) "\ |
| @@ -2414,7 +2414,7 @@ a future Emacs interpreter will be able to use it.") | |||
| 2414 | ;;;*** | 2414 | ;;;*** |
| 2415 | 2415 | ||
| 2416 | ;;;### (autoloads (common-lisp-indent-function) "cl-indent" "emacs-lisp/cl-indent.el" | 2416 | ;;;### (autoloads (common-lisp-indent-function) "cl-indent" "emacs-lisp/cl-indent.el" |
| 2417 | ;;;;;; (13903 51267)) | 2417 | ;;;;;; (14347 61984)) |
| 2418 | ;;; Generated autoloads from emacs-lisp/cl-indent.el | 2418 | ;;; Generated autoloads from emacs-lisp/cl-indent.el |
| 2419 | 2419 | ||
| 2420 | (autoload (quote common-lisp-indent-function) "cl-indent" nil nil nil) | 2420 | (autoload (quote common-lisp-indent-function) "cl-indent" nil nil nil) |
| @@ -2422,7 +2422,7 @@ a future Emacs interpreter will be able to use it.") | |||
| 2422 | ;;;*** | 2422 | ;;;*** |
| 2423 | 2423 | ||
| 2424 | ;;;### (autoloads (c-macro-expand) "cmacexp" "progmodes/cmacexp.el" | 2424 | ;;;### (autoloads (c-macro-expand) "cmacexp" "progmodes/cmacexp.el" |
| 2425 | ;;;;;; (14286 28586)) | 2425 | ;;;;;; (14344 1077)) |
| 2426 | ;;; Generated autoloads from progmodes/cmacexp.el | 2426 | ;;; Generated autoloads from progmodes/cmacexp.el |
| 2427 | 2427 | ||
| 2428 | (autoload (quote c-macro-expand) "cmacexp" "\ | 2428 | (autoload (quote c-macro-expand) "cmacexp" "\ |
| @@ -3396,7 +3396,7 @@ The most useful commands are: | |||
| 3396 | ;;;*** | 3396 | ;;;*** |
| 3397 | 3397 | ||
| 3398 | ;;;### (autoloads (delimit-columns-rectangle delimit-columns-region) | 3398 | ;;;### (autoloads (delimit-columns-rectangle delimit-columns-region) |
| 3399 | ;;;;;; "delim-col" "delim-col.el" (14309 21213)) | 3399 | ;;;;;; "delim-col" "delim-col.el" (14344 985)) |
| 3400 | ;;; Generated autoloads from delim-col.el | 3400 | ;;; Generated autoloads from delim-col.el |
| 3401 | 3401 | ||
| 3402 | (autoload (quote delimit-columns-region) "delim-col" "\ | 3402 | (autoload (quote delimit-columns-region) "delim-col" "\ |
| @@ -3662,11 +3662,25 @@ The backup file is the first file given to `diff'." t nil) | |||
| 3662 | 3662 | ||
| 3663 | ;;;*** | 3663 | ;;;*** |
| 3664 | 3664 | ||
| 3665 | ;;;### (autoloads (diff-mode) "diff-mode" "diff-mode.el" (14344 986)) | ||
| 3666 | ;;; Generated autoloads from diff-mode.el | ||
| 3667 | |||
| 3668 | (autoload (quote diff-mode) "diff-mode" "\ | ||
| 3669 | Major mode for viewing context diffs. | ||
| 3670 | Supports unified and context diffs as well as (to a lesser extent) normal diffs. | ||
| 3671 | When the buffer is read-only, the ESC prefix is not necessary. | ||
| 3672 | This mode runs `diff-mode-hook'. | ||
| 3673 | \\{diff-mode-map}" t nil) | ||
| 3674 | |||
| 3675 | (add-to-list (quote auto-mode-alist) (quote ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode))) | ||
| 3676 | |||
| 3677 | ;;;*** | ||
| 3678 | |||
| 3665 | ;;;### (autoloads (dired-noselect dired-other-frame dired-other-window | 3679 | ;;;### (autoloads (dired-noselect dired-other-frame dired-other-window |
| 3666 | ;;;;;; dired dired-copy-preserve-time dired-dwim-target dired-keep-marker-symlink | 3680 | ;;;;;; dired dired-copy-preserve-time dired-dwim-target dired-keep-marker-symlink |
| 3667 | ;;;;;; dired-keep-marker-hardlink dired-keep-marker-copy dired-keep-marker-rename | 3681 | ;;;;;; dired-keep-marker-hardlink dired-keep-marker-copy dired-keep-marker-rename |
| 3668 | ;;;;;; dired-trivial-filenames dired-ls-F-marks-symlinks dired-listing-switches) | 3682 | ;;;;;; dired-trivial-filenames dired-ls-F-marks-symlinks dired-listing-switches) |
| 3669 | ;;;;;; "dired" "dired.el" (14315 30001)) | 3683 | ;;;;;; "dired" "dired.el" (14344 987)) |
| 3670 | ;;; Generated autoloads from dired.el | 3684 | ;;; Generated autoloads from dired.el |
| 3671 | 3685 | ||
| 3672 | (defvar dired-listing-switches "-al" "\ | 3686 | (defvar dired-listing-switches "-al" "\ |
| @@ -4328,7 +4342,7 @@ With prefix arg NOCONFIRM, execute current line as-is without editing." t nil) | |||
| 4328 | ;;;*** | 4342 | ;;;*** |
| 4329 | 4343 | ||
| 4330 | ;;;### (autoloads (edebug-eval-top-level-form def-edebug-spec edebug-all-forms | 4344 | ;;;### (autoloads (edebug-eval-top-level-form def-edebug-spec edebug-all-forms |
| 4331 | ;;;;;; edebug-all-defs) "edebug" "emacs-lisp/edebug.el" (14315 34133)) | 4345 | ;;;;;; edebug-all-defs) "edebug" "emacs-lisp/edebug.el" (14347 61987)) |
| 4332 | ;;; Generated autoloads from emacs-lisp/edebug.el | 4346 | ;;; Generated autoloads from emacs-lisp/edebug.el |
| 4333 | 4347 | ||
| 4334 | (defvar edebug-all-defs nil "\ | 4348 | (defvar edebug-all-defs nil "\ |
| @@ -4542,7 +4556,7 @@ Display Ediff's registry." t nil) | |||
| 4542 | ;;;*** | 4556 | ;;;*** |
| 4543 | 4557 | ||
| 4544 | ;;;### (autoloads (ediff-toggle-use-toolbar ediff-toggle-multiframe) | 4558 | ;;;### (autoloads (ediff-toggle-use-toolbar ediff-toggle-multiframe) |
| 4545 | ;;;;;; "ediff-util" "ediff-util.el" (13896 8938)) | 4559 | ;;;;;; "ediff-util" "ediff-util.el" (14344 991)) |
| 4546 | ;;; Generated autoloads from ediff-util.el | 4560 | ;;; Generated autoloads from ediff-util.el |
| 4547 | 4561 | ||
| 4548 | (autoload (quote ediff-toggle-multiframe) "ediff-util" "\ | 4562 | (autoload (quote ediff-toggle-multiframe) "ediff-util" "\ |
| @@ -4733,7 +4747,7 @@ Prompts for bug subject. Leaves you in a mail buffer." t nil) | |||
| 4733 | ;;;;;; emerge-revisions emerge-files-with-ancestor-remote emerge-files-remote | 4747 | ;;;;;; emerge-revisions emerge-files-with-ancestor-remote emerge-files-remote |
| 4734 | ;;;;;; emerge-files-with-ancestor-command emerge-files-command emerge-buffers-with-ancestor | 4748 | ;;;;;; emerge-files-with-ancestor-command emerge-files-command emerge-buffers-with-ancestor |
| 4735 | ;;;;;; emerge-buffers emerge-files-with-ancestor emerge-files) "emerge" | 4749 | ;;;;;; emerge-buffers emerge-files-with-ancestor emerge-files) "emerge" |
| 4736 | ;;;;;; "emerge.el" (13661 53633)) | 4750 | ;;;;;; "emerge.el" (14344 994)) |
| 4737 | ;;; Generated autoloads from emerge.el | 4751 | ;;; Generated autoloads from emerge.el |
| 4738 | 4752 | ||
| 4739 | (defvar menu-bar-emerge-menu (make-sparse-keymap "Emerge")) | 4753 | (defvar menu-bar-emerge-menu (make-sparse-keymap "Emerge")) |
| @@ -5605,7 +5619,7 @@ Start Dired, defaulting to file at point. See `ffap'." t nil) | |||
| 5605 | ;;;*** | 5619 | ;;;*** |
| 5606 | 5620 | ||
| 5607 | ;;;### (autoloads (file-cache-minibuffer-complete) "filecache" "filecache.el" | 5621 | ;;;### (autoloads (file-cache-minibuffer-complete) "filecache" "filecache.el" |
| 5608 | ;;;;;; (14332 47695)) | 5622 | ;;;;;; (14332 47759)) |
| 5609 | ;;; Generated autoloads from filecache.el | 5623 | ;;; Generated autoloads from filecache.el |
| 5610 | 5624 | ||
| 5611 | (autoload (quote file-cache-minibuffer-complete) "filecache" "\ | 5625 | (autoload (quote file-cache-minibuffer-complete) "filecache" "\ |
| @@ -5622,7 +5636,7 @@ the name is considered already unique; only the second substitution | |||
| 5622 | ;;;*** | 5636 | ;;;*** |
| 5623 | 5637 | ||
| 5624 | ;;;### (autoloads (find-grep-dired find-name-dired find-dired find-grep-options | 5638 | ;;;### (autoloads (find-grep-dired find-name-dired find-dired find-grep-options |
| 5625 | ;;;;;; find-ls-option) "find-dired" "find-dired.el" (14263 35426)) | 5639 | ;;;;;; find-ls-option) "find-dired" "find-dired.el" (14344 998)) |
| 5626 | ;;; Generated autoloads from find-dired.el | 5640 | ;;; Generated autoloads from find-dired.el |
| 5627 | 5641 | ||
| 5628 | (defvar find-ls-option (if (eq system-type (quote berkeley-unix)) (quote ("-ls" . "-gilsb")) (quote ("-exec ls -ld {} \\;" . "-ld"))) "\ | 5642 | (defvar find-ls-option (if (eq system-type (quote berkeley-unix)) (quote ("-ls" . "-gilsb")) (quote ("-exec ls -ld {} \\;" . "-ld"))) "\ |
| @@ -6058,7 +6072,7 @@ Fontify the current buffer the way `font-lock-mode' would." t nil) | |||
| 6058 | ;;;*** | 6072 | ;;;*** |
| 6059 | 6073 | ||
| 6060 | ;;;### (autoloads (create-fontset-from-fontset-spec) "fontset" "international/fontset.el" | 6074 | ;;;### (autoloads (create-fontset-from-fontset-spec) "fontset" "international/fontset.el" |
| 6061 | ;;;;;; (14094 46602)) | 6075 | ;;;;;; (14344 1056)) |
| 6062 | ;;; Generated autoloads from international/fontset.el | 6076 | ;;; Generated autoloads from international/fontset.el |
| 6063 | 6077 | ||
| 6064 | (autoload (quote create-fontset-from-fontset-spec) "fontset" "\ | 6078 | (autoload (quote create-fontset-from-fontset-spec) "fontset" "\ |
| @@ -6404,7 +6418,7 @@ Update the format specification near point." t nil) | |||
| 6404 | ;;;*** | 6418 | ;;;*** |
| 6405 | 6419 | ||
| 6406 | ;;;### (autoloads (gnus-declare-backend gnus-unload) "gnus-start" | 6420 | ;;;### (autoloads (gnus-declare-backend gnus-unload) "gnus-start" |
| 6407 | ;;;;;; "gnus/gnus-start.el" (14030 49423)) | 6421 | ;;;;;; "gnus/gnus-start.el" (14344 1048)) |
| 6408 | ;;; Generated autoloads from gnus/gnus-start.el | 6422 | ;;; Generated autoloads from gnus/gnus-start.el |
| 6409 | 6423 | ||
| 6410 | (autoload (quote gnus-unload) "gnus-start" "\ | 6424 | (autoload (quote gnus-unload) "gnus-start" "\ |
| @@ -7094,7 +7108,7 @@ Switches to the buffer `*ielm*', or creates it if it does not exist." t nil) | |||
| 7094 | 7108 | ||
| 7095 | ;;;### (autoloads (defimage remove-images insert-image put-image | 7109 | ;;;### (autoloads (defimage remove-images insert-image put-image |
| 7096 | ;;;;;; create-image image-type-available-p image-type-from-file-header) | 7110 | ;;;;;; create-image image-type-available-p image-type-from-file-header) |
| 7097 | ;;;;;; "image" "image.el" (14330 17997)) | 7111 | ;;;;;; "image" "image.el" (14344 1003)) |
| 7098 | ;;; Generated autoloads from image.el | 7112 | ;;; Generated autoloads from image.el |
| 7099 | 7113 | ||
| 7100 | (autoload (quote image-type-from-file-header) "image" "\ | 7114 | (autoload (quote image-type-from-file-header) "image" "\ |
| @@ -7357,7 +7371,7 @@ of `inferior-lisp-program'). Runs the hooks from | |||
| 7357 | 7371 | ||
| 7358 | ;;;### (autoloads (Info-speedbar-browser Info-goto-emacs-key-command-node | 7372 | ;;;### (autoloads (Info-speedbar-browser Info-goto-emacs-key-command-node |
| 7359 | ;;;;;; Info-goto-emacs-command-node info-standalone info info-other-window) | 7373 | ;;;;;; Info-goto-emacs-command-node info-standalone info info-other-window) |
| 7360 | ;;;;;; "info" "info.el" (14331 38705)) | 7374 | ;;;;;; "info" "info.el" (14344 1005)) |
| 7361 | ;;; Generated autoloads from info.el | 7375 | ;;; Generated autoloads from info.el |
| 7362 | 7376 | ||
| 7363 | (autoload (quote info-other-window) "info" "\ | 7377 | (autoload (quote info-other-window) "info" "\ |
| @@ -7809,7 +7823,7 @@ You can bind this to the key C-c i in GNUS or mail by adding to | |||
| 7809 | 7823 | ||
| 7810 | ;;;### (autoloads (iswitchb-buffer-other-frame iswitchb-display-buffer | 7824 | ;;;### (autoloads (iswitchb-buffer-other-frame iswitchb-display-buffer |
| 7811 | ;;;;;; iswitchb-buffer-other-window iswitchb-buffer iswitchb-default-keybindings | 7825 | ;;;;;; iswitchb-buffer-other-window iswitchb-buffer iswitchb-default-keybindings |
| 7812 | ;;;;;; iswitchb-read-buffer) "iswitchb" "iswitchb.el" (14327 30798)) | 7826 | ;;;;;; iswitchb-read-buffer) "iswitchb" "iswitchb.el" (14347 61960)) |
| 7813 | ;;; Generated autoloads from iswitchb.el | 7827 | ;;; Generated autoloads from iswitchb.el |
| 7814 | 7828 | ||
| 7815 | (autoload (quote iswitchb-read-buffer) "iswitchb" "\ | 7829 | (autoload (quote iswitchb-read-buffer) "iswitchb" "\ |
| @@ -7854,7 +7868,7 @@ For details of keybindings, do `\\[describe-function] iswitchb'." t nil) | |||
| 7854 | ;;;;;; japanese-hiragana-region japanese-katakana-region japanese-zenkaku | 7868 | ;;;;;; japanese-hiragana-region japanese-katakana-region japanese-zenkaku |
| 7855 | ;;;;;; japanese-hankaku japanese-hiragana japanese-katakana setup-japanese-environment-internal | 7869 | ;;;;;; japanese-hankaku japanese-hiragana japanese-katakana setup-japanese-environment-internal |
| 7856 | ;;;;;; setup-japanese-environment) "japan-util" "language/japan-util.el" | 7870 | ;;;;;; setup-japanese-environment) "japan-util" "language/japan-util.el" |
| 7857 | ;;;;;; (13903 50605)) | 7871 | ;;;;;; (14347 63248)) |
| 7858 | ;;; Generated autoloads from language/japan-util.el | 7872 | ;;; Generated autoloads from language/japan-util.el |
| 7859 | 7873 | ||
| 7860 | (autoload (quote setup-japanese-environment) "japan-util" "\ | 7874 | (autoload (quote setup-japanese-environment) "japan-util" "\ |
| @@ -7955,7 +7969,7 @@ Unconditionally turn on Just-in-time Lock mode." nil nil) | |||
| 7955 | ;;;*** | 7969 | ;;;*** |
| 7956 | 7970 | ||
| 7957 | ;;;### (autoloads (auto-compression-mode) "jka-compr" "jka-compr.el" | 7971 | ;;;### (autoloads (auto-compression-mode) "jka-compr" "jka-compr.el" |
| 7958 | ;;;;;; (14263 64153)) | 7972 | ;;;;;; (14344 1006)) |
| 7959 | ;;; Generated autoloads from jka-compr.el | 7973 | ;;; Generated autoloads from jka-compr.el |
| 7960 | 7974 | ||
| 7961 | (defvar auto-compression-mode nil "\ | 7975 | (defvar auto-compression-mode nil "\ |
| @@ -8181,11 +8195,12 @@ is nil, raise an error." t nil) | |||
| 8181 | ;;;*** | 8195 | ;;;*** |
| 8182 | 8196 | ||
| 8183 | ;;;### (autoloads (locate-with-filter locate) "locate" "locate.el" | 8197 | ;;;### (autoloads (locate-with-filter locate) "locate" "locate.el" |
| 8184 | ;;;;;; (13685 31872)) | 8198 | ;;;;;; (14344 1013)) |
| 8185 | ;;; Generated autoloads from locate.el | 8199 | ;;; Generated autoloads from locate.el |
| 8186 | 8200 | ||
| 8187 | (autoload (quote locate) "locate" "\ | 8201 | (autoload (quote locate) "locate" "\ |
| 8188 | Run the program `locate', putting results in `*Locate*' buffer." t nil) | 8202 | Run the program `locate', putting results in `*Locate*' buffer. |
| 8203 | With prefix arg, prompt for the locate command to run." t nil) | ||
| 8189 | 8204 | ||
| 8190 | (autoload (quote locate-with-filter) "locate" "\ | 8205 | (autoload (quote locate-with-filter) "locate" "\ |
| 8191 | Run the locate command with a filter." t nil) | 8206 | Run the locate command with a filter." t nil) |
| @@ -8791,7 +8806,7 @@ Turning on MetaPost mode calls the value of the variable | |||
| 8791 | 8806 | ||
| 8792 | ;;;### (autoloads (metamail-region metamail-buffer metamail-interpret-body | 8807 | ;;;### (autoloads (metamail-region metamail-buffer metamail-interpret-body |
| 8793 | ;;;;;; metamail-interpret-header) "metamail" "mail/metamail.el" | 8808 | ;;;;;; metamail-interpret-header) "metamail" "mail/metamail.el" |
| 8794 | ;;;;;; (14280 10636)) | 8809 | ;;;;;; (14344 1065)) |
| 8795 | ;;; Generated autoloads from mail/metamail.el | 8810 | ;;; Generated autoloads from mail/metamail.el |
| 8796 | 8811 | ||
| 8797 | (autoload (quote metamail-interpret-header) "metamail" "\ | 8812 | (autoload (quote metamail-interpret-header) "metamail" "\ |
| @@ -9321,9 +9336,9 @@ even if WITH-COMPOSITION-RULE is t." nil nil) | |||
| 9321 | ;;;*** | 9336 | ;;;*** |
| 9322 | 9337 | ||
| 9323 | ;;;### (autoloads (network-connection network-connection-to-service | 9338 | ;;;### (autoloads (network-connection network-connection-to-service |
| 9324 | ;;;;;; whois-reverse-lookup whois finger ftp nslookup nslookup-host | 9339 | ;;;;;; whois-reverse-lookup whois finger ftp dig nslookup nslookup-host |
| 9325 | ;;;;;; route arp netstat ipconfig ping traceroute) "net-utils" "net-utils.el" | 9340 | ;;;;;; route arp netstat ipconfig ping traceroute) "net-utils" "net-utils.el" |
| 9326 | ;;;;;; (14241 51006)) | 9341 | ;;;;;; (14344 1016)) |
| 9327 | ;;; Generated autoloads from net-utils.el | 9342 | ;;; Generated autoloads from net-utils.el |
| 9328 | 9343 | ||
| 9329 | (autoload (quote traceroute) "net-utils" "\ | 9344 | (autoload (quote traceroute) "net-utils" "\ |
| @@ -9354,6 +9369,9 @@ Lookup the DNS information for HOST." t nil) | |||
| 9354 | (autoload (quote nslookup) "net-utils" "\ | 9369 | (autoload (quote nslookup) "net-utils" "\ |
| 9355 | Run nslookup program." t nil) | 9370 | Run nslookup program." t nil) |
| 9356 | 9371 | ||
| 9372 | (autoload (quote dig) "net-utils" "\ | ||
| 9373 | Run dig program." t nil) | ||
| 9374 | |||
| 9357 | (autoload (quote ftp) "net-utils" "\ | 9375 | (autoload (quote ftp) "net-utils" "\ |
| 9358 | Run ftp program." t nil) | 9376 | Run ftp program." t nil) |
| 9359 | 9377 | ||
| @@ -9904,7 +9922,7 @@ for the existing fields and displays a corresponding form." t nil) | |||
| 9904 | ;;;*** | 9922 | ;;;*** |
| 9905 | 9923 | ||
| 9906 | ;;;### (autoloads (picture-mode) "picture" "textmodes/picture.el" | 9924 | ;;;### (autoloads (picture-mode) "picture" "textmodes/picture.el" |
| 9907 | ;;;;;; (14240 52722)) | 9925 | ;;;;;; (14347 62026)) |
| 9908 | ;;; Generated autoloads from textmodes/picture.el | 9926 | ;;; Generated autoloads from textmodes/picture.el |
| 9909 | 9927 | ||
| 9910 | (autoload (quote picture-mode) "picture" "\ | 9928 | (autoload (quote picture-mode) "picture" "\ |
| @@ -10022,8 +10040,8 @@ The default value is '(\"/usr/local/share/emacs/fonts/bdf\").") | |||
| 10022 | 10040 | ||
| 10023 | ;;;*** | 10041 | ;;;*** |
| 10024 | 10042 | ||
| 10025 | ;;;### (autoloads (ps-mode) "ps-mode" "progmodes/ps-mode.el" (14337 | 10043 | ;;;### (autoloads (ps-mode) "ps-mode" "progmodes/ps-mode.el" (14339 |
| 10026 | ;;;;;; 63130)) | 10044 | ;;;;;; 19431)) |
| 10027 | ;;; Generated autoloads from progmodes/ps-mode.el | 10045 | ;;; Generated autoloads from progmodes/ps-mode.el |
| 10028 | 10046 | ||
| 10029 | (autoload (quote ps-mode) "ps-mode" "\ | 10047 | (autoload (quote ps-mode) "ps-mode" "\ |
| @@ -10437,7 +10455,7 @@ of each directory." t nil) | |||
| 10437 | 10455 | ||
| 10438 | ;;;### (autoloads (quickurl-list quickurl-list-mode quickurl-edit-urls | 10456 | ;;;### (autoloads (quickurl-list quickurl-list-mode quickurl-edit-urls |
| 10439 | ;;;;;; quickurl-browse-url-ask quickurl-browse-url quickurl-add-url | 10457 | ;;;;;; quickurl-browse-url-ask quickurl-browse-url quickurl-add-url |
| 10440 | ;;;;;; quickurl-ask quickurl) "quickurl" "quickurl.el" (14339 7894)) | 10458 | ;;;;;; quickurl-ask quickurl) "quickurl" "quickurl.el" (14344 1017)) |
| 10441 | ;;; Generated autoloads from quickurl.el | 10459 | ;;; Generated autoloads from quickurl.el |
| 10442 | 10460 | ||
| 10443 | (defconst quickurl-reread-hook-postfix "\n;; Local Variables:\n;; eval: (progn (require 'quickurl) (add-hook 'local-write-file-hooks (lambda () (quickurl-read) nil)))\n;; End:\n" "\ | 10461 | (defconst quickurl-reread-hook-postfix "\n;; Local Variables:\n;; eval: (progn (require 'quickurl) (add-hook 'local-write-file-hooks (lambda () (quickurl-read) nil)))\n;; End:\n" "\ |
| @@ -10493,7 +10511,7 @@ See \\[compile]." t nil) | |||
| 10493 | ;;;*** | 10511 | ;;;*** |
| 10494 | 10512 | ||
| 10495 | ;;;### (autoloads (recentf-cleanup recentf-save-list recentf-mode) | 10513 | ;;;### (autoloads (recentf-cleanup recentf-save-list recentf-mode) |
| 10496 | ;;;;;; "recentf" "recentf.el" (14339 41278)) | 10514 | ;;;;;; "recentf" "recentf.el" (14339 41776)) |
| 10497 | ;;; Generated autoloads from recentf.el | 10515 | ;;; Generated autoloads from recentf.el |
| 10498 | 10516 | ||
| 10499 | (autoload (quote recentf-mode) "recentf" "\ | 10517 | (autoload (quote recentf-mode) "recentf" "\ |
| @@ -10671,7 +10689,7 @@ While entering the regexp, completion on knows citation keys is possible. | |||
| 10671 | ;;;*** | 10689 | ;;;*** |
| 10672 | 10690 | ||
| 10673 | ;;;### (autoloads (regexp-opt-depth regexp-opt) "regexp-opt" "emacs-lisp/regexp-opt.el" | 10691 | ;;;### (autoloads (regexp-opt-depth regexp-opt) "regexp-opt" "emacs-lisp/regexp-opt.el" |
| 10674 | ;;;;;; (14334 30691)) | 10692 | ;;;;;; (14334 30885)) |
| 10675 | ;;; Generated autoloads from emacs-lisp/regexp-opt.el | 10693 | ;;; Generated autoloads from emacs-lisp/regexp-opt.el |
| 10676 | 10694 | ||
| 10677 | (autoload (quote regexp-opt) "regexp-opt" "\ | 10695 | (autoload (quote regexp-opt) "regexp-opt" "\ |
| @@ -10812,7 +10830,7 @@ variable." t nil) | |||
| 10812 | ;;;;;; rmail-mail-new-frame rmail-primary-inbox-list rmail-delete-after-output | 10830 | ;;;;;; rmail-mail-new-frame rmail-primary-inbox-list rmail-delete-after-output |
| 10813 | ;;;;;; rmail-highlight-face rmail-highlighted-headers rmail-retry-ignored-headers | 10831 | ;;;;;; rmail-highlight-face rmail-highlighted-headers rmail-retry-ignored-headers |
| 10814 | ;;;;;; rmail-displayed-headers rmail-ignored-headers rmail-dont-reply-to-names) | 10832 | ;;;;;; rmail-displayed-headers rmail-ignored-headers rmail-dont-reply-to-names) |
| 10815 | ;;;;;; "rmail" "mail/rmail.el" (14292 14011)) | 10833 | ;;;;;; "rmail" "mail/rmail.el" (14344 1068)) |
| 10816 | ;;; Generated autoloads from mail/rmail.el | 10834 | ;;; Generated autoloads from mail/rmail.el |
| 10817 | 10835 | ||
| 10818 | (defvar rmail-dont-reply-to-names nil "\ | 10836 | (defvar rmail-dont-reply-to-names nil "\ |
| @@ -11546,7 +11564,7 @@ To work around that, do: | |||
| 11546 | ;;;*** | 11564 | ;;;*** |
| 11547 | 11565 | ||
| 11548 | ;;;### (autoloads (sh-mode) "sh-script" "progmodes/sh-script.el" | 11566 | ;;;### (autoloads (sh-mode) "sh-script" "progmodes/sh-script.el" |
| 11549 | ;;;;;; (14339 9963)) | 11567 | ;;;;;; (14344 1082)) |
| 11550 | ;;; Generated autoloads from progmodes/sh-script.el | 11568 | ;;; Generated autoloads from progmodes/sh-script.el |
| 11551 | 11569 | ||
| 11552 | (put (quote sh-mode) (quote mode-class) (quote special)) | 11570 | (put (quote sh-mode) (quote mode-class) (quote special)) |
| @@ -11863,7 +11881,7 @@ symmetrical ones, and the same character twice for the others." t nil) | |||
| 11863 | ;;;*** | 11881 | ;;;*** |
| 11864 | 11882 | ||
| 11865 | ;;;### (autoloads (smtpmail-send-it) "smtpmail" "mail/smtpmail.el" | 11883 | ;;;### (autoloads (smtpmail-send-it) "smtpmail" "mail/smtpmail.el" |
| 11866 | ;;;;;; (14186 47152)) | 11884 | ;;;;;; (14344 1070)) |
| 11867 | ;;; Generated autoloads from mail/smtpmail.el | 11885 | ;;; Generated autoloads from mail/smtpmail.el |
| 11868 | 11886 | ||
| 11869 | (autoload (quote smtpmail-send-it) "smtpmail" nil nil nil) | 11887 | (autoload (quote smtpmail-send-it) "smtpmail" nil nil nil) |
| @@ -13689,8 +13707,8 @@ The buffer in question is current when this function is called." nil nil) | |||
| 13689 | ;;;;;; vc-create-snapshot vc-directory vc-resolve-conflicts vc-merge | 13707 | ;;;;;; vc-create-snapshot vc-directory vc-resolve-conflicts vc-merge |
| 13690 | ;;;;;; vc-insert-headers vc-version-other-window vc-diff vc-register | 13708 | ;;;;;; vc-insert-headers vc-version-other-window vc-diff vc-register |
| 13691 | ;;;;;; vc-next-action edit-vc-file with-vc-file vc-annotate-mode-hook | 13709 | ;;;;;; vc-next-action edit-vc-file with-vc-file vc-annotate-mode-hook |
| 13692 | ;;;;;; vc-before-checkin-hook vc-checkin-hook) "vc" "vc.el" (14325 | 13710 | ;;;;;; vc-before-checkin-hook vc-checkin-hook) "vc" "vc.el" (14344 |
| 13693 | ;;;;;; 58398)) | 13711 | ;;;;;; 1029)) |
| 13694 | ;;; Generated autoloads from vc.el | 13712 | ;;; Generated autoloads from vc.el |
| 13695 | 13713 | ||
| 13696 | (defvar vc-checkin-hook nil "\ | 13714 | (defvar vc-checkin-hook nil "\ |
diff --git a/lisp/startup.el b/lisp/startup.el index a0daa9bff89..bc9207d446c 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -296,15 +296,6 @@ is less convenient." | |||
| 296 | :type '(choice (const :tag "none" nil) string) | 296 | :type '(choice (const :tag "none" nil) string) |
| 297 | :group 'initialization) | 297 | :group 'initialization) |
| 298 | 298 | ||
| 299 | (defconst iso-8859-n-locale-regexp "8859[-_]?\\([1-49]\\|1[45]\\)\\>" | ||
| 300 | "Regexp that specifies when to enable an ISO 8859-N character set. | ||
| 301 | We do that if this regexp matches the locale name specified by | ||
| 302 | one of the environment variables LC_ALL, LC_CTYPE, or LANG. | ||
| 303 | The paren group in the regexp should match the specific character | ||
| 304 | set number, N. Currently only Latin-[1234589] are supported. | ||
| 305 | \(Note that Latin-5 is ISO 8859-9, because 8859-[678] are non-Latin | ||
| 306 | alphabets; hence, supported values of N are 1, 2, 3, 4, 9, 14 and 15.\)") | ||
| 307 | |||
| 308 | (defcustom mail-host-address nil | 299 | (defcustom mail-host-address nil |
| 309 | "*Name of this machine, for purposes of naming users." | 300 | "*Name of this machine, for purposes of naming users." |
| 310 | :type '(choice (const nil) string) | 301 | :type '(choice (const nil) string) |
| @@ -331,20 +322,6 @@ from being initialized." | |||
| 331 | string) | 322 | string) |
| 332 | :group 'auto-save) | 323 | :group 'auto-save) |
| 333 | 324 | ||
| 334 | (defvar locale-translation-file-name | ||
| 335 | (let ((files '("/usr/lib/X11/locale/locale.alias" ; e.g. X11R6.4 | ||
| 336 | "/usr/X11R6/lib/X11/locale/locale.alias" ; e.g. RedHat 4.2 | ||
| 337 | "/usr/openwin/lib/locale/locale.alias" ; e.g. Solaris 2.6 | ||
| 338 | ;; | ||
| 339 | ;; The following name appears after the X-related names above, | ||
| 340 | ;; since the X-related names are what X actually uses. | ||
| 341 | "/usr/share/locale/locale.alias" ; GNU/Linux sans X | ||
| 342 | ))) | ||
| 343 | (while (and files (not (file-exists-p (car files)))) | ||
| 344 | (setq files (cdr files))) | ||
| 345 | (car files)) | ||
| 346 | "*File name for the system's file of locale-name aliases, or nil if none.") | ||
| 347 | |||
| 348 | (defvar init-file-debug nil) | 325 | (defvar init-file-debug nil) |
| 349 | 326 | ||
| 350 | (defvar init-file-had-error nil) | 327 | (defvar init-file-had-error nil) |
| @@ -521,46 +498,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 521 | (string= vc "simple")) | 498 | (string= vc "simple")) |
| 522 | (setq version-control 'never)))) | 499 | (setq version-control 'never)))) |
| 523 | 500 | ||
| 524 | (let ((ctype | 501 | (set-locale-environment nil) |
| 525 | ;; Use the first of these three envvars that has a nonempty value. | ||
| 526 | (or (let ((string (getenv "LC_ALL"))) | ||
| 527 | (and (not (equal string "")) string)) | ||
| 528 | (let ((string (getenv "LC_CTYPE"))) | ||
| 529 | (and (not (equal string "")) string)) | ||
| 530 | (let ((string (getenv "LANG"))) | ||
| 531 | (and (not (equal string "")) string))))) | ||
| 532 | ;; Translate "swedish" into "sv_SE.ISO-8859-1", and so on, | ||
| 533 | ;; using the translation file that GNU/Linux systems have. | ||
| 534 | (and ctype | ||
| 535 | locale-translation-file-name | ||
| 536 | (not (string-match iso-8859-n-locale-regexp ctype)) | ||
| 537 | (with-temp-buffer | ||
| 538 | (insert-file-contents locale-translation-file-name) | ||
| 539 | (if (re-search-forward | ||
| 540 | (concat "^" (regexp-quote ctype) ":?[ \t]+") nil t) | ||
| 541 | (setq ctype (buffer-substring (point) (line-end-position)))))) | ||
| 542 | ;; Now see if the locale specifies an ISO 8859 character set. | ||
| 543 | (when (and ctype | ||
| 544 | (string-match iso-8859-n-locale-regexp ctype)) | ||
| 545 | (let* ((which (match-string 1 ctype)) | ||
| 546 | (latin (cdr (assoc which '(("9" . "5") ("14" . "8") | ||
| 547 | ("15" . "9"))))) | ||
| 548 | charset) | ||
| 549 | (if latin (setq which latin)) | ||
| 550 | (setq charset (concat "latin-" which)) | ||
| 551 | (when (string-match "latin-[1-589]" charset) | ||
| 552 | ;; Set up for this character set. | ||
| 553 | ;; This is now the right way to do it | ||
| 554 | ;; for both unibyte and multibyte modes. | ||
| 555 | (set-language-environment charset) | ||
| 556 | (unless (or noninteractive (eq window-system 'x)) | ||
| 557 | ;; Send those codes literally to a non-X terminal. | ||
| 558 | (when default-enable-multibyte-characters | ||
| 559 | ;; If this is nil, we are using single-byte characters, | ||
| 560 | ;; so the terminal coding system is irrelevant. | ||
| 561 | (set-terminal-coding-system | ||
| 562 | (intern (downcase charset))))) | ||
| 563 | (standard-display-european-internal))))) | ||
| 564 | 502 | ||
| 565 | ;;! This has been commented out; I currently find the behavior when | 503 | ;;! This has been commented out; I currently find the behavior when |
| 566 | ;;! split-window-keep-point is nil disturbing, but if I can get used | 504 | ;;! split-window-keep-point is nil disturbing, but if I can get used |
diff --git a/lisp/subr.el b/lisp/subr.el index 66c1986f4b5..f90d0d9da05 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; subr.el --- basic lisp subroutines for Emacs | 1 | ;;; subr.el --- basic lisp subroutines for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 1986, 1992, 1994, 1995 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 86, 92, 94, 95, 1999 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; This file is part of GNU Emacs. | 5 | ;; This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1069,10 +1069,14 @@ in BODY." | |||
| 1069 | ;; now, but it generates slower code. | 1069 | ;; now, but it generates slower code. |
| 1070 | (defmacro save-match-data (&rest body) | 1070 | (defmacro save-match-data (&rest body) |
| 1071 | "Execute the BODY forms, restoring the global value of the match data." | 1071 | "Execute the BODY forms, restoring the global value of the match data." |
| 1072 | `(let ((save-match-data-internal (match-data))) | 1072 | ;; It is better not to use backquote here, |
| 1073 | (unwind-protect | 1073 | ;; because that makes a bootstrapping problem |
| 1074 | (progn ,@body) | 1074 | ;; if you need to recompile all the Lisp files using interpreted code. |
| 1075 | (set-match-data save-match-data-internal)))) | 1075 | (list 'let |
| 1076 | '((save-match-data-internal (match-data))) | ||
| 1077 | (list 'unwind-protect | ||
| 1078 | (cons 'progn body) | ||
| 1079 | '(set-match-data save-match-data-internal)))) | ||
| 1076 | 1080 | ||
| 1077 | (defun match-string (num &optional string) | 1081 | (defun match-string (num &optional string) |
| 1078 | "Return string of text matched by last search. | 1082 | "Return string of text matched by last search. |