all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 21594@debbugs.gnu.org, larsi@gnus.org
Subject: bug#21594: 25.0.50; (elisp): node `Variable Definitions' is not reachable by `i variable definition'
Date: Fri, 2 Aug 2019 08:21:21 -0700 (PDT)	[thread overview]
Message-ID: <16b71b1a-ed2e-4fda-8b59-d4cb13e83080@default> (raw)
In-Reply-To: <<83d0hogj3i.fsf@gnu.org>>

> > 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'.

No, it is not either-or.

`g' - especially given better completion,
e.g. substring completion - is a useful way
to jump to a node.  Especially for a node
you might know exists, but whose exact name
you might not recall.

You do _not_ "need to know the node's name
in advance".

Just as you don't need to know the exact
name of a function or variable when you use
apropos commands.  When you type some input,
`g' completion shows you node-name matches.

Let's say you're quite familiar with node
`Some Terms'.  You remember that it's about
terms and terminology.  You might even
recall that the node name involves "term".

`i term' won't get you there.  In the
Index there are many matches for "term"
(24 with substring matching, 20 with
prefix matching).  And none of those
entries take you to node `Some Terms'.

(You'll find `Some Terms' listed in the
Index, but it's not an index entry.  It's
listed only as the node name for entry
`typographic conventions'.)

But `g term' will get you there (if you
have substring completion) - instantly.

That's just one example.  And it shouldn't
be necessary to provide it.  It should be
obvious that matching node names as a way
to get to nodes can be handy.

(And the lesson of that example, for this
bug, is not to suggest that we should have
an index entry that includes "term" in this
sense of the word.  Whether that might help
is irrelevant here.)

The point is that `g' is also a way to get
around, and it does not require that you
know an exact node name.

`i' is what it is.  It remains one of the
best ways to locate something.  It's not
the only way, and it's not invariably the
best way. Other ways include Isearch and
`g'.  A hammer is a great tool, but it's
not the only one.

> > 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'.

_This_ node name is particularly misleading,
unhelpful.

This report is not for an abstract debate
about `i' versus `g'.  Defending `i' is
irrelevant here.  I agree with you about its
general utility.

This bug is about one particular node name
that's not helpful.  It's about fixing this
name, getting one that is more useful, less
misleading.

Is there a good reason not to fix this node
name?  I haven't seen any put forward, so far.

Instead of insisting on a false all-or-nothing
choice between `i' and `g', why don't we just
fix this particular node name?  Reason?





       reply	other threads:[~2019-08-02 15:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
     [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
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16b71b1a-ed2e-4fda-8b59-d4cb13e83080@default \
    --to=drew.adams@oracle.com \
    --cc=21594@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.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 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.