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: 22314-done@debbugs.gnu.org
Subject: bug#22314: 25.1.50; Document variable `deactivate-mark' in Elisp manual
Date: Sat, 9 Jan 2016 10:52:38 -0800 (PST)	[thread overview]
Message-ID: <ae1d0d5c-31ad-4c38-9019-78276ced7fa4@default> (raw)
In-Reply-To: <<83wprjnt7i.fsf@gnu.org>>

> > It's wrong because it does not move point to the entry.  Nothing
> > indicates to a user that there in fact 3 entries, not 2.
> 
> The user's eyes should indicate that.  You are splitting hair.

No, the echoed message that says there are a total of 2 entries
should indicate the number of entries.  And hitting `,' should
move point to each entry in turn.

> > I would not have filed this bug report if I thought that this
> > was not a problem.  And as you can see from my initial report,
> > I in fact mistakenly thought that the variable was not even
> > documented, because cycling among the index entries did not
> > take me to it.
> 
> You should have read a bit more than a single line.

Eli, you can say "you should" all you want.  A user (I)
reported the problem.  If this is a problem for me to find
the (non-existent) index entry then it can be a problem
for others.  Ignore it if you like.

> > I don't see why you wouldn't want to add an index entry for this
> > variable.  But if you don't feel like it then what can I say?
> 
> THERE IS ALREADY AN INDEX ENTRY FOR IT!!!!
> 
> How many times do I need to tell you that?  Just look at the sources!

Why are you shouting?

Whatever you might see in the sources, what concerns me is
what a user sees - the observable behavior.  Observably the
is only one index entry for `deactivate-mark'.

Looking in the index itself shows me that there is a single
entry for `deactivate-mark'.

The echo-area message that gives the total number of
matching entries tells me that there is only one entry
for `deactivate-mark' (the total shown is 2 entries,
and the other one is for `deactivate-mark-hook').

And cycling with `,' moves only between those two entries,
never to a variable entry (that your shouting insists
exists) for `deactivate-mark'.

> > If the Elisp manual had different indexes, as does the Emacs
> > manual, then adding it would also let a user find it in the
> > Variables Index.
> 
> The function is indexed as a function, the variable is indexed as a
> variable.  We have @defvar for the variable, which indexes the
> variable, and a @defun for the function, which indexes the function.

So why is there only one entry for `deactivate-mark' in the
Index?  And why is there only one entry for it when you use
`,' to cycle among all entries?  And why does the echo message
tell you that there are only 2 entries (the ones you visit
when cycling, neither of which is for this variable)?

(I don't want to presume anything, but are you sure you
are not mistaking the existing index entry for variable
`deactivate-mark-hook' for an entry for variable
`deactivate-mark'?)

> > Maybe it's not possible to index both, if there is only one
> > Index?  Dunno.  If you can't, you can't.  If you can (maybe two
> > entries, with suffixes "(variable)" and "(function)"), that's
> > better, IMO.
> 
> Bug closed.

Feel better now?





       reply	other threads:[~2016-01-09 18:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<<<<88046cae-d0e4-4108-b655-5ed142ea97f7@default>
     [not found] ` <<<<<83fuyb50jl.fsf@gnu.org>
     [not found]   ` <<<<b7ff0476-c85c-46be-9de6-bd8cdb6d3265@default>
     [not found]     ` <<<<2d847088-3f43-4771-9178-4c51081da5d5@default>
     [not found]       ` <<<<83oacwpcrn.fsf@gnu.org>
     [not found]         ` <<<fdfae666-88e4-46e9-95c0-ba77b478f4fa@default>
     [not found]           ` <<<8337u7q46w.fsf@gnu.org>
     [not found]             ` <<392e6417-fc8f-46a9-85b2-39d22a90f90e@default>
     [not found]               ` <<83wprjnt7i.fsf@gnu.org>
2016-01-09 18:52                 ` Drew Adams [this message]
     [not found] <<<<88046cae-d0e4-4108-b655-5ed142ea97f7@default>
     [not found] ` <<<<83fuyb50jl.fsf@gnu.org>
     [not found]   ` <<<b7ff0476-c85c-46be-9de6-bd8cdb6d3265@default>
     [not found]     ` <<<2d847088-3f43-4771-9178-4c51081da5d5@default>
     [not found]       ` <<<83oacwpcrn.fsf@gnu.org>
     [not found]         ` <<fdfae666-88e4-46e9-95c0-ba77b478f4fa@default>
     [not found]           ` <<8337u7q46w.fsf@gnu.org>
2016-01-08 21:29             ` bug#22314: 25.1.50; Document variable `deactivate-mark' in Elisp manual Drew Adams
2016-01-09  6:49               ` Eli Zaretskii
     [not found] <<<88046cae-d0e4-4108-b655-5ed142ea97f7@default>
     [not found] ` <<<83fuyb50jl.fsf@gnu.org>
     [not found]   ` <<b7ff0476-c85c-46be-9de6-bd8cdb6d3265@default>
     [not found]     ` <<2d847088-3f43-4771-9178-4c51081da5d5@default>
     [not found]       ` <<83oacwpcrn.fsf@gnu.org>
2016-01-08 15:00         ` Drew Adams
2016-01-08 19:08           ` Eli Zaretskii
     [not found] <<88046cae-d0e4-4108-b655-5ed142ea97f7@default>
     [not found] ` <<83fuyb50jl.fsf@gnu.org>
2016-01-05 19:44   ` Drew Adams
2016-01-05 21:08     ` Drew Adams
2016-01-08  9:32       ` Nicolas Richard
2016-01-08 10:49       ` Eli Zaretskii
2016-01-05 18:10 Drew Adams
2016-01-05 18:44 ` 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

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

  git send-email \
    --in-reply-to=ae1d0d5c-31ad-4c38-9019-78276ced7fa4@default \
    --to=drew.adams@oracle.com \
    --cc=22314-done@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 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.