From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17612: 24.3; Negative :box line-width still affects width Date: Wed, 28 May 2014 17:12:19 +0300 Message-ID: <83d2eyhu0s.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1401286411 24687 80.91.229.3 (28 May 2014 14:13:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2014 14:13:31 +0000 (UTC) Cc: 17612@debbugs.gnu.org To: Patrick Hurst Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 28 16:13:24 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WpebY-0007zr-Rh for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2014 16:13:20 +0200 Original-Received: from localhost ([::1]:42370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpebY-0008NE-DF for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2014 10:13:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpebO-0008IJ-E9 for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 10:13:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpebG-00033C-US for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 10:13:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpebG-000336-Ra for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 10:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WpebG-0007qC-At for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 10:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 May 2014 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17612-submit@debbugs.gnu.org id=B17612.140128633930080 (code B ref 17612); Wed, 28 May 2014 14:13:02 +0000 Original-Received: (at 17612) by debbugs.gnu.org; 28 May 2014 14:12:19 +0000 Original-Received: from localhost ([127.0.0.1]:34625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpeaY-0007p5-Tq for submit@debbugs.gnu.org; Wed, 28 May 2014 10:12:19 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:44297) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpeaW-0007ok-5S for 17612@debbugs.gnu.org; Wed, 28 May 2014 10:12:17 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N6A00C00F6J2N00@mtaout24.012.net.il> for 17612@debbugs.gnu.org; Wed, 28 May 2014 17:08:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6A00AEIFAQKU20@mtaout24.012.net.il>; Wed, 28 May 2014 17:08:50 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89615 Archived-At: > From: Patrick Hurst > 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.