[Top][All Lists]

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

Re: momentary-string-display

From: Stephen Leake
Subject: Re: momentary-string-display
Date: Fri, 05 Jan 2007 02:05:32 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

Richard Stallman <address@hidden> writes:

> I installed your patch, but the parens needed some fixing.

This has a problem; point is moved to the beginning of the window
while the momentary string is displayed, and is still there after the
momentary string is removed.

Previously, point stayed where it was when momentary-string-display
was invoked.

The previous behavior is preferable, but the current behavior is not
dangerous, just annoying.

I tested this with ada-prj. Recipe:

emacs -Q
M-x ada-mode
M-x ada-prj-edit
(point is now on a [Help] button)
(momentary string is displayed)
(momentary string is removed)

Looking at the code, the problem is the test for 'message start
scrolled off the screen'; it should restore point if the message was
_not_ scrolled off.

-- Stephe

reply via email to

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