diff options
| author | Karl Heuer | 1994-03-12 00:23:12 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-03-12 00:23:12 +0000 |
| commit | 26add1bf463d21a7dc855798911eae45e96fa202 (patch) | |
| tree | f227ddc7a59807d3f0d596907f3bc2c87af5a2d4 | |
| parent | 96a410bce6167f4ba9be55693dee79075325893e (diff) | |
| download | emacs-26add1bf463d21a7dc855798911eae45e96fa202.tar.gz emacs-26add1bf463d21a7dc855798911eae45e96fa202.zip | |
Don't use triple-hyphen in a character class.
| -rw-r--r-- | lisp/add-log.el | 2 | ||||
| -rw-r--r-- | lisp/ange-ftp.el | 6 | ||||
| -rw-r--r-- | lisp/dired-aux.el | 2 | ||||
| -rw-r--r-- | lisp/dired.el | 2 | ||||
| -rw-r--r-- | lisp/files.el | 4 | ||||
| -rw-r--r-- | lisp/gnus.el | 8 | ||||
| -rw-r--r-- | lisp/progmodes/cplus-md.el | 2 | ||||
| -rw-r--r-- | lisp/subr.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 22 | ||||
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 4 |
10 files changed, 27 insertions, 27 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 9c54caa84ce..0fc40e107a4 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -284,7 +284,7 @@ Prefix arg means justify as well." | |||
| 284 | (fill-paragraph justify))) | 284 | (fill-paragraph justify))) |
| 285 | 285 | ||
| 286 | (defvar add-log-current-defun-header-regexp | 286 | (defvar add-log-current-defun-header-regexp |
| 287 | "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[a-z_---A-Z]+\\)[ \t]*[:=]" | 287 | "^\\([A-Z][A-Z_ ]*[A-Z_]\\|[-_a-zA-Z]+\\)[ \t]*[:=]" |
| 288 | "*Heuristic regexp used by `add-log-current-defun' for unknown major modes.") | 288 | "*Heuristic regexp used by `add-log-current-defun' for unknown major modes.") |
| 289 | 289 | ||
| 290 | (defun add-log-current-defun () | 290 | (defun add-log-current-defun () |
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index 2d2cd2fa296..a0fc2a2307b 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -857,7 +857,7 @@ SIZE, if supplied, should be a prime number." | |||
| 857 | ;;;; Internal variables. | 857 | ;;;; Internal variables. |
| 858 | ;;;; ------------------------------------------------------------ | 858 | ;;;; ------------------------------------------------------------ |
| 859 | 859 | ||
| 860 | (defconst ange-ftp-version "$Revision: 1.42 $") | 860 | (defconst ange-ftp-version "$Revision: 1.43 $") |
| 861 | 861 | ||
| 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 862 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 863 | "Buffer name to hold directory listing data received from ftp process.") | 863 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -4502,8 +4502,8 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4502 | 4502 | ||
| 4503 | (defconst ange-ftp-vms-filename-regexp | 4503 | (defconst ange-ftp-vms-filename-regexp |
| 4504 | (concat | 4504 | (concat |
| 4505 | "\\(\\([_A-Za-z0-9$]?\\|[_A-Za-z0-9$][_A-Za-z0-9$---]*\\)\\." | 4505 | "\\(\\([_A-Za-z0-9$]?\\|[_A-Za-z0-9$][-_A-Za-z0-9$]*\\)\\." |
| 4506 | "[_A-Za-z0-9$---]*;+[0-9]*\\)") | 4506 | "[-_A-Za-z0-9$]*;+[0-9]*\\)") |
| 4507 | "Regular expression to match for a valid VMS file name in Dired buffer. | 4507 | "Regular expression to match for a valid VMS file name in Dired buffer. |
| 4508 | Stupid freaking bug! Position of _ and $ shouldn't matter but they do. | 4508 | Stupid freaking bug! Position of _ and $ shouldn't matter but they do. |
| 4509 | Having [A-Z0-9$_] bombs on filename _$$CHANGE_LOG$.TXT$ and $CHANGE_LOG$.TX | 4509 | Having [A-Z0-9$_] bombs on filename _$$CHANGE_LOG$.TXT$ and $CHANGE_LOG$.TX |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 99e0063a94a..0959ee0f1d4 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -279,7 +279,7 @@ with a prefix argument." | |||
| 279 | ;; Quote everything except POSIX filename characters. | 279 | ;; Quote everything except POSIX filename characters. |
| 280 | ;; This should be safe enough even for really weird shells. | 280 | ;; This should be safe enough even for really weird shells. |
| 281 | (let ((result "") (start 0) end) | 281 | (let ((result "") (start 0) end) |
| 282 | (while (string-match "[^---0-9a-zA-Z_./]" filename start) | 282 | (while (string-match "[^-0-9a-zA-Z_./]" filename start) |
| 283 | (setq end (match-beginning 0) | 283 | (setq end (match-beginning 0) |
| 284 | result (concat result (substring filename start end) | 284 | result (concat result (substring filename start end) |
| 285 | "\\" (substring filename end (1+ end))) | 285 | "\\" (substring filename end (1+ end))) |
diff --git a/lisp/dired.el b/lisp/dired.el index be4972fa739..be82cb872b7 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -2061,7 +2061,7 @@ With a prefix argument you can edit the current listing switches instead." | |||
| 2061 | (let (case-fold-search) | 2061 | (let (case-fold-search) |
| 2062 | (concat | 2062 | (concat |
| 2063 | "-l" | 2063 | "-l" |
| 2064 | (dired-replace-in-string (concat "[---lt" | 2064 | (dired-replace-in-string (concat "[-lt" |
| 2065 | dired-ls-sorting-switches "]") | 2065 | dired-ls-sorting-switches "]") |
| 2066 | "" | 2066 | "" |
| 2067 | dired-actual-switches) | 2067 | dired-actual-switches) |
diff --git a/lisp/files.el b/lisp/files.el index 8f33ee8d975..7b1c3cbec89 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1330,8 +1330,8 @@ we do not remove backup version numbers, only true file version numbers." | |||
| 1330 | ;; sign, zero or more digits, provided this is the | 1330 | ;; sign, zero or more digits, provided this is the |
| 1331 | ;; second period encountered outside of the | 1331 | ;; second period encountered outside of the |
| 1332 | ;; device/directory part of the file name. | 1332 | ;; device/directory part of the file name. |
| 1333 | (or (string-match ";[---+]?[0-9]*\\'" name) | 1333 | (or (string-match ";[-+]?[0-9]*\\'" name) |
| 1334 | (if (string-match "\\.[^]>:]*\\(\\.[---+]?[0-9]*\\)\\'" | 1334 | (if (string-match "\\.[^]>:]*\\(\\.[-+]?[0-9]*\\)\\'" |
| 1335 | name) | 1335 | name) |
| 1336 | (match-beginning 1)) | 1336 | (match-beginning 1)) |
| 1337 | (length name)) | 1337 | (length name)) |
diff --git a/lisp/gnus.el b/lisp/gnus.el index 44ff621ebbb..ed34f87e5e5 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el | |||
| @@ -2,7 +2,7 @@ | |||
| 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 | 3 | ||
| 4 | ;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> | 4 | ;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> |
| 5 | ;; Version: $Header: /gd/gnu/emacs/19.0/lisp/RCS/gnus.el,v 1.32 1994/01/08 12:46:53 rms Exp kwzh $ | 5 | ;; Version: $Header: /gd/gnu/emacs/19.0/lisp/RCS/gnus.el,v 1.33 1994/02/11 21:56:45 kwzh Exp kwzh $ |
| 6 | ;; Keywords: news | 6 | ;; Keywords: news |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| @@ -2350,7 +2350,7 @@ the same subject will be searched for." | |||
| 2350 | (regexp | 2350 | (regexp |
| 2351 | (format "^%s[ \t]+\\([0-9]+\\):.\\[[^]\r\n]*\\][ \t]+%s" | 2351 | (format "^%s[ \t]+\\([0-9]+\\):.\\[[^]\r\n]*\\][ \t]+%s" |
| 2352 | ;;(if unread " " ".") | 2352 | ;;(if unread " " ".") |
| 2353 | (cond ((eq unread t) " ") (unread "[ ---]") (t ".")) | 2353 | (cond ((eq unread t) " ") (unread "[- ]") (t ".")) |
| 2354 | (if subject | 2354 | (if subject |
| 2355 | (concat "\\([Rr][Ee]:[ \t]+\\)*" | 2355 | (concat "\\([Rr][Ee]:[ \t]+\\)*" |
| 2356 | (regexp-quote (gnus-simplify-subject subject)) | 2356 | (regexp-quote (gnus-simplify-subject subject)) |
| @@ -3318,7 +3318,7 @@ Argument COUNT specifies number of articles unmarked" | |||
| 3318 | (let ((buffer-read-only nil)) | 3318 | (let ((buffer-read-only nil)) |
| 3319 | (save-excursion | 3319 | (save-excursion |
| 3320 | (goto-char (point-min)) | 3320 | (goto-char (point-min)) |
| 3321 | (delete-non-matching-lines "^[ ---]")) | 3321 | (delete-non-matching-lines "^[- ]")) |
| 3322 | ;; Adjust point. | 3322 | ;; Adjust point. |
| 3323 | (if (eobp) | 3323 | (if (eobp) |
| 3324 | (gnus-summary-prev-subject 1) | 3324 | (gnus-summary-prev-subject 1) |
| @@ -6635,7 +6635,7 @@ If optional argument RAWFILE is non-nil, the raw startup file is read." | |||
| 6635 | ;; Parse each newsgroup description such as "comp.all". Commas | 6635 | ;; Parse each newsgroup description such as "comp.all". Commas |
| 6636 | ;; and white spaces can be a newsgroup separator. | 6636 | ;; and white spaces can be a newsgroup separator. |
| 6637 | (while | 6637 | (while |
| 6638 | (string-match "^[ \t\n,]*\\(!?\\)\\([^--- \t\n,][^ \t\n,]*\\)" options) | 6638 | (string-match "^[ \t\n,]*\\(!?\\)\\([^- \t\n,][^ \t\n,]*\\)" options) |
| 6639 | (setq yes-or-no | 6639 | (setq yes-or-no |
| 6640 | (substring options (match-beginning 1) (match-end 1))) | 6640 | (substring options (match-beginning 1) (match-end 1))) |
| 6641 | (setq newsgroup | 6641 | (setq newsgroup |
diff --git a/lisp/progmodes/cplus-md.el b/lisp/progmodes/cplus-md.el index 613253e7b68..af26f52138c 100644 --- a/lisp/progmodes/cplus-md.el +++ b/lisp/progmodes/cplus-md.el | |||
| @@ -797,7 +797,7 @@ The fill lines remain a comment." | |||
| 797 | ;; | 797 | ;; |
| 798 | ;; ; overloadable operators | 798 | ;; ; overloadable operators |
| 799 | ;; (op-sym1 | 799 | ;; (op-sym1 |
| 800 | ;; "[---+*/%^&|~!=<>]\\|[---+*/%^&|<>=!]=\\|<<=?\\|>>=?") | 800 | ;; "[-+*/%^&|~!=<>]\\|[-+*/%^&|<>=!]=\\|<<=?\\|>>=?") |
| 801 | ;; (op-sym2 | 801 | ;; (op-sym2 |
| 802 | ;; "&&\\|||\\|\\+\\+\\|--\\|()\\|\\[\\]") | 802 | ;; "&&\\|||\\|\\+\\+\\|--\\|()\\|\\[\\]") |
| 803 | ;; (op-sym (concat "\\(" op-sym1 "\\|" op-sym2 "\\)")) | 803 | ;; (op-sym (concat "\\(" op-sym1 "\\|" op-sym2 "\\)")) |
diff --git a/lisp/subr.el b/lisp/subr.el index 44a7e298e3c..42105a44d56 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -671,7 +671,7 @@ Wildcards and redirection are handled as usual in the shell." | |||
| 671 | ;; Quote everything except POSIX filename characters. | 671 | ;; Quote everything except POSIX filename characters. |
| 672 | ;; This should be safe enough even for really weird shells. | 672 | ;; This should be safe enough even for really weird shells. |
| 673 | (let ((result "") (start 0) end) | 673 | (let ((result "") (start 0) end) |
| 674 | (while (string-match "[^---0-9a-zA-Z_./]" argument start) | 674 | (while (string-match "[^-0-9a-zA-Z_./]" argument start) |
| 675 | (setq end (match-beginning 0) | 675 | (setq end (match-beginning 0) |
| 676 | result (concat result (substring argument start end) | 676 | result (concat result (substring argument start end) |
| 677 | "\\" (substring argument end (1+ end))) | 677 | "\\" (substring argument end (1+ end))) |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 2fa5fae1d3a..1050b494dc8 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -388,30 +388,30 @@ started ispell process.") | |||
| 388 | ;;;###autoload | 388 | ;;;###autoload |
| 389 | (defvar ispell-dictionary-alist ; sk 9-Aug-1991 18:28 | 389 | (defvar ispell-dictionary-alist ; sk 9-Aug-1991 18:28 |
| 390 | '((nil ; default (english.aff) | 390 | '((nil ; default (english.aff) |
| 391 | "[A-Za-z]" "[^A-Za-z]" "[---']" nil ("-B") nil) | 391 | "[A-Za-z]" "[^A-Za-z]" "[-']" nil ("-B") nil) |
| 392 | ("english" ; make english explicitly selectable | 392 | ("english" ; make english explicitly selectable |
| 393 | "[A-Za-z]" "[^A-Za-z]" "[---']" nil ("-B") nil) | 393 | "[A-Za-z]" "[^A-Za-z]" "[-']" nil ("-B") nil) |
| 394 | ("deutsch" ; deutsch.aff | 394 | ("deutsch" ; deutsch.aff |
| 395 | "[a-zA-Z\"]" "[^a-zA-Z\"]" "[---']" t ("-C") nil) | 395 | "[a-zA-Z\"]" "[^a-zA-Z\"]" "[-']" t ("-C") nil) |
| 396 | ("deutsch8" | 396 | ("deutsch8" |
| 397 | "[a-zA-Z\304\326\334\344\366\337\374]" | 397 | "[a-zA-Z\304\326\334\344\366\337\374]" |
| 398 | "[^a-zA-Z\304\326\334\344\366\337\374]" | 398 | "[^a-zA-Z\304\326\334\344\366\337\374]" |
| 399 | "[---']" t ("-C" "-d" "deutsch") "~latin1") | 399 | "[-']" t ("-C" "-d" "deutsch") "~latin1") |
| 400 | ("nederlands8" ; dutch8.aff | 400 | ("nederlands8" ; dutch8.aff |
| 401 | "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" | 401 | "[A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" |
| 402 | "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" | 402 | "[^A-Za-z\300-\305\307\310-\317\322-\326\331-\334\340-\345\347\350-\357\361\362-\366\371-\374]" |
| 403 | "[---']" t ("-C") nil) | 403 | "[-']" t ("-C") nil) |
| 404 | ("svenska" ;7 bit swedish mode | 404 | ("svenska" ;7 bit swedish mode |
| 405 | "[A-Za-z}{|\\133\\135\\\\]" "[^A-Za-z}{|\\133\\135\\\\]" | 405 | "[A-Za-z}{|\\133\\135\\\\]" "[^A-Za-z}{|\\133\\135\\\\]" |
| 406 | "[---']" nil ("-C") nil) | 406 | "[-']" nil ("-C") nil) |
| 407 | ("svenska8" ;8 bit swedish mode | 407 | ("svenska8" ;8 bit swedish mode |
| 408 | "[A-Za-z\345\344\366\305\304\366]" "[^A-Za-z\345\344\366\305\304\366]" | 408 | "[A-Za-z\345\344\366\305\304\366]" "[^A-Za-z\345\344\366\305\304\366]" |
| 409 | "[---']" nil ("-C" "-d" "svenska") "~list") ; Add `"-T" "list"' instead? | 409 | "[-']" nil ("-C" "-d" "svenska") "~list") ; Add `"-T" "list"' instead? |
| 410 | ("francais" | 410 | ("francais" |
| 411 | "[A-Za-z]" "[^A-Za-z]" "[---`'\^]" nil nil nil) | 411 | "[A-Za-z]" "[^A-Za-z]" "[-`'\^]" nil nil nil) |
| 412 | ("dansk" ; dansk.aff | 412 | ("dansk" ; dansk.aff |
| 413 | "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]" | 413 | "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]" |
| 414 | "[---]" nil ("-C") nil) | 414 | "[-]" nil ("-C") nil) |
| 415 | ) | 415 | ) |
| 416 | "An alist of dictionaries and their associated parameters. | 416 | "An alist of dictionaries and their associated parameters. |
| 417 | 417 | ||
| @@ -1484,7 +1484,7 @@ With prefix argument, set the default directory." | |||
| 1484 | (re-search-forward "[][()$]" limit t)) | 1484 | (re-search-forward "[][()$]" limit t)) |
| 1485 | (setq string (concat "^" (buffer-substring start limit) "\n"))) | 1485 | (setq string (concat "^" (buffer-substring start limit) "\n"))) |
| 1486 | (goto-char limit)))) | 1486 | (goto-char limit)))) |
| 1487 | ((looking-at "[---#@*+!%~^]") ; SKIP SPECIAL ISPELL CHARACTERS | 1487 | ((looking-at "[-#@*+!%~^]") ; SKIP SPECIAL ISPELL CHARACTERS |
| 1488 | (forward-char 1)) | 1488 | (forward-char 1)) |
| 1489 | ((or (re-search-forward ispell-casechars end t) ; TEXT EXISTS... | 1489 | ((or (re-search-forward ispell-casechars end t) ; TEXT EXISTS... |
| 1490 | (re-search-forward "[][()$]" end t)) ; or MATH COMMANDS... | 1490 | (re-search-forward "[][()$]" end t)) ; or MATH COMMANDS... |
| @@ -1800,7 +1800,7 @@ news-reply-mode-hook or mail-mode-hook to the following lambda expression: | |||
| 1800 | ;;(search-forward mail-header-separator nil t) | 1800 | ;;(search-forward mail-header-separator nil t) |
| 1801 | (while (if internal-messagep | 1801 | (while (if internal-messagep |
| 1802 | (< (point) internal-messagep) | 1802 | (< (point) internal-messagep) |
| 1803 | (and (looking-at "[a-zA-Z---]+:\\|\t\\| ") | 1803 | (and (looking-at "[-a-zA-Z]+:\\|\t\\| ") |
| 1804 | (not (eobp)))) | 1804 | (not (eobp)))) |
| 1805 | 1805 | ||
| 1806 | ;; spell check Subject: field without Re:'s. | 1806 | ;; spell check Subject: field without Re:'s. |
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 4ada1087795..fc079976c8b 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el | |||
| @@ -1882,9 +1882,9 @@ Default is to leave paragraph indentation as is." | |||
| 1882 | ;; are used to underline it. This could occur if the line following | 1882 | ;; are used to underline it. This could occur if the line following |
| 1883 | ;; the underlining is not an index entry and has text within it. | 1883 | ;; the underlining is not an index entry and has text within it. |
| 1884 | (let* ((previous-paragraph-separate paragraph-separate) | 1884 | (let* ((previous-paragraph-separate paragraph-separate) |
| 1885 | (paragraph-separate (concat paragraph-separate "\\|^[=*---.]+")) | 1885 | (paragraph-separate (concat paragraph-separate "\\|^[-=*.]+")) |
| 1886 | (previous-paragraph-start paragraph-start) | 1886 | (previous-paragraph-start paragraph-start) |
| 1887 | (paragraph-start (concat paragraph-start "\\|^[=*---.]+"))) | 1887 | (paragraph-start (concat paragraph-start "\\|^[-=*.]+"))) |
| 1888 | (unwind-protect | 1888 | (unwind-protect |
| 1889 | (fill-paragraph nil) | 1889 | (fill-paragraph nil) |
| 1890 | (setq paragraph-separate previous-paragraph-separate) | 1890 | (setq paragraph-separate previous-paragraph-separate) |