1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-21 06:56:48 +02:00
Commit Graph

2116 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
f02f1c282c mu4e-headers: mu4e~headers-move: consider folded headers
Ensure going backwards over folded headers works.
2023-04-30 12:38:16 +03:00
Dirk-Jan C. Binnema
2c69a6d84b mu4e: tweak threading for thread-end 2023-04-24 22:19:19 +03:00
Dirk-Jan C. Binnema
5290d64d66 mu4e-headers: make mu4e~headers-prev-or-next-thread return (point)
Or nil if not found.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema
e2947f181d mu4e: add thread support to message-view
No keybindings yet, since TAB etc. conflict.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema
1acf00bdd5 mu4e: fix errors/warning in mu4e.texi 2023-04-23 16:07:12 +03:00
Dirk-Jan C. Binnema
50d559deb4 mu4e: do not allow marking folded message
Safety first!
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema
0fdc64ad1a mu4e-thread: add mu4e-thread-fold-single-children
Allow for customizing the folding of single children.
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema
a81b540f66 mu4e-thread: use mu4e-headers-(prev|next)-thread
Use the existing implementation.
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema
b73e075c7b mu4e-thread: share mu4e-headers-thread-root-p with threads
Add mu4e-headers-thread-rootp which follows the mu4e-threads definition;
and use it in both mu4e-headers and mu4e-threads
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema
d8817c1b74 mu4e-thread: integrate in mu4e-headers / build 2023-04-23 12:06:59 +03:00
Dirk-Jan C. Binnema
4181f6ad07 mu4e-thread: update documentation 2023-04-23 12:03:01 +03:00
Dirk-Jan C. Binnema
b28a591077 mu4e-thread: fix byte-compiler & flycheck warnings 2023-04-20 14:32:11 +03:00
Nicolas P. Rougier
1012cb7232 Added mu4e-thread.el 2023-04-19 18:36:29 +02:00
Dirk-Jan C. Binnema
3885ae9a82 mu4e: add defvar mu4e-headers-open-after-move
Allow customizing whether to open the message after moving around in the
headers buffer. This meant for let-binding when scripting, e.g.,

(defun mark-and-quit ()
  (interactive)
  (let ((mu4e-headers-open-after-move nil))
    (mu4e-view-mark-for-refile)
    (mu4e-view-quit)))

in the view marks the current messages, then moves point to next message
without opening it.
2023-04-16 11:09:55 +03:00
Dirk-Jan C. Binnema
fc1f9b5b0a mu4e-query-item: reset mu4e--last-delta-unread
Fixes #2447.
2023-04-11 09:49:26 +03:00
Dirk-Jan C. Binnema
2285355374 mu4e: remove obsolete TODO 2023-04-08 13:29:48 +03:00
Dirk-Jan C. Binnema
c5c9531c37 mu4e: Add display-buffer-list example
To fine-tune the main-buffer display.
2023-04-06 23:48:15 +03:00
Dirk-Jan C. Binnema
1185a5380c
Merge pull request #2464 from malb/display-buffer-mu4e-compose
don't use display-buffer-reuse-window when composing in frame
2023-04-06 07:23:58 +03:00
Dirk-Jan C. Binnema
d43f3c58c1
Merge pull request #2468 from nbarrientos/issue2463
mu4e: allow to disable the global mode-line items
2023-04-06 07:22:48 +03:00
Dirk-Jan C. Binnema
baac02c5af mu4e: mention mu4e-maildir-shortcuts in main-view section 2023-04-06 07:19:26 +03:00
Dirk-Jan C. Binnema
f2a193b4fd
Merge pull request #2449 from seanfarley/detach-rename
[ux bug] mu4e: create random name for newly detached views
2023-04-05 23:20:00 +03:00
Nacho Barrientos
552d65e61c mu4e: allow to disable the global mode-line items
Fixes #2463
2023-04-05 11:36:37 +02:00
Martin R. Albrecht
840d02b848 don't use display-buffer-reuse-window when composing in frame 2023-04-03 17:08:54 +01:00
Dirk-Jan C. Binnema
6e0135da0a
Merge pull request #2459 from rdiaz02/documentation
documentation typo: C-x w ^f places in new frame, not new tab
2023-04-03 16:06:58 +03:00
Nacho Barrientos
3132ceaaff mu4e: correct variable name in manual 2023-04-03 14:44:07 +02:00
ramon diaz-uriarte (at Phelsuma)
7a33fd19a7 documentation typo: C-x w ^f places in new frame, not new tab 2023-04-02 12:28:19 +02:00
Dirk-Jan C. Binnema
5bda666dbc
Merge pull request #2457 from RuijieYu/fix-defcustom-warnings
Fix defcustom type definitions
2023-04-01 19:14:46 +03:00
Ruijie Yu
e5b33c29d1 Fix defcustom type definitions
So that the type definitions reflects the docstrings more closely.  In additon,
fixed warnings from flymake about docstring.

* mu4e/mu4e-draft.el
mu4e-compose-keep-self-cc: should be a comma

* mu4e/mu4e-folders.el
mu4e-maildir-shortcuts: recognize new (plist) format

