all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@member.fsf.org>
Cc: Kevin Rodgers <kevin.d.rodgers@gmail.com>, emacs-devel@gnu.org
Subject: Re: momentary-string-display
Date: Fri, 05 Jan 2007 02:05:32 -0500	[thread overview]
Message-ID: <u7iw2ar7n.fsf@member.fsf.org> (raw)
In-Reply-To: <E1H2bAQ-0003MV-5s@fencepost.gnu.org> (Richard Stallman's message of "Thu, 04 Jan 2007 17:34:34 -0500")

Richard Stallman <rms@gnu.org> 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
<tab><tab><tab><tab><tab><tab>
(point is now on a [Help] button)
<ret>
(momentary string is displayed)
<spc>
(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

  parent reply	other threads:[~2007-01-05  7:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-27  1:18 momentary-string-display Juanma Barranquero
2006-12-27 21:16 ` momentary-string-display Richard Stallman
2006-12-27 23:53   ` momentary-string-display Juanma Barranquero
2006-12-29 15:44     ` momentary-string-display Richard Stallman
2007-01-02 23:58       ` momentary-string-display Juanma Barranquero
2006-12-29  4:47   ` momentary-string-display Kevin Rodgers
2006-12-29 22:58     ` momentary-string-display Richard Stallman
2007-01-03  8:53       ` momentary-string-display Kevin Rodgers
2007-01-04  1:41         ` momentary-string-display Stephen Leake
2007-01-04  2:31         ` momentary-string-display Richard Stallman
2007-01-04 15:31           ` momentary-string-display Kevin Rodgers
2007-01-04 22:34             ` momentary-string-display Richard Stallman
2007-01-04 23:18               ` momentary-string-display Juanma Barranquero
2007-01-05 19:09                 ` momentary-string-display Richard Stallman
2007-01-05  7:05               ` Stephen Leake [this message]
2007-01-06  2:54                 ` momentary-string-display Richard Stallman
2007-01-06  7:36                   ` momentary-string-display Stephen Leake
2007-01-07  3:47                     ` momentary-string-display Richard Stallman
2007-01-07 14:41                       ` momentary-string-display Stephen Leake
2007-01-02 22:54   ` momentary-string-display Tak Ota
2007-01-03 21:11     ` momentary-string-display Richard Stallman
2007-01-03 21:36       ` momentary-string-display Tak Ota

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u7iw2ar7n.fsf@member.fsf.org \
    --to=stephen_leake@member.fsf.org \
    --cc=emacs-devel@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.