From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: leo Newsgroups: gmane.emacs.bugs Subject: bug#36354: 26.1; In re-builder the command `reb-copy' doesn't copy the regex correctly in string mode, Recipe Date: Wed, 10 Jul 2019 15:57:31 +1000 Message-ID: <20f00ebb-ae75-4966-a6c2-88a14c37c401@www.fastmail.com> References: <21F126BF-F0BB-49B0-AB38-937C0AC0C1F6@halloleo.hailmail.net> <87v9wcf14h.fsf@mouse.gnus.org> <87ftnf36uv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=a1ab3d15103d43d8b61b77bc097c2e2e Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="138942"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Cyrus-JMAP/3.1.6-731-g19d3b16-fmstable-20190627v1 Cc: 36354@debbugs.gnu.org To: "Noam Postavsky" , "Lars Ingebrigtsen" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 10 09:36:39 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hl79Y-000ZsA-ED for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2019 09:36:37 +0200 Original-Received: from localhost ([::1]:58676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hl79X-0008IO-8Z for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2019 03:36:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37986) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hl799-0008I1-RR for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 03:36:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hl795-0007mf-Od for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 03:36:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hl790-0007kh-6e for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 03:36:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hl790-0003E7-0i for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2019 03:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: leo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jul 2019 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36354 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 36354-submit@debbugs.gnu.org id=B36354.156274415412389 (code B ref 36354); Wed, 10 Jul 2019 07:36:01 +0000 Original-Received: (at 36354) by debbugs.gnu.org; 10 Jul 2019 07:35:54 +0000 Original-Received: from localhost ([127.0.0.1]:34785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hl78r-0003Dl-JP for submit@debbugs.gnu.org; Wed, 10 Jul 2019 03:35:54 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hl5bm-0000wn-Ge for 36354@debbugs.gnu.org; Wed, 10 Jul 2019 01:57:39 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BF2FD2205E; Wed, 10 Jul 2019 01:57:32 -0400 (EDT) Original-Received: from imap2 ([10.202.2.52]) by compute6.internal (MEProxy); Wed, 10 Jul 2019 01:57:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hailmail.net; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=NjmZ6zqmQbFqgGj3/VLvr14EqT8j6F2 UzCsx+6Gq0kk=; b=tBRszAiUSyVOjQFoyB3uttEYAPovWnlojqiu+iA8xlL4L6Y hlWos//tfAl8r6TrCLcc+O6pnFWDgCZuPBjY4cwRGepQMRvuAannMtVHwBK/ApUf ZnzM6Et/ff97IWCO4uAmw/vBPhiSd/BpUPEBG/AMRsceiRaIMTGQjy292BsC39hw bInnMnsDgmIM/28dAdyPNFNBxi3+N3nrj5m2goCvoZeM19rIz2VWbRxidn7g17il xu6m9KqmpYfazzCI53CzCVp6l3haQgeCoYikDwOCMKoAXVY8+Be2oXLoSsuGu/92 LOpRmP35xZmOq1tunNSm8YHvVblsw/UrwphCnkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=NjmZ6z qmQbFqgGj3/VLvr14EqT8j6F2UzCsx+6Gq0kk=; b=uWJKhynVBVY+5aDxAVK540 0QadUzNvcc1V4Ck/QDmjx0TQT/Dp2MOzE5lgiHYUeY93l/qIZmWrq1A+i1hKBIqg 11sSqBWzZo9cRr4yS0e1vm5XYIrIbjhTLexVm0L1L2X7mDzOp1gIjZss0bMoq9gt T6ksRvc1WBkzTn2iG9BF7dD9SqC6xm+4qC2p/+53DHdBvG/le1qS/cgpOMPbkJLV NHWr0hkMWbNWLtOCVa9sACKMFjyYMjRX+fsJ4JGH0Ys1PEbfxs9TM88xmbrF7DDc 2Db+8/gxtPMurJoVkOjx5aPRVcK4mCWgA1c1LgSIoFPzx1FgC3VHZ5NPyRc+yVZw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrgeehgdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpehlvghouceo uggvvhgvlheshhgrlhhlohhlvghordhhrghilhhmrghilhdrnhgvtheqnecurfgrrhgrmh epmhgrihhlfhhrohhmpeguvghvvghlsehhrghllhholhgvohdrhhgrihhlmhgrihhlrdhn vghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4400AE0193; Wed, 10 Jul 2019 01:57:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <87ftnf36uv.fsf@gmail.com> X-Mailman-Approved-At: Wed, 10 Jul 2019 03:35:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:162604 Archived-At: --a1ab3d15103d43d8b61b77bc097c2e2e Content-Type: text/plain That 's why I filed the bug. You'd expect that the copy function adapts to the syntax mode the builder is in. On Tue, 9 Jul 2019, at 7:17 PM, Noam Postavsky wrote: > Lars Ingebrigtsen writes: > > > leo 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') > > I agree it seems to be a deliberate decision, but I'm not so sure it's a > good one. > --a1ab3d15103d43d8b61b77bc097c2e2e Content-Type: text/html Content-Transfer-Encoding: quoted-printable
That 's why I filed the bug. 

You= 'd expect that the copy function adapts to the syntax mode the builder i= s in. 

On= Tue, 9 Jul 2019, at 7:17 PM, Noam Postavsky wrote:
Lars Ingebrig= tsen <larsi@gnus.org> writes:

> leo <devel@ha= lloleo.hailmail.net> writes:
>
>>
>> 1. Start `re-builder'.
=
>> 2. Build a regex in `re-build= er'
>> 3. Switch via C-= c TAB to "string" syntax .
&g= t;> 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.
><= br>
> This seems like a delibe= rate feature:
>
<= div style=3D"font-family:Arial;">> ;; (The compiled string form will = be copied by `reb-copy')

=
I agree it seems to be a deliber= ate decision, but I'm not so sure it's a
good one.


--a1ab3d15103d43d8b61b77bc097c2e2e--