emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Dale Smith <dalepsmith@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Error with org-store-link in gnus Article buffer
Date: Mon, 25 Sep 2006 09:12:06 +0200	[thread overview]
Message-ID: <151eb7eba5439c1bdceee6def3962d1e@science.uva.nl> (raw)
In-Reply-To: <loom.20060922T211528-358@post.gmane.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

      reply	other threads:[~2006-09-25  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22 20:33 Error with org-store-link in gnus Article buffer Dale Smith
2006-09-25  7:12 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=151eb7eba5439c1bdceee6def3962d1e@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=dalepsmith@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).