Commit Graph

29 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 8fc13ab8f3 mu4e: Shorten descriptions a bit 2023-09-20 22:31:19 +03:00
Thierry Volpiatto 67c8ff75a7 Fix missing or incorrect descriptions in file headers
Try to make useful descriptions and use conventional --- to separate filename
from description.
2023-09-20 22:04:48 +03:00
Dirk-Jan C. Binnema 616282c4ad mu4e: add mu4e-listp for backward compat
The listp function was only added to emacs 29.

Fixes #2499.
2023-06-08 18:51:22 +03:00
Dirk-Jan C. Binnema d07247b2dd mu4e: add function to get archive-url for mailing list
This is a bit simplified version of the one in mu4e-list-archives.el.
2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 91fea8e16e Merge branch 'view-list-archives' 2023-05-07 11:42:46 +03:00
Dirk-Jan C. Binnema 581f8d7e92 mu4e-lists: doc updates 2023-05-06 09:53:56 +03:00
Dirk-Jan C. Binnema 8e724e73e9 mu4e-lists: remove some debugging
surgeon left some instruments in patient; let's remove.
2023-05-06 09:46:32 +03:00
Ruijie Yu da41f5060d Add functionality for finding an online archive for a ML message
* mu4e/mu4e-lists.el (defgroup mu4e-lists): New group.

* mu4e/mu4e-list-archives.el: New file.
(defgroup mu4e-list-archives): New group.
(defcustom mu4e-list-archives-user-actions): New customizable
variable for locating online archive.
(mu4e-list-archives--get-recipients): New helper function for
getting all recipients of a mail.
(mu4e-list-archives-resolve-debbug): New function for resolving
archive url on debbug systems.
(mu4e-list-archives--resolve-namazu): New helper function for
resolving real archive url from namazu search page.
(defcustom mu4e-list-archives-resolve-namazu-search): New
customizable variable for disabling namazu resolution because it
incurs a url fetch.
(mu4e-list-archives-resolve-mailman-namazu): New function for
getting the namazu search url for mailman systems.  This is as
close as possible without fetching any url.
(defconst mu4e-list-archives-actions): New constant for builtin
supported mailing lists.
(mu4e-list-archives-resolve): New function to resolve the concrete
url to the mailing list archive.

* mu4e/mu4e-actions.el (mu4e-actions-browse-list-archive): New
command for browsing the online archive of a mailing list.
(mu4e-actions-kill-list-archive): New command for putting the url
to the online archive of a mailing list onto the kill ring.
2023-05-05 23:09:33 +08:00
Dirk-Jan C. Binnema 88ec2b86ce mu4e-lists: modernize
Remove some obsolete mailing lists form the "built-in" ones.

Make the mailing list blob plists, so we can more easily add new ones.

Update the handler functions for this.
2023-05-04 20:47:42 +03:00
Dirk-Jan C. Binnema a4707afe12 mu4e: cleanups and flycheck fixes
- Remove some unused faces
- Fix some flycheck warnings
- Replace some `cl-` functions with `pcase` and `seq`
2022-01-23 14:27:00 +02:00
Christophe Troestler 76e0a79d87 mu4e-list: fix typo 2021-09-07 11:54:04 +02:00
Dirk-Jan C. Binnema 9157d9102d mu4e-utils: refactor into mu4e-helpers, separate files
Usurp more of the utils code than can be re-used without further dependencies in
helpers.

Split off specific parts in their own file.

After the helper/utils changes, update the rest of mu4e to take the changes into
account.
2021-08-29 21:40:42 +03:00
Salman Mohammadi 539a946aa4
mu4e/*: fix license notice at the start of source files
At the start of mu4e/* files, the license has been wrongly attributed
to GNU Emacs instead of mu4e.

Fixes https://github.com/djcb/mu/issues/2019
2021-05-29 23:45:10 +02:00
Jonas Bernoulli 040c6578be mu4e: Place provide forms in their own sections
Use "_" as the title of that section so that it is less distracting
when sections are collapsed to get an overview of the library.

Using a separate section is useful because it reduces the risk of
accidentally into the middle of a library.
2020-02-18 23:49:50 +02:00
Jonas Bernoulli 6c58a311d1 mu4e: Add missing mandatory "FILE ends here" library footer 2020-02-18 23:49:50 +02:00
Jonas Bernoulli 15c6680037 mu4e: Add missing mandatory "Code:" section headers 2020-02-18 23:49:50 +02:00
Jonas Bernoulli 83f0c9cea9 mu4e: Remove excess semicolons from library headers
Placing two semicolons on an otherwise empty line helps to logically
"connect" the surrounding "paragraphs", which in (only) some cases
makes sense.

Previously the three paragraphs of the permission statement were not
connected to each other like this, which is perfectly fine.  However
the preceding "This file is not part of GNU Emacs." line was connected
to the first paragraph, which does not make sense considering that the
latter is not connected two the second paragraph, which it relates to
more.

Once those two semicolons are gone, it also makes sense to remove
those from the second line.
2020-02-18 23:49:50 +02:00
Thierry Volpiatto e4f5576cfc
Add lexical-binding to all files and fix warnings
about free variables (declare) and unused lexical vars (prefix with "_").
2019-09-16 19:54:59 +02:00
djcb 6e646ea794 mu4e: add webrtc to mailing-lists 2018-08-12 14:00:59 +03:00
Anders Johansson e0fd8ed3ba Use defcustom for the customizable variables in mu4e-lists.el 2017-11-26 15:47:13 +01:00
djcb 967b3cb727 mu4e: update copyright years 2016-01-09 21:28:03 +02:00
djcb 4bca0d0739 mu4e: improve documentation for mailing-lists
And fix a typo.
2015-12-23 21:26:21 +02:00
Hinrik Örn Sigurðsson 77529b105e Allow specifying list shortnames with regexes
This way mu4e will intelligently shorten mailing list names which
contain dots:

    (setq mu4e-mailing-list-patterns
          '("\\([a-z0-9.]+\\)\.lists\.company\.com"))
2015-11-14 00:04:26 +00:00
djcb 9f61a0387d * mu4e: add curl list to mailing lists 2014-06-16 21:47:36 +03:00
djcb df589250ed * mu4e: update the list of known mailing-lists 2013-09-07 08:57:04 +03:00
djcb 5f6c8566f7 * mu4e: add small note to mu4e-lists.el 2013-03-22 22:22:05 +02:00
djcb 382ccc2e2e * improvements in the :mailing-list field 2012-12-26 13:01:36 +02:00
djcb 1e6b7792d6 * better handling of mailing lists which are not in the shortcuts lists 2012-12-22 11:48:02 +02:00
djcb 10ad5ce2ca * mu4e: add support for display mailing list (short)names in headers/view mode 2012-12-18 23:29:17 +02:00