From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Displaying images "outside" the layout Date: Sun, 26 Jan 2014 18:22:42 +0200 Message-ID: <838uu2btm5.fsf@gnu.org> References: <87a9ejqq20.fsf@building.gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1390753386 19976 80.91.229.3 (26 Jan 2014 16:23:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 16:23:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 26 17:23:13 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W7SUJ-0001Ll-5t for ged-emacs-devel@m.gmane.org; Sun, 26 Jan 2014 17:23:11 +0100 Original-Received: from localhost ([::1]:55321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7SUI-0004kQ-Kr for ged-emacs-devel@m.gmane.org; Sun, 26 Jan 2014 11:23:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7SU9-0004k4-Oe for emacs-devel@gnu.org; Sun, 26 Jan 2014 11:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7SU2-00070k-AY for emacs-devel@gnu.org; Sun, 26 Jan 2014 11:23:01 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:59236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7SU2-00070e-2V for emacs-devel@gnu.org; Sun, 26 Jan 2014 11:22:54 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N0000700O2VDI00@mtaout25.012.net.il> for emacs-devel@gnu.org; Sun, 26 Jan 2014 18:22:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0000796O5KI600@mtaout25.012.net.il>; Sun, 26 Jan 2014 18:22:32 +0200 (IST) In-reply-to: <87a9ejqq20.fsf@building.gnus.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169128 Archived-At: > From: Lars Ingebrigtsen > Date: Sat, 25 Jan 2014 22:18:15 -0700 > > Inserting the preview into the buffer would be the easiest, of course, > but where? On the current line would be obvious, but would make stuff > move around, since image thumbnails would be taller than the lines are. You could reserve the space in advance, by displaying some empty image there, or by some other suitable trick with display properties. > So here's my question: Is there a way to display images in tooltips? I > tried the obvious, which is using a string with a display parameter that > points to an image in `help-echo', but that didn't work. 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.)