diff options
| author | Karl Heuer | 1995-05-29 07:07:40 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-29 07:07:40 +0000 |
| commit | fa25dbbca65832cb4aa7f031858ea5dc72c255b6 (patch) | |
| tree | bb2e060cf5b83a3560eb53f5a8ea05d01e884e55 | |
| parent | c8502397cc6a0e0c4a35451a7994c75e726efe60 (diff) | |
| download | emacs-fa25dbbca65832cb4aa7f031858ea5dc72c255b6.tar.gz emacs-fa25dbbca65832cb4aa7f031858ea5dc72c255b6.zip | |
(mail-extr-all-letters-but-separators): reinstate
\377, the bug in search.c is apparently gone.
(mail-extr-first-letters): add 8-bit characters
(mail-extr-last-letters): ditto
| -rw-r--r-- | lisp/mail/mail-extr.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el index 2f48df7015a..1d5df8e25ea 100644 --- a/lisp/mail/mail-extr.el +++ b/lisp/mail/mail-extr.el | |||
| @@ -279,9 +279,8 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\".") | |||
| 279 | ;; Yes, there are weird people with digits in their names. | 279 | ;; Yes, there are weird people with digits in their names. |
| 280 | ;; You will also notice the consideration for the | 280 | ;; You will also notice the consideration for the |
| 281 | ;; Swedish/Finnish/Norwegian character set. | 281 | ;; Swedish/Finnish/Norwegian character set. |
| 282 | ;; #### (go to \376 instead of \377 to work around bug in search.c...) | ||
| 283 | (defconst mail-extr-all-letters-but-separators | 282 | (defconst mail-extr-all-letters-but-separators |
| 284 | (purecopy "][A-Za-z{|}'~0-9`\200-\376")) | 283 | (purecopy "][A-Za-z{|}'~0-9`\200-\377")) |
| 285 | 284 | ||
| 286 | ;; Any character that can occur in a name in an RFC822 address including | 285 | ;; Any character that can occur in a name in an RFC822 address including |
| 287 | ;; the separator (hyphen and possibly period) for multipart names. | 286 | ;; the separator (hyphen and possibly period) for multipart names. |
| @@ -291,11 +290,11 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\".") | |||
| 291 | 290 | ||
| 292 | ;; Any character that can start a name. | 291 | ;; Any character that can start a name. |
| 293 | ;; Keep this set as minimal as possible. | 292 | ;; Keep this set as minimal as possible. |
| 294 | (defconst mail-extr-first-letters (purecopy "A-Za-z")) | 293 | (defconst mail-extr-first-letters (purecopy "A-Za-z\200-\377")) |
| 295 | 294 | ||
| 296 | ;; Any character that can end a name. | 295 | ;; Any character that can end a name. |
| 297 | ;; Keep this set as minimal as possible. | 296 | ;; Keep this set as minimal as possible. |
| 298 | (defconst mail-extr-last-letters (purecopy "[A-Za-z`'.")) | 297 | (defconst mail-extr-last-letters (purecopy "A-Za-z\200-\377`'.")) |
| 299 | 298 | ||
| 300 | (defconst mail-extr-leading-garbage | 299 | (defconst mail-extr-leading-garbage |
| 301 | (purecopy (format "[^%s]+" mail-extr-first-letters))) | 300 | (purecopy (format "[^%s]+" mail-extr-first-letters))) |