From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#52558: Option for easier typing of regexps Date: Tue, 21 Dec 2021 23:16:17 -0500 Message-ID: References: <87o85cvmek.fsf@gnus.org> <0cac11c8-78c2-5625-d023-cda3bd4d7c9c@gmail.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29725"; mail-complaints-to="usenet@ciao.gmane.io" Cc: laszlomail@protonmail.com, larsi@gnus.org, 52558@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 22 05:24:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mztAe-0007bF-WA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Dec 2021 05:24:09 +0100 Original-Received: from localhost ([::1]:47322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mztAd-0001gt-0n for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 23:24:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzt3m-0000js-QG for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 23:17:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzt3m-0006n7-GS for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 23:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzt3m-0003u6-Cl for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2021 23:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Dec 2021 04:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 52558-submit@debbugs.gnu.org id=B52558.164014658514950 (code B ref 52558); Wed, 22 Dec 2021 04:17:02 +0000 Original-Received: (at 52558) by debbugs.gnu.org; 22 Dec 2021 04:16:25 +0000 Original-Received: from localhost ([127.0.0.1]:56410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzt3B-0003t3-0t for submit@debbugs.gnu.org; Tue, 21 Dec 2021 23:16:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzt38-0003sm-Uw for 52558@debbugs.gnu.org; Tue, 21 Dec 2021 23:16:23 -0500 Original-Received: from [2001:470:142:3::e] (port=51920 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzt33-00069I-Lv; Tue, 21 Dec 2021 23:16:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=s1s3TbyrvJKLBRC1C1OepGJ1+D6uAgOBDlMfO28I77Q=; b=W5wfFcVqDjN9 EnBZA9RWB+u63vSrjQ5BKNbOFY+Q7/klYNm5Z0wyg3OeInvsWjev1B75y2Ri4/E029rkFg1rLQ7op 4CQx9ebFCeTl2tI4ha1fEy5dhPsTDl83MFATM3EHIs459P8UTfmO9jxESAP8ZAtjFkLiHWmbicUKx Trz8dpAijfSG+1V2qqZv/V0WuL2n+QUgOoTbTY+H3ibFwyKEEYsaXuRhvFFIdq8WBlG94makWy2rZ wIiem4aXdaWhHcGbglsuzaf/Hty9POt7gANqzpvVHTp0V8xIFo/0vIQ6buvLwpeWw06bWW4zsw/Gp 660Y5Dds51V4W5nUYsUwKA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mzt33-0004rr-N0; Tue, 21 Dec 2021 23:16:17 -0500 In-Reply-To: <0cac11c8-78c2-5625-d023-cda3bd4d7c9c@gmail.com> (message from Jim Porter on Mon, 20 Dec 2021 11:46:32 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222910 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I've attempted to resolve this issue in the other direction in > Urgrep[1], which provides a unified way of running all these recursive > grep-like tools. Specifically, it defaults to accepting BRE syntax and > then, if the tool only accepts ERE/PCRE, it converts the BRE input into > ERE/PCRE. That's not perfect either since then you end up in a situation > where to use PCRE features, you have to enter them in a BRE-like syntax, > which I find pretty confusing too. (This behavior is customizable in > Urgrep, so if you like ERE/PCRE, you can set those as the input syntax.) I think it would be a big step forward if we could do something along these lines in Emacs. The details may be tricky, though. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)