From: Eli Zaretskii <eliz@gnu.org>
To: Patrick Hurst <phurst@mit.edu>
Cc: 17612@debbugs.gnu.org
Subject: bug#17612: 24.3; Negative :box line-width still affects width
Date: Wed, 28 May 2014 17:12:19 +0300 [thread overview]
Message-ID: <83d2eyhu0s.fsf@gnu.org> (raw)
In-Reply-To: <CAGG20Nqq_1pfFAnMY9mgByokbOA7th3q+z9OpYms8Y8pWDHu1g@mail.gmail.com>
> From: Patrick Hurst <phurst@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.
prev parent reply other threads:[~2014-05-28 14:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 20:31 bug#17612: 24.3; Negative :box line-width still affects width Patrick Hurst
2014-05-28 14:12 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83d2eyhu0s.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=17612@debbugs.gnu.org \
--cc=phurst@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.