emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113010: * lisp/international/cha racters.el (standa


From: Stefan Monnier
Subject: [Emacs-diffs] trunk r113010: * lisp/international/cha racters.el (standard-case-table): Set syntax of ? »
Date: Mon, 17 Jun 2013 00:52:31 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113010
revision-id: address@hidden
parent: address@hidden
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Sun 2013-06-16 20:52:24 -0400
message:
  * lisp/international/characters.el (standard-case-table): Set syntax of ?»
  and ?« to punctuation.
modified:
  etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/international/characters.el 
characters.el-20091113204419-o5vbwnq5f7feedwu-1037
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2013-06-16 01:16:41 +0000
+++ b/etc/NEWS  2013-06-17 00:52:24 +0000
@@ -415,6 +415,9 @@
 
 * Incompatible Lisp Changes in Emacs 24.4
 
+** The syntax of ?» and ?« is now punctuation instead of matched parens.
+Some languages match those as »...« and others as «...» so better stay neutral.
+
 ** The default file coding for Emacs Lisp files is now utf-8.
 (See file-coding-system-alist.)  In most cases, this change is transparent, but
 files that contain unusual characters without specifying an explicit coding

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-06-16 01:26:42 +0000
+++ b/lisp/ChangeLog    2013-06-17 00:52:24 +0000
@@ -1,3 +1,8 @@
+2013-06-17  Stefan Monnier  <address@hidden>
+
+       * international/characters.el (standard-case-table): Set syntax of ?»
+       and ?« to punctuation.
+
 2013-06-16  Juanma Barranquero  <address@hidden>
 
        * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):

=== modified file 'lisp/international/characters.el'
--- a/lisp/international/characters.el  2013-03-11 17:45:23 +0000
+++ b/lisp/international/characters.el  2013-06-17 00:52:24 +0000
@@ -512,7 +512,13 @@
   (set-case-syntax ?¦ "_" tbl)
   (set-case-syntax ?§ "." tbl)
   (set-case-syntax ?© "_" tbl)
-  (set-case-syntax-delims 171 187 tbl) ; « »
+  ;; French wants
+  ;;   (set-case-syntax-delims ?« ?» tbl)
+  ;; And German wants
+  ;;   (set-case-syntax-delims ?» ?« tbl)
+  ;; So let's stay neutral and let users set these up if/when they want to.
+  (set-case-syntax ?« "." tbl)
+  (set-case-syntax ?» "." tbl)
   (set-case-syntax ?¬ "_" tbl)
   (set-case-syntax ?­ "_" tbl)
   (set-case-syntax ?® "_" tbl)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]