Questions tagged [keystrokes]

78 questions
5
votes
1 answer

How to repeat the last n keystrokes?

As described here, by C-x z, I can repeat my last keystroke. How can I repeat my last n keystrokes?
Name
  • 7,849
  • 4
  • 41
  • 87
4
votes
1 answer

What is the key LFD?

One of the keys Emacs refers to is the key LFD. For example, calc binds that key to calc-over. What key is this?
zck
  • 9,092
  • 2
  • 33
  • 65
4
votes
1 answer

OA and OB inserted by emacs

What are the OA and OB inserted by emacs? It happens, I think, when I press ESC several times. I use emacs in the -nw mode. I would rather do without these insertions.
Viesturs
  • 825
  • 8
  • 19
4
votes
1 answer

How to input '#' in Emacs with UK keyboard on Mac OS X?

I'm using Emacs 24.5.1 in Mac OS X. Recently I had to input £ frequently so I changed my input source from U.S. to British. With British keyboard, Option+3 will yield # in other editors, however, this doesn't work in Emacs since M is special…
ntalbs
  • 169
  • 2
  • 9
1
vote
1 answer

M-P: M-p is undefined

I noticed something odd. If I press M-P I get the message M-p is undefined rather than M-P etc.. Is there a reason for this? Version 26.2. Using Arch Linux and the X window system.
Toothrot
  • 3,264
  • 1
  • 13
  • 32
1
vote
1 answer

Is there an advantage to learning ESC- instead of ALT- beyond "maybe you'll use a system someday ..."?

I've been recently persuaded and coached to take the jump from vi to emacs. But one question sits funny. Why would one prefer to use the ESC- sequence for Meta- commands rather than ALT-key combinations. The symmetry is compelling (to me) toward the…
luser droog
  • 111
  • 3
0
votes
0 answers

C-; not detected on GUI Emacs (weird behavior instead)

My issue is that Emacs 28.1 (from snap) or 27.1 (from apt) on Debian/sid Gnome 42.1 (on wayland) is not detecting the C-; keychord. Instead a bubble appear with already an e in it : It used to work, I used C-x C-; all the time to call comment-line,…
learner
  • 121
  • 5
0
votes
0 answers

briefly holding shift+arrow results in "runaway" selection

When I try to select a region using shift+arrow, if I hold the key combination down for a second or two it will continue selecting the text after the keys are released. It appears to enter an infinite loop and only stops after reaching the end (or…
0
votes
0 answers

`M-%` is interpreted as `M-5` (prefix arg of 5)

On one of my machines the query replace key sequence (M-%) isn't recognized, and is instead recognized as M-5, which acts as a numeric prefix argument of 5 (e.g. inserts 5 copies of the next character I type). How do I begin looking for what is…
0
votes
1 answer

"M-s-h" is being interpreted as "M-s-˙"

When I type M-s-h emacs reports: M-s-˙ is undefined That tiny dot is the 'DOT ABOVE' (U+02D9) character. I'm on OS X. This is happening when I use the emacs-plus build. With emacs-mac port I don't see this behavior. Is there any way for me to debug…
ivan
  • 1,948
  • 10
  • 20