2022 Developer Survey is open! Take survey.
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 ...
user avatar
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 ...
user avatar
  • 69.2k
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 ...
user avatar
  • 43.1k
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: ...
user avatar
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
user avatar
  • 275
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 ...
user avatar
  • 11.4k
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 ...
user avatar
  • 19.6k
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 ...
user avatar
  • 69.2k
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 ...
user avatar
  • 11.4k
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....
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible