* Error with org-store-link in gnus Article buffer
@ 2006-09-22 20:33 Dale Smith
2006-09-25 7:12 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Dale Smith @ 2006-09-22 20:33 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error with org-store-link in gnus Article buffer
2006-09-22 20:33 Error with org-store-link in gnus Article buffer Dale Smith
@ 2006-09-25 7:12 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2006-09-25 7:12 UTC (permalink / raw)
To: Dale Smith; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-25 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-22 20:33 Error with org-store-link in gnus Article buffer Dale Smith
2006-09-25 7:12 ` 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).