Commit Graph

1964 Commits

Author SHA1 Message Date
Christian Schwarzgruber 8db9e3edf2 mu4e-view: ask to create directory when saving attachments 2023-01-01 10:34:08 +01:00
Dirk-Jan C. Binnema e435692bb2 mu4e-main: refactor bookmark/maildir menu creation
There was quite a bit of duplicate code, refactor it to reduce.
2022-12-30 23:30:45 +02:00
Dirk-Jan C. Binnema 3e3aeead9b Revert "Add support for empty and string maildir shortcuts"
This reverts commit be695579c6.

The change didn't look very nice (keynames are not aligned etc.), and in
hindsight we should probably implement this slightly differently.
2022-12-30 16:19:19 +02:00
Dirk-Jan C. Binnema 653bc9253f mu4e: update some versions in mu4e.texi 2022-12-29 12:04:45 +02:00
Dirk-Jan C. Binnema ba09b8fc2c mu4e.texi: add headers-mark customization example 2022-12-29 09:01:44 +02:00
Dirk-Jan C. Binnema 67db2ce092 mu4e-context: tweak minor mode 2022-12-29 09:01:44 +02:00
Dirk-Jan C. Binnema 9e1f0931f4 mu4e-main: fix byte-compiler warning 2022-12-29 08:43:42 +02:00
Dirk-Jan C. Binnema eb8160e8ed mu4e-main: restore mail-menu support for split-window mode 2022-12-29 00:23:32 +02:00
Dirk-Jan C. Binnema 15fadee730 mu4e-main: whitespace 2022-12-29 00:22:48 +02:00
Dirk-Jan C. Binnema 155d7be1d4 mu4e-view: "detach" headers view when quitting in single-window mode
Otherwise the headers view seems to get confused (thinking it is still
showing a message).
2022-12-28 20:59:20 +02:00
Dirk-Jan C. Binnema 56099998e4
Merge pull request #2292 from manufactory/master
More customizable maildir shortcuts
2022-12-28 10:55:57 +02:00
Dirk-Jan C. Binnema fe88890419 mu4e-view: update mu4e-view-fields
Remove obsolete fields; update docstring.
2022-12-24 15:28:46 +02:00
Dirk-Jan C. Binnema 1799c69451 mu4e-view: rename mu4e~view -> mu4e--view
Our long-running migration from mu4e~ -> mu4e-- takes another step.
2022-12-24 10:02:21 +02:00
Dirk-Jan C. Binnema 4bf85a769e mu4e-window: define display-buffer-full-frame if needed
display-buffer-full-frame was added only in emacs 29.x
2022-12-20 21:00:58 +02:00
Dirk-Jan C. Binnema 3568e6784a mu4e~view-in-headers-context: don't display buffer
Displaying the buffer doesn't look very nice in single-window mode.
2022-12-19 23:24:40 +02:00
Dirk-Jan C. Binnema fcda5dcc5f mu4e-view: Re-add mu4e-view-quit
Add special handling for single-window/other for view buffer quitting

Fixes #2386.
2022-12-19 23:00:49 +02:00
Mickey Petersen 8ea01241ca Change how *mu4e-main* is displayed and default to full frame 2022-12-17 15:13:17 +00:00
Dirk-Jan C. Binnema 926083458d
Merge pull request #2380 from mickeynp/bugfix/re-add-missing-argument
Re-add missing argument as `define-mail-user-agent' expects it
2022-12-16 18:57:04 +02:00
Dirk-Jan C. Binnema 371376a42b
Merge pull request #2378 from mickeynp/bugfix/fix-window-issues
Bugfix/fix window and buffer issues
2022-12-16 18:56:19 +02:00
Dirk-Jan C. Binnema 34815a1961 mu4e: use mu4e-view-rendered-hook
Instead of the older mu4e-after-view-message-hook; update version where
it go obsolete.
2022-12-15 11:52:50 +02:00
Dirk-Jan C. Binnema 83ed407dbc mu4e-view: use kill-buffer-and-window
...for the last remaining mu4e~view-quit-buffer.

Fixes issue #2381
2022-12-15 11:47:12 +02:00
Mickey Petersen 5a77065011 Do not create a mu4e buffer unless asked for 2022-12-15 07:41:23 +00:00
Mickey Petersen cb364bc0c5 Attempt to delete the window after composing a message 2022-12-15 07:41:23 +00:00
Mickey Petersen af35314231 Rename to _switch-action 2022-12-15 07:38:46 +00:00
Dirk-Jan C. Binnema e85445b787 mu4e: update documentation
Where need, use ~mu4e-view-rendered-hook~, and warn users.
2022-12-15 00:05:26 +02:00
Dirk-Jan C. Binnema 56d8f4cd25 mu4e: rename mu4e-after-view-message-hook into mu4e-view-rendered-hook
For consistency.
2022-12-15 00:05:26 +02:00
Dirk-Jan C. Binnema 00d3e9208d mu4e-view: whitespace fixes 2022-12-15 00:05:11 +02:00
Dirk-Jan C. Binnema 3f0b22396d
Merge pull request #2379 from tsdh/bug-reference
bug-reference: Add clarifying comment / checked-headers as variable
2022-12-14 22:53:20 +02:00
Dirk-Jan C. Binnema 2988a1dc32 mu4e.texi: update display section
Update for the updated display handling
2022-12-14 22:44:11 +02:00
Dirk-Jan C. Binnema 368ea2f568 mu4e-window: mention mu4e-split-view cannot be a function
mu4e-split-view can no longer be a function; update the documentation.
2022-12-14 22:38:35 +02:00
Dirk-Jan C. Binnema 6bcf665c85 mu4e-window: use mu4e-error
Instead of the error.
2022-12-14 22:37:56 +02:00
Mickey Petersen c3d962545d Re-add missing argument as `define-mail-user-agent' expects it 2022-12-14 20:00:42 +00:00
Tassilo Horn cbeed9ef28 bug-reference: Add clarifying comment / checked-headers as variable 2022-12-14 18:34:24 +01:00
Dirk-Jan C. Binnema fdbf912e06 mu4e-view: use kill-buffer-and-window for quitting
That restores the classic mu4e style. I.e.,

