From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reiner Steib Subject: Bug: Toggle descriptive and literal links [7.4] Date: Thu, 04 Aug 2011 13:19:52 +0200 Message-ID: <20110804131952.4ewyd4j9q800wgw8@imap.uni-ulm.de> Reply-To: reiner.steib@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qovy2-0004go-6r for emacs-orgmode@gnu.org; Thu, 04 Aug 2011 07:19:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qovy1-0003D8-4x for emacs-orgmode@gnu.org; Thu, 04 Aug 2011 07:19:57 -0400 Received: from mail.uni-ulm.de ([134.60.1.11]:45085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qovy0-0003D2-PS for emacs-orgmode@gnu.org; Thu, 04 Aug 2011 07:19:57 -0400 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, in the "Org" menu, the are the following toggles: - - 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