Re: Minibuffer keymap issue?
[email protected] Sun, 19 Jul 2026 13:33:09 -0400
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Bob Newell <[email protected]> writes: > Aloha, > > I'm on latest Arch Linux, Emacs 30.2. > > Here is an MWE: > What is an "MWE"? > (defun rjnfoo (foo-string) > (interactive "sfoo-string: ") > ) > > Calling this, or anything that uses minibuffer-local-keymap, > interprets capital 'C' as ctrl-C. I could not reproduce the problem that you are seeing. Using Emacs 30.2, I did the following: 1. Start Emacs using =E2=80=98emacs -Q=E2=80=99 2. Copied your function definition to the *scratch* buffer. 3. Evaluated the definition using C-x C-e (bound to =E2=80=98eval-last-sexp=E2=80=99) 4. M-x rjnfoo RET 5. At "foo-string:" prompt, a. Type C-h c C to look up the binding of =E2=80=98C=E2=80=99 (capital =E2=80=98C=E2=80=99). Result: "C runs the command self-insert-comma= nd" b. Type C RET to enter =E2=80=98C=E2=80=99 in response to the "foo-string:" prompt. The command completes with no error. 6. Edit your function=E2=80=99s definition to add the expression: (prin1 foo-string) 7. Repeat steps 3 and 4, above. 8. At the "foo-string:" prompt, enter capital C again. 9. The command completes after printing "C" in the *Messages* buffer. You might try to reproduce the problem that you are seeing after starting Emacs using =E2=80=98emacs -Q=E2=80=99. --=20 The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds.