help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change appearance of selected image


From: Lars Magne Ingebrigtsen
Subject: Re: Change appearance of selected image
Date: Thu, 03 Mar 2016 18:34:25 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eike Kettner <eike@eknet.org> writes:

> I'm getting more and more used to view photos in Emacs. I now have a
> buffer with thumbnails and when I move in that buffer the image is
> selected as expected. However, the selected image is hardly visible as
> being selected. A thin dark rectangle is drawn around it. How can I
> change that?

Looking at the code, there seems to be no way to change the width of the
box that's drawn around images (when the cursor is on them).  You can,
however, change the colour.  I use a red cursor myself:

(setq default-frame-alist
      (nconc (list '(mouse-color . "red")
                    '(cursor-type . box)
                    '(cursor-color . "red"))
             default-frame-alist))

> And how can I make Emacs draw/display another rectangle around an
> image, so it may appear as “marked”?

Hm...  I don't think Emacs has any built-in functionality for doing
that.  I think you'd have to create a new image that has the border you
want, and then composite the thumbnail onto it.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]