emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to control face for plain links


From: Bernt Hansen
Subject: Re: [O] How to control face for plain links
Date: Fri, 16 Dec 2011 07:38:10 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Takaaki ISHIKAWA <address@hidden> writes:

> Dear all,
>
> Hi.
>
> Does anyone know the best way to disable face for plain links?
>
> In Japanese sentences, I handle a link without a space, e.g.
>
> [ja] 公式ページは、http://orgmode.org/にあります。
> [en] http://orgmode.org/ is the official website.
>
> When the `org-activate-plain-links' is active,
> the overlay with underline will be applied to the end of line.
> An org-descriptive-links style (e.g. [[http://a][link]]) has 
> the same issue when `org-activate-plain-links' is active.
> This is probably not comfortable for many Japanese users.
>
> I therefore comment out a line in org.el as follows:
>
> org-set-font-lock-defaults, org.el, Line:5773
> ---------------------------------------------------
>          (if (memq 'angle lk) '(org-activate-angle-links (0 'org-link t)))
> ;        (if (memq 'plain lk) '(org-activate-plain-links))
>          (if (memq 'bracket lk) '(org-activate-bracket-links (0 'org-link t)))
>
> Any alternative solutions?
>
> I think a toggle option like `org-toggle-link-display' is needed.

Hi,

Can't you just customize the face to remove the underline?  C-u C-x = on
a character of the link should show the face used and allow you to
customize it to remove the underline.

Regards,
Bernt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]