From: Michael Heerdegen <michael_heerdegen@web.de>
To: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
Cc: 20806@debbugs.gnu.org
Subject: bug#20806: 25.0.50; `string-match' is confused???
Date: Sun, 14 Jun 2015 00:58:23 +0200 [thread overview]
Message-ID: <87616ri5bk.fsf@web.de> (raw)
In-Reply-To: <557BF8E9.9040007@gmail.com> (Vaidheeswaran C.'s message of "Sat, 13 Jun 2015 15:03:29 +0530")
Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com> writes:
> Debugger entered--Lisp error: (error "Regexp cannot match an empty
> string")
> signal(error ("Regexp cannot match an empty string"))
> error("Regexp cannot match an empty string")
> [...]
> command-execute(highlight-regexp)
AFAICT, you got this error because you entered an regexp to the
`highlight-regexp' prompt that the empty string is matched by. Such a
regexp is rejected by hi-lock. With other words, the error is raised by
intent in hi-lock.el.
I guess, theoretically this rejected case could be made working, but the
code would get a bit uglier and less effective then, and is easy to
avoid.
What's your use case?
Michael.
next prev parent reply other threads:[~2015-06-13 22:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-13 9:33 bug#20806: 25.0.50; `string-match' is confused??? Vaidheeswaran C
2015-06-13 18:59 ` Vaidheeswaran C
2015-06-14 20:18 ` Stefan Monnier
2015-06-13 19:21 ` Andreas Schwab
2015-06-13 22:58 ` Michael Heerdegen [this message]
2015-06-14 13:40 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87616ri5bk.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=20806@debbugs.gnu.org \
--cc=vaidheeswaran.chinnaraju@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.