GNU bug report logs - #9949
24.0.91; window-width function does not take text-scale-mode-amount into account

Previous Next

Package: emacs;

Reported by: Josh <josh <at> foxtail.org>

Date: Fri, 4 Nov 2011 02:44:02 UTC

Severity: normal

Merged with 13073

Found in version 24.0.91

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Josh <josh <at> foxtail.org>
Cc: 9949 <at> debbugs.gnu.org
Subject: bug#9949: 24.0.91; window-width function does not take text-scale-mode-amount into	account
Date: Fri, 04 Nov 2011 14:56:22 +0100
> The window-width function does not take text scale adjustments
> into account.  This breaks code such as
> http://www.emacswiki.org/emacs/ErcFilling#toc2 which is meant to
> insert timestamps aligned to the right edge of the window.

Recipe by courtesy of Johan Bockgård:

(insert (propertize
             " " 'display
             '(space :align-to (- text 8))) "#123456")

martin





This bug report was last modified 12 years and 221 days ago.

Previous Next


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