[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deleting a word using keybinding
From: |
Jeremie Juste |
Subject: |
Re: Deleting a word using keybinding |
Date: |
Thu, 15 Oct 2020 13:10:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hello,
To investigate I usually separate the problem into two parts
Frist the key binding and second the function.
The function test work as you expect when calling M-x test
(defun test ()
(interactive)
(progn (backward-word)
(kill-word 1)) )
(global-set-key (kbd "C-<tab>") 'test)
For the keybinding I guess it will depend on the mode you are in. As tab
is intensively used so a minor mode might take control of it if I
understand correctly. A way to test it would be to test the binding in
fundamental-mode.
HTH,
Jeremie
- Deleting a word using keybinding, Christopher Dimech, 2020/10/15
- Re: Deleting a word using keybinding,
Jeremie Juste <=
- Re: Deleting a word using keybinding, Harald Jörg, 2020/10/15
- Re: Deleting a word using keybinding, Christopher Dimech, 2020/10/15
- Re: Deleting a word using keybinding, Christopher Dimech, 2020/10/15
- Re: Deleting a word using keybinding, Harald Jörg, 2020/10/15
- Re: Deleting a word using keybinding, Christopher Dimech, 2020/10/15
- Re: Deleting a word using keybinding, Thien-Thi Nguyen, 2020/10/15
- Re: Deleting a word using keybinding, Christopher Dimech, 2020/10/15
- Re: Deleting a word using keybinding, Christopher Dimech, 2020/10/15
- RE: Deleting a word using keybinding, Drew Adams, 2020/10/15
- Re: RE: Deleting a word using keybinding, Christopher Dimech, 2020/10/15