Tassilo Horn
cbeed9ef28
bug-reference: Add clarifying comment / checked-headers as variable
2022-12-14 18:34:24 +01:00
Dirk-Jan C. Binnema
fdbf912e06
mu4e-view: use kill-buffer-and-window for quitting
...
That restores the classic mu4e style. I.e.,
With default settings, e.g.
case 1: - (1)go to inbox -> (2)see headers -> (3)open message ->
window splits -> (4)read message -> (5)'q' . Window closes and we're
back to (2). All good!
The more complicated step is
case 2: (4) read message -> (5) reply to message -> (6) done
replying -> back to (4) but for some reason when pressing 'q' now,
the window is not closed, but replaced by the headers window (so we
have 2 now. [ I think it should behave just like in case 1 ]
This fixes that.
2022-12-13 23:50:38 +02:00
Dirk-Jan C. Binnema
9ae567f5f5
mu4e-view: whitespace cleanup
2022-12-13 23:49:57 +02:00
Dirk-Jan C. Binnema
98fcf0192c
mu4e-window: avoid some byte-compiler-warnings
2022-12-13 09:42:13 +02:00
Dirk-Jan C. Binnema
7d9a9d8a7c
mu4e-main: make main-window full-screen again
...
Make the main-window fullscreen again, as before.
2022-12-13 09:36:42 +02:00
Dirk-Jan C. Binnema
de8b4f0e32
mu4e-main: whitespace updates
2022-12-13 09:36:16 +02:00
Dirk-Jan C. Binnema
f7fe4fea21
mu4e-window: disable functionp mu4e-split-window for now
...
Set it to 'horizontal. It didn't quite work with the new window handling
code, such that mu4e was not functional. So let's restore the basics at
least.
2022-12-13 00:58:54 +02:00
Dirk-Jan C. Binnema
bdb494135d
Merge pull request #2377 from mickeynp/bugfix/preserve-view-window
...
Preserve `mu4e~headers-view-win' when a search is (re-)executed
2022-12-12 23:50:16 +02:00
Mickey Petersen
0b99dd5c8c
Preserve `mu4e~headers-view-win' when a search is (re-)executed
2022-12-12 18:57:57 +00:00
Mark Knoop
6a7d48c854
Add variable for initial input to maildir selection
...
"/" was hardcoded as initial input to `mu4e-completing-read-function'
when selecting 'other' maildirs. This can now be set by the user.
2022-12-12 18:15:15 +00:00
Dirk-Jan C. Binnema
a4698db84e
mu4e.texi: update documentation
...
Use the new toggles.
2022-12-11 15:25:11 +02:00
Dirk-Jan C. Binnema
f46fe4ee69
mu4e-headers: show number of hidden messages in footer
2022-12-11 14:38:40 +02:00
Dirk-Jan C. Binnema
f4923c6f2a
mu4e-headers: make hide-predicate togglable
...
Like the other search properties.
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema
5a3d7e9c56
mu4e-headers: add mu4e-headers-toggle-property, remove obsolete
...
And add the 'P' one for mu4e-headers-toggle-property
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema
e453f20ade
mu4e-helpers: allow passing key to mu4e-read-option
...
Can be useful for non-interactive use.
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema
b8861cdbfe
mu4e-helpers: fix whitespace
...
Follow .dir-locals.
2022-12-11 13:59:26 +02:00
Dirk-Jan C. Binnema
2dca07612c
mu4e-obsolete: make mu4e-headers-toggle-* obsolete
...
... for the new mu4e-headers-toggle-property
2022-12-11 13:56:12 +02:00
Dirk-Jan C. Binnema
f0e973f8c5
mu4e-obsolete: whitespace fixes
2022-12-11 13:55:38 +02:00
Dirk-Jan C. Binnema
85f60647b9
mu4e-view: bind 'P' to mu4e-headers-toggle-property
...
And remove the obsolete older mu4e-headers-toggle-*.
2022-12-11 13:54:57 +02:00
Dirk-Jan C. Binnema
ff9fc73e5a
mu4e-view: whitespace/newline fixes
2022-12-11 13:31:13 +02:00
Dirk-Jan C. Binnema
6278d1f18a
mu4e-headers: whitespace/newline cleanups
2022-12-11 12:42:48 +02:00
Marcel van der Boom
65f9fbf0ba
Fix empty 'To:' header on reply to icalendar invitation
...
On reply to an ical invitation the To: header stayed empty, this fixes that.
The 'Reply-To' data is set if it is not there and if the emaill was different from the Organizer so
that the msg can be further treated by the draft construct functions.
This issue is briefly mentioned in issue #2305
2022-12-10 23:27:55 +02:00
Dirk-Jan C. Binnema
a39d61bb58
Merge pull request #2372 from mickeynp/feature/improve-window-buffer-handling
...
Multiple buffer support and standardised window and buffer handling
2022-12-10 19:46:40 +02:00
Mickey Petersen
792ab4cd0d
Remove comment and unnecessary form
2022-12-09 09:13:14 +00:00
Mickey Petersen
04903c568d
Move defcustoms to mu4e-window.el
2022-12-09 09:01:18 +00:00
Dirk-Jan C. Binnema
51d555f947
mu4e-headers: appease byte-compiler
2022-12-08 23:20:03 +02:00
Dirk-Jan C. Binnema
9857d18b29
mu4e-headers: fallback to :subject for :thread-subject
...
If we're not showing threads, use the normal subject.
Fixes #2341 .
2022-12-08 21:52:32 +02:00
Mickey Petersen
d109e3d335
Documentation
2022-12-06 10:57:10 +00:00
Mickey Petersen
42add64683
Appease the byte compiler and clean up the code
2022-12-06 09:46:39 +00:00
Dirk-Jan C. Binnema
c856c750f5
mu4e-headers: fix mu4e-headers-toggle-setting
2022-12-05 23:57:18 +02:00
Mickey Petersen
8ac172cd08
Resize headers window after displaying a message
2022-12-03 17:13:20 +00:00
Mickey Petersen
d43c0030e3
Ensure the linked headers buffer state is not lost
2022-12-03 17:13:20 +00:00
Mickey Petersen
d0ae875527
Ensure a uniquified buffer name is created if it does not exist
2022-12-03 17:13:20 +00:00
Mickey Petersen
8c3a71f884
Respect `mu4e-compose-in-new-frame' if non-nil
2022-12-03 17:13:20 +00:00
Mickey Petersen
32aefe508f
Correct documentation
2022-12-03 17:13:20 +00:00
Mickey Petersen
37e8328975
mu4e-loading-mode is now a minor mode
2022-12-03 17:13:20 +00:00
Mickey Petersen
12bad5f810
Ensure mu4e-window is built properly
2022-12-03 17:13:20 +00:00
Mickey Petersen
55a7e21c4a
Merge branch 'djcb:master' into feature/improve-window-buffer-handling
2022-12-01 07:35:30 +00:00
Mickey Petersen
514b921813
Render with current buffer set to the view
2022-12-01 07:34:22 +00:00
Mickey Petersen
3b44ad9514
Ensure the windows belonging to the now-defunct view buffer are destroyed
2022-11-30 15:33:41 +00:00
Mickey Petersen
d6c67a401d
Check for detached view in the navigation context macro
2022-11-30 15:33:07 +00:00
Mickey Petersen
8d2b75219f
Browing a view that has a header pointing elsewhere is legal
2022-11-30 15:32:45 +00:00
Mickey Petersen
ef2c989e08
Clean up
2022-11-29 11:50:59 +00:00
Mickey Petersen
9ec925728f
Style changes
2022-11-29 11:50:07 +00:00
Mickey Petersen
5f5d5ab11e
Use `font-lock-ensure'
2022-11-29 11:49:06 +00:00
Mickey Petersen
69a17bfcb9
Multiple buffer support and standardised window and buffer handling
2022-11-29 11:33:07 +00:00
Sean Allred
93f3a2da35
Teach mu4e-copy-thing-at-point about SHR links
...
This allows one to copy the link behind a link-widget instead of using
RET to open it.
2022-11-28 04:54:18 -06:00
Sean Allred
3375a95f24
Whitespace fix
...
Allow aggressive-indent-mode to do its thing.
2022-11-28 04:53:53 -06:00
Dirk-Jan C. Binnema
50489fe6bb
Merge pull request #2356 from axeoman/fix-view-in-xwidget
...
mu4e: temporary reset browse-url-handlers in view in xwidget action
2022-11-19 18:36:49 +02:00
Dirk-Jan C. Binnema
02188ecbb5
mu4e: improve server comms with mu
2022-11-17 11:00:06 +02:00
Dirk-Jan C. Binnema
b0fad6d763
mu4e-update: no need to confirm killing buffer
...
Fixes issue #2362 .
2022-11-14 22:19:31 +02:00
Aleksei Atavin
0f097e00c6
mu4e: temporary reset browse-url-handlers in view in xwidget action
...
If `browse-url-handlers` is set `mu4e-action-view-in-xwidget` function
tries to open url in the handler first instead of xwidget. This is
happening because `browse-url` first checks `browse-url-handlers` and
`browse-url-browser-function` after.
Signed-off-by: Aleksei Atavin <axeoman@gmail.com>
2022-10-28 22:52:16 +03:00
Dirk-Jan C. Binnema
479532689b
mu4e: update outdated doc for mime-part actions
...
As noted in #2351 .
2022-10-17 07:32:30 +03:00
Dirk-Jan C. Binnema
9673c02977
mu4e: headers: Fix copy-pasta m-h-thread-first-child-prefix
...
Fixes #2334 .
2022-09-19 18:33:16 +03:00
Dirk-Jan C. Binnema
e8177c7f04
mu4e: remove some dead code in headers
2022-09-14 23:26:00 +03:00
Dirk-Jan C. Binnema
bf0af7465f
Revert "m4e: remove disruptive characters from header fields"
...
This reverts commit 74d5902133
because it
broke the threading display.
2022-09-14 23:23:27 +03:00
Dirk-Jan C. Binnema
ecc7cb65d3
mu4e: add mu4e--plist-get helper
2022-09-14 23:07:30 +03:00
Dirk-Jan C. Binnema
e23c378d01
Merge pull request #2330 from seanfarley/smf/indexing-refresh-main
...
mu4e-main: automatically update the mail counts after indexing
2022-09-14 23:06:39 +03:00
Dirk-Jan C. Binnema
0de4754df6
Merge pull request #2332 from remvee/mu4e-headers-sanitize-field-values
...
mu4e: remove disruptive characters from header fields
2022-09-14 23:05:32 +03:00
Tassilo Horn
2dd5d9cfa1
Fix wrong cl-case usages where emacs 29 errors on byte-compilation now
2022-09-14 08:19:31 +02:00
Dirk-Jan C. Binnema
7f0497638c
Merge pull request #2329 from seanfarley/smf/save-excursion-html
...
mu4e-view: use `save-excursion' around toggling html
2022-09-08 07:04:04 +03:00
Remco van 't Veer
74d5902133
m4e: remove disruptive characters from header fields
...
Sometimes fields (especially subject fields) contain disruptive
characters like new lines which will mess up the mu4e-headers view.
This changeset introduces `mu4e~headers-sanitize-field-value` to replace
all control characters by spaces.
Note, Unicode Left to Right Overrides do not cause any problems so they
are ignored.
2022-09-07 10:47:12 +02:00
Sean Farley
89acde3f9c
mu4e-main: automatically update the mail counts after indexing
...
It always struck me as a bit odd to force the user to refresh the main
view after updating and indexing their mail. This change creates a hook
that will simply call `revert-buffer' after an indexing completes.
2022-09-04 16:54:24 -05:00
Sean Farley
243b862776
mu4e-view: use `save-excursion' around toggling html
...
Previously, the cursor would be moved to the first html attachment which
would break using mu4e keybindings (e.g. delete). With this change, the
cursor isn't moved at all, presumably the expected behavior.
2022-09-03 17:01:41 -05:00
Protesilaos Stavrou
8c42c43fd7
mu4e-compose: remove remap for unused face
...
The mu4e-cited-1-face does not exist any more, per commit
a4707afe12
.
2022-08-27 05:51:16 +03:00
Protesilaos Stavrou
339d841415
mu4e-compose: simplify mu4e~compose-remap-faces
2022-08-27 05:29:56 +03:00
Dirk-Jan C. Binnema
fafc7d3bf6
mu4e: include mu4e-obsolete.el
...
Fixes #2324 .
2022-08-23 19:33:49 +03: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
4fc00ccf32
mu4e: remove obsolete org-mu4e.el
...
It's been dead for a long time.
2022-08-20 13:46:57 +03:00
Dirk-Jan C. Binnema
18bf2d995d
mu4e: Add mu4e-header-field-face, avoid mu-header-key-face cycle
...
By default, mu4e-header-key-face inherits from message-header-name; this
leads to warnings when we later remap the latter to the former in
mu4e-compose.el.
We don't want to change the definition of mu4e-header-key-face (it's
used widely in mu4e); so we add a new face mu4e-header-field-face
for *just* mu4e-compose and which does not inherit.
Fixes #2321 .
2022-08-20 13:29:04 +03:00
Dirk-Jan C. Binnema
48681b8cfb
mu4e-server: make buffer invisible
...
Prepend a SPC to the name so it become "invisible".
Issue #2322 .
2022-08-20 12:10:09 +03:00
Dirk-Jan C. Binnema
2ed905ef09
mu4e: update reference manual
...
Update the build instructions.
2022-08-20 11:58:30 +03:00
Dirk-Jan C. Binnema
e416a5215f
autotools: remove
...
Since 2008, autotools has served us well - thank you!
However, mu is now using meson build, and it's time to remove the
autotools support -- one build system is enough.
2022-08-20 11:19:29 +03:00
Dirk-Jan C. Binnema
3ba2c4ea08
mu4e-headers: do not nillify mu4e~view-message
...
In mu4e~headers-clear, do not set mu4e~view~message to nil; it may still
be in use.
2022-08-15 23:15:38 +03:00
Dirk-Jan C. Binnema
8a6da6a869
mu4e: be more precise about non-nil in server
...
As seen in #2310 , we should test for non-nil for some parameters rather
then expect them to be literally nil or t.
Also update some docstrings.
2022-08-07 11:47:06 +03:00
Dirk-Jan C. Binnema
a4b8471ba6
mu4e: fix mu4e-action-add-org-contact for new format
...
The sexp address format changed, but mu4e-action-add-org-contact wasn't.
Fixes #2306 .
2022-07-28 07:29:31 +03:00
Dirk-Jan C. Binnema
ad7f5cac92
mu4e-message: avoid mu4e-message-at-point misfiring
...
Belt-and-suspenders fix for already-fixes issue #2299 .
2022-07-17 13:57:28 +03:00
Dirk-Jan C. Binnema
f77f8f743e
mu4e: load mu4e-view earlier
...
This avoids some setup/configuration problems for some people.
Fixes #2301
2022-07-17 13:53:34 +03:00
Dirk-Jan C. Binnema
d62fc66104
mu4e-headers: clear view message when clearing headers
...
This avoids showing an old message when clicking an empty headers
buffer.
Fixes #2299 .
2022-07-16 16:56:55 +03:00
Dirk-Jan C. Binnema
46476fc001
mu4e: add mu4e-copy-thing-at-point
...
Copy the thing (url or email) at point, similar to the feature in the
pre-gnus view. Bind to 'c' in the message-view.
2022-07-13 23:35:16 +03:00
Dirk-Jan C. Binnema
39d7096bba
mu4e-main: rewrite mu4e--main-menu
...
The old one had bit-rotted quite a bit.
Fixes #2296 .
2022-07-07 00:52:32 +03:00
Dirk-Jan C. Binnema
4a3069a5b5
mu4e-helpers: fix mu4e-is-mode-or-derived-p
2022-07-05 00:11:34 +03:00
Dirk-Jan C. Binnema
dc44165ada
mu4e-message: remove dead alias
...
Fixes #2293
2022-07-05 00:06:53 +03:00
Manuel Wiesinger
be695579c6
Add support for empty and string maildir shortcuts
2022-07-04 12:54:13 +02:00
Manuel Wiesinger
f16f4b5e3c
Add optional name for maildir shortcuts
2022-07-04 11:46:39 +02:00
Dirk-Jan C. Binnema
8f1d83e4b2
build: add 'lispdir' option
...
Add lispdir option for installing mu4e in a custom directory, which what
some pre-meson users tended to do with --lispdir.
Passing '-Dlispdir=/tmp/foo/bar' causes the mu4e files to be installed
in /tmp/foo/bar/mu4e.
Should help for issue #2287 .
2022-07-02 12:18:51 +03:00
Dirk-Jan C. Binnema
5e3e2cf28e
build: use install-info when installing mu4e/guile
...
So the docs can be found.
2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema
99eb3bb674
mu4e-compose: handle message-cite-reply-position later
...
Can't really repro the problem. Perhaps I don't have hidden heders?
Anyway, can't hurt to move it after that.
Fixes #2283 .
2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema
d139be3df6
mu4e.texi: minor improvements
2022-06-30 21:30:27 +03:00
Dirk-Jan C. Binnema
6cb38c8125
mu4e: include version.texi.in for doc generation
...
We use it for the mu4e ref docs.
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema
c1793e0f6b
mu4e: generate version.texi in meson build
...
So docs get the right version
2022-06-29 07:53:27 +03:00
Dirk-Jan C. Binnema
9f3c80f4dd
headers: reduced 'related' face priority
...
Don't use the 'related' face for messages which are *also* unread etc.
2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema
b43ac49bdf
mu4e.texi: remove duplicate iCalendar note
...
One is enough
2022-06-18 15:25:45 +03:00
Dirk-Jan C. Binnema
5e63b8bed3
mu4e-draft: better sender in list-reply dialog
...
Don't show the raw lisp object.
2022-06-16 22:48:37 +03:00
Dirk-Jan C. Binnema
ff8e0455dc
mu4e-compose/compose-mail: add brackets for in-reply-to
...
Seems in some contexts we get them _without_ brackets in other-headers; so let's
fix that up.
Fixes #2273 .
2022-06-14 23:48:43 +03:00
Dirk-Jan C. Binnema
1a84a57e05
mu4e-headers: implement mu4e-headers-toggle-setting
...
Make it easier to toggle various header-view settings and display them in the mode-line.
2022-06-11 12:07:50 +03:00
Dirk-Jan C. Binnema
65d2005422
mu4e-update: fix typo
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema
3aaf29303e
mu4e-headers: add calendar mark
2022-06-10 23:28:43 +03:00
Dirk-Jan C. Binnema
7b83605019
mu4e-view: fix naming of temp files
2022-06-07 23:06:33 +03:00
Dirk-Jan C. Binnema
f16224c33a
mu4e: don't loop mu4e-update-index when index is empty
...
Fixes: issue #2240 .
2022-06-05 12:08:35 +03:00