unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "David De La Harpe Golden" <david.delaharpe.golden@gmail.com>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: David O'Toole <dto@gnu.org>, emacs-devel@gnu.org
Subject: Re: Suggestion: A fringe indicator that shows the last/first line before scrolling
Date: Thu, 28 Feb 2008 23:18:20 +0000	[thread overview]
Message-ID: <8e24944a0802281518x19bcbfd5ndf2ce1ca55a77dc@mail.gmail.com> (raw)
In-Reply-To: <47C6FE9F.1060800@gmail.com>

On 28/02/2008, Lennart Borgman (gmail) <lennart.borgman@gmail.com> wrote:
>  >
>  > See first caveat in opening comments in Martin's scroll-restore.el
>  >
>  > http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01892.html
>  >
>  > and discussion thread following it.
>
>
> Not sure I understood everything there,

Sorry, I was initially wrongly presenting the issue - not about it
being non "commands", I guess (interactive "e") functions should still
count as commands. Martin found post-command-hooks apparently don't
run in some circumstances for such things - here's the relevant caveat
text I referred to:

;;   Scroll Restore mode does not handle `switch-frame' and
;;   `vertical-scroll-bar' events executed within the loops in
;;   `mouse-show-mark' and `scroll-bar-drag' (these don't call
;;   `post-command-hook' as needed by Scroll Restore mode).


So try this (on X11 at least):

(add-hook 'post-command-hook
  (lambda () (message "post-command-hook %s" (current-time))))

Then activate the region with the mouse, scroll with scroll bar.. no update.

This might just be a bug, or intentional (though kind of inconsistent)
behaviour, I don't know.




  reply	other threads:[~2008-02-28 23:18 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-28 11:48 Suggestion: A fringe indicator that shows the last/first line before scrolling Tassilo Horn
2008-02-28 13:55 ` David O'Toole
2008-02-28 15:46   ` Lennart Borgman (gmail)
2008-02-28 16:34     ` David De La Harpe Golden
2008-02-28 17:52       ` Lennart Borgman (gmail)
2008-02-28 18:01         ` David De La Harpe Golden
2008-02-28 18:12           ` Lennart Borgman (gmail)
2008-02-28 18:18             ` David De La Harpe Golden
2008-02-28 18:34               ` Lennart Borgman (gmail)
2008-02-28 23:18                 ` David De La Harpe Golden [this message]
2008-02-29  1:55                   ` Stefan Monnier
2008-02-29  2:50                     ` David De La Harpe Golden
2008-02-29  4:33                       ` Stefan Monnier
2008-02-29 17:57                         ` David De La Harpe Golden
2008-02-29 21:04                           ` David De La Harpe Golden
2008-02-29 21:12                             ` David De La Harpe Golden
2008-02-29 21:33                             ` Lennart Borgman (gmail)
2008-02-29 23:16                               ` David De La Harpe Golden
2008-02-29 23:29                                 ` Lennart Borgman (gmail)
2008-02-29 23:59                                   ` David De La Harpe Golden
2008-03-01  0:05                                     ` David De La Harpe Golden
2008-03-01  0:10                                     ` Lennart Borgman (gmail)
2008-03-01  3:28                             ` David De La Harpe Golden
2008-03-01  3:39                               ` Miles Bader
2008-03-01  3:59                                 ` David De La Harpe Golden
2008-03-02  3:00                                 ` David De La Harpe Golden
2008-03-01  3:44                               ` David De La Harpe Golden
2008-02-28 17:19   ` Stefan Monnier
2008-02-28 17:39     ` Tassilo Horn
2008-02-28 18:16       ` Stefan Monnier
2008-02-29  1:40 ` Richard Stallman
2008-02-29  8:02   ` Tassilo Horn
2008-02-29 19:54     ` Richard Stallman
2008-03-01  9:28       ` Tassilo Horn

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8e24944a0802281518x19bcbfd5ndf2ce1ca55a77dc@mail.gmail.com \
    --to=david.delaharpe.golden@gmail.com \
    --cc=dto@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@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 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).