Questions tagged [linum-mode]
for line numbering modes, such as `linum-mode` and `line-number-mode` minor modes that show line numbers on the left screen edge for ease of editing and navigating. They do not insert line numbers in the file. `line-number-mode` also has a `column-number-mode`, which shows in the mode line.
49 questions
14 votes
1 answer
3k views
What to use instead of linum-mode in Emacs 29?
It seems that Emacs 29.1 has deprecated linum-mode. I haven't found a replacement yet. On ELPA I see nlinum-mode, but that seems to use linum, too. So what is the official replacement?
0 votes
0 answers
49 views
How to discard line-number highlight during i-search?
During the i-search if I use dracula theme it highlights the line-number if the searched word is the first in the line. Example view: If I uncomment (load-theme 'dracula t) the example view would be ...
1 vote
1 answer
68 views
How to enable linum-mode only during I-search?
linum-line it not enabled when emacs is started. I just want to enable linum-mode (see the line numbers) during I-search and disable it when I-search: is ended. Is it possible?
0 votes
2 answers
1k views
How to add some space to the left of the line numbers in linum-mode?
When I enable linum-mode in the scratch buffer (and most other buffers I tried) there is no space to the left of the line numbers. Although when enable linum-mode in the .emacs configuration file, I ...
0 votes
1 answer
257 views
I can turn on minor modes like electric pair modes in my init, but they’re not having effect unless manually reactivated [duplicate]
So I can put a line like, (setq-default global-linum-mode t) or (setq-default electric-par-mode t) in my init file, and I can check with C-h v that the variables are in fact set to t (they are), but ...
4 votes
1 answer
1k views
Line numbering: stick with linum or nlinum? [closed]
I see that both linum and nlinum are actively maintained: one is built-in, another recently had a release. With older Emacs version, linum used to be slow with a lot of folding in a buffer (e.g. in ...
4 votes
1 answer
924 views
Bent arrow (↩) in visual-line-mode
I would like to see a bent arrow (↩) in the window fringe, when I'm using visual-line-mode becuse with no linum-mode (e.g. org, md, latex..) I'm not able to distinguish the lines. References: ...
0 votes
1 answer
180 views
is it possible to set linum-mode at startup of buffer?
I wonder if it is possible to set #+STARTUP: linum-mode t or similar at the start of the buffer (not interested in the global mode). I have tried this but it won't work. Any solution? Thanks!