unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Did window scroll notification change?
@ 2002-11-01 22:47 John Wiegley
  2002-11-03 13:56 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: John Wiegley @ 2002-11-01 22:47 UTC (permalink / raw)


Eshell's "smart scrolling" functionality does not work at all with
21.3.50.

Eshell puts the function `eshell-smart-scroll-window' locally on
`window-scroll-functions'.  Then, it tries to redisplay the window by
doing (recenter -1) whenever the window would ordinarily be scrolled.

`window-scroll-functions' is being called ad infinitum.  Emacs is
partially locked, but enough C-g gets me to a point where I can
delete the Eshell buffer.

Anybody know when this might have changed?

John

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

* Re: Did window scroll notification change?
  2002-11-01 22:47 Did window scroll notification change? John Wiegley
@ 2002-11-03 13:56 ` Richard Stallman
  2002-11-03 21:07   ` John Wiegley
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2002-11-03 13:56 UTC (permalink / raw)
  Cc: emacs-devel

    `window-scroll-functions' is being called ad infinitum.  Emacs is
    partially locked, but enough C-g gets me to a point where I can
    delete the Eshell buffer.

Can you debug this?  What code is calling what?
The only way to get to the bottom of things is to find out more facts
about the chain of events.

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

* Re: Did window scroll notification change?
  2002-11-03 13:56 ` Richard Stallman
@ 2002-11-03 21:07   ` John Wiegley
  2002-11-04 18:05     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: John Wiegley @ 2002-11-03 21:07 UTC (permalink / raw)


>>>>> On Sun Nov  3, Richard writes:

>     `window-scroll-functions' is being called ad infinitum.  Emacs
> is partially locked, but enough C-g gets me to a point where I can
> delete the Eshell buffer.

> Can you debug this?  What code is calling what?  The only way to
> get to the bottom of things is to find out more facts about the
> chain of events.

I have been trying, but with little success.  Redisplay problems are
especially difficult to trace, because entering the debugger has a
tendency to provoke a redisplay, etc.  I will try accumulating a
backtrace of each invocation in a non-redisplaying buffer.

John

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

* Re: Did window scroll notification change?
  2002-11-03 21:07   ` John Wiegley
@ 2002-11-04 18:05     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2002-11-04 18:05 UTC (permalink / raw)
  Cc: emacs-devel

    >     `window-scroll-functions' is being called ad infinitum.  Emacs
    > is partially locked, but enough C-g gets me to a point where I can
    > delete the Eshell buffer.

window-scroll-functions is run from C code.  You could put a
breakpoint at the places that call it, and that way you could debug
why it gets called.  You could see if it is getting called recursively
or in a loop, etc.

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

end of thread, other threads:[~2002-11-04 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 22:47 Did window scroll notification change? John Wiegley
2002-11-03 13:56 ` Richard Stallman
2002-11-03 21:07   ` John Wiegley
2002-11-04 18:05     ` Richard Stallman

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