all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: emacs-devel@gnu.org
Cc: David Koppelman <koppel@ece.lsu.edu>
Subject: Re: Bug: Hi-lock-mode doesn't highlight regexp re-builder vets
Date: Wed, 18 Jul 2007 14:52:28 +0200	[thread overview]
Message-ID: <m2wswxdgc3.fsf@sowhat.denx.de> (raw)
In-Reply-To: 7wr6nfiyw1.fsf@ece.lsu.edu

Hi Denis and David,

> Not a bug. The text in the re-builder buffer has '\' escaped (to
> '\\'), for use as string value (literal?). The value expected by
> highlight-regexp when reading from the minibuffer is the regexp
> without escaping of backslashes.

When I wrote re-builder I specifically included a re-builder "syntax"
(reb-re-syntax) governing the entry and display.  It defaults to 'read
being compatible with the elisp reader.  But you can reb-change-syntax
to 'string and get re-builder to interpret and display the regex as
you need it for a string input.

Cheers
  Detlev

-- 
 Those who do not understand Unix are condemned to reinvent it,
 poorly.
 - Henry Spencer, University of Toronto Unix hack

      reply	other threads:[~2007-07-18 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 16:01 Bug: Hi-lock-mode doesn't highlight regexp re-builder vets Denis Bueno
2007-07-07 13:06 ` Richard Stallman
2007-07-11  0:10 ` David Koppelman
2007-07-18 12:52   ` Detlev Zundel [this message]

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=m2wswxdgc3.fsf@sowhat.denx.de \
    --to=dzu@denx.de \
    --cc=emacs-devel@gnu.org \
    --cc=koppel@ece.lsu.edu \
    /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.