* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
[not found] ` <<83k1bwhepu.fsf@gnu.org>
@ 2019-08-01 20:07 ` Drew Adams
2019-08-02 6:46 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2019-08-01 20:07 UTC (permalink / raw)
To: Eli Zaretskii, Lars Ingebrigtsen; +Cc: 21594
> A node's name is a label, and needs to satisfy
> several requirements, so it isn't always as
> accurate as the section name.
True enough. And one of those requirements is
to be able to use `g' to get to it. A node's
name is something that users see and use. It's
not just an internal label.
> the assumption that someone might look up this
> node by its name, or be surprised that only
> defcustoms are described there, is misguided, IMO.
No one made such an assumption, if by "look up"
you mean only `i'.
The node name is important, and in this case
it's not good.
Use `i' and you get to the right node for
`variable definition'. No problem there.
Use `g' with completion and you get to the
wrong node for the same input.
And you might use substring or multiple-pattern
completion, with input like `var' and `def',
and the result of completion will be `Variable
Definitions', which you will naturally think
takes you to a node about that.
Completion shows you all matches for your input.
Scanning the candidates quickly is another way
to get to a node. It's not about `g' instead
of `i'. It's that `g' is also useful, and node
names should be helpful, not misleading.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
2019-08-01 20:07 ` bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition' Drew Adams
@ 2019-08-02 6:46 ` Eli Zaretskii
2019-08-02 11:25 ` Lars Ingebrigtsen
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2019-08-02 6:46 UTC (permalink / raw)
To: Drew Adams; +Cc: 21594, larsi
> Date: Thu, 1 Aug 2019 13:07:20 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: drew.adams@oracle.com, 21594@debbugs.gnu.org
>
> > the assumption that someone might look up this
> > node by its name, or be surprised that only
> > defcustoms are described there, is misguided, IMO.
>
> No one made such an assumption, if by "look up"
> you mean only `i'.
But you just did:
> Use `i' and you get to the right node for
> `variable definition'. No problem there.
>
> Use `g' with completion and you get to the
> wrong node for the same input.
My point is exactly that this is a wrong analogy. When one uses 'g',
one needs to know the node's name in advance, not use that name as a
means for searching for some specific subject. The latter is done
via 'i'.
> It's that `g' is also useful, and node names should be helpful, not
> misleading.
They are, but by definition much less so than 'i'.
And let's please stop this discussion here by agreeing to disagree,
OK?
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <<<ae6720ed-ad9d-4110-9213-c8abdafa81e6@default>]
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
@ 2015-09-30 21:46 Drew Adams
2019-08-01 19:07 ` Lars Ingebrigtsen
0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2015-09-30 21:46 UTC (permalink / raw)
To: 21594
The problem is more the node name than the index entry. The node title,
within the node, is `Defining Customization Variables', which is much
better.
I imagine that the node name was picked because the node is a subnode of
node `Customization', but that is not a good enough reason.
`Info-goto-node' handles the nodes of a manual in a flat way.
A node named `Variable Definitions' should cover all of defvar,
defconst, and defcustom. Likewise, an index entry named `variable
definition'. IOW, someone hunting for info about variable definitions
should be able to get to general info about all kinds of variable
definitions.
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2015-09-23
Bzr revision: 325200ac1dcf5bed6918ea827d8a48d89487e083
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --host=i686-pc-mingw32 --enable-checking=yes,glyphs'
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
2015-09-30 21:46 Drew Adams
@ 2019-08-01 19:07 ` Lars Ingebrigtsen
2019-08-01 19:23 ` Eli Zaretskii
2019-08-01 19:57 ` Drew Adams
0 siblings, 2 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-01 19:07 UTC (permalink / raw)
To: Drew Adams; +Cc: 21594
Drew Adams <drew.adams@oracle.com> writes:
> The problem is more the node name than the index entry. The node title,
> within the node, is `Defining Customization Variables', which is much
> better.
>
> I imagine that the node name was picked because the node is a subnode of
> node `Customization', but that is not a good enough reason.
> `Info-goto-node' handles the nodes of a manual in a flat way.
>
> A node named `Variable Definitions' should cover all of defvar,
> defconst, and defcustom. Likewise, an index entry named `variable
> definition'. IOW, someone hunting for info about variable definitions
> should be able to get to general info about all kinds of variable
> definitions.
I'm not quite sure what you want to have done here. As you say, that
node isn't really about "variable definitions", so it seems like a very
good thing that "variable definition" doesn't take you there, but to
"12.5 Defining Global Variables", which makes more sense.
Or is this something that has been fixed in the intervening years?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
2019-08-01 19:07 ` Lars Ingebrigtsen
@ 2019-08-01 19:23 ` Eli Zaretskii
2019-08-01 19:57 ` Drew Adams
1 sibling, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2019-08-01 19:23 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 21594
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 01 Aug 2019 21:07:48 +0200
> Cc: 21594@debbugs.gnu.org
>
> > The problem is more the node name than the index entry. The node title,
> > within the node, is `Defining Customization Variables', which is much
> > better.
> >
> > I imagine that the node name was picked because the node is a subnode of
> > node `Customization', but that is not a good enough reason.
> > `Info-goto-node' handles the nodes of a manual in a flat way.
> >
> > A node named `Variable Definitions' should cover all of defvar,
> > defconst, and defcustom. Likewise, an index entry named `variable
> > definition'. IOW, someone hunting for info about variable definitions
> > should be able to get to general info about all kinds of variable
> > definitions.
>
> I'm not quite sure what you want to have done here.
I think this report simply reads too much into the name of a node. A
node's name is a label, and needs to satisfy several requirements, so
it isn't always as accurate as the section name.
I don't think we need to do anything about this issue. There's no
real problem here. There are several index entries leading to this
node that readers could use, and the assumption that someone might
look up this node by its name, or be surprised that only defcustoms
are described there, is misguided, IMO.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
2019-08-01 19:07 ` Lars Ingebrigtsen
2019-08-01 19:23 ` Eli Zaretskii
@ 2019-08-01 19:57 ` Drew Adams
2019-08-03 2:19 ` Richard Stallman
1 sibling, 1 reply; 11+ messages in thread
From: Drew Adams @ 2019-08-01 19:57 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 21594
> I'm not quite sure what you want to have done here. As you say, that
> node isn't really about "variable definitions", so it seems like a very
> good thing that "variable definition" doesn't take you there, but to
> "12.5 Defining Global Variables", which makes more sense.
Index entry `variable definition' takes you to 12.5,
and it did previously as well. That's good, as far
as it goes.
The point of the bug report is this:
Node `Variable Definitions' is misnamed. It is
only about _option_ definitions. It does not
correspond to index entry `variable definitions'
(which is a good thing).
The title in the node itself is better: `Defining
Customization Variables'. Please consider making
a change like that for the node itself (but see
below, for a node name that's arguably better).
(Someone looking for variable definitions, i.e.,
defining variables, and who might, therefore, use
index entry `variable definitions', will not find
anything about user options (`defcustom').
That's unfortunate perhaps, but there's no way
around that if we want a book (a tree, not a graph),
and we want the `defcustom' info to be where it is
now, which makes sense.
At least a user will find a link in node `Defining
Variables', to go to node `Variable Definitions'
for info about `defcustom'.)
The requested change is to the node name of
`Variable Definitions'. Consider changing it to
`Defining User Options' or `Defining Customization
Variables'.
(But we don't really call them by the latter name.
When we use "variable" instead of "option" for
them we usually say "custom variable" or
"customizable variable".)
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
2019-08-01 19:57 ` Drew Adams
@ 2019-08-03 2:19 ` Richard Stallman
2019-08-03 4:45 ` Drew Adams
0 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2019-08-03 2:19 UTC (permalink / raw)
To: Drew Adams; +Cc: 21594, larsi
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
How about changing the node name to Customization Definitions
or User Option Definitions?
I suggest defining the term "user option" in the parent node,
the chapter Customization Settings.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
2019-08-03 2:19 ` Richard Stallman
@ 2019-08-03 4:45 ` Drew Adams
2019-08-04 2:58 ` Richard Stallman
0 siblings, 1 reply; 11+ messages in thread
From: Drew Adams @ 2019-08-03 4:45 UTC (permalink / raw)
To: rms; +Cc: 21594, larsi
> How about changing the node name to Customization Definitions
> or User Option Definitions?
Yes, thank you. How about it?
There are several such possibilities. Both
of those you suggest are fine.
I suggested also `Defining User Options' and
`Defining Customization Variables' (the current
title, inside the node). (But if we do go with
"option" then the title too should reflect that.)
Nearly anything suggesting defcustom, option
definition, or custom variable definition.
The main thing is to avoid `Variable Definitions',
which invites confusion.
> I suggest defining the term "user option" in the parent node,
> the chapter Customization Settings.
I guess you mean instead of in node `Variable
Definitions', where it's defined now.
That too makes sense, as there we currently
introduce the term "customization items" and
we speak of customizing variables and faces,
without saying that the former are options.
(But the menu refers to user options.)
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
2019-08-03 4:45 ` Drew Adams
@ 2019-08-04 2:58 ` Richard Stallman
0 siblings, 0 replies; 11+ messages in thread
From: Richard Stallman @ 2019-08-04 2:58 UTC (permalink / raw)
To: Drew Adams; +Cc: 21594, larsi
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> > I suggest defining the term "user option" in the parent node,
> > the chapter Customization Settings.
> I guess you mean instead of in node `Variable
> Definitions', where it's defined now.
Or perhaps in both nodes. Whatever seems better.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2019-08-04 2:58 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <<ae6720ed-ad9d-4110-9213-c8abdafa81e6@default>
[not found] ` <<87v9vgg0vv.fsf@mouse.gnus.org>
[not found] ` <<83k1bwhepu.fsf@gnu.org>
2019-08-01 20:07 ` bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition' Drew Adams
2019-08-02 6:46 ` Eli Zaretskii
2019-08-02 11:25 ` Lars Ingebrigtsen
[not found] <<<ae6720ed-ad9d-4110-9213-c8abdafa81e6@default>
[not found] ` <<<87v9vgg0vv.fsf@mouse.gnus.org>
[not found] ` <<<83k1bwhepu.fsf@gnu.org>
[not found] ` <<02aef894-7fda-4061-943e-24115490c85e@default>
[not found] ` <<83d0hogj3i.fsf@gnu.org>
2019-08-02 15:21 ` Drew Adams
2015-09-30 21:46 Drew Adams
2019-08-01 19:07 ` Lars Ingebrigtsen
2019-08-01 19:23 ` Eli Zaretskii
2019-08-01 19:57 ` Drew Adams
2019-08-03 2:19 ` Richard Stallman
2019-08-03 4:45 ` Drew Adams
2019-08-04 2:58 ` Richard Stallman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.