Commit Graph

5849 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 20568cba70 mu4e-view: open tmp files read-only
When using the "open-in-emacs" handler, open the temp file as read-only. It's a
temp file, so editing isn't very useful.
2022-01-24 19:00:19 +02:00
Dirk-Jan C. Binnema de3c9a25e8 mu4e.texi: improve mu4e-mailing-list-patterns example 2022-01-23 14:27:00 +02:00
Dirk-Jan C. Binnema a30cc3d9e9 NEWS.org: update 2022-01-23 14:27:00 +02:00
Dirk-Jan C. Binnema a4707afe12 mu4e: cleanups and flycheck fixes
- Remove some unused faces
- Fix some flycheck warnings
- Replace some `cl-` functions with `pcase` and `seq`
2022-01-23 14:27:00 +02:00
Dirk-Jan C. Binnema 3e3d26be8f clang-format: tweaks 2022-01-23 10:29:22 +02:00
Marcelo Henrique Cerri 74437b6374 mu4e-headers: Add mu4e-headers-thread-mark-as-orphan option
To mark only the first message in the thread as orphan, allowing to
replicate the thread structure used by mutt and other clients.
2022-01-19 16:59:38 -03:00
Dirk-Jan C. Binnema aa2ba0f102 build: bump version to 1.7.6 2022-01-18 17:00:01 +02:00
Dirk-Jan C. Binnema a6b996d00e search: restore jump-to-message
Fixes: #2169.
2022-01-18 17:00:01 +02:00
Dirk-Jan C. Binnema f035c801bb store: save contacts more often
Use the new Contacts::dirty() so serialize/save the contacts whenever we commit
a transaction.

And some cosmetics.
2022-01-15 15:12:38 +02:00
Dirk-Jan C. Binnema ca4651a891 mu-contacts: add dirty()
Maintain a "dirtiness" number, which increases with changes, and resets after
serialize().
2022-01-15 15:11:26 +02:00
Dirk-Jan C. Binnema be4fc67584 mu-cfind: don't show error when there are no matches
And some cosmetics
2022-01-15 12:48:53 +02:00
Dirk-Jan C. Binnema 244e10bf7d clang-format: tweak
Don't set the column-limit, since clang-format interprets that as "the length
any line should aspire to" rather than "the length no line shall pass".

