all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to get the line offset in `display-line-numbers-mode'?
@ 2020-01-31 18:14 Bastien
  2020-01-31 18:44 ` Mattias Engdegård
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2020-01-31 18:14 UTC (permalink / raw)
  To: emacs-devel

Hi,

Assuming display-line-numbers-mode is turned on, how can I get
the number of spaces this mode uses for displaying numbers?

Line numbers on the left don't seem to use overlays or even
text properties for the display, so I don't know where to look
for getting this information for a given line.

Thanks for any pointers,

-- 
 Bastien



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-31 20:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-31 18:14 How to get the line offset in `display-line-numbers-mode'? Bastien
2020-01-31 18:44 ` Mattias Engdegård
2020-01-31 19:29   ` Eli Zaretskii
2020-01-31 20:28   ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.