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#14881: 24.3.50; Odd cursor movement with images (or lines with different heights?) Date: Fri, 19 Jul 2013 17:04:14 +0300 Message-ID: <83mwpizlwh.fsf@gnu.org> References: <83hafu2wah.fsf@gnu.org> <83a9lm2t6r.fsf@gnu.org> <83wqop160f.fsf@gnu.org> <834nbr24le.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1374242725 26053 80.91.229.3 (19 Jul 2013 14:05:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2013 14:05:25 +0000 (UTC) Cc: 14881@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 19 16:05:26 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 1V0BJ7-0005g5-38 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jul 2013 16:05:17 +0200 Original-Received: from localhost ([::1]:36911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0BJ6-0000OL-Ir for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jul 2013 10:05:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0BIy-0000MI-ND for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 10:05:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0BIt-0007kd-Ky for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 10:05:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0BIt-0007kI-HJ for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 10:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V0BIs-00080P-Fi for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2013 10:05:03 -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, 19 Jul 2013 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14881 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14881-submit@debbugs.gnu.org id=B14881.137424265830587 (code B ref 14881); Fri, 19 Jul 2013 14:05:02 +0000 Original-Received: (at 14881) by debbugs.gnu.org; 19 Jul 2013 14:04:18 +0000 Original-Received: from localhost ([127.0.0.1]:37482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BI9-0007xC-0J for submit@debbugs.gnu.org; Fri, 19 Jul 2013 10:04:17 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40517) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0BI1-0007wK-D9 for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 10:04:14 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQ600K00RZVCN00@a-mtaout20.012.net.il> for 14881@debbugs.gnu.org; Fri, 19 Jul 2013 17:04:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ600KIOSEQCH20@a-mtaout20.012.net.il>; Fri, 19 Jul 2013 17:04:02 +0300 (IDT) In-reply-to: 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:76485 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: 14881@debbugs.gnu.org > Date: Fri, 19 Jul 2013 13:07:22 +0200 > > For me, `C-n' when standing on the sixth image (with the seventh > half-visible) will put point on the fifth image (after scrolling). I > think putting point on the third would possibly seem more intuitive. I misunderstood your original description. Yes, I see this, too. But it is simply a matter of deciding what is the "middle" line of a window. Emacs currently looks, starting from the window's beginning, for the first screen line whose Y pixel coordinate is _past_ the middle of the window. I think that is what you see. > If we're at the first image, `C-p' will place point on the fifth image, Not here. I see point on the same 5th image (starting from the window beginning) with both C-p and C-n. Are you sure you type C-p slowly enough to see the effect of each one of them separately? In any case, "M-x trace-redisplay RET" shows that redisplay takes a different path when scrolling forward and back in this case.