It shouldn't mangle shorter lines.
2022-01-15 12:48:53 +02:00
Dirk-Jan C. Binnema e5ead56b2a mu4e-view: fix flycheck warnings
Let's make things clean.
2022-01-15 12:00:27 +02:00
Dirk-Jan C. Binnema a4e5e3adf5 mu4e: attempt to delete loading window upon mu4e-error
When there's a mu4e-error, opportunistically delete the 'Loading..' window.
2022-01-15 10:44:03 +02:00
Dirk-Jan C. Binnema dfe592ac4f mu-server: check for message readability
When querying, avoid showing any messages that do not exists on the file system.
2022-01-15 10:21:32 +02:00
Dirk-Jan C. Binnema 904214ba17 mu4e-view: double-check message file exists
So we can warn user early.
2022-01-15 10:20:32 +02:00
Dirk-Jan C. Binnema ddba5bf01a meson.build: cosmetic 2022-01-14 17:11:08 +02:00
Dirk-Jan C. Binnema cbb2734078 mu-cmd-index: cosmetic 2022-01-14 17:10:56 +02:00
Dirk-Jan C. Binnema 08dc66a525 mu-utils: Fix compiler warning 2022-01-14 17:10:16 +02:00
Dirk-Jan C. Binnema b072b4a57e mu4e-view: Add defcustom mu4e-view-open-program
When xdg-open is not enough.
2022-01-12 22:32:21 +02:00
Dirk-Jan C. Binnema 324b6f5022 mu4e-view: experiment xwidget support
Add experimental support for displaying html messages in an xwidget; this
doesn't work for all messages.
2022-01-10 22:07:06 +02:00
Dirk-Jan C. Binnema 42d5cde612 mu4e-view: catch epg error
Give a bit more user-feedback when e.g. EPG fails to decrypt a message.
2022-01-09 14:08:24 +02:00
Dirk-Jan C. Binnema ec41585dab mu-msg-file: check for top-level s/mime
Update the content flags for top-level S/MIME encrypted & signed.
2022-01-09 11:36:39 +02:00
Dirk-Jan C. Binnema 4df94b0c86 mu-init: update manpage
Fixes: issue #2200.
2022-01-09 10:27:09 +02:00
Dirk-Jan C. Binnema bbf55256e5 mu4e-view: add massage toggle for text filling
For some mis-rendered messages, it can be useful to toggle filling, so add this
as an massage ('M') option.
2021-12-25 11:01:33 +02:00
Dirk-Jan C. Binnema 8704101afc mu4e-folders: fix typo in docstring 2021-12-19 23:15:42 +02:00
Dirk-Jan C. Binnema 8dcdd0a815 mu4e-view: add toggle to show all mime-parts
Add a toggle to show (links for) all top-level MIME-parts, so you can e.g.
perform actions on 'inline' images.
2021-12-19 23:15:42 +02:00
Dirk-Jan C. Binnema d389dbb5b3 config: minor cleanup 2021-12-19 23:15:42 +02:00
Dirk-Jan C. Binnema e45fc92036
Merge pull request #2191 from tsdh/eldoc-support
Add eldoc support in headers views
2021-12-19 22:52:35 +02:00
Dirk-Jan C. Binnema 4f02702510 store: add catch blocks for dirstamp/set_dirstamp 2021-12-18 15:22:52 +02:00
Dirk-Jan C. Binnema abd0abf5c8 mu-msg-file: don't insist on absolute path
Since we make it absolute anyway (g_canonicalize_file); this avoid an annoying
error when using mu view with a relative path.
2021-12-18 15:22:52 +02:00
Tassilo Horn c14ffa2918 Add eldoc support in headers views
When using a side-by-side split layout, i.e., headers left of message view, it
easily can happen that parts of the headers (like a longer subject) are not
visible without horizontal scrolling.  So eldoc to the rescue, which can echo a
customizable message (see `mu4e-headers-eldoc-format`) containing stuff like
subject, from, to, date, etc. in the echo area.
2021-12-15 21:21:41 +01:00
Dirk-Jan C. Binnema 9d4326e3ce
Merge pull request #2180 from wavexx/ignore_old_elc
Ignore existing compiled files when byte-compiling
2021-12-15 20:22:36 +02:00
Dirk-Jan C. Binnema 3001c7832d tests: add unit test for cjk handling
This test exposes some problem finding longer CJK strings; see: issue #1428.
The test does not _pass_ yet, so skip it for now.
2021-11-22 22:23:18 +02:00
Dirk-Jan C. Binnema e8719889d8 clang-format: tweaks 2021-11-22 21:54:03 +02:00
Dirk-Jan C. Binnema 0ade4ecfa7 indexer: fix race condition
It was possible for the worker to stop before the work was even started; and
then we might wait forever for the queue to become empty.
2021-11-22 21:52:01 +02:00
Yuri D'Elia 86f88299e7 Ignore existing compiled files when byte-compiling
Set load-prefer-newer to avoid loading old byte-compiled files when
rebuilding an existing tree.
2021-11-13 14:35:07 +01:00
Dirk-Jan C. Binnema d0bb0f215a man: update mu-index (.noupdate) 2021-11-13 07:58:49 +02:00
Dirk-Jan C. Binnema f71c05805c build: Add some Xapian deps
Fixes: issue #2178.
2021-11-12 23:11:45 +02:00
Dirk-Jan C. Binnema 113a831641 mu4e: add (from|to)nameoraddress properties for links
I.e. use name but fall back to address if there's no name.
2021-11-12 23:05:08 +02:00
Dirk-Jan C. Binnema e672f952a8 index: ignore .update when store is empty
This somewhat emulates the 1.4 behavior.
2021-11-11 21:58:23 +02:00
Dirk-Jan C. Binnema ce08ec3250 doc: remove 'rebuild' remnants
There's no --rebuild anymore (since a long time), so let's remove some remnants.
2021-11-11 21:27:05 +02:00
Dirk-Jan C. Binnema 0e420474a2 build: bump version to 1.7.5 2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema f89dbbd4db build: update NEWS.org 2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema ef25637128 mu4e: use 'checked' instead of 'processed'
Update to the new name.
2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema 503d7224e0 mu: update the index 'processed' -> 'checked'
The 'processed' statistic for indexing was more-or-less synonymous for
'updated'; let's change to something more useful, 'checked' which roughly means
the number of messages checked for updates (typically a cheap timestamp check).
2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema dd3efb0b8b mu4e: update mu4e-compose-context-switch
Update mu4e-compose-context-switch:
1) attempt to update the message signature as well
2) remove the (no longer working) code to try to move the underlying file (which
   was a bit too fragile) (see issue: #2140)
2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema c9e958d65c utils: add Mu::time_to_string
Helper function to format strings (a-la strftime).
2021-11-10 22:32:28 +02:00
Dirk-Jan C. Binnema 0cbd18e7a5 mu4e: server: improve docstrings 2021-11-10 22:31:58 +02:00
Dirk-Jan C. Binnema 4c0d8572d8 store/indexer: move transaction handling to store
Move the transaction handling code inside Store, simplifying the indexer.
2021-11-09 22:43:11 +02:00