notmuch/emacs
David Edmondson c506e1034b emacs: Avoid runtime use of `cl'.
The GNU Emacs Lisp Reference Manual section D.1 says:

> *  Please don't require the cl package of Common Lisp extensions at
>    run time. Use of this package is optional, and it is not part of
>    the standard Emacs namespace. If your package loads cl at run time,
>    that could cause name clashes for users who don't use that package.
>
>    However, there is no problem with using the cl package at compile
>    time, with (eval-when-compile (require 'cl)). That's sufficient for
>    using the macros in the cl package, because the compiler expands
>    them before generating the byte-code.

Follow this advice, requiring the following changes where `cl' was
used at runtime:

- replace `rassoc-if' in `notmuch-search-buffer-title' with the `loop'
  macro and inline code. At the same time find the longest prefix
  which matches the query rather than simply the last,
- replace `union', `intersection' and `set-difference' in
  `notmuch-show-add-tag' and `notmuch-show-remove-tag' with local code
  to calculate the result of adding and removing a list of tags from
  another list of tags.
2010-10-27 17:41:50 -07:00
..
coolj.el emacs: Add more functions to clean up text/plain parts 2010-04-26 10:05:46 -07:00
Makefile emacs: Move emacs UI (currently just one file) to subdirectory. 2010-03-09 12:13:33 -08:00
Makefile.local Add notmuch-message.el to emacs/Makefile.local 2010-04-27 10:19:09 -07:00
notmuch-address.el emacs: Tell the user how many addresses matched when completing 2010-04-26 10:58:42 -07:00
notmuch-hello.el emacs: Avoid runtime use of `cl'. 2010-10-27 17:41:50 -07:00
notmuch-lib.el emacs: Explicitly set the From address when composing a new message. 2010-10-27 17:04:48 -07: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 Move notmuch-fcc-header-setup to message-header-setup-hook. 2010-10-27 17:36:02 -07:00
notmuch-message.el emacs: Add auto-tagging for replied messages. 2010-04-27 09:16:10 -07:00
notmuch-mua.el emacs: Explicitly set the From address when composing a new message. 2010-10-27 17:04:48 -07:00
notmuch-query.el notmuch-query.el: new file to support access to the notmuch database. 2010-04-05 11:08:45 -07:00
notmuch-show.el emacs: Avoid runtime use of `cl'. 2010-10-27 17:41:50 -07:00
notmuch-wash.el emacs: More functionality for `notmuch-wash-tidy-citations'. 2010-06-03 18:17:03 -07:00
notmuch.el emacs: Avoid runtime use of `cl'. 2010-10-27 17:41:50 -07:00