unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Greg Hill <ghill@synergymicro.com>
Subject: Re: Can I scroll inline images horizontally?
Date: Mon, 14 Apr 2003 15:26:53 -0700	[thread overview]
Message-ID: <p04310101bac0deb2e07c@[198.17.100.22]> (raw)
In-Reply-To: <84of3atepn.fsf@lucy.is.informatik.uni-duisburg.de>

At 8:49 PM +0200 4/13/03, Kai Großjohann wrote:
>"Felix E. Klee" <felix.klee.news@gmx.net> 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

      reply	other threads:[~2003-04-14 22:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-13 16:46 Can I scroll inline images horizontally? Felix E. Klee
2003-04-13 18:49 ` Kai Großjohann
2003-04-14 22:26   ` Greg Hill [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p04310101bac0deb2e07c@[198.17.100.22]' \
    --to=ghill@synergymicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).