From: Bastien <bzg@altern.org>
To: reiner.steib@gmx.de
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Toggle descriptive and literal links [7.4]
Date: Wed, 17 Aug 2011 15:03:06 +0200 [thread overview]
Message-ID: <874o1gfawl.fsf@gnu.org> (raw)
In-Reply-To: <20110804131952.4ewyd4j9q800wgw8@imap.uni-ulm.de> (Reiner Steib's message of "Thu, 04 Aug 2011 13:19:52 +0200")
Hi Reiner,
Reiner Steib <reinersteib+gmane@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
next prev parent reply other threads:[~2011-08-17 13:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-04 11:19 Bug: Toggle descriptive and literal links [7.4] Reiner Steib
2011-08-17 13:03 ` Bastien [this message]
2011-08-22 18:53 ` Thomas S. Dye
2011-08-23 14:57 ` Bastien
2011-08-23 17:12 ` Thomas S. Dye
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874o1gfawl.fsf@gnu.org \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=reiner.steib@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).