Commit Graph

7120 Commits

Author SHA1 Message Date
Arthur A. Gleckler 270a58ae8e Fix typos. 2024-04-04 11:17:33 -07:00
Dirk-Jan C. Binnema b25f1130de build: rationalize emacs dep checking 2024-04-02 18:39:51 +03:00
Dirk-Jan C. Binnema 15c9a3ea51 build: avoid some test-only declarations
Only when we actually need them.
2024-04-02 07:40:20 +03:00
Dirk-Jan C. Binnema d13feb2d99 mu-contact: move email validation to contacts cache
So we can be sure the regexp is initialized. This _may_ help for
 https://bugzilla.opensuse.org/show_bug.cgi?id=1221861
though it is very hard to tell!
2024-04-02 07:40:20 +03:00
Dirk-Jan C. Binnema 2e40852abc mu4e-compose: turn off message-completion-function
It interferes with mu4e's completion.
2024-04-02 07:39:28 +03:00
Dirk-Jan C. Binnema 5bd0750bce mu4e-compose: split out mu4e-complete-contact
Add a separate public function mu4e-complete-contact which can be used
anywhere (with completion-at-point-functions); and use
mu4e-compose-complete-contact-field in mu4e composition buffers.

Document this as well.
2024-04-02 07:24:56 +03:00
Dirk-Jan C. Binnema 8e981e3f46 thirdparty: use CLI11 v2.4.1 2024-04-01 16:11:30 +03:00
Dirk-Jan C. Binnema f31684bfa6 thirdparty: use libfmt 10.2.1
Mostly to avoid the gcc 14 compilation warnings
2024-04-01 16:01:08 +03:00
Dirk-Jan C. Binnema e2be29fde6
Merge pull request #2677 from MatthewGentoo/bug-928361
mu-utils: Fix build with musl
2024-04-01 20:05:52 +08:00
Matthew Smith 45b4f60348 mu-utils: Fix build with musl
In musl, `stdout` is a macro that expands to `(stdout)`, and
`::(stdout)` is not valid C++.

../mu-1.12.2/lib/utils/mu-utils.hh:268:32: error: expected
  id-expression before '(' token
 268 |                              ::stdout);
     |                                ^~~~~~

Nothing in the Mu namespace is named stdout, so it is safe to drop
the `::`.

