From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect:master commit in: /, misc/
Date: Sat, 22 Mar 2025 14:14:45 +0000 (UTC) [thread overview]
Message-ID: <1742624891.cce9bc832459eec6aea11dae34f6886244dc44e4.ulm@gentoo> (raw)
commit: cce9bc832459eec6aea11dae34f6886244dc44e4
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 22 06:28:11 2025 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 06:28:11 2025 +0000
URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=cce9bc83
eselect-mode: Update copyright regexp
* misc/eselect-mode.el (eselect-mode-copyright-regexp): Allow some
variants, e.g. "Copyright (c)" which is used in eselect libs.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
ChangeLog | 3 +++
misc/eselect-mode.el | 5 +++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e8579f5..e145efb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2025-03-22 Ulrich Müller <ulm@gentoo.org>
+ * misc/eselect-mode.el (eselect-mode-copyright-regexp): Allow some
+ variants, e.g. "Copyright (c)" which is used in eselect libs.
+
* modules/rc.eselect (module_load_hook): New function; warn about
the module being deprecated.
* libs/core.bash.in (do_action): Call the module_load_hook
diff --git a/misc/eselect-mode.el b/misc/eselect-mode.el
index 3c4e55f..4a1eca4 100644
--- a/misc/eselect-mode.el
+++ b/misc/eselect-mode.el
@@ -1,6 +1,6 @@
;;; eselect-mode.el --- edit eselect files -*-lexical-binding:t-*-
-;; Copyright 2006-2024 Gentoo Authors
+;; Copyright 2006-2025 Gentoo Authors
;; Author: Matthew Kennedy <mkennedy@gentoo.org>
;; Diego Pettenò <flameeyes@gentoo.org>
@@ -48,7 +48,8 @@
:group 'eselect)
(defvar eselect-mode-copyright-regexp
- "^#[ \t]*Copyright[ \t]+\\([1-9][0-9]+\\)\\(?:-\\([1-9][0-9]+\\)\\)?\
+ "^#[ \t]*\\(?:Copyright\\(?:[ \t]+([Cc])\\|[ \t]+©\\)?\\|([Cc])\\|©\\)\
+[ \t]+\\([1-9][0-9]+\\)\\(?:-\\([1-9][0-9]+\\)\\)?\
[ \t]+\\(.*\\<Gentoo Authors\\>.*\\)")
;;; Font-lock.
next reply other threads:[~2025-03-22 14:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-22 14:14 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 20:26 [gentoo-commits] proj/eselect:master commit in: /, misc/ Ulrich Müller
2023-06-12 16:24 Ulrich Müller
2023-02-27 17:40 Ulrich Müller
2022-05-01 17:35 Ulrich Müller
2022-05-01 17:35 Ulrich Müller
2014-06-05 11:22 Ulrich Müller
2013-11-15 8:01 [gentoo-commits] proj/eselect:nolinewrap " Ulrich Müller
2013-11-15 6:21 ` [gentoo-commits] proj/eselect:master " Ulrich Müller
2013-09-18 7:10 Ulrich Mueller
2013-07-05 13:37 Ulrich Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1742624891.cce9bc832459eec6aea11dae34f6886244dc44e4.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox