From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.bugs Subject: bug#2217: [PATCH] add-log.el (add-log-current-defun-header-regexp): Improve docstring Date: Fri, 06 Feb 2009 06:02:24 +0200 Message-ID: <87eiyc5i27.fsf@jondo.cante.net> Reply-To: Jari Aalto , 2217@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233931450 960 80.91.229.12 (6 Feb 2009 14:44:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2009 14:44:10 +0000 (UTC) To: Emacs bug BTS Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 06 15:45:24 2009 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.50) id 1LVRxA-0002rX-NZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 15:45:13 +0100 Original-Received: from localhost ([127.0.0.1]:54232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVRvr-0002KV-O3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 09:43:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVIFe-0000kW-62 for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:23:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVIFa-0000kK-Mb for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:23:36 -0500 Original-Received: from [199.232.76.173] (port=36159 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVIFa-0000kH-Gu for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:23:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43251) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVIFa-0005b5-0d for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:23:34 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n164NW7j026437; Thu, 5 Feb 2009 20:23:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n164A48F022990; Thu, 5 Feb 2009 20:10:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jari Aalto Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 06 Feb 2009 04:10:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2217 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123389295220841 (code B ref -1); Fri, 06 Feb 2009 04:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Feb 2009 04:02:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1642RPF020835 for ; Thu, 5 Feb 2009 20:02:29 -0800 Original-Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [62.142.5.96]) by emh04-2.mail.saunalahti.fi (Postfix) with SMTP id A5BE013B668 for ; Fri, 6 Feb 2009 06:02:26 +0200 (EET) Original-Received: from emh06.mail.saunalahti.fi ([62.142.5.116]) by vs3-12.mail.saunalahti.fi ([62.142.5.96]) with SMTP (gateway) id A016379574C; Fri, 06 Feb 2009 06:02:26 +0200 Original-Received: from picasso.cante.net (a91-155-187-216.elisa-laajakaista.fi [91.155.187.216]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id 96131E51A5 for ; Fri, 6 Feb 2009 06:02:25 +0200 (EET) Original-Received: from [192.168.1.7] (helo=jondo.cante.net) by picasso.cante.net with esmtp (Exim 4.69) (envelope-from ) id 1LVHv6-0001Ce-6l for submit@emacsbugs.donarmstrong.com; Fri, 06 Feb 2009 06:02:24 +0200 Original-Received: from jaalto by jondo.cante.net with local (Exim 4.69) (envelope-from ) id 1LVHv6-0001TH-A0 for submit@emacsbugs.donarmstrong.com; Fri, 06 Feb 2009 06:02:24 +0200 X-SA-Exim-Connect-IP: 192.168.1.7 X-SA-Exim-Mail-From: jari.aalto@cante.net X-SA-Exim-Scanned: No (on picasso.cante.net); SAEximRunCond expanded to false X-Antivirus: VAMS X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 05 Feb 2009 23:23:36 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:24985 Archived-At: Tags: patch 2009-02-06 Jari Aalto * add-log.el: Improve docstring by mentioning submatch 1. >From d936b3faf4372e5538bee950f2145870196e257c Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Fri, 6 Feb 2009 06:01:53 +0200 Subject: [PATCH] lisp/add-log.el: (add-log-current-defun-header-regexp): Improve docstring Signed-off-by: Jari Aalto --- lisp/add-log.el | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lisp/add-log.el b/lisp/add-log.el index 00e3172..c43a548 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el @@ -1095,7 +1095,9 @@ Prefix arg means justify as well." (defcustom add-log-current-defun-header-regexp "^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alpha:]]+\\)[ \t]*[:=]" - "Heuristic regexp used by `add-log-current-defun' for unknown major modes." + "Heuristic regexp used by `add-log-current-defun' for unknown major modes. +The regular expression's submatch 1 is used for the text in '(parenthesis)'." +text in '(parentheses)'." :type 'regexp :group 'change-log) -- 1.5.6.5