diff options
| author | Eli Zaretskii | 2006-03-18 14:11:55 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-03-18 14:11:55 +0000 |
| commit | b857cb5c8ea5fdc163fe9bcd2cb2e1c7fd398bed (patch) | |
| tree | a16b08fce3169f039b572d9868a3cf447b335da3 | |
| parent | 50f9edc2022a2441f9d63e45469cf4393c17d3e4 (diff) | |
| download | emacs-b857cb5c8ea5fdc163fe9bcd2cb2e1c7fd398bed.tar.gz emacs-b857cb5c8ea5fdc163fe9bcd2cb2e1c7fd398bed.zip | |
(ispell-skip-region-alist): Add "_+" to the part that matches email addresses,
file names, etc.
| -rw-r--r-- | lisp/textmodes/ispell.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 1991a73e8e2..64314c772b2 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1325,9 +1325,10 @@ The last occurring definition in the buffer will be used.") | |||
| 1325 | ("^%!PS-Adobe-[123].0" . "\n%%EOF\n") | 1325 | ("^%!PS-Adobe-[123].0" . "\n%%EOF\n") |
| 1326 | ("^---* \\(Start of \\)?[Ff]orwarded [Mm]essage" | 1326 | ("^---* \\(Start of \\)?[Ff]orwarded [Mm]essage" |
| 1327 | . "^---* End of [Ff]orwarded [Mm]essage") | 1327 | . "^---* End of [Ff]orwarded [Mm]essage") |
| 1328 | ;; Matches e-mail addresses, file names, http addresses, etc. The `-+' | 1328 | ;; Matches e-mail addresses, file names, http addresses, etc. The |
| 1329 | ;; pattern necessary for performance reasons when `-' part of word syntax. | 1329 | ;; `-+' `_+' patterns are necessary for performance reasons when |
| 1330 | ("\\(--+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)") | 1330 | ;; `-' or `_' part of word syntax. |
| 1331 | ("\\(--+\\|_+\\|\\(/\\w\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)") | ||
| 1331 | ;; above checks /.\w sequences | 1332 | ;; above checks /.\w sequences |
| 1332 | ;;("\\(--+\\|\\(/\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)") | 1333 | ;;("\\(--+\\|\\(/\\|\\(\\(\\w\\|[-_]\\)+[.:@]\\)\\)\\(\\w\\|[-_]\\)*\\([.:/@]+\\(\\w\\|[-_~=?&]\\)+\\)+\\)") |
| 1333 | ;; This is a pretty complex regexp. It can be simplified to the following: | 1334 | ;; This is a pretty complex regexp. It can be simplified to the following: |