* mu4e/mu4e-helpers.el
mu4e-debug: removed unnecessary double space in docstring

* mu4e/mu4e-query-items.el
mu4e-query-rewrite-function: prepend "\\=" before column 0 "(" in docstring

* mu4e/mu4e-search.el
mu4e-search-sort-field mu4e-search-sort-direction: used radio in types

* mu4e/mu4e-server.el
mu4e-mu-binary: "mu" executable must exist

* mu4e/mu4e-view.el
mu4e-view-fields: fixed type
mu4e-view-actions: for function refs, prefer "#'" rather than "'"
2023-04-01 15:59:16 +08:00
Sean Farley
ba6c164ac0 mu4e: create random name for newly detached views
Without creating some kind of a temporary name (which could then be
trivially renamed by the user as the current instructions say) a new
user trying to learn how to detach a view will run into this error when
switching to a new message after detaching:

[mu4e] Detached view buffer from *mu4e-headers*
funcall-interactively: No buffer named *mu4e-article*<2>

It seems like a good default and less friction to create a random name
automatically when detaching.
2023-03-31 09:49:26 -07:00
Dirk-Jan C. Binnema
881c3cb4c1 mu4e: fix mu4e--main-action alt
As per #2439.
2023-03-30 23:58:45 +03:00
Dirk-Jan C. Binnema
189838b030 mu4e: make mu4e-dim-when-loading nil also hide "Loading"
Not the best name, but it's easy. So
  (setq mu4e-dim-when-loading nil)
to complete remove the loading-effect.

Fixes #2451.
2023-03-30 18:45:35 +03:00
Dirk-Jan C. Binnema
5d38ec0c08 mu4e-window: add mu4e--buffer-local-boundp
buffer-local-boundp was introduced in emacs 28.

Fixes #2456.
2023-03-30 18:12:33 +03:00
Dirk-Jan C. Binnema
fdc0834951 mu4e-server: attempt to avoid tramp error
Try to ensure default-directory is local; it seems tramp can screw up
shell-command-to-string.
2023-03-29 09:07:33 +03:00
Dirk-Jan C. Binnema
e6d6f5014d mu4e: handle functionp queries in mu4e--make-query-items 2023-03-29 09:07:33 +03:00
Dirk-Jan C. Binnema
f504327ac4 mu4e: restore support for function bookmarks
Fixes 2446.
2023-03-28 20:57:07 +03:00
Dirk-Jan C. Binnema
318aa40f75 mu4e: tweaks to manual 2023-03-26 10:14:59 +03:00
Dirk-Jan C. Binnema
f94a95b36b Merge branch 'pr-2443' 2023-03-25 13:31:00 +02:00
Dirk-Jan C. Binnema
e35f477009 mu4e: use 'l' for the list mark
Small updates to the PR.
2023-03-25 13:22:37 +02:00
Dirk-Jan C. Binnema
001eb114cb mu4e-view: support gnus message-id links
When clicking the button, find the message in mu4e.

Fixes #2441
2023-03-25 10:35:27 +02:00
Dirk-Jan C. Binnema
93336ae171 mu4e: remove example with internal function
Shouldn't promote their use.
2023-03-25 09:52:58 +02:00
Babak Farrokhi
6facec5bfa
Update documents to reflect List flag change 2023-03-15 11:47:21 +01:00
Babak Farrokhi
adea4a5612
Change letter mark for mailing-list messages to L
Fixed an issue where messages from mailing-list ("list" flag) were shown using
"s" in header view, which is also used for "signed" messages. Therefore changing
it to "L".
2023-03-15 11:14:36 +01:00
Sean Allred
7f2225ccfc Don't die if the headers buffer isn't in a window
If the headers buffer isn't in a live window (e.g., mu4e-split-view
is 'single-window), get-buffer-window will return nil. In turn,
with-selected-window will die if fed a nil window, so default to using the
current window in this case.

This fixes a regression from c23dad7058 that
prevented using n/p from a view buffer.
2023-03-15 02:20:16 -05: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
412256d26f mu4e: doc: fix mu4e-search-toggle-property binding 2023-02-24 07:25:39 +02:00
Nicholas Vollmer
45ecfebce5 mu4e--main-action: guard against nil ALT argument
Otherwise, if ALT is not provided the initial binding of bindstr can fail with:
Wrong type argument: characterp, nil
2023-02-23 09:13:38 -05:00
Dirk-Jan C. Binnema
558745bf00 mu4e-main: attempt to handle overridden bindings gracefully
Rebinding existing functions to different keys works fine, *but* it seems
some 3rd party code rebinds existing keys to different functions; that's
not really supported but use to half-work. Attempt to make it half-work
again, and document.
2023-02-18 20:08:56 +02:00
Dirk-Jan C. Binnema
4b0a6c763c mu4e-helpers: improve completion docstrings 2023-02-18 11:56:58 +02:00
Dirk-Jan C. Binnema
08ea3ca681 mu4e-server: factor out version check, use for repl too 2023-02-18 09:04:57 +02:00
Dirk-Jan C. Binnema
9feb53a766 mu4e.texi: fix typo 2023-02-18 09:04:46 +02:00