unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Raffaele Ricciardi <rfflrccrd@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 20977@debbugs.gnu.org
Subject: bug#20977: 24.5; Hi Lock Mode fails with "Invalid pattern list expression"
Date: Sun, 5 Jul 2015 12:52:40 +0200	[thread overview]
Message-ID: <55990C78.1010608@gmail.com> (raw)
In-Reply-To: <871tgoou9o.fsf@web.de>

On 04/07/15 16:46, Michael Heerdegen wrote:
> Raffaele Ricciardi <rfflrccrd@gmail.com> 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.





  reply	other threads:[~2015-07-05 10:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-04 10:34 bug#20977: 24.5; Hi Lock Mode fails with "Invalid pattern list expression" Raffaele Ricciardi
2015-07-04 14:46 ` Michael Heerdegen
2015-07-05 10:52   ` Raffaele Ricciardi [this message]
2015-07-05 10:57   ` martin rudalics
2021-09-04  7:11     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55990C78.1010608@gmail.com \
    --to=rfflrccrd@gmail.com \
    --cc=20977@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).