From: Nikolaj Schumacher <me@nschum.de>
To: gavenkoa@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: An elisp question
Date: Fri, 19 Sep 2008 18:13:40 +0200 [thread overview]
Message-ID: <m2myi46rm3.fsf@nschum.de> (raw)
In-Reply-To: <gariag$qof$1@aioe.org> (Oleksandr Gavenko's message of "Wed\, 17 Sep 2008 21\:29\:38 +0300")
Oleksandr Gavenko <gavenkoa@gmail.com> wrote:
> In elisp intro (Created on March, 10 2004 by texi2html 1.64)
> I not find match of "yes-or-no-p" func and so special example for you say.
>
> In elisp.html (edition 2.8) on "20.6 Yes-or-No Queries" also there no special
> warning about use of "Yes-or-No".
I think this is a misunderstanding. Drew meant the answer on "how to
call a function" was to be found in the elisp intro. The yes-or-no-p
thing was just an additional note.
Incidentally, if anything, testing for t is more correct. :) The doc for
`y-or-n-p' clearly states, it will return t for "yes". It could be
extended to return 'cancel without changing the interface. Using any
non-nil value as "yes" is indeed an assumption. (Not that it's likely
to break, or that I haven't made that assumption myself...)
regards,
Nikolaj Schumacher
next prev parent reply other threads:[~2008-09-19 16:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 20:17 An elisp question Rodolfo Medina
2008-09-16 20:09 ` Drew Adams
[not found] ` <mailman.19376.1221595777.18990.help-gnu-emacs@gnu.org>
2008-09-16 20:20 ` Joost Kremers
2008-09-16 20:51 ` Drew Adams
[not found] ` <mailman.19377.1221598264.18990.help-gnu-emacs@gnu.org>
2008-09-17 18:29 ` Oleksandr Gavenko
2008-09-17 21:05 ` Joost Kremers
2008-09-18 8:06 ` Bastien
2008-09-19 16:13 ` Nikolaj Schumacher [this message]
[not found] ` <mailman.19562.1221840826.18990.help-gnu-emacs@gnu.org>
2008-09-19 18:17 ` Oleksandr Gavenko
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2myi46rm3.fsf@nschum.de \
--to=me@nschum.de \
--cc=gavenkoa@gmail.com \
--cc=help-gnu-emacs@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.
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).