From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Pixel-based display functions Date: Sat, 07 Feb 2015 23:42:12 +1100 Message-ID: <877fvtc2qj.fsf@building.gnus.org> References: <54CDE908.7050908@gmx.at> <87ioflq0dz.fsf@building.gnus.org> <54CE2187.9070003@gmx.at> <83lhkhiq8t.fsf@gnu.org> <54CE54A3.1020707@gmx.at> <838ughilmo.fsf@gnu.org> <54CE6BD2.8000402@gmx.at> <8361bliin0.fsf@gnu.org> <83386piiby.fsf@gnu.org> <87oap9yoti.fsf@building.gnus.org> <874mqzvnwo.fsf@building.gnus.org> <83h9uzeb4a.fsf@gnu.org> <87bnl7jrr7.fsf@building.gnus.org> <831tm3dt8u.fsf@gnu.org> <87k2zvgj4d.fsf@building.gnus.org> <83siejcahb.fsf@gnu.org> <83sieiar6i.fsf@gnu.org> <83oap5c480.fsf@gnu.org> <87d25lc3xu.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423313078 20440 80.91.229.3 (7 Feb 2015 12:44:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2015 12:44:38 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 07 13:44:37 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 1YK4kU-0007x4-20 for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2015 13:44:34 +0100 Original-Received: from localhost ([::1]:52651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK4kT-0001EN-HY for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2015 07:44:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK4kL-0001A1-Je for emacs-devel@gnu.org; Sat, 07 Feb 2015 07:44:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YK4kH-0002Nd-O2 for emacs-devel@gnu.org; Sat, 07 Feb 2015 07:44:25 -0500 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]:4573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK4kC-0002LF-Hb; Sat, 07 Feb 2015 07:44:17 -0500 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t17CgGFR009029; Sat, 7 Feb 2015 23:42:17 +1100 (EST) In-Reply-To: <87d25lc3xu.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Sat, 07 Feb 2015 23:16:13 +1100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.123, required 4, AWL 0.02, BAYES_50 0.00, RDNS_NONE 0.10) X-comcen-MailScanner-From: larsi@gnus.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 203.23.236.77 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:182598 Archived-At: Lars Ingebrigtsen writes: > But before you proceed with this, this interface function may not > actually be what's needed at all. Sorry for the confusion. What was > attractive about it was that it would provide cacheable information when > strings have to be filled in several different ways. I've got one question about `vertical-motion': Why is it apparently slower than `window-text-pixel-size'? shr-vertical-motion 854 2.0539825089 0.0024051317 shr-pixel-buffer-width 988 1.0268266620 0.0010392982 Would it be possible to get a "go to pixel position X on the current line" function that's faster than the current `vertical-motion' function if there are some ... assumptions we could make? Or something? :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/