From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Error with org-store-link in gnus Article buffer Date: Mon, 25 Sep 2006 09:12:06 +0200 Message-ID: <151eb7eba5439c1bdceee6def3962d1e@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRluq-0000bg-He for emacs-orgmode@gnu.org; Mon, 25 Sep 2006 04:34:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRluo-0000aT-LN for emacs-orgmode@gnu.org; Mon, 25 Sep 2006 04:34:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRluo-0000aM-EK for emacs-orgmode@gnu.org; Mon, 25 Sep 2006 04:34:14 -0400 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRlzB-00016r-2l for emacs-orgmode@gnu.org; Mon, 25 Sep 2006 04:38:45 -0400 In-Reply-To: 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: Dale Smith Cc: emacs-orgmode@gnu.org Has anyone else seen this problem? I cannot see how this can happen. When in an article buffer in gnus, org-mode first creates the sumary with (gnus-article-show-summary). This function is defined in gnus-art.el, and gnus-art.el also contains (require 'gnus-sum). So I cannot see how this bachtrace can exist, unless there is an installation problem with gnus. Dale, maybe you can make a step-by-step example, starting from a fresh emacs, listing the exact keys needed to produce this bug? - Carsten On Sep 22, 2006, at 22:33, Dale Smith wrote: > I'm using org-mode 1.48 and a locally installed (in my $HOME) gnus > 5.10.6 and > emacs 21.3.1 (whatever is on a FC3 box). When I C-c l in an *Article* > buffer, > I get this backtrace: > > Debugger entered--Lisp error: (invalid-function (macro . #[(&optional > number) > "xxxxxxxxxx" [number gnus-data-header gnus-data-find > (gnus-summary-article-number)] > ("/home/users/dales/src/gnus-5.10.6/lisp/gnus-sum.elc" . 106501)])) > gnus-summary-article-header(3551) > org-store-link(nil) > call-interactively(org-store-link) > > (There was something at the xxxxxxxx that prevented me from pasting > here in > gmane) > > Looks like some kind of macro being called as a function problem? I > don't know > much about emacs macros, but I'm thinking there might be some > interaction > between the system gnus and the gnus I locally installed. > > Anyway, I figured org needed to know the source of those macros, so I > added a > (require 'gnus-sum) to the eval-when-compile expression. It seems to > work. > > Oh, and the version number was wrong too. Here is a diff: > > --- org.el~ 2006-09-08 09:05:19.000000000 -0400 > +++ org.el 2006-09-22 16:27:50.207456186 -0400 > @@ -111,7 +111,8 @@ > > (eval-when-compile > (require 'cl) > - (require 'calendar)) > + (require 'calendar) > + (require 'gnus-sum)) > ;; For XEmacs, noutline is not yet provided by outline.el, so arrange > for > ;; the file noutline.el being loaded. > (if (featurep 'xemacs) (condition-case nil (require 'noutline))) > @@ -123,7 +124,7 @@ > > ;;; Customization variables > > -(defvar org-version "4.47" > +(defvar org-version "4.48" > "The version number of the file org.el.") > (defun org-version () > (interactive) > > -Dale > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477