From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#18545: 24.4.50: Bug - forward-line inside with-selected-window Date: Sat, 27 Sep 2014 21:01:51 +0200 Message-ID: <5427099F.6080406@gmx.at> References: <290964377.56621411668876487.JavaMail.www@wwinf7125> <83a95nv9fm.fsf@gnu.org> <542668BA.6010800@gmx.at> <838ul5tpfu.fsf@gnu.org> <54268B0B.1020203@gmx.at> <8361g9tijj.fsf@gnu.org> <5426BD71.4000705@gmx.at> <83zjdlrqti.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1411844615 18239 80.91.229.3 (27 Sep 2014 19:03:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2014 19:03:35 +0000 (UTC) Cc: lompik@voila.fr, 18545@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 27 21:03:28 2014 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 1XXxHC-0004ll-EI for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2014 21:03:26 +0200 Original-Received: from localhost ([::1]:56985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXxHC-0006VE-2S for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Sep 2014 15:03:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXxH1-0006Uj-Et for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:03:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXxGt-0007I4-OT for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:03:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXxGt-0007Hi-Ls for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:03:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XXxGn-0000Wo-Pq for bug-gnu-emacs@gnu.org; Sat, 27 Sep 2014 15:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Sep 2014 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18545 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18545-submit@debbugs.gnu.org id=B18545.14118445301950 (code B ref 18545); Sat, 27 Sep 2014 19:03:01 +0000 Original-Received: (at 18545) by debbugs.gnu.org; 27 Sep 2014 19:02:10 +0000 Original-Received: from localhost ([127.0.0.1]:53916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXxFw-0000VN-Vs for submit@debbugs.gnu.org; Sat, 27 Sep 2014 15:02:09 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:53082) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XXxFt-0000VD-UN for 18545@debbugs.gnu.org; Sat, 27 Sep 2014 15:02:07 -0400 Original-Received: from [194.118.140.218] ([194.118.140.218]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MLNpK-1XXPI33nDm-000dGb; Sat, 27 Sep 2014 21:02:02 +0200 In-Reply-To: <83zjdlrqti.fsf@gnu.org> X-Provags-ID: V03:K0:fPUVOVekXcKsZI1Hq5Sdy6LaqS61Ri5g+KbTOEp59abpUI3IVyO 8xGLuj5ndIZLAljwfLxxGGe/Cw//QI73Ck8SZoIL1l79YpWluufg1GGlGghEq2xrjyPv/EX OeijrPDJNfxPUuIQ8ZhaGbI9lKCR+tMKOhEscpDJn9FHhVza7joOQ5jwmSKuiiC3rwHlPcu Fg+a+DjClZPNGgnJ3iZTA== X-UI-Out-Filterresults: notjunk:1; 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:93802 Archived-At: >> 117 >> 122 [28 times] > > This says point doesn't move, which I don't understand how can > happen. forward-line doesn't care about anything except moving point > to the next line. But after 28 times point moves which is even less understandable. > But if new_vpos is 426 and row->height is 16, then the last row, which > starts at y = 426, will end at y = 442, i.e. it's fully visible. This > contradicts what you said earlier, that the last line is only > partially visible. Then why does cursor_row_fully_visible_p return 0 here? #0 cursor_row_fully_visible_p (w=0x5a25d78, force_p=0, current_matrix_p=0) at xdisp.c:15039 #1 0x01050f3f in redisplay_window (window=..., just_this_one_p=false) at xdisp.c:16250 #2 0x0104a340 in redisplay_window_0 (window=...) at xdisp.c:14322 #3 0x011913e2 in internal_condition_case_1 (bfun=0x104a30a , arg=..., handlers=..., hfun=0x104a2e6 ) at eval.c:1368 #4 0x0104a2cb in redisplay_windows (window=...) at xdisp.c:14302 #5 0x0104a280 in redisplay_windows (window=...) at xdisp.c:14296 #6 0x0104a280 in redisplay_windows (window=...) at xdisp.c:14296 #7 0x01049291 in redisplay_internal () at xdisp.c:13901 #8 0x01047276 in redisplay () at xdisp.c:13181 #9 0x01104b89 in read_char (commandflag=1, map=..., prev_event=..., used_mouse_menu=0x82f7ef, end_time=0x0) at keyboard.c:2594 #10 0x01112957 in read_key_sequence (keybuf=0x82f8e4, bufsize=30, prompt=..., dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9178 #11 0x01102641 in command_loop_1 () at keyboard.c:1467 #12 0x011912cf in internal_condition_case (bfun=0x11022bc , handlers=..., hfun=0x1101b27 ) at eval.c:1344 #13 0x01101f72 in command_loop_2 (ignore=...) at keyboard.c:1198 #14 0x0119086e in internal_catch (tag=..., func=0x1101f4e , arg=...) at eval.c:1105 #15 0x01101f2c in command_loop () at keyboard.c:1177 #16 0x011016c3 in recursive_edit_1 () at keyboard.c:787 #17 0x01101880 in Frecursive_edit () at keyboard.c:858 #18 0x010ff5dc in main (argc=1, argv=0xa327e8) at emacs.c:1643 Lisp Backtrace: "redisplay_internal (C function)" (0x206c3b4) You probably mean I should answer that myself but honestly I don't understand cursor_row_fully_visible_p much. In any case, at least one pixel is missing visually. > Which GCC version is that? I have 4.8.1 here. 4.6.2. I'll try with Debian the next time. martin