From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: icalendar.el bug fix patch Date: Sun, 03 Nov 2019 08:21:00 -0500 Message-ID: References: <875zkfd1rz.fsf@hm.sivalik.com> <83eeyslytn.fsf@gnu.org> <87imo3g8af.fsf@hm.sivalik.com> <831rurn3vs.fsf@gnu.org> <321C5595-5EBF-4231-9179-FE1CA4A412F7@acm.org> <83tv7nlo16.fsf@gnu.org> <34fad408-c220-7980-c7fe-1299093d842f@cs.ucla.edu> <871ruq88yp.fsf@mail.linkov.net> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="120797"; mail-complaints-to="usenet@blaine.gmane.org" Cc: rajeev@sivalik.com, mattiase@acm.org, eliz@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 03 14:22:02 2019 Return-path: Envelope-to: ged-emacs-devel@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 1iRFpR-000VGV-MU for ged-emacs-devel@m.gmane.org; Sun, 03 Nov 2019 14:22:01 +0100 Original-Received: from localhost ([::1]:53806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRFpQ-0007ei-Hb for ged-emacs-devel@m.gmane.org; Sun, 03 Nov 2019 08:22:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59797) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRFoU-0007eX-Hw for emacs-devel@gnu.org; Sun, 03 Nov 2019 08:21:03 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iRFoT-0005ot-D0; Sun, 03 Nov 2019 08:21:01 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iRFoS-0000P7-8w; Sun, 03 Nov 2019 08:21:00 -0500 In-Reply-To: <871ruq88yp.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 02 Nov 2019 20:39:18 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241749 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. ]]] > what would be an equivalent for specifying regexp modifiers in Emacs Lisp? > Maybe something like > (let ((regexp-modifiers "s")) > (string-match "." string)) I don't like the idea of a global variable to alter regexp syntax. I think that some sort of operator would be better. It could be an escape sequence for "any character" or it could be a kind of parenthetical grouping which alters the meaning of a period inside it. What would be convenient in the rx syntax? That question might be helpful to finding the best way to handle this in string-regexp syntax. -- Dr Richard Stallman Founder, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)