Commit Graph

7079 Commits

Author SHA1 Message Date
0b68afe9aa mu-index.1: add note about encryption
mu index does not decrypt.

Fixes #2660.
2024-03-07 22:56:10 +02:00
06134d3909 Merge pull request #2652 from a3a3el/more-man-page-fixes
More man page fixes
2024-03-07 09:57:38 +02:00
721aadc140 man: change quoting style
The man-page sources use single quotes to quote text.  However, this can be
problematic in man-pages because if a single quote appears at the beginning of a
line the following word is interpreted by troff as a macro.  For example, this
paragraph in mu-easy.7:

    What if we want to see some of the body of the message? You can get a 'summary'
    of the first lines of the message using the \fI\-\-summary\-len\fP option, which will
   'summarize' the first \fIn\fP lines of the message:

elicits this warning:

    $ man --warnings obj-x86_64-linux-gnu/man/mu-easy.7 >/dev/null
    troff:<standard input>:166: warning: macro 'summarize'' not defined

and gets truncated:

    What  if  we want to see some of the body of the message? You can get a
    'summary' of the first lines of the message using the --summary-len op‐
    tion, which will

One could adjust the line-wrapping to move the quoted text away from the
beginning of the line, but that is fragile.  Another possibility would be to use
the troff escape-sequences for open and close quotes (`\(oq` and `\(cq`
respectively), but ox-man is being used precisely to avoid having to handle
troff directly.  Instead use back-ticks for left quotes.  Thus:

    What if we want to see some of the body of the message? You can get a `summary'
    of the first lines of the message using the \fI\-\-summary\-len\fP option, which will
   `summarize' the first \fIn\fP lines of the message:

which is rendered correctly:

    What  if  we want to see some of the body of the message? You can get a
    `summary' of the first lines of the message using the --summary-len op-
    tion, which will `summarize' the first n lines of the message:

Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-03-06 21:12:32 +00:00
c76aa53156 man: fix formatting of NAME sections
The command names are formatted inconsistently, e.g.:

    * NAME

    ~mu add~ - add one or more messages to the database

versus:

    * NAME

    *mu cfind* is the *mu* command to find contacts in the *mu* database and export them

versus:

    * NAME

    mu server - the mu backend for the mu4e e-mail client

and the format, with a space between "mu" and the subcommand, is not compatible
with mandb(8).  Use formatting which is consistent and replace the spaces with
hyphens.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-03-06 21:12:32 +00:00
e5fe18c2c2 man: disable captions in tables
The tables don't define any captions, and ox-man outputs a `.TB` macro that
groff does not support.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-03-06 21:12:32 +00:00
d8389e9721 man: fix formatting of underscores
In org-mode, underscores are used to represent subscripts.  Thus, `a_b`
will be transcoded to `a\d\s-2b\s+2\u`.  Configure org-mode only to do
this for `a_{b}`.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-03-06 21:12:32 +00:00
f70efd3cec man: fix bold syntax-error
There's a closing asterisk missing from a bold string.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-03-06 21:12:32 +00:00
0e0457190d man: build mu-move.1
1.12.0 includes a new mu-move.1 man-page but the list of man-pages in
man/meson.build was not updated, so it is not built.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-03-06 21:12:32 +00:00
d9390159bb mu4e-compose: bring back mu4e-compose-context-switch
This is the version from 1.10.x that does not change the draft folder.
2024-03-04 16:59:01 +02:00
2423c38d98 mu4e-compose: bring back mu4e-compose-attach-captured-message
It went missing after the compose refactoring.

