From 71eda7d37c8ef38502c360b518fcbf5960497eea Mon Sep 17 00:00:00 2001 From: Parasrah Date: Thu, 6 Jan 2022 21:54:28 -0700 Subject: completions: add support for completing multiple addresses as per the discussion https://lists.sr.ht/~sircmpwn/aerc/patches/15367 this handles completions in `completer/completer.go` by enabling the completer to return a `prefix` that will be prepended to the selected completion candidate. --- doc/aerc-config.5.scd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/aerc-config.5.scd') diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index ae03074..2ef4ebc 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -318,8 +318,8 @@ These options are configured in the *[compose]* section of aerc.conf. *address-book-cmd* Specifies the command to be used to tab-complete email addresses. Any - occurrence of "%s" in the address-book-cmd will be replaced with what the - user has typed so far. + occurrence of "%s" in the address-book-cmd will be replaced with anything + the user has typed after the last comma. The command must output the completions to standard output, one completion per line. Each line must be tab-delimited, with an email address occurring as -- cgit v1.2.3