unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* `set-window-hscroll' doesn't scroll
@ 2002-06-04 20:24 Bertil Askelid
  2002-06-05 16:47 ` Eli Zaretskii
  2002-06-05 16:50 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: Bertil Askelid @ 2002-06-04 20:24 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-08 on porky.devel.redhat.com
configured using `configure  i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound'
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: en_US.iso885915
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

   (set-window-hscroll (selected-window) 40)

   doesn't cause any horizontal scrolling at all

Recent input:
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<drag-mouse-1> <switch-frame> <down-mouse-2> <mouse-2>
C-z C-k y <switch-frame> <down-mouse-1> <mouse-1> <double-down-mouse-1>
<mouse-movement> <double-mouse-1> M-x <S-f8> <retu
rn>

Recent messages:
History item: 7
Composing main Info directory...
Mark set
Composing main Info directory...done
Mark saved where search started [2 times]
isearch-abort: Quit
keyboard-quit: Quit [2 times]
/home/bertil/

Loading emacsbug...done

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: `set-window-hscroll' doesn't scroll
  2002-06-04 20:24 `set-window-hscroll' doesn't scroll Bertil Askelid
@ 2002-06-05 16:47 ` Eli Zaretskii
  2002-06-05 16:50 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2002-06-05 16:47 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> From: Bertil Askelid <Bertil@Askelid.com>
> Date: Tue, 4 Jun 2002 13:24:55 -0700
> 
>    (set-window-hscroll (selected-window) 40)
> 
>    doesn't cause any horizontal scrolling at all

Probably because your cursor would become invisible if the window is
scrolled 40 columns to the right.  Emacs doesn't let you scroll the
window so that the location of the cursor becomes invisible.

Try "C-x 3", then "C-u 50 C-f", and _then_ evaluate the above
expression.  I think you'll see then that it works.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: `set-window-hscroll' doesn't scroll
  2002-06-04 20:24 `set-window-hscroll' doesn't scroll Bertil Askelid
  2002-06-05 16:47 ` Eli Zaretskii
@ 2002-06-05 16:50 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2002-06-05 16:50 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> From: Bertil Askelid <Bertil@Askelid.com>
> Date: Tue, 4 Jun 2002 13:24:55 -0700
> 
>    (set-window-hscroll (selected-window) 40)
> 
>    doesn't cause any horizontal scrolling at all

As an alternative to what I wrote in my other message, set the
variable automatic-hscrolling to nil, and then the call to
set-window-hscroll will work unconditionally.  (Automatic horizontal
scrolling makes sure the cursor is always visible, and it's by default
on.)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-05 16:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04 20:24 `set-window-hscroll' doesn't scroll Bertil Askelid
2002-06-05 16:47 ` Eli Zaretskii
2002-06-05 16:50 ` Eli Zaretskii

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