From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: =?UTF-8?B?UmU6IFtCVUddIGBvcmctbG9hZC1ub2Vycm9yLW11c3RzdWZmaXg=?= =?UTF-8?B?wrQgaXMgbm90IGRlZmluZWQsIGludHJvZHVjZWQgYnkgNTQ4NGEzM2I=?= Date: Thu, 10 Jan 2013 11:13:59 -0700 Message-ID: <874niosy6w.fsf@gmail.com> References: <87a9sh3tsp.fsf@gmail.com> <877gnlknlx.fsf@bzg.ath.cx> <87sj69ro12.fsf@gmail.com> <87pq1dj76n.fsf@bzg.ath.cx> <87hamprlob.fsf@gmail.com> <11306.1357839845@alphaville> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtMdp-0003Uc-4u for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 13:14:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtMdn-0003kd-43 for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 13:14:13 -0500 Received: from mail-ia0-f179.google.com ([209.85.210.179]:51142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtMdm-0003kY-VN for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 13:14:11 -0500 Received: by mail-ia0-f179.google.com with SMTP id i9so486480iad.24 for ; Thu, 10 Jan 2013 10:14:10 -0800 (PST) In-Reply-To: <11306.1357839845@alphaville> (Nick Dokos's message of "Thu, 10 Jan 2013 12:44:05 -0500") 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: Nick Dokos Cc: Bastien , Org Mode Mailing List , Eric Schulte --=-=-= Content-Type: text/plain Nick Dokos writes: > 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? > I attempted to apply your suggestions to my init.el resulting in the following --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=init.el Content-Transfer-Encoding: quoted-printable (add-hook 'after-init-hook `(lambda () (require 'org) (setq features (remove 'org-macs features)) (add-to-list 'load-path "~/.emacs.d/src/org-mode/lisp/") (load-file "~/.emacs.d/src/org-mode/lisp/org.el") (org-reload))) --=-=-= Content-Type: text/plain 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 --=-=-=--