GNU bug report logs - #28855
26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property

Previous Next

Package: emacs;

Reported by: Paul Rankin <hello <at> paulwrankin.com>

Date: Mon, 16 Oct 2017 03:39:01 UTC

Severity: normal

Found in version 26.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 28855 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>, Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 28855 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
 John Wiegley <johnw <at> gnu.org>
Subject: Re: bug#28855: 26.0.90; display-line-numbers-mode does not respect
 (line|wrap)-prefix '(space :align-to N) text property
Date: Wed, 18 Oct 2017 19:44:50 +0200
> Martin, any comments or thoughts about this, before I go out and make
> the code changes to implement this?

I'd make the change.  If someone wants the current behavior, we could add
a "special element" like 'line-number-display-start' such that

:align-to 0

would behave like

:align-to (+ line-number-display-start (line-number-display-width t))

for LTR text.  But I never use :align-to so I'm not very qualified to
comment on this.

martin




This bug report was last modified 7 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.