unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Alexander Prähauser" <ahprae@protonmail.com>
Cc: 70596@debbugs.gnu.org
Subject: bug#70596: 30.0.50; key-translate returns error for key sequences with punctuation marks
Date: Fri, 26 Apr 2024 21:28:59 +0300	[thread overview]
Message-ID: <86o79wx9jo.fsf@gnu.org> (raw)
In-Reply-To: <875xw4m3si.fsf@protonmail.com> (bug-gnu-emacs@gnu.org)

> Date: Fri, 26 Apr 2024 17:29:35 +0000
> From:  Alexander Prähauser via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 
> I think this is a bug: emacs returns an error message for the
> following command:
> 
> (key-translate "C-." "C-a")
> 
> The backtrace is the following:
> 
> Debugger entered--Lisp error: (wrong-type-argument characterp 67108910)
> key-translate("C-." "C-g")

That's because C-. is not a valid character.  Valid characters with
the Control modifier are C-SPC to C-z.





  reply	other threads:[~2024-04-26 18:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26 17:29 bug#70596: 30.0.50; key-translate returns error for key sequences with punctuation marks Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-26 18:28 ` Eli Zaretskii [this message]
2024-04-27  9:24   ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-27 10:12     ` Eli Zaretskii
2024-04-27 10:47       ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-27 11:46         ` Eli Zaretskii
2024-04-28  2:51 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-02  9:21   ` Eli Zaretskii

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=86o79wx9jo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70596@debbugs.gnu.org \
    --cc=ahprae@protonmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).