emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r114679: * ansi-color.el (ansi-color-drop-regexp): A


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114679: * ansi-color.el (ansi-color-drop-regexp): Add 1J, 1K, 2K.
Date: Wed, 16 Oct 2013 01:38:16 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114679
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15617
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2013-10-15 18:38:12 -0700
message:
  * ansi-color.el (ansi-color-drop-regexp): Add 1J, 1K, 2K.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/ansi-color.el             
ansicolor.el-20091113204419-o5vbwnq5f7feedwu-1328
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-10-16 01:33:16 +0000
+++ b/lisp/ChangeLog    2013-10-16 01:38:12 +0000
@@ -1,5 +1,8 @@
 2013-10-16  Glenn Morris  <address@hidden>
 
+       * ansi-color.el (ansi-color-drop-regexp):
+       Add 1J, 1K, 2K.  (Bug#15617)
+
        * files.el (hack-local-variables--warned-lexical): New.
        (hack-local-variables):
        Warn about misplaced lexical-binding.  (Bug#15616)

=== modified file 'lisp/ansi-color.el'
--- a/lisp/ansi-color.el        2013-07-24 03:49:24 +0000
+++ b/lisp/ansi-color.el        2013-10-16 01:38:12 +0000
@@ -153,7 +153,7 @@
   "Regexp that matches SGR control sequences.")
 
 (defconst ansi-color-drop-regexp
-  "\033\\[\\([ABCDsuK]\\|2J\\|=[0-9]+[hI]\\|[0-9;]*[Hf]\\)"
+  "\033\\[\\([ABCDsuK]\\|[12][JK]\\|=[0-9]+[hI]\\|[0-9;]*[Hf]\\)"
   "Regexp that matches ANSI control sequences to silently drop.")
 
 (defconst ansi-color-parameter-regexp "\\([0-9]*\\)[m;]"


reply via email to

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