emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Takaaki ISHIKAWA <takaxp@ieee.org>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: How to control face for plain links
Date: Fri, 16 Dec 2011 12:09:55 +0900	[thread overview]
Message-ID: <DA2F3FFE-8235-4523-9FDD-9AA37684DB11@ieee.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

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.


Best regards,
Takaaki Ishikawa

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

             reply	other threads:[~2011-12-16  3:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16  3:09 Takaaki ISHIKAWA [this message]
2011-12-16 12:38 ` How to control face for plain links Bernt Hansen
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=DA2F3FFE-8235-4523-9FDD-9AA37684DB11@ieee.org \
    --to=takaxp@ieee.org \
    --cc=emacs-orgmode@gnu.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).