diff options
| author | John Paul Wallington | 2002-08-24 14:26:06 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2002-08-24 14:26:06 +0000 |
| commit | 82e736c18b6d39c331b6cfe3ee233b9f2ea606f0 (patch) | |
| tree | 1d82b73710f2504fafe83225eed5cd26b0d0d491 | |
| parent | 729d903842648babc5ade521c380e01d99bd85e3 (diff) | |
| download | emacs-82e736c18b6d39c331b6cfe3ee233b9f2ea606f0.tar.gz emacs-82e736c18b6d39c331b6cfe3ee233b9f2ea606f0.zip | |
* startup.el (normal-splash-screen): Ensure splash buffer is
killed. Use tabs in output. Fix test whether previous buffer was
*scratch* buffer.
* progmodes/simula.el (simula-abbrev-keyword-default)
(simula-abbrev-keyword, simula-abbrev-stdproc-default)
(simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
* apropos.el (command-apropos): Use `defalias' instead of `fset'.
* mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/apropos.el | 2 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/simula.el | 8 | ||||
| -rw-r--r-- | lisp/startup.el | 184 |
5 files changed, 115 insertions, 97 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9575712a25f..b8fb1c8b246 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2002-08-24 John Paul Wallington <jpw@shootybangbang.com> | ||
| 2 | |||
| 3 | * startup.el (normal-splash-screen): Ensure splash buffer is | ||
| 4 | killed. Use tabs in output. Fix test whether previous buffer was | ||
| 5 | *scratch* buffer. | ||
| 6 | |||
| 7 | * progmodes/simula.el (simula-abbrev-keyword-default) | ||
| 8 | (simula-abbrev-keyword, simula-abbrev-stdproc-default) | ||
| 9 | (simula-abbrev-stdproc): Doc fix - escape open parens in column 0. | ||
| 10 | |||
| 11 | * apropos.el (command-apropos): Use `defalias' instead of `fset'. | ||
| 12 | |||
| 13 | * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix. | ||
| 14 | |||
| 1 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | 15 | 2002-08-23 Richard M. Stallman <rms@gnu.org> |
| 2 | 16 | ||
| 3 | * loadhist.el (unload-feature): Distinguish functions from | 17 | * loadhist.el (unload-feature): Distinguish functions from |
| @@ -9,7 +23,7 @@ | |||
| 9 | * subr.el (symbol-file-load-history-loaded) | 23 | * subr.el (symbol-file-load-history-loaded) |
| 10 | (load-symbol-file-load-history): Deleted. | 24 | (load-symbol-file-load-history): Deleted. |
| 11 | (symbol-file): Don't call load-symbol-file-load-history. | 25 | (symbol-file): Don't call load-symbol-file-load-history. |
| 12 | 26 | ||
| 13 | 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change) | 27 | 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change) |
| 14 | 28 | ||
| 15 | * frame.el (select-frame-by-name, select-frame-set-input-focus): | 29 | * frame.el (select-frame-by-name, select-frame-set-input-focus): |
diff --git a/lisp/apropos.el b/lisp/apropos.el index 5f19f72ad8e..c91e4da82ae 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el | |||
| @@ -372,7 +372,7 @@ normal variables." | |||
| 372 | 372 | ||
| 373 | ;; For auld lang syne: | 373 | ;; For auld lang syne: |
| 374 | ;;;###autoload | 374 | ;;;###autoload |
| 375 | (fset 'command-apropos 'apropos-command) | 375 | (defalias 'command-apropos 'apropos-command) |
| 376 | ;;;###autoload | 376 | ;;;###autoload |
| 377 | (defun apropos-command (apropos-regexp &optional do-all var-predicate) | 377 | (defun apropos-command (apropos-regexp &optional do-all var-predicate) |
| 378 | "Show commands (interactively callable functions) that match APROPOS-REGEXP. | 378 | "Show commands (interactively callable functions) that match APROPOS-REGEXP. |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index eb984deff13..c4329cf9092 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -3597,7 +3597,7 @@ This has an effect only if a summary buffer exists." | |||
| 3597 | (eval-when-compile (require 'speedbar)) | 3597 | (eval-when-compile (require 'speedbar)) |
| 3598 | 3598 | ||
| 3599 | (defvar rmail-speedbar-match-folder-regexp "^[A-Z0-9]+\\(\\.[A-Z0-9]+\\)?$" | 3599 | (defvar rmail-speedbar-match-folder-regexp "^[A-Z0-9]+\\(\\.[A-Z0-9]+\\)?$" |
| 3600 | "*This regex us used to match folder names to be displayed in speedbar. | 3600 | "*This regex is used to match folder names to be displayed in speedbar. |
| 3601 | Enabling this will permit speedbar to display your folders for easy | 3601 | Enabling this will permit speedbar to display your folders for easy |
| 3602 | browsing, and moving of messages.") | 3602 | browsing, and moving of messages.") |
| 3603 | 3603 | ||
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index ce546eb169f..ab3e9547120 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el | |||
| @@ -129,24 +129,24 @@ and the cdr extra OTHERWISE indentation." | |||
| 129 | (defconst simula-abbrev-keyword-default 'upcase | 129 | (defconst simula-abbrev-keyword-default 'upcase |
| 130 | "Specify how to convert case for SIMULA keywords. | 130 | "Specify how to convert case for SIMULA keywords. |
| 131 | Value is one of the symbols `upcase', `downcase', `capitalize', | 131 | Value is one of the symbols `upcase', `downcase', `capitalize', |
| 132 | (as in) `abbrev-table' or nil if they should not be changed.") | 132 | \(as in) `abbrev-table' or nil if they should not be changed.") |
| 133 | 133 | ||
| 134 | (defcustom simula-abbrev-keyword simula-abbrev-keyword-default | 134 | (defcustom simula-abbrev-keyword simula-abbrev-keyword-default |
| 135 | "*Specify how to convert case for SIMULA keywords. | 135 | "*Specify how to convert case for SIMULA keywords. |
| 136 | Value is one of the symbols `upcase', `downcase', `capitalize', | 136 | Value is one of the symbols `upcase', `downcase', `capitalize', |
| 137 | (as in) `abbrev-table' or nil if they should not be changed." | 137 | \(as in) `abbrev-table' or nil if they should not be changed." |
| 138 | :type '(choice (const upcase) (const downcase) (const capitalize)(const nil)) | 138 | :type '(choice (const upcase) (const downcase) (const capitalize)(const nil)) |
| 139 | :group 'simula) | 139 | :group 'simula) |
| 140 | 140 | ||
| 141 | (defconst simula-abbrev-stdproc-default 'abbrev-table | 141 | (defconst simula-abbrev-stdproc-default 'abbrev-table |
| 142 | "Specify how to convert case for standard SIMULA procedure and class names. | 142 | "Specify how to convert case for standard SIMULA procedure and class names. |
| 143 | Value is one of the symbols `upcase', `downcase', `capitalize', | 143 | Value is one of the symbols `upcase', `downcase', `capitalize', |
| 144 | (as in) `abbrev-table', or nil if they should not be changed.") | 144 | \(as in) `abbrev-table', or nil if they should not be changed.") |
| 145 | 145 | ||
| 146 | (defcustom simula-abbrev-stdproc simula-abbrev-stdproc-default | 146 | (defcustom simula-abbrev-stdproc simula-abbrev-stdproc-default |
| 147 | "*Specify how to convert case for standard SIMULA procedure and class names. | 147 | "*Specify how to convert case for standard SIMULA procedure and class names. |
| 148 | Value is one of the symbols `upcase', `downcase', `capitalize', | 148 | Value is one of the symbols `upcase', `downcase', `capitalize', |
| 149 | (as in) `abbrev-table', or nil if they should not be changed." | 149 | \(as in) `abbrev-table', or nil if they should not be changed." |
| 150 | :type '(choice (const upcase) (const downcase) (const capitalize) | 150 | :type '(choice (const upcase) (const downcase) (const capitalize) |
| 151 | (const abbrev-table) (const nil)) | 151 | (const abbrev-table) (const nil)) |
| 152 | :group 'simula) | 152 | :group 'simula) |
diff --git a/lisp/startup.el b/lisp/startup.el index 35927ebf03a..8afdb8c92f0 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1334,28 +1334,30 @@ we put it on this frame." | |||
| 1334 | 1334 | ||
| 1335 | (defun normal-splash-screen () | 1335 | (defun normal-splash-screen () |
| 1336 | "Display splash screen when Emacs starts." | 1336 | "Display splash screen when Emacs starts." |
| 1337 | (with-current-buffer (get-buffer-create "GNU Emacs") | 1337 | (let ((prev-buffer (current-buffer))) |
| 1338 | (let ((tab-width 8) | 1338 | (unwind-protect |
| 1339 | (mode-line-format (propertize "---- %b %-" | 1339 | (with-current-buffer (get-buffer-create "GNU Emacs") |
| 1340 | 'face '(:weight bold)))) | 1340 | (let ((tab-width 8) |
| 1341 | 1341 | (mode-line-format (propertize "---- %b %-" | |
| 1342 | ;; The convention for this piece of code is that | 1342 | 'face '(:weight bold)))) |
| 1343 | ;; each piece of output starts with one or two newlines | 1343 | |
| 1344 | ;; and does not end with any newlines. | 1344 | ;; The convention for this piece of code is that |
| 1345 | (insert "Welcome to GNU Emacs") | 1345 | ;; each piece of output starts with one or two newlines |
| 1346 | (if (eq system-type 'gnu/linux) | 1346 | ;; and does not end with any newlines. |
| 1347 | (insert ", one component of a Linux-based GNU system.")) | 1347 | (insert "Welcome to GNU Emacs") |
| 1348 | (insert "\n") | 1348 | (if (eq system-type 'gnu/linux) |
| 1349 | 1349 | (insert ", one component of a Linux-based GNU system.")) | |
| 1350 | (unless (equal (buffer-name (current-buffer)) "*scratch*") | 1350 | (insert "\n") |
| 1351 | (insert (substitute-command-keys | 1351 | |
| 1352 | "\nType \\[recenter] to begin editing your file.\n"))) | 1352 | (unless (equal (buffer-name prev-buffer) "*scratch*") |
| 1353 | 1353 | (insert (substitute-command-keys | |
| 1354 | (if (display-mouse-p) | 1354 | "\nType \\[recenter] to begin editing your file.\n"))) |
| 1355 | ;; The user can use the mouse to activate menus | 1355 | |
| 1356 | ;; so give help in terms of menu items. | 1356 | (if (display-mouse-p) |
| 1357 | (progn | 1357 | ;; The user can use the mouse to activate menus |
| 1358 | (insert "\ | 1358 | ;; so give help in terms of menu items. |
| 1359 | (progn | ||
| 1360 | (insert "\ | ||
| 1359 | You can do basic editing with the menu bar and scroll bar using the mouse. | 1361 | You can do basic editing with the menu bar and scroll bar using the mouse. |
| 1360 | 1362 | ||
| 1361 | Useful File menu items: | 1363 | Useful File menu items: |
| @@ -1371,102 +1373,104 @@ Copying Conditions Conditions for redistributing and changing Emacs. | |||
| 1371 | Getting New Versions How to obtain the latest version of Emacs. | 1373 | Getting New Versions How to obtain the latest version of Emacs. |
| 1372 | More Manuals / Ordering Manuals How to order printed manuals from the FSF. | 1374 | More Manuals / Ordering Manuals How to order printed manuals from the FSF. |
| 1373 | ") | 1375 | ") |
| 1374 | (insert "\n\n" (emacs-version) | 1376 | (insert "\n\n" (emacs-version) |
| 1375 | " | 1377 | " |
| 1376 | Copyright (C) 2002 Free Software Foundation, Inc.")) | 1378 | Copyright (C) 2002 Free Software Foundation, Inc.")) |
| 1377 | 1379 | ||
| 1378 | ;; No mouse menus, so give help using kbd commands. | 1380 | ;; No mouse menus, so give help using kbd commands. |
| 1379 | 1381 | ||
| 1380 | ;; If keys have their default meanings, | 1382 | ;; If keys have their default meanings, |
| 1381 | ;; use precomputed string to save lots of time. | 1383 | ;; use precomputed string to save lots of time. |
| 1382 | (if (and (eq (key-binding "\C-h") 'help-command) | 1384 | (if (and (eq (key-binding "\C-h") 'help-command) |
| 1383 | (eq (key-binding "\C-xu") 'advertised-undo) | 1385 | (eq (key-binding "\C-xu") 'advertised-undo) |
| 1384 | (eq (key-binding "\C-x\C-c") 'save-buffers-kill-emacs) | 1386 | (eq (key-binding "\C-x\C-c") 'save-buffers-kill-emacs) |
| 1385 | (eq (key-binding "\C-ht") 'help-with-tutorial) | 1387 | (eq (key-binding "\C-ht") 'help-with-tutorial) |
| 1386 | (eq (key-binding "\C-hi") 'info) | 1388 | (eq (key-binding "\C-hi") 'info) |
| 1387 | (eq (key-binding "\C-hr") 'info-emacs-manual) | 1389 | (eq (key-binding "\C-hr") 'info-emacs-manual) |
| 1388 | (eq (key-binding "\C-h\C-n") 'view-emacs-news)) | 1390 | (eq (key-binding "\C-h\C-n") 'view-emacs-news)) |
| 1389 | (insert " | 1391 | (insert " |
| 1390 | Get help C-h (Hold down CTRL and press h) | 1392 | Get help C-h (Hold down CTRL and press h) |
| 1391 | Emacs manual C-h r | 1393 | Emacs manual C-h r |
| 1392 | Emacs tutorial C-h t Undo changes C-x u | 1394 | Emacs tutorial C-h t Undo changes C-x u |
| 1393 | Buy manuals C-h C-m Exit Emacs C-x C-c | 1395 | Buy manuals C-h C-m Exit Emacs C-x C-c |
| 1394 | Browse manuals C-h i") | 1396 | Browse manuals C-h i") |
| 1395 | 1397 | ||
| 1396 | (insert (substitute-command-keys | 1398 | (insert (substitute-command-keys |
| 1397 | (format "\n | 1399 | (format "\n |
| 1398 | Get help %s | 1400 | Get help %s |
| 1399 | Emacs manual \\[info-emacs-manual] | 1401 | Emacs manual \\[info-emacs-manual] |
| 1400 | Emacs tutorial \\[help-with-tutorial] Undo changes \\[advertised-undo] | 1402 | Emacs tutorial \\[help-with-tutorial]\tUndo changes\t\\[advertised-undo] |
| 1401 | Buy manuals \\[view-order-manuals] Exit Emacs \\[save-buffers-kill-emacs] | 1403 | Buy manuals \\[view-order-manuals]\tExit Emacs\t\\[save-buffers-kill-emacs] |
| 1402 | Browse manuals \\[info]" | 1404 | Browse manuals \\[info]" |
| 1403 | (let ((where (where-is-internal | 1405 | (let ((where (where-is-internal |
| 1404 | 'help-command nil t))) | 1406 | 'help-command nil t))) |
| 1405 | (if where | 1407 | (if where |
| 1406 | (key-description where) | 1408 | (key-description where) |
| 1407 | "M-x help")))))) | 1409 | "M-x help")))))) |
| 1408 | 1410 | ||
| 1409 | ;; Say how to use the menu bar with the keyboard. | 1411 | ;; Say how to use the menu bar with the keyboard. |
| 1410 | (if (and (eq (key-binding "\M-`") 'tmm-menubar) | 1412 | (if (and (eq (key-binding "\M-`") 'tmm-menubar) |
| 1411 | (eq (key-binding [f10]) 'tmm-menubar)) | 1413 | (eq (key-binding [f10]) 'tmm-menubar)) |
| 1412 | (insert " | 1414 | (insert " |
| 1413 | Activate menubar F10 or ESC ` or M-`") | 1415 | Activate menubar F10 or ESC ` or M-`") |
| 1414 | (insert (substitute-command-keys " | 1416 | (insert (substitute-command-keys " |
| 1415 | Activate menubar \\[tmm-menubar]"))) | 1417 | Activate menubar \\[tmm-menubar]"))) |
| 1416 | 1418 | ||
| 1417 | ;; Many users seem to have problems with these. | 1419 | ;; Many users seem to have problems with these. |
| 1418 | (insert " | 1420 | (insert " |
| 1419 | \(`C-' means use the CTRL key. `M-' means use the Meta (or Alt) key. | 1421 | \(`C-' means use the CTRL key. `M-' means use the Meta (or Alt) key. |
| 1420 | If you have no Meta key, you may instead type ESC followed by the character.)") | 1422 | If you have no Meta key, you may instead type ESC followed by the character.)") |
| 1421 | 1423 | ||
| 1422 | (insert "\n\n" (emacs-version) | 1424 | (insert "\n\n" (emacs-version) |
| 1423 | " | 1425 | " |
| 1424 | Copyright (C) 2002 Free Software Foundation, Inc.") | 1426 | Copyright (C) 2002 Free Software Foundation, Inc.") |
| 1425 | 1427 | ||
| 1426 | (if (and (eq (key-binding "\C-h\C-c") 'describe-copying) | 1428 | (if (and (eq (key-binding "\C-h\C-c") 'describe-copying) |
| 1427 | (eq (key-binding "\C-h\C-d") 'describe-distribution) | 1429 | (eq (key-binding "\C-h\C-d") 'describe-distribution) |
| 1428 | (eq (key-binding "\C-h\C-w") 'describe-no-warranty)) | 1430 | (eq (key-binding "\C-h\C-w") 'describe-no-warranty)) |
| 1429 | (insert | 1431 | (insert |
| 1430 | "\n | 1432 | "\n |
| 1431 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details. | 1433 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details. |
| 1432 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies | 1434 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies |
| 1433 | of Emacs and modify it; type C-h C-c to see the conditions. | 1435 | of Emacs and modify it; type C-h C-c to see the conditions. |
| 1434 | Type C-h C-d for information on getting the latest version.") | 1436 | Type C-h C-d for information on getting the latest version.") |
| 1435 | (insert (substitute-command-keys | 1437 | (insert (substitute-command-keys |
| 1436 | "\n | 1438 | "\n |
| 1437 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type \\[describe-no-warranty] for full details. | 1439 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type \\[describe-no-warranty] for full details. |
| 1438 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies | 1440 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies |
| 1439 | of Emacs and modify it; type \\[describe-copying] to see the conditions. | 1441 | of Emacs and modify it; type \\[describe-copying] to see the conditions. |
| 1440 | Type \\[describe-distribution] for information on getting the latest version.")))) | 1442 | Type \\[describe-distribution] for information on getting the latest version.")))) |
| 1441 | 1443 | ||
| 1442 | ;; The rest of the startup screen is the same on all | 1444 | ;; The rest of the startup screen is the same on all |
| 1443 | ;; kinds of terminals. | 1445 | ;; kinds of terminals. |
| 1444 | 1446 | ||
| 1445 | ;; Give information on recovering, if there was a crash. | 1447 | ;; Give information on recovering, if there was a crash. |
| 1446 | (and auto-save-list-file-prefix | 1448 | (and auto-save-list-file-prefix |
| 1447 | ;; Don't signal an error if the | 1449 | ;; Don't signal an error if the |
| 1448 | ;; directory for auto-save-list files | 1450 | ;; directory for auto-save-list files |
| 1449 | ;; does not yet exist. | 1451 | ;; does not yet exist. |
| 1450 | (file-directory-p (file-name-directory | 1452 | (file-directory-p (file-name-directory |
| 1451 | auto-save-list-file-prefix)) | 1453 | auto-save-list-file-prefix)) |
| 1452 | (directory-files | 1454 | (directory-files |
| 1453 | (file-name-directory auto-save-list-file-prefix) | 1455 | (file-name-directory auto-save-list-file-prefix) |
| 1454 | nil | 1456 | nil |
| 1455 | (concat "\\`" | 1457 | (concat "\\`" |
| 1456 | (regexp-quote (file-name-nondirectory | 1458 | (regexp-quote (file-name-nondirectory |
| 1457 | auto-save-list-file-prefix))) | 1459 | auto-save-list-file-prefix))) |
| 1458 | t) | 1460 | t) |
| 1459 | (insert "\n\nIf an Emacs session crashed recently, " | 1461 | (insert "\n\nIf an Emacs session crashed recently, " |
| 1460 | "type M-x recover-session RET\nto recover" | 1462 | "type M-x recover-session RET\nto recover" |
| 1461 | " the files you were editing.")) | 1463 | " the files you were editing.")) |
| 1462 | 1464 | ||
| 1463 | ;; Display the input that we set up in the buffer. | 1465 | ;; Display the input that we set up in the buffer. |
| 1464 | (set-buffer-modified-p nil) | 1466 | (set-buffer-modified-p nil) |
| 1465 | (goto-char (point-min)) | 1467 | (goto-char (point-min)) |
| 1466 | (save-window-excursion | 1468 | (save-window-excursion |
| 1467 | (switch-to-buffer (current-buffer)) | 1469 | (switch-to-buffer (current-buffer)) |
| 1468 | (sit-for 120)))) | 1470 | (sit-for 120)))) |
| 1469 | (kill-buffer "GNU Emacs")) | 1471 | ;; Unwind ... ensure splash buffer is killed |
| 1472 | (kill-buffer "GNU Emacs")))) | ||
| 1473 | |||
| 1470 | 1474 | ||
| 1471 | (defun startup-echo-area-message () | 1475 | (defun startup-echo-area-message () |
| 1472 | (if (eq (key-binding "\C-h\C-p") 'describe-project) | 1476 | (if (eq (key-binding "\C-h\C-p") 'describe-project) |