Commit Graph

245 Commits

Author SHA1 Message Date
06b8d3fc5b mu4e-view: improve html support, link-indicators
Use the updated support for HTML messages (even converting plain-text
only). Update the link detection, clean up.

Add links for e-mail addresses too, not just ones that start with
mailto:.

Only show link-indicators when mu4e-view-go-to-url or mu4e-view-save-url
are invoked, or with mu4e-view-always-show-indicator set to non-nil.

Update docs.
2026-08-20 15:05:30 -07:00
2d022f1756 mu4e: cite region in reply
When replying to a message with some part selected / marked, cite only
that part.

Implements ancient feature-request, issue #44.
2026-08-20 15:05:30 -07:00
9b6a277eca mu4e: allow listing org-links
New command mu4e-org-agenda-links to pop up a buffer with a tabulated
list of the mu4e links in your org-agenda-files
x
This is just a little experiment.
2026-08-20 15:05:30 -07:00
e1e64db7f0 mu4e: update docs 2026-08-20 15:05:29 -07:00
b33f1450f0 mu4e-view: update field handling
Restrict fields in mu4e-view-fields. Make the defcustom a bit more
helpful by checking for valid fields.

Add :labels to default fields

Remove some unused code.
2026-08-20 15:05:29 -07:00
0aff86690a mu4e/NEWS: mention sign-signed-replies, doc update 2026-08-20 15:05:29 -07:00
e526386395 mu4e-view: support icons for message view
Support showing the icons in the message view as well.
(see previous commit)
2026-08-20 15:05:29 -07:00
1dc02a72ac mu4e: support icons for mime-types
In mu4e-view-mime-part-action, support icons or, well, "icons".

For this to work user needs to install a package like nerd-icons and set
mu4e-file-name-to-icon-function to #'nerd-icons-icon-for-file. (see
docstring for details)
2026-08-20 15:05:29 -07:00
23e28fd1ae mu4e: be more careful deleting frames
Remember the exact frame we created, and only kill that one.

Ensure mu4e-compose-post-hook fires at most once.
2026-08-20 15:05:29 -07:00
1cf07a7e9f NEWS.org: update release date 2026-08-20 15:05:28 -07:00
22df47100d Trivial typo fixes 2026-08-20 15:05:28 -07:00
8c067f8726 mu4e-compose: allow including parent mime parts
mu4e-compose-reply-include-mime-types specifies the mime-types for
message attachments that should be included in replies, with the default
set to "text/x-patch" -- i.e., patches are included in replies, so you
can comment on them.

As mentioned in #2896.
2026-08-20 15:05:28 -07:00
d8d02b6d6a NEWS.org: update 2026-08-20 15:05:28 -07:00
3b2ee0bbc7 mu4e-main: -hide-personal-addresses can be a number
mu4e-main-hide-personal-addresses can now also be number, which
indicates the maximum number of personal addresses to show in the main
view.

Remove the 'user-mail-address' tip, perhaps it annoyed more than it
helped?
2026-08-20 15:05:28 -07:00
06b4625e61 build: bump to 1.14.0-pre1, bump some required versions
Bump the required versions of some libraries / emacs slightly so we can get rid
of some special-casing and work-arounds. These are mostly based on Ubuntu 24.04
LTS, which is rather conservative; so should hopefully not inconvenience any
users.

- compiler: we now require C++20 instead of C++17
- glib & friends: 2.60 => 2.80
- xapian: 1.4 => 1.4.22
- emacs 26.3 => 28.1

Ubuntu 24.04 actually has Emacs 29.3, but that'd perhaps be too big a jump.
2026-08-20 15:05:28 -07:00
bfcb313cf2 mu4e: update docs for mu4e-view-save-attachments 2026-08-20 15:05:24 -07:00
8798e43037 NEWS.org: remove duplicate word
"the the" -> "the"

Update the indentation for the news entry.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2026-08-20 15:04:27 -07:00
4ec222f653 mu4e: implement mu4e-dbus-mode
For emacsen that support DBus, implement mu4e-dbus-mode, an experimental mode to
make some mu4e runtime information available outside emacs.
2026-08-20 15:04:27 -07:00
8afef75b30 scm: add convenience methods root-maildir, personal-addresses
For a store, so to avoid assoc-ref.
2026-08-20 15:04:27 -07:00
52f44653b0 scm: return empty lists instead of #f for some methods
Some methods that returned lists would return ~#f~ when there were no
results (e.g., to, from, cc, bcc, references, labels); however, it's
nicer to return an empty list instead, which what we now do. Technically a
breaking change, but justified while we are still 'experimental'.
2026-08-20 15:04:27 -07:00
7526777c7d mu4e: implement mu4e-quit-hook
As seen on r/emacs.
2026-08-20 15:04:26 -07:00
42bc5a19ad build: bump version to 1.12.13
New stable release 1.12.13. This contains improvements to the build process, the
Guile/Scheme binding ("SCM") and a new experimental "labels" sub-command. Let's
start with that last one.

* Labels

There's a new, experimental feature: *labels*. Labels are similar to the
existing "tags", but better integrated with both mu and mu4e,

You can search for message with a given label using 'label:', e.g
  $ mu find label:tupperware

Or add/remove labels, e.g., remove the label "planet" and add the label
"dwarf-planet" to all messages that have "pluto" in their subject:

  $ mu labels update "subject:pluto" --labels -planet,+dwarf-planet

Clear all labels from messages with the label "boring":

  $ mu labels clear "label:boring"

Labels are only stored in mu's database, and do not write to the message file
themselves. I.e., when you remove your database, your labels are gone. However,
you can use the `mu labels export` and `mu labels import` to save/restore them;
see the mu-labels(1) man-page for details.

