From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: image active link face Date: Thu, 22 Sep 2011 10:11:21 +0200 Message-ID: <80ipolgfo6.fsf@somewhere.org> References: <87ty86atwr.fsf@bye.fritz.box> <87y5xh36a3.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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