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: Sun, 01 Feb 2015 12:40:42 +1100 Message-ID: <87sieqpfxh.fsf@building.gnus.org> References: <8361bqogah.fsf@gnu.org> <87k306pfi9.fsf@building.gnus.org> <87egqekrd7.fsf@building.gnus.org> <877fw53eat.fsf@building.gnus.org> <877fw4zsdv.fsf@building.gnus.org> <831tmcn4k4.fsf@gnu.org> <87386szq1w.fsf@building.gnus.org> <83wq44ljm9.fsf@gnu.org> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422754894 638 80.91.229.3 (1 Feb 2015 01:41:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2015 01:41:34 +0000 (UTC) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 01 02:41:34 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 1YHjXZ-0005Ks-2G for ged-emacs-devel@m.gmane.org; Sun, 01 Feb 2015 02:41:33 +0100 Original-Received: from localhost ([::1]:43280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHjXY-0007gG-A2 for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 20:41:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHjXI-0007g9-9D for emacs-devel@gnu.org; Sat, 31 Jan 2015 20:41:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHjXE-0004Qe-HF for emacs-devel@gnu.org; Sat, 31 Jan 2015 20:41:16 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:48387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHjXE-0004QZ-AA; Sat, 31 Jan 2015 20:41:12 -0500 Original-Received: from diaman3.lnk.telstra.net ([203.45.116.145] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YHjWs-0003a4-II; Sun, 01 Feb 2015 02:40:51 +0100 In-Reply-To: <874mr6qvi5.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Sun, 01 Feb 2015 12:18:58 +1100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1YHjWs-0003a4-II MailScanner-NULL-Check: 1423359652.26996@qaSzZf5By9zFoj3kch56wA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:182155 Archived-At: Lars Ingebrigtsen writes: > martin rudalics writes: > >> `window-text-pixel-size' is one attempt to do that. > > Can that function be called before redisplay has happened? I guess so, because it calls start_display (&it, w, startp); And it seems pretty fast. The main problem with it is that it has to work in a window, and much of the computation in shr takes place in temporary buffers. But perhaps that can be worked around somehow. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/