Fixes #2654.
2024-03-04 16:59:01 +02:00
4cac4a415c Merge pull request #2657 from rrudakov/fix/2656-cite-reply-position
Respect `message-cite-reply-position` customization
2024-03-04 16:58:36 +02:00
e9c8ab9c9d Merge pull request #2655 from rrudakov/master
Fix typo
2024-03-04 16:57:18 +02:00
f779e30dda [#2656] Respect message-cite-reply-position customization 2024-03-04 15:15:50 +01:00
8c8abe5a23 Fix typo 2024-03-04 11:09:56 +01:00
1e5a807b69 build: bump version to 1.12.1 2024-03-03 09:44:30 +02:00
e28c2487d3 mu4e-compose: return new buffer from mu4e--compose-setup
I.e, and this applies to all mu4e-compose-* composition functions as
well.

Fixes #2653.
2024-03-03 09:44:30 +02:00
131f084677 mu4e.texi: remove reference to context-switch while editing 2024-03-03 09:31:26 +02:00
20878c8725 mu4e-compose: tweak buffer handler, add display-buffer
Add 'display-buffer as an option for mu4e-compose-switch, which lets you
use the display-buffer function for display.

Remove the mu4e-message-kill-buffer, simply use message-kill-buffer.
2024-03-02 23:23:52 +02:00
7af9cb205e update IDEAS.org
And refer to it in the RFE issue template.
2024-03-02 19:31:04 +02:00
8afe3e11a2 mu4e-view: use <mouse-2> for links
Only <mouse-2>, to be consistent with eww.
2024-03-01 23:24:37 +02:00
bb5c36c658 tests: add some very basic CLD2_TEST
just to check if it works at all; no need to check cld2 at all.
2024-03-01 23:05:33 +02:00
e859bd376e NEWS.org: update 2024-03-01 16:46:37 +02:00
df0a33b97c message: make sure HAVE_CLD2 is found
This broke the language detection code
2024-03-01 16:43:13 +02:00
68822006c8 guile-tests: fix some typos 2024-02-26 18:31:10 +02:00
acc4b28eeb mu4e-helpers: fix some typos 2024-02-26 18:30:54 +02:00
dcbcd697f4 mu-init: insist that --maildir is absolute 2024-02-26 01:08:44 +02:00
915335fd76 tests: check setlocale return value
It might fail while nl_langinfo does not.
2024-02-25 17:11:29 +02:00
5b65717ce8 build: fix doc generation 2024-02-25 17:11:29 +02:00
5a763af970 lib/mu-store: don't assume non-empty in remove_slash
HT: Arsen Arsenović

Fixes #2633.
2024-02-25 17:11:29 +02:00
f103e19a5a Merge pull request #2632 from MatthewGentoo/build-cld2
build: add cld2 option
2024-02-25 17:02:20 +02:00
f88acc0446 build: add cld2 option
Add an option for builders to explicitly disable cld2, instead of
relying on the automatic detection.
2024-02-25 10:42:22 +00:00
9d7f3f17d8 build: bump version to 1.12.0
This is a new stable release, and everyone is encouraged to upgrade.

See NEWS.org for the many changes.
2024-02-24 16:07:10 +02:00
6b3411bde4 NEWS.org: update for 1.12 2024-02-24 16:07:10 +02:00
f7ba00ec08 mu4e-view: update docstring for header customization 2024-02-24 13:47:55 +02:00
91eb777946 mu4e-compose: try to avoid buffer/frame mishaps
... when closing a message. Should hopefully be a bit less bad than
before.
2024-02-18 18:02:54 +02:00
309df647b8 build: bump version to 1.11.28 2024-02-06 23:51:36 +02:00
a91fe2d7e9 add IDEAS.org with some ideas for implementation
Keep them there to track; no need to clutter up the issue list (it is
rare / never happened?) were someone implemented an RFE-ticket.
2024-02-06 23:29:58 +02:00
62f0a9a902 lib/mu-xapian-db: handle exception with dec_transaction_level
I.e., do our book-keeping beforehand.
2024-01-23 19:15:30 +02:00
ffac8409a3 mu4e-message: handle 'first' parameter to message-fetch-field
May as well support it.
2024-01-23 19:14:19 +02:00
91ce40a8bd mu4e-org: fix typo 2024-01-23 18:26:48 +02:00
30b8238522 tests: move to tests/, make optional
While not recommended, sometimes it can be useful to disable building
the unit tests. This can be done now with
    meson -Dtests=disabled build
2024-01-06 18:35:22 +02:00
8db0c4e3d8 NEWS.org: update 2024-01-04 23:45:15 +02:00
300ab2b0e1 mu4e-message: improve mu4e-fetch-field
Decode the message, so that encoded fields get decoded as expected.
Also add an example to the doc for using mu4e-fetch-field.
2024-01-04 23:41:46 +02:00
b19f136700 Merge pull request #2617 from Chris00/master
mu4e-icalendar: Fix getting the organizer from the message
2024-01-04 23:08:11 +02:00
7257b3fa3c mu4e-icalendar: Fix getting the organizer from the message 2024-01-03 12:13:40 +01:00
ad04f16b09 mu4e: allow sorting by _first_ tag
Fixes #2611
2024-01-02 00:24:03 +02:00
8edddae977 mu4e-server: remove obsolete compose code 2024-01-02 00:15:59 +02:00
bffefc846f build: bump version to 1.11.27 2024-01-01 10:33:12 +02:00
b4c768e6d0 mu-init: guess maildir when --maildir is missing
Re-instate the guessing that's in the manpage. Add unit tests.
Update documentation.

Fixes #2616.
2024-01-01 10:33:03 +02:00
8366e009cb xapian-db: handle doc-not-found error in catch handler 2023-12-31 07:50:54 +02:00