From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: =?UTF-8?B?UmU6IFtCVUddIGBvcmctbG9hZC1ub2Vycm9yLW11c3RzdWZmaXg=?= =?UTF-8?B?wrQgaXMgbm90IGRlZmluZWQsIGludHJvZHVjZWQgYnkgNTQ4NGEzM2I=?= Date: Thu, 10 Jan 2013 12:44:05 -0500 Message-ID: <11306.1357839845@alphaville> References: <87a9sh3tsp.fsf@gmail.com> <877gnlknlx.fsf@bzg.ath.cx> <87sj69ro12.fsf@gmail.com> <87pq1dj76n.fsf@bzg.ath.cx> <87hamprlob.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtMAq-00049M-DS for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 12:44:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtMAk-00049S-KL for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 12:44:16 -0500 Received: from g4t0015.houston.hp.com ([15.201.24.18]:33054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtMAk-000491-EQ for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 12:44:10 -0500 In-Reply-To: Message from Eric Schulte of "Thu\, 10 Jan 2013 10\:29\:40 MST." <87hamprlob.fsf@gmail.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Bastien , Org Mode Mailing List Eric Schulte wrote: > Bastien writes: > > > Eric Schulte 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? Nick