Subject: bug#77345: 30.1; "C-h w" doesn't detect binding in the midst of an M-x invocation

From: Eshel Yaron <[email-masked]>
Date: Sat, 29 Mar 2025 08:05:50 +0100

Hi,

Suhail Singh <[email-masked]> writes:

> 1. Invoke "emacs -Q".
> 2. Switch to *scratch* buffer.
> 3. Do M-x and then type "eval-print-last-sexp", but don't press RET.
> 4. Do "C-h w RET" (i.e., select the default option of
>    eval-print-last-sexp).
> 5. Expected: Message in the echo area noting that "eval-print-last-sexp"
>    is bound to "C-j".  Observed: "eval-print-last-sexp is not on any
>    key".

You're asking "where is eval-print-last-sexp" in the minibuffer, not in
the original buffer.  So the observed response, "nowhere", is expected.
To see the binding in the original buffer, invoke C-h w in that buffer.

Best regards,

Eshel