emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Error with org-store-link in gnus Article buffer


From: Carsten Dominik
Subject: Re: [Orgmode] Error with org-store-link in gnus Article buffer
Date: Mon, 25 Sep 2006 09:12:06 +0200

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
address@hidden
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]