emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: newbye questions
Date: Mon, 05 Jun 2017 22:21:19 +0800	[thread overview]
Message-ID: <87k24qtt0g.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 113beaae-f18b-abbf-14e4-34dd8a602472@mi.parisdescartes.fr

François Patte <francois.patte@mi.parisdescartes.fr> writes:

> Le 05/06/2017 à 12:07, Eric Abrahamsen a écrit :
>> François Patte <francois.patte@mi.parisdescartes.fr> writes:
>> 
>>> Le 05/06/2017 à 01:33, Eric Abrahamsen a écrit :
>>>> François Patte <francois.patte@mi.parisdescartes.fr> 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

      reply	other threads:[~2017-06-05 14:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-04 10:22 newbye questions François Patte
2017-06-04 21:53 ` Nick Dokos
2017-06-04 23:33 ` Eric Abrahamsen
2017-06-05  9:36   ` François Patte
2017-06-05 10:07     ` Eric Abrahamsen
2017-06-05 10:16       ` François Patte
2017-06-05 14:21         ` Eric Abrahamsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k24qtt0g.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).