Skip to main content

Questions tagged [self-insert-command]

5 votes
1 answer
304 views

Longer version of question: how can I efficiently detect and indicate when emacs is dictation safe? By "dictation safe", I really mean "when can type random printable ASCII characters ...
Krazy Glew's user avatar
1 vote
1 answer
48 views

I'm reading the beginning of the Emacs manual on inserting text. It says you can run C-x 8 [ to insert a left single curly quote. That works. In my init.el I have this: (define-key global-map [(...
Rob N's user avatar
  • 811
1 vote
1 answer
222 views

Called with an active region, it will replace all spaces in that region with the character corresponding to the subsequent key press. E.g., if cover-active-region is bound to C-c /, then C-c / h will ...
Dodgie's user avatar
  • 482
0 votes
1 answer
345 views

The title contains the crux of my question. In go-mode, tabs and auto-indentation generally works well, except when I am editing strings. When inside of a string, I'd like the tab key to self-insert. ...
dave mankoff's user avatar
4 votes
1 answer
483 views

Q: how does one approximate the functionality of the non-existent pre-self-insert-hook? This question is inspired by the curiosity that is the combination of abbrev-mode and self-insert-command. The ...
Dan's user avatar
  • 33.7k
8 votes
2 answers
992 views

Usually after inserting punctuation marks like . , : I make an space before inserting the next character. Is it possible that Emacs automatically do this behavior? For example inserting something like ...
Name's user avatar
  • 8,177