emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* sha1 errors with feeds, needed to load sha1.el
@ 2009-04-14 14:16 Greg Lucas
  2009-04-14 17:00 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Lucas @ 2009-04-14 14:16 UTC (permalink / raw)
  To: emacs-orgmode

Sharing this in case anyone else needs it. I'm running Emacs 22.3.1 on
Windows with org-mode 6.25e and was unable to get org-feed to work
without some digging.

First I got:

   Symbol's function definition is void: sha1-string

I found a relevant post on the mailing list and tracked down the
latest org-compat.el from git, but then I got:

   Symbol's function definition is void: sha1-region

I poked around and found that there was a sha1.el in my
emacs/gnus/lisp that defined these functions. So I added an
eval-after-load hook now things seem to work fine:

(eval-after-load "org"
  '(progn
  (load "sha1")   ;; avoid issues with org-feed
  ;; other org customization
  ))


I guess this could be fixed by somewhere requiring sha1 (e.g. in
org-feed.el or org-compat.el)? Also want to point out that org-feed.el
is not actually included in the 6.25e zip distribution (even though
the autoloads are there for the feed functions), so I had to grab that
from git to get started.

--

Greg

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sha1 errors with feeds, needed to load sha1.el
  2009-04-14 14:16 sha1 errors with feeds, needed to load sha1.el Greg Lucas
@ 2009-04-14 17:00 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-04-14 17:00 UTC (permalink / raw)
  To: Greg Lucas; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1523 bytes --]

Hi Greg,

thank you for following up and finding the true cause of this problem.

I have now modified org-feed.el so that it will work correctly
on Emacs 22, even without the code Greg shows above.

- Carsten

On Apr 14, 2009, at 4:16 PM, Greg Lucas wrote:

> Sharing this in case anyone else needs it. I'm running Emacs 22.3.1 on
> Windows with org-mode 6.25e and was unable to get org-feed to work
> without some digging.
>
> First I got:
>
>    Symbol's function definition is void: sha1-string
>
> I found a relevant post on the mailing list and tracked down the
> latest org-compat.el from git, but then I got:
>
>    Symbol's function definition is void: sha1-region
>
> I poked around and found that there was a sha1.el in my
> emacs/gnus/lisp that defined these functions. So I added an
> eval-after-load hook now things seem to work fine:
>
> (eval-after-load "org"
>   '(progn
>   (load "sha1")   ;; avoid issues with org-feed
>  ;; other org customization
>   ))
>
>
> I guess this could be fixed by somewhere requiring sha1 (e.g. in
> org-feed.el or org-compat.el)? Also want to point out that org-feed.el
> is not actually included in the 6.25e zip distribution (even though
> the autoloads are there for the feed functions), so I had to grab that
> from git to get started.
>
> --
>
> Greg
>
>
> _______________________________________________
> 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


[-- Attachment #1.2: Type: text/html, Size: 1957 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-14 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-14 14:16 sha1 errors with feeds, needed to load sha1.el Greg Lucas
2009-04-14 17:00 ` Carsten Dominik

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).