all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* storing link doesn't work from gnus
@ 2006-10-12 12:24 Alberto Berti
  2006-10-12 16:28 ` Giovanni Ridolfi
  2006-10-13  5:53 ` Carsten Dominik
  0 siblings, 2 replies; 11+ messages in thread
From: Alberto Berti @ 2006-10-12 12:24 UTC (permalink / raw)
  To: emacs-orgmode


Hi all, 

i'm using "emacs-snapshot" debian emacs 22 package and i'm having
troubles trying to use function "org-store-link" on a gnus message. I
tested it both on a nntp group and an imap group, the answer is always
the same:
"org-store-link: Invalid function:gnus-summary-article-header"

I'not (yet?) an emacs expert but trying to find out where the problem can
be i have loaded the package with the sources (emacs-snapshot-el) and
i've found that it's there, defined as:

(defmacro gnus-summary-article-header (&optional number)
  "Return the header of article NUMBER."
  `(gnus-data-header (gnus-data-find
                      ,(or number '(gnus-summary-article-number)))))


I don't know which version of org-mode is packaged with emacs-snapshot
but the package has the date 20061009 and gnus states to be v 5.11

any hint?

bye

alberto

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from gnus
  2006-10-12 12:24 storing link doesn't work from gnus Alberto Berti
@ 2006-10-12 16:28 ` Giovanni Ridolfi
  2006-10-13  5:53 ` Carsten Dominik
  1 sibling, 0 replies; 11+ messages in thread
From: Giovanni Ridolfi @ 2006-10-12 16:28 UTC (permalink / raw)
  To: emacs-orgmode

On 2006-10-12, Alberto Berti wrote:

> I don't know which version of org-mode is packaged with emacs-snapshot
> but the package has the date 20061009 and gnus states to be v 5.11
>
> any hint?

Could you please post both the version of Emacs (C-h v emacs-version <RET>) 
and Org-mode (C-h v org-version <RET>) ?

Giovanni

P.S.
I hope to answer within the thread :-/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from Gnus
@ 2006-10-12 16:28 Giovanni Ridolfi
  2006-11-25 22:08 ` Bernard Adrian
  0 siblings, 1 reply; 11+ messages in thread
From: Giovanni Ridolfi @ 2006-10-12 16:28 UTC (permalink / raw)
  To: emacs-orgmode

Hi, All, hi, Alberto, 

(sorry for messing up the thread :-(

I suspect that you may have an older version of Org-mode,
[unfortunately I haven't my GNU/Linux Debian box in hand]

could you please post

a) the version information of Emacs (C-h v emacs-version <RET>) 
and
b) Org-mode version (C-h v org-version <RET>) ?

TIA,

Giovanni
-- 
Giovanni Ridolfi, Chemist

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from gnus
  2006-10-12 12:24 storing link doesn't work from gnus Alberto Berti
  2006-10-12 16:28 ` Giovanni Ridolfi
@ 2006-10-13  5:53 ` Carsten Dominik
  1 sibling, 0 replies; 11+ messages in thread
From: Carsten Dominik @ 2006-10-13  5:53 UTC (permalink / raw)
  To: Alberto Berti; +Cc: emacs-orgmode

This is the second time this bug has been reported.  Even though
I still have no idea how this can happen, I am putting a fix
into the next version.

- Carsten

On Oct 12, 2006, at 14:24, Alberto Berti wrote:

>
> Hi all,
>
> i'm using "emacs-snapshot" debian emacs 22 package and i'm having
> troubles trying to use function "org-store-link" on a gnus message. I
> tested it both on a nntp group and an imap group, the answer is always
> the same:
> "org-store-link: Invalid function:gnus-summary-article-header"
>
> I'not (yet?) an emacs expert but trying to find out where the problem 
> can
> be i have loaded the package with the sources (emacs-snapshot-el) and
> i've found that it's there, defined as:
>
> (defmacro gnus-summary-article-header (&optional number)
>   "Return the header of article NUMBER."
>   `(gnus-data-header (gnus-data-find
>                       ,(or number '(gnus-summary-article-number)))))
>
>
> I don't know which version of org-mode is packaged with emacs-snapshot
> but the package has the date 20061009 and gnus states to be v 5.11
>
> any hint?
>
> bye
>
> alberto
>
>
>
> _______________________________________________
> 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] 11+ messages in thread

* Re: storing link doesn't work from Gnus
  2006-10-12 16:28 storing link doesn't work from Gnus Giovanni Ridolfi
@ 2006-11-25 22:08 ` Bernard Adrian
  2006-11-26 21:58   ` Bernard Adrian
  0 siblings, 1 reply; 11+ messages in thread
From: Bernard Adrian @ 2006-11-25 22:08 UTC (permalink / raw)
  To: emacs-orgmode

Giovanni Ridolfi <gio.rido@tiscali.it> a écrit : 

> I suspect that you may have an older version of Org-mode,
> [unfortunately I haven't my GNU/Linux Debian box in hand]
>
> could you please post
>
> a) the version information of Emacs (C-h v emacs-version <RET>) 
> and
> b) Org-mode version (C-h v org-version <RET>) ?

Hi,

Please, accept i come in your exchange to tell :

I have exactly the same problem. My version of Org-mode was 4.43.
I replaced it by 4.56 and the bug is still present.

I guess my emacs-version or my gnus-version is responsible :

Gnus v5.11
Emacs 22.0.51.1 (Emacs-multi-tty).

Hoping this may help to understand from where can come this bug...
-- 
Bernard Adrian PGP 031A938D 
http://www.bernadrian.net

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from Gnus
  2006-11-25 22:08 ` Bernard Adrian
@ 2006-11-26 21:58   ` Bernard Adrian
  2006-11-26 22:36     ` Maurice Boucher
  0 siblings, 1 reply; 11+ messages in thread
From: Bernard Adrian @ 2006-11-26 21:58 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]

Bernard Adrian <bernadrian@free.fr> a écrit : 

> I guess my emacs-version or my gnus-version is responsible :
>
> Gnus v5.11
> Emacs 22.0.51.1 (Emacs-multi-tty).

Same problem with emacs-snapshot (Emacs 22.0.91.1)...

For some reasons i have to keep emacs21 on my system too. Maybe this
can disturb...
-- 
Bernard Adrian PGP 031A938D 


[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from Gnus
  2006-11-26 21:58   ` Bernard Adrian
@ 2006-11-26 22:36     ` Maurice Boucher
  2006-11-27  9:51       ` Carsten Dominik
  0 siblings, 1 reply; 11+ messages in thread
From: Maurice Boucher @ 2006-11-26 22:36 UTC (permalink / raw)
  To: emacs-orgmode

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 878 bytes --]

Hello,

Bernard Adrian <bernadrian@free.fr> disait le 11/26/06 que :

> Bernard Adrian <bernadrian@free.fr> a écrit : 
>
>> I guess my emacs-version or my gnus-version is responsible :
>>
>> Gnus v5.11
>> Emacs 22.0.51.1 (Emacs-multi-tty).
>
> Same problem with emacs-snapshot (Emacs 22.0.91.1)...
>

I have the same problem.

Message of error : 

org-store-link: Invalid function: (macro . #[(&optional number) "ÁÂÂ\b†\a\0ÃDD‡" [number gnus-data-header gnus-data-find (gnus-summary-article-number)] 3 ("/usr/share/emacs21/site-lisp/gnus/gnus-sum.elc" . 115006)])

emacs version : 

GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2006-10-25 on raven, modified by Debian

org-mode version : 4.56 (same error with 4.53 before)

Thanks for your good job. I appreciate this emacs mode very usefull with
my little head.

Maurice

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from Gnus
  2006-11-27  9:51       ` Carsten Dominik
@ 2006-11-27 11:55         ` Maurice Boucher
  2006-11-27 12:09           ` Carsten Dominik
  2006-11-27 20:24         ` Bernard Adrian
  1 sibling, 1 reply; 11+ messages in thread
From: Maurice Boucher @ 2006-11-27 11:55 UTC (permalink / raw)
  To: emacs-orgmode

Hello Carsten,

Carsten Dominik <dominik@science.uva.nl> disait le 11/27/06 que :

> Could someone make a backtrace of this error, with loading uncompiled versions
> of gnus-sum.el and org.el?  The org-mode manual describes how to do this,
> basically
>
>
> emacs -l /path/to/org.el -l /path/to/gnus-sum.el

I hope I can clearly explain my conclusions : 

If I put org.el in my local emacs site, all is fine.
If I compile org.el with my emacs and put org.elc in my emacs site, all
is fine too.

If I do "make install" in folder org-4.56 (normal installation), I have
the bug.

I think it is the script "Makefile" that is wrong ?

I am happy to help you.

Maurice

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from Gnus
  2006-11-27 12:09           ` Carsten Dominik
@ 2006-11-27 14:20             ` Maurice Boucher
  0 siblings, 0 replies; 11+ messages in thread
From: Maurice Boucher @ 2006-11-27 14:20 UTC (permalink / raw)
  To: emacs-orgmode

Re,

Carsten Dominik <dominik@science.uva.nl> disait le 11/27/06 que :

>
> You should have edited the Makefile to make sure that the files are installed
> into the correct location.  Specifically, lispdir should point to the
> same file where you do install the files when you do it by hand.  Is that so?
>
> - Carsten

Yes, it is.

My two compiled files (by make install and by my emacs) are different.

my emacs  (function emacs-lisp-byte-compile) 
-rw-r--r--  1 momo momo    572679 2006-11-27 12:58 org.elc

make install  or 
in console  : emacs -batch -f batch-byte-compile org.el
-rw-r--r--  1 momo momo    572451 2006-11-27 13:00 org.elc

I have no more knowledge to go further. Sorry to report just these
observations.

Maurice

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from Gnus
  2006-11-27  9:51       ` Carsten Dominik
  2006-11-27 11:55         ` Maurice Boucher
@ 2006-11-27 20:24         ` Bernard Adrian
  2006-11-28  6:55           ` Carsten Dominik
  1 sibling, 1 reply; 11+ messages in thread
From: Bernard Adrian @ 2006-11-27 20:24 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> a écrit : 

> Could someone make a backtrace of this error, with loading uncompiled
> versions of gnus-sum.el and org.el?  The org-mode manual describes how
> to do this, basically
>
> emacs -l /path/to/org.el -l /path/to/gnus-sum.el

Ok. The problem for me were in the path : the files org.el,
org-install.el, org-mouse.el and org-publish were still in the path
for emacs 22.0.51 and not in the new path for emacs 22.0.91.

However emacs 22.0.51 is no more present neither on my system, nor
in the load-path.

I copied the org-*.el in /usr/share/emacs/22.0.91/lisp/texmodes/ and
now 'C-c l' works fine.

Why is /usr/share/emacs/22.0.51/lisp/texmodes/ still present on my
machine ? I don't know. However i removed this version before loading
emacs-snapshot (22.0.91). Curious.

But now all works fine for me.

Thanks.
-- 
Bernard Adrian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: storing link doesn't work from Gnus
  2006-11-28  6:55           ` Carsten Dominik
@ 2006-11-28 13:37             ` J. David Boyd
  0 siblings, 0 replies; 11+ messages in thread
From: J. David Boyd @ 2006-11-28 13:37 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> On Nov 27, 2006, at 21:24, Bernard Adrian wrote:
>
>> Carsten Dominik <dominik@science.uva.nl> a écrit :
>>
>>> Could someone make a backtrace of this error, with loading uncompiled
>>> versions of gnus-sum.el and org.el?  The org-mode manual describes how
>>> to do this, basically
>>>
>>> emacs -l /path/to/org.el -l /path/to/gnus-sum.el
>>
>> Ok. The problem for me were in the path : the files org.el,
>> org-install.el, org-mouse.el and org-publish were still in the path
>> for emacs 22.0.51 and not in the new path for emacs 22.0.91.
>>
>> However emacs 22.0.51 is no more present neither on my system, nor
>> in the load-path.
>>
>> I copied the org-*.el in /usr/share/emacs/22.0.91/lisp/texmodes/ and
>> now 'C-c l' works fine.
>>
>> Why is /usr/share/emacs/22.0.51/lisp/texmodes/ still present on my
>> machine ? I don't know. However i removed this version before loading
>> emacs-snapshot (22.0.91). Curious.
>
> Because the Makefile that comes with org-mode does create the
> directory where it is supposed to put those files, and obviously
> you have given this specific path in the header of the Makefile.
>
> For the ease of maintenance it may be better to install org-mode
> into a directory that does not depend on the specific version of Emacs
> you are using.  This could be either a directory in your own home
> directory (then you would have to add the path to the Emacs load path).
> Or it could be something like /usr/local/share/emacs/site-lisp - you
> need
> to check your system to find out where the version-independent site-lisp
> directory is located.
>
> - Carsten

I've been putting mine into ~/.emacs.d/org, where org is symbolic link to
~/.emacs.d/org-4.54, etc.  It has been working just fine that way, and is easy
to maintain...

Dave

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-11-28 13:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 12:24 storing link doesn't work from gnus Alberto Berti
2006-10-12 16:28 ` Giovanni Ridolfi
2006-10-13  5:53 ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2006-10-12 16:28 storing link doesn't work from Gnus Giovanni Ridolfi
2006-11-25 22:08 ` Bernard Adrian
2006-11-26 21:58   ` Bernard Adrian
2006-11-26 22:36     ` Maurice Boucher
2006-11-27  9:51       ` Carsten Dominik
2006-11-27 11:55         ` Maurice Boucher
2006-11-27 12:09           ` Carsten Dominik
2006-11-27 14:20             ` Maurice Boucher
2006-11-27 20:24         ` Bernard Adrian
2006-11-28  6:55           ` Carsten Dominik
2006-11-28 13:37             ` J. David Boyd

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.