Re: [Orgmode] Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans]

2010-05-19 Thread Carsten Dominik

Hi David,

do you have an idea to fix this, without requiring w3m during  
compilation?


I don't

- Carsten

On May 17, 2010, at 4:06 PM, David Maus wrote:



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


When calling `org-w3m-copy-for-org-mode' in a w3m buffer the command
fails complaining about w3m-anchor being an invalid function.

,
| invalid function w3m-anchor
`

This error only occurs when I use byte compiled installation of Org.

A look into w3m-util.el, the place where `w3m-anchor' is defined,
reveals that it is not a function but a macro.  So what makes sense to
me is that the byte compiler compiles org-w3m.el assuming that
`w3m-anchor' is a function and puts a function call inside the byte
compiled file -- that fails, because `w3m-anchor' isn't a function.

-- David

emacs-w3m-version: 1.4.393

Emacs  : GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2)
of 2009-11-02 on raven, modified by Debian
Package: Org-mode version 6.36trans
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans]

2010-05-19 Thread David Maus
Carsten Dominik wrote:
Hi David,

do you have an idea to fix this, without requiring w3m during
compilation?

I don't

Kind of: I'm going to look what the macro(s) do and see if we could do
it on our own w/o the macro.  A first glance looked promising.

 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp1SAcX0Chnr.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode