From: Jean Louis <bugs@gnu.support>
To: help-gnu-emacs@gnu.org
Subject: Re: New package for Sweden: package-header.el - was Re: Interacting with minibuffer
Date: Sun, 23 May 2021 01:51:36 +0300 [thread overview]
Message-ID: <YKmK+CfcAgVh/G8b@protected.localdomain> (raw)
In-Reply-To: <8735ue4cup.fsf@zoho.eu>
* Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2021-05-23 01:35]:
For buc.el:
;;; Keywords: man pages
Keywords are not words which people think they are, find here:
(info "(elisp) Library Headers")
‘Keywords’
This line lists keywords for the ‘finder-by-keyword’ help command.
Please use that command to see a list of the meaningful keywords.
The command ‘M-x checkdoc-package-keywords <RET>’ will find and
display any keywords that are not in ‘finder-known-keywords’. If
you set the variable ‘checkdoc-package-keywords-flag’ non-‘nil’,
checkdoc commands will include the keyword verification in its
checks.
This field is how people will find your package when they’re
looking for things by topic. To separate the keywords, you can use
spaces, commas, or both.
The name of this field is unfortunate, since people often assume it
is the place to write arbitrary keywords that describe their
package, rather than just the relevant Finder keywords.
Convenient functions to insert proper keywords are:
(defun package-header-keywords ()
"Return Emacs package keywords completion candidates."
(mapcar 'symbol-name (map-keys finder-known-keywords)))
(defun package-header-ask-keywords ()
"Ask author for package keywords."
(let ((keywords '())
(keyword))
(while (string-match "[^[:blank:]]"
(setq keyword
(completing-read "Keywords: " (package-header-keywords) nil t)))
(push keyword keywords))
(when keywords
(mapconcat 'identity (sort keywords #'string<) " "))))
(defun package-header-insert-keywords ()
"Insert keywords for Emacs package header."
(interactive)
(insert (package-header-ask-keywords)))
But checkdoc-package-keywords is not properly giving error in your
case. You have many incorrect keywords. You better verify it with:
M-x finder-list-keywords
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2021-05-22 22:51 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-22 18:45 Interacting with minibuffer Sébastien Le Callonnec
2021-05-22 20:21 ` Jean Louis
2021-05-22 20:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 21:55 ` New package for Sweden: package-header.el - was " Jean Louis
2021-05-22 22:01 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:08 ` Jean Louis
2021-05-22 22:14 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:28 ` Jean Louis
2021-05-22 22:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:56 ` Jean Louis
2021-05-22 23:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:13 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:44 ` Jean Louis
2021-05-22 22:54 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:20 ` Jean Louis
2021-05-22 22:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:51 ` Jean Louis [this message]
2021-05-22 22:57 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 23:10 ` Jean Louis
2021-05-23 0:20 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-23 0:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-23 1:13 ` Jean Louis
2021-05-23 1:29 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-23 1:42 ` Jean Louis
2021-05-23 1:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-23 1:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 22:11 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-22 21:20 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-05-23 6:38 ` Eli Zaretskii
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=YKmK+CfcAgVh/G8b@protected.localdomain \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.