diff options
| author | Stefan Monnier | 2005-04-10 20:49:54 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-04-10 20:49:54 +0000 |
| commit | 35f257bb579d7f793d3072fbc2b9fbc04b1a0867 (patch) | |
| tree | da2be883db759703dd3799240735973a48b25889 | |
| parent | a172852f2bf3eabd244f380cd5b12b871284a0f7 (diff) | |
| download | emacs-35f257bb579d7f793d3072fbc2b9fbc04b1a0867.tar.gz emacs-35f257bb579d7f793d3072fbc2b9fbc04b1a0867.zip | |
Give punctuation syntax to NBSP.
| -rw-r--r-- | lisp/ChangeLog | 15 | ||||
| -rw-r--r-- | lisp/international/latin-1.el | 18 | ||||
| -rw-r--r-- | lisp/international/latin-2.el | 18 | ||||
| -rw-r--r-- | lisp/international/latin-3.el | 18 | ||||
| -rw-r--r-- | lisp/international/latin-4.el | 18 | ||||
| -rw-r--r-- | lisp/international/latin-5.el | 18 | ||||
| -rw-r--r-- | lisp/international/latin-8.el | 17 | ||||
| -rw-r--r-- | lisp/international/latin-9.el | 18 |
8 files changed, 85 insertions, 55 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3ab0e9f1b51..d38b0ce8e49 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2005-04-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * international/latin-1.el: | ||
| 4 | * international/latin-2.el: | ||
| 5 | * international/latin-3.el: | ||
| 6 | * international/latin-4.el: | ||
| 7 | * international/latin-5.el: | ||
| 8 | * international/latin-8.el: | ||
| 9 | * international/latin-9.el: Give punctuation syntax to NBSP. | ||
| 10 | |||
| 11 | * textmodes/bibtex.el (bibtex-autokey-titleword-ignore) | ||
| 12 | (bibtex-reference-key, bibtex-autokey-demangle-name, bibtex-mode): | ||
| 13 | Use char-classes to accept non-ascii letters, accepted in some recent | ||
| 14 | bibtex implementations. | ||
| 15 | |||
| 1 | 2005-04-10 Luc Teirlinck <teirllm@auburn.edu> | 16 | 2005-04-10 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 17 | ||
| 3 | * custom.el (custom-set-minor-mode): Any non-nil value for the | 18 | * custom.el (custom-set-minor-mode): Any non-nil value for the |
diff --git a/lisp/international/latin-1.el b/lisp/international/latin-1.el index 610ed1cb9f1..454e4eab1ce 100644 --- a/lisp/international/latin-1.el +++ b/lisp/international/latin-1.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; latin-1.el --- set up case-conversion and syntax tables for ISO Latin-1 | 1 | ;;; latin-1.el --- set up case-conversion and syntax tables for ISO Latin-1 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1988,1997 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1997, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Howard Gayle | 5 | ;; Author: Howard Gayle |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -40,7 +40,9 @@ | |||
| 40 | (if set-case-syntax-set-multibyte | 40 | (if set-case-syntax-set-multibyte |
| 41 | (- (make-char 'latin-iso8859-1) 128) | 41 | (- (make-char 'latin-iso8859-1) 128) |
| 42 | 0))) | 42 | 0))) |
| 43 | (set-case-syntax 160 " " tbl) ;no-break space | 43 | ;; NBSP isn't semantically interchangeable with other whitespace chars, |
| 44 | ;; so it's more like punctation. | ||
| 45 | (set-case-syntax 160 "." tbl) ;no-break space | ||
| 44 | (set-case-syntax 161 "." tbl) ;inverted exclamation mark | 46 | (set-case-syntax 161 "." tbl) ;inverted exclamation mark |
| 45 | (set-case-syntax 162 "w" tbl) ;cent sign | 47 | (set-case-syntax 162 "w" tbl) ;cent sign |
| 46 | (set-case-syntax 163 "w" tbl) ;pound sign | 48 | (set-case-syntax 163 "w" tbl) ;pound sign |
| @@ -114,11 +116,11 @@ | |||
| 114 | (or set-case-syntax-set-multibyte | 116 | (or set-case-syntax-set-multibyte |
| 115 | (provide 'latin-1)) | 117 | (provide 'latin-1)) |
| 116 | 118 | ||
| 117 | ;;; Don't compile this file: src/Makefile.in instructs make-docfile | 119 | ;; Don't compile this file: src/Makefile.in instructs make-docfile |
| 118 | ;;; to look at the .el file! | 120 | ;; to look at the .el file! |
| 119 | ;;; Local Variables: | 121 | ;; Local Variables: |
| 120 | ;;; no-byte-compile: t | 122 | ;; no-byte-compile: t |
| 121 | ;;; End: | 123 | ;; End: |
| 122 | 124 | ||
| 123 | ;;; arch-tag: c2ee6895-edc3-40b2-9518-8c09f1d56c54 | 125 | ;; arch-tag: c2ee6895-edc3-40b2-9518-8c09f1d56c54 |
| 124 | ;;; latin-1.el ends here | 126 | ;;; latin-1.el ends here |
diff --git a/lisp/international/latin-2.el b/lisp/international/latin-2.el index bc7fbe84274..704145f5e58 100644 --- a/lisp/international/latin-2.el +++ b/lisp/international/latin-2.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; latin-2.el --- set up case-conversion and syntax tables for ISO Latin-2 | 1 | ;;; latin-2.el --- set up case-conversion and syntax tables for ISO Latin-2 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995,1997 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1995, 1997, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Gschwind (mike@vlsivie.tuwien.ac.at) | 5 | ;; Author: Michael Gschwind (mike@vlsivie.tuwien.ac.at) |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -38,7 +38,9 @@ | |||
| 38 | (if set-case-syntax-set-multibyte | 38 | (if set-case-syntax-set-multibyte |
| 39 | (- (make-char 'latin-iso8859-2) 128) | 39 | (- (make-char 'latin-iso8859-2) 128) |
| 40 | 0))) | 40 | 0))) |
| 41 | (set-case-syntax 160 " " tbl) ;no-break space | 41 | ;; NBSP isn't semantically interchangeable with other whitespace chars, |
| 42 | ;; so it's more like punctation. | ||
| 43 | (set-case-syntax 160 "." tbl) ;no-break space | ||
| 42 | (set-case-syntax-pair 161 177 tbl) ;latin letter a with ogonek | 44 | (set-case-syntax-pair 161 177 tbl) ;latin letter a with ogonek |
| 43 | (set-case-syntax 162 "w" tbl) ;breve | 45 | (set-case-syntax 162 "w" tbl) ;breve |
| 44 | (set-case-syntax-pair 163 179 tbl) ;latin letter l with stroke | 46 | (set-case-syntax-pair 163 179 tbl) ;latin letter l with stroke |
| @@ -100,11 +102,11 @@ | |||
| 100 | (or set-case-syntax-set-multibyte | 102 | (or set-case-syntax-set-multibyte |
| 101 | (provide 'latin-2)) | 103 | (provide 'latin-2)) |
| 102 | 104 | ||
| 103 | ;;; Don't compile this file: src/Makefile.in instructs make-docfile | 105 | ;; Don't compile this file: src/Makefile.in instructs make-docfile |
| 104 | ;;; to look at the .el file! | 106 | ;; to look at the .el file! |
| 105 | ;;; Local Variables: | 107 | ;; Local Variables: |
| 106 | ;;; no-byte-compile: t | 108 | ;; no-byte-compile: t |
| 107 | ;;; End: | 109 | ;; End: |
| 108 | 110 | ||
| 109 | ;;; arch-tag: 2b9f9c30-1a63-4877-8a80-e95a5e4c57c9 | 111 | ;; arch-tag: 2b9f9c30-1a63-4877-8a80-e95a5e4c57c9 |
| 110 | ;;; latin-2.el ends here | 112 | ;;; latin-2.el ends here |
diff --git a/lisp/international/latin-3.el b/lisp/international/latin-3.el index 99debf3983d..b87336b9c72 100644 --- a/lisp/international/latin-3.el +++ b/lisp/international/latin-3.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; latin-3.el --- set up case-conversion and syntax tables for ISO Latin-3 | 1 | ;;; latin-3.el --- set up case-conversion and syntax tables for ISO Latin-3 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1988,1997 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1997, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Marko Rahamaa | 5 | ;; Author: Marko Rahamaa |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -37,7 +37,9 @@ | |||
| 37 | (if set-case-syntax-set-multibyte | 37 | (if set-case-syntax-set-multibyte |
| 38 | (- (make-char 'latin-iso8859-3) 128) | 38 | (- (make-char 'latin-iso8859-3) 128) |
| 39 | 0))) | 39 | 0))) |
| 40 | (set-case-syntax 160 " " tbl) ;no-break space | 40 | ;; NBSP isn't semantically interchangeable with other whitespace chars, |
| 41 | ;; so it's more like punctation. | ||
| 42 | (set-case-syntax 160 "." tbl) ;no-break space | ||
| 41 | (set-case-syntax-pair 161 177 tbl) ;latin letter h with stroke | 43 | (set-case-syntax-pair 161 177 tbl) ;latin letter h with stroke |
| 42 | (set-case-syntax 162 "w" tbl) ;breve | 44 | (set-case-syntax 162 "w" tbl) ;breve |
| 43 | (set-case-syntax 163 "w" tbl) ;pound sign | 45 | (set-case-syntax 163 "w" tbl) ;pound sign |
| @@ -98,11 +100,11 @@ | |||
| 98 | (or set-case-syntax-set-multibyte | 100 | (or set-case-syntax-set-multibyte |
| 99 | (provide 'latin-3)) | 101 | (provide 'latin-3)) |
| 100 | 102 | ||
| 101 | ;;; Don't compile this file: src/Makefile.in instructs make-docfile | 103 | ;; Don't compile this file: src/Makefile.in instructs make-docfile |
| 102 | ;;; to look at the .el file! | 104 | ;; to look at the .el file! |
| 103 | ;;; Local Variables: | 105 | ;; Local Variables: |
| 104 | ;;; no-byte-compile: t | 106 | ;; no-byte-compile: t |
| 105 | ;;; End: | 107 | ;; End: |
| 106 | 108 | ||
| 107 | ;;; arch-tag: 64d9d46d-fe0b-4a8e-9c28-ba7e20bbc552 | 109 | ;; arch-tag: 64d9d46d-fe0b-4a8e-9c28-ba7e20bbc552 |
| 108 | ;;; latin-3.el ends here | 110 | ;;; latin-3.el ends here |
diff --git a/lisp/international/latin-4.el b/lisp/international/latin-4.el index 7fa901dba0b..a6aeae736eb 100644 --- a/lisp/international/latin-4.el +++ b/lisp/international/latin-4.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; latin-4.el --- set up case-conversion and syntax tables for ISO Latin-4 | 1 | ;;; latin-4.el --- set up case-conversion and syntax tables for ISO Latin-4 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Erik Naggum | 5 | ;; Author: Erik Naggum |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -36,7 +36,9 @@ | |||
| 36 | (if set-case-syntax-set-multibyte | 36 | (if set-case-syntax-set-multibyte |
| 37 | (- (make-char 'latin-iso8859-4) 128) | 37 | (- (make-char 'latin-iso8859-4) 128) |
| 38 | 0))) | 38 | 0))) |
| 39 | (set-case-syntax 160 " " tbl) ;no-break space | 39 | ;; NBSP isn't semantically interchangeable with other whitespace chars, |
| 40 | ;; so it's more like punctation. | ||
| 41 | (set-case-syntax 160 "." tbl) ;no-break space | ||
| 40 | (set-case-syntax-pair 161 177 tbl) ;latin letter a with ogonek | 42 | (set-case-syntax-pair 161 177 tbl) ;latin letter a with ogonek |
| 41 | (set-case-syntax 162 "w" tbl) ;latin letter kra | 43 | (set-case-syntax 162 "w" tbl) ;latin letter kra |
| 42 | (set-case-syntax-pair 163 179 tbl) ;latin letter r with cedilla | 44 | (set-case-syntax-pair 163 179 tbl) ;latin letter r with cedilla |
| @@ -98,11 +100,11 @@ | |||
| 98 | (or set-case-syntax-set-multibyte | 100 | (or set-case-syntax-set-multibyte |
| 99 | (provide 'latin-4)) | 101 | (provide 'latin-4)) |
| 100 | 102 | ||
| 101 | ;;; Don't compile this file: src/Makefile.in instructs make-docfile | 103 | ;; Don't compile this file: src/Makefile.in instructs make-docfile |
| 102 | ;;; to look at the .el file! | 104 | ;; to look at the .el file! |
| 103 | ;;; Local Variables: | 105 | ;; Local Variables: |
| 104 | ;;; no-byte-compile: t | 106 | ;; no-byte-compile: t |
| 105 | ;;; End: | 107 | ;; End: |
| 106 | 108 | ||
| 107 | ;;; arch-tag: c6b2558b-1943-4626-beb5-139630c8e352 | 109 | ;; arch-tag: c6b2558b-1943-4626-beb5-139630c8e352 |
| 108 | ;;; latin-4.el ends here | 110 | ;;; latin-4.el ends here |
diff --git a/lisp/international/latin-5.el b/lisp/international/latin-5.el index 5d96c1132a7..cc971ecbb86 100644 --- a/lisp/international/latin-5.el +++ b/lisp/international/latin-5.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; latin-5.el --- set up case-conversion and syntax tables for ISO latin-5 | 1 | ;;; latin-5.el --- set up case-conversion and syntax tables for ISO latin-5 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Erik Naggum | 5 | ;; Author: Erik Naggum |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -36,7 +36,9 @@ | |||
| 36 | (if set-case-syntax-set-multibyte | 36 | (if set-case-syntax-set-multibyte |
| 37 | (- (make-char 'latin-iso8859-9) 128) | 37 | (- (make-char 'latin-iso8859-9) 128) |
| 38 | 0))) | 38 | 0))) |
| 39 | (set-case-syntax 160 " " tbl) ;no-break space | 39 | ;; NBSP isn't semantically interchangeable with other whitespace chars, |
| 40 | ;; so it's more like punctation. | ||
| 41 | (set-case-syntax 160 "." tbl) ;no-break space | ||
| 40 | (set-case-syntax 161 "." tbl) ;inverted exclamation mark | 42 | (set-case-syntax 161 "." tbl) ;inverted exclamation mark |
| 41 | (set-case-syntax 162 "w" tbl) ;cent sign | 43 | (set-case-syntax 162 "w" tbl) ;cent sign |
| 42 | (set-case-syntax 163 "w" tbl) ;pound sign | 44 | (set-case-syntax 163 "w" tbl) ;pound sign |
| @@ -111,11 +113,11 @@ | |||
| 111 | (or set-case-syntax-set-multibyte | 113 | (or set-case-syntax-set-multibyte |
| 112 | (provide 'latin-5)) | 114 | (provide 'latin-5)) |
| 113 | 115 | ||
| 114 | ;;; Don't compile this file: src/Makefile.in instructs make-docfile | 116 | ;; Don't compile this file: src/Makefile.in instructs make-docfile |
| 115 | ;;; to look at the .el file! | 117 | ;; to look at the .el file! |
| 116 | ;;; Local Variables: | 118 | ;; Local Variables: |
| 117 | ;;; no-byte-compile: t | 119 | ;; no-byte-compile: t |
| 118 | ;;; End: | 120 | ;; End: |
| 119 | 121 | ||
| 120 | ;;; arch-tag: 7f91a36a-39fb-4b5d-806f-f171abee71ad | 122 | ;; arch-tag: 7f91a36a-39fb-4b5d-806f-f171abee71ad |
| 121 | ;;; latin-5.el ends here | 123 | ;;; latin-5.el ends here |
diff --git a/lisp/international/latin-8.el b/lisp/international/latin-8.el index 91ea40198db..092ea8ab874 100644 --- a/lisp/international/latin-8.el +++ b/lisp/international/latin-8.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; latin-8.el --- set up case-conversion and syntax tables for ISO Latin-8 | 1 | ;;; latin-8.el --- set up case-conversion and syntax tables for ISO Latin-8 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1988,1997, 1999 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1997, 1999, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Dave Love | 5 | ;; Author: Dave Love |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -47,6 +47,9 @@ | |||
| 47 | (if set-case-syntax-set-multibyte | 47 | (if set-case-syntax-set-multibyte |
| 48 | (- (make-char 'latin-iso8859-14) 128) | 48 | (- (make-char 'latin-iso8859-14) 128) |
| 49 | 0))) | 49 | 0))) |
| 50 | ;; NBSP isn't semantically interchangeable with other whitespace chars, | ||
| 51 | ;; so it's more like punctation. | ||
| 52 | (set-case-syntax 160 "." tbl) ;no-break space | ||
| 50 | (set-case-syntax-pair 161 162 tbl) ;latin letter b with dot above * | 53 | (set-case-syntax-pair 161 162 tbl) ;latin letter b with dot above * |
| 51 | (set-case-syntax 163 "w" tbl) ;pound sign | 54 | (set-case-syntax 163 "w" tbl) ;pound sign |
| 52 | (set-case-syntax-pair 164 165 tbl) ;latin letter c with dot above * | 55 | (set-case-syntax-pair 164 165 tbl) ;latin letter c with dot above * |
| @@ -104,11 +107,11 @@ | |||
| 104 | (or set-case-syntax-set-multibyte | 107 | (or set-case-syntax-set-multibyte |
| 105 | (provide 'latin-8)) | 108 | (provide 'latin-8)) |
| 106 | 109 | ||
| 107 | ;;; Don't compile this file: src/Makefile.in instructs make-docfile | 110 | ;; Don't compile this file: src/Makefile.in instructs make-docfile |
| 108 | ;;; to look at the .el file! | 111 | ;; to look at the .el file! |
| 109 | ;;; Local Variables: | 112 | ;; Local Variables: |
| 110 | ;;; no-byte-compile: t | 113 | ;; no-byte-compile: t |
| 111 | ;;; End: | 114 | ;; End: |
| 112 | 115 | ||
| 113 | ;;; arch-tag: a916b4b5-4204-485b-8b57-8ab3a43a2e29 | 116 | ;; arch-tag: a916b4b5-4204-485b-8b57-8ab3a43a2e29 |
| 114 | ;;; latin-8.el ends here | 117 | ;;; latin-8.el ends here |
diff --git a/lisp/international/latin-9.el b/lisp/international/latin-9.el index 1a221f024de..be568c3115c 100644 --- a/lisp/international/latin-9.el +++ b/lisp/international/latin-9.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; latin-9.el --- set up case-conversion and syntax tables for ISO Latin-9 | 1 | ;;; latin-9.el --- set up case-conversion and syntax tables for ISO Latin-9 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1988,1997,1999 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1997, 1999, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Dave Love | 5 | ;; Author: Dave Love |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -50,7 +50,9 @@ | |||
| 50 | (if set-case-syntax-set-multibyte | 50 | (if set-case-syntax-set-multibyte |
| 51 | (- (make-char 'latin-iso8859-15) 128) | 51 | (- (make-char 'latin-iso8859-15) 128) |
| 52 | 0))) | 52 | 0))) |
| 53 | (set-case-syntax 160 " " tbl) ;no-break space | 53 | ;; NBSP isn't semantically interchangeable with other whitespace chars, |
| 54 | ;; so it's more like punctation. | ||
| 55 | (set-case-syntax 160 "." tbl) ;no-break space | ||
| 54 | (set-case-syntax 161 "." tbl) ;inverted exclamation mark | 56 | (set-case-syntax 161 "." tbl) ;inverted exclamation mark |
| 55 | (set-case-syntax 162 "w" tbl) ;cent sign | 57 | (set-case-syntax 162 "w" tbl) ;cent sign |
| 56 | (set-case-syntax 163 "w" tbl) ;pound sign | 58 | (set-case-syntax 163 "w" tbl) ;pound sign |
| @@ -117,11 +119,11 @@ | |||
| 117 | (or set-case-syntax-set-multibyte | 119 | (or set-case-syntax-set-multibyte |
| 118 | (provide 'latin-9)) | 120 | (provide 'latin-9)) |
| 119 | 121 | ||
| 120 | ;;; Don't compile this file: src/Makefile.in instructs make-docfile | 122 | ;; Don't compile this file: src/Makefile.in instructs make-docfile |
| 121 | ;;; to look at the .el file! | 123 | ;; to look at the .el file! |
| 122 | ;;; Local Variables: | 124 | ;; Local Variables: |
| 123 | ;;; no-byte-compile: t | 125 | ;; no-byte-compile: t |
| 124 | ;;; End: | 126 | ;; End: |
| 125 | 127 | ||
| 126 | ;;; arch-tag: 84d442ad-d595-4016-8b84-ea92704fd235 | 128 | ;; arch-tag: 84d442ad-d595-4016-8b84-ea92704fd235 |
| 127 | ;;; latin-9.el ends here | 129 | ;;; latin-9.el ends here |