[Top][All Lists]

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

Re: momentary-string-display

From: Richard Stallman
Subject: Re: momentary-string-display
Date: Fri, 29 Dec 2006 17:58:39 -0500

Could you please try your changed version with various commands that use
momentary-string-display, and see if it fully works?

As for this code,

    !       ;; If the message end is off screen, recenter now.
    !       (if (< (window-end nil t) insert-end)
    !           (recenter (/ (window-height) 2)))
    !       ;; If that pushed message start off the screen,
    !       ;; scroll to start it at the top of the screen.
    !       (move-to-window-line 0)
    !       (if (> (point) pos)
    !           (progn
    !             (goto-char pos)
    !             (recenter 0))))

you could replace it with some reasonable heuristic that
doesn't go wrong very often.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]