unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eike <eike@eknet.org>
To: Lars Magne Ingebrigtsen <lmi@gnus.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Change appearance of selected image
Date: Thu, 03 Mar 2016 22:16:31 +0100	[thread overview]
Message-ID: <87si07l0sw.fsf@ithaka.home> (raw)
In-Reply-To: <87vb53cswe.fsf@gnus.org>


Lars Magne Ingebrigtsen <lmi@gnus.org> writes:

> 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))

Thanks!! That is really helpful. And its good enough for me to recognize
selected images. The only side effect is that the normal cursor is red,
too :) but, that's ok for me.

>> 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.

Yes, I was thinking about that, too. But I was hoping that I just missed
some vars to set :)

Thank you! and kind regards
Eike


-- 
gpg: AD7AC35E
finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E



  reply	other threads:[~2016-03-03 21:16 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 ` Change appearance of selected image Lars Magne Ingebrigtsen
2016-03-03 21:16   ` Eike [this message]
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=87si07l0sw.fsf@ithaka.home \
    --to=eike@eknet.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lmi@gnus.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).