From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 21448@debbugs.gnu.org
Subject: bug#21448: 25.0.50; `unicode-property-table-internal' in Elisp manual
Date: Wed, 9 Sep 2015 13:07:24 -0700 (PDT) [thread overview]
Message-ID: <029d2a95-ca25-48be-bf19-2159ed753d81@default> (raw)
In-Reply-To: <<83io7j5rye.fsf@gnu.org>>
> > 1. In node `Categories' you give an example that is incomprehensible, as
> > it uses function `unicode-property-table-internal', which is not
> > explained anywhere in the manual. With just the doc string of that
> > function to go on, it is difficult, if not impossible, to understand the
> > example.
>
> The doc string of unicode-property-table-internal says:
Yes, I read, and referred to, the doc string.
> What exactly is unclear about that? That's an honest question: this
> sounds crystal clear to me.
The bug is about the example in the manual, not about the doc string.
As the bug report says, the doc string of `unicode-property-table-internal'
is not enough to understand the example. Please explain the _example_,
in the manual.
> > There is a cross-reference to node `Bidirectional Display', but that
> > node, although quite long (and with large, verbose paragraphs) does not
> > seem to help with understanding the example. It didn't help me, at
> > least.
>
> That cross-reference is for those who don't know what is "strong
> right-to-left directionality".
It's fine to have that cross reference. As the bug report says, it does
not do much to help you understand the _example_.
> > Please consider adding a little explanation of the example, including,
> > for instance, what table `uniprop-table' is being used for.
>
> It is used as an argument to map-char-table, as should be clear from
> the example. Once again, I don't see what should be explained about
> that.
Clearly, it is passed as argument to `map-char-table'. That does not
explain the example.
> > Adding a docstring for the `defvar' would also help.
>
> This text before the example:
>
> Here's an example of defining a new category for characters that
> have strong right-to-left directionality
>
> is all that can be said about that defvar.
What can be said about the example is to explain it. If you don't
think a doc string would help with that, then fine. I agree that
the defvar docstring would not explain how the example does what it
does.
> > 2. The example also not indented properly - see the second `let' binding
>
> Fixed (someone left TABs in the Texinfo source, which is a no-no).
>
> > 3. Please consider also adding to the description of each of the
> > functions described in this node the statement that TABLE defaults to
> > the current buffer's category table - as opposed to having this
> > statement only in the sentence preceding the individual function
> > descriptions.
>
> I don't see why this should be an issue -- that sentence immediately
> precedes the description of the functions.
Just a suggestion. It would be clearer, but it is not the point of
this report. For that, see #1.
next parent reply other threads:[~2015-09-09 20:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<bb3f44a8-1141-4e3c-8694-26fe89e134e5@default>
[not found] ` <<83io7j5rye.fsf@gnu.org>
2015-09-09 20:07 ` Drew Adams [this message]
2015-09-10 2:41 ` bug#21448: 25.0.50; `unicode-property-table-internal' in Elisp manual Eli Zaretskii
[not found] ` <<029d2a95-ca25-48be-bf19-2159ed753d81@default>
[not found] ` <<83fv2n573m.fsf@gnu.org>
2015-09-10 15:27 ` Drew Adams
2015-09-10 15:30 ` Drew Adams
2015-09-10 17:12 ` Eli Zaretskii
[not found] ` <<a7354d8a-de19-45f5-843c-792465d2a123@default>
[not found] ` <<831te65hcc.fsf@gnu.org>
2015-09-10 17:23 ` Drew Adams
2015-09-10 17:40 ` Eli Zaretskii
2015-09-09 14:57 Drew Adams
2015-09-09 19:10 ` Eli Zaretskii
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=029d2a95-ca25-48be-bf19-2159ed753d81@default \
--to=drew.adams@oracle.com \
--cc=21448@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).