With default settings, e.g.

    case 1: - (1)go to inbox -> (2)see headers -> (3)open message ->
    window splits -> (4)read message -> (5)'q' . Window closes and we're
    back to (2). All good!

The more complicated step is

    case 2: (4) read message -> (5) reply to message -> (6) done
    replying -> back to (4) but for some reason when pressing 'q' now,
    the window is not closed, but replaced by the headers window (so we
    have 2 now. [ I think it should behave just like in case 1 ]

This fixes that.
2022-12-13 23:50:38 +02:00
Dirk-Jan C. Binnema 9ae567f5f5 mu4e-view: whitespace cleanup 2022-12-13 23:49:57 +02:00
Dirk-Jan C. Binnema 98fcf0192c mu4e-window: avoid some byte-compiler-warnings 2022-12-13 09:42:13 +02:00
Dirk-Jan C. Binnema 7d9a9d8a7c mu4e-main: make main-window full-screen again
Make the main-window fullscreen again, as before.
2022-12-13 09:36:42 +02:00
Dirk-Jan C. Binnema de8b4f0e32 mu4e-main: whitespace updates 2022-12-13 09:36:16 +02:00
Dirk-Jan C. Binnema f7fe4fea21 mu4e-window: disable functionp mu4e-split-window for now
Set it to 'horizontal. It didn't quite work with the new window handling
code, such that mu4e was not functional. So let's restore the basics at
least.
2022-12-13 00:58:54 +02:00
Dirk-Jan C. Binnema bdb494135d
Merge pull request #2377 from mickeynp/bugfix/preserve-view-window
Preserve `mu4e~headers-view-win' when a search is (re-)executed
2022-12-12 23:50:16 +02:00
Mickey Petersen 0b99dd5c8c Preserve `mu4e~headers-view-win' when a search is (re-)executed 2022-12-12 18:57:57 +00:00
Mark Knoop 6a7d48c854 Add variable for initial input to maildir selection
"/" was hardcoded as initial input to `mu4e-completing-read-function'
when selecting 'other' maildirs. This can now be set by the user.
2022-12-12 18:15:15 +00:00
Dirk-Jan C. Binnema a4698db84e mu4e.texi: update documentation
Use the new toggles.
2022-12-11 15:25:11 +02:00
Dirk-Jan C. Binnema f46fe4ee69 mu4e-headers: show number of hidden messages in footer 2022-12-11 14:38:40 +02:00
Dirk-Jan C. Binnema f4923c6f2a mu4e-headers: make hide-predicate togglable
Like the other search properties.
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema 5a3d7e9c56 mu4e-headers: add mu4e-headers-toggle-property, remove obsolete
And add the 'P' one for mu4e-headers-toggle-property
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema e453f20ade mu4e-helpers: allow passing key to mu4e-read-option
Can be useful for non-interactive use.
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema b8861cdbfe mu4e-helpers: fix whitespace
Follow .dir-locals.
2022-12-11 13:59:26 +02:00
Dirk-Jan C. Binnema 2dca07612c mu4e-obsolete: make mu4e-headers-toggle-* obsolete
... for the new mu4e-headers-toggle-property
2022-12-11 13:56:12 +02:00
Dirk-Jan C. Binnema f0e973f8c5 mu4e-obsolete: whitespace fixes 2022-12-11 13:55:38 +02:00