Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs 23: Selection not highlighted

I installed Ubuntu 10.04, and with it came Emacs 23. If I want to select text in Emacs, that works perfectly fine except the fact that the region is not highlighted.

However, this only happens, if I try to make a region using the keyboard. If I select something with the mouse, it is highlighted as usual.

Does anybody know, why the region is not highlighted and how to fix that?

like image 958
phimuemue Avatar asked Apr 30 '10 20:04

phimuemue


People also ask

How do I highlight a region in Emacs?

With Emacs 25, simply press Ctrl + Space and then move your cursor wherever you want to highlight/select the region of text which interests you.

How do I highlight multiple lines in Emacs?

You can select blocks of text in Emacs just as you would in most other environments. You could, for example, drag your mouse over a region. You could also hold down the Shift key and use arrow keys.


1 Answers

Is the option 'Options->Active Region Highlighting' set?

You may want to set

(transient-mark-mode t)

in ~/.emacs or other init files as well.

like image 140
Dirk Eddelbuettel Avatar answered Sep 29 '22 15:09

Dirk Eddelbuettel