all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>,
	Mathias Dahl <mathias.dahl@gmail.com>
Cc: emacs-devel@gnu.org
Subject: RE: Alignment and images
Date: Thu, 1 Sep 2016 09:18:14 -0700 (PDT)	[thread overview]
Message-ID: <d583f3be-efe6-4911-96bb-826eb8146ae1@default> (raw)
In-Reply-To: <m3mvjr1v8o.fsf@gnus.org>

> Images in dired should just work without you having to do anything.
> 
> There should be an easily reachable command in dired that would just
> display a tooltip with the image displayed,

This is available with `dired+.el'.  It would be easy to add it to
Emacs.  It is controlled by option `diredp-image-preview-in-tooltip':

  diredp-image-preview-in-tooltip is a variable defined in `dired+.el'.
  Its value is 100

  Documentation:
  Whether and what kind of image preview to show in a tooltip.
  The possible values are:

   `nil'       : do not show a tooltip preview
   integer N>0 : show a thumbnail preview of that size
   `full'      : show a full-size preview of the image

  To enable tooltip image preview you must turn on `tooltip-mode' and
  load library `image-dired.el'.  See also option
  `diredp-auto-focus-frame-for-thumbnail-tooltip-flag'.

You can use it to show a thumbnail (of any size) or the full-size image,
in a tooltip. 

There is also option `diredp-auto-focus-frame-for-thumbnail-tooltip-flag':

  diredp-auto-focus-frame-for-thumbnail-tooltip-flag is a variable defined in `dired+.el'.
  Its value is nil

  Documentation:
  Non-nil means automatically focus the frame for a thumbnail tooltip.
  If nil then you will not see a thumbnail image tooltip when you
  mouseover an image-file name in Dired, unless you first give the frame
  the input focus (e.g., by clicking its title bar).

There are also several image-related commands, including one that
shows a thumbnail of the image file of the current line using
`image-dired' (i.e., in a separate buffer), one that shows the
full image in a separate window or frame, and one that does the
latter for all marked image files

> and there should be a minor
> mode that does that for all image files without having to do anything
> except putting point on a line with an image file displayed.

See above.

> Implementing this should be rather trivial, since Emacs has rather good
> built-in image support now (on all normal systems; i.e., with
> imagemagick support).

https://www.emacswiki.org/emacs/download/dired%2b.el




      reply	other threads:[~2016-09-01 16:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 13:32 Alignment and images Lars Magne Ingebrigtsen
2016-06-28 16:24 ` Eli Zaretskii
2016-06-28 16:28   ` Lars Magne Ingebrigtsen
2016-06-28 16:39     ` Eli Zaretskii
2016-06-28 16:50       ` Lars Magne Ingebrigtsen
2016-06-28 17:43         ` Eli Zaretskii
2016-06-28 17:51           ` Lars Magne Ingebrigtsen
2016-06-28 18:12             ` Eli Zaretskii
2016-06-28 18:17               ` Lars Magne Ingebrigtsen
2016-06-28 18:23                 ` Eli Zaretskii
2016-06-30 15:14             ` Ted Zlatanov
2016-06-30 15:40               ` Lars Magne Ingebrigtsen
2016-09-01 18:10             ` Alp Aker
2016-06-28 17:44 ` Eli Zaretskii
2016-06-28 17:53   ` Lars Magne Ingebrigtsen
2016-06-28 21:17 ` Glenn Morris
2016-06-28 22:00   ` Lars Magne Ingebrigtsen
2016-08-30 13:01     ` Mathias Dahl
2016-09-01 15:43       ` Lars Ingebrigtsen
2016-09-01 16:18         ` Drew Adams [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=d583f3be-efe6-4911-96bb-826eb8146ae1@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=mathias.dahl@gmail.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.
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.