aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-06-16 20:52:24 -0400
committerStefan Monnier2013-06-16 20:52:24 -0400
commitdb3b7db5474db3fe313e7dd1b9084b70cbf8509a (patch)
tree8a2292428fd7a1d958cb237423d11cecdca5a36f
parent7545bd25758f079680a7bb8559d50e32b3034c12 (diff)
downloademacs-db3b7db5474db3fe313e7dd1b9084b70cbf8509a.tar.gz
emacs-db3b7db5474db3fe313e7dd1b9084b70cbf8509a.zip
* lisp/international/characters.el (standard-case-table): Set syntax of ?»
and ?« to punctuation.
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/characters.el8
3 files changed, 15 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d2554f719f0..d92c9cdec1b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -415,6 +415,9 @@ It is layered as:
415 415
416* Incompatible Lisp Changes in Emacs 24.4 416* Incompatible Lisp Changes in Emacs 24.4
417 417
418** The syntax of ?» and ?« is now punctuation instead of matched parens.
419Some languages match those as »...« and others as «...» so better stay neutral.
420
418** The default file coding for Emacs Lisp files is now utf-8. 421** The default file coding for Emacs Lisp files is now utf-8.
419(See file-coding-system-alist.) In most cases, this change is transparent, but 422(See file-coding-system-alist.) In most cases, this change is transparent, but
420files that contain unusual characters without specifying an explicit coding 423files that contain unusual characters without specifying an explicit coding
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4f3cf82e7e0..5d44b897b51 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * international/characters.el (standard-case-table): Set syntax of ?»
4 and ?« to punctuation.
5
12013-06-16 Juanma Barranquero <lekktu@gmail.com> 62013-06-16 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol): 8 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index d973ccf2d7e..9f56b1c8b7d 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -512,7 +512,13 @@ with L, LRE, or LRO Unicode bidi character type.")
512 (set-case-syntax ?¦ "_" tbl) 512 (set-case-syntax ?¦ "_" tbl)
513 (set-case-syntax ?§ "." tbl) 513 (set-case-syntax ?§ "." tbl)
514 (set-case-syntax ?© "_" tbl) 514 (set-case-syntax ?© "_" tbl)
515 (set-case-syntax-delims 171 187 tbl) ; « » 515 ;; French wants
516 ;; (set-case-syntax-delims ?« ?» tbl)
517 ;; And German wants
518 ;; (set-case-syntax-delims ?» ?« tbl)
519 ;; So let's stay neutral and let users set these up if/when they want to.
520 (set-case-syntax ?« "." tbl)
521 (set-case-syntax ?» "." tbl)
516 (set-case-syntax ?¬ "_" tbl) 522 (set-case-syntax ?¬ "_" tbl)
517 (set-case-syntax ?­ "_" tbl) 523 (set-case-syntax ?­ "_" tbl)
518 (set-case-syntax ?® "_" tbl) 524 (set-case-syntax ?® "_" tbl)