From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dale Smith Subject: Error with org-store-link in gnus Article buffer Date: Fri, 22 Sep 2006 20:33:53 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQrog-000115-IL for emacs-orgmode@gnu.org; Fri, 22 Sep 2006 16:40:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQroe-0000ug-JN for emacs-orgmode@gnu.org; Fri, 22 Sep 2006 16:40:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQroe-0000uI-D3 for emacs-orgmode@gnu.org; Fri, 22 Sep 2006 16:40:08 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GQrsS-0000Pj-J3 for emacs-orgmode@gnu.org; Fri, 22 Sep 2006 16:44:04 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GQroY-000114-DP for emacs-orgmode@gnu.org; Fri, 22 Sep 2006 22:40:02 +0200 Received: from reverse.162.229.178.66.static.ldmi.com ([reverse.162.229.178.66.static.ldmi.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Sep 2006 22:40:02 +0200 Received: from dalepsmith by reverse.162.229.178.66.static.ldmi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Sep 2006 22:40:02 +0200 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: emacs-orgmode@gnu.org 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