From unknown Sun Jun 22 11:45:39 2025 X-Loop: help-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 Resent-From: leo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2019 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36354 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36354@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156138702321568 (code B ref -1); Mon, 24 Jun 2019 14:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2019 14:37:03 +0000 Received: from localhost ([127.0.0.1]:57542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfQ5e-0005bn-OQ for submit@debbugs.gnu.org; Mon, 24 Jun 2019 10:37:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:37279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfPlF-0003m8-AI for submit@debbugs.gnu.org; Mon, 24 Jun 2019 10:15:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50961) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfPlC-0004lG-Qf for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 10:15:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfPlB-0003dB-64 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 10:15:54 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:37957) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfPlA-0003Y3-M3 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 10:15:53 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B10134F7 for ; Mon, 24 Jun 2019 10:15:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 24 Jun 2019 10:15:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hailmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=PxcqDcfo13UeYW0j8rxhtN+ccXNI64SQi8jQfV+de/0=; b=DJQm9S82 la8ZYsmmzu0oAKMEz9txFDgIZtuSx2zT8Kn44zf/xlhif2vaEXJr2y6jhuwyyeHd 4v1oQRvVp3Y8PTaeKtRJJuR7Gs/3GJlcPE5wlh1F4adpFb2v3xuvMS3icHOzL3St cMuZ7WRCLNhxBFF3r/DUc6b6EOGbT6SbAwv/xwOPxATClq82Buw9Ewpi6g5ZTY2i DWXvNROVFED3HJo8L+z/vg4lkRpf3UqYsMK3f30KNbfjZCy0PWU9SHwX52jletX4 xquQYlGTDvObCyJSMwreiAz8SLL8SlXkYdQGSYdQHbMoK89uLR7pJy1u2PSpdVc9 otxWABNu4/bg7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=PxcqDcfo13UeYW0j8rxhtN+ccXNI6 4SQi8jQfV+de/0=; b=RH3IEkBJzfwoTx4pC7KN2PfZ68mSg6KjcixvJljj3lN+w B2dqDdhYW9PrdmbTGDmMKZXyf82/aiSjSRqbL5sspzLR/RHbWdvXIJnT1Uks1BDb UI2VtGwGmzlfGf8trUaG9umSpNmNriE6I9o1QOBDQbP2h7F7xc2AovBx6JEGnhMy K0xGoUZPSg1RtpGl65tFVnVJ8dBQQWCrsGi5yrGWJQJKeEAKKij0VTjko1jDCrwg VNJ9msWmyUB91Q/WKNV0cktoWVNJk5gbA1cmr+uM2otzyfZMkMTot5OtCNy35sdl hCbVC74RKW6+qw8BMsP0ytIXND3Vwxe5cHmx3GfoQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddvgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffoffkgggtsehttdhmtdertd dtnecuhfhrohhmpehlvghouceouggvvhgvlheshhgrlhhlohhlvghordhhrghilhhmrghi lhdrnhgvtheqnecukfhppeduudegrdduleekrdduudekrdehgeenucfrrghrrghmpehmrg hilhhfrhhomhepuggvvhgvlheshhgrlhhlohhlvghordhhrghilhhmrghilhdrnhgvthen ucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.0.12] (114-198-118-54.dyn.iinet.net.au [114.198.118.54]) by mail.messagingengine.com (Postfix) with ESMTPA id 1956780065 for ; Mon, 24 Jun 2019 10:15:47 -0400 (EDT) From: leo Date: Tue, 25 Jun 2019 00:15:36 +1000 X-Mailer: MailMate (1.12.5r5635) Message-ID: <21F126BF-F0BB-49B0-AB38-937C0AC0C1F6@halloleo.hailmail.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.20 X-Spam-Score: -1.6 (-) X-Mailman-Approved-At: Mon, 24 Jun 2019 10:37:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Recipe ------ 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. System info ----------- In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2018-06-29 built on mobydick Windowing system distributor 'MobaXterm', version 11.0.10605000 System Description: Oracle Linux Server release 6.9 Configured using: 'configure --without-gnutls' Configured features: XPM JPEG TIFF GIF PNG SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Javascript-IDE Minor modes in effect: compilation-onewin-mode: t cursor-sensor-mode: t smart-tab-mode: t flyspell-mode: t ivy-rich-mode: t which-function-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t global-discover-mode: t discover-mode: t savehist-mode: t ivy-mode: t diff-auto-refine-mode: t pyvenv-tracking-mode: t pyvenv-mode: t delete-selection-mode: t google-this-mode: t winner-mode: t shell-dirtrack-mode: t recentf-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Features: (shadow sort mail-extr emacsbug sendmail re-builder markdown-mode edit-indirect noutline outline follow compilation-onewin compilation-recenter-end debug dabbrev cl-print vc-mtn vc-hg vc-git vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher autoload pp lisp-mnt mm-archive network-stream starttls url-http tls gnutls url-gw nsm url-cache url-auth tabify man dirtrack jka-compr eieio-opt speedbar sb-image ezimage dframe misearch multi-isearch two-column iso-transl discover-my-major cursor-sensor js2-imenu-extras js2-mode js sgml-mode dom cc-mode cc-fonts cc-guess cc-menus cc-cmds dired-aux smart-tab flyspell ispell bash-completion shell-command counsel xdg swiper ivy-rich smex tsdh-light-theme magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode transient git-commit magit-git magit-section magit-utils crm log-edit message rmc puny rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async dash discover makey savehist server yasnippet elec-pair highlight-indentation flymake-proc flymake warnings company-capf company pcase help-fns radix-tree elpy find-file-in-project ivy colir color ivy-overlay ffap thingatpt diff-mode elpy-shell elpy-profile elpy-django s elpy-refactor subr-x ido grep files-x etags xref project cus-edit cus-start cus-load pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util python json map find-func quail real-auto-save css-eldoc css-eldoc-hash-table cc-styles cc-align cc-engine cc-vars cc-defs cl-extra help-mode delsel google-this compile url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap winner tramp-cache tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time format-spec recentf tree-widget goto-chg locate dired-x dired-sort-menu ange-ftp comint ansi-color ring dired dired-loaddefs advice ls-lisp edmacro kmacro deft wid-edit cl ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff buffer-move windmove finder-inf rx package epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core eieio-loaddefs password-cache url-vars seq byte-opt use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key cl-macs gv easy-mmode use-package-core bytecomp byte-compile cl-loaddefs cl-lib cconv info easymenu time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1771331 155470) (symbols 48 54356 2) (miscs 40 5869 4321) (strings 32 273146 22284) (string-bytes 1 9947929) (vectors 16 112705) (vector-slots 8 2456788 90014) (floats 8 642 1495) (intervals 56 162153 14806) (buffers 992 84) (heap 1024 122479 7342)) From unknown Sun Jun 22 11:45:39 2025 X-Loop: help-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 Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2019 01:28: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: To: leo Cc: 36354@debbugs.gnu.org Received: via spool by 36354-submit@debbugs.gnu.org id=B36354.15626356698809 (code B ref 36354); Tue, 09 Jul 2019 01:28:01 +0000 Received: (at 36354) by debbugs.gnu.org; 9 Jul 2019 01:27:49 +0000 Received: from localhost ([127.0.0.1]:60047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkev7-0002I1-K2 for submit@debbugs.gnu.org; Mon, 08 Jul 2019 21:27:49 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkev5-0002Hr-LL for 36354@debbugs.gnu.org; Mon, 08 Jul 2019 21:27:48 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkev0-0007Za-Tm; Tue, 09 Jul 2019 03:27:45 +0200 From: Lars Ingebrigtsen References: <21F126BF-F0BB-49B0-AB38-937C0AC0C1F6@halloleo.hailmail.net> Date: Tue, 09 Jul 2019 03:27:42 +0200 In-Reply-To: <21F126BF-F0BB-49B0-AB38-937C0AC0C1F6@halloleo.hailmail.net> (leo's message of "Tue, 25 Jun 2019 00:15:36 +1000") Message-ID: <87v9wcf14h.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 promp [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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') 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 21:27:54 2019 Received: (at control) by debbugs.gnu.org; 9 Jul 2019 01:27:54 +0000 Received: from localhost ([127.0.0.1]:60050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkevB-0002II-Sh for submit@debbugs.gnu.org; Mon, 08 Jul 2019 21:27:54 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkevA-0002IA-0P for control@debbugs.gnu.org; Mon, 08 Jul 2019 21:27:52 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkev7-0007Zh-FW for control@debbugs.gnu.org; Tue, 09 Jul 2019 03:27:51 +0200 Date: Tue, 09 Jul 2019 03:27:49 +0200 Message-Id: <87tvbwf14a.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36354 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36354 notabug close 36354 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 36354 notabug close 36354 quit From unknown Sun Jun 22 11:45:39 2025 X-Loop: help-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 Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2019 09:18:02 +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 To: Lars Ingebrigtsen Cc: leo , 36354@debbugs.gnu.org Received: via spool by 36354-submit@debbugs.gnu.org id=B36354.156266382716753 (code B ref 36354); Tue, 09 Jul 2019 09:18:02 +0000 Received: (at 36354) by debbugs.gnu.org; 9 Jul 2019 09:17:07 +0000 Received: from localhost ([127.0.0.1]:60303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkmFH-0004M8-1g for submit@debbugs.gnu.org; Tue, 09 Jul 2019 05:17:07 -0400 Received: from mail-io1-f44.google.com ([209.85.166.44]:41711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkmFF-0004La-5i for 36354@debbugs.gnu.org; Tue, 09 Jul 2019 05:17:05 -0400 Received: by mail-io1-f44.google.com with SMTP id j5so22255590ioj.8 for <36354@debbugs.gnu.org>; Tue, 09 Jul 2019 02:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=M39fSAaeFOOmyqohL+e00yQNl9DdGVj8w2h8ao96YXU=; b=PIq7U4fkLfmhelqTbobr2eCsBYWRMpGQf+JhO+Oa1Y+wWvacXzjrUNr55cfRViyDw1 avxUUexcB49H1fbQkWBN8Lj86LIMGwhrhL29j/588PZ0cVoqd0tGXJphfJL0PwWn2GDP 7j78oJFknvMAiziYRfuBzQAdDs5oORHuwbPWE6ygV0kbvBXlGLm0qmxVV21XrgxlMbxg EH5rUDRwUBiYWxM7/GHjSyywDfI0bGFOv+tTJm4/Goh9moZb8XFHnqdAAnxNesABJyIG mauHabzHfXSU11fHR1EAkDRVE5+ibVulYoFR0f4IJGOeX9Xc5zUVY2hhQLoyYOB9utRY xxEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=M39fSAaeFOOmyqohL+e00yQNl9DdGVj8w2h8ao96YXU=; b=picCgRzONLukgTy2TgMsogcCgNVrkBMl4/vCB8RR+O8kC7FoBGDoFmqEGs3DyK6xqa S9yKhDGTlBak6AoRO3GVq2qs+wfUMbAMbTt6Aw7/r3Q41+KRewxxfNH3WQq1VxemC8OB P2u5ZgamFvL9Ftxmb7clztGQlqYiEOjPWrUdQFGK8idTbJ3IYm+Qanfu3Nu/hJ9Z8Yg7 jjNAKe1W4mX9kFxdEd/1iVdhCVs2AsjiaH3dZuHFWGDMbhdHFUBC6QoWup6+63C1rFcl kRY/VUOpyybeMOBz06FlatQEujRpB7AFo6SE7LLYQEyZhCzV0UP8TggNvd54uyLqk0nQ 7Z6A== X-Gm-Message-State: APjAAAWUS+iIhTZ7/+kG3r1sYDj5C0OzZGzCpc72EezMfCqjCL0nUX0i 3zs0fVttjUacP7GSNbCMxVc7l8+K X-Google-Smtp-Source: APXvYqyThS97Z68vhNKkrjFEitGezd2aPeb4QdDMKq9e7RDvORQwZlkiezKZlwYZQnlvkKE9JD+2KQ== X-Received: by 2002:a6b:b497:: with SMTP id d145mr3562467iof.17.1562663817286; Tue, 09 Jul 2019 02:16:57 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id s3sm14144237iob.49.2019.07.09.02.16.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jul 2019 02:16:56 -0700 (PDT) From: Noam Postavsky References: <21F126BF-F0BB-49B0-AB38-937C0AC0C1F6@halloleo.hailmail.net> <87v9wcf14h.fsf@mouse.gnus.org> Date: Tue, 09 Jul 2019 05:16:56 -0400 In-Reply-To: <87v9wcf14h.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Tue, 09 Jul 2019 03:27:42 +0200") Message-ID: <87ftnf36uv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 i [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (npostavs[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.166.44 listed in list.dnswl.org] 1.3 PDS_NO_HELO_DNS High profile HELO but no A record X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) 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. From unknown Sun Jun 22 11:45:39 2025 X-Loop: help-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 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 To: "Noam Postavsky" , "Lars Ingebrigtsen" Cc: 36354@debbugs.gnu.org Received: via spool by 36354-submit@debbugs.gnu.org id=B36354.156274415412389 (code B ref 36354); Wed, 10 Jul 2019 07:36:01 +0000 Received: (at 36354) by debbugs.gnu.org; 10 Jul 2019 07:35:54 +0000 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 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 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) 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: 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 User-Agent: Cyrus-JMAP/3.1.6-731-g19d3b16-fmstable-20190627v1 Mime-Version: 1.0 Message-Id: <20f00ebb-ae75-4966-a6c2-88a14c37c401@www.fastmail.com> In-Reply-To: <87ftnf36uv.fsf@gmail.com> References: <21F126BF-F0BB-49B0-AB38-937C0AC0C1F6@halloleo.hailmail.net> <87v9wcf14h.fsf@mouse.gnus.org> <87ftnf36uv.fsf@gmail.com> Date: Wed, 10 Jul 2019 15:57:31 +1000 From: leo Content-Type: multipart/alternative; boundary=a1ab3d15103d43d8b61b77bc097c2e2e X-Spam-Score: -0.7 (/) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --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--