"Drew Adams" <[EMAIL PROTECTED]> writes:

> 1. The doc string of `hscroll-step' refers to variable
> `automatic-hscroll-margin'. I believe this should be `hscroll-margin'
> (the former apparently does not exist).

I don't see this ... is your emacs up-to-date?

>
> 2. I tried to bind `auto-hscroll-mode' to nil in a particular context,
> to prevent automatic scrolling (without changing the user's value of
> the option). It does not seem to work - scrolling occurs
> anyway. Likewise, binding `hscroll-margin' to 0 had no effect (didn't
> prevent auto scrolling). I used a let binding in a mouse command, but
> as soon as the command exited the window was scrolled anyway (after
> clicking near a window edge). I ended up setting `auto-hscroll-mode'
> as a buffer-local variable, which is OK, but I think binding it should
> also work.
>

Hscrolling is done by the redisplay engine _after_ the command has
completed, so any temporary change to hscroll related variables will
have no effect on how things are displayed.

-- 
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

Reply via email to