From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: sha1 errors with feeds, needed to load sha1.el Date: Tue, 14 Apr 2009 19:00:06 +0200 Message-ID: References: <98b24d270904140716r52af0cc7q41fc1eb5fce9cd17@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============0900115666==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ltlzg-0003Wh-EB for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 13:00:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ltlzc-0003Vy-Bk for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 13:00:20 -0400 Received: from [199.232.76.173] (port=41334 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltlzc-0003Vv-8y for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 13:00:16 -0400 Received: from rv-out-0708.google.com ([209.85.198.250]:35012) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ltlzb-0003lR-DX for emacs-orgmode@gnu.org; Tue, 14 Apr 2009 13:00:15 -0400 Received: by rv-out-0708.google.com with SMTP id f25so3093834rvb.6 for ; Tue, 14 Apr 2009 10:00:14 -0700 (PDT) In-Reply-To: <98b24d270904140716r52af0cc7q41fc1eb5fce9cd17@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Greg Lucas Cc: emacs-orgmode@gnu.org --===============0900115666== Content-Type: multipart/alternative; boundary=Apple-Mail-2--571798233 --Apple-Mail-2--571798233 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 --Apple-Mail-2--571798233 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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
<= br>
= --Apple-Mail-2--571798233-- --===============0900115666== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0900115666==--