From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Some bugs in org-5.05 docs Date: Thu, 23 Aug 2007 16:16:55 +0200 Message-ID: <87bqcy2v54.fsf@baldur.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IODUy-0005fx-3j for emacs-orgmode@gnu.org; Thu, 23 Aug 2007 10:17:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IODUx-0005fh-KW for emacs-orgmode@gnu.org; Thu, 23 Aug 2007 10:17:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IODUx-0005fe-Ik for emacs-orgmode@gnu.org; Thu, 23 Aug 2007 10:17:23 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IODUx-00083N-8k for emacs-orgmode@gnu.org; Thu, 23 Aug 2007 10:17:23 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IODUp-0004PV-M2 for emacs-orgmode@gnu.org; Thu, 23 Aug 2007 16:17:15 +0200 Received: from dslb-084-063-042-207.pools.arcor-ip.net ([84.63.42.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Aug 2007 16:17:15 +0200 Received: from tassilo by dslb-084-063-042-207.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Aug 2007 16:17:15 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Carsten, ,----[ C-h f org-insert-link-global RET ] | org-insert-link-global is an interactive compiled Lisp function in `org.el'. | It is bound to C-c o i. | (org-insert-link-global) | | Insert a link like Org-mode does. | This command can be called in any mode to follow a link that has | Org-mode syntax. `---- Clearly the second sentence is wrong. It creates links and doesn't follow them. ,----[ (info "(org)Using links outside Org-mode") ] | (define-key global-map 'org-insert-link-global "\\C-c L") | (define-key global-map 'org-open-at-point-global "\\C-c o") `---- That's totally broken. :-) `define-key' has this signature: (define-key KEYMAP KEY DEF) So KEY has to be before DEF. And there's one \ too much in the KEY definition. Maybe using the (kbd "C-c L") form would be the best, as it is the easiest for users. And maybe `global-set-key' is better, too... (global-set-key (kbd "C-c L") 'org-insert-link-global) (global-set-key (kbd "C-c o") 'org-open-at-point-global) ,----[ (info "(org)Radio targets") ] | You can configure Org-mode to link any occurrences of certain target | names in normal text. `---- Hey, that's a nice feature. I just tried it out and it just worked, so it seems that not further customizations are required. So I'd rephrase the sentence above a bit to not confuse users. (Oh, it can be configured, but where is explained how?!?) Thanks for your brilliant work! Tassilo -- Using his trademark roundhouse kick, Chuck Norris once made a fieldgoal in RJ Stadium in Tampa Bay from the 50 yard line of Qualcomm stadium in San Diego.