unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6192: 24.0.50; eldoc-mode: unexpected recentering
@ 2010-05-14 17:11 Stephen Berman
  2010-05-14 17:49 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 52+ messages in thread
From: Stephen Berman @ 2010-05-14 17:11 UTC (permalink / raw)
  To: 6192

1. Let ~/.emacs consist of the following line:
(add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)

2. Start Emacs with the above init-file.

3. Visit an Emacs lisp file that's long enough to scroll a number of
screens up and down, e.g. lisp/abbrev.el from the Emacs source
directory.

4. Type `M->' (end-of-buffer).

5. Type 'M-v' (scroll-down-command)

=> This puts point at line 902 (at least here, with window-height 33),
which is at the bottom of the window as it should be -- but only for a
fraction of a second, and then point is recentered so that line 902 is
now in the middle of the window.

On subsequent reiterations of M-v this recentering sometimes happens and
sometimes doesn't.  I haven't discovered a pattern (nor does it happen
the first time with all files, though it appears to be consistent within
the same file).

This recentering only happens when eldoc-mode is enabled from the mode
hook in the user init file, i.e., starting Emacs with -Q and evalling
the sexp in step 1, then doing steps 2-5, I do not observe the
recentering. 


In GNU Emacs 24.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.18.6)
 of 2010-05-12 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--without-toolkit-scroll-bars''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t





^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2022-05-05 16:25 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-14 17:11 bug#6192: 24.0.50; eldoc-mode: unexpected recentering Stephen Berman
2010-05-14 17:49 ` Eli Zaretskii
2010-05-14 18:07   ` Stephen Berman
2010-05-14 21:05 ` Eli Zaretskii
2010-05-14 21:44   ` Stephen Berman
2010-05-15  6:36     ` Eli Zaretskii
2010-05-15 15:40       ` Stephen Berman
2010-05-15 16:44         ` Eli Zaretskii
2010-05-15 17:25           ` Stephen Berman
2010-05-15 17:33             ` Eli Zaretskii
2010-05-15 21:54               ` Stephen Berman
2010-05-15 22:52                 ` martin rudalics
2010-05-16  3:07                   ` Eli Zaretskii
2010-05-16  8:18                     ` martin rudalics
2010-05-16 17:14                       ` Eli Zaretskii
2010-05-15 16:53         ` martin rudalics
2010-05-15 17:26           ` Stephen Berman
2010-05-15 19:02             ` martin rudalics
2010-05-15 20:22               ` Eli Zaretskii
2010-05-15 20:47                 ` martin rudalics
2010-05-15 21:04                   ` Juanma Barranquero
2010-05-15 22:51                     ` martin rudalics
2010-05-15 21:14                   ` Eli Zaretskii
2010-05-15 22:52                     ` martin rudalics
2010-05-15 21:54               ` Stephen Berman
2010-05-15 22:53                 ` martin rudalics
2010-05-16  8:17                 ` martin rudalics
2010-05-16 10:45                   ` Stephen Berman
2010-05-16 12:35                     ` martin rudalics
2010-05-16 13:07                       ` Stephen Berman
2010-05-16 18:50                         ` martin rudalics
2010-05-16 19:48                           ` Stephen Berman
2010-05-17  9:06                             ` martin rudalics
2010-05-17  9:47                               ` Stephen Berman
2010-05-17 10:21                                 ` Juanma Barranquero
2010-05-17 10:31                                   ` Stephen Berman
2010-05-17 14:08                                 ` Stefan Monnier
2010-05-17 14:43                                   ` Lennart Borgman
2010-05-17 16:23                                     ` Juanma Barranquero
2010-05-17 16:33                                       ` Lennart Borgman
2010-05-17 16:39                                         ` Juanma Barranquero
2010-05-17 17:53                                     ` Eli Zaretskii
2010-05-17 18:02                                       ` Lennart Borgman
2010-05-17 18:30                                         ` Eli Zaretskii
2010-05-17 18:49                                           ` Lennart Borgman
2010-05-17 19:27                                             ` Lennart Borgman
2010-05-17 19:55                                             ` Stefan Monnier
2010-05-14 21:05 ` Eli Zaretskii
2022-05-05 12:20 ` bug#14520: 24.3; minibuffer resizes when message contains bold or italic text Lars Ingebrigtsen
2022-05-05 12:50   ` Stephen Berman
2022-05-05 13:07     ` Lars Ingebrigtsen
2022-05-05 16:25   ` bug#14520: bug#6192: " Eli Zaretskii

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).