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: Wed, 15 Apr 2015 05:41:54 +0300 [thread overview]
Message-ID: <83zj6a9kp9.fsf@gnu.org> (raw)
In-Reply-To: <8738424igv.fsf@hochschule-trier.de>
> From: Andreas Politz <politza@hochschule-trier.de>
> Date: Tue, 14 Apr 2015 21:29:04 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Try this:
> >>
> >> (defun show-data-dir-images (&optional ncolumns)
> >> [...]
>
> > After running this function, this works for me:
> >
> > (set-window-vscroll nil N t)
> >
> > as long as (a) point is not on the first screen line shown in the
> > window, and (b) N is no more than 24, which AFAICS is the pixel size
> > of the small images created by the above function.
>
> Yes but the whole point is to display only half of an image at the top.
Like I said: it works for me under the conditions described above.
> This recipe is not ideal. In the real application I would have 2 images
> (pages of a PDF) side by side, filling e.g 3/4 of the windows vertical
> space. Below these images are another 2 which are only 1/4-way visible.
> Now I want to scroll these 4 images up by let's say the equivalent of
> next-screen-context-lines in pixels.
Can you explain why such a partial scroll is a good idea? We can show
the entire line, and yet you want us to show only part of it?
> Would this be a feature supported by Emacs ?
Like I said, it goes against the current redisplay strategy to show
full lines whenever possible. So it would be possible to support that
under some option, but it would need a lot of non-trivial changes.
prev parent reply other threads:[~2015-04-15 2:41 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
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 [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=83zj6a9kp9.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).