all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Displaying images "outside" the layout
Date: Sun, 26 Jan 2014 17:28:59 -0700	[thread overview]
Message-ID: <87eh3uclo4.fsf@building.gnus.org> (raw)
In-Reply-To: <838uu2btm5.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jan 2014 18:22:42 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> You could reserve the space in advance, by displaying some empty image
> there, or by some other suitable trick with display properties.

Yeah, but then we'd display a lot fewer dired lines, which isn't
optimal.

> If the tooltip is drawn by Emacs, it is just a special kind of frame,
> so images ought to work.  (Not that I like the idea of showing
> thumbnails only in tooltips.)

Sorry; I didn't mean literally using the `help-echo' stuff, but just
wondered whether it was even possible for Emacs to display images
"floating"...

A different solution that just occurred to me while writing this is that
we could just use the echo area.  I didn't know that that worked,
either:

(progn (message (propertize "hello" 'display (create-image "splash.png")))
       (sit-for 1))

Perhaps that's the most natural and Emacsey way to display thumbnails?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



      parent reply	other threads:[~2014-01-27  0:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-26  5:18 Displaying images "outside" the layout Lars Ingebrigtsen
2014-01-26  5:41 ` YAMAMOTO Mitsuharu
2014-01-27  0:23   ` Lars Ingebrigtsen
2014-01-27  0:38     ` YAMAMOTO Mitsuharu
2014-01-27  0:47       ` Lars Ingebrigtsen
2014-01-26 16:22 ` Eli Zaretskii
2014-01-26 16:39   ` Alp Aker
2014-01-26 17:40     ` Eli Zaretskii
2014-01-26 18:12       ` Alp Aker
2014-01-26 18:53       ` Jan Djärv
2014-01-27  0:28   ` Lars Ingebrigtsen [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

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

  git send-email \
    --in-reply-to=87eh3uclo4.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.