emacs-pretest-bug
[Top][All Lists]
Advanced

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

hscroll-step doc bug; cannot turn off hscroll by binding


From: Drew Adams
Subject: hscroll-step doc bug; cannot turn off hscroll by binding
Date: Mon, 29 May 2006 16:20:08 -0700

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

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.


In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2006-03-20 on W2ONE
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>

Recent messages:
(C:\Emacs-22-2006-03-20\bin\emacs.exe -q --no-site-file --debug-init
C:\drews-lisp-20)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading dired...
Loading regexp-opt...done
Loading dired...done
Loading emacsbug...done





reply via email to

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