In mu4e, you can do the same using `mu4e-headers-mark-for-label` (bound to `l`)
and clearing with `mu4e-headers-mark-for-unlabel` (bound to 'L').

I.e., mark some messages (or the current one by default), and in the
headers-buffer type
   l -planet +dwarf-planet RET
This works similar to the other marks.

There's autocompletion as well, both for search (label:) and marking (after +/-)

It's experimental, but it seems quite useful so far. See the man-page for
further details.

* SCM

The SCM/Guile bindings have been improved substantially; some common operations
are much faster (algorithmically). Also, the "glue" was added to interact with
Emacs and the "geiser" package, either with or without mu4e.

For the "plain Emacs" integraticon, see the Mu-SCM documentation, section
`Hooking up with GNU/Emacs and Geiser'.

For the mu4e integration, see the chapter `Using mu's SCM/Guile integration' in
the mu4e reference manual; or check the `mu4e-mu-scm-server' configuration
variable and the `mu4e-mu-scm-repl' command.

Future version will add more, and start answering questions like "Why would I
even want SCM bindings?!" :-)

* Building

- by default, tests are built 'lazily', i.e., only when running tests;
  this speeds up the build considerably for people that don't want to run
  tests (there's also -Btest=disabled of course)

- when available/found, mu now (by default) uses the system versions of CLI11
  and libfmt, rather than mu's "vendored" versions.

  You can influence where the build system (i.e., meson) looks through the
  `PKG_CONFIG_PATH` environment variable (see the pkg-config/pkgconf man-pages),
  and you can disable
2026-08-20 15:04:26 -07:00
656aa41ada rename 'mu label' -> 'mu labels'
Update names, docs etc.
2026-08-20 15:04:26 -07:00
543c43f078 Replace "the the " with "the " 2026-08-20 15:04:26 -07:00
44a16ff4e2 NEWS.org: update 2025-08-24 17:45:42 +03:00
5ad70335e6 NEWS.org: update 2025-08-17 13:19:17 +03:00
bd7026a53e update NEWS.org 2025-08-17 12:24:22 +03:00
5fdb13fd72 mu4e-draft: add mu4e-compose-jump-to-reasonable-place
t by default (current behavior), but you can turn if off if your change (e.g.
compose-hook) wants to put the point in some different place.
2025-07-12 09:25:40 +03:00
e0c800c233 NEWS.org: update 2025-07-09 21:59:35 +03:00
da9cd06fce NEWS.org: update 2025-07-07 19:57:39 +03:00
ef502b77c6 NEWS.org: update for scm 2025-06-19 14:58:03 +03:00
9f08397fdd NEWS.org: update 2025-05-25 08:39:46 +03:00
acef5b2381 mu4e: implement mu4e-emacs-bookmark-policy
Allow for creating Emacs bookmarks for either messages (as before & the
default), queries or as the user.
2025-05-21 22:23:26 +03:00
a6c41f6262 NEWS.org: merge new items with 1.12
Merge the new feature items into the 1.12 NEWS, prefixed with their
version.
2025-04-12 15:07:28 +07:00
44ba631a34 mu-find: implement format=json2
Implement a new experimental json2 format for mu-find, which gets rid of
the ":" prefixes for fields, i.e., "subject" instead of ":subject".
Document it as well.
2025-03-23 19:47:09 +02:00
a15e640eb7 mu4e: implement :hide-if-no-unread
Make mu4e-maildir-shortcut and mu4e-bookmarks understand a property
:hide-if-no-unread~, which hides the maildir/bookmark from the main-view
if there are no unread messages which the corresponding query.
2025-03-08 11:57:58 +02:00
0ea6fd45a4 update NEWS.org 2025-02-26 18:44:32 +02:00
f5a8699993 update NEWS.org 2025-02-26 08:51:05 +02:00
3dbd8b9763 mu4e: handle conversion from pcre regexps
mu server uses PCRE-compatible regular expressions, but mu4e needs
Emacs-style. In simple cases, the two are the same, but when it gets
slightly more complicated they do not.

E.g.,
  (foo|bar) => \(foo\|bar\)

Mu4e can do the conversion automatically, but for this the pcre2el
package (available in MELPA) is required, and is used if user installs
is. Anyway, this code implements the automatic conversion and adds some
documentation.

Fixes #2816.
2025-02-16 18:47:49 +02:00
cd3cb64893 update docs 2025-02-07 23:43:37 +02:00
055cb774e0 mu4e: show short counts next to maildir/bookmark entry
When you ask for bookmarks or maildirs through mu4e-ask-bookmark,
mu4e-ask-maildir, the counts are displayed in the (default) completions
next to the maildirs. This is a shorter version of the full display,
just showing either the delta or the number of unread messages, if any.
If you don't want to see these counts, there is mu4e-hide-short-counts.
2025-02-05 12:32:52 +02:00
21d9819eda NEWS.org: updated 2025-01-08 22:12:47 +02:00
0bec3ed24a NEWS.org: update 2025-01-08 22:12:47 +02:00
d7078ad09c NEWS.org: update 2024-12-14 11:40:27 +02:00
3accb5f2f5 NEWS.org: improve 2024-12-09 21:54:57 +02:00
6198732154 NEWS.org: update 2024-12-07 19:42:28 +02:00
2341e3d8cb NEWS.org: update 2024-12-03 22:14:30 +02:00
0200cfd647 NEWS.org: update 2024-11-30 11:15:20 +02:00
af87ceaa28 NEWS.org: add note on removal of -st suffix 2024-11-28 23:30:46 +02:00
d1b335f99e doc: update NEWS/mu4e manual 2024-11-28 23:24:42 +02:00