unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: bob@rattlesnake.com
Subject: Re: thumbs.el and transparency
Date: Sun, 29 Jan 2006 11:22:42 -0500 (EST)	[thread overview]
Message-ID: <m1F3FK6-0004QMC@rattlesnake.com> (raw)
In-Reply-To: <u3bj9obn3.fsf@gmail.com> (message from Mathias Dahl on Fri, 27 Jan 2006 17:53:36 +0100)

Here is a report on my attempt to use Tumme Thumbnail mode.

My conclusion:  Please combine Tumme Thumbnail mode with the current
Thumbs mode, which is inadaquate as is.  For the most common
invocation, please deploy one window in a frame that does not need to
be widened.  This window should be a dired buffer.  It should show all
the usual dired information (except maybe the links info) as well as
the thumbnail images.  You should be able to invoke it when typing
`M-x thumb'.  Also, the command `dired-thumb' should be aliased to
`thumb'.

Here is the report:

   If all goes well, you should have a window config like this:

        +---------+---------+
        |         |         |
        |         |    2    |
        |         |         |
        |    1    +---------+
        |         |         |
        |         |    3    |
        |         |         |
        +---------+---------+

That makes my dired window too narrow.  My default windows frame, run
under X, produces a window that is eighty characters wide.  This works
fine.  In a regular instance of Emacs with this Tummes configuration,
I cannot see the endings of file in dired.  The window becomes 37
characters wide.  I had to widen the whole frame before I could even
begin to mark files.

Also, I currently have 86 open buffers in this instance of Emacs, and
do many different things.  So I did not want a program that adds too
many windows.  I started a separate instance.

As a practical matter, I would prefer one window with the option of
creating others.  The one window beginning should be a dired window
that also shows thumbnail images.  It should be invoked when you type
`M-x thumb' or `M-x dired-thumb'.

In another instance, I tried `M-x thumbs'.  Tumme Thumbnail mode is
not like Thumbs mode.

By default, Thumbs mode initially shows only thumbnails, not dired
information plus thumbnails.  However, Tumme Thumbnail mode does not
show any images at all when you type `M-x tumme-dired'.

Please combine the two modes.  A good name is `thumbs'.  It could run
Thumbs mode.  The dired information for `M-x dired-thumb' should
contain at least:  permissions, users, size, date, name, just like the
current dired.

Without the links info, we should be able to see a whole name up to 21
characters long, including the four characters for the dot and three
letter extension (i.e., a name itself of 17 characters).  Or put the
thumbnail on a separate line from the dired info, directly above the
name, which currently starts at column 48.  (I think I would prefer
this latter format.  Some of my image names are quite long.  In the
default, this format permits fully visible image names up to 32
characters long.)

Obviously, `dired-thumb' should show a line without an image for
non-image files and for image files that cannot be displayed.  Showing
images makes the buffer longer, but that can be done.

   Use the arrow keys to move around the thumbnails. To display an
   image, press RET on the thumbnail. This will display a sized
   version in the display buffer.

This is good!  I like the convenience of displaying what in this case
looks like a not quite double-sized thumbnail, smaller than the
original.

How do I save such a resized image?  Using the normal commands, C-x h
(`mark-whole-buffer') and M-w (`kill-ring-save'), I tried saving the
smaller image as foo.jpg, but that did not work.  The file contained
only two bytes, 0x20 0x0a, and the ImageMagick `display' program said
it was not a JPEG file.

   If you want to see the full size image, either use C-x o to jump to
   the display buffer and then press "f" (full) there, or press C-return
   to display image in an external viewer (which must be
   configured). Press "s" to again display a sized version.

Neither succeeded in this instance of my regular Emacs.  (But see
below.)  `f' (tumme-display-current-image-full) just displayed a
small, empty box.

Also, `s' (tumme-display-current-image-sized) failed.  All I could see
was the small, empty box and an error message that said "No original
file name at point".

Ack!  I just deleted the tumme related buffers, ran `M-x tumme-dired',
marked an image, moved dot to the *tumme* buffer by moving the mouse,
pressed C-t d (`tumme-display-thumbs').  I do not see a thumb.  (For
this instance, I have `mouse-autoselect-window' set to t in my
initialization file, but that turns out to be irrelevant.)

OK, I start an other instance, this time using
    today's GNU Emacs CVS snapshot, Sun, 2006 Jan 29  11:42 UTC
    GNU Emacs 22.0.50.15 (i686-pc-linux-gnu, GTK+ Version 2.8.10) 
    started with

        emacs/src/emacs -Q -D

