emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Some bugs in org-5.05 docs
Date: Thu, 23 Aug 2007 16:16:55 +0200	[thread overview]
Message-ID: <87bqcy2v54.fsf@baldur.tsdh.de> (raw)

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.

             reply	other threads:[~2007-08-23 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23 14:16 Tassilo Horn [this message]
2007-08-23 15:47 ` Some bugs in org-5.05 docs Carsten Dominik
2007-08-23 16:00   ` Carsten Dominik

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=87bqcy2v54.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    /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).