From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: newbye questions Date: Mon, 05 Jun 2017 22:21:19 +0800 Message-ID: <87k24qtt0g.fsf@ericabrahamsen.net> References: <871sqztjjm.fsf@ericabrahamsen.net> <2e0d6444-f9cc-fc20-01e6-1e5bd7dc56ea@mi.parisdescartes.fr> <874lvupx2f.fsf@ericabrahamsen.net> <113beaae-f18b-abbf-14e4-34dd8a602472@mi.parisdescartes.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHsta-0002I1-Lu for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 10:22:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHstW-0001Ht-4i for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 10:22:14 -0400 Received: from [195.159.176.226] (port=52234 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHstV-0001G9-Uq for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 10:22:10 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dHstO-0005MU-8M for emacs-orgmode@gnu.org; Mon, 05 Jun 2017 16:22:02 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org François Patte writes: > Le 05/06/2017 à 12:07, Eric Abrahamsen a écrit : >> François Patte writes: >> >>> Le 05/06/2017 à 01:33, Eric Abrahamsen a écrit : >>>> François Patte writes: >>>> >>>>> Bonjour, >>>>> >>>>> Ijust discovered org-mode for emacs and I want to explore the >>>>> capabilities of this mode for LaTeX documents. >>>>> >>>>> I have a few preliminary questions: >>>>> >>>>> 1- I installed org-mode from ELPA and I get a warning message when I >>>>> open a *.org file: >>>>> >>>>> Eager macro-expansion failure: (error "Autoloading failed to define >>>>> function nnir-article-group") >>>>> >>>>> What does it mean and how to get rid of this message. >>>> >>>> That's a macro from Gnus, the mail/news client. I'm not quite sure why >>>> it would be getting triggered from Org. Would you run >>>> `toggle-debug-on-error', and trigger the warning again? >>> >>> I don't know much with the lisp syntax; here is what I have done: >>> opened emacs, >>> M-x toggle-debug-on-error RET >>> C-f file.org >>> >>> And the message is still there.... >>> >>> This message does not appear if I open file without the .org extension. >> >> Sorry -- of course it's a *warning*, not an error. >> >> My only guess is that this is caused by the call to `nnir-article-group' >> inside `org-gnus-store-link' in the file org-gnus.el. That file has >> >> (eval-when-compile (require 'gnus-sum)) >> >> And gnus-sum.el has: >> >> (autoload 'nnir-article-group "nnir" nil nil 'macro) >> >> So theoretically that should take care of it. >> >> What version of Emacs are you using? > > 25.2.1 > > and org-mode version: 9.0.7 (from elpa) I'm sorry, I just don't know enough about how Emacs loads and evaluates these forms to tell you what's going wrong. The nnir macro should definitely be available in your setup. I don't even know why loading that Org library would make it complain. Hopefully someone with more experience can take it from here. Sorry! E