From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.help Subject: Re: Can I scroll inline images horizontally? Date: Mon, 14 Apr 2003 15:26:53 -0700 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20030413184634.224c7b16.felix.klee.news@gmx.net> <84of3atepn.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1050361532 7348 80.91.224.249 (14 Apr 2003 23:05:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2003 23:05:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 01:05:29 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195D0z-0001tw-00 for ; Tue, 15 Apr 2003 01:05:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195Cxd-0001tF-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 14 Apr 2003 19:02:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195Cx3-0001lI-00 for help-gnu-emacs@gnu.org; Mon, 14 Apr 2003 19:01:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195Cue-0000XX-00 for help-gnu-emacs@gnu.org; Mon, 14 Apr 2003 18:58:58 -0400 Original-Received: from renfield.synergymicro.com ([153.105.4.30] helo=synergymicro.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195CQM-0006iz-00 for help-gnu-emacs@gnu.org; Mon, 14 Apr 2003 18:27:39 -0400 Original-Received: from synergy.synergy.encinitas.ca.us ([153.105.4.29]) by synergymicro.com (8.9.3/8.9.3) with ESMTP id PAA23039 for ; Mon, 14 Apr 2003 15:28:56 -0700 Original-Received: from [198.17.100.22] (G-Hill-Mac [198.17.100.22]) h3EMYfq6003013 for ; Mon, 14 Apr 2003 15:34:41 -0700 In-Reply-To: <84of3atepn.fsf@lucy.is.informatik.uni-duisburg.de> Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8480 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8480 At 8:49 PM +0200 4/13/03, Kai Gro=DFjohann wrote: >"Felix E. Klee" writes: > >> Is there some way to tell EMACS that I want to scroll horizontally >> even if there aren't any long lines of text? > >In a way, there is. You have to implement the feature. Many people >will be happy if you do. (Displaying tall images also needs work.) Perhaps this deserves more looking into. I have buffers that contain nothing but a jpeg image, and I can scroll them horizontally using (scroll-left) and (scroll-right). I insert an image into the current buffer using: (insert-image (create-image "rms.jpeg") (point)) I scroll them vertically using: (set-window-vscroll nil (+ (window-vscroll) .5)))) and (set-window-vscroll nil (- (window-vscroll) .5)))) --Greg