Commit Graph

5339 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 00645d854b toys/mug: Fix some compiler warnings 2021-03-16 17:44:41 +02:00
Dirk-Jan C. Binnema 7f244ee454 mu4e/view: Restore URL activation, TAB
Make URL activation work again (with mouse, M-RET), and TAB in
gnus-view.

Fixes: #1946.
2021-03-16 17:13:36 +02:00
Dirk-Jan C. Binnema 08890dee2d lib/sexp: Clean up contact name/email
Don't allow control characters.

Fixes: #1944.
2021-03-16 17:10:35 +02:00
Dirk-Jan C. Binnema f56aca7c23 lib/contacts: Use remove_ctrl
Use the new helper function rather than `wash'.
2021-03-16 17:09:37 +02:00
Dirk-Jan C. Binnema 15aca5e396 utils: cleanup whitespace 2021-03-16 17:07:39 +02:00
Dirk-Jan C. Binnema 725826231f utils: Add remove_ctrl
Add a helper function to remove control characters / multi-spaces, and a
test.
2021-03-16 16:51:01 +02:00
Dirk-Jan C. Binnema b7660ed33d mu4e-view: decrypt when replying
Let's decrypt a message before replying.

HT: Thierry Volpiato.
2021-03-16 08:58:43 +02:00
Dirk-Jan C. Binnema d0615a959f mu4e-vars: fix some defface declarations
use :weight, :slant rather than :bold, :italic.
2021-03-16 08:56:01 +02:00
Dirk-Jan C. Binnema 931cfe5d86 mu4e: clear up mu4e~view-message
Remove duplicate definition of mu4e~view-message in mu4e-view-old

Set it earlier in mu4e-view-gnus (so it can be used in mode-hooks).
2021-03-15 22:56:30 +02:00
Dirk-Jan C. Binnema e4320147af NEWS.org: fix some typos 2021-03-15 22:55:55 +02:00
Dirk-Jan C. Binnema 0153f7538e mu4e: update documentation
Add the beginning of some docs for the gnus-view.
2021-03-15 22:55:21 +02:00
Dirk-Jan C. Binnema cbda30efe0 configure.ac: fix mu-memcheck setup
and some whitespace cleanups
2021-03-13 14:54:39 +02:00
Dirk-Jan C. Binnema b100c963fc mu4e-view-common: fix typo
its *actions*, not *action*.

Fixes: #1942.
2021-03-13 10:47:45 +02:00
Dirk-Jan C. Binnema 44d801e2b0 mu4e-view-gnus: cleanup keymap
Do not derive the keymap from gnus article mode, so we don't get the
unwanted menu entries, and don't need to disable things manually.
2021-03-12 22:28:51 +02:00
Dirk-Jan C. Binnema 9423212fa0 mu4e: improve mu4e-view-message-text
Attempt to take the Content-Type into consideration when decoding.
2021-03-12 22:26:26 +02:00
Dirk-Jan C. Binnema bcd728651f mu4e-view: move some settings from old->comon
To avoid user config errors when using the new view
2021-03-12 22:22:06 +02:00
Dirk-Jan C. Binnema 6e9a60c385 mu: fix some compiler warnings
and whitespace.
2021-03-12 22:20:48 +02:00
Dirk-Jan C. Binnema 6e9bfb6300 build: bump version to 1.5.10 2021-03-11 19:41:53 +02:00
Dirk-Jan C. Binnema d12d85e187 mu4e: work-around for format-flowed corner-case
Fixes: #1938
(fixes, eh, works around it)
2021-03-11 19:41:53 +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 e2655ba34b mu4e-view: re-enable the gnus/old split
re-enable the gnus/old split (the key was re-implementing
mu4e-view-message-text for gnus)

split helpers into mu4e-view-common

as a bonus 'go to url' now also works with gnus
2021-03-10 20:53:33 +02:00
Dirk-Jan C. Binnema 316633e1b2 mu4e: unsplit the gnus/old views
Was not quite working.
2021-03-07 23:27:45 +02:00
Dirk-Jan C. Binnema f002379a87 mu: move mu-view-fields to mu-view.el
We need it in both mu-view-old and mu-view-gnus.
2021-03-07 22:03:36 +02:00
Dirk-Jan C. Binnema a7508e4a8f meson: bump version to 1.5.9 2021-03-07 17:44:13 +02:00
Dirk-Jan C. Binnema f46a714cd4 configure.ac: bump version to 1.5.9 2021-03-07 17:36:59 +02:00
Dirk-Jan C. Binnema ed2e0ed0c3 mu4e-view: make the gnus-based view the default one
Use
  (setq mu4e-view-use-gnus nil)
to use the old one.
2021-03-07 17:35:30 +02:00
Dirk-Jan C. Binnema c1f08e1683 mu4e-view: split in -gnus and -old
Split out the gnus-based and "old" view code into separate files, and
ensure only one of them is loaded.

Do some initial cleanups, more will follow.
2021-03-07 16:42:55 +02:00
Dirk-Jan C. Binnema 6af47e3a92 meson: sync with autotools re mu4e/obsolete 2021-03-07 16:42:55 +02:00
Dirk-Jan C. Binnema 0bfc4b7ca3 mu4e: move org-mu4e to obsolete/
It's really not supported anymore.
2021-03-04 22:03:23 +02:00
Dirk-Jan C. Binnema fcf5a27347 mu4e-headers: Fix subthread marking
Fixes: #1930.
2021-03-04 21:58:25 +02:00
Dirk-Jan C. Binnema ded1de96e6
Merge pull request #1937 from thierryvolpiatto/Fix_mu4e-view-gnus-save-mime-parts
Fix error in mu4e-view-gnus-save-mime-parts
2021-03-03 12:07:32 +02:00
Dirk-Jan C. Binnema c6d24164b2
Merge pull request #1913 from plantarum/ical-templates
Documented icalendar capture template
2021-03-03 12:06:40 +02:00
Thierry Volpiatto 117f438e10
Fix error in mu4e-view-gnus-save-mime-parts
where `handle' may not be a list (here a marker when I had error).

