unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: leo <devel@halloleo.hailmail.net>
Cc: 36354@debbugs.gnu.org
Subject: bug#36354: 26.1; In re-builder the command `reb-copy' doesn't copy the regex correctly in string mode, Recipe
Date: Tue, 09 Jul 2019 03:27:42 +0200	[thread overview]
Message-ID: <87v9wcf14h.fsf@mouse.gnus.org> (raw)
In-Reply-To: <21F126BF-F0BB-49B0-AB38-937C0AC0C1F6@halloleo.hailmail.net> (leo's message of "Tue, 25 Jun 2019 00:15:36 +1000")

leo <devel@halloleo.hailmail.net> writes:

>
> 1. Start `re-builder'.
> 2. Build a regex in `re-builder'
> 3. Switch via C-c TAB to "string" syntax .
> 4. Copy the regex via `reb-copy'
>
> The result cannot be pasted in any regex replace prompt, but that is
> exactly the place where string syntax is used.

This seems like a deliberate feature:

;; (The compiled string form will be copied by `reb-copy')

If you just want the displayed version (which is indeed handy for
`replace-regexp' and friends), you can just copy the text from the
buffer.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-07-09  1:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24 14:15 bug#36354: 26.1; In re-builder the command `reb-copy' doesn't copy the regex correctly in string mode, Recipe leo
2019-07-09  1:27 ` Lars Ingebrigtsen [this message]
2019-07-09  9:16   ` Noam Postavsky
2019-07-10  5:57     ` leo

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=87v9wcf14h.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=36354@debbugs.gnu.org \
    --cc=devel@halloleo.hailmail.net \
    /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).