From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Justin Heyes-Jones Newsgroups: gmane.emacs.bugs Subject: bug#12168: Subject: 24.1; highlight-regexp not working in v24 Date: Thu, 9 Aug 2012 15:43:41 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae93403478c2b6404c6dcf55a X-Trace: dough.gmane.org 1344552420 1952 80.91.229.3 (9 Aug 2012 22:47:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2012 22:47:00 +0000 (UTC) To: 12168@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 00:47:00 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SzbVK-0004J2-M6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2012 00:46:59 +0200 Original-Received: from localhost ([::1]:43950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzbVJ-0007Ew-SA for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Aug 2012 18:46:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzbVF-0007Ef-8S for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 18:46:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzbVD-0000tt-Km for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 18:46:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzbVD-0000tk-Gw for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 18:46:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Szbd8-0008Q0-Ti for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 18:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Justin Heyes-Jones Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Aug 2012 22:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134455288832336 (code B ref -1); Thu, 09 Aug 2012 22:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Aug 2012 22:54:48 +0000 Original-Received: from localhost ([127.0.0.1]:45488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Szbct-0008PT-Vs for submit@debbugs.gnu.org; Thu, 09 Aug 2012 18:54:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39072) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SzbaC-0008LS-HC for submit@debbugs.gnu.org; Thu, 09 Aug 2012 18:52:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzbSE-00080g-R4 for submit@debbugs.gnu.org; Thu, 09 Aug 2012 18:43:48 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:53512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzbSE-00080b-MO for submit@debbugs.gnu.org; Thu, 09 Aug 2012 18:43:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzbSD-0006wa-0s for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 18:43:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzbSB-0007zh-0c for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 18:43:44 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:61368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzbSA-0007zW-RU for bug-gnu-emacs@gnu.org; Thu, 09 Aug 2012 18:43:42 -0400 Original-Received: by yhr47 with SMTP id 47so1157475yhr.0 for ; Thu, 09 Aug 2012 15:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OIhMwaCPI31C2pYNAnZkjDagicjnc9EMvtP7GEaAZm0=; b=k5w4rKnngL2OvdcKX8vHzwBlfVnGDamXciIz+Q2MDEKTzNgo9HBSTsT4cWlSrxazU+ OO7cSIN7oUm4j7ECU+TndqOCHRNhLaoxMXdKhj5u0tmiE0aFxjFvWXcwUqhWeNjVkmFd Ao1fVDHFLiPBg7iGbpO5hN+ASUlXd/cjIw0xOjXnfLf+fHzHQiDLUbaUYcZqoOrkEoku C36Y7BIdKDiOQ/hzJD1iGwEwWfayYpVluVQ6lKqt8o45oHahTOT1prbMBPwKx1SpZ6VR p+4liwIaD0LAwb1+pmoBHheLpyITD8/AwMHzFH0cbtq8kdHqiX3f21ZI18wClisRHSBQ IyMg== Original-Received: by 10.50.179.99 with SMTP id df3mr35440igc.73.1344552221551; Thu, 09 Aug 2012 15:43:41 -0700 (PDT) Original-Received: by 10.64.67.132 with HTTP; Thu, 9 Aug 2012 15:43:41 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 09 Aug 2012 18:54:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62983 Archived-At: --14dae93403478c2b6404c6dcf55a Content-Type: text/plain; charset=ISO-8859-1 Hi I noticed that I get different behavior with highlight-regexp in emacs 24.1.1 than in 23. Loading the file below, the text that is in the file when it loads will be highlighted in the correct color, but typing new text will not highlight. In the previous version the highlighting would update dynamically as you type. This is the windows version running under exactly the same environment. If I switch back to 23 it's fine. FILE START A test of colour syntax highlighting When I type yellow it should go yellow, and green goes green // This enables custom syntax highlighting // Local Variables: // eval: (progn (highlight-regexp "yellow" 'hi-yellow) (highlight-regexp "red" 'hi-red-b) (highlight-regexp "green" 'hi-green) (highlight-regexp "blue" 'hi-blue-b)) // end: FILE END If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/emacs-24.1/etc/DEBUG. In GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENC value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Text Minor modes in effect: hi-lock-mode: t yas/global-mode: t yas/minor-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: 1 font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f D r o p b e s t t e s t / t . . t x t x t y y e l l o w SPC g r e e n SPC C-a C-SPC M-w M-x r e p o r t - e m Recent messages: Loading c:/justinhj/Dropbox/localemacs/color-theme-6.6.0/themes/color-theme-library.el (source)...done Loading c:/justinhj/Dropbox/localemacs/.emacs...done [yas] Loading for `emacs-lisp-mode', just-in-time: (yas/load-directory-1 c:/justinhj/Dropbox/localemacs/yasnippet/snippets/emacs-lisp-mode (quote emacs-lisp-mode) (quote (text-mode)))! [yas] Loading compiled snippets from c:/justinhj/Dropbox/localemacs/yasnippet/snippets/emacs-lisp-mode [yas] Loading for `text-mode', just-in-time: (yas/load-directory-1 c:/justinhj/Dropbox/localemacs/yasnippet/snippets/text-mode (quote text-mode) (quote nil))! [yas] Loading compiled snippets from c:/justinhj/Dropbox/localemacs/yasnippet/snippets/text-mode For information about GNU Emacs and the GNU system, type C-h C-a. Please type y, n, or !: y byte-code: Beginning of buffer Mark set Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader hi-lock clojure-mode-autoloads eredis-autoloads htmlize-autoloads slime-repl-autoloads slime-autoloads server webjump browse-url justins-utils date-util timezone windmove color-theme-solarized lively yasnippet dropdown-list derived advice advice-preload easy-mmode help-mode view ace-jump-mode help-fns package tabulated-list color-theme edmacro kmacro wid-edit cl sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils reporter easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) --14dae93403478c2b6404c6dcf55a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

