[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Toggle descriptive and literal links [7.4]
From: |
Bastien |
Subject: |
Re: [O] Bug: Toggle descriptive and literal links [7.4] |
Date: |
Wed, 17 Aug 2011 15:03:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Reiner,
Reiner Steib <address@hidden> writes:
> (a) There is no (interactive) command to toggle this setting.
There is now `org-toggle-link-display'.
> #+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
Thanks for the example code.
> 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'.
Done.
> (b) The initial behaviour should be customizable.
See the new option: `org-link-display-descriptive' which defaults to
`t'.
Thanks for this idea!
--
Bastien