emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115463: * lisp/emacs-lisp/smie.el (smie-indent--han


From: Stefan Monnier
Subject: [Emacs-diffs] trunk r115463: * lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
Date: Wed, 11 Dec 2013 15:59:32 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115463
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16041
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2013-12-11 10:59:27 -0500
message:
  * lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
  comment-start-skip, since it fails when that uses submatch 1.
modified:
  etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/emacs-lisp/smie.el        smie.el-20100517192034-xap3ihmey43772vj-1
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2013-12-11 14:42:34 +0000
+++ b/etc/NEWS  2013-12-11 15:59:27 +0000
@@ -247,6 +247,13 @@
 
 * Changes in Specialized Modes and Packages in Emacs 24.4
 
+** CUA-mode
+CUA-mode was changed to make use of delete-selection-mode and
+shift-select-mode.  So you can now enable it independently from
+transient-mark-mode, delete-selection-mode, and shift-select-mode.
+As a result, cua-highlight-region-shift-only is obsolete
+(you can disable transient-mark-mode to get the same result).
+
 ** `delete-selection-mode' can be used without transient-mark-mode.
 
 ** prolog-use-smie has been removed, along with the non-SMIE indentation code.

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-12-11 14:49:01 +0000
+++ b/lisp/ChangeLog    2013-12-11 15:59:27 +0000
@@ -1,5 +1,8 @@
 2013-12-11  Stefan Monnier  <address@hidden>
 
+       * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
+       comment-start-skip, since it fails when that uses submatch 1 
(bug#16041).
+
        * emulation/cua-base.el (cua-paste): Add `delete-selection' property
        instead of deleting the selection "by hand" (bug#16098).
        Rely on insert-for-yank to yank rectangles.

=== modified file 'lisp/emacs-lisp/smie.el'
--- a/lisp/emacs-lisp/smie.el   2013-11-04 20:45:36 +0000
+++ b/lisp/emacs-lisp/smie.el   2013-12-11 15:59:27 +0000
@@ -1165,7 +1165,7 @@
                    (forward-char 1))
                (skip-chars-forward " \t")
                (or (eolp)
-                   (and (looking-at comment-start-skip)
+                   (and ;; (looking-at comment-start-skip) ;(bug#16041).
                         (forward-comment (point-max))))
                (point))))))
 


reply via email to

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