emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Bob Newell <bobnewell@bobnewell.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Error handling in org-make-link-string
Date: Sat, 14 Apr 2018 19:32:36 +0200	[thread overview]
Message-ID: <87vactn16z.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CADoYgq-DNs5QTEgoQm8YNWL_aneRDcq-9uv7tqXCQoOtnbtr7w@mail.gmail.com> (Bob Newell's message of "Sat, 14 Apr 2018 06:54:23 -1000")

Hello,

Bob Newell <bobnewell@bobnewell.net> writes:

> Aloha,
>
> Either of your suggested solutions would work, of course, and limit
> effects to org-xxx-copy-for-org-mode. I didn't go that way because I
> didn't want to have to continually modify the core product on my own
> :)
>
> The idea of
>
> (if (org-string-nw-p link-location
>
> etc. may be best because we can have a guaranteed nil on a bad link,
> rather than ignore-errors which (I think?) may have a different
> return. I didn't put an error message in my 'advice' workaround but it
> would be a good idea.

Done. Thank you.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2018-04-14 17:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-14  2:40 Error handling in org-make-link-string Bob Newell
2018-04-14 13:17 ` Nicolas Goaziou
2018-04-14 16:54   ` Bob Newell
2018-04-14 17:32     ` Nicolas Goaziou [this message]

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=87vactn16z.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=bobnewell@bobnewell.net \
    --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).