From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B Date: Sat, 12 Jan 2013 16:12:38 +0200 Message-ID: <83sj66sd61.fsf@gnu.org> References: <50EE7BE5.2060806@gmx.at> <83hamohmtj.fsf@gnu.org> <50EFCA6D.7090702@gmx.at> <83ip74ume7.fsf@gnu.org> <50EFE99A.5070508@gmx.at> <838v80ugv1.fsf@gnu.org> <50F021EC.4040107@gmx.at> <50F054A0.2040606@gmx.at> <83libztt68.fsf@gnu.org> <83hammu7og.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1357999978 566 80.91.229.3 (12 Jan 2013 14:12:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2013 14:12:58 +0000 (UTC) Cc: 13399@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 12 15:13:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Tu1pg-0007Ol-JM for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jan 2013 15:13:12 +0100 Original-Received: from localhost ([::1]:55388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu1pQ-0002vo-FL for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jan 2013 09:12:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu1pL-0002vh-NH for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2013 09:12:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tu1pJ-0005bp-Vv for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2013 09:12:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu1pJ-0005bl-TA for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2013 09:12:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tu1pW-0007VB-5T for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2013 09:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Jan 2013 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13399-submit@debbugs.gnu.org id=B13399.135799996028803 (code B ref 13399); Sat, 12 Jan 2013 14:13:02 +0000 Original-Received: (at 13399) by debbugs.gnu.org; 12 Jan 2013 14:12:40 +0000 Original-Received: from localhost ([127.0.0.1]:56455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tu1p9-0007UV-Kd for submit@debbugs.gnu.org; Sat, 12 Jan 2013 09:12:39 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:61632) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tu1p7-0007UG-JL for 13399@debbugs.gnu.org; Sat, 12 Jan 2013 09:12:38 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MGI00J00NF0QD00@a-mtaout21.012.net.il> for 13399@debbugs.gnu.org; Sat, 12 Jan 2013 16:12:14 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGI00JIYNGEM850@a-mtaout21.012.net.il>; Sat, 12 Jan 2013 16:12:14 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69658 Archived-At: > From: Stefan Monnier > Cc: rudalics@gmx.at, 13399@debbugs.gnu.org > Date: Sat, 12 Jan 2013 08:20:50 -0500 > > > But why would we need that? Most everything we need to know about > > display is already tracked by the display iterator, so available even > > without generating glyphs, and that's what the move_it_* functions do. > > These function do their job by traversing only small portions of the > > buffer, just large enough for the job at hand to be done. > > What about posn-at-point? What about it? It already uses move_it_*, see pos_visible_p, which does all the work. > > OTOH, updating the entire glyph matrices of all of the windows on all > > of the frames AFAIR takes the lion's share of time used by redisplay, > > so we might as well force a complete redisplay when we do need > > complete up-to-date matrices. > > posn-at-point doesn't need to refresh all glyph matrices, only the one > of the selected window. Look at pos_visible_p, and you will see that what it does is start_display at window top, then move the display iterator to where point is displayed, and taking the pixel coordinates from the display iterator when that's done. What else is needed, that the glyph matrix of the window would provide?