It does if the point goes completely off the window. However it still does not scroll in the case where the pointer is partly off window and partly inside. In the screenshot attached, the pointer is just above the modeline and I am unable to calling forward-line has no effect. The cursor got in this current position by a series of forward-line. Hopefully this is clear. > Message du 25/09/14 à 17h20 > De : "Eli Zaretskii" > A : lompik@voila.fr > Copie à : 18545@debbugs.gnu.org > Objet : Re: bug#18545: 24.4.50: Bug - forward-line inside with-selected-window > > > From: Eli Zaretskii > > Cc: 18545@debbugs.gnu.org > > > > This works OK in v24.3, so it's a regression. > > The patch below seems to fix the problem. It catches the situation > where try_window failed to redisplay the window, in which case we > shouldn't "goto done" as if we succeeded. > > > === modified file 'src/xdisp.c' > --- src/xdisp.c 2014-09-18 15:10:33 +0000 > +++ src/xdisp.c 2014-09-25 15:15:42 +0000 > @@ -16293,6 +16293,11 @@ redisplay_window (Lisp_Object window, bo > } > */ > } > + else if (w->cursor.vpos < 0) > + { > + clear_glyph_matrix (w->desired_matrix); > + goto try_to_scroll; > + } > > #ifdef GLYPH_DEBUG > debug_method_add (w, "forced window start"); > > ___________________________________________________________ Mode, hifi, maison,… J'achète malin. Je compare les prix avec Voila.fr http://shopping.voila.fr/