emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Unknown <unknown@unknown.invalid>
From: ben@desktop
To: emacs-orgmode@gnu.org
Subject: Bug: org-open-at-point bug for radio targets [8.2 (8.2-6-gd745cd-elpa @ /home/ben/.emacs.d/elpa/org-20130930/)]
Date: Mon, 30 Sep 2013 23:23:43 +0100	[thread overview]
Message-ID: <MTAwMDAxOS5hbGVibGFuYw.1380579902@quikprotect> (raw)


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

When I click on a radio target link I get the following error:

and: Wrong type argument: stringp, nil

I managed to fix the problem by changing this:

(and (string-match "^id:" link)
     (or (featurep 'org-id) (require 'org-id))
     (progn 
       (funcall (nth 1 (assoc "id" org-link-protocols))
                (substring path 3))
       t))

to this:

(and link
     (string-match "^id:" link)
     (or (featurep 'org-id) (require 'org-id))
     (progn
       (funcall (nth 1 (assoc "id" org-link-protocols))
                (substring path 3))
       t))

towards the end of the org-open-at-point function.
       
Emacs  : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2013-08-22 on louvi, modified by Debian
Package: Org-mode version 8.2 (8.2-6-gd745cd-elpa @ /home/ben/.emacs.d/elpa/org-20130930/)

                 reply	other threads:[~2013-09-30 23:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=MTAwMDAxOS5hbGVibGFuYw.1380579902@quikprotect \
    --to=unknown@unknown.invalid \
    --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).