GNU bug report logs -
#17612
24.3; Negative :box line-width still affects width
Previous Next
Reported by: Patrick Hurst <phurst <at> mit.edu>
Date: Tue, 27 May 2014 20:51:01 UTC
Severity: minor
Tags: fixed
Merged with 13011,
13130
Found in versions 24.2, 24.2.90, 24.3
Fixed in version 28.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Patrick Hurst <phurst <at> mit.edu>
> Date: Tue, 27 May 2014 16:31:02 -0400
>
> According to the documentation, setting the :line-width attribute on a
> face to a negative value 'avoid[s] any increase in the character height
> or width'. However, when I set it it does increase the width as if the
> value were positive.
>
> To replicate: open a new .org file, type in "* TODO Foo" and execute
>
> (set-face-attribute 'org-todo nil :box '(:line-width 4))
> (set-face-attribute 'org-todo nil :box '(:line-width -4))
>
> Note that the "Foo" doesn't move, implying that the width of the "TODO"
> doesn't change.
This is bug #13011. See there for the discussion of why the code was
written to behave like that, and some situations where what you expect
has unpleasant side effects.
This bug report was last modified 5 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.