From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: `org-w3m-copy-for-org-mode' fails with byte compiled Org [6.36trans] Date: Wed, 19 May 2010 11:51:33 +0200 Message-ID: References: <87632mk4ha.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=38662 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEgK1-0000PK-1F for emacs-orgmode@gnu.org; Wed, 19 May 2010 06:16:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEgJs-0004Q7-9p for emacs-orgmode@gnu.org; Wed, 19 May 2010 06:16:16 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:48674) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEgJo-0004Nt-77 for emacs-orgmode@gnu.org; Wed, 19 May 2010 06:16:04 -0400 Received: by mail-ew0-f216.google.com with SMTP id 8so1989800ewy.8 for ; Wed, 19 May 2010 03:16:03 -0700 (PDT) In-Reply-To: <87632mk4ha.wl%dmaus@ictsoc.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org 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