all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 15455@debbugs.gnu.org
Subject: bug#15455: 24.3.50; wrong defcustom :type for `confirm-kill-emacs'
Date: Sun, 9 Feb 2014 22:00:28 -0800 (PST)	[thread overview]
Message-ID: <b3e69b2a-6d74-40c5-a265-d2f3f34841b7@default> (raw)
In-Reply-To: <87mwhzd2cd.fsf@building.gnus.org>

> > Also, the doc should not just say that the predicate "should be a
> > predicate function such as `yes-or-no-p'. That is confusing and
> > not very meaningful.  What does it mean to be a predicate "such as
> > `yes-or-no-p'?
> 
> I think examples like that can be helpful, especially with variables
> like `confirm-kill-emacs' that non-experienced Emacs users happen
> upon.

I think what you are suggesting is to correct the language to
say

"If non-nil the value should be a predicate, for example
`yes-or-no-p'."

That would be fine.  The point is that the current language says
that it not only should be a predicate, but a predicate of a
certain kind, namely in some unspecified way similar to
`yes-or-no-p'.  But that is not the case.  The predicate can
check the phase of the moon if you want.





  reply	other threads:[~2014-02-10  6:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24 15:13 bug#15455: 24.3.50; wrong defcustom :type for `confirm-kill-emacs' Drew Adams
2013-09-24 15:24 ` Drew Adams
2014-02-10  4:21   ` Lars Ingebrigtsen
2014-02-10  6:00     ` Drew Adams [this message]
2014-02-10  6:07       ` Lars Ingebrigtsen
2014-02-10  4:26 ` Lars Ingebrigtsen

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=b3e69b2a-6d74-40c5-a265-d2f3f34841b7@default \
    --to=drew.adams@oracle.com \
    --cc=15455@debbugs.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.