|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103444: * lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048). |
Date: | Wed, 02 Mar 2011 12:03:18 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Would it help to have a primitive that returns the width in pixels > that a given buffer substring would take on the screen? Not if we want it to work without knowing the window (and hence terminal) on which the buffer is going to be displayed (i.e. the computation should be done by the redisplay, the buffer data needs to be agnostic to the font used). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |