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

2111 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
16c75af1f2 mu4e-view: explicitly scroll after rendering
This seems necessary in some cases; for some reason _this week_ that came
up a few time, although the code is old. Could repro with a bare emacs.

Fixes #2683.
2024-04-18 22:36:28 +03:00
Dirk-Jan C. Binnema
c25eeb2209 mu4e-view: ignore decoding errors
We can't do much about them; still attempt to show the message.

Fixes #2561.
2024-04-18 22:35:52 +03:00
Adam Porter
061450d049 mu4e--view-render-buffer: Disable Gnus bookmark-make-record-function
The function 'gnus-summary-bookmark-make-record' does not work properly with the
faux "appeasement" summary buffer, causing undesired changes in the window
configuration when the message rendering buffer's bookmark function is
called (which some packages, like Activities, Burly, and Dogears do routinely).

See <https://github.com/alphapapa/activities.el/issues/55>.

Reported-by: Daniel Goldin <https://github.com/danielgoldin>
2024-03-26 21:21:14 -05:00
Sean Farley
bbb81eda94 mu4e: add support for macos notifications
The current order in this patch is

1) macos notification
2) built-in dbus notification
3) fallback text notification

because macOS emacs can actually have dbus enabled (for emacs daemon
mode) but that doesn't support notifications. This is a built-in way to
send a simple notification for macs, too. Yay!
2023-12-18 20:05:29 -08:00
Dirk-Jan C. Binnema
d2d9585f75 mu4e-view: assign gnus-article-buffer in mu4e-view-mode
Some external programs (such as bbdb) seems to depend on that.
2023-11-09 21:17:09 +02:00
reindert
451303193a Fix completion w other keys than quick key 2023-10-19 07:50:37 +03:00
Dirk-Jan C. Binnema
bcd3e48931 infodir: allow absolute path
Fixes #2548
2023-09-03 17:33:08 +03:00
Dirk-Jan C. Binnema
7d85b4acce mu4e-compose-complete-addresses: use correct type
Backport from master

Fixes #2544
2023-08-30 19:00:26 +03:00
Dirk-Jan C. Binnema
ba1e41fa70 mu4e-view: fix mu4e-view-refresh
It's didn't quite work in the post-mu4e-window world
2023-07-20 09:12:23 +03:00
Dirk-Jan C. Binnema
d5893ad387 mu4e/search: clarify sortable fields (threading)
When threads are enabled, only sorting by date is possible; make this
clearer in the UI.

Fixes #2507.
2023-07-20 09:07:34 +03:00
Dirk-Jan C. Binnema
958c153b87 mu4e-view: restore point in single-window headers buffer
In single-window mode, after quitting the view, explicitly restore the
point in the headers view to the last viewed message (just like in split
view mode).
2023-07-06 07:42:11 +03:00
Dirk-Jan C. Binnema
256ef21f2f mu4e: run mu4e-view-rendered-hook non-read-only
Non-read-only is likely the expected behavior.

Fixes #2500.
2023-06-16 10:37:13 +03:00
Dirk-Jan C. Binnema
b81608a4f4 mu4e: don't error out in mu4e-view-quit
Fixes #2487.
2023-06-16 10:36:48 +03:00
Dirk-Jan C. Binnema
a31472f886 mu4e: add mu4e-fetch-field 2023-06-16 10:36:18 +03:00
Dirk-Jan C. Binnema
a1aed61002 mu4e-query-item: reset mu4e--last-delta-unread
Fixes #2447.
2023-04-15 08:02:24 +03:00
Dirk-Jan C. Binnema
601a75bf24 mu4e: remove obsolete TODO 2023-04-08 20:52:37 +03:00
Dirk-Jan C. Binnema
f6cf7720e0 mu4e: Add display-buffer-list example
To fine-tune the main-buffer display.
2023-04-08 10:34:11 +03:00
Martin R. Albrecht
4524213d2e don't use display-buffer-reuse-window when composing in frame 2023-04-06 07:50:41 +03:00
Nacho Barrientos
0291573909 mu4e: allow to disable the global mode-line items
Fixes #2463
2023-04-06 07:50:37 +03:00
Dirk-Jan C. Binnema
3dc633364d mu4e: mention mu4e-maildir-shortcuts in main-view section 2023-04-06 07:50:33 +03:00
Sean Farley
8b3dd03f8a 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-04-06 07:49:59 +03:00
ramon diaz-uriarte (at Phelsuma)
28050b2f33 documentation typo: C-x w ^f places in new frame, not new tab 2023-04-06 07:49:48 +03:00
Nacho Barrientos
f31fa2515a mu4e: correct variable name in manual 2023-04-06 07:49:38 +03:00
Ruijie Yu
8ecf77295c 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-02 09:26:44 +03:00
Dirk-Jan C. Binnema
b9d23d34e7 mu4e: fix mu4e--main-action alt
As per #2439.
2023-04-02 09:26:27 +03:00
Dirk-Jan C. Binnema
631abbccd1 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-04-02 09:26:22 +03:00
Dirk-Jan C. Binnema
eedc4d34e1 mu4e-window: add mu4e--buffer-local-boundp
buffer-local-boundp was introduced in emacs 28.

Fixes #2456.
2023-04-02 09:26:10 +03:00
Dirk-Jan C. Binnema
d96a3c946c 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-04-02 09:26:03 +03:00
Dirk-Jan C. Binnema
c7e7e7861a mu4e: handle functionp queries in mu4e--make-query-items 2023-04-02 09:25:57 +03:00
Dirk-Jan C. Binnema
91bcd0a25b mu4e: restore support for function bookmarks
Fixes 2446.
2023-04-02 09:25:36 +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
Anton Tetov
f444439b5b
typo in mu4e docs Org-mode links
s/%d:date-timestamp-inactive/ %date-timestamp-inactive
2023-02-17 22:27:03 +01:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
8b16e5a449 mu4e: add command mu4e-server-repl
This for testing the mu4e server.
2023-02-17 10:32:21 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
47f8f8c382 mu4e-search: cosmetic 2023-02-16 21:22:37 +02:00