all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Politz <politza@hochschule-trier.de>
Cc: emacs-devel@gnu.org
Subject: Re: Displaying scrollable images in a grid-layout
Date: Mon, 13 Apr 2015 23:27:52 +0300	[thread overview]
Message-ID: <83egnndb93.fsf@gnu.org> (raw)
In-Reply-To: <87bnirzur7.fsf@hochschule-trier.de>

> From: Andreas Politz <politza@hochschule-trier.de>
> Date: Mon, 13 Apr 2015 21:35:40 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I cannot try your recipe [...]
> 
> Try this:

Thanks, will do later.

> > That being said, I think you are missing the PIXELWISE-P argument of
> > both window-vscroll and set-window-vscroll.  Aren't you?  
> 
> No both versions do nothing with above scroll settings for any argument
> I've tried (unless the window is smaller than the first displayed
> image).
> 
> > If not, please elaborate on what kind of partial scrolling did you
> > want to see.
> >
> 
> doc-view let's you scroll the page, i.e. the image is only partially
> visible.  I want the same behaviour for more than one image in the
> buffer. Possible display state with 2 images:

If each image is taller than the window, a simple down-arrow should do
what you want.  (Isn't that what you see in doc-view?)  If the images
are smaller than the window height, why is such scrolling useful?
Emacs tries very hard not to show partial characters and images; what
you are trying to do works against the very design of redisplay, so it
seems.  What's the rationale?

> (set-window-vscroll nil 10) => Nothing happens.
> (set-window-vscroll nil 99) => Nothing happens.
> (set-window-vscroll nil 100 t) => Nothing.

What is the height of the image?  If it's smaller than these offsets,
Emacs won't let you do that, because you are trying to move point out
of the visible portion of the window.

P.S.  Please don't remove the list from the addressees, I don't think
we should make this a private off-list discussion.  Thanks.



  reply	other threads:[~2015-04-13 20:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13  8:06 Displaying scrollable images in a grid-layout Andreas Politz
2015-04-13 14:57 ` Eli Zaretskii
2015-04-13 19:35   ` Andreas Politz
2015-04-13 20:27     ` Eli Zaretskii [this message]
2015-04-14 13:29       ` Tassilo Horn
2015-04-14 14:11         ` Stefan Monnier
2015-04-14 14:43           ` Tassilo Horn
2015-04-14 20:04             ` Stefan Monnier
2015-04-14 22:15               ` Rasmus
2015-04-14 14:51         ` Eli Zaretskii
2015-04-14 19:24           ` Tassilo Horn
2015-04-15  2:37             ` Eli Zaretskii
2015-04-15  4:17               ` Yuri Khan
2015-04-15 16:05                 ` Eli Zaretskii
2015-04-15 16:35                   ` Yuri Khan
2015-04-15 16:47                     ` Eli Zaretskii
2015-04-15 17:02                       ` Yuri Khan
2015-04-15 17:33                         ` Eli Zaretskii
2015-04-15 18:26                           ` Andreas Politz
2015-04-15 19:31                           ` Stefan Monnier
2015-04-14 14:56       ` Eli Zaretskii
2015-04-14 19:29         ` Andreas Politz
     [not found]         ` <8738424igv.fsf@hochschule-trier.de>
2015-04-15  2:41           ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=83egnndb93.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=politza@hochschule-trier.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.