From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bug-gnu-emacs@gnu.org (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#5335: marked as done (23.1; hi-lock-file-patterns-policy argument) Date: Mon, 11 Jan 2010 03:34:01 +0000 Message-ID: References: <4gfx6djoxk.fsf@fencepost.gnu.org> <87k4vt1vey.fsf@ergodik.univ-brest.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1263180841-20925-0" X-Trace: ger.gmane.org 1263181788 29791 80.91.229.12 (11 Jan 2010 03:49:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2010 03:49:48 +0000 (UTC) Cc: emacs-bug-tracker@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 11 04:49:40 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NUBHg-0004qt-2u for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jan 2010 04:49:40 +0100 Original-Received: from localhost ([127.0.0.1]:40126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUBHg-0001Bz-KA for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jan 2010 22:49:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUBHL-0000zP-92 for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2010 22:49:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUBHG-0000wZ-Dr for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2010 22:49:18 -0500 Original-Received: from [199.232.76.173] (port=39807 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUBHA-0000u4-LJ; Sun, 10 Jan 2010 22:49:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59864) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUBH8-0000zG-0x; Sun, 10 Jan 2010 22:49:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NUB2X-0005RX-Nl; Sun, 10 Jan 2010 22:34:01 -0500 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: closed 5335 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34194 Archived-At: This is a multi-part message in MIME format... ------------=_1263180841-20925-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 10 Jan 2010 22:33:27 -0500 with message-id <4gfx6djoxk.fsf@fencepost.gnu.org> 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 bug-gnu-emacs@gnu.org immediately.) --=20 5335: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5335 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems ------------=_1263180841-20925-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Jan 2010 21:09:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSzbW-0001xI-BU for submit@debbugs.gnu.org; Thu, 07 Jan 2010 16:09:14 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSzV9-0001te-Mj for submit@debbugs.gnu.org; Thu, 07 Jan 2010 16:02:42 -0500 Received: from mx10.gnu.org ([199.232.76.166]:35361) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSzV5-0004OK-JW for submit@debbugs.gnu.org; Thu, 07 Jan 2010 16:02:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NSzV3-0005EL-8w for submit@debbugs.gnu.org; Thu, 07 Jan 2010 16:02:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:34766) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSzV3-0005Dw-2x for submit@debbugs.gnu.org; Thu, 07 Jan 2010 16:02:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSzV2-00087K-RU for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2010 16:02:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSzUy-00080c-RH for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2010 16:02:32 -0500 Received: from [199.232.76.173] (port=60279 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSzUy-00080R-Nu for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2010 16:02:28 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:37643) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSzUx-0005Az-Fj for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2010 16:02:28 -0500 Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id DAC084C80D2 for ; Thu, 7 Jan 2010 22:02:22 +0100 (CET) Received: from ergodik.univ-brest.fr (unknown [78.233.232.132]) by smtp4-g21.free.fr (Postfix) with ESMTP id CAA074C80C5 for ; Thu, 7 Jan 2010 22:02:19 +0100 (CET) From: yves coudene To: bug-gnu-emacs@gnu.org Subject: 23.1; hi-lock-file-patterns-policy argument Date: Thu, 07 Jan 2010 22:01:41 +0100 Message-ID: <87k4vt1vey.fsf@ergodik.univ-brest.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 07 Jan 2010 16:09:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) 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='' ------------=_1263180841-20925-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5335-done) by debbugs.gnu.org; 11 Jan 2010 03:33:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NUB23-0005RA-JJ for submit@debbugs.gnu.org; Sun, 10 Jan 2010 22:33:31 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NUB23-0005R5-32 for 5335-done@debbugs.gnu.org; Sun, 10 Jan 2010 22:33:31 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NUB1z-0003WE-OD; Sun, 10 Jan 2010 22:33:27 -0500 From: Glenn Morris To: 5335-done@debbugs.gnu.org Subject: Re: bug#5335: 23.1; hi-lock-file-patterns-policy argument References: <87k4vt1vey.fsf@ergodik.univ-brest.fr> X-Spook: NWO 9/11 pipeline Ron Brown freedom Noriega ASDIC RSA X-Ran: 3t{[ei'mjmp!xAzm^-@sz~_'u`FM-I/#DIxjzuW'q5GYQ\:LnC3]whQ| X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 10 Jan 2010 22:33:27 -0500 Message-ID: <4gfx6djoxk.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 5335-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Thanks, I corrected the manual. ------------=_1263180841-20925-0--