notmuch/emacs
Jonas Bernoulli 11ac932a45 emacs: Use cl-lib' instead of deprecated cl'
Starting with Emacs 27 the old `cl' implementation is finally
considered obsolete.  Previously its use was strongly discouraged
at run-time but one was still allowed to use it at compile-time.

For the most part the transition is very simple and boils down to
adding the "cl-" prefix to some symbols.  A few replacements do not
follow that simple pattern; e.g. `first' is replaced with `car',
even though the alias `cl-first' exists, because the latter is not
idiomatic emacs-lisp.

In a few cases we start using `pcase-let' or `pcase-lambda' instead
of renaming e.g. `first' to `car'.  That way we can remind the reader
of the meaning of the various parts of the data that is being
deconstructed.

An obsolete `lexical-let' and a `lexical-let*' are replaced with their
regular variants `let' and `let*' even though we do not at the same
time enable `lexical-binding' for that file.  That is the right thing
to do because it does not actually make a difference in those cases
whether lexical bindings are used or not, and because this should be
enabled in a separate commit.

We need to explicitly depend on the `cl-lib' package because Emacs
24.1 and 24.2 lack that library.  When using these releases we end
up using the backport from GNU Elpa.

We need to explicitly require the `pcase' library because
`pcase-dolist' was not autoloaded until Emacs 25.1.
2020-04-27 07:36:10 -03:00
..
.gitignore emacs: build docstring (rsti) files 2018-12-08 08:49:31 -04:00
coolj.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
make-deps.el Use https instead of http where possible 2016-06-05 08:32:17 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local build: drop variable HAVE_EMACS. use WITH_EMACS instead 2019-06-12 19:58:30 -03:00
notmuch-address.el emacs/address: use member instead of memq to check for pair 2017-09-12 22:17:32 -03:00
notmuch-company.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-compat.el emacs: compat: backport fix for folding long headers when sending 2017-03-04 21:16:42 -04:00
notmuch-crypto.el emacs: Declare function notmuch-show-get-message-id 2020-04-16 07:58:20 -03:00
notmuch-draft.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-emacs-mua notmuch-emacs-mua: add --hello parameter 2016-11-26 08:15:11 -04:00
notmuch-emacs-mua.desktop emacs: add keywords to notmuch-emacs-mua.desktop 2019-06-29 21:06:18 +02:00
notmuch-hello.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-jump.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-lib.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-logo.png emacs: Add notmuch-hello.el, a friendly frontend to notmuch 2010-04-23 12:50:18 -07:00
notmuch-maildir-fcc.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-message.el emacs: Tag forwarded messages with +forwarded (customizable) 2019-04-14 08:00:44 -03:00
notmuch-mua.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-parser.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-pkg.el.tmpl emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-print.el emacs: use ".ps" suffix for PostScript temporary files. 2019-01-30 07:15:59 -04:00
notmuch-query.el cli/show: make --decrypt take a keyword. 2017-12-29 16:45:46 -04:00
notmuch-show.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-tag.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-tree.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
notmuch-version.el.tmpl Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-wash.el emacs: require notmuch-lib from notmuch-wash.el 2018-10-21 10:30:32 -03:00
notmuch.el emacs: Use cl-lib' instead of deprecated cl' 2020-04-27 07:36:10 -03:00
rstdoc.el emacs: initial version of rstdoc.el 2018-12-08 08:45:48 -04:00
rstdoc.rsti emacs: initial version of rstdoc.el 2018-12-08 08:45:48 -04:00