[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#357420: tuareg-mode: Toplevel frame won't update itself in Emacs but does in Xemacs



Hi,

On Fri, Mar 17, 2006 at 09:03:04AM +0100, Samuel Colin wrote:
> Package: tuareg-mode
> Version: 1.45.3-1
> Severity: minor
> 
> Hello,
> when testing a function with "evaluate phrase" (or C-x e), or when
> evaluating the whole buffer, the toplevel frame won't move to the
> answer of the OCaml toplevel. 
> In other words, if I evaluate "let id x = x", the toplevel indeed
> displays "val id : 'a -> 'a = <fun>", but the toplevel frame won't put
> itself so that the cursor appears in the middle (I have to scroll down
> -- test with a bigger function, of course :-P )
> The problem appears with emacs, but not with Xemacs. This is minor,
> mostly cosmetic but annoying.

I cannot reproduce this (with the same versions of tuareg-mode and
emacs21 as you have). For instance, I start emacs, enter tuareg-mode,
type "let id x =x", and then hit several times C-x e. This starts
an ocaml toplevel in a second window, and as I feed copies of
the same phrase the cursor in the second window stays at the
end of the ocaml toplevel output, and the window scrolls down when
the screen is full.

Might it have something to do with the settings in your .emacs?
Do you have the same behaviour when you launch emacs without
interpreting your .emacs file?

-Ralf.



Reply to: