diff options
| author | Jim Blandy | 1993-06-09 11:59:12 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-09 11:59:12 +0000 |
| commit | eb8c3be94e12644f506b8857e49ffef88046bb0b (patch) | |
| tree | 505c4ea5ae59214e4d6e749047d160c98191c9d2 /lisp | |
| parent | 16a4a21d0117ef5ed346f340f244fe199d3c8a26 (diff) | |
| download | emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.tar.gz emacs-eb8c3be94e12644f506b8857e49ffef88046bb0b.zip | |
Apply typo patches from Paul Eggert.
Diffstat (limited to 'lisp')
80 files changed, 255 insertions, 255 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index a90237f96ce..d121a76cdf6 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -213,7 +213,7 @@ Interactively, with a prefix argument, the file name is prompted for." | |||
| 213 | 213 | ||
| 214 | ;;;###autoload | 214 | ;;;###autoload |
| 215 | (defun change-log-mode () | 215 | (defun change-log-mode () |
| 216 | "Major mode for editting change logs; like Indented Text Mode. | 216 | "Major mode for editing change logs; like Indented Text Mode. |
| 217 | Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74. | 217 | Prevents numeric backups and sets `left-margin' to 8 and `fill-column' to 74. |
| 218 | New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window]. | 218 | New log entries are usually made with \\[add-change-log-entry] or \\[add-change-log-entry-other-window]. |
| 219 | Each entry behaves as a paragraph, and the entries for one day as a page. | 219 | Each entry behaves as a paragraph, and the entries for one day as a page. |
diff --git a/lisp/allout.el b/lisp/allout.el index d94afc3defc..b76d90c7b2d 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | ;;;_ - Author: Ken Manheimer <klm@nist.gov> | 11 | ;;;_ - Author: Ken Manheimer <klm@nist.gov> |
| 12 | ;;;_ - Maintainer: Ken Manheimer <klm@nist.gov> | 12 | ;;;_ - Maintainer: Ken Manheimer <klm@nist.gov> |
| 13 | ;;;_ - Created: Dec 1991 - first release to usenet | 13 | ;;;_ - Created: Dec 1991 - first release to usenet |
| 14 | ;;;_ - Version: $Id: allout.el,v 1.1 1993/06/02 17:53:31 rms Exp rms $|| | 14 | ;;;_ - Version: $Id: allout.el,v 1.2 1993/06/07 18:48:08 rms Exp jimb $|| |
| 15 | ;;;_ - Keywords: outline mode | 15 | ;;;_ - Keywords: outline mode |
| 16 | 16 | ||
| 17 | ;;;_ - LCD Archive Entry | 17 | ;;;_ - LCD Archive Entry |
| @@ -19,7 +19,7 @@ | |||
| 19 | ;; LCD Archive Entry: | 19 | ;; LCD Archive Entry: |
| 20 | ;; allout|Ken Manheimer|klm@nist.gov | 20 | ;; allout|Ken Manheimer|klm@nist.gov |
| 21 | ;; |A more thorough outline-mode | 21 | ;; |A more thorough outline-mode |
| 22 | ;; |27-May-1993|$Id: allout.el,v 1.1 1993/06/02 17:53:31 rms Exp rms $|| | 22 | ;; |27-May-1993|$Id: allout.el,v 1.2 1993/06/07 18:48:08 rms Exp jimb $|| |
| 23 | 23 | ||
| 24 | ;;;_ - Description | 24 | ;;;_ - Description |
| 25 | ;; A full-fledged outline mode, based on the original rudimentary | 25 | ;; A full-fledged outline mode, based on the original rudimentary |
| @@ -65,7 +65,7 @@ | |||
| 65 | 65 | ||
| 66 | ;;;_ = outline-primary-bullet | 66 | ;;;_ = outline-primary-bullet |
| 67 | (defvar outline-primary-bullet "*") ;; Changing this var disables any | 67 | (defvar outline-primary-bullet "*") ;; Changing this var disables any |
| 68 | ;; backwards compatability with | 68 | ;; backwards compatibility with |
| 69 | ;; the original outline mode. | 69 | ;; the original outline mode. |
| 70 | (make-variable-buffer-local 'outline-primary-bullet) | 70 | (make-variable-buffer-local 'outline-primary-bullet) |
| 71 | 71 | ||
| @@ -333,7 +333,7 @@ up major and minor-mode keybindings.") | |||
| 333 | 333 | ||
| 334 | ;;;_ : Key bindings | 334 | ;;;_ : Key bindings |
| 335 | ;;;_ = Generic minor keybindings control | 335 | ;;;_ = Generic minor keybindings control |
| 336 | ;;;_ ; Stallmans suggestion | 336 | ;;;_ ; Stallman's suggestion |
| 337 | (defvar outline-mode-map nil "") | 337 | (defvar outline-mode-map nil "") |
| 338 | 338 | ||
| 339 | (if outline-mode-map | 339 | (if outline-mode-map |
| @@ -594,7 +594,7 @@ Topic: A basic cohesive component of an emacs outline, which can | |||
| 594 | Exposure: Hidden (~closed~) topics are represented by ellipses ('...') | 594 | Exposure: Hidden (~closed~) topics are represented by ellipses ('...') |
| 595 | at the end of the visible SUPERTOPIC which contains them, | 595 | at the end of the visible SUPERTOPIC which contains them, |
| 596 | rather than by their actual text. Hidden topics are still | 596 | rather than by their actual text. Hidden topics are still |
| 597 | susceptable to editing and regular movement functions, they | 597 | susceptible to editing and regular movement functions, they |
| 598 | just are not displayed normally, effectively collapsed into | 598 | just are not displayed normally, effectively collapsed into |
| 599 | the ellipses which represent them. Outline mode provides | 599 | the ellipses which represent them. Outline mode provides |
| 600 | the means to selectively expose topics based on their | 600 | the means to selectively expose topics based on their |
| @@ -618,7 +618,7 @@ Header: The initial portion of an outline topic. It is composed of a | |||
| 618 | topic header PREFIX at the beginning of the line, followed by | 618 | topic header PREFIX at the beginning of the line, followed by |
| 619 | text to the end of the EFFECTIVE LINE. | 619 | text to the end of the EFFECTIVE LINE. |
| 620 | 620 | ||
| 621 | Body: Any subsequent lines of text following a topic header and preceeding | 621 | Body: Any subsequent lines of text following a topic header and preceding |
| 622 | the next one. This is also referred to as the entry for a topic. | 622 | the next one. This is also referred to as the entry for a topic. |
| 623 | 623 | ||
| 624 | Prefix: The text which distinguishes topic headers from normal text | 624 | Prefix: The text which distinguishes topic headers from normal text |
| @@ -629,7 +629,7 @@ Prefix: The text which distinguishes topic headers from normal text | |||
| 629 | by zero or more spaces and then an outline BULLET. [Note - you | 629 | by zero or more spaces and then an outline BULLET. [Note - you |
| 630 | can now designate your own, arbitrary HEADER-LEAD string, by | 630 | can now designate your own, arbitrary HEADER-LEAD string, by |
| 631 | setting the variable 'outline-header-prefix'.] The second form | 631 | setting the variable 'outline-header-prefix'.] The second form |
| 632 | is for backwards compatability with the original emacs outline | 632 | is for backwards compatibility with the original emacs outline |
| 633 | mode, and consists solely of asterisks. Both sorts are | 633 | mode, and consists solely of asterisks. Both sorts are |
| 634 | recognized by all outline commands. The first sort is generated | 634 | recognized by all outline commands. The first sort is generated |
| 635 | by outline topic production commands if the emacs variable | 635 | by outline topic production commands if the emacs variable |
| @@ -1656,7 +1656,7 @@ and cancellation of a search.") | |||
| 1656 | that the index for the numbered prefix will be derived, by counting | 1656 | that the index for the numbered prefix will be derived, by counting |
| 1657 | siblings back to start of level. If INDEX is a number, then that | 1657 | siblings back to start of level. If INDEX is a number, then that |
| 1658 | number is used as the index for the numbered prefix (allowing, eg, | 1658 | number is used as the index for the numbered prefix (allowing, eg, |
| 1659 | sequential renumbering to not requre this function counting back the | 1659 | sequential renumbering to not require this function counting back the |
| 1660 | index for each successive sibling)." | 1660 | index for each successive sibling)." |
| 1661 | 1661 | ||
| 1662 | ;; The options are ordered in likely frequence of use, most common | 1662 | ;; The options are ordered in likely frequence of use, most common |
| @@ -1778,7 +1778,7 @@ and cancellation of a search.") | |||
| 1778 | - Creation of sibling or nested topics is with respect to the topic | 1778 | - Creation of sibling or nested topics is with respect to the topic |
| 1779 | you're starting from, even when creating backwards. This way you | 1779 | you're starting from, even when creating backwards. This way you |
| 1780 | can easily create a sibling in front of the current topic without | 1780 | can easily create a sibling in front of the current topic without |
| 1781 | having to go to it's preceeding sibling, and then open forward | 1781 | having to go to its preceding sibling, and then open forward |
| 1782 | from there." | 1782 | from there." |
| 1783 | 1783 | ||
| 1784 | (let* ((depth (+ (outline-current-depth) relative-depth)) | 1784 | (let* ((depth (+ (outline-current-depth) relative-depth)) |
| @@ -1814,7 +1814,7 @@ and cancellation of a search.") | |||
| 1814 | (or (and (not (> relative-depth 0)) | 1814 | (or (and (not (> relative-depth 0)) |
| 1815 | ;; not descending, | 1815 | ;; not descending, |
| 1816 | (save-excursion | 1816 | (save-excursion |
| 1817 | ;; preceeded by a blank line? | 1817 | ;; preceded by a blank line? |
| 1818 | (forward-line -1) | 1818 | (forward-line -1) |
| 1819 | (looking-at "^\\s-*$"))) | 1819 | (looking-at "^\\s-*$"))) |
| 1820 | (and (= ref-depth 1) | 1820 | (and (= ref-depth 1) |
| @@ -1906,7 +1906,7 @@ and cancellation of a search.") | |||
| 1906 | " Reindent body lines which were indented at old-depth to new-depth. | 1906 | " Reindent body lines which were indented at old-depth to new-depth. |
| 1907 | 1907 | ||
| 1908 | Note that refill of indented paragraphs is not done, and tabs are | 1908 | Note that refill of indented paragraphs is not done, and tabs are |
| 1909 | not accomodated. ('untabify' your outline if you want to preserve | 1909 | not accommodated. ('untabify' your outline if you want to preserve |
| 1910 | hanging body indents.)" | 1910 | hanging body indents.)" |
| 1911 | 1911 | ||
| 1912 | (save-excursion | 1912 | (save-excursion |
| @@ -2292,7 +2292,7 @@ parameterized communication between the two, if suitable.") | |||
| 2292 | (yank arg) | 2292 | (yank arg) |
| 2293 | (exchange-dot-and-mark) | 2293 | (exchange-dot-and-mark) |
| 2294 | (if (and established-depth ; the established stuff qualifies. | 2294 | (if (and established-depth ; the established stuff qualifies. |
| 2295 | ;; The yanked stuff also qualfies - is topic(s): | 2295 | ;; The yanked stuff also qualifies - is topic(s): |
| 2296 | (looking-at (concat "\\(" outline-regexp "\\)"))) | 2296 | (looking-at (concat "\\(" outline-regexp "\\)"))) |
| 2297 | ;; Ok, adjust the depth of the yanked stuff. Note that the | 2297 | ;; Ok, adjust the depth of the yanked stuff. Note that the |
| 2298 | ;; stuff may have more than a single root, so we have to | 2298 | ;; stuff may have more than a single root, so we have to |
| @@ -2426,7 +2426,7 @@ parameterized communication between the two, if suitable.") | |||
| 2426 | ) | 2426 | ) |
| 2427 | ) | 2427 | ) |
| 2428 | ) | 2428 | ) |
| 2429 | ;;;_ > outline-to-entry-end - Unmaintained compatability - ignore this! | 2429 | ;;;_ > outline-to-entry-end - Unmaintained compatibility - ignore this! |
| 2430 | ;------------------------------------------------------------------- | 2430 | ;------------------------------------------------------------------- |
| 2431 | ; Something added solely for use by a "smart menu" package someone got | 2431 | ; Something added solely for use by a "smart menu" package someone got |
| 2432 | ; off the net. I have no idea whether this is appropriate code. | 2432 | ; off the net. I have no idea whether this is appropriate code. |
| @@ -2538,7 +2538,7 @@ parameterized communication between the two, if suitable.") | |||
| 2538 | (if arg (insert-string (format "\t\t\t(%s \"%s\")\n" | 2538 | (if arg (insert-string (format "\t\t\t(%s \"%s\")\n" |
| 2539 | "outline-lead-with-comment-string" | 2539 | "outline-lead-with-comment-string" |
| 2540 | arg))) | 2540 | arg))) |
| 2541 | ; Insert ammouncement and | 2541 | ; Insert announcement and |
| 2542 | ; exposure control: | 2542 | ; exposure control: |
| 2543 | (insert-string | 2543 | (insert-string |
| 2544 | (format "\t\t\t%s %s\n\t\t\t%s %s\n\t\t%s %s" | 2544 | (format "\t\t\t%s %s\n\t\t\t%s %s\n\t\t%s %s" |
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index 2236db26d5c..9b40a747b3a 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -128,7 +128,7 @@ | |||
| 128 | 128 | ||
| 129 | ;;; Gateways: | 129 | ;;; Gateways: |
| 130 | ;;; | 130 | ;;; |
| 131 | ;;; Sometimes it is neccessary for the FTP process to be run on a different | 131 | ;;; Sometimes it is necessary for the FTP process to be run on a different |
| 132 | ;;; machine than the machine running GNU Emacs. This can happen when the | 132 | ;;; machine than the machine running GNU Emacs. This can happen when the |
| 133 | ;;; local machine has restrictions on what hosts it can access. | 133 | ;;; local machine has restrictions on what hosts it can access. |
| 134 | ;;; | 134 | ;;; |
| @@ -151,7 +151,7 @@ | |||
| 151 | ;;; | 151 | ;;; |
| 152 | ;;; 3) Using NFS and symlinks, make sure that there is a shared directory with | 152 | ;;; 3) Using NFS and symlinks, make sure that there is a shared directory with |
| 153 | ;;; the *same* name between the local machine and the gateway machine. | 153 | ;;; the *same* name between the local machine and the gateway machine. |
| 154 | ;;; This directory is neccessary for temporary files created by ange-ftp. | 154 | ;;; This directory is necessary for temporary files created by ange-ftp. |
| 155 | ;;; | 155 | ;;; |
| 156 | ;;; 4) Set the variable 'ange-ftp-gateway-tmp-name-template' to the name of | 156 | ;;; 4) Set the variable 'ange-ftp-gateway-tmp-name-template' to the name of |
| 157 | ;;; this directory plus an identifying filename prefix. For example: | 157 | ;;; this directory plus an identifying filename prefix. For example: |
| @@ -223,7 +223,7 @@ | |||
| 223 | ;;; there is a chance you might connect to an ULTRIX machine (such as | 223 | ;;; there is a chance you might connect to an ULTRIX machine (such as |
| 224 | ;;; prep.ai.mit.edu), then set this variable accordingly. This will have | 224 | ;;; prep.ai.mit.edu), then set this variable accordingly. This will have |
| 225 | ;;; the side effect that dired will have problems with symlinks whose names | 225 | ;;; the side effect that dired will have problems with symlinks whose names |
| 226 | ;;; end in an @. If you get youself into this situation then editing | 226 | ;;; end in an @. If you get yourself into this situation then editing |
| 227 | ;;; dired's ls-switches to remove "F", will temporarily fix things. | 227 | ;;; dired's ls-switches to remove "F", will temporarily fix things. |
| 228 | ;;; | 228 | ;;; |
| 229 | ;;; 2. If you know that you are connecting to a certain non-UNIX machine | 229 | ;;; 2. If you know that you are connecting to a certain non-UNIX machine |
| @@ -379,7 +379,7 @@ | |||
| 379 | ;;; 1. Umask problems: | 379 | ;;; 1. Umask problems: |
| 380 | ;;; Be warned that files created by using ange-ftp will take account of the | 380 | ;;; Be warned that files created by using ange-ftp will take account of the |
| 381 | ;;; umask of the ftp daemon process rather than the umask of the creating | 381 | ;;; umask of the ftp daemon process rather than the umask of the creating |
| 382 | ;;; user. This is particulary important when logging in as the root user. | 382 | ;;; user. This is particularly important when logging in as the root user. |
| 383 | ;;; The way that I tighten up the ftp daemon's umask under HP-UX is to make | 383 | ;;; The way that I tighten up the ftp daemon's umask under HP-UX is to make |
| 384 | ;;; sure that the umask is changed to 027 before I spawn /etc/inetd. I | 384 | ;;; sure that the umask is changed to 027 before I spawn /etc/inetd. I |
| 385 | ;;; suspect that there is something similar on other systems. | 385 | ;;; suspect that there is something similar on other systems. |
| @@ -856,7 +856,7 @@ SIZE, if supplied, should be a prime number." | |||
| 856 | ;;;; Internal variables. | 856 | ;;;; Internal variables. |
| 857 | ;;;; ------------------------------------------------------------ | 857 | ;;;; ------------------------------------------------------------ |
| 858 | 858 | ||
| 859 | (defconst ange-ftp-version "$Revision: 1.23 $") | 859 | (defconst ange-ftp-version "$Revision: 1.24 $") |
| 860 | 860 | ||
| 861 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 861 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 862 | "Buffer name to hold directory listing data received from ftp process.") | 862 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -1060,7 +1060,7 @@ Optional DEFAULT is password to start with." | |||
| 1060 | "Return the password for specified HOST and USER, asking user if necessary." | 1060 | "Return the password for specified HOST and USER, asking user if necessary." |
| 1061 | (ange-ftp-parse-netrc) | 1061 | (ange-ftp-parse-netrc) |
| 1062 | 1062 | ||
| 1063 | ;; look up password in the hash table first; user might have overriden the | 1063 | ;; look up password in the hash table first; user might have overridden the |
| 1064 | ;; defaults. | 1064 | ;; defaults. |
| 1065 | (cond ((ange-ftp-lookup-passwd host user)) | 1065 | (cond ((ange-ftp-lookup-passwd host user)) |
| 1066 | 1066 | ||
| @@ -1373,7 +1373,7 @@ then kill the related ftp process." | |||
| 1373 | ;;;; ------------------------------------------------------------ | 1373 | ;;;; ------------------------------------------------------------ |
| 1374 | 1374 | ||
| 1375 | (defun ange-ftp-process-handle-line (line proc) | 1375 | (defun ange-ftp-process-handle-line (line proc) |
| 1376 | "Look at the given LINE from the ftp process PROC. Try to catagorize it | 1376 | "Look at the given LINE from the ftp process PROC. Try to categorize it |
| 1377 | into one of four categories: good, skip, fatal, or unknown." | 1377 | into one of four categories: good, skip, fatal, or unknown." |
| 1378 | (cond ((string-match ange-ftp-xfer-size-msgs line) | 1378 | (cond ((string-match ange-ftp-xfer-size-msgs line) |
| 1379 | (setq ange-ftp-xfer-size | 1379 | (setq ange-ftp-xfer-size |
| @@ -3160,7 +3160,7 @@ system TYPE.") | |||
| 3160 | ;; (kill-buffer (current-buffer)))))) | 3160 | ;; (kill-buffer (current-buffer)))))) |
| 3161 | 3161 | ||
| 3162 | ;; this is the extended version of ange-ftp-copy-file-internal that works | 3162 | ;; this is the extended version of ange-ftp-copy-file-internal that works |
| 3163 | ;; asyncronously if asked nicely. | 3163 | ;; asynchronously if asked nicely. |
| 3164 | (defun ange-ftp-copy-file-internal (filename newname ok-if-already-exists | 3164 | (defun ange-ftp-copy-file-internal (filename newname ok-if-already-exists |
| 3165 | keep-date &optional msg cont nowait) | 3165 | keep-date &optional msg cont nowait) |
| 3166 | (setq filename (expand-file-name filename) | 3166 | (setq filename (expand-file-name filename) |
| @@ -4060,7 +4060,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4060 | ;; 0 ;success-count | 4060 | ;; 0 ;success-count |
| 4061 | ;; (length fn-list) ;total | 4061 | ;; (length fn-list) ;total |
| 4062 | ;; ) | 4062 | ;; ) |
| 4063 | ;; ;; normal case... use the interative routine... much cheaper. | 4063 | ;; ;; normal case... use the interactive routine... much cheaper. |
| 4064 | ;; (ange-ftp-real-dired-create-files file-creator operation fn-list | 4064 | ;; (ange-ftp-real-dired-create-files file-creator operation fn-list |
| 4065 | ;; name-constructor marker-char))) | 4065 | ;; name-constructor marker-char))) |
| 4066 | 4066 | ||
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index eb4c8386c3f..88e439a0539 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | 24 | ||
| 25 | ;; Edit, delete, or change attributes of all currently active Emacs | 25 | ;; Edit, delete, or change attributes of all currently active Emacs |
| 26 | ;; buffers from a list summarizing thir state. A good way to browse | 26 | ;; buffers from a list summarizing their state. A good way to browse |
| 27 | ;; any special or scratch buffers you have loaded, since you can't find | 27 | ;; any special or scratch buffers you have loaded, since you can't find |
| 28 | ;; them by filename. The single entry point is `Buffer-menu-mode', | 28 | ;; them by filename. The single entry point is `Buffer-menu-mode', |
| 29 | ;; normally bound to C-x C-b. | 29 | ;; normally bound to C-x C-b. |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index c6396379fdd..5efe24fe296 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | ;; calendar, to the Islamic calendar, to the French Revolutionary calendar, | 48 | ;; calendar, to the Islamic calendar, to the French Revolutionary calendar, |
| 49 | ;; to the Mayan calendar, and to the astronomical (Julian) day number. | 49 | ;; to the Mayan calendar, and to the astronomical (Julian) day number. |
| 50 | ;; When floating point is available, times of sunrise/sunset can be displayed, | 50 | ;; When floating point is available, times of sunrise/sunset can be displayed, |
| 51 | ;; as can the phases of the moon. Appointment notication for diary entries | 51 | ;; as can the phases of the moon. Appointment notification for diary entries |
| 52 | ;; is available. | 52 | ;; is available. |
| 53 | 53 | ||
| 54 | ;; The following files are part of the calendar/diary code: | 54 | ;; The following files are part of the calendar/diary code: |
| @@ -360,7 +360,7 @@ characters with or without a period.") | |||
| 360 | (monthname " *" day ", *" year "[^0-9]") | 360 | (monthname " *" day ", *" year "[^0-9]") |
| 361 | (dayname "\\W")) | 361 | (dayname "\\W")) |
| 362 | "*List of pseudo-patterns describing the American patterns of date used. | 362 | "*List of pseudo-patterns describing the American patterns of date used. |
| 363 | See the documentation of diary-date-forms for an explanantion.") | 363 | See the documentation of diary-date-forms for an explanation.") |
| 364 | 364 | ||
| 365 | ;;;###autoload | 365 | ;;;###autoload |
| 366 | (defvar european-date-diary-pattern | 366 | (defvar european-date-diary-pattern |
| @@ -370,7 +370,7 @@ See the documentation of diary-date-forms for an explanantion.") | |||
| 370 | (day " *" monthname " *" year "[^0-9]") | 370 | (day " *" monthname " *" year "[^0-9]") |
| 371 | (dayname "\\W")) | 371 | (dayname "\\W")) |
| 372 | "*List of pseudo-patterns describing the European patterns of date used. | 372 | "*List of pseudo-patterns describing the European patterns of date used. |
| 373 | See the documentation of diary-date-forms for an explanantion.") | 373 | See the documentation of diary-date-forms for an explanation.") |
| 374 | 374 | ||
| 375 | ;;;###autoload | 375 | ;;;###autoload |
| 376 | (defvar diary-date-forms | 376 | (defvar diary-date-forms |
| @@ -405,14 +405,14 @@ a portion of the first word of the diary entry.") | |||
| 405 | '((if dayname (concat dayname ", ")) day " " monthname " " year) | 405 | '((if dayname (concat dayname ", ")) day " " monthname " " year) |
| 406 | "*The pseudo-pattern that governs the way a Gregorian date is formatted | 406 | "*The pseudo-pattern that governs the way a Gregorian date is formatted |
| 407 | in the European style. See the documentation of calendar-date-display-forms | 407 | in the European style. See the documentation of calendar-date-display-forms |
| 408 | for an explanantion.") | 408 | for an explanation.") |
| 409 | 409 | ||
| 410 | ;;;###autoload | 410 | ;;;###autoload |
| 411 | (defvar american-calendar-display-form | 411 | (defvar american-calendar-display-form |
| 412 | '((if dayname (concat dayname ", ")) monthname " " day ", " year) | 412 | '((if dayname (concat dayname ", ")) monthname " " day ", " year) |
| 413 | "*The pseudo-pattern that governs the way a Gregorian date is formatted | 413 | "*The pseudo-pattern that governs the way a Gregorian date is formatted |
| 414 | in the American style. See the documentation of calendar-date-display-forms | 414 | in the American style. See the documentation of calendar-date-display-forms |
| 415 | for an explanantion.") | 415 | for an explanation.") |
| 416 | 416 | ||
| 417 | ;;;###autoload | 417 | ;;;###autoload |
| 418 | (defvar calendar-date-display-form | 418 | (defvar calendar-date-display-form |
| @@ -962,7 +962,7 @@ add Thomas Jefferson's birthday, April 2, 1743 (Julian), use | |||
| 962 | 962 | ||
| 963 | To include a holiday conditionally, use the if or the sexp form. For example, | 963 | To include a holiday conditionally, use the if or the sexp form. For example, |
| 964 | to include American presidential elections, which occur on the first Tuesday | 964 | to include American presidential elections, which occur on the first Tuesday |
| 965 | after the first Monday in November of years divisble by 4, add | 965 | after the first Monday in November of years divisible by 4, add |
| 966 | 966 | ||
| 967 | (sexp (if (zerop (% year 4)) | 967 | (sexp (if (zerop (% year 4)) |
| 968 | (calendar-gregorian-from-absolute | 968 | (calendar-gregorian-from-absolute |
| @@ -1747,7 +1747,7 @@ Revolutionary, and Mayan calendars can be determined by | |||
| 1747 | \\[calendar-print-french-date] show equivalent date on the French Revolutionary calendar | 1747 | \\[calendar-print-french-date] show equivalent date on the French Revolutionary calendar |
| 1748 | \\[calendar-print-mayan-date] show equivalent date on the Mayan calendar | 1748 | \\[calendar-print-mayan-date] show equivalent date on the Mayan calendar |
| 1749 | 1749 | ||
| 1750 | The astromonical (Julian) day number of a date is found with | 1750 | The astronomical (Julian) day number of a date is found with |
| 1751 | 1751 | ||
| 1752 | \\[calendar-print-astro-day-number] show equivalent astronomical (Julian) day number | 1752 | \\[calendar-print-astro-day-number] show equivalent astronomical (Julian) day number |
| 1753 | 1753 | ||
| @@ -3112,7 +3112,7 @@ shown by cursor." | |||
| 3112 | "Move cursor to astronomical (Julian) DAYNUMBER. | 3112 | "Move cursor to astronomical (Julian) DAYNUMBER. |
| 3113 | Echo astronomical (Julian) day number unless NOECHO is t." | 3113 | Echo astronomical (Julian) day number unless NOECHO is t." |
| 3114 | (interactive (list (calendar-read | 3114 | (interactive (list (calendar-read |
| 3115 | "Astromonical (Julian) day number (>1721425): " | 3115 | "Astronomical (Julian) day number (>1721425): " |
| 3116 | '(lambda (x) (> x 1721425))))) | 3116 | '(lambda (x) (> x 1721425))))) |
| 3117 | (calendar-goto-date (calendar-gregorian-from-absolute (- daynumber 1721425))) | 3117 | (calendar-goto-date (calendar-gregorian-from-absolute (- daynumber 1721425))) |
| 3118 | (or noecho (calendar-print-astro-day-number))) | 3118 | (or noecho (calendar-print-astro-day-number))) |
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el index 02cc6e6ba53..f9f582b9a46 100644 --- a/lisp/calendar/solar.el +++ b/lisp/calendar/solar.el | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | ;;; Commentary: | 27 | ;;; Commentary: |
| 28 | 28 | ||
| 29 | ;; This collection of functions implements the features of calendar.el and | 29 | ;; This collection of functions implements the features of calendar.el and |
| 30 | ;; diary.el that deal with sunrise/sunset and eqinoxes/solstices. | 30 | ;; diary.el that deal with sunrise/sunset and equinoxes/solstices. |
| 31 | 31 | ||
| 32 | ;; Based on the ``Almanac for Computers 1984,'' prepared by the Nautical | 32 | ;; Based on the ``Almanac for Computers 1984,'' prepared by the Nautical |
| 33 | ;; Almanac Office, United States Naval Observatory, Washington, 1984 and | 33 | ;; Almanac Office, United States Naval Observatory, Washington, 1984 and |
diff --git a/lisp/cl.el b/lisp/cl.el index aeb90b9977f..1a6a385e3ee 100644 --- a/lisp/cl.el +++ b/lisp/cl.el | |||
| @@ -1358,7 +1358,7 @@ if clumsier, control over this feature." | |||
| 1358 | ;;; extract a value with (extract-from-klist KLIST KEY [DEFAULT]). | 1358 | ;;; extract a value with (extract-from-klist KLIST KEY [DEFAULT]). |
| 1359 | 1359 | ||
| 1360 | (defun reduce (function sequence &rest kargs) | 1360 | (defun reduce (function sequence &rest kargs) |
| 1361 | "Apply FUNCTION (a function of two arguments) to succesive pairs of elements | 1361 | "Apply FUNCTION (a function of two arguments) to successive pairs of elements |
| 1362 | from SEQUENCE. Some keyword arguments are valid after FUNCTION and SEQUENCE: | 1362 | from SEQUENCE. Some keyword arguments are valid after FUNCTION and SEQUENCE: |
| 1363 | :from-end If non-nil, process the values backwards | 1363 | :from-end If non-nil, process the values backwards |
| 1364 | :initial-value If given, prefix it to the SEQUENCE. Suffix, if :from-end | 1364 | :initial-value If given, prefix it to the SEQUENCE. Suffix, if :from-end |
| @@ -1665,7 +1665,7 @@ The arguments must be integers. With no arguments, value is zero." | |||
| 1665 | (do* ((absa (abs (nth 0 integers))) ; better to operate only | 1665 | (do* ((absa (abs (nth 0 integers))) ; better to operate only |
| 1666 | (absb (abs (nth 1 integers))) ;on positives. | 1666 | (absb (abs (nth 1 integers))) ;on positives. |
| 1667 | (dd (max absa absb)) ; setup correct order for the | 1667 | (dd (max absa absb)) ; setup correct order for the |
| 1668 | (ds (min absa absb)) ;succesive divisions. | 1668 | (ds (min absa absb)) ;successive divisions. |
| 1669 | ;; intermediate results | 1669 | ;; intermediate results |
| 1670 | (q 0) | 1670 | (q 0) |
| 1671 | (r 0) | 1671 | (r 0) |
| @@ -1968,7 +1968,7 @@ updating called for." | |||
| 1968 | 1968 | ||
| 1969 | (defsetf apply | 1969 | (defsetf apply |
| 1970 | (lambda (&rest args) | 1970 | (lambda (&rest args) |
| 1971 | ;; dissasemble the calling form | 1971 | ;; disassemble the calling form |
| 1972 | ;; "(((quote fn) x1 x2 ... xn) val)" (function instead of quote, too) | 1972 | ;; "(((quote fn) x1 x2 ... xn) val)" (function instead of quote, too) |
| 1973 | (let* ((fnform (car args)) ;functional form | 1973 | (let* ((fnform (car args)) ;functional form |
| 1974 | (applyargs (append ;arguments "to apply fnform" | 1974 | (applyargs (append ;arguments "to apply fnform" |
| @@ -2383,7 +2383,7 @@ Each option is either a symbol, or a list of a keyword symbol taken from the | |||
| 2383 | list \{:conc-name, :copier, :constructor, :predicate, :include, | 2383 | list \{:conc-name, :copier, :constructor, :predicate, :include, |
| 2384 | :print-function, :type, :initial-offset\}. The meanings of these are as in | 2384 | :print-function, :type, :initial-offset\}. The meanings of these are as in |
| 2385 | CLtL, except that no BOA-constructors are provided, and the options | 2385 | CLtL, except that no BOA-constructors are provided, and the options |
| 2386 | \{:print-fuction, :type, :initial-offset\} are ignored quietly. All these | 2386 | \{:print-function, :type, :initial-offset\} are ignored quietly. All these |
| 2387 | structs are named, in the sense that their names can be used for type | 2387 | structs are named, in the sense that their names can be used for type |
| 2388 | discrimination. | 2388 | discrimination. |
| 2389 | 2389 | ||
diff --git a/lisp/cmulisp.el b/lisp/cmulisp.el index 3557be394b5..1e49da84165 100644 --- a/lisp/cmulisp.el +++ b/lisp/cmulisp.el | |||
| @@ -626,7 +626,7 @@ to be the new process's buffer. If you only run one process, this will | |||
| 626 | do the right thing. If you run multiple processes, you can change | 626 | do the right thing. If you run multiple processes, you can change |
| 627 | cmulisp-buffer to another process buffer with \\[set-variable]. | 627 | cmulisp-buffer to another process buffer with \\[set-variable]. |
| 628 | 628 | ||
| 629 | More sophisticated approaches are, of course, possible. If you find youself | 629 | More sophisticated approaches are, of course, possible. If you find yourself |
| 630 | needing to switch back and forth between multiple processes frequently, | 630 | needing to switch back and forth between multiple processes frequently, |
| 631 | you may wish to consider ilisp.el, a larger, more sophisticated package | 631 | you may wish to consider ilisp.el, a larger, more sophisticated package |
| 632 | for running inferior Lisp processes. The approach taken here is for a | 632 | for running inferior Lisp processes. The approach taken here is for a |
diff --git a/lisp/cmuscheme.el b/lisp/cmuscheme.el index 982a0c3dc10..a4a98aac936 100644 --- a/lisp/cmuscheme.el +++ b/lisp/cmuscheme.el | |||
| @@ -402,7 +402,7 @@ to be the new process's buffer. If you only run one process, this will | |||
| 402 | do the right thing. If you run multiple processes, you can change | 402 | do the right thing. If you run multiple processes, you can change |
| 403 | scheme-buffer to another process buffer with \\[set-variable]. | 403 | scheme-buffer to another process buffer with \\[set-variable]. |
| 404 | 404 | ||
| 405 | More sophisticated approaches are, of course, possible. If you find youself | 405 | More sophisticated approaches are, of course, possible. If you find yourself |
| 406 | needing to switch back and forth between multiple processes frequently, | 406 | needing to switch back and forth between multiple processes frequently, |
| 407 | you may wish to consider ilisp.el, a larger, more sophisticated package | 407 | you may wish to consider ilisp.el, a larger, more sophisticated package |
| 408 | for running inferior Lisp and Scheme processes. The approach taken here is | 408 | for running inferior Lisp and Scheme processes. The approach taken here is |
diff --git a/lisp/comint.el b/lisp/comint.el index fb97ec7a5a4..e494e706195 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -1356,7 +1356,7 @@ This is a good place to put keybindings.") | |||
| 1356 | ;;; 9/5/90 shivers | 1356 | ;;; 9/5/90 shivers |
| 1357 | ;;; - Changed make-variable-buffer-local's to make-local-variable's. | 1357 | ;;; - Changed make-variable-buffer-local's to make-local-variable's. |
| 1358 | ;;; This leaves non-comint-mode buffers alone. Stephane Payrard | 1358 | ;;; This leaves non-comint-mode buffers alone. Stephane Payrard |
| 1359 | ;;; reported the sloppy useage. | 1359 | ;;; reported the sloppy usage. |
| 1360 | ;;; - You can now go from comint-previous-similar-input to | 1360 | ;;; - You can now go from comint-previous-similar-input to |
| 1361 | ;;; comint-previous-input with no problem. | 1361 | ;;; comint-previous-input with no problem. |
| 1362 | ;;; | 1362 | ;;; |
diff --git a/lisp/completion.el b/lisp/completion.el index e450c55162a..2192239f56a 100644 --- a/lisp/completion.el +++ b/lisp/completion.el | |||
| @@ -111,13 +111,13 @@ | |||
| 111 | ;;;--------------------- | 111 | ;;;--------------------- |
| 112 | ;;; | 112 | ;;; |
| 113 | ;;; A "word" is any string containing characters with either word or symbol | 113 | ;;; A "word" is any string containing characters with either word or symbol |
| 114 | ;;; syntax. [E.G. Any alphanumeric string with hypens, underscores, etc.] | 114 | ;;; syntax. [E.G. Any alphanumeric string with hyphens, underscores, etc.] |
| 115 | ;;; Unless you change the constants, you must type at least three characters | 115 | ;;; Unless you change the constants, you must type at least three characters |
| 116 | ;;; for the word to be recognized. Only words longer than 6 characters are | 116 | ;;; for the word to be recognized. Only words longer than 6 characters are |
| 117 | ;;; saved. | 117 | ;;; saved. |
| 118 | ;;; | 118 | ;;; |
| 119 | ;;; When you load this file, completion will be on. I suggest you use the | 119 | ;;; When you load this file, completion will be on. I suggest you use the |
| 120 | ;;; compiled version (because it is noticibly faster). | 120 | ;;; compiled version (because it is noticeably faster). |
| 121 | ;;; | 121 | ;;; |
| 122 | ;;; M-X completion-mode toggles whether or not new words are added to the | 122 | ;;; M-X completion-mode toggles whether or not new words are added to the |
| 123 | ;;; database by changing the value of enable-completion. | 123 | ;;; database by changing the value of enable-completion. |
| @@ -273,7 +273,7 @@ | |||
| 273 | ;;; superior to that of the LISPM version. | 273 | ;;; superior to that of the LISPM version. |
| 274 | ;;; | 274 | ;;; |
| 275 | ;;;----------------------------------------------- | 275 | ;;;----------------------------------------------- |
| 276 | ;;; Acknowlegements | 276 | ;;; Acknowledgements |
| 277 | ;;;----------------------------------------------- | 277 | ;;;----------------------------------------------- |
| 278 | ;;; Cliff Lasser (cal@think.com), Kevin Herbert (kph@cisco.com), | 278 | ;;; Cliff Lasser (cal@think.com), Kevin Herbert (kph@cisco.com), |
| 279 | ;;; eero@media-lab, kgk@cs.brown.edu, jla@ai.mit.edu, | 279 | ;;; eero@media-lab, kgk@cs.brown.edu, jla@ai.mit.edu, |
| @@ -527,7 +527,7 @@ Used to decide whether to save completions.") | |||
| 527 | ;;; | 527 | ;;; |
| 528 | ;;; C diffs -> | 528 | ;;; C diffs -> |
| 529 | ;;; Separator chars :: + * / : % | 529 | ;;; Separator chars :: + * / : % |
| 530 | ;;; A note on the hypen (`-'). Perhaps, the hypen should also be a separator | 530 | ;;; A note on the hyphen (`-'). Perhaps the hyphen should also be a separator |
| 531 | ;;; char., however, we wanted to have completion symbols include pointer | 531 | ;;; char., however, we wanted to have completion symbols include pointer |
| 532 | ;;; references. For example, "foo->bar" is a symbol as far as completion is | 532 | ;;; references. For example, "foo->bar" is a symbol as far as completion is |
| 533 | ;;; concerned. | 533 | ;;; concerned. |
| @@ -1060,7 +1060,7 @@ This is sensitive to `case-fold-search'." | |||
| 1060 | (defconst cmpl-obarray-length 511) | 1060 | (defconst cmpl-obarray-length 511) |
| 1061 | 1061 | ||
| 1062 | (defvar cmpl-prefix-obarray (make-vector cmpl-obarray-length 0) | 1062 | (defvar cmpl-prefix-obarray (make-vector cmpl-obarray-length 0) |
| 1063 | "An obarray used to store the downcased completion prefices. | 1063 | "An obarray used to store the downcased completion prefixes. |
| 1064 | Each symbol is bound to a list of completion entries.") | 1064 | Each symbol is bound to a list of completion entries.") |
| 1065 | 1065 | ||
| 1066 | (defvar cmpl-obarray (make-vector cmpl-obarray-length 0) | 1066 | (defvar cmpl-obarray (make-vector cmpl-obarray-length 0) |
| @@ -1139,7 +1139,7 @@ Each symbol is bound to a single completion entry.") | |||
| 1139 | (defmacro set-cmpl-prefix-entry-tail (prefix-entry new-tail) | 1139 | (defmacro set-cmpl-prefix-entry-tail (prefix-entry new-tail) |
| 1140 | (list 'setcdr prefix-entry new-tail)) | 1140 | (list 'setcdr prefix-entry new-tail)) |
| 1141 | 1141 | ||
| 1142 | ;;; Contructor | 1142 | ;;; Constructor |
| 1143 | 1143 | ||
| 1144 | (defun make-cmpl-prefix-entry (completion-entry-list) | 1144 | (defun make-cmpl-prefix-entry (completion-entry-list) |
| 1145 | "Makes a new prefix entry containing only completion-entry." | 1145 | "Makes a new prefix entry containing only completion-entry." |
| @@ -1287,7 +1287,7 @@ Must be called after `find-exact-completion'." | |||
| 1287 | ;;; WRITES | 1287 | ;;; WRITES |
| 1288 | (defun add-completion-to-tail-if-new (string) | 1288 | (defun add-completion-to-tail-if-new (string) |
| 1289 | "If STRING is not in the database add it to appropriate prefix list. | 1289 | "If STRING is not in the database add it to appropriate prefix list. |
| 1290 | STRING is added to the end of the approppriate prefix list with | 1290 | STRING is added to the end of the appropriate prefix list with |
| 1291 | num-uses = 0. The database is unchanged if it is there. STRING must be | 1291 | num-uses = 0. The database is unchanged if it is there. STRING must be |
| 1292 | longer than `completion-prefix-min-length'. | 1292 | longer than `completion-prefix-min-length'. |
| 1293 | This must be very fast. | 1293 | This must be very fast. |
| @@ -1321,7 +1321,7 @@ Returns the completion entry." | |||
| 1321 | 1321 | ||
| 1322 | (defun add-completion-to-head (string) | 1322 | (defun add-completion-to-head (string) |
| 1323 | "If STRING is not in the database, add it to prefix list. | 1323 | "If STRING is not in the database, add it to prefix list. |
| 1324 | STRING is added to the head of the approppriate prefix list. Otherwise | 1324 | STRING is added to the head of the appropriate prefix list. Otherwise |
| 1325 | it is moved to the head of the list. | 1325 | it is moved to the head of the list. |
| 1326 | STRING must be longer than `completion-prefix-min-length'. | 1326 | STRING must be longer than `completion-prefix-min-length'. |
| 1327 | Updates the saved string with the supplied string. | 1327 | Updates the saved string with the supplied string. |
| @@ -1779,7 +1779,7 @@ If there are no more entries, try cdabbrev and then return only a string." | |||
| 1779 | 1779 | ||
| 1780 | (defun complete (&optional arg) | 1780 | (defun complete (&optional arg) |
| 1781 | "Fill out a completion of the word before point. | 1781 | "Fill out a completion of the word before point. |
| 1782 | Point is left at end. Consective calls rotate through all possibilities. | 1782 | Point is left at end. Consecutive calls rotate through all possibilities. |
| 1783 | Prefix args :: | 1783 | Prefix args :: |
| 1784 | control-u :: leave the point at the beginning of the completion rather | 1784 | control-u :: leave the point at the beginning of the completion rather |
| 1785 | than at the end. | 1785 | than at the end. |
| @@ -2049,14 +2049,14 @@ Prefix args :: | |||
| 2049 | ;;; Symbol separator chars (have whitespace syntax) --> , ; * = ( | 2049 | ;;; Symbol separator chars (have whitespace syntax) --> , ; * = ( |
| 2050 | ;;; Opening char --> [ { | 2050 | ;;; Opening char --> [ { |
| 2051 | ;;; Closing char --> ] } | 2051 | ;;; Closing char --> ] } |
| 2052 | ;;; openning and closing must be skipped over | 2052 | ;;; opening and closing must be skipped over |
| 2053 | ;;; Whitespace chars (have symbol syntax) | 2053 | ;;; Whitespace chars (have symbol syntax) |
| 2054 | ;;; Everything else has word syntax | 2054 | ;;; Everything else has word syntax |
| 2055 | 2055 | ||
| 2056 | (defun cmpl-make-c-def-completion-syntax-table () | 2056 | (defun cmpl-make-c-def-completion-syntax-table () |
| 2057 | (let ((table (make-vector 256 0)) | 2057 | (let ((table (make-vector 256 0)) |
| 2058 | (whitespace-chars '(? ?\n ?\t ?\f ?\v ?\r)) | 2058 | (whitespace-chars '(? ?\n ?\t ?\f ?\v ?\r)) |
| 2059 | ;; unforunately the ?( causes the parens to appear unbalanced | 2059 | ;; unfortunately the ?( causes the parens to appear unbalanced |
| 2060 | (separator-chars '(?, ?* ?= ?\( ?\; | 2060 | (separator-chars '(?, ?* ?= ?\( ?\; |
| 2061 | )) | 2061 | )) |
| 2062 | ) | 2062 | ) |
| @@ -2505,14 +2505,14 @@ Patched to remove the most recent completion." | |||
| 2505 | ;;; Patches to self-insert-command. | 2505 | ;;; Patches to self-insert-command. |
| 2506 | ;;;----------------------------------------------- | 2506 | ;;;----------------------------------------------- |
| 2507 | 2507 | ||
| 2508 | ;;; Need 2 versions: generic seperator chars. and space (to get auto fill | 2508 | ;;; Need 2 versions: generic separator chars. and space (to get auto fill |
| 2509 | ;;; to work) | 2509 | ;;; to work) |
| 2510 | 2510 | ||
| 2511 | ;;; All common separators (eg. space "(" ")" """) characters go through a | 2511 | ;;; All common separators (eg. space "(" ")" """) characters go through a |
| 2512 | ;;; function to add new words to the list of words to complete from: | 2512 | ;;; function to add new words to the list of words to complete from: |
| 2513 | ;;; COMPLETION-SEPARATOR-SELF-INSERT-COMMAND (arg). | 2513 | ;;; COMPLETION-SEPARATOR-SELF-INSERT-COMMAND (arg). |
| 2514 | ;;; If the character before this was an alpha-numeric then this adds the | 2514 | ;;; If the character before this was an alpha-numeric then this adds the |
| 2515 | ;;; symbol befoe point to the completion list (using ADD-COMPLETION). | 2515 | ;;; symbol before point to the completion list (using ADD-COMPLETION). |
| 2516 | 2516 | ||
| 2517 | (defun completion-separator-self-insert-command (arg) | 2517 | (defun completion-separator-self-insert-command (arg) |
| 2518 | (interactive "p") | 2518 | (interactive "p") |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index e452bf26c61..16b28fc4e1e 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -269,7 +269,7 @@ with a prefix argument." | |||
| 269 | (defun dired-shell-quote (filename) | 269 | (defun dired-shell-quote (filename) |
| 270 | "Quote a file name for inferior shell (see variable `shell-file-name')." | 270 | "Quote a file name for inferior shell (see variable `shell-file-name')." |
| 271 | ;; Quote everything except POSIX filename characters. | 271 | ;; Quote everything except POSIX filename characters. |
| 272 | ;; This should be safe enough even for really wierd shells. | 272 | ;; This should be safe enough even for really weird shells. |
| 273 | (let ((result "") (start 0) end) | 273 | (let ((result "") (start 0) end) |
| 274 | (while (string-match "[^---0-9a-zA-Z_./]" filename start) | 274 | (while (string-match "[^---0-9a-zA-Z_./]" filename start) |
| 275 | (setq end (match-beginning 0) | 275 | (setq end (match-beginning 0) |
| @@ -480,7 +480,7 @@ and use this command with a prefix argument (the value does not matter)." | |||
| 480 | (defun dired-compress-file (file) | 480 | (defun dired-compress-file (file) |
| 481 | ;; Compress or uncompress FILE. | 481 | ;; Compress or uncompress FILE. |
| 482 | ;; Return the name of the compressed or uncompressed file. | 482 | ;; Return the name of the compressed or uncompressed file. |
| 483 | ;; Rerurn nil if no change in files. | 483 | ;; Return nil if no change in files. |
| 484 | (let ((handler (find-file-name-handler file))) | 484 | (let ((handler (find-file-name-handler file))) |
| 485 | (cond (handler | 485 | (cond (handler |
| 486 | (funcall handler 'dired-compress-file file)) | 486 | (funcall handler 'dired-compress-file file)) |
| @@ -767,7 +767,7 @@ a prefix arg lets you edit the `ls' switches used for the new listing." | |||
| 767 | nil)) | 767 | nil)) |
| 768 | (if reason ; don't move away on failure | 768 | (if reason ; don't move away on failure |
| 769 | (goto-char opoint)) | 769 | (goto-char opoint)) |
| 770 | (not reason))) ; return t on succes, nil else | 770 | (not reason))) ; return t on success, nil else |
| 771 | 771 | ||
| 772 | ;; This is a separate function for the sake of nested dired format. | 772 | ;; This is a separate function for the sake of nested dired format. |
| 773 | (defun dired-add-entry-do-indentation (marker-char) | 773 | (defun dired-add-entry-do-indentation (marker-char) |
| @@ -1100,7 +1100,7 @@ ESC or `q' to not overwrite any of the remaining files, | |||
| 1100 | ;; the new files. Target may be a plain file if only one marked | 1100 | ;; the new files. Target may be a plain file if only one marked |
| 1101 | ;; file exists. | 1101 | ;; file exists. |
| 1102 | ;; OP-SYMBOL is the symbol for the operation. Function `dired-mark-pop-up' | 1102 | ;; OP-SYMBOL is the symbol for the operation. Function `dired-mark-pop-up' |
| 1103 | ;; will determine wether pop-ups are appropriate for this OP-SYMBOL. | 1103 | ;; will determine whether pop-ups are appropriate for this OP-SYMBOL. |
| 1104 | ;; FILE-CREATOR and OPERATION as in dired-create-files. | 1104 | ;; FILE-CREATOR and OPERATION as in dired-create-files. |
| 1105 | ;; ARG as in dired-get-marked-files. | 1105 | ;; ARG as in dired-get-marked-files. |
| 1106 | ;; Optional arg OP1 is an alternate form for OPERATION if there is | 1106 | ;; Optional arg OP1 is an alternate form for OPERATION if there is |
diff --git a/lisp/dired.el b/lisp/dired.el index 680b116dd01..f3916b62b12 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -48,7 +48,7 @@ may contain even `F', `b', `i' and `s'.") | |||
| 48 | (defvar dired-chown-program | 48 | (defvar dired-chown-program |
| 49 | (if (memq system-type '(hpux dgux usg-unix-v silicon-graphics-unix)) | 49 | (if (memq system-type '(hpux dgux usg-unix-v silicon-graphics-unix)) |
| 50 | "chown" "/etc/chown") | 50 | "chown" "/etc/chown") |
| 51 | "Name of chown command (usully `chown' or `/etc/chown').") | 51 | "Name of chown command (usually `chown' or `/etc/chown').") |
| 52 | 52 | ||
| 53 | ;;;###autoload | 53 | ;;;###autoload |
| 54 | (defvar dired-ls-F-marks-symlinks nil | 54 | (defvar dired-ls-F-marks-symlinks nil |
| @@ -824,7 +824,7 @@ Keybindings: | |||
| 824 | (dired-sort-other dired-actual-switches t) | 824 | (dired-sort-other dired-actual-switches t) |
| 825 | (run-hooks 'dired-mode-hook)) | 825 | (run-hooks 'dired-mode-hook)) |
| 826 | 826 | ||
| 827 | ;; Ideosyncratic dired commands that don't deal with marks. | 827 | ;; Idiosyncratic dired commands that don't deal with marks. |
| 828 | 828 | ||
| 829 | (defun dired-quit () | 829 | (defun dired-quit () |
| 830 | "Bury the current dired buffer." | 830 | "Bury the current dired buffer." |
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el index a74e30ad851..ef5d4a02c99 100644 --- a/lisp/emacs-lisp/backquote.el +++ b/lisp/emacs-lisp/backquote.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;;; This is a rudimentry backquote package written by D. King, | 26 | ;;; This is a rudimentary backquote package written by D. King, |
| 27 | ;;; king@kestrel, on 8/31/85. (` x) is a macro | 27 | ;;; king@kestrel, on 8/31/85. (` x) is a macro |
| 28 | ;;; that expands to a form that produces x. (` (a b ..)) is | 28 | ;;; that expands to a form that produces x. (` (a b ..)) is |
| 29 | ;;; a macro that expands into a form that produces a list of what a b | 29 | ;;; a macro that expands into a form that produces a list of what a b |
| @@ -83,7 +83,7 @@ a list-value atom" | |||
| 83 | ;;; These two advertised variables control what characters are used to | 83 | ;;; These two advertised variables control what characters are used to |
| 84 | ;;; unquote things. I have included , and ,@ as the unquote and | 84 | ;;; unquote things. I have included , and ,@ as the unquote and |
| 85 | ;;; splice operators, respectively, to give users of MIT CADR machine | 85 | ;;; splice operators, respectively, to give users of MIT CADR machine |
| 86 | ;;; derivitive machines a warm, cosy feeling. | 86 | ;;; derivative machines a warm, cosy feeling. |
| 87 | 87 | ||
| 88 | (defconst backquote-unquote '(,) | 88 | (defconst backquote-unquote '(,) |
| 89 | "*A list of all objects that stimulate unquoting in `. Memq test.") | 89 | "*A list of all objects that stimulate unquoting in `. Memq test.") |
| @@ -181,7 +181,7 @@ See backquote.el for details" | |||
| 181 | 181 | ||
| 182 | ;;; Given a state/tailmaker pair that already knows how to make a | 182 | ;;; Given a state/tailmaker pair that already knows how to make a |
| 183 | ;;; partial tail of the desired form, this function knows how to add | 183 | ;;; partial tail of the desired form, this function knows how to add |
| 184 | ;;; yet another element to the burgening list. There are four cases; | 184 | ;;; yet another element to the burgeoning list. There are four cases; |
| 185 | ;;; the next item is an atom (which will certainly be quoted); a | 185 | ;;; the next item is an atom (which will certainly be quoted); a |
| 186 | ;;; (, xxx), which will be evaluated and put into the list at the top | 186 | ;;; (, xxx), which will be evaluated and put into the list at the top |
| 187 | ;;; level; a (,@ xxx), which will be evaluated and spliced in, or | 187 | ;;; level; a (,@ xxx), which will be evaluated and spliced in, or |
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 4a39a71c617..c7ab880cf60 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el | |||
| @@ -388,7 +388,7 @@ | |||
| 388 | 388 | ||
| 389 | ((memq fn '(and or)) ; remember, and/or are control structures. | 389 | ((memq fn '(and or)) ; remember, and/or are control structures. |
| 390 | ;; take forms off the back until we can't any more. | 390 | ;; take forms off the back until we can't any more. |
| 391 | ;; In the future it could concievably be a problem that the | 391 | ;; In the future it could conceivably be a problem that the |
| 392 | ;; subexpressions of these forms are optimized in the reverse | 392 | ;; subexpressions of these forms are optimized in the reverse |
| 393 | ;; order, but it's ok for now. | 393 | ;; order, but it's ok for now. |
| 394 | (if for-effect | 394 | (if for-effect |
| @@ -522,7 +522,7 @@ | |||
| 522 | ;;; | 522 | ;;; |
| 523 | ;;; It is now safe to optimize code such that it introduces new bindings. | 523 | ;;; It is now safe to optimize code such that it introduces new bindings. |
| 524 | 524 | ||
| 525 | ;; I'd like this to be a defsubst, but let's not be self-referental... | 525 | ;; I'd like this to be a defsubst, but let's not be self-referential... |
| 526 | (defmacro byte-compile-trueconstp (form) | 526 | (defmacro byte-compile-trueconstp (form) |
| 527 | ;; Returns non-nil if FORM is a non-nil constant. | 527 | ;; Returns non-nil if FORM is a non-nil constant. |
| 528 | (` (cond ((consp (, form)) (eq (car (, form)) 'quote)) | 528 | (` (cond ((consp (, form)) (eq (car (, form)) 'quote)) |
| @@ -773,7 +773,7 @@ | |||
| 773 | ;; I'm not convinced that this is necessary. Doesn't the optimizer loop | 773 | ;; I'm not convinced that this is necessary. Doesn't the optimizer loop |
| 774 | ;; take care of this? - Jamie | 774 | ;; take care of this? - Jamie |
| 775 | ;; I think this may some times be necessary to reduce ie (quote 5) to 5, | 775 | ;; I think this may some times be necessary to reduce ie (quote 5) to 5, |
| 776 | ;; so arithmetic optimizers recognize the numerinc constant. - Hallvard | 776 | ;; so arithmetic optimizers recognize the numeric constant. - Hallvard |
| 777 | (put 'quote 'byte-optimizer 'byte-optimize-quote) | 777 | (put 'quote 'byte-optimizer 'byte-optimize-quote) |
| 778 | (defun byte-optimize-quote (form) | 778 | (defun byte-optimize-quote (form) |
| 779 | (if (or (consp (nth 1 form)) | 779 | (if (or (consp (nth 1 form)) |
| @@ -1063,7 +1063,7 @@ | |||
| 1063 | ;;; and by the disassembler. | 1063 | ;;; and by the disassembler. |
| 1064 | ;;; | 1064 | ;;; |
| 1065 | (defun byte-decompile-bytecode (bytes constvec) | 1065 | (defun byte-decompile-bytecode (bytes constvec) |
| 1066 | "Turns BYTECODE into lapcode, refering to CONSTVEC." | 1066 | "Turns BYTECODE into lapcode, referring to CONSTVEC." |
| 1067 | (let ((byte-compile-constants nil) | 1067 | (let ((byte-compile-constants nil) |
| 1068 | (byte-compile-variables nil) | 1068 | (byte-compile-variables nil) |
| 1069 | (byte-compile-tag-number 0)) | 1069 | (byte-compile-tag-number 0)) |
| @@ -1418,7 +1418,7 @@ may generate incorrect code.") | |||
| 1418 | ((and (eq (car lap0) 'TAG) | 1418 | ((and (eq (car lap0) 'TAG) |
| 1419 | (eq (car lap1) 'TAG)) | 1419 | (eq (car lap1) 'TAG)) |
| 1420 | (and (memq byte-optimize-log '(t byte)) | 1420 | (and (memq byte-optimize-log '(t byte)) |
| 1421 | (byte-compile-log " adjascent tags %d and %d merged" | 1421 | (byte-compile-log " adjacent tags %d and %d merged" |
| 1422 | (nth 1 lap1) (nth 1 lap0))) | 1422 | (nth 1 lap1) (nth 1 lap0))) |
| 1423 | (setq tmp3 lap) | 1423 | (setq tmp3 lap) |
| 1424 | (while (setq tmp2 (rassq lap0 tmp3)) | 1424 | (while (setq tmp2 (rassq lap0 tmp3)) |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index ce72c041551..d1f03516f7c 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -143,7 +143,7 @@ | |||
| 143 | ;;; | 143 | ;;; |
| 144 | ;;; o The form `eval-when-compile' is like progn, except that the body | 144 | ;;; o The form `eval-when-compile' is like progn, except that the body |
| 145 | ;;; is evaluated at compile-time. When it appears at top-level, this | 145 | ;;; is evaluated at compile-time. When it appears at top-level, this |
| 146 | ;;; is analagous to the Common Lisp idiom (eval-when (compile) ...). | 146 | ;;; is analogous to the Common Lisp idiom (eval-when (compile) ...). |
| 147 | ;;; When it does not appear at top-level, it is similar to the | 147 | ;;; When it does not appear at top-level, it is similar to the |
| 148 | ;;; Common Lisp #. reader macro (but not in interpreted code.) | 148 | ;;; Common Lisp #. reader macro (but not in interpreted code.) |
| 149 | ;;; | 149 | ;;; |
| @@ -407,7 +407,7 @@ Each element is (INDEX . VALUE)") | |||
| 407 | (byte-defop 24 -1 byte-varbind "for binding a variable") | 407 | (byte-defop 24 -1 byte-varbind "for binding a variable") |
| 408 | (byte-defop 32 0 byte-call "for calling a function") | 408 | (byte-defop 32 0 byte-call "for calling a function") |
| 409 | (byte-defop 40 0 byte-unbind "for unbinding special bindings") | 409 | (byte-defop 40 0 byte-unbind "for unbinding special bindings") |
| 410 | ;; codes 8-47 are consumed by the preceeding opcodes | 410 | ;; codes 8-47 are consumed by the preceding opcodes |
| 411 | 411 | ||
| 412 | ;; unused: 48-55 | 412 | ;; unused: 48-55 |
| 413 | 413 | ||
| @@ -2205,7 +2205,7 @@ If FORM is a lambda or a macro, byte-compile it as a function." | |||
| 2205 | (defun byte-compile-associative (form) | 2205 | (defun byte-compile-associative (form) |
| 2206 | (if (cdr form) | 2206 | (if (cdr form) |
| 2207 | (let ((opcode (get (car form) 'byte-opcode))) | 2207 | (let ((opcode (get (car form) 'byte-opcode))) |
| 2208 | ;; To compile all the args first may enable some optimizaions. | 2208 | ;; To compile all the args first may enable some optimizations. |
| 2209 | (mapcar 'byte-compile-form (setq form (cdr form))) | 2209 | (mapcar 'byte-compile-form (setq form (cdr form))) |
| 2210 | (while (setq form (cdr form)) | 2210 | (while (setq form (cdr form)) |
| 2211 | (byte-compile-out opcode 0))) | 2211 | (byte-compile-out opcode 0))) |
| @@ -2310,7 +2310,7 @@ If FORM is a lambda or a macro, byte-compile it as a function." | |||
| 2310 | 2310 | ||
| 2311 | (defun byte-compile-funarg (form) | 2311 | (defun byte-compile-funarg (form) |
| 2312 | ;; (mapcar '(lambda (x) ..) ..) ==> (mapcar (function (lambda (x) ..)) ..) | 2312 | ;; (mapcar '(lambda (x) ..) ..) ==> (mapcar (function (lambda (x) ..)) ..) |
| 2313 | ;; for cases where it's guarenteed that first arg will be used as a lambda. | 2313 | ;; for cases where it's guaranteed that first arg will be used as a lambda. |
| 2314 | (byte-compile-normal-call | 2314 | (byte-compile-normal-call |
| 2315 | (let ((fn (nth 1 form))) | 2315 | (let ((fn (nth 1 form))) |
| 2316 | (if (and (eq (car-safe fn) 'quote) | 2316 | (if (and (eq (car-safe fn) 'quote) |
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el index f063f92ee7a..f6ad1854012 100644 --- a/lisp/emacs-lisp/cl-indent.el +++ b/lisp/emacs-lisp/cl-indent.el | |||
| @@ -74,7 +74,7 @@ by `lisp-body-indent'.") | |||
| 74 | ;; which does special things with subforms. | 74 | ;; which does special things with subforms. |
| 75 | (let ((depth 0) | 75 | (let ((depth 0) |
| 76 | ;; Path describes the position of point in terms of | 76 | ;; Path describes the position of point in terms of |
| 77 | ;; list-structure with respect to contining lists. | 77 | ;; list-structure with respect to containing lists. |
| 78 | ;; `foo' has a path of (0 4 1) in `((a b c (d foo) f) g)' | 78 | ;; `foo' has a path of (0 4 1) in `((a b c (d foo) f) g)' |
| 79 | (path ()) | 79 | (path ()) |
| 80 | ;; set non-nil when somebody works out the indentation to use | 80 | ;; set non-nil when somebody works out the indentation to use |
| @@ -331,7 +331,7 @@ by `lisp-body-indent'.") | |||
| 331 | path state indent-point sexp-column normal-indent)) | 331 | path state indent-point sexp-column normal-indent)) |
| 332 | (funcall (function lisp-indent-259) | 332 | (funcall (function lisp-indent-259) |
| 333 | '((&whole nil &rest | 333 | '((&whole nil &rest |
| 334 | ;; the following causes wierd indentation | 334 | ;; the following causes weird indentation |
| 335 | ;;(&whole 1 1 2 nil) | 335 | ;;(&whole 1 1 2 nil) |
| 336 | ) | 336 | ) |
| 337 | (&whole nil &rest 1)) | 337 | (&whole nil &rest 1)) |
diff --git a/lisp/emacs-lisp/cust-print.el b/lisp/emacs-lisp/cust-print.el index 355b046b956..863c8daaf3b 100644 --- a/lisp/emacs-lisp/cust-print.el +++ b/lisp/emacs-lisp/cust-print.el | |||
| @@ -121,8 +121,8 @@ If nil, printing proceeds recursively and may lead to | |||
| 121 | `print-length' and `print-level'. | 121 | `print-length' and `print-level'. |
| 122 | 122 | ||
| 123 | If non-nil, shared substructures anywhere in the structure are printed | 123 | If non-nil, shared substructures anywhere in the structure are printed |
| 124 | with `#N=' before the first occurance (in the order of the print | 124 | with `#N=' before the first occurrence (in the order of the print |
| 125 | representation) and `#N#' in place of each subsequent occurance, | 125 | representation) and `#N#' in place of each subsequent occurrence, |
| 126 | where N is a positive decimal integer. | 126 | where N is a positive decimal integer. |
| 127 | 127 | ||
| 128 | Currently, there is no way to read this representation in Emacs.") | 128 | Currently, there is no way to read this representation in Emacs.") |
| @@ -269,7 +269,7 @@ string argument will also work. The string is generated with | |||
| 269 | 269 | ||
| 270 | (defun custom-message (fmt &rest args) | 270 | (defun custom-message (fmt &rest args) |
| 271 | "Replacement for standard `message' that works like `custom-format'." | 271 | "Replacement for standard `message' that works like `custom-format'." |
| 272 | ;; It doesnt work to princ the result of custom-format | 272 | ;; It doesn't work to princ the result of custom-format |
| 273 | ;; because the echo area requires special handling | 273 | ;; because the echo area requires special handling |
| 274 | ;; to avoid duplicating the output. cust-print-internal-message does it right. | 274 | ;; to avoid duplicating the output. cust-print-internal-message does it right. |
| 275 | ;; (cust-print-internal-princ (apply 'custom-format fmt args)) | 275 | ;; (cust-print-internal-princ (apply 'custom-format fmt args)) |
| @@ -352,7 +352,7 @@ string argument will also work. The string is generated with | |||
| 352 | ;; Print the custom OBJECT using the custom type ALIST. | 352 | ;; Print the custom OBJECT using the custom type ALIST. |
| 353 | ;; For the first predicate that matches the object, the corresponding | 353 | ;; For the first predicate that matches the object, the corresponding |
| 354 | ;; converter is evaluated with the object and the string that results is | 354 | ;; converter is evaluated with the object and the string that results is |
| 355 | ;; printed with princ. Return nil if no predicte matches the object. | 355 | ;; printed with princ. Return nil if no predicate matches the object. |
| 356 | (defun cust-print-custom-object1 (object alist) | 356 | (defun cust-print-custom-object1 (object alist) |
| 357 | (while (and alist (not (funcall (car (car alist)) object))) | 357 | (while (and alist (not (funcall (car (car alist)) object))) |
| 358 | (setq alist (cdr alist))) | 358 | (setq alist (cdr alist))) |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 46bc1616487..a5acfd50875 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -127,7 +127,7 @@ | |||
| 127 | ;;; Reset edebug-mode only on | 127 | ;;; Reset edebug-mode only on |
| 128 | ;;; first entry of any function at each recursive-edit level. | 128 | ;;; first entry of any function at each recursive-edit level. |
| 129 | ;;; Add edebug-backtrace, to generate cleaned up | 129 | ;;; Add edebug-backtrace, to generate cleaned up |
| 130 | ;;; backtrace. It doesnt "work" like the debug backtrace, however. | 130 | ;;; backtrace. It doesn't "work" like the debug backtrace, however. |
| 131 | ;;; Require reselecting outside window even if | 131 | ;;; Require reselecting outside window even if |
| 132 | ;;; quit occurs, otherwise save-excursions may restore | 132 | ;;; quit occurs, otherwise save-excursions may restore |
| 133 | ;;; buffer to the wrong window. | 133 | ;;; buffer to the wrong window. |
| @@ -180,9 +180,9 @@ | |||
| 180 | ;;; Leave point at syntax error, mark at starting position. | 180 | ;;; Leave point at syntax error, mark at starting position. |
| 181 | ;;; | 181 | ;;; |
| 182 | ;;; Revision 1.2 88/11/28 12:14:15 liberte | 182 | ;;; Revision 1.2 88/11/28 12:14:15 liberte |
| 183 | ;;; Bug fixes: cond construct didnt execute. | 183 | ;;; Bug fixes: cond construct didn't execute. |
| 184 | ;;; () in sexp list didnt parse | 184 | ;;; () in sexp list didn't parse |
| 185 | ;;; () as variable in condition-case didnt parse. | 185 | ;;; () as variable in condition-case didn't parse. |
| 186 | ;;; | 186 | ;;; |
| 187 | ;;; Revision 1.1 88/11/28 12:11:27 liberte | 187 | ;;; Revision 1.1 88/11/28 12:11:27 liberte |
| 188 | ;;; Initial revision | 188 | ;;; Initial revision |
| @@ -281,7 +281,7 @@ Assumes Emacs Lisp syntax is active." | |||
| 281 | 281 | ||
| 282 | (defun edebug-window-list () | 282 | (defun edebug-window-list () |
| 283 | "Return a list of windows, in order of next-window." | 283 | "Return a list of windows, in order of next-window." |
| 284 | ;; This doesnt work for epoch. | 284 | ;; This doesn't work for epoch. |
| 285 | (let* ((first-window (selected-window)) | 285 | (let* ((first-window (selected-window)) |
| 286 | (window-list (list first-window)) | 286 | (window-list (list first-window)) |
| 287 | (next (next-window first-window))) | 287 | (next (next-window first-window))) |
| @@ -1026,7 +1026,7 @@ Leave point after the value, if there is one." | |||
| 1026 | (nreverse value-value-list))) | 1026 | (nreverse value-value-list))) |
| 1027 | 1027 | ||
| 1028 | 1028 | ||
| 1029 | ;; Bug: this doesnt support condition name lists | 1029 | ;; Bug: this doesn't support condition name lists |
| 1030 | (put 'condition-case 'edebug-form-hook | 1030 | (put 'condition-case 'edebug-form-hook |
| 1031 | '(symbolp | 1031 | '(symbolp |
| 1032 | form | 1032 | form |
| @@ -1398,7 +1398,7 @@ This is to avoid spurious recentering.") | |||
| 1398 | (eq edebug-arg-mode 'error)) | 1398 | (eq edebug-arg-mode 'error)) |
| 1399 | (progn | 1399 | (progn |
| 1400 | (setq edebug-mode 'step) | 1400 | (setq edebug-mode 'step) |
| 1401 | (edebug-overlay-arrow) ; this doesnt always show up. | 1401 | (edebug-overlay-arrow) ; this doesn't always show up. |
| 1402 | (edebug-recursive-edit));; <<<<<< Recursive edit | 1402 | (edebug-recursive-edit));; <<<<<< Recursive edit |
| 1403 | ) | 1403 | ) |
| 1404 | 1404 | ||
diff --git a/lisp/emacs-lisp/float.el b/lisp/emacs-lisp/float.el index f6e7bb74972..04281d7eb73 100644 --- a/lisp/emacs-lisp/float.el +++ b/lisp/emacs-lisp/float.el | |||
| @@ -71,10 +71,10 @@ | |||
| 71 | "Number of highest bit") | 71 | "Number of highest bit") |
| 72 | 72 | ||
| 73 | (defconst mantissa-maxval (1- (ash 1 maxbit)) | 73 | (defconst mantissa-maxval (1- (ash 1 maxbit)) |
| 74 | "Maximum permissable value of mantissa") | 74 | "Maximum permissible value of mantissa") |
| 75 | 75 | ||
| 76 | (defconst mantissa-minval (ash 1 maxbit) | 76 | (defconst mantissa-minval (ash 1 maxbit) |
| 77 | "Minimum permissable value of mantissa") | 77 | "Minimum permissible value of mantissa") |
| 78 | 78 | ||
| 79 | (defconst floating-point-regexp | 79 | (defconst floating-point-regexp |
| 80 | "^[ \t]*\\(-?\\)\\([0-9]*\\)\ | 80 | "^[ \t]*\\(-?\\)\\([0-9]*\\)\ |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 17acda41e22..f7d29dff72c 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -371,7 +371,7 @@ of the start of the containing expression." | |||
| 371 | (parse-partial-sexp (point) last-sexp 0 t) | 371 | (parse-partial-sexp (point) last-sexp 0 t) |
| 372 | (backward-prefix-chars))))) | 372 | (backward-prefix-chars))))) |
| 373 | ;; Point is at the point to indent under unless we are inside a string. | 373 | ;; Point is at the point to indent under unless we are inside a string. |
| 374 | ;; Call indentation hook except when overriden by lisp-indent-offset | 374 | ;; Call indentation hook except when overridden by lisp-indent-offset |
| 375 | ;; or if the desired indentation has already been computed. | 375 | ;; or if the desired indentation has already been computed. |
| 376 | (let ((normal-indent (current-column))) | 376 | (let ((normal-indent (current-column))) |
| 377 | (cond ((elt state 3) | 377 | (cond ((elt state 3) |
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index 9c4cbd1d788..854afdddbf0 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; Lisp ediing commands to go with Lisp major mode. | 26 | ;; Lisp editing commands to go with Lisp major mode. |
| 27 | 27 | ||
| 28 | ;;; Code: | 28 | ;;; Code: |
| 29 | 29 | ||
diff --git a/lisp/emerge.el b/lisp/emerge.el index 3247c6c6a2e..53749d7c445 100644 --- a/lisp/emerge.el +++ b/lisp/emerge.el | |||
| @@ -365,9 +365,9 @@ the markers. | |||
| 365 | default-B the merge buffer contains the B variant by default, | 365 | default-B the merge buffer contains the B variant by default, |
| 366 | but this difference hasn't been selected yet, so | 366 | but this difference hasn't been selected yet, so |
| 367 | change-default commands can alter it | 367 | change-default commands can alter it |
| 368 | prefer-A in a three-file merge, the A variant is the prefered | 368 | prefer-A in a three-file merge, the A variant is the preferred |
| 369 | choice | 369 | choice |
| 370 | prefer-B in a three-file merge, the B variant is the prefered | 370 | prefer-B in a three-file merge, the B variant is the preferred |
| 371 | choice") | 371 | choice") |
| 372 | (emerge-defvar-local emerge-current-difference -1 | 372 | (emerge-defvar-local emerge-current-difference -1 |
| 373 | "The difference that is currently selected.") | 373 | "The difference that is currently selected.") |
| @@ -1073,7 +1073,7 @@ Otherwise, the A or B file present is copied to the output file." | |||
| 1073 | (t | 1073 | (t |
| 1074 | (error "Unrecognized entry")))) | 1074 | (error "Unrecognized entry")))) |
| 1075 | ;; If the match on the entry pattern failed | 1075 | ;; If the match on the entry pattern failed |
| 1076 | (error "Unparseable entry"))) | 1076 | (error "Unparsable entry"))) |
| 1077 | ;; Make sure that file-A and file-B are present | 1077 | ;; Make sure that file-A and file-B are present |
| 1078 | (if (not (or (and file-A file-B) file-out)) | 1078 | (if (not (or (and file-A file-B) file-out)) |
| 1079 | (error "Must have both `A' and `B' entries")) | 1079 | (error "Must have both `A' and `B' entries")) |
| @@ -2008,7 +2008,7 @@ Use C-u l to reset the windows afterward." | |||
| 2008 | 2008 | ||
| 2009 | (defun emerge-join-differences (arg) | 2009 | (defun emerge-join-differences (arg) |
| 2010 | "Join the selected difference with the following one. | 2010 | "Join the selected difference with the following one. |
| 2011 | With a prefix argument, join with the preceeding one." | 2011 | With a prefix argument, join with the preceding one." |
| 2012 | (interactive "P") | 2012 | (interactive "P") |
| 2013 | (let ((n emerge-current-difference)) | 2013 | (let ((n emerge-current-difference)) |
| 2014 | ;; adjust n to be first difference to join | 2014 | ;; adjust n to be first difference to join |
| @@ -2288,11 +2288,11 @@ the nearest previous difference." | |||
| 2288 | (if (< index emerge-number-of-differences) | 2288 | (if (< index emerge-number-of-differences) |
| 2289 | index | 2289 | index |
| 2290 | (error "No difference contains or follows point"))) | 2290 | (error "No difference contains or follows point"))) |
| 2291 | ;; if the arg is negative, select the preceeding difference | 2291 | ;; if the arg is negative, select the preceding difference |
| 2292 | (t | 2292 | (t |
| 2293 | (if (> index 0) | 2293 | (if (> index 0) |
| 2294 | (1- index) | 2294 | (1- index) |
| 2295 | (error "No difference contains or preceeds point"))))))) | 2295 | (error "No difference contains or precedes point"))))))) |
| 2296 | 2296 | ||
| 2297 | (defun emerge-line-numbers () | 2297 | (defun emerge-line-numbers () |
| 2298 | "Display the current line numbers. | 2298 | "Display the current line numbers. |
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index 875cb173075..3770767fe92 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -391,7 +391,7 @@ The keys redefined by \\[edt-emulation-on] are given their old definitions." | |||
| 391 | (global-set-key "\C-j" edt-mode-old-linefeed)) ;"LineFeed" | 391 | (global-set-key "\C-j" edt-mode-old-linefeed)) ;"LineFeed" |
| 392 | 392 | ||
| 393 | (defvar GOLD-map (make-keymap) | 393 | (defvar GOLD-map (make-keymap) |
| 394 | "`GOLD-map' maps the function keys on the VT100 keyboard preceeded | 394 | "`GOLD-map' maps the function keys on the VT100 keyboard preceded |
| 395 | by the PF1 key. GOLD is the ASCII the 7-bit escape sequence <ESC>OP.") | 395 | by the PF1 key. GOLD is the ASCII the 7-bit escape sequence <ESC>OP.") |
| 396 | 396 | ||
| 397 | (defalias 'GOLD-prefix GOLD-map) | 397 | (defalias 'GOLD-prefix GOLD-map) |
diff --git a/lisp/emulation/mlconvert.el b/lisp/emulation/mlconvert.el index c186622e43b..9a8d9f4e2ea 100644 --- a/lisp/emulation/mlconvert.el +++ b/lisp/emulation/mlconvert.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; This package conversts Mocklisp code written under a Gosling or UniPress | 26 | ;; This package converts Mocklisp code written under a Gosling or UniPress |
| 27 | ;; Emacs for use with GNU Emacs. The translated code will require runtime | 27 | ;; Emacs for use with GNU Emacs. The translated code will require runtime |
| 28 | ;; support from the mlsupport.el equivalent. | 28 | ;; support from the mlsupport.el equivalent. |
| 29 | 29 | ||
diff --git a/lisp/emulation/vi.el b/lisp/emulation/vi.el index 5c9f71b96a5..0f42f72c7d5 100644 --- a/lisp/emulation/vi.el +++ b/lisp/emulation/vi.el | |||
| @@ -332,7 +332,7 @@ command extensions.") | |||
| 332 | "Save last direction, char and upto-flag used for char finding.") | 332 | "Save last direction, char and upto-flag used for char finding.") |
| 333 | 333 | ||
| 334 | (defvar vi-last-change-command nil ; cons cell | 334 | (defvar vi-last-change-command nil ; cons cell |
| 335 | "Save commmands for redoing last changes. Each command is in (FUNC . ARGS) | 335 | "Save commands for redoing last changes. Each command is in (FUNC . ARGS) |
| 336 | form that is ready to be 'apply'ed.") | 336 | form that is ready to be 'apply'ed.") |
| 337 | 337 | ||
| 338 | (defvar vi-last-shell-command nil ; last shell op command line | 338 | (defvar vi-last-shell-command nil ; last shell op command line |
| @@ -790,7 +790,7 @@ The given COUNT is remembered for future scrollings." | |||
| 790 | 790 | ||
| 791 | (defun vi-char-argument (arg) | 791 | (defun vi-char-argument (arg) |
| 792 | "Get following character (could be any CHAR) as part of the prefix argument. | 792 | "Get following character (could be any CHAR) as part of the prefix argument. |
| 793 | Possible perfix-arg cases are NIL, INTEGER, (NIL . CHAR) or (INTEGER . CHAR)." | 793 | Possible prefix-arg cases are NIL, INTEGER, (NIL . CHAR) or (INTEGER . CHAR)." |
| 794 | (interactive "P") | 794 | (interactive "P") |
| 795 | (let ((char (read-char))) | 795 | (let ((char (read-char))) |
| 796 | (cond ((null arg) (setq prefix-arg (cons nil char))) | 796 | (cond ((null arg) (setq prefix-arg (cons nil char))) |
| @@ -1346,7 +1346,7 @@ The following CHAR will be the name for the command or macro." | |||
| 1346 | (vi-ask-for-info char)))) | 1346 | (vi-ask-for-info char)))) |
| 1347 | 1347 | ||
| 1348 | (defun vi-mark-region (arg region) | 1348 | (defun vi-mark-region (arg region) |
| 1349 | "Mark region approriately. The next char REGION is d(efun),s(-exp),b(uffer), | 1349 | "Mark region appropriately. The next char REGION is d(efun),s(-exp),b(uffer), |
| 1350 | p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence), | 1350 | p(aragraph), P(age), f(unction in C/Pascal etc.), w(ord), e(nd of sentence), |
| 1351 | l(ines)." | 1351 | l(ines)." |
| 1352 | (interactive "p\nc") | 1352 | (interactive "p\nc") |
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index 13f91aa069f..3c307625059 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -67,7 +67,7 @@ | |||
| 67 | 67 | ||
| 68 | (defvar vip-d-com nil | 68 | (defvar vip-d-com nil |
| 69 | "If non-nil, it's value is a list (M-COM VAL COM), and is used to | 69 | "If non-nil, it's value is a list (M-COM VAL COM), and is used to |
| 70 | re-execute last destrcutive command") | 70 | re-execute last destructive command") |
| 71 | 71 | ||
| 72 | (defconst vip-shift-width 8 | 72 | (defconst vip-shift-width 8 |
| 73 | "*The number of colums shifted by > and < command.") | 73 | "*The number of colums shifted by > and < command.") |
| @@ -76,7 +76,7 @@ re-execute last destrcutive command") | |||
| 76 | "*If t then do regexp replace, if nil then do string replace.") | 76 | "*If t then do regexp replace, if nil then do string replace.") |
| 77 | 77 | ||
| 78 | (defvar vip-d-char nil | 78 | (defvar vip-d-char nil |
| 79 | "The character remenbered by the vi \"r\" command") | 79 | "The character remembered by the vi \"r\" command") |
| 80 | 80 | ||
| 81 | (defvar vip-f-char nil | 81 | (defvar vip-f-char nil |
| 82 | "for use by \";\" command") | 82 | "for use by \";\" command") |
| @@ -322,7 +322,7 @@ EVENTS is a list of events, which become the beginning of the command." | |||
| 322 | (vip-escape-to-emacs arg '(?\C-h))) | 322 | (vip-escape-to-emacs arg '(?\C-h))) |
| 323 | 323 | ||
| 324 | 324 | ||
| 325 | ;; prefix argmument for vi mode | 325 | ;; prefix argument for vi mode |
| 326 | 326 | ||
| 327 | ;; In vi mode, prefix argument is a dotted pair (NUM . COM) where NUM | 327 | ;; In vi mode, prefix argument is a dotted pair (NUM . COM) where NUM |
| 328 | ;; represents the numeric value of the prefix argument and COM represents | 328 | ;; represents the numeric value of the prefix argument and COM represents |
| @@ -359,7 +359,7 @@ obtained so far, and COM is the command part obtained so far." | |||
| 359 | (setq cont nil)) | 359 | (setq cont nil)) |
| 360 | ;; if com is nil we set com as char, and read more. again, if char | 360 | ;; if com is nil we set com as char, and read more. again, if char |
| 361 | ;; is ", we read the name of register and store it in vip-use-register. | 361 | ;; is ", we read the name of register and store it in vip-use-register. |
| 362 | ;; if char is !, =, or #, a copmlete com is formed so we exit while. | 362 | ;; if char is !, =, or #, a complete com is formed so we exit while. |
| 363 | (cond ((or (= char ?!) (= char ?=)) | 363 | (cond ((or (= char ?!) (= char ?=)) |
| 364 | (setq com char) | 364 | (setq com char) |
| 365 | (setq char (read-char)) | 365 | (setq char (read-char)) |
| @@ -422,7 +422,7 @@ obtained so far, and COM is the command part obtained so far." | |||
| 422 | com (vip-getcom arg)) | 422 | com (vip-getcom arg)) |
| 423 | (if (null val) | 423 | (if (null val) |
| 424 | (if (null com) | 424 | (if (null com) |
| 425 | (message "Value is nil, and commmand is nil.") | 425 | (message "Value is nil, and command is nil.") |
| 426 | (message "Value is nil, and command is %c." com)) | 426 | (message "Value is nil, and command is %c." com)) |
| 427 | (if (null com) | 427 | (if (null com) |
| 428 | (message "Value is %d, and command is nil." val) | 428 | (message "Value is %d, and command is nil." val) |
| @@ -626,7 +626,7 @@ to vip-d-com for later use by vip-repeat" | |||
| 626 | reg)))) | 626 | reg)))) |
| 627 | 627 | ||
| 628 | (defun vip-repeat (arg) | 628 | (defun vip-repeat (arg) |
| 629 | "(ARG) Re-excute last destructive command. vip-d-com has the form | 629 | "(ARG) Re-execute last destructive command. vip-d-com has the form |
| 630 | (COM ARG CH REG), where COM is the command to be re-executed, ARG is the | 630 | (COM ARG CH REG), where COM is the command to be re-executed, ARG is the |
| 631 | argument for COM, CH is a flag for repeat, and REG is optional and if exists | 631 | argument for COM, CH is a flag for repeat, and REG is optional and if exists |
| 632 | is the name of the register for COM." | 632 | is the name of the register for COM." |
| @@ -1128,7 +1128,7 @@ beginning of buffer, stop and signal error." | |||
| 1128 | (if com (vip-execute-com 'vip-goto-line val com)))) | 1128 | (if com (vip-execute-com 'vip-goto-line val com)))) |
| 1129 | 1129 | ||
| 1130 | (defun vip-find-char (arg char forward offset) | 1130 | (defun vip-find-char (arg char forward offset) |
| 1131 | "Find ARG's occurence of CHAR on the current line. If FORWARD then | 1131 | "Find ARG's occurrence of CHAR on the current line. If FORWARD then |
| 1132 | search is forward, otherwise backward. OFFSET is used to adjust point | 1132 | search is forward, otherwise backward. OFFSET is used to adjust point |
| 1133 | after search." | 1133 | after search." |
| 1134 | (let ((arg (if forward arg (- arg))) point) | 1134 | (let ((arg (if forward arg (- arg))) point) |
| @@ -1429,7 +1429,7 @@ used. This behaviour is controlled by the sign of prefix numeric value." | |||
| 1429 | ;; searching | 1429 | ;; searching |
| 1430 | 1430 | ||
| 1431 | (defun vip-search-forward (arg) | 1431 | (defun vip-search-forward (arg) |
| 1432 | "Search a string forward. ARG is used to find the ARG's occurence | 1432 | "Search a string forward. ARG is used to find the ARG's occurrence |
| 1433 | of the string. Default is vanilla search. Search mode can be toggled by | 1433 | of the string. Default is vanilla search. Search mode can be toggled by |
| 1434 | giving null search string." | 1434 | giving null search string." |
| 1435 | (interactive "P") | 1435 | (interactive "P") |
| @@ -1449,7 +1449,7 @@ giving null search string." | |||
| 1449 | (vip-execute-com 'vip-search-next val com)))))) | 1449 | (vip-execute-com 'vip-search-next val com)))))) |
| 1450 | 1450 | ||
| 1451 | (defun vip-search-backward (arg) | 1451 | (defun vip-search-backward (arg) |
| 1452 | "Search a string backward. ARG is used to find the ARG's occurence | 1452 | "Search a string backward. ARG is used to find the ARG's occurrence |
| 1453 | of the string. Default is vanilla search. Search mode can be toggled by | 1453 | of the string. Default is vanilla search. Search mode can be toggled by |
| 1454 | giving null search string." | 1454 | giving null search string." |
| 1455 | (interactive "P") | 1455 | (interactive "P") |
| @@ -2012,7 +2012,7 @@ is a command.") | |||
| 2012 | "pattern for global command") | 2012 | "pattern for global command") |
| 2013 | 2013 | ||
| 2014 | (defvar ex-map (make-sparse-keymap) | 2014 | (defvar ex-map (make-sparse-keymap) |
| 2015 | "save commnads for mapped keys") | 2015 | "save commands for mapped keys") |
| 2016 | 2016 | ||
| 2017 | (defvar ex-tag nil | 2017 | (defvar ex-tag nil |
| 2018 | "save ex tag") | 2018 | "save ex tag") |
| @@ -2988,7 +2988,7 @@ vip-s-string" | |||
| 2988 | (forward-line (1- ex-count))) | 2988 | (forward-line (1- ex-count))) |
| 2989 | (set-mark end)) | 2989 | (set-mark end)) |
| 2990 | (vip-enlarge-region (point) (mark)) | 2990 | (vip-enlarge-region (point) (mark)) |
| 2991 | (if ex-flag (error "Extra chacters at end of command")) | 2991 | (if ex-flag (error "Extra characters at end of command")) |
| 2992 | (if ex-buffer | 2992 | (if ex-buffer |
| 2993 | (copy-to-register ex-buffer (point) (mark) nil)) | 2993 | (copy-to-register ex-buffer (point) (mark) nil)) |
| 2994 | (copy-region-as-kill (point) (mark))))) | 2994 | (copy-region-as-kill (point) (mark))))) |
diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el index b0d513be5d5..63c0c278634 100644 --- a/lisp/emulation/ws-mode.el +++ b/lisp/emulation/ws-mode.el | |||
| @@ -469,7 +469,7 @@ in ws-last-errormessage for recovery with C-q w." | |||
| 469 | 469 | ||
| 470 | 470 | ||
| 471 | (defun ws-indent-block () | 471 | (defun ws-indent-block () |
| 472 | "In WordStar mode: Indent block (not yet implemeted)." | 472 | "In WordStar mode: Indent block (not yet implemented)." |
| 473 | (interactive) | 473 | (interactive) |
| 474 | (ws-error "Indent block not yet implemented")) | 474 | (ws-error "Indent block not yet implemented")) |
| 475 | 475 | ||
diff --git a/lisp/files.el b/lisp/files.el index 33d889dd5f8..b7cbb96db2b 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1846,7 +1846,7 @@ If WILDCARD, it also runs the shell specified by `shell-file-name'." | |||
| 1846 | ;; would mean that our line of output would not display | 1846 | ;; would mean that our line of output would not display |
| 1847 | ;; FILE's name as given. To really address the problem that | 1847 | ;; FILE's name as given. To really address the problem that |
| 1848 | ;; SunOS 4.1.3 has, we need to find the right switch to get | 1848 | ;; SunOS 4.1.3 has, we need to find the right switch to get |
| 1849 | ;; a descripton of the link itself. | 1849 | ;; a description of the link itself. |
| 1850 | ;; (let (symlink) | 1850 | ;; (let (symlink) |
| 1851 | ;; (while (setq symlink (file-symlink-p file)) | 1851 | ;; (while (setq symlink (file-symlink-p file)) |
| 1852 | ;; (setq file symlink))) | 1852 | ;; (setq file symlink))) |
diff --git a/lisp/frame.el b/lisp/frame.el index 0a0409d53a6..f18dbb29606 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -54,7 +54,7 @@ Parameters specified here supersede the values given in | |||
| 54 | Pop-up frames are used for completions, help, and the like. | 54 | Pop-up frames are used for completions, help, and the like. |
| 55 | This variable can be set in your init file, like this: | 55 | This variable can be set in your init file, like this: |
| 56 | (setq pop-up-frame-alist '((width . 80) (height . 20))) | 56 | (setq pop-up-frame-alist '((width . 80) (height . 20))) |
| 57 | These supercede the values given in `default-frame-alist'.") | 57 | These supersede the values given in `default-frame-alist'.") |
| 58 | 58 | ||
| 59 | (setq pop-up-frame-function | 59 | (setq pop-up-frame-function |
| 60 | (function (lambda () | 60 | (function (lambda () |
| @@ -244,7 +244,7 @@ These supercede the values given in `default-frame-alist'.") | |||
| 244 | ;;;; Creation of additional frames, and other frame miscellanea | 244 | ;;;; Creation of additional frames, and other frame miscellanea |
| 245 | 245 | ||
| 246 | ;;; Return some frame other than the current frame, creating one if | 246 | ;;; Return some frame other than the current frame, creating one if |
| 247 | ;;; neccessary. Note that the minibuffer frame, if separate, is not | 247 | ;;; necessary. Note that the minibuffer frame, if separate, is not |
| 248 | ;;; considered (see next-frame). | 248 | ;;; considered (see next-frame). |
| 249 | (defun get-other-frame () | 249 | (defun get-other-frame () |
| 250 | (let ((s (if (equal (next-frame (selected-frame)) (selected-frame)) | 250 | (let ((s (if (equal (next-frame (selected-frame)) (selected-frame)) |
diff --git a/lisp/gnus.el b/lisp/gnus.el index 89ffe4a80b7..139dfe4edc3 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNUS: an NNTP-based News Reader for GNU Emacs | 1 | ;;; GNUS: an NNTP-based News Reader for GNU Emacs |
| 2 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1993 Free Software Foundation, Inc. | 2 | ;; Copyright (C) 1987, 1988, 1989, 1990, 1993 Free Software Foundation, Inc. |
| 3 | ;; $Header: /home/fsf/rms/e19/lisp/RCS/gnus.el,v 1.17 1993/06/04 05:33:32 rms Exp rms $ | 3 | ;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/gnus.el,v 1.18 1993/06/05 09:17:34 rms Exp jimb $ |
| 4 | 4 | ||
| 5 | ;; This file is part of GNU Emacs. | 5 | ;; This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -137,8 +137,8 @@ read in all newsgroups.") | |||
| 137 | 137 | ||
| 138 | (defvar gnus-use-followup-to t | 138 | (defvar gnus-use-followup-to t |
| 139 | "*Specifies what to do with Followup-To: field. | 139 | "*Specifies what to do with Followup-To: field. |
| 140 | If nil, ignore followup-to: field. If t, use its value execpt for | 140 | If nil, ignore followup-to: field. If t, use its value except for |
| 141 | `poster'. Otherewise, if not nil nor t, always use its value.") | 141 | `poster'. Otherwise, if not nil nor t, always use its value.") |
| 142 | 142 | ||
| 143 | (defvar gnus-large-newsgroup 50 | 143 | (defvar gnus-large-newsgroup 50 |
| 144 | "*The number of articles which indicates a large newsgroup. | 144 | "*The number of articles which indicates a large newsgroup. |
| @@ -276,7 +276,7 @@ mode buffer. The function is called with an article HEADER. The | |||
| 276 | result must be a string excluding `[' and `]'.") | 276 | result must be a string excluding `[' and `]'.") |
| 277 | 277 | ||
| 278 | (defvar gnus-auto-extend-newsgroup t | 278 | (defvar gnus-auto-extend-newsgroup t |
| 279 | "*Extend visible artciles to forward and backward if non-nil.") | 279 | "*Extend visible articles to forward and backward if non-nil.") |
| 280 | 280 | ||
| 281 | (defvar gnus-auto-select-first t | 281 | (defvar gnus-auto-select-first t |
| 282 | "*Select the first unread article automagically if non-nil. | 282 | "*Select the first unread article automagically if non-nil. |
| @@ -2780,7 +2780,7 @@ If argument UNREAD is non-nil, only unread article is selected." | |||
| 2780 | 2780 | ||
| 2781 | (defun gnus-summary-next-page (lines) | 2781 | (defun gnus-summary-next-page (lines) |
| 2782 | "Show next page of selected article. | 2782 | "Show next page of selected article. |
| 2783 | If end of artile, select next article. | 2783 | If end of article, select next article. |
| 2784 | Argument LINES specifies lines to be scrolled up." | 2784 | Argument LINES specifies lines to be scrolled up." |
| 2785 | (interactive "P") | 2785 | (interactive "P") |
| 2786 | (let ((article (gnus-summary-article-number)) | 2786 | (let ((article (gnus-summary-article-number)) |
| @@ -2861,7 +2861,7 @@ NOTE: This command may not work with nnspool.el." | |||
| 2861 | (gnus-eval-in-buffer-window gnus-article-buffer | 2861 | (gnus-eval-in-buffer-window gnus-article-buffer |
| 2862 | ;; Look for parent Message-ID. | 2862 | ;; Look for parent Message-ID. |
| 2863 | ;; We cannot use gnus-current-headers to get references | 2863 | ;; We cannot use gnus-current-headers to get references |
| 2864 | ;; because we may be looking at parent or refered article. | 2864 | ;; because we may be looking at parent or referred article. |
| 2865 | (let ((references (gnus-fetch-field "References"))) | 2865 | (let ((references (gnus-fetch-field "References"))) |
| 2866 | ;; Get the last message-id in the references. | 2866 | ;; Get the last message-id in the references. |
| 2867 | (and references | 2867 | (and references |
| @@ -2896,7 +2896,7 @@ NOTE: This command may not work with nnspool.el nor mhspool.el." | |||
| 2896 | (setq message-id (concat message-id ">"))) | 2896 | (setq message-id (concat message-id ">"))) |
| 2897 | ;; Push current message-id on history. | 2897 | ;; Push current message-id on history. |
| 2898 | ;; We cannot use gnus-current-headers to get current | 2898 | ;; We cannot use gnus-current-headers to get current |
| 2899 | ;; message-id because we may be looking at parent or refered | 2899 | ;; message-id because we may be looking at parent or referred |
| 2900 | ;; article. | 2900 | ;; article. |
| 2901 | (let ((current (gnus-fetch-field "Message-ID"))) | 2901 | (let ((current (gnus-fetch-field "Message-ID"))) |
| 2902 | (or (equal current message-id) ;Nothing to do. | 2902 | (or (equal current message-id) ;Nothing to do. |
| @@ -4872,7 +4872,7 @@ If optional argument NEXT is non-nil, it is inserted before NEXT." | |||
| 4872 | (let ((newsgroup (substring newsgroup 0)) ;Copy string. | 4872 | (let ((newsgroup (substring newsgroup 0)) ;Copy string. |
| 4873 | (len (length newsgroup)) | 4873 | (len (length newsgroup)) |
| 4874 | (idx 0)) | 4874 | (idx 0)) |
| 4875 | ;; Replace all occurence of `.' with `/'. | 4875 | ;; Replace all occurrences of `.' with `/'. |
| 4876 | (while (< idx len) | 4876 | (while (< idx len) |
| 4877 | (if (= (aref newsgroup idx) ?.) | 4877 | (if (= (aref newsgroup idx) ?.) |
| 4878 | (aset newsgroup idx ?/)) | 4878 | (aset newsgroup idx ?/)) |
| @@ -5411,7 +5411,7 @@ If no message is available and optional MESSAGE is given, return it." | |||
| 5411 | 5411 | ||
| 5412 | (defun gnus-define-access-method (method &optional access-methods) | 5412 | (defun gnus-define-access-method (method &optional access-methods) |
| 5413 | "Define access functions for the access METHOD. | 5413 | "Define access functions for the access METHOD. |
| 5414 | Methods defintion is taken from optional argument ACCESS-METHODS or | 5414 | Methods definition is taken from optional argument ACCESS-METHODS or |
| 5415 | the variable gnus-access-methods." | 5415 | the variable gnus-access-methods." |
| 5416 | (let ((bindings | 5416 | (let ((bindings |
| 5417 | (cdr (assoc method (or access-methods gnus-access-methods))))) | 5417 | (cdr (assoc method (or access-methods gnus-access-methods))))) |
| @@ -5824,7 +5824,7 @@ If nothing is specified, use the variable gnus-overload-functions." | |||
| 5824 | (setq defs (car overloads)) | 5824 | (setq defs (car overloads)) |
| 5825 | (setq overloads (cdr overloads)) | 5825 | (setq overloads (cdr overloads)) |
| 5826 | ;; Load file before overloading function if necessary. Make | 5826 | ;; Load file before overloading function if necessary. Make |
| 5827 | ;; sure we cannot use `requre' always. | 5827 | ;; sure we cannot use `require' always. |
| 5828 | (and (not (fboundp (car defs))) | 5828 | (and (not (fboundp (car defs))) |
| 5829 | (car (cdr (cdr defs))) | 5829 | (car (cdr (cdr defs))) |
| 5830 | (load (car (cdr (cdr defs))) nil 'nomessage)) | 5830 | (load (car (cdr (cdr defs))) nil 'nomessage)) |
diff --git a/lisp/gnusmisc.el b/lisp/gnusmisc.el index 49768dd617e..e760b4b0312 100644 --- a/lisp/gnusmisc.el +++ b/lisp/gnusmisc.el | |||
| @@ -234,7 +234,7 @@ The killed newsgroups can be yanked by using \\[gnus-group-yank-group]." | |||
| 234 | 234 | ||
| 235 | (defun gnus-group-yank-group () | 235 | (defun gnus-group-yank-group () |
| 236 | "Yank the last newsgroup killed with \\[gnus-group-kill-group], | 236 | "Yank the last newsgroup killed with \\[gnus-group-kill-group], |
| 237 | inserting it before the newsgroup on the line containging point." | 237 | inserting it before the newsgroup on the line containing point." |
| 238 | (interactive) | 238 | (interactive) |
| 239 | (gnus-group-insert-group (car gnus-killed-assoc)) | 239 | (gnus-group-insert-group (car gnus-killed-assoc)) |
| 240 | ;; Remove killed newsgroups from the buffer if exists. | 240 | ;; Remove killed newsgroups from the buffer if exists. |
diff --git a/lisp/gud.el b/lisp/gud.el index dc1a5337186..411277c8061 100644 --- a/lisp/gud.el +++ b/lisp/gud.el | |||
| @@ -131,7 +131,7 @@ we're in the GUD buffer)." | |||
| 131 | ;; The job of the marker-filter method is to detect file/line markers in | 131 | ;; The job of the marker-filter method is to detect file/line markers in |
| 132 | ;; strings and set the global gud-last-frame to indicate what display | 132 | ;; strings and set the global gud-last-frame to indicate what display |
| 133 | ;; action (if any) should be triggered by the marker. Note that only | 133 | ;; action (if any) should be triggered by the marker. Note that only |
| 134 | ;; whetever the method *returns* is displayed in the buffer; thus, you | 134 | ;; whatever the method *returns* is displayed in the buffer; thus, you |
| 135 | ;; can filter the debugger's output, interpreting some and passing on | 135 | ;; can filter the debugger's output, interpreting some and passing on |
| 136 | ;; the rest. | 136 | ;; the rest. |
| 137 | ;; | 137 | ;; |
| @@ -755,7 +755,7 @@ the character after the end of the expr." | |||
| 755 | 755 | ||
| 756 | (defun expr-compound-sep (span-start span-end) | 756 | (defun expr-compound-sep (span-start span-end) |
| 757 | "Returns '.' for '->' & '.', returns ' ' for white space, | 757 | "Returns '.' for '->' & '.', returns ' ' for white space, |
| 758 | returns '?' for other puctuation." | 758 | returns '?' for other punctuation." |
| 759 | (let ((result ? ) | 759 | (let ((result ? ) |
| 760 | (syntax)) | 760 | (syntax)) |
| 761 | (while (< span-start span-end) | 761 | (while (< span-start span-end) |
diff --git a/lisp/isearch.el b/lisp/isearch.el index ee46727d5aa..46b9e0c978b 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> | 5 | ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> |
| 6 | 6 | ||
| 7 | ;; |$Date: 1993/06/04 06:40:45 $|$Revision: 1.40 $ | 7 | ;; |$Date: 1993/06/06 22:11:22 $|$Revision: 1.41 $ |
| 8 | 8 | ||
| 9 | ;; This file is not yet part of GNU Emacs, but it is based almost | 9 | ;; This file is not yet part of GNU Emacs, but it is based almost |
| 10 | ;; entirely on isearch.el which is part of GNU Emacs. | 10 | ;; entirely on isearch.el which is part of GNU Emacs. |
| @@ -83,7 +83,7 @@ | |||
| 83 | ;; the last possible moment. | 83 | ;; the last possible moment. |
| 84 | 84 | ||
| 85 | ;; TODO | 85 | ;; TODO |
| 86 | ;; - Integrate the emacs 19 generalized commmand history. | 86 | ;; - Integrate the emacs 19 generalized command history. |
| 87 | ;; - Think about incorporating query-replace. | 87 | ;; - Think about incorporating query-replace. |
| 88 | ;; - Hooks and options for failed search. | 88 | ;; - Hooks and options for failed search. |
| 89 | 89 | ||
| @@ -626,7 +626,7 @@ is treated as a regexp. See \\[isearch-forward] for more info." | |||
| 626 | 626 | ||
| 627 | ;;;======================================================= | 627 | ;;;======================================================= |
| 628 | ;;; Switching buffers should first terminate isearch-mode. | 628 | ;;; Switching buffers should first terminate isearch-mode. |
| 629 | ;;; This is done quite differently for each varient of emacs. | 629 | ;;; This is done quite differently for each variant of emacs. |
| 630 | ;;; For lemacs, see Exiting in lemacs below | 630 | ;;; For lemacs, see Exiting in lemacs below |
| 631 | 631 | ||
| 632 | ;; For Emacs 19, the frame switch event is handled. | 632 | ;; For Emacs 19, the frame switch event is handled. |
| @@ -664,7 +664,7 @@ The following additional command keys are active while editing. | |||
| 664 | \\[isearch-forward-exit-minibuffer] to resume isearching forward. | 664 | \\[isearch-forward-exit-minibuffer] to resume isearching forward. |
| 665 | \\[isearch-backward-exit-minibuffer] to resume isearching backward. | 665 | \\[isearch-backward-exit-minibuffer] to resume isearching backward. |
| 666 | \\[isearch-ring-advance-edit] to replace the search string with the next item in the search ring. | 666 | \\[isearch-ring-advance-edit] to replace the search string with the next item in the search ring. |
| 667 | \\[isearch-ring-retreat-edit] to replace the search string with the previou item in the search ring. | 667 | \\[isearch-ring-retreat-edit] to replace the search string with the previous item in the search ring. |
| 668 | \\[isearch-complete-edit] to complete the search string using the search ring. | 668 | \\[isearch-complete-edit] to complete the search string using the search ring. |
| 669 | 669 | ||
| 670 | If first char entered is \\[isearch-yank-word], then do word search instead." | 670 | If first char entered is \\[isearch-yank-word], then do word search instead." |
| @@ -673,7 +673,7 @@ If first char entered is \\[isearch-yank-word], then do word search instead." | |||
| 673 | ;; Mainly, isearch-mode must be terminated while editing and then restarted. | 673 | ;; Mainly, isearch-mode must be terminated while editing and then restarted. |
| 674 | ;; If there were a way to catch any change of buffer from the minibuffer, | 674 | ;; If there were a way to catch any change of buffer from the minibuffer, |
| 675 | ;; this could be simplified greatly. | 675 | ;; this could be simplified greatly. |
| 676 | ;; Editing doesnt back up the search point. Should it? | 676 | ;; Editing doesn't back up the search point. Should it? |
| 677 | (interactive) | 677 | (interactive) |
| 678 | (condition-case err | 678 | (condition-case err |
| 679 | (let (isearch-nonincremental ; should search nonincrementally? | 679 | (let (isearch-nonincremental ; should search nonincrementally? |
| @@ -804,7 +804,7 @@ If first char entered is \\[isearch-yank-word], then do word search instead." | |||
| 804 | Otherwise, revert to previous successful search and continue searching. | 804 | Otherwise, revert to previous successful search and continue searching. |
| 805 | Use `isearch-exit' to quit without signalling." | 805 | Use `isearch-exit' to quit without signalling." |
| 806 | (interactive) | 806 | (interactive) |
| 807 | ;; (ding) signal instead below, if quiting | 807 | ;; (ding) signal instead below, if quitting |
| 808 | (discard-input) | 808 | (discard-input) |
| 809 | (if isearch-success | 809 | (if isearch-success |
| 810 | ;; If search is successful, move back to starting point | 810 | ;; If search is successful, move back to starting point |
| @@ -1050,7 +1050,7 @@ If you want to search for just a space, type C-q SPC." | |||
| 1050 | (isearch-process-search-string search-whitespace-regexp " ") | 1050 | (isearch-process-search-string search-whitespace-regexp " ") |
| 1051 | (isearch-printing-char)) | 1051 | (isearch-printing-char)) |
| 1052 | (progn | 1052 | (progn |
| 1053 | ;; This way of doing word search doesnt correctly extend current search. | 1053 | ;; This way of doing word search doesn't correctly extend current search. |
| 1054 | ;; (setq isearch-word t) | 1054 | ;; (setq isearch-word t) |
| 1055 | ;; (setq isearch-adjusted t) | 1055 | ;; (setq isearch-adjusted t) |
| 1056 | ;; (goto-char isearch-barrier) | 1056 | ;; (goto-char isearch-barrier) |
diff --git a/lisp/kermit.el b/lisp/kermit.el index 9387c098372..fd3cc099399 100644 --- a/lisp/kermit.el +++ b/lisp/kermit.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | ;; system you connect to. A more serious problem is that some brain-dead | 37 | ;; system you connect to. A more serious problem is that some brain-dead |
| 38 | ;; systems will not recognize a ^J as an end-of-line character. So LFD is | 38 | ;; systems will not recognize a ^J as an end-of-line character. So LFD is |
| 39 | ;; bound to a new function which acts just like CR usually does in shell-mode, | 39 | ;; bound to a new function which acts just like CR usually does in shell-mode, |
| 40 | ;; but a ^M is sent as an end-of-line. Funcions are also provied to swap the | 40 | ;; but a ^M is sent as an end-of-line. Functions are also provided to swap the |
| 41 | ;; bindings of CR and LFD. I've also included a filter which will clean out | 41 | ;; bindings of CR and LFD. I've also included a filter which will clean out |
| 42 | ;; any ^M's or ^@'s that get typed at you, but I don't really recommend it. | 42 | ;; any ^M's or ^@'s that get typed at you, but I don't really recommend it. |
| 43 | ;; There doesn't seem to be an acceptably fast way to do this via emacs-lisp. | 43 | ;; There doesn't seem to be an acceptably fast way to do this via emacs-lisp. |
| @@ -48,7 +48,7 @@ | |||
| 48 | ;; thru a fairly stupid terminal switch. If I want to connect to unix system, | 48 | ;; thru a fairly stupid terminal switch. If I want to connect to unix system, |
| 49 | ;; then I use the LFD key to talk to the switch, and ignore any ^M's in the | 49 | ;; then I use the LFD key to talk to the switch, and ignore any ^M's in the |
| 50 | ;; buffer, and do a " stty -echo nl " after I log in. Then the only real | 50 | ;; buffer, and do a " stty -echo nl " after I log in. Then the only real |
| 51 | ;; differnce from being in local shell-mode is that it is you need to to type | 51 | ;; difference from being in local shell-mode is that you need to type |
| 52 | ;; ^C^Q^C to send an interrupt, and ^C^Q^Z for a stop signal, etc. (since ^C^C | 52 | ;; ^C^Q^C to send an interrupt, and ^C^Q^Z for a stop signal, etc. (since ^C^C |
| 53 | ;; just generates a local stop signal, which kermit ignores). | 53 | ;; just generates a local stop signal, which kermit ignores). |
| 54 | ;; To connect to a VMS system, I use a shell script to invoke kermit thru the | 54 | ;; To connect to a VMS system, I use a shell script to invoke kermit thru the |
| @@ -66,7 +66,7 @@ | |||
| 66 | ;; in order to do a file transfer, you have to think ahead and and add -r | 66 | ;; in order to do a file transfer, you have to think ahead and and add -r |
| 67 | ;; (receive) to the command line. This means that you can't use the server | 67 | ;; (receive) to the command line. This means that you can't use the server |
| 68 | ;; feature. The only fix I can see is to muck around with the source code for | 68 | ;; feature. The only fix I can see is to muck around with the source code for |
| 69 | ;; kermit, although this problably wouldn't be too hard. What is needed is an | 69 | ;; kermit, although this probably wouldn't be too hard. What is needed is an |
| 70 | ;; option to force kermit to be local, to use stdin and stdout for interactive | 70 | ;; option to force kermit to be local, to use stdin and stdout for interactive |
| 71 | ;; speech, and to forget about cbreak mode. | 71 | ;; speech, and to forget about cbreak mode. |
| 72 | 72 | ||
diff --git a/lisp/macros.el b/lisp/macros.el index 43b5b2ae945..b1da9eb1162 100644 --- a/lisp/macros.el +++ b/lisp/macros.el | |||
| @@ -158,7 +158,7 @@ Your options are: \\<query-replace-map> | |||
| 158 | (with-output-to-temp-buffer "*Help*" | 158 | (with-output-to-temp-buffer "*Help*" |
| 159 | (princ | 159 | (princ |
| 160 | (substitute-command-keys | 160 | (substitute-command-keys |
| 161 | "Specify how to procede with keyboard macro execution. | 161 | "Specify how to proceed with keyboard macro execution. |
| 162 | Possibilities: \\<query-replace-map> | 162 | Possibilities: \\<query-replace-map> |
| 163 | \\[act] Finish this iteration normally and continue with the next. | 163 | \\[act] Finish this iteration normally and continue with the next. |
| 164 | \\[skip] Skip the rest of this iteration, and start the next. | 164 | \\[skip] Skip the rest of this iteration, and start the next. |
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index e5efae3eb16..3ac665259a9 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el | |||
| @@ -92,7 +92,7 @@ | |||
| 92 | ;;; fred, ethyl, larry, curly, moe | 92 | ;;; fred, ethyl, larry, curly, moe |
| 93 | ;;; | 93 | ;;; |
| 94 | ;;; Aliases may also contain forward references; the alias of "everybody" can | 94 | ;;; Aliases may also contain forward references; the alias of "everybody" can |
| 95 | ;;; preceed the aliases of "group1" and "group2". | 95 | ;;; precede the aliases of "group1" and "group2". |
| 96 | ;;; | 96 | ;;; |
| 97 | ;;; This code also understands the "source" .mailrc command, for reading | 97 | ;;; This code also understands the "source" .mailrc command, for reading |
| 98 | ;;; aliases from some other file as well. | 98 | ;;; aliases from some other file as well. |
| @@ -362,7 +362,7 @@ turned on.") | |||
| 362 | 362 | ||
| 363 | (defvar mail-mode-header-syntax-table | 363 | (defvar mail-mode-header-syntax-table |
| 364 | (let ((tab (copy-syntax-table text-mode-syntax-table))) | 364 | (let ((tab (copy-syntax-table text-mode-syntax-table))) |
| 365 | ;; This makes the characters "@%!._-" be considered symbol-consituents | 365 | ;; This makes the characters "@%!._-" be considered symbol-constituents |
| 366 | ;; but not word-constituents, so forward-sexp will move you over an | 366 | ;; but not word-constituents, so forward-sexp will move you over an |
| 367 | ;; entire address, but forward-word will only move you over a sequence | 367 | ;; entire address, but forward-word will only move you over a sequence |
| 368 | ;; of alphanumerics. (Clearly the right thing.) | 368 | ;; of alphanumerics. (Clearly the right thing.) |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 2af0a5a7bd0..5799b718fdc 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -234,7 +234,7 @@ that file, but does not copy any new mail into the file." | |||
| 234 | ;; Show the first unseen message, which might be from a previous session | 234 | ;; Show the first unseen message, which might be from a previous session |
| 235 | ;; or might have been just read in by rmail-get-new-mail. Must | 235 | ;; or might have been just read in by rmail-get-new-mail. Must |
| 236 | ;; determine already unseen messages first, as rmail-get-new-mail | 236 | ;; determine already unseen messages first, as rmail-get-new-mail |
| 237 | ;; positions on the first new messsage, thus marking it as seen. | 237 | ;; positions on the first new message, thus marking it as seen. |
| 238 | (rmail-show-message existing-unseen)))) | 238 | (rmail-show-message existing-unseen)))) |
| 239 | 239 | ||
| 240 | ;; Given the value of MAILPATH, return a list of inbox file names. | 240 | ;; Given the value of MAILPATH, return a list of inbox file names. |
diff --git a/lisp/man.el b/lisp/man.el index db6a973c41d..74d42208995 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; Eric Rose <erose@jessica.stanford.edu>, submitted manual.el which | 51 | ;; Eric Rose <erose@jessica.stanford.edu>, submitted manual.el which |
| 52 | ;; provided a very nice manual browsing mode. | 52 | ;; provided a very nice manual browsing mode. |
| 53 | 53 | ||
| 54 | ;; This package was available as `superman.el' from the LCD paackage | 54 | ;; This package was available as `superman.el' from the LCD package |
| 55 | ;; for some time before it was accepted into Emacs 19. The entry | 55 | ;; for some time before it was accepted into Emacs 19. The entry |
| 56 | ;; point and some other names have been changed to make it a drop-in | 56 | ;; point and some other names have been changed to make it a drop-in |
| 57 | ;; replacement for the old man.el package. | 57 | ;; replacement for the old man.el package. |
| @@ -126,7 +126,7 @@ in all sections.") | |||
| 126 | "*Association list of bogus sections to real section numbers. | 126 | "*Association list of bogus sections to real section numbers. |
| 127 | Some manpages (e.g. the Sun C++ 2.1 manpages) have section numbers in | 127 | Some manpages (e.g. the Sun C++ 2.1 manpages) have section numbers in |
| 128 | their references which Un*x man(1) does not recognize. This | 128 | their references which Un*x man(1) does not recognize. This |
| 129 | assocation list is used to translate those sections, when found, to | 129 | association list is used to translate those sections, when found, to |
| 130 | the associated section number.") | 130 | the associated section number.") |
| 131 | 131 | ||
| 132 | (defvar Man-filter-list | 132 | (defvar Man-filter-list |
diff --git a/lisp/mh-e.el b/lisp/mh-e.el index 9a7b3b9e228..d52fbcb31bf 100644 --- a/lisp/mh-e.el +++ b/lisp/mh-e.el | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | ;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. | 48 | ;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. |
| 49 | ;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu | 49 | ;;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu |
| 50 | ;;; Modified by Stephen Gildea 1988. gildea@bbn.com | 50 | ;;; Modified by Stephen Gildea 1988. gildea@bbn.com |
| 51 | (defconst mh-e-RCS-id "$Header: /home/fsf/rms/e19/lisp/RCS/mh-e.el,v 1.10 1993/05/30 22:56:31 rms Exp rms $") | 51 | (defconst mh-e-RCS-id "$Header: /home/gd/gnu/emacs/19.0/lisp/RCS/mh-e.el,v 1.11 1993/06/05 02:51:21 rms Exp jimb $") |
| 52 | 52 | ||
| 53 | ;;; Code: | 53 | ;;; Code: |
| 54 | 54 | ||
| @@ -195,7 +195,7 @@ Inserted into message by \\<mh-letter-mode-map>\\[mh-insert-signature].") | |||
| 195 | "String whose first character is used to notate redistributed messages.") | 195 | "String whose first character is used to notate redistributed messages.") |
| 196 | 196 | ||
| 197 | (defvar mh-good-msg-regexp "^....[^D^]" | 197 | (defvar mh-good-msg-regexp "^....[^D^]" |
| 198 | "Regexp specifiying the scan lines that are 'good' messages.") | 198 | "Regexp specifying the scan lines that are 'good' messages.") |
| 199 | 199 | ||
| 200 | (defvar mh-deleted-msg-regexp "^....D" | 200 | (defvar mh-deleted-msg-regexp "^....D" |
| 201 | "Regexp matching scan lines of deleted messages.") | 201 | "Regexp matching scan lines of deleted messages.") |
| @@ -1446,7 +1446,7 @@ Assumes mh-e has already been initialized." | |||
| 1446 | ;;; The folder data abstraction. | 1446 | ;;; The folder data abstraction. |
| 1447 | 1447 | ||
| 1448 | (defvar mh-current-folder nil "Name of current folder, a string.") | 1448 | (defvar mh-current-folder nil "Name of current folder, a string.") |
| 1449 | (defvar mh-show-buffer nil "Buffer that displays mesage for this folder.") | 1449 | (defvar mh-show-buffer nil "Buffer that displays message for this folder.") |
| 1450 | (defvar mh-folder-filename nil "Full path of directory for this folder.") | 1450 | (defvar mh-folder-filename nil "Full path of directory for this folder.") |
| 1451 | (defvar mh-showing nil "If non-nil, show the message in a separate window.") | 1451 | (defvar mh-showing nil "If non-nil, show the message in a separate window.") |
| 1452 | (defvar mh-next-seq-num nil "Index of free sequence id.") | 1452 | (defvar mh-next-seq-num nil "Index of free sequence id.") |
diff --git a/lisp/mhspool.el b/lisp/mhspool.el index 900d8eb0c99..b81823938f0 100644 --- a/lisp/mhspool.el +++ b/lisp/mhspool.el | |||
| @@ -49,7 +49,7 @@ mhspool-list-folders-using-ls and mhspool-list-folders-using-sh are | |||
| 49 | provided now. I suppose the later is faster.") | 49 | provided now. I suppose the later is faster.") |
| 50 | 50 | ||
| 51 | (defvar mhspool-list-directory-switches '("-R") | 51 | (defvar mhspool-list-directory-switches '("-R") |
| 52 | "*Switches for mhspool-list-folders-using-ls to pass to `ls' for gettting file lists. | 52 | "*Switches for mhspool-list-folders-using-ls to pass to `ls' for getting file lists. |
| 53 | One entry should appear on one line. You may need to add `-1' option.") | 53 | One entry should appear on one line. You may need to add `-1' option.") |
| 54 | 54 | ||
| 55 | 55 | ||
| @@ -438,7 +438,7 @@ in the current news group." | |||
| 438 | (let ((string (substring string 0)) ;Copy string. | 438 | (let ((string (substring string 0)) ;Copy string. |
| 439 | (len (length string)) | 439 | (len (length string)) |
| 440 | (idx 0)) | 440 | (idx 0)) |
| 441 | ;; Replace all occurence of FROM with TO. | 441 | ;; Replace all occurrences of FROM with TO. |
| 442 | (while (< idx len) | 442 | (while (< idx len) |
| 443 | (if (= (aref string idx) from) | 443 | (if (= (aref string idx) from) |
| 444 | (aset string idx to)) | 444 | (aset string idx to)) |
diff --git a/lisp/mim-mode.el b/lisp/mim-mode.el index 1fb62e2f24d..3ec6b325983 100644 --- a/lisp/mim-mode.el +++ b/lisp/mim-mode.el | |||
| @@ -95,7 +95,7 @@ are bound.") | |||
| 95 | <FOO ...> will be indented n spaces from start of form. | 95 | <FOO ...> will be indented n spaces from start of form. |
| 96 | \(put 'FOO 'indent-mim-function 'DEFINE\) is like above but means use | 96 | \(put 'FOO 'indent-mim-function 'DEFINE\) is like above but means use |
| 97 | value of mim-body-indent as offset from start of form. | 97 | value of mim-body-indent as offset from start of form. |
| 98 | \(put 'FOO 'indent-mim-function <cons>\) where <cons> is a list or pointted list | 98 | \(put 'FOO 'indent-mim-function <cons>\) where <cons> is a list or pointed list |
| 99 | of integers, means indent each form in <FOO ...> by the amount specified | 99 | of integers, means indent each form in <FOO ...> by the amount specified |
| 100 | in <cons>. When <cons> is exhausted, indent remaining forms by | 100 | in <cons>. When <cons> is exhausted, indent remaining forms by |
| 101 | `mim-body-indent' unless <cons> is a pointed list, in which case the last | 101 | `mim-body-indent' unless <cons> is a pointed list, in which case the last |
| @@ -250,7 +250,7 @@ Entry to this mode calls the value of mim-mode-hook if non-nil." | |||
| 250 | "Move forward across Mim object. | 250 | "Move forward across Mim object. |
| 251 | With ARG, move forward that many objects." | 251 | With ARG, move forward that many objects." |
| 252 | (interactive "p") | 252 | (interactive "p") |
| 253 | ;; this function is wierd because it emulates the behavior of the old | 253 | ;; this function is weird because it emulates the behavior of the old |
| 254 | ;; (gosling) mim-mode - if the arg is 1 and we are `inside' an ADECL, | 254 | ;; (gosling) mim-mode - if the arg is 1 and we are `inside' an ADECL, |
| 255 | ;; more than one character into the ATOM part and not sitting on the | 255 | ;; more than one character into the ATOM part and not sitting on the |
| 256 | ;; colon, then we move to the DECL part (just past colon) instead of | 256 | ;; colon, then we move to the DECL part (just past colon) instead of |
| @@ -333,7 +333,7 @@ A negative ARG will raise current line and previous lines." | |||
| 333 | "Move down a level of Mim structure forwards. | 333 | "Move down a level of Mim structure forwards. |
| 334 | With ARG, move down that many levels forwards (backwards, ARG < 0)." | 334 | With ARG, move down that many levels forwards (backwards, ARG < 0)." |
| 335 | (interactive "p") | 335 | (interactive "p") |
| 336 | ;; another wierdo - going down `inside' an ADECL or ATOM trailer | 336 | ;; another weirdo - going down `inside' an ADECL or ATOM trailer |
| 337 | ;; depends on the value of mim-down-parens-only. if nil, treat | 337 | ;; depends on the value of mim-down-parens-only. if nil, treat |
| 338 | ;; ADECLs and trailers as structured objects. | 338 | ;; ADECLs and trailers as structured objects. |
| 339 | (let ((direction (sign (or arg (setq arg 1))))) | 339 | (let ((direction (sign (or arg (setq arg 1))))) |
| @@ -636,7 +636,7 @@ is reached." | |||
| 636 | (+ method start)) | 636 | (+ method start)) |
| 637 | (goto-char current-indent) | 637 | (goto-char current-indent) |
| 638 | (if (consp method) | 638 | (if (consp method) |
| 639 | ;; list or pointted list of explicit indentations | 639 | ;; list or pointed list of explicit indentations |
| 640 | (indent-mim-offset state indent-point) | 640 | (indent-mim-offset state indent-point) |
| 641 | (if (and (symbolp method) (fboundp method)) | 641 | (if (and (symbolp method) (fboundp method)) |
| 642 | ;; luser function - s/he better know what's going on. | 642 | ;; luser function - s/he better know what's going on. |
| @@ -659,7 +659,7 @@ is reached." | |||
| 659 | (last-sexp (car (nthcdr 2 state))) | 659 | (last-sexp (car (nthcdr 2 state))) |
| 660 | indentation) | 660 | indentation) |
| 661 | (goto-char (1+ containing-sexp)) | 661 | (goto-char (1+ containing-sexp)) |
| 662 | ;; determine wheich of the indentations to use. | 662 | ;; determine which of the indentations to use. |
| 663 | (while (and (< (point) indent-point) | 663 | (while (and (< (point) indent-point) |
| 664 | (condition-case nil | 664 | (condition-case nil |
| 665 | (progn (forward-sexp 1) | 665 | (progn (forward-sexp 1) |
diff --git a/lisp/nnspool.el b/lisp/nnspool.el index 6235aff7dba..72cc48bbb5a 100644 --- a/lisp/nnspool.el +++ b/lisp/nnspool.el | |||
| @@ -356,7 +356,7 @@ in the current news group." | |||
| 356 | (setq nntp-server-process nil)) | 356 | (setq nntp-server-process nil)) |
| 357 | 357 | ||
| 358 | (defun nnspool-find-article-by-message-id (id) | 358 | (defun nnspool-find-article-by-message-id (id) |
| 359 | "Return full pathname of an artilce identified by message-ID." | 359 | "Return full pathname of an article identified by message-ID." |
| 360 | (save-excursion | 360 | (save-excursion |
| 361 | (let ((buffer (get-file-buffer nnspool-history-file))) | 361 | (let ((buffer (get-file-buffer nnspool-history-file))) |
| 362 | (if buffer | 362 | (if buffer |
| @@ -396,7 +396,7 @@ in the current news group." | |||
| 396 | (let ((string (substring string 0)) ;Copy string. | 396 | (let ((string (substring string 0)) ;Copy string. |
| 397 | (len (length string)) | 397 | (len (length string)) |
| 398 | (idx 0)) | 398 | (idx 0)) |
| 399 | ;; Replace all occurence of FROM with TO. | 399 | ;; Replace all occurrences of FROM with TO. |
| 400 | (while (< idx len) | 400 | (while (< idx len) |
| 401 | (if (= (aref string idx) from) | 401 | (if (= (aref string idx) from) |
| 402 | (aset string idx to)) | 402 | (aset string idx to)) |
diff --git a/lisp/nntp.el b/lisp/nntp.el index d14a91a64b7..c745c24f8c7 100644 --- a/lisp/nntp.el +++ b/lisp/nntp.el | |||
| @@ -608,7 +608,7 @@ in the current news group." | |||
| 608 | "Send list of STRINGS to news server as command and its arguments." | 608 | "Send list of STRINGS to news server as command and its arguments." |
| 609 | (let ((cmd (car strings)) | 609 | (let ((cmd (car strings)) |
| 610 | (strings (cdr strings))) | 610 | (strings (cdr strings))) |
| 611 | ;; Command and each argument must be separeted by one or more spaces. | 611 | ;; Command and each argument must be separated by one or more spaces. |
| 612 | (while strings | 612 | (while strings |
| 613 | (setq cmd (concat cmd " " (car strings))) | 613 | (setq cmd (concat cmd " " (car strings))) |
| 614 | (setq strings (cdr strings))) | 614 | (setq strings (cdr strings))) |
diff --git a/lisp/play/blackbox.el b/lisp/play/blackbox.el index 2034b7d7972..ba6600cc581 100644 --- a/lisp/play/blackbox.el +++ b/lisp/play/blackbox.el | |||
| @@ -84,7 +84,7 @@ | |||
| 84 | (define-key blackbox-mode-map "\C-m" 'bb-done) | 84 | (define-key blackbox-mode-map "\C-m" 'bb-done) |
| 85 | (define-key blackbox-mode-map [kp-enter] 'bb-done) | 85 | (define-key blackbox-mode-map [kp-enter] 'bb-done) |
| 86 | 86 | ||
| 87 | ;; This is a kluge. What we really want is a general | 87 | ;; This is a kludge. What we really want is a general |
| 88 | ;; feature for reminding terminal keys to the functions | 88 | ;; feature for reminding terminal keys to the functions |
| 89 | ;; corresponding to them in local maps. | 89 | ;; corresponding to them in local maps. |
| 90 | (mapcar (function | 90 | (mapcar (function |
diff --git a/lisp/play/dissociate.el b/lisp/play/dissociate.el index ebf6b637a8d..494d83b3b58 100644 --- a/lisp/play/dissociate.el +++ b/lisp/play/dissociate.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; The single entry point, `dissociatesd-press', applies a travesty | 26 | ;; The single entry point, `dissociated-press', applies a travesty |
| 27 | ;; generator to the current buffer. The results can be quite amusing. | 27 | ;; generator to the current buffer. The results can be quite amusing. |
| 28 | 28 | ||
| 29 | ;;; Code: | 29 | ;;; Code: |
diff --git a/lisp/play/doctor.el b/lisp/play/doctor.el index 702f053b25e..4bb60d51e76 100644 --- a/lisp/play/doctor.el +++ b/lisp/play/doctor.el | |||
| @@ -349,7 +349,7 @@ reads the sentence before point, and prints the Doctor's answer." | |||
| 349 | (setq deathlst | 349 | (setq deathlst |
| 350 | '((this is not a healthy way of thinking \.) | 350 | '((this is not a healthy way of thinking \.) |
| 351 | (($ bother) you\, too\, may die someday \?) | 351 | (($ bother) you\, too\, may die someday \?) |
| 352 | (i am worried by your obssession with this topic!) | 352 | (i am worried by your obsession with this topic!) |
| 353 | (did you watch a lot of crime and violence on television as a child \?)) | 353 | (did you watch a lot of crime and violence on television as a child \?)) |
| 354 | ) | 354 | ) |
| 355 | (make-local-variable 'sexlst) | 355 | (make-local-variable 'sexlst) |
| @@ -797,7 +797,7 @@ reads the sentence before point, and prints the Doctor's answer." | |||
| 797 | (doctor-put-meaning elisa 'eliza) | 797 | (doctor-put-meaning elisa 'eliza) |
| 798 | (doctor-put-meaning weizenbaum 'eliza) | 798 | (doctor-put-meaning weizenbaum 'eliza) |
| 799 | (doctor-put-meaning doktor 'eliza) | 799 | (doctor-put-meaning doktor 'eliza) |
| 800 | (doctor-put-meaning atheletics 'sports) | 800 | (doctor-put-meaning athletics 'sports) |
| 801 | (doctor-put-meaning baseball 'sports) | 801 | (doctor-put-meaning baseball 'sports) |
| 802 | (doctor-put-meaning basketball 'sports) | 802 | (doctor-put-meaning basketball 'sports) |
| 803 | (doctor-put-meaning football 'sports) | 803 | (doctor-put-meaning football 'sports) |
| @@ -951,7 +951,7 @@ Otherwise call the Doctor to parse preceding sentence." | |||
| 951 | sent)))) | 951 | sent)))) |
| 952 | 952 | ||
| 953 | (defun doctor-shorten (sent) | 953 | (defun doctor-shorten (sent) |
| 954 | "Make a sentence managably short using a few hacks." | 954 | "Make a sentence manageably short using a few hacks." |
| 955 | (let (foo | 955 | (let (foo |
| 956 | retval | 956 | retval |
| 957 | (temp '(because but however besides anyway until | 957 | (temp '(because but however besides anyway until |
| @@ -1062,7 +1062,7 @@ the subject noun, and return the portion of the sentence following it." | |||
| 1062 | applied applies apply are associate | 1062 | applied applies apply are associate |
| 1063 | associated ate | 1063 | associated ate |
| 1064 | be became become becomes becoming | 1064 | be became become becomes becoming |
| 1065 | been being believe belived believes | 1065 | been being believe believed believes |
| 1066 | bit bite bites bore bored bores boring bought buy buys buying | 1066 | bit bite bites bore bored bores boring bought buy buys buying |
| 1067 | call called calling calls came can caught catch come | 1067 | call called calling calls came can caught catch come |
| 1068 | contract contracted contracts control controlled controls | 1068 | contract contracted contracts control controlled controls |
| @@ -1072,7 +1072,7 @@ the subject noun, and return the portion of the sentence following it." | |||
| 1072 | dislikes do does drank drink drinks drinking | 1072 | dislikes do does drank drink drinks drinking |
| 1073 | drive drives driving drove dying | 1073 | drive drives driving drove dying |
| 1074 | eat eating eats expand expanded expands | 1074 | eat eating eats expand expanded expands |
| 1075 | expect expected expects expel expels expeled expelled | 1075 | expect expected expects expel expels expelled |
| 1076 | explain explained explains | 1076 | explain explained explains |
| 1077 | fart farts feel feels felt fight fights find finds finding | 1077 | fart farts feel feels felt fight fights find finds finding |
| 1078 | forget forgets forgot fought found fuck fucked | 1078 | forget forgets forgot fought found fuck fucked |
| @@ -1111,7 +1111,7 @@ the subject noun, and return the portion of the sentence following it." | |||
| 1111 | take takes taking talk talked talking talks tell tells telling | 1111 | take takes taking talk talked talking talks tell tells telling |
| 1112 | think thinks | 1112 | think thinks |
| 1113 | thought told took tooled touch touched touches touching | 1113 | thought told took tooled touch touched touches touching |
| 1114 | transfer transfered transfers transmit transmits transmitted | 1114 | transfer transferred transfers transmit transmits transmitted |
| 1115 | type types types typing | 1115 | type types types typing |
| 1116 | walk walked walking walks want wanted wants was watch | 1116 | walk walked walking walks want wanted wants was watch |
| 1117 | watched watching went were will wish would work worked works | 1117 | watched watching went were will wish would work worked works |
| @@ -1196,7 +1196,7 @@ the subject noun, and return the portion of the sentence following it." | |||
| 1196 | hundred thousand million billion | 1196 | hundred thousand million billion |
| 1197 | half quarter | 1197 | half quarter |
| 1198 | first second third fourth fifth | 1198 | first second third fourth fifth |
| 1199 | sixth seventh eighth nineth tenth))) | 1199 | sixth seventh eighth ninth tenth))) |
| 1200 | 1200 | ||
| 1201 | (defun doctor-colorp (x) | 1201 | (defun doctor-colorp (x) |
| 1202 | (memq x '(beige black blue brown crimson | 1202 | (memq x '(beige black blue brown crimson |
diff --git a/lisp/play/hanoi.el b/lisp/play/hanoi.el index 99e2acdd92a..3ec67092901 100644 --- a/lisp/play/hanoi.el +++ b/lisp/play/hanoi.el | |||
| @@ -76,7 +76,7 @@ | |||
| 76 | ;; If we have NRINGS rings, we label them with the numbers 0 | 76 | ;; If we have NRINGS rings, we label them with the numbers 0 |
| 77 | ;; through NRINGS-1. The width of ring i is 2i+3; it pokes | 77 | ;; through NRINGS-1. The width of ring i is 2i+3; it pokes |
| 78 | ;; out i spaces on either side of the pole. Rather than | 78 | ;; out i spaces on either side of the pole. Rather than |
| 79 | ;; checking if the window is wide enough to accomodate this, | 79 | ;; checking if the window is wide enough to accommodate this, |
| 80 | ;; we make sure pole-spacing is large enough, since that | 80 | ;; we make sure pole-spacing is large enough, since that |
| 81 | ;; works even when we have decremented pole-spacing to make | 81 | ;; works even when we have decremented pole-spacing to make |
| 82 | ;; it even. | 82 | ;; it even. |
diff --git a/lisp/play/life.el b/lisp/play/life.el index 84dca781fa0..50e76e69cac 100644 --- a/lisp/play/life.el +++ b/lisp/play/life.el | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | ;; A demonstrator for John Horton Conway's "Life" cellular automaton | 26 | ;; A demonstrator for John Horton Conway's "Life" cellular automaton |
| 27 | ;; in Emacs Lisp. Picks a random one of a set of interesting Life | 27 | ;; in Emacs Lisp. Picks a random one of a set of interesting Life |
| 28 | ;; patterns and avolves it according to the familiar rules. | 28 | ;; patterns and evolves it according to the familiar rules. |
| 29 | 29 | ||
| 30 | ;;; Code: | 30 | ;;; Code: |
| 31 | 31 | ||
| @@ -75,7 +75,7 @@ | |||
| 75 | (defmacro life-not-void-regexp () (concat "[^" (life-void-string) "\n]")) | 75 | (defmacro life-not-void-regexp () (concat "[^" (life-void-string) "\n]")) |
| 76 | 76 | ||
| 77 | ;; try to optimize the (goto-char (point-min)) & (goto-char (point-max)) | 77 | ;; try to optimize the (goto-char (point-min)) & (goto-char (point-max)) |
| 78 | ;; idioms. This depends on goto-char's not griping if we underrshoot | 78 | ;; idioms. This depends on goto-char's not griping if we undershoot |
| 79 | ;; or overshoot beginning or end of buffer. | 79 | ;; or overshoot beginning or end of buffer. |
| 80 | (defmacro goto-beginning-of-buffer () '(goto-char 1)) | 80 | (defmacro goto-beginning-of-buffer () '(goto-char 1)) |
| 81 | (defmacro maxint () (lsh (lsh (lognot 0) 1) -1)) | 81 | (defmacro maxint () (lsh (lsh (lognot 0) 1) -1)) |
diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index a3962c696ef..2738a7c7665 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el | |||
| @@ -149,7 +149,7 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]." | |||
| 149 | (aset mpuz-letter-to-digit elem index)))) | 149 | (aset mpuz-letter-to-digit elem index)))) |
| 150 | 150 | ||
| 151 | 151 | ||
| 152 | ;; A puzzle also uses a board displaying a mulplication. | 152 | ;; A puzzle also uses a board displaying a multiplication. |
| 153 | ;; Every digit appears in the board, crypted or not. | 153 | ;; Every digit appears in the board, crypted or not. |
| 154 | ;;------------------------------------------------------ | 154 | ;;------------------------------------------------------ |
| 155 | (defvar mpuz-board (make-vector 10 nil) | 155 | (defvar mpuz-board (make-vector 10 nil) |
| @@ -310,7 +310,7 @@ You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]." | |||
| 310 | ;; Game control | 310 | ;; Game control |
| 311 | ;;------------- | 311 | ;;------------- |
| 312 | (defun mpuz-abort-game () | 312 | (defun mpuz-abort-game () |
| 313 | "Abort any puzzle in progess." | 313 | "Abort any puzzle in progress." |
| 314 | (message "Mult Puzzle aborted.") | 314 | (message "Mult Puzzle aborted.") |
| 315 | (setq mpuz-in-progress nil | 315 | (setq mpuz-in-progress nil |
| 316 | mpuz-nb-errors 0) | 316 | mpuz-nb-errors 0) |
diff --git a/lisp/play/yow.el b/lisp/play/yow.el index f056ec5c6bf..fd90d3677f1 100644 --- a/lisp/play/yow.el +++ b/lisp/play/yow.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; Important pinheaddery for GNU Emacs. | 26 | ;; Important pinheadery for GNU Emacs. |
| 27 | ;; | 27 | ;; |
| 28 | ;; See cookie1.el for implementation. Note --- the `n' argument of yow | 28 | ;; See cookie1.el for implementation. Note --- the `n' argument of yow |
| 29 | ;; from the 18.xx implementation is no longer; we only support *random* | 29 | ;; from the 18.xx implementation is no longer; we only support *random* |
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index ec4b2c646ab..8c32229a299 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el | |||
| @@ -880,7 +880,7 @@ Otherwise return nil and don't move point." | |||
| 880 | (defun c-beginning-of-statement (count) | 880 | (defun c-beginning-of-statement (count) |
| 881 | "Go to the beginning of the innermost C statement. | 881 | "Go to the beginning of the innermost C statement. |
| 882 | With prefix arg, go back N - 1 statements. If already at the beginning of a | 882 | With prefix arg, go back N - 1 statements. If already at the beginning of a |
| 883 | statement then go to the beginning of the preceeding one. | 883 | statement then go to the beginning of the preceding one. |
| 884 | If within a string or comment, or next to a comment (only whitespace between), | 884 | If within a string or comment, or next to a comment (only whitespace between), |
| 885 | move by sentences instead of statements." | 885 | move by sentences instead of statements." |
| 886 | (interactive "p") | 886 | (interactive "p") |
diff --git a/lisp/progmodes/cplus-md.el b/lisp/progmodes/cplus-md.el index 5689183a56a..8548c3826e5 100644 --- a/lisp/progmodes/cplus-md.el +++ b/lisp/progmodes/cplus-md.el | |||
| @@ -785,7 +785,7 @@ The fill lines remain a comment." | |||
| 785 | ;; (defconst c++-defun-header-strong | 785 | ;; (defconst c++-defun-header-strong |
| 786 | ;; (let* | 786 | ;; (let* |
| 787 | ;; (; valid identifiers | 787 | ;; (; valid identifiers |
| 788 | ;; ;; There's a real wierdness here -- if I switch the below | 788 | ;; ;; There's a real weirdness here -- if I switch the below |
| 789 | ;; (id "\\(\\w\\|_\\)+") | 789 | ;; (id "\\(\\w\\|_\\)+") |
| 790 | ;; ;; to be | 790 | ;; ;; to be |
| 791 | ;; ;; (id "\\(_\\|\\w\\)+") | 791 | ;; ;; (id "\\(_\\|\\w\\)+") |
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 9b9b6bf2755..70dcd9a557d 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -141,7 +141,7 @@ One argument, the tag info returned by `snarf-tag-function'.") | |||
| 141 | (defvar tags-included-tables-function nil | 141 | (defvar tags-included-tables-function nil |
| 142 | "Function to do the work of `tags-included-tables' (which see).") | 142 | "Function to do the work of `tags-included-tables' (which see).") |
| 143 | (defvar verify-tags-table-function nil | 143 | (defvar verify-tags-table-function nil |
| 144 | "Function to return t iff the current buffer vontains a valid | 144 | "Function to return t iff the current buffer contains a valid |
| 145 | \(already initialized\) tags file.") | 145 | \(already initialized\) tags file.") |
| 146 | 146 | ||
| 147 | ;; Initialize the tags table in the current buffer. | 147 | ;; Initialize the tags table in the current buffer. |
| @@ -636,7 +636,7 @@ See documentation of variable `tags-file-name'." | |||
| 636 | ;; Move to the saved location. | 636 | ;; Move to the saved location. |
| 637 | (set-buffer (marker-buffer marker)) | 637 | (set-buffer (marker-buffer marker)) |
| 638 | (goto-char (marker-position marker)) | 638 | (goto-char (marker-position marker)) |
| 639 | ;; Kill that marker so it doesn't slow down editting. | 639 | ;; Kill that marker so it doesn't slow down editing. |
| 640 | (set-marker marker nil nil) | 640 | (set-marker marker nil nil) |
| 641 | ;; Run the user's hook. Do we really want to do this for pop? | 641 | ;; Run the user's hook. Do we really want to do this for pop? |
| 642 | (run-hooks 'local-find-tag-hook)))) | 642 | (run-hooks 'local-find-tag-hook)))) |
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index 10e8c3f405c..2f90cea6e34 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | ;; Fortran mode has been upgraded and is now maintained by Stephen A. Wood | 28 | ;; Fortran mode has been upgraded and is now maintained by Stephen A. Wood |
| 29 | ;; (saw@cebaf.gov). It now will use either fixed format continuation line | 29 | ;; (saw@cebaf.gov). It now will use either fixed format continuation line |
| 30 | ;; markers (character in 6th column), or tab format coninuation line style | 30 | ;; markers (character in 6th column), or tab format continuation line style |
| 31 | ;; (digit after a TAB character.) A auto-fill mode has been added to | 31 | ;; (digit after a TAB character.) A auto-fill mode has been added to |
| 32 | ;; automatically wrap fortran lines that get too long. | 32 | ;; automatically wrap fortran lines that get too long. |
| 33 | 33 | ||
| @@ -37,7 +37,7 @@ | |||
| 37 | ;; Gary Sabot and Richard Stallman. | 37 | ;; Gary Sabot and Richard Stallman. |
| 38 | 38 | ||
| 39 | ;;; This file may be used with GNU Emacs version 18.xx if the following | 39 | ;;; This file may be used with GNU Emacs version 18.xx if the following |
| 40 | ;;; variable and function substutions are made. | 40 | ;;; variable and function substitutions are made. |
| 41 | ;;; Replace: | 41 | ;;; Replace: |
| 42 | ;;; frame-width with screen-width | 42 | ;;; frame-width with screen-width |
| 43 | ;;; auto-fill-function with auto-fill-hook | 43 | ;;; auto-fill-function with auto-fill-hook |
| @@ -159,7 +159,7 @@ This variable used in TAB-format mode.") | |||
| 159 | style.") | 159 | style.") |
| 160 | 160 | ||
| 161 | (defvar fortran-break-before-delimiters t | 161 | (defvar fortran-break-before-delimiters t |
| 162 | "*Non-nil causes `fortran-do-auto-fill' to break lines before delimeters.") | 162 | "*Non-nil causes `fortran-do-auto-fill' to break lines before delimiters.") |
| 163 | 163 | ||
| 164 | (if fortran-mode-syntax-table | 164 | (if fortran-mode-syntax-table |
| 165 | () | 165 | () |
| @@ -336,7 +336,7 @@ Variables controlling indentation style and extra features: | |||
| 336 | Non-nil causes line number digits to be moved to the correct column | 336 | Non-nil causes line number digits to be moved to the correct column |
| 337 | as typed. (default t) | 337 | as typed. (default t) |
| 338 | fortran-break-before-delimiters | 338 | fortran-break-before-delimiters |
| 339 | Non-nil causes `fortran-do-auto-fill' breaks lines before delimeters. | 339 | Non-nil causes `fortran-do-auto-fill' breaks lines before delimiters. |
| 340 | (default t) | 340 | (default t) |
| 341 | fortran-startup-message | 341 | fortran-startup-message |
| 342 | Set to nil to inhibit message first time Fortran mode is used. | 342 | Set to nil to inhibit message first time Fortran mode is used. |
| @@ -1117,7 +1117,7 @@ automatically breaks the line at a previous space." | |||
| 1117 | ;; decide where to split the line. If a position for a quoted | 1117 | ;; decide where to split the line. If a position for a quoted |
| 1118 | ;; string was found above then use that, else break the line | 1118 | ;; string was found above then use that, else break the line |
| 1119 | ;; before the last delimiter. | 1119 | ;; before the last delimiter. |
| 1120 | ;; Delimeters are whitespace, commas, and operators. | 1120 | ;; Delimiters are whitespace, commas, and operators. |
| 1121 | ;; Will break before a pair of *'s. | 1121 | ;; Will break before a pair of *'s. |
| 1122 | ;; | 1122 | ;; |
| 1123 | (fill-point | 1123 | (fill-point |
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index b408431e45f..6394de36f71 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el | |||
| @@ -568,7 +568,7 @@ NOT including one on this line." | |||
| 568 | ((hif-looking-at-endif) | 568 | ((hif-looking-at-endif) |
| 569 | 'done) | 569 | 'done) |
| 570 | (t | 570 | (t |
| 571 | (error "Missmatched #ifdef #endif pair")))) | 571 | (error "Mismatched #ifdef #endif pair")))) |
| 572 | 572 | ||
| 573 | 573 | ||
| 574 | (defun hif-endif-to-ifdef () | 574 | (defun hif-endif-to-ifdef () |
| @@ -577,7 +577,7 @@ NOT including one on this line." | |||
| 577 | (let ((start (point))) | 577 | (let ((start (point))) |
| 578 | (hif-find-previous-relevant) | 578 | (hif-find-previous-relevant) |
| 579 | (if (= start (point)) | 579 | (if (= start (point)) |
| 580 | (error "Missmatched #ifdef #endif pair"))) | 580 | (error "Mismatched #ifdef #endif pair"))) |
| 581 | (cond ((hif-looking-at-endif) | 581 | (cond ((hif-looking-at-endif) |
| 582 | (hif-endif-to-ifdef) ; find beginning of nested if | 582 | (hif-endif-to-ifdef) ; find beginning of nested if |
| 583 | (hif-endif-to-ifdef)) ; find beginning of outer if or else | 583 | (hif-endif-to-ifdef)) ; find beginning of outer if or else |
| @@ -938,7 +938,7 @@ Turn off hiding by calling `show-ifdef'." | |||
| 938 | 938 | ||
| 939 | 939 | ||
| 940 | (defun hif-find-ifdef-block () | 940 | (defun hif-find-ifdef-block () |
| 941 | "Utilitiy for hide and show `ifdef-block'. | 941 | "Utility for hide and show `ifdef-block'. |
| 942 | Set top and bottom of ifdef block." | 942 | Set top and bottom of ifdef block." |
| 943 | (let (max-bottom) | 943 | (let (max-bottom) |
| 944 | (save-excursion | 944 | (save-excursion |
| @@ -997,7 +997,7 @@ Set top and bottom of ifdef block." | |||
| 997 | (if old-read-only (toggle-read-only)))) | 997 | (if old-read-only (toggle-read-only)))) |
| 998 | 998 | ||
| 999 | 999 | ||
| 1000 | ;;; defininition alist support | 1000 | ;;; definition alist support |
| 1001 | 1001 | ||
| 1002 | (defvar hide-ifdef-define-alist nil | 1002 | (defvar hide-ifdef-define-alist nil |
| 1003 | "A global assoc list of pre-defined symbol lists") | 1003 | "A global assoc list of pre-defined symbol lists") |
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el index b5f44647979..3404d15295f 100644 --- a/lisp/progmodes/inf-lisp.el +++ b/lisp/progmodes/inf-lisp.el | |||
| @@ -650,7 +650,7 @@ one process, this will do the right thing. If you run multiple | |||
| 650 | processes, you can change inferior-lisp-buffer to another process | 650 | processes, you can change inferior-lisp-buffer to another process |
| 651 | buffer with \\[set-variable]. | 651 | buffer with \\[set-variable]. |
| 652 | 652 | ||
| 653 | More sophisticated approaches are, of course, possible. If you find youself | 653 | More sophisticated approaches are, of course, possible. If you find yourself |
| 654 | needing to switch back and forth between multiple processes frequently, | 654 | needing to switch back and forth between multiple processes frequently, |
| 655 | you may wish to consider ilisp.el, a larger, more sophisticated package | 655 | you may wish to consider ilisp.el, a larger, more sophisticated package |
| 656 | for running inferior Lisp processes. The approach taken here is for a | 656 | for running inferior Lisp processes. The approach taken here is for a |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index d01ee7c0b61..52b08f2c99f 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | ;; So, for the meantime, this is not the default mode for makefiles. | 19 | ;; So, for the meantime, this is not the default mode for makefiles. |
| 20 | 20 | ||
| 21 | ;; $Id: makefile.el,v 1.7 1993/04/21 03:47:05 eric Exp rms $ | 21 | ;; $Id: makefile.el,v 1.8 1993/05/06 01:30:26 rms Exp jimb $ |
| 22 | 22 | ||
| 23 | ;; This file is part of GNU Emacs. | 23 | ;; This file is part of GNU Emacs. |
| 24 | 24 | ||
| @@ -71,7 +71,7 @@ | |||
| 71 | (provide 'makefile) | 71 | (provide 'makefile) |
| 72 | 72 | ||
| 73 | ;;; ------------------------------------------------------------ | 73 | ;;; ------------------------------------------------------------ |
| 74 | ;;; Configureable stuff | 74 | ;;; Configurable stuff |
| 75 | ;;; ------------------------------------------------------------ | 75 | ;;; ------------------------------------------------------------ |
| 76 | 76 | ||
| 77 | (defconst makefile-mode-name "makefile" | 77 | (defconst makefile-mode-name "makefile" |
| @@ -97,7 +97,7 @@ might prefer to use \" += \" or \" := \" .") | |||
| 97 | "Controls the style of generated macro references. | 97 | "Controls the style of generated macro references. |
| 98 | Set this variable to a non-nil value if you prefer curly braces | 98 | Set this variable to a non-nil value if you prefer curly braces |
| 99 | in macro-references, so it looks like ${this}. A value of nil | 99 | in macro-references, so it looks like ${this}. A value of nil |
| 100 | will cause makefile-mode to use parantheses, making macro references | 100 | will cause makefile-mode to use parentheses, making macro references |
| 101 | look like $(this) .") | 101 | look like $(this) .") |
| 102 | 102 | ||
| 103 | (defvar makefile-tab-after-target-colon t | 103 | (defvar makefile-tab-after-target-colon t |
| @@ -175,7 +175,7 @@ not be enclosed in { } or ( ).") | |||
| 175 | ;;; ------------------------------------------------------------ | 175 | ;;; ------------------------------------------------------------ |
| 176 | ;;; The following configurable variables are used in the | 176 | ;;; The following configurable variables are used in the |
| 177 | ;;; up-to-date overview . | 177 | ;;; up-to-date overview . |
| 178 | ;;; The standard configuration assumes that your `make' programm | 178 | ;;; The standard configuration assumes that your `make' program |
| 179 | ;;; can be run in question/query mode using the `-q' option, this | 179 | ;;; can be run in question/query mode using the `-q' option, this |
| 180 | ;;; means that the command | 180 | ;;; means that the command |
| 181 | ;;; | 181 | ;;; |
| @@ -188,7 +188,7 @@ not be enclosed in { } or ( ).") | |||
| 188 | ;;; Dennis Vadura's DMake have no problems. | 188 | ;;; Dennis Vadura's DMake have no problems. |
| 189 | ;;; Set the variable `makefile-brave-make' to the name of the | 189 | ;;; Set the variable `makefile-brave-make' to the name of the |
| 190 | ;;; make utility that does this on your system. | 190 | ;;; make utility that does this on your system. |
| 191 | ;;; To understand what this is all about see the function defintion | 191 | ;;; To understand what this is all about see the function definition |
| 192 | ;;; of `makefile-query-by-make-minus-q' . | 192 | ;;; of `makefile-query-by-make-minus-q' . |
| 193 | ;;; ------------------------------------------------------------ | 193 | ;;; ------------------------------------------------------------ |
| 194 | 194 | ||
| @@ -936,7 +936,7 @@ it will prompt you for all required parameters. | |||
| 936 | This function \'knows\' about the required parameters of every | 936 | This function \'knows\' about the required parameters of every |
| 937 | GNU make function and will use meaningfull prompts for the | 937 | GNU make function and will use meaningfull prompts for the |
| 938 | various args, making it much easier to take advantage of this | 938 | various args, making it much easier to take advantage of this |
| 939 | powerfull GNU make feature." | 939 | powerful GNU make feature." |
| 940 | (interactive) | 940 | (interactive) |
| 941 | (let* ((gm-function-name (completing-read | 941 | (let* ((gm-function-name (completing-read |
| 942 | "Function: " | 942 | "Function: " |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 5afd03adc74..9380f98e926 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -64,7 +64,7 @@ | |||
| 64 | ;; Known problems (these are all caused by limitations in the Emacs Lisp | 64 | ;; Known problems (these are all caused by limitations in the Emacs Lisp |
| 65 | ;; parsing routine (parse-partial-sexp), which was not designed for such | 65 | ;; parsing routine (parse-partial-sexp), which was not designed for such |
| 66 | ;; a rich language; writing a more suitable parser would be a big job): | 66 | ;; a rich language; writing a more suitable parser would be a big job): |
| 67 | ;; 1) Regular expression delimitors do not act as quotes, so special | 67 | ;; 1) Regular expression delimiters do not act as quotes, so special |
| 68 | ;; characters such as `'"#:;[](){} may need to be backslashed | 68 | ;; characters such as `'"#:;[](){} may need to be backslashed |
| 69 | ;; in regular expressions and in both parts of s/// and tr///. | 69 | ;; in regular expressions and in both parts of s/// and tr///. |
| 70 | ;; 2) The globbing syntax <pattern> is not recognized, so special | 70 | ;; 2) The globbing syntax <pattern> is not recognized, so special |
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el index 76190c948b4..a4baa3056f3 100644 --- a/lisp/progmodes/scheme.el +++ b/lisp/progmodes/scheme.el | |||
| @@ -268,7 +268,7 @@ of the start of the containing expression." | |||
| 268 | (if first-sexp-list-p | 268 | (if first-sexp-list-p |
| 269 | (setq desired-indent (current-column))) | 269 | (setq desired-indent (current-column))) |
| 270 | ;; Point is at the point to indent under unless we are inside a string. | 270 | ;; Point is at the point to indent under unless we are inside a string. |
| 271 | ;; Call indentation hook except when overriden by scheme-indent-offset | 271 | ;; Call indentation hook except when overridden by scheme-indent-offset |
| 272 | ;; or if the desired indentation has already been computed. | 272 | ;; or if the desired indentation has already been computed. |
| 273 | (cond ((car (nthcdr 3 state)) | 273 | (cond ((car (nthcdr 3 state)) |
| 274 | ;; Inside a string, don't change indentation. | 274 | ;; Inside a string, don't change indentation. |
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index 6c3a41735a8..3a45f4b5348 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el | |||
| @@ -59,13 +59,13 @@ the previous line of the statement.") | |||
| 59 | 59 | ||
| 60 | (defconst simula-if-indent '(0 . 0) | 60 | (defconst simula-if-indent '(0 . 0) |
| 61 | "*Extra indentation of THEN and ELSE with respect to the starting IF. | 61 | "*Extra indentation of THEN and ELSE with respect to the starting IF. |
| 62 | Value is a cons cell, the car is extra THEN indention and the cdr | 62 | Value is a cons cell, the car is extra THEN indentation and the cdr |
| 63 | extra ELSE indention. IF after ELSE is indented as the starting IF.") | 63 | extra ELSE indentation. IF after ELSE is indented as the starting IF.") |
| 64 | 64 | ||
| 65 | (defconst simula-inspect-indent '(0 . 0) | 65 | (defconst simula-inspect-indent '(0 . 0) |
| 66 | "*Extra indentation of WHEN and OTHERWISE with respect to the | 66 | "*Extra indentation of WHEN and OTHERWISE with respect to the |
| 67 | corresponding INSPECT. Value is a cons cell, the car is | 67 | corresponding INSPECT. Value is a cons cell, the car is |
| 68 | extra WHEN indention and the cdr extra OTHERWISE indention.") | 68 | extra WHEN indentation and the cdr extra OTHERWISE indentation.") |
| 69 | 69 | ||
| 70 | (defconst simula-electric-indent nil | 70 | (defconst simula-electric-indent nil |
| 71 | "*If this variable is non-nil, the simula-indent-line function | 71 | "*If this variable is non-nil, the simula-indent-line function |
| @@ -147,12 +147,12 @@ Variables controlling indentation style: | |||
| 147 | Offset of SIMULA label lines relative to usual indentation | 147 | Offset of SIMULA label lines relative to usual indentation |
| 148 | simula-if-indent '(0 . 0) | 148 | simula-if-indent '(0 . 0) |
| 149 | Extra indentation of THEN and ELSE with respect to the starting IF. | 149 | Extra indentation of THEN and ELSE with respect to the starting IF. |
| 150 | Value is a cons cell, the car is extra THEN indention and the cdr | 150 | Value is a cons cell, the car is extra THEN indentation and the cdr |
| 151 | extra ELSE indention. IF after ELSE is indented as the starting IF. | 151 | extra ELSE indentation. IF after ELSE is indented as the starting IF. |
| 152 | simula-inspect-indent '(0 . 0) | 152 | simula-inspect-indent '(0 . 0) |
| 153 | Extra indentation of WHEN and OTHERWISE with respect to the | 153 | Extra indentation of WHEN and OTHERWISE with respect to the |
| 154 | corresponding INSPECT. Value is a cons cell, the car is | 154 | corresponding INSPECT. Value is a cons cell, the car is |
| 155 | extra WHEN indention and the cdr extra OTHERWISE indention. | 155 | extra WHEN indentation and the cdr extra OTHERWISE indentation. |
| 156 | simula-electric-indent nil | 156 | simula-electric-indent nil |
| 157 | If this variable non-nil value, simula-indent-line | 157 | If this variable non-nil value, simula-indent-line |
| 158 | will check the previous line to see if it has to be reindented. | 158 | will check the previous line to see if it has to be reindented. |
| @@ -169,7 +169,7 @@ Turning on SIMULA mode calls the value of the variable simula-mode-hook | |||
| 169 | with no arguments, if that value is non-nil | 169 | with no arguments, if that value is non-nil |
| 170 | 170 | ||
| 171 | Warning: simula-mode-hook should not read in an abbrev file without calling | 171 | Warning: simula-mode-hook should not read in an abbrev file without calling |
| 172 | the function simula-install-standard-abbrevs afterwards, preferrably not | 172 | the function simula-install-standard-abbrevs afterwards, preferably not |
| 173 | at all." | 173 | at all." |
| 174 | (interactive) | 174 | (interactive) |
| 175 | (kill-all-local-variables) | 175 | (kill-all-local-variables) |
| @@ -680,7 +680,7 @@ If COUNT is negative, move forward instead (simula-next-statement)" | |||
| 680 | ;; Calculate non-comment indentation | 680 | ;; Calculate non-comment indentation |
| 681 | (t | 681 | (t |
| 682 | ;; first, find out if this line starts with something that needs | 682 | ;; first, find out if this line starts with something that needs |
| 683 | ;; special indention (END/IF/THEN/ELSE/WHEN/OTHERWISE or label) | 683 | ;; special indentation (END/IF/THEN/ELSE/WHEN/OTHERWISE or label) |
| 684 | ;; | 684 | ;; |
| 685 | (skip-chars-forward " \t\f") | 685 | (skip-chars-forward " \t\f") |
| 686 | (cond | 686 | (cond |
| @@ -783,7 +783,7 @@ If COUNT is negative, move forward instead (simula-next-statement)" | |||
| 783 | (cdr simula-if-indent)))) | 783 | (cdr simula-if-indent)))) |
| 784 | (simula-find-inspect))) | 784 | (simula-find-inspect))) |
| 785 | ;; found the start of a [sub]statement | 785 | ;; found the start of a [sub]statement |
| 786 | ;; add indention for continued statement | 786 | ;; add indentation for continued statement |
| 787 | (if continued | 787 | (if continued |
| 788 | (setq indent | 788 | (setq indent |
| 789 | (+ indent | 789 | (+ indent |
| @@ -821,7 +821,7 @@ If COUNT is negative, move forward instead (simula-next-statement)" | |||
| 821 | "begin\\|then\\|else\\|when\\|otherwise\\|do"))) | 821 | "begin\\|then\\|else\\|when\\|otherwise\\|do"))) |
| 822 | (not (memq (preceding-char) '(?: ?\;)))))) | 822 | (not (memq (preceding-char) '(?: ?\;)))))) |
| 823 | ;; if we the state of the continued-variable | 823 | ;; if we the state of the continued-variable |
| 824 | ;; changed, add indention for continued statement | 824 | ;; changed, add indentation for continued statement |
| 825 | (if (or (and prev-cont (not continued)) | 825 | (if (or (and prev-cont (not continued)) |
| 826 | (and continued | 826 | (and continued |
| 827 | (listp simula-continued-statement-offset))) | 827 | (listp simula-continued-statement-offset))) |
| @@ -835,7 +835,7 @@ If COUNT is negative, move forward instead (simula-next-statement)" | |||
| 835 | (setq start-line (save-excursion (beginning-of-line) (point))) | 835 | (setq start-line (save-excursion (beginning-of-line) (point))) |
| 836 | (beginning-of-line)))) | 836 | (beginning-of-line)))) |
| 837 | ;; | 837 | ;; |
| 838 | ;; return indention | 838 | ;; return indentation |
| 839 | ;; | 839 | ;; |
| 840 | indent))))) | 840 | indent))))) |
| 841 | 841 | ||
| @@ -909,7 +909,7 @@ If COUNT is negative, move forward instead (simula-next-statement)" | |||
| 909 | ((eq (following-char) ?\;) | 909 | ((eq (following-char) ?\;) |
| 910 | (if (zerop parlevel) | 910 | (if (zerop parlevel) |
| 911 | (throw 'simula-out nil) | 911 | (throw 'simula-out nil) |
| 912 | (error "Parethesis mismatch or misplaced ';'"))) | 912 | (error "Parenthesis mismatch or misplaced ';'"))) |
| 913 | ((eq (following-char) ?\() | 913 | ((eq (following-char) ?\() |
| 914 | (if (zerop parlevel) | 914 | (if (zerop parlevel) |
| 915 | (throw 'simula-out (1+ (current-column))) | 915 | (throw 'simula-out (1+ (current-column))) |
| @@ -947,7 +947,7 @@ If COUNT is negative, move forward instead (simula-next-statement)" | |||
| 947 | "Expand SIMULA keyword. If it starts the line, reindent." | 947 | "Expand SIMULA keyword. If it starts the line, reindent." |
| 948 | ;; redisplay | 948 | ;; redisplay |
| 949 | (let ((show-char (eq this-command 'self-insert-command))) | 949 | (let ((show-char (eq this-command 'self-insert-command))) |
| 950 | ;; If the abbrev expansion results in reindention, the user may have | 950 | ;; If the abbrev expansion results in reindentation, the user may have |
| 951 | ;; to wait some time before the character he typed is displayed | 951 | ;; to wait some time before the character he typed is displayed |
| 952 | ;; (the char causing the expansion is inserted AFTER the hook function | 952 | ;; (the char causing the expansion is inserted AFTER the hook function |
| 953 | ;; is called). This is annoying in case of normal characters. | 953 | ;; is called). This is annoying in case of normal characters. |
diff --git a/lisp/sc.el b/lisp/sc.el index 313cbe2449d..172c3c425b3 100644 --- a/lisp/sc.el +++ b/lisp/sc.el | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | ;; massages raw reply buffers set up by the reply/forward functions in | 15 | ;; massages raw reply buffers set up by the reply/forward functions in |
| 16 | ;; the news/mail subsystems. Therefore, such useful operations as | 16 | ;; the news/mail subsystems. Therefore, such useful operations as |
| 17 | ;; yanking and citing portions of the original article (instead of the | 17 | ;; yanking and citing portions of the original article (instead of the |
| 18 | ;; whole article) are not within the ability or responsiblity of | 18 | ;; whole article) are not within the ability or responsibility of |
| 19 | ;; supercite. | 19 | ;; supercite. |
| 20 | 20 | ||
| 21 | ;; ========== Disclaimer ========== | 21 | ;; ========== Disclaimer ========== |
| @@ -389,7 +389,7 @@ Runs after sc-cite-original executes.") | |||
| 389 | 389 | ||
| 390 | 390 | ||
| 391 | ;; ====================================================================== | 391 | ;; ====================================================================== |
| 392 | ;; global variables, not user accessable | 392 | ;; global variables, not user accessible |
| 393 | 393 | ||
| 394 | (defconst sc-version-number "2.3" | 394 | (defconst sc-version-number "2.3" |
| 395 | "Supercite's version number.") | 395 | "Supercite's version number.") |
| @@ -574,7 +574,7 @@ If FIELD is not a valid key, return sc-mumble-string." | |||
| 574 | ()) | 574 | ()) |
| 575 | 575 | ||
| 576 | (defun sc-no-blank-line-or-header() | 576 | (defun sc-no-blank-line-or-header() |
| 577 | "Similar to sc-no-header except it removes the preceeding blank line." | 577 | "Similar to sc-no-header except it removes the preceding blank line." |
| 578 | (if (not (bobp)) | 578 | (if (not (bobp)) |
| 579 | (if (and (eolp) | 579 | (if (and (eolp) |
| 580 | (progn (forward-line -1) | 580 | (progn (forward-line -1) |
| @@ -1000,7 +1000,7 @@ Return the list of name symbols." | |||
| 1000 | (run-hooks 'sc-fill-paragraph-hook))) | 1000 | (run-hooks 'sc-fill-paragraph-hook))) |
| 1001 | (setq fstart (point) | 1001 | (setq fstart (point) |
| 1002 | fend (point))) | 1002 | fend (point))) |
| 1003 | ;; not end of line so perhap cite it | 1003 | ;; not end of line so perhaps cite it |
| 1004 | ((not (looking-at sc-cite-regexp)) | 1004 | ((not (looking-at sc-cite-regexp)) |
| 1005 | (insert (aget sc-gal-information "sc-citation"))) | 1005 | (insert (aget sc-gal-information "sc-citation"))) |
| 1006 | (sc-nested-citation-p | 1006 | (sc-nested-citation-p |
| @@ -1551,7 +1551,7 @@ original message but it does require a few things: | |||
| 1551 | ;; | 1551 | ;; |
| 1552 | (defun sc-describe () | 1552 | (defun sc-describe () |
| 1553 | "Supercite version 2.3 is now described in a texinfo manual which | 1553 | "Supercite version 2.3 is now described in a texinfo manual which |
| 1554 | makes the documenation available both for online perusal via emacs' | 1554 | makes the documentation available both for online perusal via emacs' |
| 1555 | info system, or for hard-copy printing using the TeX facility. | 1555 | info system, or for hard-copy printing using the TeX facility. |
| 1556 | 1556 | ||
| 1557 | To view the online document hit \\[info], then \"mSupercite <RET>\"." | 1557 | To view the online document hit \\[info], then \"mSupercite <RET>\"." |
diff --git a/lisp/simple.el b/lisp/simple.el index fac25878b38..339afef7104 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -301,7 +301,7 @@ that uses or sets the mark." | |||
| 301 | (goto-char (point-min))) | 301 | (goto-char (point-min))) |
| 302 | 302 | ||
| 303 | (defun count-lines-region (start end) | 303 | (defun count-lines-region (start end) |
| 304 | "Print number of lines and charcters in the region." | 304 | "Print number of lines and characters in the region." |
| 305 | (interactive "r") | 305 | (interactive "r") |
| 306 | (message "Region has %d lines, %d characters" | 306 | (message "Region has %d lines, %d characters" |
| 307 | (count-lines start end) (- end start))) | 307 | (count-lines start end) (- end start))) |
diff --git a/lisp/sort.el b/lisp/sort.el index 93c8f2171be..c0135917687 100644 --- a/lisp/sort.el +++ b/lisp/sort.el | |||
| @@ -331,7 +331,7 @@ FIELD, BEG and END. BEG and END specify region to sort." | |||
| 331 | 331 | ||
| 332 | ;;;###autoload | 332 | ;;;###autoload |
| 333 | (defun sort-regexp-fields (reverse record-regexp key-regexp beg end) | 333 | (defun sort-regexp-fields (reverse record-regexp key-regexp beg end) |
| 334 | "Sort the region lexicographically as specifed by RECORD-REGEXP and KEY. | 334 | "Sort the region lexicographically as specified by RECORD-REGEXP and KEY. |
| 335 | RECORD-REGEXP specifies the textual units which should be sorted. | 335 | RECORD-REGEXP specifies the textual units which should be sorted. |
| 336 | For example, to sort lines RECORD-REGEXP would be \"^.*$\" | 336 | For example, to sort lines RECORD-REGEXP would be \"^.*$\" |
| 337 | KEY specifies the part of each record (ie each match for RECORD-REGEXP) | 337 | KEY specifies the part of each record (ie each match for RECORD-REGEXP) |
diff --git a/lisp/subr.el b/lisp/subr.el index c652c8893bc..22662dd0687 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -382,7 +382,7 @@ Please convert your programs to use the variable `baud-rate' directly." | |||
| 382 | (defalias 'not 'null) | 382 | (defalias 'not 'null) |
| 383 | (defalias 'rplaca 'setcar) | 383 | (defalias 'rplaca 'setcar) |
| 384 | (defalias 'rplacd 'setcdr) | 384 | (defalias 'rplacd 'setcdr) |
| 385 | (defalias 'beep 'ding) ;preserve lingual purtity | 385 | (defalias 'beep 'ding) ;preserve lingual purity |
| 386 | (defalias 'indent-to-column 'indent-to) | 386 | (defalias 'indent-to-column 'indent-to) |
| 387 | (defalias 'backward-delete-char 'delete-backward-char) | 387 | (defalias 'backward-delete-char 'delete-backward-char) |
| 388 | (defalias 'search-forward-regexp (symbol-function 're-search-forward)) | 388 | (defalias 'search-forward-regexp (symbol-function 're-search-forward)) |
diff --git a/lisp/sun-fns.el b/lisp/sun-fns.el index 340009580f3..dd4371cd6ec 100644 --- a/lisp/sun-fns.el +++ b/lisp/sun-fns.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | ;;; | 32 | ;;; |
| 33 | ;;; | 33 | ;;; |
| 34 | ;;; Functions for manipulating via the mouse and mouse-map definitions | 34 | ;;; Functions for manipulating via the mouse and mouse-map definitions |
| 35 | ;;; for accessing them. Also definitons of mouse menus. | 35 | ;;; for accessing them. Also definitions of mouse menus. |
| 36 | ;;; This file you should freely modify to reflect you personal tastes. | 36 | ;;; This file you should freely modify to reflect you personal tastes. |
| 37 | ;;; | 37 | ;;; |
| 38 | ;;; First half of file defines functions to implement mouse commands, | 38 | ;;; First half of file defines functions to implement mouse commands, |
| @@ -43,7 +43,7 @@ | |||
| 43 | ;;; Mouse Functions. | 43 | ;;; Mouse Functions. |
| 44 | ;;; | 44 | ;;; |
| 45 | ;;; These functions follow the sun-mouse-handler convention of being called | 45 | ;;; These functions follow the sun-mouse-handler convention of being called |
| 46 | ;;; with three arguements: (window x-pos y-pos) | 46 | ;;; with three arguments: (window x-pos y-pos) |
| 47 | ;;; This makes it easy for a mouse executed command to know where the mouse is. | 47 | ;;; This makes it easy for a mouse executed command to know where the mouse is. |
| 48 | ;;; Use the macro "eval-in-window" to execute a function | 48 | ;;; Use the macro "eval-in-window" to execute a function |
| 49 | ;;; in a temporarily selected window. | 49 | ;;; in a temporarily selected window. |
| @@ -138,7 +138,7 @@ and put the region in the stuff buffer." | |||
| 138 | (mouse-select-window window x y))) | 138 | (mouse-select-window window x y))) |
| 139 | 139 | ||
| 140 | ;;; | 140 | ;;; |
| 141 | ;;; esoteria: | 141 | ;;; esoterica: |
| 142 | ;;; | 142 | ;;; |
| 143 | (defun mouse-exch-pt-and-mark (window x y) | 143 | (defun mouse-exch-pt-and-mark (window x y) |
| 144 | "Exchange point and mark." | 144 | "Exchange point and mark." |
| @@ -321,7 +321,7 @@ relative X divided by window width." | |||
| 321 | (if (>= x (1- (window-width))) | 321 | (if (>= x (1- (window-width))) |
| 322 | ;; When x is maximun (equal to or 1 less than window width), | 322 | ;; When x is maximun (equal to or 1 less than window width), |
| 323 | ;; goto end of buffer. We check for this special case | 323 | ;; goto end of buffer. We check for this special case |
| 324 | ;; becuase the calculated goto-char often goes short of the | 324 | ;; because the calculated goto-char often goes short of the |
| 325 | ;; end due to roundoff error, and we often really want to go | 325 | ;; end due to roundoff error, and we often really want to go |
| 326 | ;; to the end. | 326 | ;; to the end. |
| 327 | (goto-char (point-max)) | 327 | (goto-char (point-max)) |
| @@ -418,7 +418,7 @@ relative X divided by window width." | |||
| 418 | ;;; minibuffer menu | 418 | ;;; minibuffer menu |
| 419 | ;;; | 419 | ;;; |
| 420 | (defmenu minibuffer-menu | 420 | (defmenu minibuffer-menu |
| 421 | ("Minibuffer" message "Just some miscellanous minibuffer commands") | 421 | ("Minibuffer" message "Just some miscellaneous minibuffer commands") |
| 422 | ("Stuff" sun-yank-selection) | 422 | ("Stuff" sun-yank-selection) |
| 423 | ("Do-It" exit-minibuffer) | 423 | ("Do-It" exit-minibuffer) |
| 424 | ("Abort" abort-recursive-edit) | 424 | ("Abort" abort-recursive-edit) |
diff --git a/lisp/term/README b/lisp/term/README index 7307634c75c..e672b15dcf7 100644 --- a/lisp/term/README +++ b/lisp/term/README | |||
| @@ -162,7 +162,7 @@ key_f64 k1 function key 64 | |||
| 162 | 162 | ||
| 163 | (4) The uses of the "k0" capability are inconsistent; sometimes it | 163 | (4) The uses of the "k0" capability are inconsistent; sometimes it |
| 164 | describes F10, whereas othertimes it describes F0 and "k;" describes F10. | 164 | describes F10, whereas othertimes it describes F0 and "k;" describes F10. |
| 165 | Emacs attempts to politely accomodate both systems by testing for | 165 | Emacs attempts to politely accommodate both systems by testing for |
| 166 | "k;", and if it is present, assuming that "k0" denotes F0, otherwise F10. | 166 | "k;", and if it is present, assuming that "k0" denotes F0, otherwise F10. |
| 167 | ----------------------------------------------------------------------------- | 167 | ----------------------------------------------------------------------------- |
| 168 | 168 | ||
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el index 2356c65917a..b34c3833dd5 100644 --- a/lisp/term/sun-mouse.el +++ b/lisp/term/sun-mouse.el | |||
| @@ -65,7 +65,7 @@ Setting to nil limits the scrollbar to the edge or vertical dividing bar.") | |||
| 65 | 65 | ||
| 66 | (defun define-mouse (mousemap mouse-list def) | 66 | (defun define-mouse (mousemap mouse-list def) |
| 67 | "Args MOUSEMAP, MOUSE-LIST, DEF. Define MOUSE-LIST in MOUSEMAP as DEF. | 67 | "Args MOUSEMAP, MOUSE-LIST, DEF. Define MOUSE-LIST in MOUSEMAP as DEF. |
| 68 | MOUSE-LIST is a list of atoms specifing a mouse hit according to these rules: | 68 | MOUSE-LIST is a list of atoms specifying a mouse hit according to these rules: |
| 69 | * One of these atoms specifies the active region of the definition. | 69 | * One of these atoms specifies the active region of the definition. |
| 70 | text, scrollbar, modeline, minibuffer | 70 | text, scrollbar, modeline, minibuffer |
| 71 | * One or two or these atoms specify the button or button combination. | 71 | * One or two or these atoms specify the button or button combination. |
| @@ -151,7 +151,7 @@ Just like the Common Lisp function of the same name." | |||
| 151 | (defmacro sm::hit-x (hit) (list 'nth 1 hit)) | 151 | (defmacro sm::hit-x (hit) (list 'nth 1 hit)) |
| 152 | ;;; Screen y position. | 152 | ;;; Screen y position. |
| 153 | (defmacro sm::hit-y (hit) (list 'nth 2 hit)) | 153 | (defmacro sm::hit-y (hit) (list 'nth 2 hit)) |
| 154 | ;;; Millisconds since last hit. | 154 | ;;; Milliseconds since last hit. |
| 155 | (defmacro sm::hit-delta (hit) (list 'nth 3 hit)) | 155 | (defmacro sm::hit-delta (hit) (list 'nth 3 hit)) |
| 156 | 156 | ||
| 157 | (defmacro sm::hit-up-p (hit) ; A predicate. | 157 | (defmacro sm::hit-up-p (hit) ; A predicate. |
| @@ -374,7 +374,7 @@ Returns one of (text scrollbar modeline minibuffer)" | |||
| 374 | (cond ((minibuffer-window-p w) 'minibuffer) | 374 | (cond ((minibuffer-window-p w) 'minibuffer) |
| 375 | ((>= y bottom) 'modeline) | 375 | ((>= y bottom) 'modeline) |
| 376 | ((>= x right) 'scrollbar) | 376 | ((>= x right) 'scrollbar) |
| 377 | ;; far right column (window seperator) is always a scrollbar | 377 | ;; far right column (window separator) is always a scrollbar |
| 378 | ((and scrollbar-width | 378 | ((and scrollbar-width |
| 379 | ;; mouse within scrollbar-width of edge. | 379 | ;; mouse within scrollbar-width of edge. |
| 380 | (>= x (- right scrollbar-width)) | 380 | (>= x (- right scrollbar-width)) |
| @@ -596,7 +596,7 @@ evaluated for their side-effects rather than their values. | |||
| 596 | If the selected form is a menu or a symbol whose value is a menu, | 596 | If the selected form is a menu or a symbol whose value is a menu, |
| 597 | then it is displayed and evaluated as a pullright menu item. | 597 | then it is displayed and evaluated as a pullright menu item. |
| 598 | If the the FORM of the first ITEM is nil, the STRING of the item | 598 | If the the FORM of the first ITEM is nil, the STRING of the item |
| 599 | is used as a label for the menu, i.e. it's inverted and not selectible." | 599 | is used as a label for the menu, i.e. it's inverted and not selectable." |
| 600 | 600 | ||
| 601 | (if (symbolp menu) (setq menu (symbol-value menu))) | 601 | (if (symbolp menu) (setq menu (symbol-value menu))) |
| 602 | (eval (sun-menu-internal *menu-window* *menu-x* *menu-y* 4 menu))) | 602 | (eval (sun-menu-internal *menu-window* *menu-x* *menu-y* 4 menu))) |
| @@ -641,7 +641,7 @@ CODE values: 13 = Tool-Position, 14 = Size-in-Pixels, 18 = Size-in-Chars." | |||
| 641 | 641 | ||
| 642 | ;;; | 642 | ;;; |
| 643 | ;;; Function interface to selection/region | 643 | ;;; Function interface to selection/region |
| 644 | ;;; primative functions are defined in sunfns.c | 644 | ;;; primitive functions are defined in sunfns.c |
| 645 | ;;; | 645 | ;;; |
| 646 | (defun sun-yank-selection () | 646 | (defun sun-yank-selection () |
| 647 | "Set mark and yank the contents of the current sunwindows selection. | 647 | "Set mark and yank the contents of the current sunwindows selection. |
diff --git a/lisp/term/wyse50.el b/lisp/term/wyse50.el index 9cc7ff991c6..64bd9532de4 100644 --- a/lisp/term/wyse50.el +++ b/lisp/term/wyse50.el | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | ;; Uses the Emacs 19 terminal initialization features --- won't work with 18. | 27 | ;; Uses the Emacs 19 terminal initialization features --- won't work with 18. |
| 28 | ;; Rewritten for Emacs 19 by jimb, January 1992 | 28 | ;; Rewritten for Emacs 19 by jimb, January 1992 |
| 29 | ;; Cleaned up for new terminal package cinventions by esr, March 1993 | 29 | ;; Cleaned up for new terminal package conventions by esr, March 1993 |
| 30 | ;; Should work well for Televideo TVI 925 although it's overkill. | 30 | ;; Should work well for Televideo TVI 925 although it's overkill. |
| 31 | ;; | 31 | ;; |
| 32 | ;; The Wyse50 is ergonomically wonderful, but its escape-sequence design sucks | 32 | ;; The Wyse50 is ergonomically wonderful, but its escape-sequence design sucks |
diff --git a/lisp/terminal.el b/lisp/terminal.el index 31e22f4d10d..195fc6321c1 100644 --- a/lisp/terminal.el +++ b/lisp/terminal.el | |||
| @@ -394,7 +394,7 @@ all pending output has been dealt with.") | |||
| 394 | 394 | ||
| 395 | (defun te-more-break-flush-pending-output () | 395 | (defun te-more-break-flush-pending-output () |
| 396 | "Discard any output which has been received by the terminal emulator but | 396 | "Discard any output which has been received by the terminal emulator but |
| 397 | not yet proceesed and then proceed from the more break." | 397 | not yet processed and then proceed from the more break." |
| 398 | (interactive) | 398 | (interactive) |
| 399 | (te-more-break-unwind) | 399 | (te-more-break-unwind) |
| 400 | (te-flush-pending-output)) | 400 | (te-flush-pending-output)) |
| @@ -1167,9 +1167,9 @@ work with `terminfo' we will try to use it." | |||
| 1167 | 1167 | ||
| 1168 | (put 'terminal-mode 'mode-class 'special) | 1168 | (put 'terminal-mode 'mode-class 'special) |
| 1169 | ;; This is only separated out from function terminal-emulator | 1169 | ;; This is only separated out from function terminal-emulator |
| 1170 | ;; to keep the latter a little more managable. | 1170 | ;; to keep the latter a little more manageable. |
| 1171 | (defun terminal-mode () | 1171 | (defun terminal-mode () |
| 1172 | "Set up variables for use f the terminal-emualtor. | 1172 | "Set up variables for use with the terminal-emulator. |
| 1173 | One should not call this -- it is an internal function | 1173 | One should not call this -- it is an internal function |
| 1174 | of the terminal-emulator" | 1174 | of the terminal-emulator" |
| 1175 | (kill-all-local-variables) | 1175 | (kill-all-local-variables) |
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 8e8e85590c7..b6c13fb8605 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -144,11 +144,11 @@ | |||
| 144 | ;;; M-C-e end-of-bibtex-entry | 144 | ;;; M-C-e end-of-bibtex-entry |
| 145 | ;;; Mike Newton (newton@gumby.cs.caltech.edu) 90.11.17 | 145 | ;;; Mike Newton (newton@gumby.cs.caltech.edu) 90.11.17 |
| 146 | ;;; * Handle items like | 146 | ;;; * Handle items like |
| 147 | ;;; title = poft # "Fifth Tri-quaterly" # random-conf, | 147 | ;;; title = poft # "Fifth Tri-quarterly" # random-conf, |
| 148 | ;;; and title = {This title is inside curlies} | 148 | ;;; and title = {This title is inside curlies} |
| 149 | ;;; * added user settable, always present, optional fields | 149 | ;;; * added user settable, always present, optional fields |
| 150 | ;;; * fixed 'bibtex-find-it's doc string's location | 150 | ;;; * fixed 'bibtex-find-it's doc string's location |
| 151 | ;;; * bibtex-field-text made more general (it wouldnt handle the # construct) | 151 | ;;; * bibtex-field-text made more general (it wouldn't handle the # construct) |
| 152 | ;;; and it now handles a small subset of the {} cases | 152 | ;;; and it now handles a small subset of the {} cases |
| 153 | 153 | ||
| 154 | ;;; Bengt Martensson, March 6 | 154 | ;;; Bengt Martensson, March 6 |
| @@ -553,7 +553,7 @@ Chosen on aesthetic grounds only.") | |||
| 553 | Equal to the space needed for the longest name part.") | 553 | Equal to the space needed for the longest name part.") |
| 554 | 554 | ||
| 555 | (defun bibtex-current-entry-label (&optional include-cite kill) | 555 | (defun bibtex-current-entry-label (&optional include-cite kill) |
| 556 | "Return the label of the bibtex entry containing, or preceeding point. | 556 | "Return the label of the bibtex entry containing, or preceding point. |
| 557 | Optional argument INCLUDE-CITE, if true means put a '\\cite{}' around the | 557 | Optional argument INCLUDE-CITE, if true means put a '\\cite{}' around the |
| 558 | returned value. Second optional argument KILL, if true, means place the | 558 | returned value. Second optional argument KILL, if true, means place the |
| 559 | returned value in the kill buffer. Interactively; providing prefix | 559 | returned value in the kill buffer. Interactively; providing prefix |
| @@ -563,7 +563,7 @@ Rationale: | |||
| 563 | The intention is that someone will write a function that can be bound to | 563 | The intention is that someone will write a function that can be bound to |
| 564 | a mouse key so that people entering TeX can just mouse on the bibtex entry | 564 | a mouse key so that people entering TeX can just mouse on the bibtex entry |
| 565 | and have the citation key inserted at the current point (which will almost | 565 | and have the citation key inserted at the current point (which will almost |
| 566 | certainly be in some other bufer). In the interim this function is | 566 | certainly be in some other buffer). In the interim this function is |
| 567 | marginally useful for keyboard binding and is not bound by default. | 567 | marginally useful for keyboard binding and is not bound by default. |
| 568 | Suggested binding is ^C-k." | 568 | Suggested binding is ^C-k." |
| 569 | (interactive (list current-prefix-arg t)) | 569 | (interactive (list current-prefix-arg t)) |
| @@ -689,7 +689,7 @@ non-nil." | |||
| 689 | (setq local-abbrev-table bibtex-mode-abbrev-table) | 689 | (setq local-abbrev-table bibtex-mode-abbrev-table) |
| 690 | (make-local-variable 'paragraph-start) | 690 | (make-local-variable 'paragraph-start) |
| 691 | (setq paragraph-start "^[ \f\n\t]*$") | 691 | (setq paragraph-start "^[ \f\n\t]*$") |
| 692 | (auto-fill-mode 1) ; nice alignements | 692 | (auto-fill-mode 1) ; nice alignments |
| 693 | (setq left-margin (+ bibtex-text-alignment 1)) | 693 | (setq left-margin (+ bibtex-text-alignment 1)) |
| 694 | 694 | ||
| 695 | (run-hooks 'bibtex-mode-hook)) | 695 | (run-hooks 'bibtex-mode-hook)) |
| @@ -813,7 +813,7 @@ If bibtex-sort-ignore-string-entries is true, @string entries will be ignored. | |||
| 813 | 813 | ||
| 814 | Bugs: | 814 | Bugs: |
| 815 | 1. Text between the closing brace ending one bibtex entry, and the @ starting | 815 | 1. Text between the closing brace ending one bibtex entry, and the @ starting |
| 816 | the next, is considered part of the PRECEEDING entry. Perhaps it should be | 816 | the next, is considered part of the PRECEDING entry. Perhaps it should be |
| 817 | part of the following entry." | 817 | part of the following entry." |
| 818 | (interactive) | 818 | (interactive) |
| 819 | (save-restriction | 819 | (save-restriction |
| @@ -825,7 +825,7 @@ Bugs: | |||
| 825 | (end-of-bibtex-entry) | 825 | (end-of-bibtex-entry) |
| 826 | (point))) | 826 | (point))) |
| 827 | (sort-subr nil ; reversep | 827 | (sort-subr nil ; reversep |
| 828 | ;; begining of record function | 828 | ;; beginning of record function |
| 829 | 'forward-line | 829 | 'forward-line |
| 830 | ;; end of record function | 830 | ;; end of record function |
| 831 | (function (lambda () (and (re-search-forward "}\\s-*\n[\n \t]*@" nil 'move) | 831 | (function (lambda () (and (re-search-forward "}\\s-*\n[\n \t]*@" nil 'move) |
diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el index 08aed07b4e3..ff37d27ce4d 100644 --- a/lisp/textmodes/ispell4.el +++ b/lisp/textmodes/ispell4.el | |||
| @@ -69,7 +69,7 @@ to look for the next message from the ISPELL program.") | |||
| 69 | 69 | ||
| 70 | (defun kill-ispell () | 70 | (defun kill-ispell () |
| 71 | "Kill the ispell process. | 71 | "Kill the ispell process. |
| 72 | Any changes the your private dictionay | 72 | Any changes in your private dictionary |
| 73 | that have not already been dumped will be lost." | 73 | that have not already been dumped will be lost." |
| 74 | (interactive) | 74 | (interactive) |
| 75 | (if ispell-process | 75 | (if ispell-process |
| @@ -141,7 +141,7 @@ WORD Check spelling of WORD. Result is | |||
| 141 | :file FILENAME scan the named file, and print the file offsets of | 141 | :file FILENAME scan the named file, and print the file offsets of |
| 142 | any misspelled words | 142 | any misspelled words |
| 143 | 143 | ||
| 144 | :insert WORD put word in private dictonary | 144 | :insert WORD put word in private dictionary |
| 145 | 145 | ||
| 146 | :accept WORD don't complain about word any more this session | 146 | :accept WORD don't complain about word any more this session |
| 147 | 147 | ||
| @@ -209,10 +209,10 @@ DIGIT Near miss selector. If the misspelled word is close to | |||
| 209 | some words in the dictionary, they are offered as near misses. | 209 | some words in the dictionary, they are offered as near misses. |
| 210 | r Replace. Replace the word with a string you type. Each word | 210 | r Replace. Replace the word with a string you type. Each word |
| 211 | of your new string is also checked. | 211 | of your new string is also checked. |
| 212 | i Insert. Insert this word in your private dictonary (kept in | 212 | i Insert. Insert this word in your private dictionary (kept in |
| 213 | `$HOME/ispell.words'). | 213 | `$HOME/ispell.words'). |
| 214 | a Accept. Accept this word for the rest of this editing session, | 214 | a Accept. Accept this word for the rest of this editing session, |
| 215 | but don't put it in your private dictonary. | 215 | but don't put it in your private dictionary. |
| 216 | l Lookup. Look for a word in the dictionary by fast binary | 216 | l Lookup. Look for a word in the dictionary by fast binary |
| 217 | search, or search for a regular expression in the dictionary | 217 | search, or search for a regular expression in the dictionary |
| 218 | using grep. | 218 | using grep. |
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el index 847d0b674e2..8537e59450b 100644 --- a/lisp/textmodes/page-ext.el +++ b/lisp/textmodes/page-ext.el | |||
| @@ -77,7 +77,7 @@ | |||
| 77 | ;;; `pages-directory-address-mode' now sets local variables and enables | 77 | ;;; `pages-directory-address-mode' now sets local variables and enables |
| 78 | ;;; `describe-mode' to describe Addresses Directory mode. | 78 | ;;; `describe-mode' to describe Addresses Directory mode. |
| 79 | ;;; | 79 | ;;; |
| 80 | ;;; `pages-directory-for-addresses' now sets the buffer-modifed flag | 80 | ;;; `pages-directory-for-addresses' now sets the buffer-modified flag |
| 81 | ;;; for the Addresses Directory to nil. | 81 | ;;; for the Addresses Directory to nil. |
| 82 | ;;; | 82 | ;;; |
| 83 | ;;; The documentation string for both `pages-directory-mode' and | 83 | ;;; The documentation string for both `pages-directory-mode' and |
| @@ -223,7 +223,7 @@ | |||
| 223 | ; Washington, DC 20515 | 223 | ; Washington, DC 20515 |
| 224 | ; | 224 | ; |
| 225 | ; Congressional committee concerned with permitting or preventing | 225 | ; Congressional committee concerned with permitting or preventing |
| 226 | ; monopolistic restictions on the use of software technology | 226 | ; monopolistic restrictions on the use of software technology |
| 227 | ; | 227 | ; |
| 228 | ; | 228 | ; |
| 229 | ; George Lakoff | 229 | ; George Lakoff |
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index 8435376a8b7..7c0490b6d2e 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el | |||
| @@ -44,7 +44,7 @@ if necessary to attain exactly the specified column." | |||
| 44 | (delete-char -1) | 44 | (delete-char -1) |
| 45 | (indent-to col) | 45 | (indent-to col) |
| 46 | (move-to-column column)))) | 46 | (move-to-column column)))) |
| 47 | ;; This call will go away when Emacs gets real horizonal autoscrolling | 47 | ;; This call will go away when Emacs gets real horizontal autoscrolling |
| 48 | (hscroll-point-visible))) | 48 | (hscroll-point-visible))) |
| 49 | 49 | ||
| 50 | 50 | ||
| @@ -57,7 +57,7 @@ If scan reaches end of buffer, stop there without error." | |||
| 57 | (interactive "P") | 57 | (interactive "P") |
| 58 | (if arg (forward-line (1- (prefix-numeric-value arg)))) | 58 | (if arg (forward-line (1- (prefix-numeric-value arg)))) |
| 59 | (beginning-of-line) | 59 | (beginning-of-line) |
| 60 | ;; This call will go away when Emacs gets real horizonal autoscrolling | 60 | ;; This call will go away when Emacs gets real horizontal autoscrolling |
| 61 | (hscroll-point-visible)) | 61 | (hscroll-point-visible)) |
| 62 | 62 | ||
| 63 | (defun picture-end-of-line (&optional arg) | 63 | (defun picture-end-of-line (&optional arg) |
| @@ -68,7 +68,7 @@ If scan reaches end of buffer, stop there without error." | |||
| 68 | (if arg (forward-line (1- (prefix-numeric-value arg)))) | 68 | (if arg (forward-line (1- (prefix-numeric-value arg)))) |
| 69 | (beginning-of-line) | 69 | (beginning-of-line) |
| 70 | (skip-chars-backward " \t" (prog1 (point) (end-of-line))) | 70 | (skip-chars-backward " \t" (prog1 (point) (end-of-line))) |
| 71 | ;; This call will go away when Emacs gets real horizonal autoscrolling | 71 | ;; This call will go away when Emacs gets real horizontal autoscrolling |
| 72 | (hscroll-point-visible)) | 72 | (hscroll-point-visible)) |
| 73 | 73 | ||
| 74 | (defun picture-forward-column (arg) | 74 | (defun picture-forward-column (arg) |
| @@ -238,7 +238,7 @@ always moves to the beginning of a line." | |||
| 238 | (end-of-line) | 238 | (end-of-line) |
| 239 | (if (eobp) (newline) (forward-char 1)) | 239 | (if (eobp) (newline) (forward-char 1)) |
| 240 | (setq arg (1- arg)))) | 240 | (setq arg (1- arg)))) |
| 241 | ;; This call will go away when Emacs gets real horizonal autoscrolling | 241 | ;; This call will go away when Emacs gets real horizontal autoscrolling |
| 242 | (hscroll-point-visible)) | 242 | (hscroll-point-visible)) |
| 243 | 243 | ||
| 244 | (defun picture-open-line (arg) | 244 | (defun picture-open-line (arg) |
| @@ -248,7 +248,7 @@ With positive argument insert that many lines." | |||
| 248 | (save-excursion | 248 | (save-excursion |
| 249 | (end-of-line) | 249 | (end-of-line) |
| 250 | (open-line arg)) | 250 | (open-line arg)) |
| 251 | ;; This call will go away when Emacs gets real horizonal autoscrolling | 251 | ;; This call will go away when Emacs gets real horizontal autoscrolling |
| 252 | (hscroll-point-visible)) | 252 | (hscroll-point-visible)) |
| 253 | 253 | ||
| 254 | (defun picture-duplicate-line () | 254 | (defun picture-duplicate-line () |
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el index e1ed847ca79..6ebbe35654b 100644 --- a/lisp/textmodes/spell.el +++ b/lisp/textmodes/spell.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; This mode orovides an Emacs interface to the UNIX spell(1) program. | 26 | ;; This mode provides an Emacs interface to the UNIX spell(1) program. |
| 27 | ;; Entry points are `spell-buffer', `spell-word', `spell-region' and | 27 | ;; Entry points are `spell-buffer', `spell-word', `spell-region' and |
| 28 | ;; `spell-string'. These facilities are documented in the Emacs user's | 28 | ;; `spell-string'. These facilities are documented in the Emacs user's |
| 29 | ;; manual. | 29 | ;; manual. |
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 199fc58bea9..e6db1dafcdf 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -520,7 +520,7 @@ and the location is displayed for a few seconds." | |||
| 520 | (or (tex-validate-region (point) end) | 520 | (or (tex-validate-region (point) end) |
| 521 | (progn | 521 | (progn |
| 522 | (push-mark (point)) | 522 | (push-mark (point)) |
| 523 | (message "Mismatch found in pararaph starting here") | 523 | (message "Mismatch found in paragraph starting here") |
| 524 | (sit-for 4))))) | 524 | (sit-for 4))))) |
| 525 | (goto-char opoint)))) | 525 | (goto-char opoint)))) |
| 526 | 526 | ||
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 20bbefcdb60..c45662132f2 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -431,7 +431,7 @@ converted to Info is stored in a temporary buffer." | |||
| 431 | 431 | ||
| 432 | 432 | ||
| 433 | ; 19 October 1990 | 433 | ; 19 October 1990 |
| 434 | ; @setfilename modifed to work with include files; see @include | 434 | ; @setfilename modified to work with include files; see @include |
| 435 | ; (defun texinfo-format-setfilename () | 435 | ; (defun texinfo-format-setfilename () |
| 436 | ; (let ((arg (texinfo-parse-arg-discard))) | 436 | ; (let ((arg (texinfo-parse-arg-discard))) |
| 437 | ; (setq texinfo-format-filename | 437 | ; (setq texinfo-format-filename |
| @@ -1653,7 +1653,7 @@ If used within a line, follow `@minus' with braces." | |||
| 1653 | ;; In the original version, include files were ignored by Info but | 1653 | ;; In the original version, include files were ignored by Info but |
| 1654 | ;; incorporated in to the printed manual. To make references to the | 1654 | ;; incorporated in to the printed manual. To make references to the |
| 1655 | ;; included file, the Texinfo source file has to refer to the included | 1655 | ;; included file, the Texinfo source file has to refer to the included |
| 1656 | ;; files using the `(filename)nodename' format for refering to other | 1656 | ;; files using the `(filename)nodename' format for referring to other |
| 1657 | ;; Info files. Also, the included files had to be formatted on their | 1657 | ;; Info files. Also, the included files had to be formatted on their |
| 1658 | ;; own. It was just like they were another file. | 1658 | ;; own. It was just like they were another file. |
| 1659 | 1659 | ||
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index a739826c4f2..dae1d6aa8c7 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el | |||
| @@ -570,7 +570,7 @@ menus in the buffer (incorporating descriptions from pre-existing | |||
| 570 | menus) before it constructs the master menu. | 570 | menus) before it constructs the master menu. |
| 571 | 571 | ||
| 572 | The function removes the detailed part of an already existing master | 572 | The function removes the detailed part of an already existing master |
| 573 | menu. This action depends on the pre-exisitng master menu using the | 573 | menu. This action depends on the pre-existing master menu using the |
| 574 | standard `texinfo-master-menu-header'. | 574 | standard `texinfo-master-menu-header'. |
| 575 | 575 | ||
| 576 | The master menu has the following format, which is adapted from the | 576 | The master menu has the following format, which is adapted from the |
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index b4b543f9a47..c4724687c2b 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el | |||
| @@ -80,7 +80,7 @@ All the commands defined in Text mode are inherited unless overridden.") | |||
| 80 | 80 | ||
| 81 | (if indented-text-mode-map | 81 | (if indented-text-mode-map |
| 82 | () | 82 | () |
| 83 | ;; Make different definintion for TAB before the one in text-mode-map, but | 83 | ;; Make different definition for TAB before the one in text-mode-map, but |
| 84 | ;; share the rest. | 84 | ;; share the rest. |
| 85 | (let ((newmap (make-sparse-keymap))) | 85 | (let ((newmap (make-sparse-keymap))) |
| 86 | (define-key newmap "\t" 'indent-relative) | 86 | (define-key newmap "\t" 'indent-relative) |
diff --git a/lisp/timer.el b/lisp/timer.el index 609224a66e5..c069e13159e 100644 --- a/lisp/timer.el +++ b/lisp/timer.el | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | 24 | ||
| 25 | ;; This package gives you the capability to run Emacs Lisp commands at | 25 | ;; This package gives you the capability to run Emacs Lisp commands at |
| 26 | ;; specified simes in the future, either as one-shots or periodically. | 26 | ;; specified times in the future, either as one-shots or periodically. |
| 27 | ;; The single entry point is `run-at-time'. | 27 | ;; The single entry point is `run-at-time'. |
| 28 | 28 | ||
| 29 | ;;; Code: | 29 | ;;; Code: |