From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#7010: [PATCH] sregex.el: Ease limitation on literal sregexes. Date: Fri, 10 Sep 2010 19:08:08 +0200 Message-ID: References: <87d3slac9e.fsf@via.kotona.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1284138660 4501 80.91.229.12 (10 Sep 2010 17:11:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 17:11:00 +0000 (UTC) Cc: 7010-done@debbugs.gnu.org To: =?UTF-8?Q?Breannd=C3=A1n_?= =?UTF-8?Q?=C3=93_?= =?UTF-8?Q?Nuall=C3=A1in?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 10 19:10:59 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou77q-0006EK-OV for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Sep 2010 19:10:59 +0200 Original-Received: from localhost ([127.0.0.1]:56888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou77p-0006SH-BZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Sep 2010 13:10:57 -0400 Original-Received: from [140.186.70.92] (port=56916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou77P-0006BO-Mz for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 13:10:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou77O-0002gc-6Q for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 13:10:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47833) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou77O-0002gW-4J for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 13:10:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ou741-0001R9-TE for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 13:07:01 -0400 Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2010 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7010 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 7010@debbugs.gnu.org, schwab@linux-m68k.org Original-Received: via spool by 7010-done@debbugs.gnu.org id=D7010.12841383685510 (code D ref 7010); Fri, 10 Sep 2010 17:07:01 +0000 Original-Received: (at 7010-done) by debbugs.gnu.org; 10 Sep 2010 17:06:08 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou73A-0001Qp-4R for submit@debbugs.gnu.org; Fri, 10 Sep 2010 13:06:08 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou738-0001QR-4n for 7010-done@debbugs.gnu.org; Fri, 10 Sep 2010 13:06:06 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id AA4BF1C1622E; Fri, 10 Sep 2010 19:08:09 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-102-17.dynamic.mnet-online.de [88.217.102.17]) by mail.mnet-online.de (Postfix) with ESMTP id 7B3731C002EA; Fri, 10 Sep 2010 19:08:09 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 2A56ECA299; Fri, 10 Sep 2010 19:08:09 +0200 (CEST) X-Yow: Where's SANDY DUNCAN? In-Reply-To: <87d3slac9e.fsf@via.kotona.nl> ("=?UTF-8?Q?Breannd=C3=A1n_?= =?UTF-8?Q?=C3=93_?= =?UTF-8?Q?Nuall=C3=A1in?="'s message of "Fri, 10 Sep 2010 16:45:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 10 Sep 2010 13:07:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40070 Archived-At: Breanndán Ó Nualláin writes: > Currently, the `sregexq' macro accepts only literal sregexes as args. > The patch permits it to accept all kinds of macro-generated goodness. > A simple example: > > (let ((forms '("abc" "def"))) > (sregexq `(or ,@forms))) That's what sregex is for. The point of the sregexq macro is that it quotes its argument. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."