From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#20977: 24.5; Hi Lock Mode fails with "Invalid pattern list expression" Date: Sat, 04 Jul 2015 16:46:27 +0200 Message-ID: <871tgoou9o.fsf@web.de> References: <5597B6B8.3010307@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1436021242 16490 80.91.229.3 (4 Jul 2015 14:47:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jul 2015 14:47:22 +0000 (UTC) Cc: 20977@debbugs.gnu.org To: Raffaele Ricciardi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 04 16:47:12 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 1ZBOil-0005lj-U7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jul 2015 16:47:12 +0200 Original-Received: from localhost ([::1]:44563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBOil-00029n-B3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jul 2015 10:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBOih-00028g-Od for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 10:47:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBOic-0006yB-PS for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 10:47:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBOic-0006y2-MD for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 10:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZBOic-0005jF-Ep for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2015 10:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jul 2015 14:47: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.143602119821983 (code B ref 20977); Sat, 04 Jul 2015 14:47:02 +0000 Original-Received: (at 20977) by debbugs.gnu.org; 4 Jul 2015 14:46:38 +0000 Original-Received: from localhost ([127.0.0.1]:39844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBOiD-0005iV-VW for submit@debbugs.gnu.org; Sat, 04 Jul 2015 10:46:38 -0400 Original-Received: from mout.web.de ([212.227.17.12]:51896) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBOiB-0005iC-BI for 20977@debbugs.gnu.org; Sat, 04 Jul 2015 10:46:36 -0400 Original-Received: from drachen.dragon ([2.207.71.9]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MdLo7-1ZS6Tu0qMV-00ISrQ; Sat, 04 Jul 2015 16:46:29 +0200 In-Reply-To: <5597B6B8.3010307@gmail.com> (Raffaele Ricciardi's message of "Sat, 4 Jul 2015 12:34:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:UNdDo1GAy5UUd+SpNZUJLgYGBMy2q9HXStGPHh+ZY0QqneCdKvG lW0DMO7AETdTgOaI0P7PevkZ0DedPnhnIio9ROfA4YQKCW9GnNAh+rrVu83Ur5flHdkyqS+ 6FukoeMYDozCESC2t4Rj6T1erGaG4sfZgvypW4r+T8mIHWDx2AmaqRNHr4Clnoj/78de2F6 TWjXJ4ageUo2BV2hD/EIg== X-UI-Out-Filterresults: notjunk:1;V01:K0:c9Bz/PozWWc=:EvMg4K6t8i7VmWVI5Oih6w 1MWDgDFGqaqJy2hTLHvRFIuT5BYD7HQrOKUrZroEeK0y1ojybavwvvzFBqsURyyt/8gcnuCRv vhmIVGB5NZGV5GLSt4Ts3rgHw7yn0yeJyP8hck4daeRO9hBytHeY4BJkLv0UBdv3DnfK7yLqf GptXz/zXwxi48oVNVln/mE8PzuJKyWJDrLCo3sOUSendiKRy1Kqq51aN3GJN7zlMRdB+ux40i 2F1R9LCrk5Zm59oz11EkCWeVl7r1HoaAS7ZMzR2m/zyCFL+EmHMiUPoZTEBox9qqg/IcchE9T RK8q3d9FVXwykjT4H8wp7p/kvXLgpY4F9Qnkf+3N4QK9iudGFLEEp8f0Yd2O2iVLM8fwjVFl7 ZJXaA5VomzPfLWntvX1krX+n2Sh2KlFeoHuxuvTjB15Zukuks69KfvFwSTVoGHJ+mkpTx7Ndv 2rpvzzWSolg312FxuKMGcyawdQLOPP5kC3F+JPEgea0Hs16SGRPc0RD5SwNophS+ztUFhDMez Hdw7BDAKL/Z61+S81bT8J32gXmLGvp1raYzTO7FmNHbbwAoeKHCu7irbUUrk9z7BTa0cDD6ao jXvwkuLofvAuwfv8wZYlGUjo4t3BUUJRMZ5p0yIh5Zj9EBrlliXuxNE55kqKkF3ly2agPQdGQ uXFBqUh9gMN0XpsGUCfv1PWaDGHAtpM+AvF5yF+Va5DkcL58FSjICYUG7L3530l7WOW8= 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:104697 Archived-At: 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.