Bug: https://bugs.gentoo.org/928361
2024-04-01 11:23:39 +00:00
Dirk-Jan C. Binnema 770a2396de mu4e-obsolete: add alias for mu4e-clear-caches
The function was already marked as obsolete, but did not have
an alias yet; add it now.
2024-04-01 00:01:51 +03:00
Dirk-Jan C. Binnema 5a07364071 mu4e.texi: fix typo 2024-04-01 00:01:39 +03:00
Dirk-Jan C. Binnema d29cf468ff
Merge pull request #2674 from alphapapa/fix/man-page
man: Escape Org heading-like lines in example
2024-03-29 09:53:08 +07:00
Adam Porter 9275068204 man: Escape Org heading-like lines in example 2024-03-28 11:04:05 -05:00
Dirk-Jan C. Binnema 3caa04fc2b
Merge pull request #2668 from Chris00/master
Update install instructions for icalendar
2024-03-19 21:54:27 +02:00
Dirk-Jan C. Binnema fba0828e49 mu4e: set gnus-icalendar-setup as alias for mu4e-icalendar-setup 2024-03-19 21:53:39 +02:00
Dirk-Jan C. Binnema 96e28a45ad
Merge pull request #2667 from OnkelUlla/fix_typo
mu-index.1: fix typo
2024-03-19 12:35:21 +02:00
Christophe Troestler 98d93fc367 Update install instructions for icalendar 2024-03-19 11:19:15 +01:00
Ulrich Ölmann fcdc47fcec mu-index.1: fix typo 2024-03-19 08:31:42 +01:00
Dirk-Jan C. Binnema e220b7160a mu4e.texi: add compose-reply-wide-or-not-please-ask example 2024-03-18 19:21:54 +02:00
Dirk-Jan C. Binnema 7e89e3715b mu-query: use mu info tables 2024-03-17 10:59:37 +02:00
Dirk-Jan C. Binnema 44c394316b
Merge pull request #2663 from stefanv/doc-missing-flags
Document personal and calendar flags
2024-03-17 09:51:23 +02:00
Stefan van der Walt 7ca566bda6 Document personal and calendar flags 2024-03-16 15:44:09 -07:00
Dirk-Jan C. Binnema 9304043349 build: bump version to 1.12.2 2024-03-16 23:26:17 +02:00
Dirk-Jan C. Binnema 5dfb4e9dd6 xapian-db: use get_msg on exception
We were using get_error_string, but that might be NULL,
which libfmt doesn't like much.
2024-03-15 22:45:37 +02:00
Dirk-Jan C. Binnema 3660ad9ed7 github: update ubuntu ci build
Turn off sanitize-address (which seems to hang atm)
Add libcld2-dev
2024-03-15 21:57:25 +02:00
Dirk-Jan C. Binnema ecca83528c mu4e-compose: rework mu4e-compose-goto-(bottom|top)
For backward compat.
2024-03-15 20:33:23 +02:00
Dirk-Jan C. Binnema f3d823617e mu4e.texi: add missing node in composer menu 2024-03-15 20:14:11 +02:00
Dirk-Jan C. Binnema a6c78ab133 mu4e-helpers: fix mu4e-keymap-set for older emacs 2024-03-15 20:09:52 +02:00
Dirk-Jan C. Binnema 4564db845a mu4e-compose: avoid byte-compile warnings on older emacsen 2024-03-15 19:48:25 +02:00
Dirk-Jan C. Binnema a1001a915d mu4e-helpers: check for key-valid-p
It's not available in older emacsen.
2024-03-15 19:47:37 +02:00
Dirk-Jan C. Binnema 52826aa758 message: flag list-unsubscribe as MailingList
Flag message that merely have a List-Unsubscribe header with
Flags::MailingList too (some marketing message have this header, yet
miss "List-Id".

Add a test as well.
2024-03-15 19:47:37 +02:00
Dirk-Jan C. Binnema 9fd0d2be12 clang: fix some compiler warnings
From CI.
2024-03-15 19:47:30 +02:00
Dirk-Jan C. Binnema 2929a82246 mu4e-helpers: add mu4e-keymap-set, fix warnings
keymap-set only appeared in Emacs 29, so add a stand-in for now.

Fix some flymake warnings.
2024-03-14 13:41:56 +02:00
Dirk-Jan C. Binnema 6d9cf64286 mu4e-compose: copy message-reply-headers to fake buffer
We need copy the buffer-local value from _another_ buffer

HT: Martin R. Albrecht.
2024-03-13 07:34:19 +02:00
Dirk-Jan C. Binnema 0e05ab8c1d mu4e-compose: only use keymap-set when available
Was added with emacs 29.
2024-03-12 20:46:34 +02:00
Dirk-Jan C. Binnema 9e47a6cdff IDEAS.org: update for PDF indexing 2024-03-12 12:29:37 +02:00
Dirk-Jan C. Binnema c45bdca83b mu4e-compose: restore mu4e-compose-goto-(bottom|top)
Bring back from 1.10.
2024-03-12 12:29:37 +02:00
Dirk-Jan C. Binnema fdce40af92 guile: separate guile load/extensions path 2024-03-10 10:28:11 +02:00
Dirk-Jan C. Binnema 80745cbe29 Merge commit 'pullreqs/2635' 2024-03-10 10:27:46 +02:00
Dirk-Jan C. Binnema 0b68afe9aa mu-index.1: add note about encryption
mu index does not decrypt.

Fixes #2660.
2024-03-07 22:56:10 +02:00
Dirk-Jan C. Binnema 06134d3909
Merge pull request #2652 from a3a3el/more-man-page-fixes
More man page fixes
2024-03-07 09:57:38 +02:00
Jeremy Sowden 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
Jeremy Sowden 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
Jeremy Sowden 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
Jeremy Sowden 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
Jeremy Sowden 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
Jeremy Sowden 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
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 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