all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tatsu Takamaro <tatsu.takamaro@gmail.com>
To: Robert Pluim <rpluim@gmail.com>, Jean Louis <bugs@gnu.support>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Remapping keys and creating my own keymap \\ too complicated\\
Date: Sun, 8 Dec 2024 19:16:02 +0300	[thread overview]
Message-ID: <17dad089-c11c-9494-b740-e47039c1927a@gmail.com> (raw)
In-Reply-To: <87frn1ar0m.fsf@gmail.com>

I did as you said and just added some commands to an .emacs file. And 
everything worked untill I tried to change the C-x binding. Here is my 
exact code:

(keymap-global-unset "C-x")
(keymap-global-set "C-x" #'kill-region)
(keymap-set global-map "<apps>" 'ctl-x-map)

It seems logical, but it doesn't work properly. The Ctrl + x works just 
fine and cuts the selected fragment. Pressing Ctrl + x also doesn't have 
an effect as a C-x prefix (for example, keys C-x-s don't work to save). 
But then there is an unexpected behaviour. Pressing the Menu button 
(<apps>) doesn't act as C-x, and I can't use it to run commands that 
start with C-x. For example, I can't do save-buffer by pressing 
<apps>-s. Why is it so? What am I missing?


пт, 06.12.2024 16:18, Robert Pluim пишет:
>>>>>> On Fri, 06 Dec 2024 13:38:17 +0300, Jean Louis<bugs@gnu.support>  said:
>      Jean> That page was generated by neglectful artificial intelligence.
>
> I suspected as much, but didnʼt want to spend any effort on confirming
> it. 😀
>
> Robert


  reply	other threads:[~2024-12-08 16:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03 16:59 Remapping keys and creating my own keymap \\ too complicated\\ Tatsu Takamaro
2024-12-04  7:43 ` Jean Louis
2024-12-04 15:49   ` Tatsu Takamaro
2024-12-04 15:55   ` Tatsu Takamaro
2024-12-04 16:06     ` Robert Pluim
2024-12-04 16:37       ` Tatsu Takamaro
2024-12-04 16:40         ` Robert Pluim
2024-12-04 17:05           ` Tatsu Takamaro
2024-12-05 10:25             ` Robert Pluim
2024-12-05 18:08               ` Tatsu Takamaro
2024-12-06  9:57                 ` Robert Pluim
2024-12-06 10:38                   ` Jean Louis
2024-12-06 13:18                     ` Robert Pluim
2024-12-08 16:16                       ` Tatsu Takamaro [this message]
2024-12-08 23:07                         ` Stephen Berman
2024-12-09 22:34                           ` Tatsu Takamaro
2024-12-04 16:25 ` Jean Louis
2024-12-04 16:57   ` Tatsu Takamaro

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17dad089-c11c-9494-b740-e47039c1927a@gmail.com \
    --to=tatsu.takamaro@gmail.com \
    --cc=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rpluim@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.