From: Eli Zaretskii Date: Tue, 19 Jul 2022 13:42:43 +0000 (+0300) Subject: ; Fix punctuation in recently changed EUDC documentation X-Git-Tag: emacs-29.0.90~1447^2~852 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=29bf19df09014411cc3f47e3581e2dd0a69bd1f0;p=emacs.git ; Fix punctuation in recently changed EUDC documentation * lisp/net/eudcb-macos-contacts.el (eudc-macos-contacts-search-helper): * lisp/net/eudc-vars.el (eudc-inline-expansion-format): * etc/NEWS: Fix punctuation in recent EUDC changes. --- diff --git a/etc/NEWS b/etc/NEWS index 5c4e55a9ea2..9f0643fdde4 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1508,7 +1508,7 @@ adding the new function 'eudc-capf-complete' to 'completion-at-point-functions' in 'message-mode'. +++ -*** Additional query and results attributes in eudcb-macos-contacts.el +*** Additional attributes of query and results in eudcb-macos-contacts.el. The EUDC back-end for the macOS Contacts app now provides a wider set of attributes to use for queries, and delivers more attributes in query results. diff --git a/lisp/net/eudc-vars.el b/lisp/net/eudc-vars.el index 02636c3d70b..dea17f34247 100644 --- a/lisp/net/eudc-vars.el +++ b/lisp/net/eudc-vars.el @@ -194,7 +194,7 @@ must be set in a protocol/server-local fashion, see `eudc-server-set' and (defcustom eudc-inline-expansion-format nil "Specify the format of the expansion of inline queries. This variable controls what `eudc-expand-inline' actually inserts -in the buffer. It is either a list, or a function. +in the buffer. It is either a list, or a function. When set to a list, the expansion result will be formatted according to the first element of the list, a string, which is @@ -218,7 +218,7 @@ for example name, or email, use `eudc-translate-query' with REVERSE set to t to transform the received attribute alist. The function should return a list, which should contain two elements. If the first element is a string, it will be used as the PHRASE -part, quoting it if necessary. If the second element is a string, +part, quoting it if necessary. If the second element is a string, it will be used as the COMMENT part, unless it contains characters not allowed in the COMMENT part by RFC 5322, in which case the COMMENT part will be omitted." diff --git a/lisp/net/eudcb-macos-contacts.el b/lisp/net/eudcb-macos-contacts.el index 5c7095ae54f..7495dcbc9cc 100644 --- a/lisp/net/eudcb-macos-contacts.el +++ b/lisp/net/eudcb-macos-contacts.el @@ -74,7 +74,7 @@ (defun eudc-macos-contacts-search-helper (query) "Helper function to query the Contacts app via AppleScript. -Searches for all persons matching QUERY. QUERY is a list of cons +Searches for all persons matching QUERY. QUERY is a list of cons cells (ATTR . VALUE) where ATTRs should be valid macOS Contacts attribute names with space characters replaced by `_' characters. Thus, to for instance search for the \"first name\" attribute in