5
votes
Accepted
Can't reset Ctrl-; or Ctrl-. in emacs
Once you disable C-; and C-. in GNOME Desktop, those keys will become available for Emacs to use.
Use GNOME to permanently disable C-; and C-. in ibus-setup
$ ibus-setup
Use gsettings (preferably in ...
4
votes
Accepted
What exactly are keys like `<copy>`, `<paste>` etc (CUA not enabled)?
Emacs calls these function keys. Emacs usually writes their names with surrounding <...> when it interacts with you.
See the Emacs manual, nodes Function Keys, Keymaps and User Input.
For ...
2
votes
What exactly are keys like `<copy>`, `<paste>` etc (CUA not enabled)?
You won't necessarily have these keys on your keyboard at all, and Emacs won't know which keys your keyboard does or doesn't have (and in any case you might have higher-level customisations on your ...
2
votes
Keyboard shortcut for running shell commands
To answer the original question: there are extraneous parens in your function. It should read:
(defun make-sth-in-shell ()
(interactive)
(shell-command "make something"))
Explanation: ...
2
votes
Accepted
Keyboard shortcut for running shell commands
Emacs already has support for make.
The command is compile This will prompt you for the command line with the default being make -k
Just bind compile to a key using local-set-key or define-key
2
votes
Accepted
How to go up one level in the menu-bar when using the keyboard to access menus
Short answer is that there isn’t one.
The long answer is that there is sadly no way to answer this question within Emacs it self. Ordinarily with the focus in a buffer you can type C-h m to get a list ...
1
vote
Keyboard shortcut for running shell commands
One thing that you are doing wrong is this line in your make-sth-in-shell function:
...
(shell-command ("make something"))
...
In Lisp, when the interpreter see a list (f a b c), it ...
1
vote
How to go up one level in the menu-bar when using the keyboard to access menus
With vanilla Emacs there's no way that I'm aware of, as @db48x reported.
However, here are 3 libraries that let you do it: La Carte, Key See, and Icicles.
La Carte
Use completion to match anything in ...
1
vote
C-; shows a strange popup with letter 'e'
You’re using Gnome, and you’ve activated an IME. Emacs never registered your keypress, but it will accept any text supplied to it by the IME. You should examine the Gnome keyboard or keybindings ...
1
vote
Can't reset Ctrl-; or Ctrl-. in emacs
It took me a day to discover that that these bindings were set by ibus.
There were multiple instances where I ran in to the same issue ...
For the solution to original question see https://emacs....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
key-bindings × 1234keymap × 148
evil × 119
org-mode × 87
spacemacs × 59
osx × 58
prefix-keys × 47
terminal-emacs × 41
commands × 35
help × 28
keystrokes × 27
init-file × 25
use-package × 25
mouse × 24
microsoft-windows × 21
minibuffer × 21
helm × 20
major-mode × 20
term × 20
minor-mode × 20
keyboard-layout × 20
magit × 18
dired × 16
keyboard-macros × 16
window × 15