From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takaaki ISHIKAWA Subject: How to control face for plain links Date: Fri, 16 Dec 2011 12:09:55 +0900 Message-ID: Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/signed; boundary="Apple-Mail=_7A2E60B0-B153-4A99-8A76-0EAC52028A59"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbOBO-0001GB-KA for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 22:10:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbOBN-0007om-H0 for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 22:10:02 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:59021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbOBN-0007oX-Dl for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 22:10:01 -0500 Received: by iacb35 with SMTP id b35so2297420iac.0 for ; Thu, 15 Dec 2011 19:10:00 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Orgmode Mailing List --Apple-Mail=_7A2E60B0-B153-4A99-8A76-0EAC52028A59 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-2022-jp 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 --Apple-Mail=_7A2E60B0-B153-4A99-8A76-0EAC52028A59 Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJO6raDAAoJEFwinLr9JisSq7sH/iG/XC3lmrYgCUVKm98zlHfd 1uvU4Pq0FyT0f3yD6fS+i9bbNGzLHtnkosAHn0aTqhV4NcXvnvHEUScqnWfYbVKE N1UyG41FH9Ijn2a5saD3WqpRVCbm3xqFWPl0Luazj8ABTVrUd+gXPEXxy/Nt6IxG 1ephbGKGyemnsipOqeFhDbFdzAv/BhRVVabK70Z2VQzXQYyzRCdAfmgqopqvNn38 7Vkt6jZAZbFd26zMDibrDXKyI96ncwsRWvj8wGLwkEn3mf5UHlcvP33elnb0qP3C eclJfhrlYRgksQ7QpreepzKbWG4naW4zd5h7UPLlDCiuOW9VfPnXIUI9VM8uyo8= =VMqh -----END PGP SIGNATURE----- --Apple-Mail=_7A2E60B0-B153-4A99-8A76-0EAC52028A59--