unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs dired: unable to view deletion list
Date: Sun, 3 Apr 2011 21:06:56 -0700 (PDT)	[thread overview]
Message-ID: <359b7b9d-8b9e-406f-a3a4-9a963151be2c@i35g2000prd.googlegroups.com> (raw)
In-Reply-To: mailman.25.1301887840.14368.help-gnu-emacs@gnu.org

On Apr 3, 8:30 pm, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > Thanks Drew. Found the problem. It is
> > (defalias 'yes-or-no-p 'y-or-n-p)
> > though, odd it should be that way. This can be considered a bug?
>
> You might report a usability bug, to see what the Emacs developers think.
>
> My guess, without looking too far, is that this is because `y-or-n-p' reads a
> key directly (using `read-key') and looks it up in keymap `query-replace-map'.
> The key sequences `C-M-v' and `C-M-V' are not defined there, and it doesn't seem
> to look beyond that map.  In that map it only handles certain keys (see the
> `cond' in `y-or-n-p').
>
> These are the keys available in the keymap:
>
> ,----
> | query-replace-map
> | -----------------
> |
> | Keymap that defines the responses to questions in `query-replace'.
> | The "bindings" in this map are not commands; they are answers.
> | The valid answers include `act', `skip', `act-and-show',
> | `exit', `act-and-exit', `edit', `delete-and-edit', `recenter',
> | `automatic', `backup', `exit-prefix', and `help'.
> |
> | key             binding
> | ---             -------
> |
> | C-g           quit
> | C-h           help
> | C-l           recenter
> | RET           exit
> | C-r           edit
> | C-w           delete-and-edit
> | ESC           exit-prefix
> | C-]           quit
> | SPC           act
> | !             automatic
> | ,             act-and-show
> | .             act-and-exit
> | ?             help
> | E             edit-replacement
> | N             skip
> | Y             act
> | ^             backup
> | e             edit-replacement
> | n             skip
> | q             exit
> | y             act
> | DEL           skip
> | <backspace>     skip
> | <delete>        skip
> | <escape>        exit-prefix
> | <f1>            help
> | <help>          help
> | <return>        exit
> |
> | [back]
> `----
>
> HTH

thanks Drew. I filed a bug report. Subject: possible bug: Delete File
List Not Visible when yes-or-no aliased to y-or-n-p

don't know the bug number yet.

 Xah


  parent reply	other threads:[~2011-04-04  4:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-03 20:17 emacs dired: unable to view deletion list Xah Lee
2011-04-03 21:01 ` Eli Zaretskii
     [not found] ` <mailman.7.1301864491.14368.help-gnu-emacs@gnu.org>
2011-04-03 23:37   ` Xah Lee
2011-04-04  0:06     ` Drew Adams
     [not found]     ` <mailman.21.1301875617.14368.help-gnu-emacs@gnu.org>
2011-04-04  1:56       ` Xah Lee
2011-04-04  3:30         ` Drew Adams
     [not found]         ` <mailman.25.1301887840.14368.help-gnu-emacs@gnu.org>
2011-04-04  4:06           ` Xah Lee [this message]
2011-04-04 12:31             ` Sean Sieger
     [not found]             ` <mailman.4.1301920341.19829.help-gnu-emacs@gnu.org>
2011-04-04 13:59               ` B. T. Raven
2011-04-04 17:44                 ` Xah Lee

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=359b7b9d-8b9e-406f-a3a4-9a963151be2c@i35g2000prd.googlegroups.com \
    --to=xahlee@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).