From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#13369: 24.1; compile message parsing slow because of omake hack Date: Wed, 09 Jan 2013 20:47:08 +0530 Message-ID: <87fw2awfm3.fsf@gmail.com> References: <672E6DB1-196D-491C-BE42-F29CF1C7F1A5@bredband.net> <3FB0B562-759B-4486-90F4-789BF6CEA07F@bredband.net> <0AEEF1C6-8150-4E39-9CD9-30EC963D64D6@bredband.net> <147C0505-44B3-4A7B-8328-A7B27D207ABD@bredband.net> <87k3rmpj5a.fsf@gmail.com> <7B5D3D47-4978-498F-905C-CB34B82D8FE1@bredband.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357744681 31703 80.91.229.3 (9 Jan 2013 15:18:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2013 15:18:01 +0000 (UTC) Cc: 13369@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 09 16:18:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TsxQ0-0005Sg-8q for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Jan 2013 16:18:16 +0100 Original-Received: from localhost ([::1]:35360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsxPk-0005WF-Hi for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Jan 2013 10:18:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsxPe-0005Sr-1F for bug-gnu-emacs@gnu.org; Wed, 09 Jan 2013 10:17:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsxPc-00056Q-Kw for bug-gnu-emacs@gnu.org; Wed, 09 Jan 2013 10:17:53 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsxPc-00056J-Hj for bug-gnu-emacs@gnu.org; Wed, 09 Jan 2013 10:17:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TsxPm-0002ow-Bi for bug-gnu-emacs@gnu.org; Wed, 09 Jan 2013 10:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jan 2013 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13369 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13369-submit@debbugs.gnu.org id=B13369.135774466610817 (code B ref 13369); Wed, 09 Jan 2013 15:18:02 +0000 Original-Received: (at 13369) by debbugs.gnu.org; 9 Jan 2013 15:17:46 +0000 Original-Received: from localhost ([127.0.0.1]:58982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsxPV-0002oP-2B for submit@debbugs.gnu.org; Wed, 09 Jan 2013 10:17:46 -0500 Original-Received: from mail-pb0-f45.google.com ([209.85.160.45]:36452) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsxPQ-0002o9-TZ for 13369@debbugs.gnu.org; Wed, 09 Jan 2013 10:17:42 -0500 Original-Received: by mail-pb0-f45.google.com with SMTP id mc8so1008060pbc.4 for <13369@debbugs.gnu.org>; Wed, 09 Jan 2013 07:17:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=pRZ5QQ1eI5phI6gjcosjbUfMiw++loOkfBM9lWfFEpE=; b=MLEPfKRNaDTKcACrTiE8jtBygTogb24zC6Ahhl2LJSMvkOYLJ33OC4WF7OW1KkIGjF oPb8lSXtMhBvSiP4fA00UUS7n/K8umgofphkjRDRyl9KhHgkJ6M6Hd4n4JVZJ1KMoujF VhjgsCGLXRnpDbqSeMNlB5k/hmsP4JhmXq7YRhUtTt0RIJJGI48pT0UXkDljV6ukq96q bJBn0at3ShwVhwtQdlyTs5hhRwydQUc6XruzZ4WBwz65T54dHTqoWTMrPe+da3yltlPr nj1zTLFT6jj0BRlOQnQgsM4kybnqEevTjDdX4DHV9k0Q43yZuj91LKuPxHMY4jWn+kO2 bR+w== X-Received: by 10.68.223.135 with SMTP id qu7mr132941534pbc.134.1357744644972; Wed, 09 Jan 2013 07:17:24 -0800 (PST) Original-Received: from debian-6.05 ([115.242.226.118]) by mx.google.com with ESMTPS id m3sm42982761pav.4.2013.01.09.07.17.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Jan 2013 07:17:23 -0800 (PST) In-Reply-To: <7B5D3D47-4978-498F-905C-CB34B82D8FE1@bredband.net> ("Mattias \=\?utf-8\?Q\?Engdeg\=C3\=A5rd\=22's\?\= message of "Wed, 9 Jan 2013 15:31:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69543 Archived-At: Mattias Engdeg=C3=A5rd writes: Thanks, that was quick. May be you want to indicate whether you want to assign the copyright to that code FSF so that it could be improved upon by others and distributed with Emacs or GNU ELPA. >> Why not just share, instead of saying that you will be happy to do so. > > Sorry, I just assumed that someone already wrote such a thing=20 [OT, The following comment concerns re-builder] In re-builder, there is a way to convert between various regexp styles. It is bound to C-c TAB by default. It is not clear to me, whether re-builder supports rx-to-regexp conversions. When I try converting the following regexp (C-h v org-heading-regexp) in read format to rx format "^\\(\\*+\\)\\(?: +\\(.*?\\)\\)?[ \t]*$" I am seeing that the re-builder translates that to=20 ,---- | '() `---- with the following message=20 ,---- | rx-form: Unknown rx form `nil' `---- I am not sure whether that counts as bug. It is possible that re-builder doesn't support such translation or that I am using the interface wrongly. While,=20 (xr "^\\(\\*+\\)\\(?: +\\(.*?\\)\\)?[ \t]*$")) gives me (seq bol (group (one-or-more "*")) (opt (one-or-more " ") (group (minimal-match (zero-or-more nonl)))) (zero-or-more (any " " " ")) eol) > and that it would be more polished than my amateurish attempt. Here it > is. I will let others review the changes.=20=20 Some libraries like org.el use complex regexps. For someone who wants to dig deep in to what the regexps amount to, without resorting to pen-and-paper, one can imagine a utility which overlays or tooltips a regexp like string with it's rx counterpart. It could be quite useful.