Questions tagged [keyboard]
26 questions
8
votes
2 answers
How can I check if a user has pressed a button while a function is running?
I have a function that automatically runs after the user does some action. However, the function takes a long time to complete. This means Emacs becomes unresponsive for a short time after every input. To fix this, I'd like to check whether the user…

JCC
- 989
- 5
- 15
4
votes
2 answers
Unicode input from keyboard (QMK) to Emacs
I have setup my QMK-enabled keyboard to output Unicode characters. In short, that was adding UNICODE_ENABLE = yes line to the rules.mk file and adding the following two lines to the config.h file.
#define UNICODE_SELECTED_MODES UC_LNX, UC_OSX,…

TrentinQuarantino
- 61
- 5
3
votes
1 answer
make macOS terminal emacs keyboard usage consistent with emacs GUI — for meta+shift+up/down
I've enabled the macOS's terminal preference "Use Option as Meta key" but seem unable to have emacs behave in the terminal as it does when running the GUI.
I have the following use-package definition for drag-stuff:
(use-package drag-stuff
:ensure…

ldeck
- 195
- 6
3
votes
1 answer
How to "swap" only the numerical row of a keyboard inside Emacs?
My question is:
when I am editing (La)TeX code, regularly I need to type the famous dollar signs in order to put mathematical code ($x^2+y^2=z^2$), a very frequent thing indeed.
Therefore, I would like to change the keyboard input inside Emacs…

Anderson Torres
- 250
- 2
- 8
2
votes
0 answers
Keyboard with CTRL left of A
Are there any "reasonably priced" :-) keyboards with the Ctrl key to the left of the A key? I know I can remap keys, both in Emacs and in the host OS, but I'm looking for something in hardware. That way, I get the Ctrl key where I want it, even if I…

Gary Schiltz
- 21
- 1
2
votes
1 answer
How to provide keyboard input programmatically for org-export-dispatch UI in elisp?
The org-export-dispatch command in org-mode (C-c C-e) brings up an UI from which one can, e.g. select l and l to export the .org file to latex format.
My question is:
Can one use elisp to fix the input to l and l programmatically in order to get the…

tinlyx
- 1,276
- 1
- 12
- 27
2
votes
2 answers
Alternative keyboards in Spacemacs
Update 2020-12-22: I have answered the question. Please see below.
I have fcitx installed on a Linux environment.
According the to fcitx-diagnose it is correctly
installed.
I am using the us-alt-intl keyboard to access diacritics in other language…

Trad Dog
- 153
- 6
2
votes
1 answer
Sometimes Emacs gets stuck with non-working capslock key
I'm using Emacs 26.1 on Windows 10.
Sometimes, the capslock key stops working: The key is activated but typing letters does not result in capital letters being inserted into a buffer. It works with the number keys above the regular keys…

Geier
- 692
- 5
- 15
2
votes
2 answers
Meta-based navigation + shift-selection
Say I have beginning-of-line bound to M-a. At least for me, holding shift gives: M-S-a translates to M-A translates to M-a and emacs doesn't do any shift selection.
It's the same when binding keys -- I gotta bind M-A, binding M-S-a doesn't work. Why…

yafov
- 314
- 1
- 9
2
votes
1 answer
any 'binding-change-hook'?
Is there any hook that runs every time a keyboard binding is created/added?
Here's my problem:
I use dvorak and also another layout(some exotic utf8 script) both at system level. And I've got used to dvorak layout(without input-change) for my…

aksci
- 21
- 2
1
vote
1 answer
Is there a manual on which fingers to use when using keyboard keys?
Context:
Right now, in my late twenties, I decided to really learn and use touch typing (sad, I know). Until now, I have survived typing moderately fast, but not using the correct technique. Also, I am trying to learn touch typing after already…

Pedro Delfino
- 1,369
- 3
- 13
1
vote
0 answers
Is the Hyper modifier key usable on non-X11 platforms?
I have a hyper modifier setup, however I was wondering if it's possible to use this on any windowing systems besides X11, for example:
macOS
Wayland
Win32
The terminal.

ideasman42
- 8,375
- 1
- 28
- 105
1
vote
2 answers
compose key stopped working
im running emacs 26.1 on debian with xfce, and have no alternative input methods installed.
my compose key recently stopped working in emacs. i get the dreaded is undefined error.
i'm aware…

user27075
- 488
- 3
- 11
1
vote
1 answer
How does one type or on a keyboard (in Emacs)?
I recently came across these two keybindings in someone else's config and haven't seen them before. I have a US qwerty keyboard, a Kinesis Freestyle Pro. I know where the control, C, key is, and I see a Menu key in the left auxilliary cluster of my…

Joe
- 541
- 3
- 14
1
vote
0 answers
Using 122 key keyboards with Emacs
Does using a 122-key keyboard make it easier to use Emacs, in relation to having more keys to bind commands to? I am thinking of the various models on offer from Unicomp specifically.

wds
- 11
- 1