Hi Reiner,

Reiner Steib <reinersteib+gm...@imap.cc> 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

Reply via email to