From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Fernandes Subject: Re: Org mode installation problems Date: Wed, 7 Jan 2015 16:43:40 +0000 (UTC) Message-ID: References: <87a91vba7q.fsf@alphaville.usersys.redhat.com> <87y4pe3g7r.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8tj3-000619-1z for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 11:44:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8tiy-0003Ix-1i for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 11:44:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:44546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8tix-0003Iq-MW for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 11:44:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8tik-0000Kc-LS for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 17:44:35 +0100 Received: from 216.1.169.18 ([216.1.169.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 17:44:34 +0100 Received: from felixfcaf by 216.1.169.18 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 17:44:34 +0100 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: emacs-orgmode@gnu.org > ... and where did that load-path get initialized? According to https://www.gnu.org/software/emacs/manual/html_node/elisp/Library-Search.html, the load-path got initialized to default sources when emacs was compiled. Then after I did the elpa org-mode update, the elpa directories got placed at the start of the load-path so that all the files in them should shadow the built-in org-mode files. However, org-icalendar.el is obsolete and not included in the elpa directories. Hence, it does not get shadowed. I have appended an excerpt from the output of M-x list-load-path-shadows to show which org files are shadowed. This explains why M-x org-export-icalendar-this-file is still defined. It does not bother me as much as the following keyboard macro (fset 'jk [?\M-x ?o ?r ?g ?- ?c ?a ?p ?t ?u ?r ?e return ?t return ?\C-e ? ?j ?k ?\C-c ?\C-c]) that should invoke the following template: (setq org-capture-templates '(("t" "Todo" entry (file "~/org/j.org")))) Executing M-x jk gives the following error message: Capture abort: (wrong-type-argument stringp (file:~/org/todo.org::(fset 'jk [?\M-x ?o ?r ?g ?- ?c ?a ?p ?t ?u ?r ?e return ?t return ?\C-e ? ?j ?k ?\C-c ?\C-c]) Tasks)) Any ideas? Thanks. ----Excerpt from M-x list-load-path-shadows /home/vadmin/.emacs.d/elpa/org-20150105/org-mobile hides /usr/share/emacs24/site-lisp/org-mode/org-mobile /home/vadmin/.emacs.d/elpa/org-20150105/ob-gnuplot hides /usr/share/emacs24/site-lisp/org-mode/ob-gnuplot /home/vadmin/.emacs.d/elpa/org-20150105/org-clock hides /usr/share/emacs24/site-lisp/org-mode/org-clock /home/vadmin/.emacs.d/elpa/org-20150105/org-install hides /usr/share/emacs24/site-lisp/org-mode/org-install /home/vadmin/.emacs.d/elpa/org-20150105/ob-octave hides /usr/share/emacs24/site-lisp/org-mode/ob-octave /home/vadmin/.emacs.d/elpa/org-20150105/org-protocol hides /usr/share/emacs24/site-lisp/org-mode/org-protocol /home/vadmin/.emacs.d/elpa/org-20150105/ob-asymptote hides /usr/share/emacs24/site-lisp/org-mode/ob-asymptote /home/vadmin/.emacs.d/elpa/org-20150105/ob-ref hides /usr/share/emacs24/site-lisp/org-mode/ob-ref /home/vadmin/.emacs.d/elpa/org-20150105/org-gnus hides /usr/share/emacs24/site-lisp/org-mode/org-gnus /home/vadmin/.emacs.d/elpa/org-20150105/ob-sass hides /usr/share/emacs24/site-lisp/org-mode/ob-sass /home/vadmin/.emacs.d/elpa/org-20150105/org-agenda hides /usr/share/emacs24/site-lisp/org-mode/org-agenda /home/vadmin/.emacs.d/elpa/org-20150105/org-w3m hides /usr/share/emacs24/site-lisp/org-mode/org-w3m /home/vadmin/.emacs.d/elpa/org-20150105/org-plot hides /usr/share/emacs24/site-lisp/org-mode/org-plot /home/vadmin/.emacs.d/elpa/org-20150105/org-indent hides /usr/share/emacs24/site-lisp/org-mode/org-indent /home/vadmin/.emacs.d/elpa/org-20150105/ob-org hides /usr/share/emacs24/site-lisp/org-mode/ob-org /home/vadmin/.emacs.d/elpa/org-20150105/org-list hides /usr/share/emacs24/site-lisp/org-mode/org-list /home/vadmin/.emacs.d/elpa/org-20150105/ob-emacs-lisp hides /usr/share/emacs24/site-lisp/org-mode/ob-emacs-lisp /home/vadmin/.emacs.d/elpa/org-20150105/org-bbdb hides /usr/share/emacs24/site-lisp/org-mode/org-bbdb /home/vadmin/.emacs.d/elpa/org-20150105/ob-scheme hides /usr/share/emacs24/site-lisp/org-mode/ob-scheme /home/vadmin/.emacs.d/elpa/org-20150105/ob-ledger hides /usr/share/emacs24/site-lisp/org-mode/ob-ledger /home/vadmin/.emacs.d/elpa/org-20150105/org-feed hides /usr/share/emacs24/site-lisp/org-mode/org-feed /home/vadmin/.emacs.d/elpa/org-20150105/ob-java hides /usr/share/emacs24/site-lisp/org-mode/ob-java /home/vadmin/.emacs.d/elpa/org-20150105/ob-js hides /usr/share/emacs24/site-lisp/org-mode/ob-js /home/vadmin/.emacs.d/elpa/org-20150105/org-info hides /usr/share/emacs24/site-lisp/org-mode/org-info /home/vadmin/.emacs.d/elpa/org-20150105/org-attach hides /usr/share/emacs24/site-lisp/org-mode/org-attach /home/vadmin/.emacs.d/elpa/org-20150105/ob-matlab hides /usr/share/emacs24/site-lisp/org-mode/ob-matlab /home/vadmin/.emacs.d/elpa/org-20150105/ob-ocaml hides /usr/share/emacs24/site-lisp/org-mode/ob-ocaml /home/vadmin/.emacs.d/elpa/org-20150105/ob-fortran hides /usr/share/emacs24/site-lisp/org-mode/ob-fortran /home/vadmin/.emacs.d/elpa/org-20150105/ob-exp hides /usr/share/emacs24/site-lisp/org-mode/ob-exp /home/vadmin/.emacs.d/elpa/org-20150105/org-mouse hides /usr/share/emacs24/site-lisp/org-mode/org-mouse /home/vadmin/.emacs.d/elpa/org-20150105/ob hides /usr/share/emacs24/site-lisp/org-mode/ob /home/vadmin/.emacs.d/elpa/org-20150105/ob-lilypond hides /usr/share/emacs24/site-lisp/org-mode/ob-lilypond /home/vadmin/.emacs.d/elpa/org-20150105/org-colview hides /usr/share/emacs24/site-lisp/org-mode/org-colview /home/vadmin/.emacs.d/elpa/org-20150105/ob-plantuml hides /usr/share/emacs24/site-lisp/org-mode/ob-plantuml /home/vadmin/.emacs.d/elpa/org-20150105/org-rmail hides /usr/share/emacs24/site-lisp/org-mode/org-rmail /home/vadmin/.emacs.d/elpa/org-20150105/org-compat hides /usr/share/emacs24/site-lisp/org-mode/org-compat /home/vadmin/.emacs.d/elpa/org-20150105/ob-dot hides /usr/share/emacs24/site-lisp/org-mode/ob-dot /home/vadmin/.emacs.d/elpa/org-20150105/org hides /usr/share/emacs24/site-lisp/org-mode/org /home/vadmin/.emacs.d/elpa/org-20150105/org-entities hides /usr/share/emacs24/site-lisp/org-mode/org-entities /home/vadmin/.emacs.d/elpa/org-20150105/ob-perl hides /usr/share/emacs24/site-lisp/org-mode/ob-perl /home/vadmin/.emacs.d/elpa/org-20150105/ob-keys hides /usr/share/emacs24/site-lisp/org-mode/ob-keys /home/vadmin/.emacs.d/elpa/org-20150105/ob-screen hides /usr/share/emacs24/site-lisp/org-mode/ob-screen /home/vadmin/.emacs.d/elpa/org-20150105/ob-shen hides /usr/share/emacs24/site-lisp/org-mode/ob-shen /home/vadmin/.emacs.d/elpa/org-20150105/org-datetree hides /usr/share/emacs24/site-lisp/org-mode/org-datetree /home/vadmin/.emacs.d/elpa/org-20150105/org-faces hides /usr/share/emacs24/site-lisp/org-mode/org-faces /home/vadmin/.emacs.d/elpa/org-20150105/ob-eval hides /usr/share/emacs24/site-lisp/org-mode/ob-eval /home/vadmin/.emacs.d/elpa/org-20150105/ob-python hides /usr/share/emacs24/site-lisp/org-mode/ob-python /home/vadmin/.emacs.d/elpa/org-20150105/ob-lisp hides /usr/share/emacs24/site-lisp/org-mode/ob-lisp /home/vadmin/.emacs.d/elpa/org-20150105/ob-lob hides /usr/share/emacs24/site-lisp/org-mode/ob-lob /home/vadmin/.emacs.d/elpa/org-20150105/org-src hides /usr/share/emacs24/site-lisp/org-mode/org-src /home/vadmin/.emacs.d/elpa/org-20150105/org-crypt hides /usr/share/emacs24/site-lisp/org-mode/org-crypt /home/vadmin/.emacs.d/elpa/org-20150105/org-inlinetask hides /usr/share/emacs24/site-lisp/org-mode/org-inlinetask /home/vadmin/.emacs.d/elpa/org-20150105/org-table hides /usr/share/emacs24/site-lisp/org-mode/org-table /home/vadmin/.emacs.d/elpa/org-20150105/org-habit hides /usr/share/emacs24/site-lisp/org-mode/org-habit /home/vadmin/.emacs.d/elpa/org-20150105/org-capture hides /usr/share/emacs24/site-lisp/org-mode/org-capture