emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to control face for plain links
@ 2011-12-16  3:09 Takaaki ISHIKAWA
  2011-12-16 12:38 ` Bernt Hansen
  0 siblings, 1 reply; 7+ messages in thread
From: Takaaki ISHIKAWA @ 2011-12-16  3:09 UTC (permalink / raw)
  To: Orgmode Mailing List

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-18  4:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16  3:09 How to control face for plain links Takaaki ISHIKAWA
2011-12-16 12:38 ` 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

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).