* admin/release-process: Expand on 'cusver-check'.
* lisp/editorconfig.el (editorconfig-indentation-alist)
(editorconfig-trim-whitespaces-mode):
* lisp/eshell/em-cmpl.el (eshell-cmpl-remote-file-ignore):
* lisp/eshell/esh-ext.el (eshell-explicit-remote-commands):
* lisp/gnus/nnfeed.el (nnfeed-date-format):
* lisp/net/newst-ticker.el (newsticker-ticker-period):
* lisp/progmodes/cc-vars.el (c-warn-ids-with-dollar):
* lisp/progmodes/cperl-mode.el (cperl-fontify-trailer):
* lisp/progmodes/eglot.el (customize-package-emacs-version-alist)
(eglot-events-buffer-config, eglot-confirm-server-edits)
(eglot-prefer-plaintext):
* lisp/progmodes/flymake.el (customize-package-emacs-version-alist):
* lisp/progmodes/ruby-mode.el (ruby-rubocop-use-bundler):
* lisp/progmodes/verilog-mode.el
(verilog-indent-ignore-multiline-defines)
(verilog-indent-ignore-regexp, verilog-indent-class-inside-pkg)
(verilog-align-decl-expr-comments)
(verilog-align-comment-distance, verilog-align-assign-expr)
(verilog-align-typedef-regexp, verilog-align-typedef-words)
(verilog-fontify-variables):
* lisp/register.el (register-preview-display-buffer-alist):
* lisp/vc/vc-annotate.el (vc-annotate-use-short-revision): Add
missing :version tags and additions to
'customize-package-emacs-version-alist' as appropriate.
(cherry picked from commit
77243ba5be8c8e5319c4b07fabed6fee66e6ac7f)
** For a major release, add a "New in Emacs XX" section to faq.texi.
** cusver-check from admin.el can help find new defcustoms missing
-:version tags.
+:version tags. This asks for new and old Lisp directories; use the one
+in the current release branch as New and the one from the last released
+Emacs version as Old.
+
+Note that this doesn't (yet) know about :package-version and
+'customize-package-emacs-version-alist', so it could produce false
+positives for packages that use :package-version. Make sure the files
+with defcustoms that use :package-version have the appropriate
+add-to-list that determines the correspondence between package versions
+and Emacs versions. Any changes you make in :version etc. should be
+tested by running "M-x customize-changed" after regenerating cus-load.el
+(run "make custom-deps" in the lisp/ directory) and loaddefs.el (run
+"make autoloads-force").
** Manuals
Check for node names using problematic characters:
(repeat
(choice symbol
(cons symbol integer)))))
+ :version "30.1"
:risky t)
(defcustom editorconfig-trim-whitespaces-mode nil
If set, enable that mode when `trim_trailing_whitespace` is set to true.
Otherwise, use `delete-trailing-whitespace'."
+ :version "30.1"
:type 'symbol)
(defvar-local editorconfig-properties-hash nil
(defcustom eshell-cmpl-remote-file-ignore nil
(eshell-cmpl--custom-variable-docstring 'pcomplete-remote-file-ignore)
- :type (get 'pcomplete-remote-file-ignore 'custom-type))
+ :type (get 'pcomplete-remote-file-ignore 'custom-type)
+ :version "30.1")
(defcustom eshell-cmpl-ignore-case (eshell-under-windows-p)
(eshell-cmpl--custom-variable-docstring 'completion-ignore-case)
commands on your local host by using the \"/local:\" prefix, like
\"/local:whoami\"."
:type 'boolean
+ :version "30.1"
:group 'eshell-ext)
;;; Functions:
(defcustom nnfeed-date-format "%F %X%p"
"Format of displayed dates (see function `format-time-string')."
+ :version "30.1"
:type 'string)
(nnoo-declare nnfeed)
recommended."
:type 'number
:set #'newsticker--set-customvar-ticker
+ :version "30.1"
:group 'newsticker-ticker)
(defcustom newsticker-scroll-smoothly
non-nil, e.g. C, C++, Objective C. It covers languages where
\"$\" is permitted in ids \"informally\", but only by some compilers."
:type 'boolean
+ :version "30.1"
:group 'c)
(defcustom-c-stylevar c-basic-offset 4
imenu entries."
:type '(choice (const perl-code)
(const comment))
+ :version "30.1"
:group 'cperl-faces)
(defcustom cperl-ps-print-face-properties
:prefix "eglot-"
:group 'tools)
+(add-to-list 'customize-package-emacs-version-alist
+ '(Eglot ("1.12" . "29.1")
+ ("1.12" . "29.2")
+ ("1.12" . "29.3")
+ ("1.12.29" . "29.4")
+ ("1.17.30" . "30.1")))
+
(defun eglot-alternatives (alternatives)
"Compute server-choosing function for `eglot-server-programs'.
Each element of ALTERNATIVES is a string PROGRAM or a list of
(choice
(const :tag "Full with original JSON" full)
(const :tag "Shortened" short)
- (const :tag "Pretty-printed lisp" lisp))))))
+ (const :tag "Pretty-printed lisp" lisp)))))
+ :package-version '(Eglot . "1.17.30"))
(defcustom eglot-confirm-server-edits '((eglot-rename . nil)
(t . maybe-summary))
(alist :tag "Per-command alist"
:key-type (choice (function :tag "Command")
(const :tag "Default" t))
- :value-type (choice . ,basic-choices)))))
+ :value-type (choice . ,basic-choices))))
+ :package-version '(Eglot . "1.17.30"))
(defcustom eglot-extend-to-xref nil
"If non-nil, activate Eglot in cross-referenced non-project files."
(defcustom eglot-prefer-plaintext nil
"If non-nil, always request plaintext responses to hover requests."
- :type 'boolean)
+ :type 'boolean
+ :package-version '(Eglot . "1.17.30"))
(defcustom eglot-menu-string "eglot"
"String displayed in mode line when Eglot is active."
:type '(choice (const :tag "Don't show progress" nil)
(const :tag "Show progress in *Messages*" messages)
(const :tag "Show progress in Eglot's mode line indicator" t))
- :version "1.10")
+ :package-version '(Eglot . "1.10"))
(defcustom eglot-ignored-server-capabilities (list)
"LSP server capabilities that Eglot could use, but won't.
:link '(custom-manual "(flymake) Top")
:group 'tools)
+(add-to-list 'customize-package-emacs-version-alist
+ '(Flymake ("1.3.4" . "30.1")
+ ("1.3.5" . "30.1")
+ ("1.3.6" . "30.1")))
+
(defcustom flymake-error-bitmap '(flymake-double-exclamation-mark
compilation-error)
"Bitmap (a symbol) used in the fringe for indicating errors.
:type '(choice (const :tag "Always" t)
(const :tag "No" nil)
(const :tag "If rubocop is in Gemfile" check))
+ :version "30.1"
:safe 'booleanp)
(defun ruby-flymake-rubocop (report-fn &rest _args)
(defcustom vc-annotate-use-short-revision t
"If non-nil, \\[vc-annotate] will use short revisions in its buffer name."
:type 'boolean
+ :version "30.1"
:group 'vc)
(defvar-keymap vc-annotate-mode-map