* image active link face
@ 2011-09-21 13:48 henry atting
2011-09-21 22:00 ` Eric S Fraga
0 siblings, 1 reply; 4+ messages in thread
From: henry atting @ 2011-09-21 13:48 UTC (permalink / raw)
To: emacs-orgmode
When I move the cursor over an image in an org buffer it is
`highlighted` means it gets a red frame and a light blue bar at the
left side.
This surely can be customized but I cannot find the appropriate face
name for it. Any hints?
Cheers
henry
--
http://literaturlatenight.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: image active link face
2011-09-21 13:48 image active link face henry atting
@ 2011-09-21 22:00 ` Eric S Fraga
2011-09-22 8:11 ` Sebastien Vauban
2011-09-22 9:00 ` henry atting
0 siblings, 2 replies; 4+ messages in thread
From: Eric S Fraga @ 2011-09-21 22:00 UTC (permalink / raw)
To: henry atting; +Cc: emacs-orgmode
henry atting <nsmp_02@online.de> writes:
> When I move the cursor over an image in an org buffer it is
> `highlighted` means it gets a red frame and a light blue bar at the
> left side.
> This surely can be customized but I cannot find the appropriate face
> name for it. Any hints?
Move the cursor to the image and type "C-u C-x =" which will give you
information about the current point. This information should include
the face(s) present/active at that point. You can then click on the
face to see it and subsequently ask to customise it.
I don't display images in my Emacs so cannot verify that this will work
unfortunately (I don't even know how to get Emacs to display images, for
that matter...).
HTH,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.314.g12f0)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: image active link face
2011-09-21 22:00 ` Eric S Fraga
@ 2011-09-22 8:11 ` Sebastien Vauban
2011-09-22 9:00 ` henry atting
1 sibling, 0 replies; 4+ messages in thread
From: Sebastien Vauban @ 2011-09-22 8:11 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hi Eric S Fraga,
Eric S Fraga wrote:
> I don't display images in my Emacs so cannot verify that this will work
> unfortunately (I don't even know how to get Emacs to display images, for
> that matter...).
For the sake of completeness about this last point, this is some code I have
in my staging area (of my .emacs file):
#+begin_src emacs-lisp
(require 'iimage)
;; This allows for the viewing of images in-line in Org mode
;; documents.
(setq iimage-mode-image-search-path (expand-file-name "~/"))
;; Match org file: links
(add-to-list 'iimage-mode-image-regex-alist
(cons (concat "\\[\\[file:\\(~?"
iimage-mode-image-filename-regex
"\\)\\]") 1))
(defun org-toggle-iimage-in-org ()
(interactive)
(let ((turning-on (not iimage-mode)))
(set-face-underline-p 'org-link (not turning-on))
(iimage-mode (or turning-on 0)))))
#+end_src
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: image active link face
2011-09-21 22:00 ` Eric S Fraga
2011-09-22 8:11 ` Sebastien Vauban
@ 2011-09-22 9:00 ` henry atting
1 sibling, 0 replies; 4+ messages in thread
From: henry atting @ 2011-09-22 9:00 UTC (permalink / raw)
To: henry atting; +Cc: emacs-orgmode
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> henry atting <nsmp_02@online.de> writes:
>
>> When I move the cursor over an image in an org buffer it is
>> `highlighted` means it gets a red frame and a light blue bar at the
>> left side.
>> This surely can be customized but I cannot find the appropriate face
>> name for it. Any hints?
>
> Move the cursor to the image and type "C-u C-x =" which will give you
> information about the current point. This information should include
> the face(s) present/active at that point. You can then click on the
> face to see it and subsequently ask to customise it.
>
> I don't display images in my Emacs so cannot verify that this will work
> unfortunately (I don't even know how to get Emacs to display images, for
> that matter...).
>
> HTH,
> eric
Yes, thanks, it helps.
The frame around the image can be customized via the cursor face.
To get rid of the bar on the left side apperently is not possible
unless you are willing to forgo using paren match highlighting. It
comes from the underlying link and indicates the matching leftmost
bracket.
henry
--
http://literaturlatenight.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-22 8:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21 13:48 image active link face henry atting
2011-09-21 22:00 ` Eric S Fraga
2011-09-22 8:11 ` Sebastien Vauban
2011-09-22 9:00 ` henry atting
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).