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

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

Re: `set-window-hscroll' doesn't scroll


From: Eli Zaretskii
Subject: Re: `set-window-hscroll' doesn't scroll
Date: Wed, 05 Jun 2002 19:47:48 +0300

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



reply via email to

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