GNU bug report logs - #48037
28.0.50; add-change-log-entry does not detect name with digit

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Mon, 26 Apr 2021 15:50:01 UTC

Severity: normal

Found in version 28.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 48037 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 48037 <at> debbugs.gnu.org
Subject: Re: bug#48037: 28.0.50; add-change-log-entry does not detect name
 with digit
Date: Tue, 27 Apr 2021 06:09:50 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

>  (defcustom add-log-current-defun-header-regexp
> -  "^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alpha:]]+\\)[ \t]*[:=]"
> +  "^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alnum:]]+\\)[ \t]*[:=]"
>    "Heuristic regexp used by `add-log-current-defun' for unknown major modes.

This would also catch stuff like

2:
  stage: slow

which looks like a false positive?  So I think there should be some
alpha in there.  Probably.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.