Commit Graph

30 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 91ce40a8bd mu4e-org: fix typo 2024-01-23 18:26:48 +02:00
Dirk-Jan C. Binnema 8c1466773f mu4e: get rid of mu4e-is-mode-or-derived-p
derived-mode-p is enough
2023-12-06 20:30:47 +02: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
John Hamelink 26ff8e539a
mu4e: Add optional message plist arg to mu4e--org-store-link-message
This change makes it possible to use the function in an mu4e action.
2023-03-07 00:58:12 +00:00
Dirk-Jan C. Binnema d55cba7237 mu4e: fix quotes in some docstrings
Escape correctly.
2023-02-15 12:29:24 +02:00
Dirk-Jan C. Binnema da02a954fa mu4e: avoid some compiler warnings 2023-01-04 23:06:07 +02:00
Dirk-Jan C. Binnema 68753f9e84 mu4e: move all obsolete aliases to mu4e-obsolete
Unclutter the rest of the code a bit.
2022-08-20 14:24:24 +03:00
Dirk-Jan C. Binnema a1f0c5e9eb mu4e: fix emacs-29 bytecompiler warnings
Wrong single quotes.
2022-05-28 00:51:08 +03:00
Nicholas Vollmer f82d5e62b7 mu4e-org-store-link: prevent error when no message at point
The error can cause org-store-link to short circuit before it should.
2022-05-24 17:26:34 -04:00
Dirk-Jan C. Binnema 45aec819f6 mu4e: updates for core changes
Deal with (name . email) --> (:name "boo" :email "boo@example.com")
Add support for the new "changed" field.
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema 113a831641 mu4e: add (from|to)nameoraddress properties for links
I.e. use name but fall back to address if there's no name.
2021-11-12 23:05:08 +02:00
Dirk-Jan C. Binnema 3a39eff1df mu4e-(actions|control|org|update).el: tidy up
Fix flycheck warnings, and use '--' instead of '~' for private
variables/functions.
2021-08-31 08:46:27 +03:00
Dirk-Jan C. Binnema dc14f93c06 mu4e: remove mu4e-utils
No longer needed; remove all traces.
2021-08-30 08:36:41 +03: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
Daniel Fleischer f6230467dc Customize the mu4e org link description
There's a default function that extracts the subject but users can
define their own function. Feature existed in @1.4.15.
2021-08-08 17:43: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
Dirk-Jan C. Binnema 8d1175f511 mu4e: avoid some compiler warnings
(require) necessary things etc.

warnings for using "obsolete" code are still there since things should
work on emacs 25.3
2021-03-11 10:17:00 +02:00
Dirk-Jan C. Binnema 53c9526871 mu4e: add org-mu4e-store-and-capture alias
Let it refer to the new function.

Fixes: #1905.
2021-01-18 08:12:42 +02:00
Dirk-Jan C. Binnema d7512b1259 mu4e-org: Use derived-mode-p correctly
Fixes: #1840
2020-11-24 00:17:17 +02:00
Dirk-Jan C. Binnema 13118ae173 mu4e-org: Don't trigger errors outside mu4e
The functions only work when in mu4e-view-mode/mu4e-headers-mode, which
implies that mu4e is already loaded. So no need to check.

Fixes #1829.
2020-11-15 17:20:52 +02:00
Dirk-Jan C. Binnema cfb59e36b0 mu4e-org: add missing defs when linking query
Fixes: #1714.
2020-06-01 09:55:24 +03:00
Dirk-Jan C. Binnema 7ed8d509ee mu4e-org: support more attributes for capturing
item                                                  description
-----------------------------------------------------+------------------------
%:date, %:date-timestamp, %d:date-timestamp-inactive | date, org timestamps
%:from, %:fromname, %:fromaddress                    | sender, name/address
%:to, %:toname, %:toaddress                          | recipient, name/address
%:maildir                                            | maildir for the message
%:message-id                                         | message-id
%:path                                               | file system path
%:subject                                            | message subject

Fixes #1678
2020-05-26 20:17:50 +03:00
Dirk-Jan C. Binnema b33fb85020 mu4e-org: warn if mu4e is not loaded
Fixes #1420.
2020-02-26 22:44:49 +02:00
Jonas Bernoulli 74332947a0 mu4e: Split libraries into outline sections 2020-02-18 23:49:50 +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 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
Jonas Bernoulli 96cd0632f9 mu4e: Improve consistency of library headers 2020-02-17 14:28:00 +01:00
Jonas Bernoulli 6790c0d015 mu4e: Fix indentation 2020-02-17 14:28:00 +01:00
Dirk-Jan C. Binnema e1e26d1da2 mu4e: update to use server maildir/database/addresses
Mkae mu4e-maildir and mu4e-personal-addresses obsolete, we get those
from the server.
2020-02-09 00:15:49 +02:00
Dirk-Jan C. Binnema 384fcc5df3 mu4e: add missing file 2019-12-10 23:36:35 +02:00