GNU bug report logs - #72460
[patch] add commands for setting keyboard translations interactively

Previous Next

Package: emacs;

Reported by: hugo <at> heagren.com

Date: Sun, 4 Aug 2024 12:18:02 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: hugo <at> heagren.com
To: bug-gnu-emacs <at> gnu.org
Subject: [patch] add commands for setting keyboard translations interactively
Date: Sun, 04 Aug 2024 13:16:29 +0100
[Message part 1 (text/plain, inline)]
Dear all,

The attached patch adds commands for adding and removing entries in
`keyboard-translate-table' interactively:
- add an interactive spec to `key-translate'
- add a new command `key-translate-remove', which does the opposite of
  `key-translate'.
- add an option for users to customise how the latter function prompts
  for which from/to pair is removed. The default just lists them with
  `completing-read'.

I find this sort of thing useful for cases where I want to use
something other than space as a word separator (e.g. when typing lots
of function names), or when for a long period I want to use the symbol
which is usually on the shift of a key (i.e. I know I want to type "+"
a lot, but not "=").

The patch doesn't contain a NEWS entry yet -- I wanted to get the
greenlight on the code first.

Best,

Hugo
[0001-Add-commands-to-interactively-set-unset-keyboard-tra.patch (text/x-diff, attachment)]

This bug report was last modified 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.