1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-25 07:28:02 +02:00
Commit Graph

6784 Commits

Author SHA1 Message Date
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
ff1e06c7c8 mu-find: restore JSON output
Fixes #2453
2023-03-30 18:12:33 +03:00
Dirk-Jan C. Binnema
344a7e4054 NEWS.org: add note about file option expansion
As per #2448.
2023-03-30 18:12:33 +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
d225bb74fd
Merge pull request #2445 from farrokhi/master
Reset terminal color after error message
2023-03-30 18:12:13 +03:00
Babak Farrokhi
99487c0155
Merge branch 'djcb:master' into master 2023-03-30 15:50:51 +02: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
39101cf583 mu-find: brush off --format=links unit test
Enable it by default, and modernize it a little bit
2023-03-28 22:26:56 +03:00
Dirk-Jan C. Binnema
81ee182f05 mu: mu-view: don't insist on absolute path
Make it absolute so make_from_path can deal with it.
2023-03-28 20:58:11 +03:00
Dirk-Jan C. Binnema
f504327ac4 mu4e: restore support for function bookmarks
Fixes 2446.
2023-03-28 20:57:07 +03:00
Babak Farrokhi
597a731099
Reset terminal color after error message 2023-03-26 22:05:47 +02:00
Dirk-Jan C. Binnema
9b40881e5d Merge branch 'release/1.10' 2023-03-26 10:38:25 +03:00
Dirk-Jan C. Binnema
fc1193d4b6 build: new release 1.10 2023-03-26 10:30:36 +03:00
Dirk-Jan C. Binnema
5b03b9d2c6 NEWS.org: update 2023-03-26 10:30:36 +03:00
Dirk-Jan C. Binnema
318aa40f75 mu4e: tweaks to manual 2023-03-26 10:14:59 +03:00
Dirk-Jan C. Binnema
79057729aa build: improve makeinfo target 2023-03-26 10:11:00 +03:00
Dirk-Jan C. Binnema
8c899599a3 build: new release 1.10 2023-03-26 09:36:39 +03:00
Dirk-Jan C. Binnema
4979cab7aa build: bump version 1.9.23 2023-03-25 13:33:25 +02: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
Dirk-Jan C. Binnema
f3c3811818 message: fix user-after-scope in test 2023-03-24 23:24:19 +02:00
Dirk-Jan C. Binnema
61a00df197
Merge pull request #2442 from vermiculus/sa/single-window
Don't die if the headers buffer isn't in a window
2023-03-16 07:17:34 +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
Dirk-Jan C. Binnema
96e16034c7 contact: fix quoting
Ensure that addresses with commas are quoted. Don't 2047-encode though.

Update tests.
2023-03-14 06:18:56 +02:00
Dirk-Jan C. Binnema
46746bacf8 build: bump version to 1.9.22 2023-03-08 10:26:24 +02:00
Dirk-Jan C. Binnema
758458d293
Merge pull request #2440 from johnhamelink/feature/optional-msg-plist-arg-for-mu4e--org-store-link-message
mu4e: Add optional message plist arg to mu4e--org-store-link-message
2023-03-08 10:20:00 +02: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
617c8129ae lib/thirdparty: update tabulate to 1.5.0 2023-03-03 18:47:48 +02:00
Dirk-Jan C. Binnema
6f0e295326 lib/thirdparty: update CLI11 to 2.3.2 2023-03-03 18:46:48 +02:00
Dirk-Jan C. Binnema
9d0fe0e5d4 lib/thirdparty: update expected/optional 2023-03-03 18:41:45 +02:00
Dirk-Jan C. Binnema
413a2564b6 server: don't encode addresses in contacts_handlers
Seems it doesn't always play nice with composer
2023-02-28 23:23:52 +02:00
Dirk-Jan C. Binnema
b918690a2a NEWS.org: update 2023-02-28 22:43:56 +02:00
Dirk-Jan C. Binnema
a50357966d mu: add müller test-case 2023-02-28 22:42:55 +02:00
Dirk-Jan C. Binnema
412256d26f mu4e: doc: fix mu4e-search-toggle-property binding 2023-02-24 07:25:39 +02:00
Dirk-Jan C. Binnema
ff08731298 mu: add --uncooked option for mu extract
To avoid replacing spaces with dashes

Fixes #2434.
2023-02-23 20:23:25 +02:00
Dirk-Jan C. Binnema
5c037f7579
Merge pull request #2439 from progfolio/fix/nil-alt
mu4e--main-action: guard against nil ALT argument
2023-02-23 19:36:12 +02:00
Dirk-Jan C. Binnema
bd5ae78c49 mime-object: add missing include 2023-02-23 18:38:18 +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
6da223fcb6 mu-message-part: rework cooked_filename a bit
Improve working, add a 'minimal' mode, and add some unit tests.
2023-02-19 10:47:50 +02: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