Commit Graph

6621 Commits

Author SHA1 Message Date
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 9c74d4bd85 build: bump version to 1.11.2 2023-04-15 07:52:24 +03:00
Dirk-Jan C. Binnema 3c578d7a3b utils: add thread_dep for logger test
Needed on some systems

Fixes #2473
2023-04-14 12:48:03 +03:00
Dirk-Jan C. Binnema b41955b82a mu-server: improve error message 2023-04-11 21:31:13 +03:00
Dirk-Jan C. Binnema 8762ac27dc mu: improve error numbers
Ensure they match what mu expects.
2023-04-11 20:47:48 +03:00
Dirk-Jan C. Binnema 8bd6fe23c4 build: add 'uninstall' target to make 2023-04-11 20:49:31 +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 36f4239bc8 update README.org 2023-04-09 15:03:13 +03:00
Dirk-Jan C. Binnema ec942a988d tests: always log to file during tests
And set the cachedir (for logging and other things) to a random tmpdir.
2023-04-09 14:43:36 +03:00
Dirk-Jan C. Binnema 9b8a0146e0 logger: create logdir if non-existent 2023-04-09 14:43:17 +03:00
Dirk-Jan C. Binnema d90692e27b tests: turn off dead test test_mu_extract_01 2023-04-09 11:17:02 +03:00
Dirk-Jan C. Binnema b68dd9951a build: bump version to 1.11.1 2023-04-09 11:06:32 +03:00
Dirk-Jan C. Binnema 0e44764702 tests: fix links tests 2023-04-09 11:03:42 +03:00
Dirk-Jan C. Binnema e43452fa18 test: don't "uniqify" link names during test 2023-04-09 11:02:58 +03:00
Dirk-Jan C. Binnema 1868e4f977 build: avoid meson warning 2023-04-09 10:02:17 +03:00
Dirk-Jan C. Binnema 0ab2371c5c mu-cfind: re-enable --after option
It was still there, but disabled.

Fixes #2470.
2023-04-08 20:48:46 +03:00
Dirk-Jan C. Binnema 2285355374 mu4e: remove obsolete TODO 2023-04-08 13:29:48 +03:00
Dirk-Jan C. Binnema 2aa0d20f39 mu-logger: Add lock for file-logger and stress test
Add a lock to the file logger and add a unit-test to stress test it.
(It does fail without the lock, and passed with it).

Should help for: #2469.
2023-04-08 10:26:15 +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 198f8d5451 build: bump version to 1.11.0 2023-04-06 07:47:53 +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 026a19bcfa message: allow extracting message parts to file
And add unit-test.

Fixes #2467
2023-04-06 07:19:26 +03:00
Dirk-Jan C. Binnema cd23e6015d mu: allow relative message paths in mu commands 2023-04-06 07:19:26 +03:00
Dirk-Jan C. Binnema 6f2c934d72 build: Add gmime 3.2.13 warning
For #2461, #2429.
2023-04-06 07:19:25 +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
Dirk-Jan C. Binnema 67154ed5fa
Merge pull request #2462 from nbarrientos/ib_variable
mu4e: correct variable name in manual
2023-04-03 16:05:53 +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 547ef6345a github: update bug template 2023-04-02 09:24:10 +03: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 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