unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: Eike Kettner <eike@eknet.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Change appearance of selected image
Date: Thu, 03 Mar 2016 18:34:25 +0000	[thread overview]
Message-ID: <87vb53cswe.fsf@gnus.org> (raw)
In-Reply-To: <mailman.6506.1456874927.843.help-gnu-emacs@gnu.org> (Eike Kettner's message of "Wed, 02 Mar 2016 00:28:26 +0100")

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	other threads:[~2016-03-03 18:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6506.1456874927.843.help-gnu-emacs@gnu.org>
2016-03-03 18:34 ` Lars Magne Ingebrigtsen [this message]
2016-03-03 21:16   ` Change appearance of selected image Eike
2016-03-01 23:28 Eike Kettner
2016-03-03 12:18 ` Michael Heerdegen
2016-03-03 18:23   ` Eike
2016-03-03 18:55     ` Michael Heerdegen
2016-03-03 20:58       ` Eike
2016-03-03 21:12         ` Michael Heerdegen
2016-03-03 23:12           ` Eike

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=87vb53cswe.fsf@gnus.org \
    --to=lmi@gnus.org \
    --cc=eike@eknet.org \
    --cc=help-gnu-emacs@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.
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).