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#21012: 25.0.50; eww: last char of a line sometimes not fully visible Date: Fri, 10 Jul 2015 22:31:35 +0300 Message-ID: <834mlbbyi0.fsf@gnu.org> References: <87twteh65g.fsf@web.de> <83d202v2m2.fsf@gnu.org> <87wpya5rey.fsf@web.de> <83a8v6ukbe.fsf@gnu.org> <834mlduyz8.fsf@gnu.org> <87egkh3xl3.fsf@web.de> <83pp40blcq.fsf@gnu.org> <874mlcgoka.fsf@web.de> <83bnfkb1rs.fsf@gnu.org> <87pp40nlnj.fsf@web.de> <838uaoax9a.fsf@gnu.org> <87fv4vsxc4.fsf@web.de> <837fq7c0n6.fsf@gnu.org> <87h9pbzuq1.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1436556744 4156 80.91.229.3 (10 Jul 2015 19:32:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jul 2015 19:32:24 +0000 (UTC) Cc: 21012@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 10 21:32:12 2015 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 1ZDe1s-0007Ut-02 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2015 21:32:12 +0200 Original-Received: from localhost ([::1]:45915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDe1r-0002VJ-BK for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2015 15:32:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDe1m-0002V8-B6 for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 15:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDe1i-0002bM-AE for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 15:32:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDe1i-0002bI-6l for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZDe1h-0004T0-SN for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 15:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jul 2015 19:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21012-submit@debbugs.gnu.org id=B21012.143655671117142 (code B ref 21012); Fri, 10 Jul 2015 19:32:01 +0000 Original-Received: (at 21012) by debbugs.gnu.org; 10 Jul 2015 19:31:51 +0000 Original-Received: from localhost ([127.0.0.1]:46441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDe1W-0004SO-BU for submit@debbugs.gnu.org; Fri, 10 Jul 2015 15:31:50 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:52408) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDe1Q-0004Rw-Vs for 21012@debbugs.gnu.org; Fri, 10 Jul 2015 15:31:46 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NRA00L00DOYW300@mtaout24.012.net.il> for 21012@debbugs.gnu.org; Fri, 10 Jul 2015 22:23:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NRA00CZNDUI1HB0@mtaout24.012.net.il>; Fri, 10 Jul 2015 22:23:07 +0300 (IDT) In-reply-to: <87h9pbzuq1.fsf@web.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:104900 Archived-At: > From: Michael Heerdegen > Cc: 21012@debbugs.gnu.org > Date: Fri, 10 Jul 2015 21:19:18 +0200 > > > Finally, portions of line-move-visual and its subroutines only work > > when the line is visible in some window, so won't that again hit the > > same limitation of posn-at-point? > > I don't know. That's why the last sentences in my message were > questions. > > But are you sure that `vertical-motion' does not hit that limitation? vertical-motion needs the buffer displayed in some window, but it does not need the text it traversed to be visible in that window. Thus, it has fewer limitations that posn-at-point and pos-visible-in-window-p, which are called by line-move-visual. > For example, AFAIK `vertical-motion' stops at the end of a visual line > if the first arg is a cons cell with COLS larger than available cols in > the line. Yes. > How does that work when that line is not displayed somewhere? It simulates display, i.e. runs the same code as would be used to lay out the text in question, but without actually displaying it. It should be possible, in principle, to write something similar to posn-at-point that would not depend on the text being visible, or rewrite posn-at-point to free it from this limitation, but we don't have such a function at this time. Maybe we should.