From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: using non-Emacs regexp syntax Date: Fri, 01 Dec 2006 21:38:34 -0500 Message-ID: References: <58590.128.165.123.18.1165012500.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165027134 21227 80.91.229.2 (2 Dec 2006 02:38:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Dec 2006 02:38:54 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Paul Pogonyshev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 02 03:38:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GqKmB-00066s-16 for ged-emacs-devel@m.gmane.org; Sat, 02 Dec 2006 03:38:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqKmA-00023S-CO for ged-emacs-devel@m.gmane.org; Fri, 01 Dec 2006 21:38:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GqKlx-0001zu-MO for emacs-devel@gnu.org; Fri, 01 Dec 2006 21:38:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GqKlw-0001yR-RM for emacs-devel@gnu.org; Fri, 01 Dec 2006 21:38:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqKlw-0001y5-MM for emacs-devel@gnu.org; Fri, 01 Dec 2006 21:38:36 -0500 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GqKlw-0003tI-05; Fri, 01 Dec 2006 21:38:36 -0500 Original-Received: from pastel.home ([74.13.164.204]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061202023835.SZKF17401.tomts10-srv.bellnexxia.net@pastel.home>; Fri, 1 Dec 2006 21:38:35 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D19147F23; Fri, 1 Dec 2006 21:38:34 -0500 (EST) Original-To: herring@lanl.gov In-Reply-To: <58590.128.165.123.18.1165012500.squirrel@webmail.lanl.gov> (Stuart D. Herring's message of "Fri\, 1 Dec 2006 14\:35\:00 -0800 \(PST\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63215 Archived-At: > I've already started on this sort of thing, writing a converter just > between the two formats supported by GNU grep. (These are BTW, if the output of your function is only ever passed to Emacs, then it may be worth it to instead provide ways to access from elisp the full functionality of the underlying features of the regexp.c code (which was originally not specific to Emacs and has flags to support various syntax options, including whether { ( | and friends should be backslashed or not. See regexp.h). Of course, maybe both would be useful, depending on the application. Stefan