From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: `set-window-hscroll' doesn't scroll Date: Wed, 05 Jun 2002 19:50:52 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <7377-Wed05Jun2002195051+0300-eliz@is.elta.co.il> References: <200206042024.g54KOtT30088@Askelid.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1023296066 16164 127.0.0.1 (5 Jun 2002 16:54:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2002 16:54:26 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Fe3G-0004CU-00 for ; Wed, 05 Jun 2002 18:54:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Fe2v-00036G-00; Wed, 05 Jun 2002 12:54:05 -0400 Original-Received: from frigg.inter.net.il ([192.114.186.16]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Fe1G-0002vG-00 for ; Wed, 05 Jun 2002 12:52:22 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.58-GA) with ESMTP id BMB94048; Wed, 5 Jun 2002 19:52:09 +0300 (IDT) Original-To: Bertil@Askelid.com X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <200206042024.g54KOtT30088@Askelid.com> (message from Bertil Askelid on Tue, 4 Jun 2002 13:24:55 -0700) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1820 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1820 > From: Bertil Askelid > 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.)