I noticed that I get different behavior wi= th highlight-regexp in emacs
24.1.1 than in 23. Loading the file = below, the text that is in the file
when it loads will be highlig= hted in the correct color, but typing new
text will not highlight. In the previous version the highlighting woul= d
update dynamically as you type.

This i= s the windows version running under exactly the same
environment.= If I switch back to 23 it's fine.

FILE START

A test of colour sy= ntax highlighting

When I type yellow it should go = yellow, and green goes green

// This enables custo= m syntax highlighting=A0
// Local Variables:
// eval: (progn (highlight-regexp "= yellow" 'hi-yellow) (highlight-regexp "red" 'hi-red-= b) (highlight-regexp "green" 'hi-green) (highlight-regexp &qu= ot;blue" 'hi-blue-b))
// end:

FILE END

If Emacs crashed, and you have the Emacs process in the gdb deb= ugger,
please include the output from the following gdb commands:=
=A0 =A0 `bt full' and `xbacktrace'.
For information = about debugging Emacs, please read the file
c:/emacs-24.1/etc/DEB= UG.


In GNU Emacs 24.1.1 (i386-mingw= -nt6.1.7601)
=A0of 2012-06-10 on MARVIN
Windowing system distributor `Mic= rosoft Corp.', version 6.1.7601
Configured using:
= =A0`configure --with-gcc (4.6) --cflags
=A0-ID:/devel/emacs/libs/= libXpm-3.5.8/include
=A0-ID:/devel/emacs/libs/libXpm-3.5.8/src
=A0-ID:/devel/emac= s/libs/libpng-dev_1.4.3-1/include
=A0-ID:/devel/emacs/libs/zlib-d= ev_1.2.5-2/include
=A0-ID:/devel/emacs/libs/giflib-4.1.4-1/includ= e
=A0-ID:/devel/emacs/libs/jpeg-6b-4/include
=A0-ID:/devel/ema= cs/libs/tiff-3.8.2-1/include
=A0-ID:/devel/emacs/libs/gnutls-3.0.= 9/include'

Important settings:
=A0 v= alue of $LC_ALL: nil
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
=A0 value of $LC_MONETARY:= nil
=A0 value of $LC_NUMERIC: nil
=A0 value of $LC_TIM= E: nil
=A0 value of $LANG: ENC
=A0 value of $XMODIFIERS: nil
<= div>=A0 locale-coding-system: cp1252
=A0 default enable-multibyte= -characters: t

Major mode: Text

Minor modes in effect:
=A0 hi-lock-mode: t
=A0 yas/glob= al-mode: t
=A0 yas/minor-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: 1
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0= auto-composition-mode: t
=A0 auto-encryption-mode: t
= =A0 auto-compression-mode: t
=A0 line-number-mode: t
= =A0 transient-mark-mode: t

Recent input:
C-x C-f D r o p b <tab> e= s t <backspace> <backspace>=A0
<backspace> t e= s t / t <backspace> <backspace> . .=A0
t x <backs= pace> <backspace> <backspace> t x t <return>=A0
y <down> <down> <down> <down> y e l l o w SPC = g r e=A0
e n SPC C-a <up> <up> <up> <up> = <up> C-SPC <down> <down>=A0
<down> <do= wn> <down> <down> <down> <down> <down> <= ;down>=A0
M-w <down-mouse-1> <mouse-1> M-x r e p o r t - e m=A0
<tab> <return>

Recent messages:<= /div>
Loading c:/justinhj/Dropbox/localemacs/color-theme-6.6.0/themes/c= olor-theme-library.el (source)...done
Loading c:/justinhj/Dropbox/localemacs/.emacs...done
[yas] L= oading for `emacs-lisp-mode', just-in-time: (yas/load-directory-1 c:/ju= stinhj/Dropbox/localemacs/yasnippet/snippets/emacs-lisp-mode (quote emacs-l= isp-mode) (quote (text-mode)))!
[yas] Loading compiled snippets from c:/justinhj/Dropbox/localemacs/ya= snippet/snippets/emacs-lisp-mode
[yas] Loading for `text-mode'= ;, just-in-time: (yas/load-directory-1 c:/justinhj/Dropbox/localemacs/yasni= ppet/snippets/text-mode (quote text-mode) (quote nil))!
[yas] Loading compiled snippets from c:/justinhj/Dropbox/localemacs/ya= snippet/snippets/text-mode
For information about GNU Emacs and th= e GNU system, type C-h C-a.
Please type y, n, or !: y
byte-code: Beginning of buffer
Mark set

= Load-path shadows:
None found.

Features:=
(shadow sort gnus-util mail-extr emacsbug message format-spec rf= c822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader hi-lock clojure-mode-autoloads eredis-autoload= s
htmlize-autoloads slime-repl-autoloads slime-autoloads server w= ebjump
browse-url justins-utils date-util timezone windmove
color-t= heme-solarized lively yasnippet dropdown-list derived advice
advi= ce-preload easy-mmode help-mode view ace-jump-mode help-fns package
tabulated-list color-theme edmacro kmacro wid-edit cl sendmail
regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
reporter easymenu time-date tooltip ediff-hook vc-hooks lisp-float-ty= pe
mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontse= t
image fringe lisp-mode register page menu-bar rfn-eshadow timer= select
scroll-bar mouse jit-lock font-lock syntax facemenu font-= core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic=
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help s= imple
abbrev minibuffer loaddefs button faces cus-face files text-properties=
overlay sha1 md5 base64 format env code-pages mule custom widget=
hashtable-print-readable backquote make-network-process multi-tt= y emacs)

--14dae93403478c2b6404c6dcf55a--