From: Arash Esbati <arash@gnu.org>
To: Stefan Monnier via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Status of vcard packages
Date: Tue, 12 Jul 2022 14:14:26 +0200 [thread overview]
Message-ID: <868royy1ct.fsf@gnu.org> (raw)
In-Reply-To: <jwv7d4j7j78.fsf-monnier+emacs@gnu.org> (Stefan Monnier via Users list for the's message of "Mon, 11 Jul 2022 11:41:45 -0400")
Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes:
> Beside resolving the naming conflict, the code would benefit from some
> love, as well.
Here is a small change fixing some minor docstring issues.
--8<---------------cut here---------------start------------->8---
--- vcard.el~ 2022-07-12 06:16:41.000000000 +0200
+++ vcard.el 2022-07-12 13:47:50.213543600 +0200
@@ -328,8 +328,8 @@
of each attribute is the actual property list; the remaining elements are
the values.
-If a specific property has an associated parameter \(e.g. an encoding\),
-use the syntax \(\"property\" . \"parameter\"\) to specify it. If property
+If a specific property has an associated parameter (e.g. an encoding),
+use the syntax (\"property\" . \"parameter\") to specify it. If property
parameter is not important or it has no specific parameter, just specify
the property name as a string."
(let ((attrs vcard)
@@ -344,7 +344,7 @@
(nreverse result)))
(defun vcard-proplist-all-properties (proplist props)
- "Returns nil unless PROPLIST contains all properties specified in PROPS."
+ "Return nil unless PROPLIST contains all properties specified in PROPS."
(let ((result t))
(while (and result props)
(or (vcard-get-property proplist (car props))
@@ -353,7 +353,7 @@
result))
(defun vcard-proplist-any-properties (proplist props)
- "Returns `t' if PROPLIST contains any of the properties specified in PROPS."
+ "Return t if PROPLIST contains any of the properties specified in PROPS."
(let ((result nil))
(while (and (not result) props)
(and (vcard-get-property proplist (car props))
--8<---------------cut here---------------end--------------->8---
The byte-compiler from current master (cfda663282) also complains about:
vcard-parse.el:98:2: Warning: defvar `vcard-parse-select-fields' docstring has
wrong usage of unescaped single quotes (use \= or different quoting)
vcard-parse.el:355:45: Warning: docstring has wrong usage of unescaped single
quotes (use \= or different quoting)
I couldn't figure out why.
Best, Arash
next prev parent reply other threads:[~2022-07-12 12:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-11 14:23 Status of vcard packages Pascal Quesseveur
2022-07-11 15:41 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-07-12 6:09 ` Pascal Quesseveur
2022-07-12 12:14 ` Arash Esbati [this message]
2022-07-12 12:56 ` Robert Pluim
2022-07-12 14:17 ` Arash Esbati
2022-07-12 14:05 ` Stefan Monnier
2022-07-12 14:13 ` Arash Esbati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=868royy1ct.fsf@gnu.org \
--to=arash@gnu.org \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).