From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel 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 09:09:33 +0100 Message-ID: <4D6DFB3D.1040306@gmx.at> References: <4D6B6AA4.8090008@gmx.at> <4D6BD6EA.4010000@gmx.at> <87mxlg57hs.fsf@stupidchicken.com> <83wrkklzcd.fsf@gnu.org> <87ipw4aq3x.fsf@stupidchicken.com> <8762s32854.fsf@gnu.org> <87ipw3ik43.fsf@stupidchicken.com> <83vd02y8qq.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299072382 19900 80.91.229.12 (2 Mar 2011 13:26:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 13:26:22 +0000 (UTC) Cc: cyd@stupidchicken.com, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 02 14:26:17 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pum4G-000511-Or for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2011 14:26:16 +0100 Original-Received: from localhost ([127.0.0.1]:36200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pum4G-00069D-3I for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2011 08:26:16 -0500 Original-Received: from [140.186.70.92] (port=50007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pum48-000670-PB for emacs-devel@gnu.org; Wed, 02 Mar 2011 08:26:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pum47-000189-Vo for emacs-devel@gnu.org; Wed, 02 Mar 2011 08:26:08 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:39230) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Pum47-00017c-Hy for emacs-devel@gnu.org; Wed, 02 Mar 2011 08:26:07 -0500 Original-Received: (qmail invoked by alias); 02 Mar 2011 13:26:03 -0000 Original-Received: from 62-47-56-229.adsl.highway.telekom.at (EHLO [62.47.56.229]) [62.47.56.229] by mail.gmx.net (mp054) with SMTP; 02 Mar 2011 14:26:03 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX180Os5NhtA0xlxvHGNGoDKXI4fiWLzTlxb95G6JmX GWgO7TllFUFn2i User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <83vd02y8qq.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136710 Archived-At: > Would it help to have a primitive that returns the width in pixels > that a given buffer substring would take on the screen? Not really. But in general, a primitive that returned the displayed pixel height/width of a substring of any buffer line for some given window would be great. Actually, it would be nice if redisplay could cache these values on demand for each line it (virtually) displayed. martin