unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Barry OReilly <gundaetiapo@gmail.com>
To: 14780@debbugs.gnu.org
Subject: bug#14780: Acknowledgement (Regression: C-n doesn't go to next line under simple circumstances)
Date: Fri, 19 Jul 2013 15:53:35 -0400	[thread overview]
Message-ID: <CAFM41H3AMOEbr0rQQNtMOsvxPicnwXeCZodR9FHHmfJxJ77_NQ@mail.gmail.com> (raw)
In-Reply-To: <83fvvaz7jf.fsf@gnu.org>

Use this /tmp/cant-next-line.el to automate a little more.

(tool-bar-mode 0)
(global-whitespace-mode 1)
(set-face-attribute 'default nil :height 80)
(setq scroll-margin 4)
(setq scroll-conservatively 101)
(add-hook 'emacs-startup-hook (lambda ()
                                (re-search-forward "here")
                                (trace-redisplay)
                                ;; Doesn't reproduce it, have to C-n manually
                                ;; (run-at-time "1 sec" 1 (lambda ()
                                ;;
(call-interactively 'next-line)))
                                ))

Reproduction won't happen if you:
  - resize the window
  - use M-x next-line instead of C-n
  - press and hold C-n
  - navigate in ways other than prescribed

I can see it everytime I follow the recipe.

Here is the trace-redisplay resulting from:
  ./src/emacs -r -Q --load /tmp/cant-next-line.el /tmp/cant-next-line.txt
  Then C-n 5 times

redisplay_internal 0
0x110d9a0 (cant-next-line.txt): same window start
0x110d9a0 (cant-next-line.txt): 1
0x110d9a0 (cant-next-line.txt): same window start
0x110d9a0 (cant-next-line.txt): 1
redisplay_preserve_echo_area (8)
redisplay_internal 0
redisplay_internal 0
0x110d9a0 (cant-next-line.txt): cursor movement
0x110d9a0 (cant-next-line.txt): try_scrolling
redisplay_internal 0
0x110d9a0 (cant-next-line.txt): forced window start
redisplay_preserve_echo_area (7)
redisplay_internal 0
redisplay_internal 0
0x110d9a0 (cant-next-line.txt): forced window start
redisplay_preserve_echo_area (7)
redisplay_internal 0
redisplay_internal 0
0x110d9a0 (cant-next-line.txt): forced window start
redisplay_preserve_echo_area (7)
redisplay_internal 0
redisplay_internal 0
0x110d9a0 (cant-next-line.txt): forced window start
redisplay_preserve_echo_area (7)
redisplay_internal 0
redisplay_preserve_echo_area (8)
redisplay_internal 0
redisplay_preserve_echo_area (8)
redisplay_internal 0





  reply	other threads:[~2013-07-19 19:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 16:03 bug#14780: Regression: C-n doesn't go to next line under simple circumstances Barry OReilly
     [not found] ` <handler.14780.B.13728674128397.ack@debbugs.gnu.org>
2013-07-19 18:37   ` bug#14780: Acknowledgement (Regression: C-n doesn't go to next line under simple circumstances) Barry OReilly
2013-07-19 19:14     ` Eli Zaretskii
2013-07-19 19:53       ` Barry OReilly [this message]
2013-07-19 20:30         ` bug#14780: Regression: C-n doesn't go to next line under simple circumstances Eli Zaretskii
2013-07-19 20:37           ` Barry OReilly
2013-07-20  6:42             ` Eli Zaretskii
2013-07-20  8:33               ` Eli Zaretskii
2013-07-20  9:09                 ` Eli Zaretskii
2013-07-22 20:37                   ` Barry OReilly
2013-07-24 17:38                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFM41H3AMOEbr0rQQNtMOsvxPicnwXeCZodR9FHHmfJxJ77_NQ@mail.gmail.com \
    --to=gundaetiapo@gmail.com \
    --cc=14780@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).