From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Raffaele Ricciardi Newsgroups: gmane.emacs.bugs Subject: bug#20977: 24.5; Hi Lock Mode fails with "Invalid pattern list expression" Date: Sun, 5 Jul 2015 12:52:40 +0200 Message-ID: <55990C78.1010608@gmail.com> References: <5597B6B8.3010307@gmail.com> <871tgoou9o.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436093609 25841 80.91.229.3 (5 Jul 2015 10:53:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 10:53:29 +0000 (UTC) Cc: 20977@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 12:53:14 2015 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 1ZBhXs-0008GE-OY for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 12:53:12 +0200 Original-Received: from localhost ([::1]:46288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBhXs-00032H-2a for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 06:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBhXo-00031x-RU for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 06:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBhXi-0002bQ-VB for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 06:53:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBhXi-0002bK-Nw for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 06:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZBhXi-0000uI-ES for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Raffaele Ricciardi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jul 2015 10:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20977 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20977-submit@debbugs.gnu.org id=B20977.14360935723469 (code B ref 20977); Sun, 05 Jul 2015 10:53:02 +0000 Original-Received: (at 20977) by debbugs.gnu.org; 5 Jul 2015 10:52:52 +0000 Original-Received: from localhost ([127.0.0.1]:40167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBhXX-0000tr-2G for submit@debbugs.gnu.org; Sun, 05 Jul 2015 06:52:51 -0400 Original-Received: from mail-wi0-f172.google.com ([209.85.212.172]:37699) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBhXU-0000tU-GL for 20977@debbugs.gnu.org; Sun, 05 Jul 2015 06:52:49 -0400 Original-Received: by wicgi11 with SMTP id gi11so130343875wic.0 for <20977@debbugs.gnu.org>; Sun, 05 Jul 2015 03:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Pfjxw5Sb2wZ9EJzWPpYZYl7V0fi2E9BntTyaWSSIbuA=; b=g3hQEo6Ihwx1lRaFYrmkKErGLV4SvsUrJhyK6/HP4jOhy57FqMWm8Es28wzI8TWnJb Zggmh/v7fCnIa1yph9DaA1NfHDVKwI1oCOgQK2l+7Z3iCumlBxDpf9hmLqDz/4RSBRQi 2oos280nz9YjfDCUrIoG9AtAZ1ZFxZFfvyT4a314M50fOhGNibLKMGHAgj+7HA0ewr+a rXoztJDGxqSWxN0HODJfedZlysa7sTxXZBFBu0CguVCFByh44riirFwzSQ0WstQDJccS ZwxN3GWadgQOWUzRJJbkcXm9rA+tTUTUIfz8yWWm+eemYQkZe2lZ41gaFyqKVaFmN5x9 qh7A== X-Received: by 10.194.189.80 with SMTP id gg16mr86134356wjc.9.1436093562739; Sun, 05 Jul 2015 03:52:42 -0700 (PDT) Original-Received: from [192.168.1.60] (81.203.145.32.dyn.user.ono.com. [81.203.145.32]) by mx.google.com with ESMTPSA id ny7sm41295791wic.11.2015.07.05.03.52.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Jul 2015 03:52:41 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: <871tgoou9o.fsf@web.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:104725 Archived-At: On 04/07/15 16:46, Michael Heerdegen wrote: > Raffaele Ricciardi writes: > >> emacs -Q >> C-h f hi-lock-mode RET >> C-x b *Help* RET >> M-x hi-lock-mode RET >> >> Emacs says: >> >> Invalid pattern list expression at 60 > AFAIK this is not an error, just a message (that you can safely ignore). > The mode is enabled nonetheless and should work as expected. > > Background: There is a feature that hi-lock-mode searches for pattern > specifications of the kind > > Hi-lock: FOO > > that define initial highlightings. > > Since the help buffer of `hi-lock-mode' explains this feature, it > contains a match for the regexp searched for (namely "Hi-lock: FOO") but > hi-lock-mode discards it because it is invalid (thus the message). So > this issue is only a coincidence appearing only in the help buffer of > `hi-lock-mode'. FWIW I can live with this message in this special case, > though I agree that it is confusing. > > > Michael. I agree that this glitch is not worth fixing. And if another user will stumble upon it, he will find this discussion and understand what is going on. Thanks, Michael, for your assistance.