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: Sat, 07 Feb 2015 14:52:09 +0200 Message-ID: <83k2ztc29y.fsf@gnu.org> References: <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> <87bnl7gh7x.fsf@building.gnus.org> <87zj8qcqjv.fsf@building.gnus.org> <87r3u2cn46.fsf@building.gnus.org> <838ugacfd3.fsf@gnu.org> <87fvaiccjk.fsf@building.gnus.org> <54D5FAD7.1060109@gmx.at> <83pp9maq0m.fsf@gnu.org> <54D604E2.1000401@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423313548 27421 80.91.229.3 (7 Feb 2015 12:52:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2015 12:52:28 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 07 13:52:27 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 1YK4s4-0004Bc-I3 for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2015 13:52:24 +0100 Original-Received: from localhost ([::1]:52775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK4s3-0003zR-VE for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2015 07:52:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK4rx-0003zH-Q8 for emacs-devel@gnu.org; Sat, 07 Feb 2015 07:52:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YK4ru-0005mN-6J for emacs-devel@gnu.org; Sat, 07 Feb 2015 07:52:17 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:42410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK4rt-0005mJ-Tp for emacs-devel@gnu.org; Sat, 07 Feb 2015 07:52:14 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NJE00300IQ1FD00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 07 Feb 2015 14:52:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJE003JGJR0EC30@a-mtaout23.012.net.il>; Sat, 07 Feb 2015 14:52:12 +0200 (IST) In-reply-to: <54D604E2.1000401@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:182600 Archived-At: > Date: Sat, 07 Feb 2015 13:28:18 +0100 > From: martin rudalics > CC: larsi@gnus.org, emacs-devel@gnu.org > > >> (2) For each cell put the text in a buffer and show the buffer in a > >> window. > > > > I thought Lars didn't want to flash display of such windows. > > How comes we'd flash them? He would obviously restore the window > configuration before the next redisplay. Then how to interpret "show the buffer" in your text above? > > Doesn't posn-at-point and end-of-visual-line already provide the means > > to get this information? > > The latter calls `vertical-motion' so this should work indeed. But does > `vertical-motion' have to go back to the beginning of a logical line > when it's broken into several visual lines? Yes, it does. There's no other place where the display engine can _know_ that the X coordinate is zero. > This would mean that we'd always have to rescan from the beginning > of the logical line for each visual line break Yes.