So ensure it is a list.
2021-02-23 21:24:44 +01:00
Dirk-Jan C. Binnema 775498937d
Merge pull request #1931 from tsdh/query-completion-when-editing-bookmarks
mu4e-headers: Read query with completion also when editing a bookmark
2021-02-17 21:54:04 +02:00
Tassilo Horn 7471536213 Read query with completion also when editing a bookmark
This wraps up some change that somehow didn't get applied when merging PR #1921
and also offers completion when editing a bookmark.

* mu4e/mu4e-headers.el (mu4e-headers-search): Read query with completion also
when editing a bookmark.
2021-02-17 16:26:47 +01:00
Dirk-Jan C. Binnema 9367a4dd95 mu4e-headers: sort threaded headers by date
In "threaded-mode", we only sort by date; reflect this in the UI.
2021-02-16 19:34:05 +02:00
Dirk-Jan C. Binnema 98abcf8e84 store: support in-memory database
For testing, this is faster / and doesn't pollute the file system.
2021-02-16 19:32:15 +02:00
Dirk-Jan C. Binnema 98a742e5e5 query: honor maxnum in threaded searches 2021-02-15 22:45:33 +02:00
Dirk-Jan C. Binnema 45655da948 mu-msg-file: calculate sha1 for messages
And use this to generate a message-id for messages that do not have one.
2021-02-15 22:29:38 +02:00
Dirk-Jan C. Binnema 108a33f16e query: avoid expected warning
Remove some debug leftover.
2021-02-15 21:43:47 +02:00
Dirk-Jan C. Binnema 579f841bdd query: filter out docs without query-matches
This avoid including unwanted messages in threaded results.
Also some cleanups.
2021-02-15 19:11:22 +02:00
Dirk-Jan C. Binnema 950883ad39 cmd-find: show thread-paths with --debug
For... debugging.
2021-02-15 18:41:28 +02:00
Dirk-Jan C. Binnema af1734f60b mu-config: small cleanup
No need for (void) in c++ signatures
2021-02-15 18:40:54 +02:00
Dirk-Jan C. Binnema 5e359fb739 mu: support '-V' for --version
And describe it in the man-page, which erroneously had '-v' which is
used for --verbose.

Fixes: #1927
2021-02-13 13:33:12 +02:00
Dirk-Jan C. Binnema bba8af8d51 mu-query: tweaks threaded/threaded querying 2021-02-13 00:48:07 +02:00
Dirk-Jan C. Binnema 50511a7460 mu-query: update deciders (avoid warning)
Don't report non-warning.
2021-02-12 23:48:02 +02:00
Dirk-Jan C. Binnema 895f580b99 mu4e-headers: show search props in mode-line
I.e., whether a search is threaded/include-related/full.

There's high bike-shed potential, but let's not do that yet.
2021-02-12 20:39:49 +02:00
Dirk-Jan C. Binnema 2d91a9ab27 mu4e-headers: fix compiler warning
'free variable'

and use mu4e~ rather than mu4e--
2021-02-12 20:39:01 +02:00
Dirk-Jan C. Binnema ffc809a01e query: improve thread-key-maker
For threading, we still get the _full_ set of messages (since the mset is
limited, but not the enquire); so no need to warn about docids we
haven't seen before.

Also, ensure the unwanted docids are sorted after the wanted ones.

Fixes: #1926.
2021-02-12 19:14:37 +02:00
Dirk-Jan C. Binnema 8405788f27 docs: update documentation
Update the mu-find man-page; update NEWS.org and mu4e.texi for the way
threading works.
2021-02-12 19:14:37 +02:00