emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#5335: marked as done (23.1; hi-lock-file-pattern


From: Emacs bug Tracking System
Subject: [Emacs-bug-tracker] bug#5335: marked as done (23.1; hi-lock-file-patterns-policy argument)
Date: Mon, 11 Jan 2010 03:34:01 +0000

Your message dated Sun, 10 Jan 2010 22:33:27 -0500
with message-id <address@hidden>
and subject line Re: bug#5335: 23.1; hi-lock-file-patterns-policy argument
has caused the Emacs bug report #5335,
regarding 23.1; hi-lock-file-patterns-policy argument
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
5335: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5335
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.1; hi-lock-file-patterns-policy argument Date: Thu, 07 Jan 2010 22:01:41 +0100
According to the emacs manual, if the variable hi-lock-file-patterns-policy
is set to t, Hi-Lock mode should automatically extract and highlight
patterns found in a file when it is visited. This does not work.

Starting with emacs -Q, I execute in the *scratch* buffer 

(setq hi-lock-file-patterns-policy t)

and open some file containing the two lines

;; -*- mode: hi-lock -*-
;; Hi-lock: (("mode" . 'hi-blue-b))

The pattern is not highlighted. If I execute instead,

(setq hi-lock-file-patterns-policy (lambda (pattern) t))

then it works as expected. The word "mode" is highlighted.
The bug also exists in emacs 22.

In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2)
 of 2009-11-02 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var/lib' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
 '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g 
-O2' 'LDFLAGS=-g' 'CPPFLAGS=''




--- End Message ---
--- Begin Message --- Subject: Re: bug#5335: 23.1; hi-lock-file-patterns-policy argument Date: Sun, 10 Jan 2010 22:33:27 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Thanks, I corrected the manual.


--- End Message ---

reply via email to

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