YAMAMOTO Mitsuharu <[EMAIL PROTECTED]> writes: >>>>>> On Thu, 20 Apr 2006 09:36:07 +0900, YAMAMOTO Mitsuharu <[EMAIL >>>>>> PROTECTED]> said: > >>>>>> On Thu, 20 Apr 2006 01:21:04 +0200, [EMAIL PROTECTED] (Kim F. Storm) >>>>>> said: >>> Ok, so my first patch only fixed one instance of this problem. I >>> have committed a different, more generic fix for this, which also >>> attempts to select a more reasonable window start rather than just >>> recentering. > >> Thanks. It works for the cases I've shown. > > Sorry, maybe I should have tested it more carefully. Sometimes it > seems to recenter too much: > > 1. emacs -q > The splash screen is shown. > 2. C-p > The message in *scratch* is not shown. > 3. C-p > Now we can see it.
I'm sorry too. The problem is that I set centering_position = 0 which works fine when PT is on the top line, but fails miserably otherwise. I changed the code to just recenter which seems to DTRT. -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
