emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans]
@ 2010-05-17 14:06 David Maus
  2010-05-19  9:51 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2010-05-17 14:06 UTC (permalink / raw)
  To: emacs-orgmode


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


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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

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

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

_______________________________________________
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

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

* Re: Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans]
  2010-05-17 14:06 Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans] David Maus
@ 2010-05-19  9:51 ` Carsten Dominik
  2010-05-19 18:59   ` David Maus
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-05-19  9:51 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode

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.... dmjena@jabber.org
> Email..... dmaus@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

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

* Re: Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans]
  2010-05-19  9:51 ` Carsten Dominik
@ 2010-05-19 18:59   ` David Maus
  0 siblings, 0 replies; 3+ messages in thread
From: David Maus @ 2010-05-19 18:59 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


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

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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

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

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

_______________________________________________
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

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

end of thread, other threads:[~2010-05-19 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 14:06 Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans] David Maus
2010-05-19  9:51 ` Carsten Dominik
2010-05-19 18:59   ` David Maus

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).