GNU bug report logs -
#79172
[PATCH] Add SPDX support to copyright.el
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Tags: patch
This patch updates copyright.el to auto-insert SPDX- declarations. There
is one new user-facing command 'copyright-spdx' and a few new
customizable variables.
It also makes the 'copyright' command use 'comment-add' so that the
comment marker ;; is correct in Lisp modes, for both the SPDX and
default formats.
While working on this I also noticed the copyright skeletons in
autoinsert.el are inconsistent - they have an extra space relative to
those of copyright.el. IMO autoinsert.el should be adjusted to use the
copyright.el code instead of reimplementing it.
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.33, cairo version 1.16.0) of 2025-05-04 built on pop-os
Repository revision: 159e3a981ed5482393182b036e38818d42405c90
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Pop!_OS 22.04 LTS
[0001-Add-SPDX-support-to-copyright.el.patch (text/x-diff, attachment)]
This bug report was last modified 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.