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:28:05 +0200 Message-ID: <87tz781962.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 1233931455 976 80.91.229.12 (6 Feb 2009 14:44:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2009 14:44:15 +0000 (UTC) To: 2217@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 06 15:45:29 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 1LVRxQ-0002yM-QF for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 15:45:29 +0100 Original-Received: from localhost ([127.0.0.1]:54411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVRw7-0002UF-Mw for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Feb 2009 09:44:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVIYy-0008Kz-5c for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:43:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVIYw-0008Kn-Nk for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:43:35 -0500 Original-Received: from [199.232.76.173] (port=44766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVIYw-0008Kk-H2 for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:43:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38145) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVIYw-00076H-2U for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 23:43: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 n164hWHB031238; Thu, 5 Feb 2009 20:43:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n164Z3Ev028910; Thu, 5 Feb 2009 20:35:03 -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:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2217 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 2217-submit@emacsbugs.donarmstrong.com id=B2217.123389449227662 (code B ref 2217); Fri, 06 Feb 2009 04:35:03 +0000 Original-Received: (at 2217) by emacsbugs.donarmstrong.com; 6 Feb 2009 04:28:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n164S8YX027656 for <2217@emacsbugs.donarmstrong.com>; Thu, 5 Feb 2009 20:28:09 -0800 Original-Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh07-2.mail.saunalahti.fi (Postfix) with SMTP id 5B76A18D57C for <2217@emacsbugs.donarmstrong.com>; Fri, 6 Feb 2009 06:28:07 +0200 (EET) Original-Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by vs3-10.mail.saunalahti.fi ([62.142.5.94]) with SMTP (gateway) id A059A358C18; Fri, 06 Feb 2009 06:28:07 +0200 Original-Received: from jondo.cante.net (a91-155-187-216.elisa-laajakaista.fi [91.155.187.216]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 4667841BE7 for <2217@emacsbugs.donarmstrong.com>; Fri, 6 Feb 2009 06:28:06 +0200 (EET) 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:43:35 -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:24986 Archived-At: severity: minor thanks The value is also case sensitive. Here is slightly improved patch. 2009-02-06 Jari Aalto * add-log.el: Improve docstring by mentioning submatch 1. >From 60a95c697ccc35abbfce6950f081100549b0b3fd Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Fri, 6 Feb 2009 06:25:04 +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..c63e96d 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)'. +The value is case-sensitive." :type 'regexp :group 'change-log) -- 1.5.6.5