From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Ugly regexps Date: Wed, 03 Mar 2021 17:32:18 -0500 Message-ID: References: <83pn0g6ajq.fsf@gnu.org> <83v9a8jj2x.fsf@gnu.org> <83mtvkjb6c.fsf@gnu.org> <96182b13-f921-6f91-0cdc-320f54ed16bf@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37293"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , "emacs-devel@gnu.org" , Stefan Kangas , Dmitry Gutov To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 03 23:33:19 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lHa3S-0009a7-LX for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Mar 2021 23:33:18 +0100 Original-Received: from localhost ([::1]:58064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHa3R-0004sd-KC for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Mar 2021 17:33:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHa2c-000412-0H for emacs-devel@gnu.org; Wed, 03 Mar 2021 17:32:26 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHa2a-0006jx-Bp; Wed, 03 Mar 2021 17:32:25 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 97AB380057; Wed, 3 Mar 2021 17:32:21 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id EC3CD80438; Wed, 3 Mar 2021 17:32:19 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1614810739; bh=mhbldhf+HZpZGKuSSfUgbhYNDlfrKJS/DTB0uPuqfOo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=PgQRgHuuKyyah1JhFZOqhgItBMEopi37yXyVlS+C+4k+faqd/Y9Wp5Sb/kQJfmwYL 0oYuyNOreznhCehAXvIhPAAV2IS6IAFsTCgt7Yt6N2tI6RUDFaQ5hCSiF127exRBQY a0aRX6SD7tUmSSd6jskSo+c7nhW5BPrIXXKSRAVKTbu5vnV5hAUXbqAaCvlfViQkQB WUZM6V+BtOB1/Anf3SfeHKN8jR4NRM9pcGLiINq1Pebv6uCviVOmhTadS5F2kcZjbZ EM5bNiiMt+2am8IIpjbYDORRmGYRmGRh1ZgsYy9btW1xlyfrgtLB/dwYAMQ1Q8EFZH NnJlqfbjHh/RQ== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A9D9A1202F2; Wed, 3 Mar 2021 17:32:19 -0500 (EST) In-Reply-To: (Drew Adams's message of "Wed, 3 Mar 2021 22:17:52 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265923 Archived-At: > I guess that's just saying that an RX-based dialog isn't > available yet, not that it's inconceivable or couldn't > be useful. Indeed if we introduce some way to choose which dialect to use for interactive regexps, I'd fully expect the RX syntax to be one of the options. I could also imagine one of the options to be DWIMish (i.e. use RX if the regexp starts and ends with a paren). Stefan