From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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 20:43:16 +0200 Message-ID: <837hchxt17.fsf@gnu.org> 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> <4D6DFB3D.1040306@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1299091558 5557 80.91.229.12 (2 Mar 2011 18:45:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 18:45:58 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 02 19:45:52 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 1Pur3X-0007eA-Im for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2011 19:45:51 +0100 Original-Received: from localhost ([127.0.0.1]:50107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pur3W-0008CA-Vx for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2011 13:45:51 -0500 Original-Received: from [140.186.70.92] (port=38149 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pur3A-00086E-Rr for emacs-devel@gnu.org; Wed, 02 Mar 2011 13:45:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pur39-0003iI-9Y for emacs-devel@gnu.org; Wed, 02 Mar 2011 13:45:28 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:58183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pur39-0003hy-2b for emacs-devel@gnu.org; Wed, 02 Mar 2011 13:45:27 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LHG009001CS8E00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Wed, 02 Mar 2011 20:45:19 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.183.216]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LHG008101FIQ670@a-mtaout20.012.net.il>; Wed, 02 Mar 2011 20:45:19 +0200 (IST) In-reply-to: <4D6DFB3D.1040306@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:136721 Archived-At: > Date: Wed, 02 Mar 2011 09:09:33 +0100 > From: martin rudalics > CC: Stefan Monnier , cyd@stupidchicken.com, > emacs-devel@gnu.org > > > 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. Why not? Especially since you go one explaining why it _would_ be helpful ;-) > 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. What's a window got to do with this? How can a window affect display of a buffer substring? > Actually, it would be nice if redisplay could cache these values on > demand for each line it (virtually) displayed. What for?