unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: weber <hugows@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: "y-or-n-p" but for other characters
Date: Fri, 15 Jun 2007 07:37:43 -0700	[thread overview]
Message-ID: <1181918263.411556.247610@c77g2000hse.googlegroups.com> (raw)

Hi folks!
I'm trying to come up with a interactive function for fixing my
code...

I present three options to the user (myself), that are mapped to three
characters (a,b,c say)
Even though read-from-minibuffer solves my problem, y-or-n-p behavior
is more interesting because doesn't require an extra [ret].

Is there a way to code a y-or-n for a-or-b-or-c ?

Thanks in advance,
weber

             reply	other threads:[~2007-06-15 14:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-15 14:37 weber [this message]
2007-06-15 16:52 ` "y-or-n-p" but for other characters Pascal Bourguignon
2007-06-15 17:01   ` Pascal Bourguignon

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=1181918263.411556.247610@c77g2000hse.googlegroups.com \
    --to=hugows@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).