emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: John Rakestraw <lists@johnrakestraw.com>
Cc: org-mode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: org-feed broken?
Date: Wed, 13 May 2009 18:06:02 +0200	[thread overview]
Message-ID: <907D6462-C9A3-4317-AD7A-99543EE4EC3C@gmail.com> (raw)
In-Reply-To: <20090513111722.4f7b4f24@johnrakestraw.com>

It seems that in Emacs 22, ignore-errors is defined in cl-macs.el, in  
Emacs 23 it has moved to subr.el.

Try adding

(eval-when-compile
   (require 'cl)
   (require 'cl-macs))

early on in org-feed.el, does that help?

- Carsten

On May 13, 2009, at 5:17 PM, John Rakestraw wrote:

> Hi --
>
> Emacs 22.3.1
> Org-mode latest fetch from git repository
>
> Several weeks ago I tested org-feed.el. I suppose I could be losing
> my mind, but I'm quite sure I had it working. I'm only now getting
> around to integrating the use of reQall into my regular practice, and
> I've discovered that the attempt to update the feed yields the error
> message "invalid function: ignore-errors".
>
> C-h v indeed indicates that "ignore-errors" is not defined.
>
> ignore-errors is called three times in org-feed.el (lines 317, 558,  
> and
> 562). Each of the lines is identical:
>
>  (ignore-errors (kill-buffer feed-buffer))
>
> If I comment out these lines, then the rss feed from reQall is
> downloaded successfully.
>
> I don't know lisp (or any programming language). Can someone give me  
> an
> idea whether I'm running any risk of data loss by running org-feed.el
> without these calls?
>
> And am I correct in assuming that ignore-errors is a function
> introduced in emacs 23? If so, can I get the definition and install it
> in my .emacs configuration as a holdover until I upgrade to emacs 23?
>
> Thanks.
>
> -- 
> John Rakestraw
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2009-05-13 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13 15:17 org-feed broken? John Rakestraw
2009-05-13 15:51 ` Magnus Henoch
2009-05-13 16:06 ` Carsten Dominik [this message]
2009-05-13 17:49   ` John Rakestraw

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=907D6462-C9A3-4317-AD7A-99543EE4EC3C@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists@johnrakestraw.com \
    /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).