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 [the nnir-article-group issue]
Date: Sun, 11 Jun 2017 14:37:59 +0800	[thread overview]
Message-ID: <87mv9fvxko.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 22842.45571.534380.479157@frac.u-strasbg.fr

Alain.Cochard@unistra.fr writes:

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

[...]

> I certainly don't have more experience, but maybe it will help if I
> report my own.
>
> I have the very same problem with the following configuration:
>
> Org mode version 9.0.8 (9.0.8-elpa @
> /home/cochard/.emacs.d/elpa/org-20170606/)
>
> GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.14.12) of
> 2015-05-07 on buildvm-08.phx2.fedoraproject.org
>
> 'uname -a' gives: Linux frac.u-strasbg.fr 4.1.13-100.fc21.x86_64 #1
> SMP Tue Nov 10 13:13:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>
> I've had this problem since I updated org ELPA on 24 dec 2016 (NB: I
> have not changed my GNU emacs version or GNU/Linux distribution).
>
>
> I performed the following tests (all independently from one another),
> all with a void .emacs file.
>
> (1) With 'emacs --no-site-file'
>
> -> the error is present.
>
> (2) With 'emacs --no-site-file' 
>
> and after commenting the line
>
> (autoload 'nnir-article-group "nnir" nil nil 'macro)
>
> in file /usr/share/emacs/24.5/lisp/gnus/gnus-sum.el (after having
> gunzip'ed it) and also after having hidden the corresponding .elc file
>
> -> the error is not present.
>
> (3) With 'emacs --no-site-file --no-site-lisp'
>
> -> the error is not present.
>
> (4) With 'emacs --no-site-file'
>
> and after hiding files nnir.el and nnir.elc, which are in dir
> /usr/share/emacs/site-lisp/gnus-bonus
>
> -> the error is not present.
>
> The begining of file /usr/share/emacs/site-lisp/gnus-bonus/ is
>
> ;;; nnir.el --- search mail with various search engines -*- coding: iso-8859-1 -*-
> ;; Copyright (C) 1998 Kai Großjohann
>
> ;; $Id: nnir.el,v 1.1.1.1 2003-04-04 20:16:09 lolando Exp $
>
> This file contains: (require 'gnus-sum)

That was very useful, thanks for the detailed report! Looks like it's
the same as this:

https://bugzilla.redhat.com/show_bug.cgi?id=1177978

Looks like uninstalling an emacs-goodies package might do the trick?
Anyway, you're meant to be loading nnir.el from
emacs/<version>/lisp/gnus/nnir.el, not site/lisp/gnus-bonus.

Eric

  reply	other threads:[~2017-06-11  6:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-09 14:34 newbye questions [the nnir-article-group issue] Alain.Cochard
2017-06-11  6:37 ` Eric Abrahamsen [this message]
2017-06-12  7:46   ` Alain.Cochard
2017-06-13  0:41     ` Eric Abrahamsen
2017-06-13  4:46       ` Alain.Cochard

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=87mv9fvxko.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).