Commit Graph

6616 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 11d47e0eab build: bump version to 1.10.4 2023-06-22 23:43:38 +03:00
Dirk-Jan C. Binnema aa2c17e138 contact/display-name: quote "names" with '@'
Apparently, some mail servers want this, and gnus doesn't handle it
automatically.
2023-06-16 10:37:25 +03:00
Dirk-Jan C. Binnema 47cbd45f90 gmime-test: fix leak 2023-06-16 10:37:19 +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 085ad4a9fd message: remove control characters from subject
And add a unit-test.

Fixes #2477
2023-06-16 10:35:54 +03:00
Dirk-Jan C. Binnema b0c71fbdb5 meson.build: avoid clang build warning 2023-06-16 10:35:22 +03:00
Dirk-Jan C. Binnema 80a2d4cef4 build: bump version to 1.10.3 2023-04-15 23:20:37 +03:00
Dirk-Jan C. Binnema 2c7ba20696 README.org: make 1.10-specific 2023-04-15 08:09:58 +03:00
Dirk-Jan C. Binnema 4bfa100e37 utils: add thread_dep for logger test
Needed on some systems

Fixes #2473
2023-04-15 08:02:46 +03:00
Dirk-Jan C. Binnema 21f53c9928 mu-server: improve error message 2023-04-15 08:02:41 +03:00
Dirk-Jan C. Binnema a9e96ff935 mu: improve error numbers
Ensure they match what mu expects.
2023-04-15 08:02:35 +03:00
Dirk-Jan C. Binnema 79035e7487 build: add 'uninstall' target to make 2023-04-15 08:02:29 +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 7597c93cd5 build: bump version to 1.10.2
New stable version; since 1.10.1:

- improve unit tests
- fix threading issue with file-based logging
- re-enable --after option for mu cfind
- allow extracting message-parts from message (mu extract)
- allow using relative message paths (view/extract/verify)

Mu4e:

- by default, don't reuse frame with composing in new frame
- allow for disabling global modeline items
- create random name for newly detached views
- documentation update
2023-04-09 15:05:50 +03:00
Dirk-Jan C. Binnema bfb5794cb1 update README.org 2023-04-09 15:04:27 +03:00
Dirk-Jan C. Binnema c78435a6fe tests: always log to file during tests
And set the cachedir (for logging and other things) to a random tmpdir.
2023-04-09 15:04:19 +03:00
Dirk-Jan C. Binnema 8e9579055f logger: create logdir if non-existent 2023-04-09 15:04:13 +03:00
Dirk-Jan C. Binnema c09b93a129 tests: turn off dead test test_mu_extract_01 2023-04-09 15:04:09 +03:00
Dirk-Jan C. Binnema 3706fd4786 tests: fix links tests 2023-04-09 15:04:03 +03:00
Dirk-Jan C. Binnema b56698a113 test: don't "uniqify" link names during test 2023-04-09 15:03:59 +03:00
Dirk-Jan C. Binnema 3e496d56d9 build: avoid meson warning 2023-04-09 15:03:54 +03:00
Dirk-Jan C. Binnema a8f2f7497f mu-cfind: re-enable --after option
It was still there, but disabled.

Fixes #2470.
2023-04-08 20:52:40 +03:00
Dirk-Jan C. Binnema 601a75bf24 mu4e: remove obsolete TODO 2023-04-08 20:52:37 +03:00
Dirk-Jan C. Binnema e29dc2d9d8 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:34:16 +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
Dirk-Jan C. Binnema 0ff1f40679 message: allow extracting message parts to file
And add unit-test.

Fixes #2467
2023-04-06 07:50:28 +03:00
Dirk-Jan C. Binnema a156b52ddd mu: allow relative message paths in mu commands 2023-04-06 07:50:21 +03:00
Dirk-Jan C. Binnema f1c29dc1fb build: Add gmime 3.2.13 warning
For #2461, #2429.
2023-04-06 07:50:09 +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
Dirk-Jan C. Binnema 08027738f7 build: bump version to 1.10.1
Number of fixes:

- defcustom typing updates
- re-enable json output for mu-find
- restore emacs27 compatibility (buffer-local-boundp)
- avoid tramp cornercase for mu4e version check
- handle function-type bookmarks again
- restore terminal colors after error
2023-04-02 09:28:53 +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 72096bfed6 mu-find: restore JSON output
Fixes #2453
2023-04-02 09:26:18 +03:00
Dirk-Jan C. Binnema f077c5a450 NEWS.org: add note about file option expansion
As per #2448.
2023-04-02 09:26:14 +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 bdf3253783 mu-find: brush off --format=links unit test
Enable it by default, and modernize it a little bit
2023-04-02 09:25:50 +03:00
Dirk-Jan C. Binnema 15777abe3c mu: mu-view: don't insist on absolute path
Make it absolute so make_from_path can deal with it.
2023-04-02 09:25:43 +03:00
Dirk-Jan C. Binnema 91bcd0a25b mu4e: restore support for function bookmarks
Fixes 2446.
2023-04-02 09:25:36 +03:00
Babak Farrokhi 34b4288fe5 Reset terminal color after error message 2023-04-02 09:25:29 +03:00
Dirk-Jan C. Binnema fc1193d4b6 build: new release 1.10 2023-03-26 10:30:36 +03:00