emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Toggle descriptive and literal links [7.4]
@ 2011-08-04 11:19 Reiner Steib
  2011-08-17 13:03 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2011-08-04 11:19 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2011-08-23 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04 11:19 Bug: Toggle descriptive and literal links [7.4] Reiner Steib
2011-08-17 13:03 ` Bastien
2011-08-22 18:53   ` Thomas S. Dye
2011-08-23 14:57     ` Bastien
2011-08-23 17:12       ` Thomas S. Dye

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