Commit Graph

6559 Commits

Author SHA1 Message Date
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
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
93336ae171 mu4e: remove example with internal function
Shouldn't promote their use.
2023-03-25 09:52:58 +02:00
f3c3811818 message: fix user-after-scope in test 2023-03-24 23:24:19 +02:00
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
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
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
46746bacf8 build: bump version to 1.9.22 2023-03-08 10:26:24 +02:00
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
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
617c8129ae lib/thirdparty: update tabulate to 1.5.0 2023-03-03 18:47:48 +02:00
6f0e295326 lib/thirdparty: update CLI11 to 2.3.2 2023-03-03 18:46:48 +02:00
9d0fe0e5d4 lib/thirdparty: update expected/optional 2023-03-03 18:41:45 +02:00
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
b918690a2a NEWS.org: update 2023-02-28 22:43:56 +02:00
a50357966d mu: add müller test-case 2023-02-28 22:42:55 +02:00
412256d26f mu4e: doc: fix mu4e-search-toggle-property binding 2023-02-24 07:25:39 +02:00
ff08731298 mu: add --uncooked option for mu extract
To avoid replacing spaces with dashes

Fixes #2434.
2023-02-23 20:23:25 +02:00
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
bd5ae78c49 mime-object: add missing include 2023-02-23 18:38:18 +02:00
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
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
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
4b0a6c763c mu4e-helpers: improve completion docstrings 2023-02-18 11:56:58 +02:00
08ea3ca681 mu4e-server: factor out version check, use for repl too 2023-02-18 09:04:57 +02:00
9feb53a766 mu4e.texi: fix typo 2023-02-18 09:04:46 +02:00
05c907cccb Merge pull request #2436 from tetov/patch-1
typo in mu4e docs Org-mode links
2023-02-17 23:34:24 +02:00
f444439b5b typo in mu4e docs Org-mode links
s/%d:date-timestamp-inactive/ %date-timestamp-inactive
2023-02-17 22:27:03 +01:00
ec10d54dab build: bump version to 1.9.21, update NEWS.org 2023-02-17 22:24:09 +02:00
360cf62ba6 mu4e-view: better error message when we cannot switch text/html
"This is a pseudo article" isn't very helpful.
2023-02-17 16:03:34 +02:00
8b16e5a449 mu4e: add command mu4e-server-repl
This for testing the mu4e server.
2023-02-17 10:32:21 +02:00
3d4805de0c server: small output improvement
For human users.
2023-02-17 10:20:14 +02:00
9a1733e29d mu4e-folder: make mu4e-cache-maildir-list a defcustom, t
turn it on by default; and let mu4e-create-maildir-maybe clear the
cache when a new dir is created.
2023-02-16 21:22:37 +02:00
47f8f8c382 mu4e-search: cosmetic 2023-02-16 21:22:37 +02:00
0c04300f61 mu4e-helpers: support completing-read for mu4e-read-option
Instead of using mu4e's tradional completion UI, allow for delegating to
some implementation of completing-read.

Default
  mu4e-read-option-use-builtin t

means that things work more-or-less as before.
2023-02-16 21:22:37 +02:00
51ba56cf6e mu4e-helpers: import new/mu4e--read-char-choice
Starting point; see issue #2157.
2023-02-16 21:22:37 +02:00
a8c0bbd390 mu4e-folders: use mu4e-read-option 2023-02-16 21:22:37 +02:00
edb8cf17a9 mu4e-bookmarks: use mu4e-read-option
Use the generic function.
2023-02-16 21:22:37 +02:00
0354fa4fac mu4e-helpers: rework mu4e-read-option
Rework the mu4e-read-option code to be a bit easier to (re)use.
2023-02-16 21:22:37 +02:00
d55cba7237 mu4e: fix quotes in some docstrings
Escape correctly.
2023-02-15 12:29:24 +02:00
e4cf881c91 mu4e: install el copies a read-only
To avoid changing the build/ copies rather than the sources.
2023-02-15 12:29:24 +02:00
c9fac49584 build: bump version to 1.9.20, update NEWS.org 2023-02-12 13:00:31 +02:00
92ac6de09c mu4e: support jumping to previous/next thread
in headers view, message view with '{' and '}.
Also update documentation.

Fixes #1523
2023-02-12 12:58:05 +02:00
88cb22d178 mu4e: integrate mkdir better into mu4e
When moving to a non-existent folder, offer to create it and proceed from
there (that _almost_ worked earlier).

Fixes #628
Fixes #477
2023-02-12 11:17:59 +02:00
76fedf4d64 mu-server: make :update for mkdir optional
It's useful to do "opportunistic" mkdir form mu4e; don't send updates in
that case (i.e. with :update nil)
2023-02-12 11:16:47 +02:00
c70d4b70d2 mu4e-main: better handle :name workaround for maildirs
Distinguish between the lambda and normal activation functions.
2023-02-12 11:07:42 +02:00
e1a160a8e5 mu4e-main: just mu4e-search for maildir query
When activated.
2023-02-12 00:34:06 +02:00
c3aed7c821 NEWS.org: update 2023-02-11 17:50:58 +02:00
6559f0f86e mu4e: show actual keybindings in main-view
Let the main-screen show a representation of the *actual* keybindings
rather than assuming the defaults.

For that to work, we need to invoke mu4e-main-mode earlier; add a new
hook mu4e-main-mode-rendered-hook which is invoked after rendering is
complete.

Add a few helpers for this to mu4e-helpers.
2023-02-11 17:50:58 +02:00
5df98d57cb Merge pull request #2428 from leotaku/bug-reference-no-override
Only add bug-reference setup function after the feature was loaded
2023-02-03 19:07:47 +02:00