[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: Toggle descriptive and literal links [7.4]
From: |
Reiner Steib |
Subject: |
[O] Bug: Toggle descriptive and literal links [7.4] |
Date: |
Thu, 04 Aug 2011 13:19:52 +0200 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.5) |
Hi,
in the "Org" menu, the are the following toggles:
- <menu-bar> <Org> <Hyperlinks> <Descriptive Links>
- <menu-bar> <Org> <Hyperlinks> <Literal Links>
There are two (related) issues wit this:
(a) There is no (interactive) command to toggle this setting.
Here is what I use:
#+BEGIN_SRC lisp
(defun org-descriptive-links ()
"Display Descriptive Links in `org-mode'."
(interactive)
(org-add-to-invisibility-spec '(org-link)) (org-restart-font-lock))
(defun org-literal-links ()
"Display Literal Links in `org-mode'."
(interactive)
(org-remove-from-invisibility-spec '(org-link)) (org-restart-font-lock))
#+END_SRC
I'd suggest to add such `defun's (or a toggling defun) and adjust
org-org-menu accordingly to use the defuns instead of the current
`progs'.
(b) The initial behaviour should be customizable.
Bye, Reiner
- [O] Bug: Toggle descriptive and literal links [7.4],
Reiner Steib <=