emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Takaaki ISHIKAWA <takaxp@ieee.org>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: How to control face for plain links
Date: Fri, 16 Dec 2011 07:38:10 -0500	[thread overview]
Message-ID: <87mxashetp.fsf@norang.ca> (raw)
In-Reply-To: <DA2F3FFE-8235-4523-9FDD-9AA37684DB11@ieee.org> (Takaaki ISHIKAWA's message of "Fri, 16 Dec 2011 12:09:55 +0900")

Takaaki ISHIKAWA <takaxp@ieee.org> 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	other threads:[~2011-12-16 12:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16  3:09 How to control face for plain links Takaaki ISHIKAWA
2011-12-16 12:38 ` Bernt Hansen [this message]
2011-12-16 22:42   ` Takaaki ISHIKAWA
2011-12-16 22:44     ` Bernt Hansen
2011-12-17  0:14       ` Takaaki ISHIKAWA
2011-12-17  1:00         ` Bernt Hansen
2011-12-18  4:34           ` Takaaki ISHIKAWA

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=87mxashetp.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=takaxp@ieee.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.
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).