From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Jacob Gerlach <jacobgerlach@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: [Bug?] Link fontification in captions
Date: Thu, 30 Apr 2015 00:23:31 +0200 [thread overview]
Message-ID: <874mnyh8v0.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAA6UvuHzbZ9W+_yfxWB95kesk3DerjYEHpCZ29nBinB6r4a=Kg@mail.gmail.com> (Jacob Gerlach's message of "Wed, 29 Apr 2015 18:35:52 +0000")
Hello,
Jacob Gerlach <jacobgerlach@gmail.com> writes:
> A link in a caption:
>
> #+CAPTION: [[link]]
>
> Initially receives org-link face when I type it.
I cannot reproduce this.
> After some action (moving to the next line or saving the buffer), it
> is redrawn with org-block face.
I can't remember why it is `org-block' instead of `org-meta-line', like
#+caption.
> In neither case does [[ and ]] receive the invisibility attribute typically
> given to links.
This is done on purpose, actually.
> In both cases, it receives the typical overlay when moused-over. It also
> exports correctly, which is what I really care about.
>
> Could links in captions be given the same treatment as in the rest of the
> buffer?
This is quite tricky. Meta line face overrides link face. Underlining
disappears. If link becomes invisible you cannot distinguish it anymore
from regular text.
As a safety measure, links are displayed in full.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2015-04-29 22:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 18:35 [Bug?] Link fontification in captions Jacob Gerlach
2015-04-29 22:23 ` Nicolas Goaziou [this message]
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mnyh8v0.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=jacobgerlach@gmail.com \
/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.
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).