emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Nick Dokos <nicholas.dokos@hp.com>
Cc: Bastien <bzg@altern.org>,
	Org Mode Mailing List <emacs-orgmode@gnu.org>,
	Eric Schulte <schulte.eric@gmail.com>
Subject: Re: [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b
Date: Thu, 10 Jan 2013 11:13:59 -0700	[thread overview]
Message-ID: <874niosy6w.fsf@gmail.com> (raw)
In-Reply-To: <11306.1357839845@alphaville> (Nick Dokos's message of "Thu, 10 Jan 2013 12:44:05 -0500")

[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]

Nick Dokos <nicholas.dokos@hp.com> writes:

> Eric Schulte <schulte.eric@gmail.com> wrote:
>
>> Bastien <bzg@altern.org> writes:
>> 
>> > Eric Schulte <schulte.eric@gmail.com> writes:
>> >
>> >> Even with the addition of that autoload statement I get the same error
>> >>
>> >>   let: Symbol's function definition is void:
>> >>   org-load-noerror-mustsuffix
>> >
>> > Do you have any Org function called before (require 'org)?
>> >
>> > `org-load-noerror-mustsuffix' is part of org-macs.el which is
>> > required in org.el.
>> 
>> The attached init.el is sufficient to trip this error (note: I do have a
>> recent Org-mode version installed through ELPA, which is initialized
>> before the init.el is run).
>> 
>> (add-hook 'after-init-hook
>>  `(lambda ()
>>     (require 'org)
>>     (load-file "~/.emacs.d/src/org-mode/lisp/org.el")
>>     (org-reload)))
>> 
>> Sadly I have no backtrace to share, even starting with --debug-init, I
>> only get the following in my *Messages* buffer (and no *Backtrace*
>> buffer).
>> 
>>   let: Symbol's function definition is void: org-load-noerror-mustsuffix
>> 
>
> So, which org-macs are you loading? If the (require 'org) loads the ELPA
> org-macs (which presumably does not have the macro), then the (load-file
> ...) will not reload it (and even if it did, it would probably get the
> ELPA one again). What happens if, after the (require 'org), you delete
> org-macs from the features list, set the load path to pick up things
> from ~/.emacs.d/src/org-mode/lisp, load org.el and then try the
> org-reload?
>

I attempted to apply your suggestions to my init.el resulting in the
following


[-- Attachment #2: init.el --]
[-- Type: application/emacs-lisp, Size: 248 bytes --]

[-- Attachment #3: Type: text/plain, Size: 859 bytes --]


It yields these errors on startup

  *Messages*
  Loading /home/eschulte/.emacs.d/src/org-mode/lisp/org.el (source)...
  Package assoc is obsolete!
  Loading /home/eschulte/.emacs.d/elpa/org-20121231/org-loaddefs.el (source)...done
  Problems while trying to load feature `org-jsinfo'
  eval-buffer: Symbol's function definition is void: org-define-obsolete-function-alias

It looks like removing items from `features' is dangerous.

If this problem is specific to my situation I'm happy to ignore it until
I can update my elpa version of Org-mode to a newer one.  Alternately I
could just remove my ELPA install of Org-mode, as it was only installed
to answer questions on the mailing list, and I don't think side-by-side
ELPA and source Org-modes are necessarily something that needs to be
supported.

Thanks,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-01-10 18:14 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 16:08 [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b Eric Schulte
2013-01-10 16:29 ` Bastien
2013-01-10 16:38   ` Eric Schulte
2013-01-10 17:09     ` Bastien
2013-01-10 17:29       ` Eric Schulte
2013-01-10 17:44         ` Nick Dokos
2013-01-10 18:13           ` Eric Schulte [this message]
2013-01-10 18:44             ` Bastien
2013-01-10 19:28               ` Eric Schulte
2013-01-10 20:05                 ` Bastien
2013-01-10 21:12                   ` Eric Schulte
2013-01-10 22:24                     ` Eric Schulte
2013-01-10 22:45                       ` Nick Dokos
2013-01-10 23:05                       ` Bastien
2013-01-10 23:44                         ` Eric Schulte
2013-01-11  7:04                           ` Bastien
2013-01-11 12:28                             ` Bastien
2013-01-11 15:41                               ` Eric Schulte
2013-01-11 16:31                                 ` Bastien
2013-01-11 16:50                                 ` Achim Gratz
2013-01-11 16:40                               ` Achim Gratz
2013-01-11 16:58                                 ` Bastien
2013-01-11 17:04                                   ` Achim Gratz
2013-01-11 17:23                                     ` Bastien
2013-01-11 19:30                                       ` Achim Gratz
2013-01-11 20:19                                         ` Eric Schulte
2013-01-11 20:48                                           ` Achim Gratz
2013-01-12  6:57                                           ` Bastien
2013-01-12  6:56                                         ` Bastien
2013-01-12  7:44                                           ` Achim Gratz
2013-01-12  8:40                                             ` Bastien
2013-01-12 10:27                                               ` Achim Gratz
2013-01-12 11:03                                         ` Achim Gratz
2013-01-12 13:35                                           ` Bastien
2013-01-12 15:49                                             ` Achim Gratz
2013-01-12 16:06                                               ` Bastien
2013-01-12 16:17                                                 ` Achim Gratz
2013-01-12 16:12                                               ` Bastien
2013-01-12 16:24                                                 ` Achim Gratz
2013-01-11  9:12                           ` Achim Gratz
2013-01-10 23:27                       ` Stelian Iancu
2013-01-10 23:27                       ` Stelian Iancu
2013-01-10 20:09                 ` Achim Gratz
2013-01-10 22:30                   ` Eric Schulte
2013-01-10 22:55                     ` Nick Dokos
2013-01-11  8:58                     ` Achim Gratz
2013-01-10 19:37             ` Nick Dokos
2013-01-10 19:47 ` Achim Gratz
2013-01-13 22:08   ` Thorsten Jolitz
2013-01-13 23:06     ` Stelian Iancu
2013-01-13 23:22       ` Thorsten Jolitz
2013-01-14 21:44         ` Eric Schulte
2013-01-15  1:29           ` Thorsten Jolitz
2013-01-15  6:07             ` Eric Schulte
2013-01-15 11:31               ` Thorsten Jolitz
2013-01-15 12:22                 ` Nick Dokos
2013-01-15 13:36                   ` Thorsten Jolitz
2013-01-15 13:49                     ` Nick Dokos
2013-01-15 18:58                 ` Achim Gratz
2013-01-15 20:17                   ` Thorsten Jolitz

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=874niosy6w.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).