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: Pixel-based display functions Date: Fri, 06 Feb 2015 15:28:49 +0200 Message-ID: <837fvvdv8u.fsf@gnu.org> References: <87vbjowlqv.fsf@building.gnus.org> <83oapglbx6.fsf@gnu.org> <83lhkkl23i.fsf@gnu.org> <83bnlgkl1s.fsf@gnu.org> <837fw3l7uz.fsf@gnu.org> <54CD4B27.4080201@gmx.at> <874mr6qvi5.fsf@building.gnus.org> <87sieqpfxh.fsf@building.gnus.org> <54CDE908.7050908@gmx.at> <87ioflq0dz.fsf@building.gnus.org> <54CE2187.9070003@gmx.at> <54CE4D8A.5040201@gmx.at> <87zj8wy79g.fsf@building.gnus.org> <87k2zxynvk.fsf@building.gnus.org> <54D33A2C.1060603@gmx.at> <837fvwfigd.fsf@gnu.org> <54D46D0B.1050402@gmx.at> <877fvvjr9c.fsf@building.gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423229355 14306 80.91.229.3 (6 Feb 2015 13:29:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2015 13:29:15 +0000 (UTC) Cc: rudalics@gmx.at, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 06 14:29:14 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YJiy8-0004AF-Q4 for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 14:29:12 +0100 Original-Received: from localhost ([::1]:48288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJiy8-0008JR-9e for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 08:29:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJixs-0008JG-OW for emacs-devel@gnu.org; Fri, 06 Feb 2015 08:29:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJixp-0007Gi-5X for emacs-devel@gnu.org; Fri, 06 Feb 2015 08:28:56 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:40071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJixo-0007Fi-TL for emacs-devel@gnu.org; Fri, 06 Feb 2015 08:28:53 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NJC00B00QCVSI00@mtaout29.012.net.il> for emacs-devel@gnu.org; Fri, 06 Feb 2015 15:25:07 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJC008APQLVEI40@mtaout29.012.net.il>; Fri, 06 Feb 2015 15:25:07 +0200 (IST) In-reply-to: <877fvvjr9c.fsf@building.gnus.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182523 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , monnier@iro.umontreal.ca, > emacs-devel@gnu.org > Date: Fri, 06 Feb 2015 20:58:23 +1100 > > So a `window-text-pixel-width' function that loops over all the lines in > the specified region, and return the maximum width, might be what I > really need here. Isn't that what window-text-pixel-width already does, given FROM..TO that span multiple lines?