Evaluate

    (progn
      (load-file "/usr/local/src/emacs/lisp/tumme.elc")
      (tumme-setup-dired-keybindings))

Widen frame.  Execute `M-x tumme-dired' on the same directory as
before, mark the same two files.  

First I switch to the *tumme* buffer but `C-t d'
(tumme-display-thumbs) fails.  So switch back to the dired buffer and
run `C-t d' there.  That succeeds.  (So my earlier failure was not due
to Mouse Autoselect mode, as I thought earlier.)

Good, this time both `f' (tumme-display-current-image-full) and
`C-RET' (tumme-thumbnail-display-external) succeed.

So does `s' (tumme-display-current-image-sized). 

--
    Robert J. Chassell
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

  parent reply	other threads:[~2006-01-29 16:22 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-25  1:08 thumbs.el and transparency Nick Roberts
2006-01-25  7:59 ` Juri Linkov
2006-01-25  9:20   ` Nick Roberts
2006-01-26 18:54     ` Mathias Dahl
2006-01-26 21:59       ` Nick Roberts
2006-01-27  3:46         ` Miles Bader
2006-01-27  9:27           ` Nick Roberts
2006-01-28  4:50             ` Richard M. Stallman
2006-01-28 23:58               ` Nick Roberts
2006-01-29 13:41                 ` Mathias Dahl
2006-01-29 21:10                   ` Nick Roberts
2006-01-29 22:42                     ` Mathias Dahl
2006-01-30 10:26                 ` Kim F. Storm
2006-01-30 11:23                   ` Juanma Barranquero
2006-01-30 15:12                     ` Chong Yidong
2006-01-30 15:41                       ` Juanma Barranquero
2006-01-30 18:43                         ` Chong Yidong
2006-01-31 15:31                         ` CUA-related problem (was: Re: thumbs.el and transparency) Kim F. Storm
2006-01-31 15:41                           ` Juanma Barranquero
2006-01-31 18:19                             ` Luc Teirlinck
2006-01-31 19:32                               ` Juanma Barranquero
2006-01-31 18:04                         ` thumbs.el and transparency Richard M. Stallman
2006-01-31 19:47                           ` Juanma Barranquero
2006-01-31 21:10                             ` Luc Teirlinck
2006-01-31 23:08                               ` Kim F. Storm
2006-01-31 23:45                                 ` Luc Teirlinck
2006-02-01 10:41                                   ` Kim F. Storm
2006-02-02  2:07                                     ` Luc Teirlinck
2006-02-02  9:26                                       ` Juanma Barranquero
2006-02-02  9:35                                       ` Kim F. Storm
2006-01-31 23:54                                 ` Luc Teirlinck
2006-02-01 10:45                                 ` Juanma Barranquero
2006-01-30 23:25                     ` Richard M. Stallman
2006-01-31  9:26                       ` Juanma Barranquero
2006-01-29  9:38               ` Sascha Wilde
2006-01-29 13:46                 ` Mathias Dahl
2006-01-29 16:38                   ` Miles Bader
2006-01-29 18:13                     ` David Kastrup
2006-01-29 22:35                     ` Mathias Dahl
2006-01-29 16:50                   ` David Kastrup
2006-01-29 22:33                     ` Mathias Dahl
2006-01-27 16:53           ` Mathias Dahl
2006-01-29  0:03             ` Nick Roberts
2006-01-30  0:56               ` Richard M. Stallman
2006-01-30 11:35                 ` Mathias Dahl
2006-01-29  2:33             ` Miles Bader
2006-01-29 14:07               ` Mathias Dahl
2006-01-29 14:34               ` Mathias Dahl
2006-01-29 16:22             ` Robert J. Chassell [this message]
2006-01-29 18:01               ` Chong Yidong
2006-01-29 20:13               ` Nick Roberts
2006-01-30  1:04                 ` Robert J. Chassell
2006-01-30  2:08                   ` Nick Roberts
2006-01-30 14:44                     ` Robert J. Chassell
2006-01-29 22:04               ` Mathias Dahl
2006-01-29 23:13                 ` Chong Yidong
2006-01-30 11:57                   ` Mathias Dahl
2006-01-30 14:18                   ` Mathias Dahl
2006-01-30  1:49                 ` Robert J. Chassell
2006-01-30 12:08                   ` Mathias Dahl
2006-01-28  4:51           ` Richard M. Stallman
2006-01-29 16:01             ` Mathias Dahl
2006-01-30 18:46               ` Richard M. Stallman
2006-01-30 21:49                 ` Mathias Dahl
2006-01-30 22:16                   ` Mathias Dahl
2006-01-31 18:03                   ` Richard M. Stallman
2006-02-01 10:44                     ` Mathias Dahl
2006-02-02  4:16                       ` Richard M. Stallman
2006-02-02 16:34                         ` Mathias Dahl
2006-02-04 18:27                           ` Richard M. Stallman
2006-02-05 12:03                             ` Mathias Dahl
2006-02-05 20:36                               ` Juri Linkov
2006-02-05 22:05                                 ` Mathias Dahl
2006-02-06  0:22                                   ` Miles Bader
2006-02-06  7:27                                     ` Juri Linkov
2006-02-06 17:37                                     ` Mathias Dahl
2006-02-07 10:59                                       ` Juri Linkov
2006-02-07 17:46                                         ` Mathias Dahl
2006-02-08  9:17                                           ` Juri Linkov
2006-02-08 15:27                                             ` Mathias Dahl
2006-02-09 17:29                                               ` Juri Linkov
2006-02-09 22:46                                                 ` Mathias Dahl
2006-02-10  1:29                                                   ` Juri Linkov
2006-02-10 10:14                                                     ` Mathias Dahl
2006-02-10 10:28                                                       ` Miles Bader
2006-02-10 13:45                                                       ` tumme testing Robert J. Chassell
2006-02-10 14:26                                                         ` Mattis
2006-02-10 18:18                                                           ` Robert J. Chassell
2006-02-11  0:17                                                             ` Mattis
2006-02-11 12:57                                                               ` Robert J. Chassell
2006-02-11 21:54                                                                 ` Mathias Dahl
2006-02-11  1:22                                                           ` Juri Linkov
2006-02-11  9:21                                                             ` Mathias Dahl
2006-02-12 17:45                                                               ` Juri Linkov
2006-02-12 21:21                                                                 ` Mathias Dahl
2006-02-12 23:41                                                                   ` Mathias Dahl
2006-02-13  0:24                                                                     ` Robert J. Chassell
2006-02-13 17:55                                                                       ` Juri Linkov
2006-02-13 18:41                                                                         ` Drew Adams
2006-02-14  6:18                                                                           ` Tomas Zerolo
2006-02-14 17:45                                                                             ` Juri Linkov
2006-02-13 20:21                                                                         ` Mathias Dahl
2006-02-10 16:47                                                         ` Mathias Dahl
2006-02-11 16:45                                                     ` thumbs.el and transparency Richard M. Stallman
2006-02-09 23:47                                                 ` Miles Bader
2006-02-10 10:12                                                   ` Mathias Dahl
2006-02-10 23:02                                                 ` Richard M. Stallman
2006-02-10 23:56                                                   ` Mathias Dahl
2006-02-11  1:21                                                     ` Juri Linkov
2006-02-11  9:30                                                       ` Mathias Dahl
2006-02-12 17:45                                                         ` Juri Linkov
2006-02-12 18:35                                                           ` Mathias Dahl
2006-02-12  4:30                                                     ` Richard M. Stallman
2006-02-12 14:38                                                       ` Mattis
2006-02-12 17:47                                                         ` Juri Linkov
2006-02-12 18:39                                                           ` Mathias Dahl
2006-02-13 17:57                                                             ` Juri Linkov
2006-02-06  2:06                               ` Richard M. Stallman
2006-02-06 21:19                                 ` Can someone verify my changes to tumme and dired? (was: thumbs.el and transparency) Mathias Dahl
2006-02-06 22:17                                   ` Can someone verify my changes to tumme and dired? Mathias Dahl
2006-02-06 23:33                                     ` David Kastrup
2006-02-07 12:58                                       ` Mathias Dahl
2006-01-27  4:12         ` thumbs.el and transparency Miles Bader
2006-01-27  4:50           ` Nick Roberts
  -- strict thread matches above, loose matches on Subject: below --
2006-01-29 13:57 Xavier Maillard
2006-01-29 20:14 ` Nick Roberts
2006-01-29 22:11   ` Mathias Dahl

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=m1F3FK6-0004QMC@rattlesnake.com \
    --to=bob@rattlesnake.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 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).