From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Pixel-based display functions Date: Sat, 31 Jan 2015 15:33:11 -0500 Message-ID: References: <874mrb1t62.fsf_-_@building.gnus.org> <87vbjrl49k.fsf@violet.siamics.net> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422736415 23588 80.91.229.3 (31 Jan 2015 20:33:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2015 20:33:35 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 31 21:33:35 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 1YHejU-0005D1-CX for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 21:33:32 +0100 Original-Received: from localhost ([::1]:42773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHejT-0002RQ-PJ for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 15:33:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHejG-0002RK-3v for emacs-devel@gnu.org; Sat, 31 Jan 2015 15:33:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHejF-0000mD-9D for emacs-devel@gnu.org; Sat, 31 Jan 2015 15:33:18 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:3466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHej9-0000lm-Tc; Sat, 31 Jan 2015 15:33:11 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflRLd/lW/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEGAQEBAQEdkG8HhEgBBIsBpC6BeIQZIYJ3AQEB X-IPAS-Result: AjsPAOwQflRLd/lW/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEGAQEBAQEdkG8HhEgBBIsBpC6BeIQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="109329956" Original-Received: from 75-119-249-86.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([75.119.249.86]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Jan 2015 15:33:11 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 2B4A4AE11B; Sat, 31 Jan 2015 15:33:11 -0500 (EST) In-Reply-To: <837fw3l7uz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Jan 2015 09:36:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:182145 Archived-At: > Lars doesn't want to compute pixel sizes to repeat what the display > engine does. He wants to do that to implement stuff that the display > engine cannot, at least currently (if it ever should). AFAICT he wants to compute the pixel length of a chunk of text. I don't see why we can't export to Elisp a C function that does that re-using the same machinery used by the redisplay (and by vertical-motion). Stefan