* bug#31624: 27.0; (elisp) `Syntax Flags'
[not found] ` <<20180528213944.54389.qmail@mail.muc.de>
@ 2018-05-29 13:55 ` Drew Adams
0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2018-05-29 13:55 UTC (permalink / raw)
To: Alan Mackenzie, Drew Adams; +Cc: 31624
> When neither flag 'b' nor flag 'c' is set, you have style "a".
If that's the definition of style a then the doc should state that.
> > And what about the relation between those "flags" and the "styles"?
>
> When 'b' is set, you have style "b", when 'c' is set, you have style
> "c". I think having both of them set is undefined (but it does leave
> room for a style "d" (shudder!)).
> > If a flag is an element in a set that is a style, why does the doc use
> > chars b and c to name both flags and styles - that just confuses
> > things. If you want to relate style "b" to flag 'b' then maybe use
> > "B", not "b", as the style name.
>
> I think that would be less confusing if something like my first sentence
> were in the doc somewhere.
Both changes are needed, I think. It just confuses to use the
same name, with the only difference being single vs double quote
chars around it, for two different concepts/things.
> > (Yes, I realize that this text is very old - at least as old as Emacs
> > 20. But it seems like it could/should be clearer.)
>
> I though style "c" was somewhat younger. Maybe not. But maybe it could
> be clarified.
You're right - c is not in Emacs 20, for instance.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#31624: 27.0; (elisp) `Syntax Flags'
@ 2018-05-28 14:47 Drew Adams
[not found] ` <mailman.627.1527518890.1292.bug-gnu-emacs@gnu.org>
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2018-05-28 14:47 UTC (permalink / raw)
To: 31624
Something seems to be missing. This node refers to "a" style, but that
seems to be defined nowhere. The node defines "comment style" this way:
A comment style is a set of flags 'b', 'c', and 'n', ...
No mention of style "a" there. What is style "a"? I don't see it
specified anywhere.
Presumably style "a" is some set composed of the flags 'b', 'c', and
'n', but what set?
And what about the relation between those "flags" and the "styles"? If
a flag is an element in a set that is a style, why does the doc use
chars b and c to name both flags and styles - that just confuses things.
If you want to relate style "b" to flag 'b' then maybe use "B", not "b",
as the style name.
(Yes, I realize that this text is very old - at least as old as Emacs
20. But it seems like it could/should be clearer.)
In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32)
of 2018-03-21
Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install -C 'CFLAGS=-O2 -static -g3''
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-06-02 11:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <<mailman.627.1527518890.1292.bug-gnu-emacs@gnu.org>
[not found] ` <<20180528213944.54389.qmail@mail.muc.de>
2018-05-29 13:55 ` bug#31624: 27.0; (elisp) `Syntax Flags' Drew Adams
2018-05-28 14:47 Drew Adams
[not found] ` <mailman.627.1527518890.1292.bug-gnu-emacs@gnu.org>
2018-05-28 21:39 ` Alan Mackenzie
2018-06-02 11:03 ` Eli Zaretskii
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).