Re: [O] Error during org-export
Hello Eric, On Sun, 29 Oct 2017 12:38:37 + Eric S Fragawrote: > On Sunday, 29 Oct 2017 at 08:57, Gian-Maria Daffré wrote: > > [...] > > > This helped a lot... > > Glad I could help. However, your original problem still remains. Agree. > You should be able to export using the latest version of org > (i.e. 9.1.2). It would seem that your configuration is making reference > to the default version of org *before* you ask for the new version. > > I find that you need to have your package-initialize as the first thing > in your .emacs to ensure that the new version of org takes > precedence. Have you tried doing this with v9.1.2 installed? > > -- > : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f The beginning of my .emacs file looked like this: (server-start) (setq package-enable-at-startup t) (package-initialize) Changed it now to this: (package-initialize) (setq package-enable-at-startup t) (server-start) Everything is working fine now. Thanks very much for your help, I would never have found that solution by myself. Best, Giammi -- Gian-Maria Daffré
Re: [O] Error during org-export
On Sunday, 29 Oct 2017 at 08:57, Gian-Maria Daffré wrote: [...] > This helped a lot... Glad I could help. However, your original problem still remains. You should be able to export using the latest version of org (i.e. 9.1.2). It would seem that your configuration is making reference to the default version of org *before* you ask for the new version. I find that you need to have your package-initialize as the first thing in your .emacs to ensure that the new version of org takes precedence. Have you tried doing this with v9.1.2 installed? -- : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f signature.asc Description: PGP signature
Re: [O] Error during org-export
On Sat, 2017-10-28 at 20:27 +0100, Eric S Fraga wrote: > On Saturday, 28 Oct 2017 at 16:58, Gian-Maria Daffré wrote: > > [...] > > > If it helps, some additional information: > > > > > > Emacs : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version > > 3.22.11) > > of 2017-09-15, modified by Debian > > Package: Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ > > /home/giammi/.emacs.d/elpa/org-20171023/) > > The point I was trying to make is that for Emacs to find that version > of > org (version 9.1.2 from elpa), you must have some initialisation, > e.g. (package-initialize) or equivalent. If your .emacs is empty, > how > does Emacs find this version of org? I don't think Emacs 25.1.1 > comes > with org 9.1.2. Does it? What does "M-x org-version RET" give if > you > do this with emacs -Q? > > Also, maybe see what is in the directory ~/.emacs.d/ ? This helped a lot... emacs -Q Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.1/lisp/org/) emacs gives me Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ /home/giammi/.emacs.d/elpa/org-20171023/) I deinstalled all org packages and installed again. It seems that installing org-evil and org-caldav installed also version 9.1.2 of org-mode as a (maybe) dependency. Don't know... If I have these 2 packages removed again (plus the dependency org-mode 9.1.2), then emacs gives me version 8.2.10 and everything works perfect. Just as further information. I had org-evil and org-caldav installed for more than a year - never had this issue. Thanks very much for your help. Best, Giammi
Re: [O] Error during org-export
On Saturday, 28 Oct 2017 at 16:58, Gian-Maria Daffré wrote: [...] > If it helps, some additional information: > > > Emacs : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) > of 2017-09-15, modified by Debian > Package: Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ > /home/giammi/.emacs.d/elpa/org-20171023/) The point I was trying to make is that for Emacs to find that version of org (version 9.1.2 from elpa), you must have some initialisation, e.g. (package-initialize) or equivalent. If your .emacs is empty, how does Emacs find this version of org? I don't think Emacs 25.1.1 comes with org 9.1.2. Does it? What does "M-x org-version RET" give if you do this with emacs -Q? Also, maybe see what is in the directory ~/.emacs.d/ ? -- : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f signature.asc Description: PGP signature
Re: [O] Error during org-export
On Sat, 2017-10-28 at 14:08 +0100, Eric S Fraga wrote: > On Saturday, 28 Oct 2017 at 12:39, Gian-Maria Daffré wrote: > > If I use a completely empty .emacs file, then I get the error > > message. > > But if your .emacs is completely empty, how does emacs know how to > get > the ELPA version of org? Do you have an init file in your .emacs.d > directory? On Sat, 2017-10-28 at 14:08 +0100, Eric S Fraga wrote: > On Saturday, 28 Oct 2017 at 12:39, Gian-Maria Daffré wrote: > > If I use a completely empty .emacs file, then I get the error > > message. > > But if your .emacs is completely empty, how does emacs know how to > get > the ELPA version of org? No idea... > Do you have an init file in your .emacs.d > directory? Not that I know of - IIRC I have never created one in that directory. Export was working perfect until yesterday. I did not change the init file. I just upgraded several files through M-x list-packages. If it helps, some additional information: Emacs : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian Package: Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ /home/giammi/.emacs.d/elpa/org-20171023/) current state: == (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel- header-arg-expand) org-speed-command-hook '(org-speed-command-activate org-babel-speed- command-activate) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode- configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change- major-mode-hook org-show-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change- major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org- rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe- store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info- export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus- store-link) ("docview" :follow org-docview-open :export org- docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org- bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb- export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path ("https" :follow (lambda (path) (browse-url (concat "https:" path ("mailto" :follow (lambda (path) (browse-url (concat "mailto:; path ("news" :follow (lambda (path) (browse-url (concat "news:; path ("shell" :follow org--open-shell-link)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) As mentioned, entering emacs -Q in the command line works for export, just emacs not. Thanks, Giammi
Re: [O] Error during org-export
On Saturday, 28 Oct 2017 at 12:39, Gian-Maria Daffré wrote: > If I use a completely empty .emacs file, then I get the error message. But if your .emacs is completely empty, how does emacs know how to get the ELPA version of org? Do you have an init file in your .emacs.d directory? -- : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f signature.asc Description: PGP signature
Re: [O] Error during org-export
Hello Nicolas, On Sat, 2017-10-28 at 11:23 +0200, Nicolas Goaziou wrote: > Hello, > > Gian-Maria Daffréwrites: > > > If I create a simple heading like > > * Hello > > Test > > > > and then try to export as latex/pdf from org-mode (C-c C-e l o) I > > get > > the following error. > > > > Debugger entered--Lisp error: (void-variable element-property) > > FWIW, I cannot reproduce it. You may want to check your configuration > file. Thanks for your reply. If I use a completely empty .emacs file, then I get the error message. If I start with emacs -Q, then I can export the file without problem.
Re: [O] Error during org-export
Hello, Gian-Maria Daffréwrites: > If I create a simple heading like > * Hello > Test > > and then try to export as latex/pdf from org-mode (C-c C-e l o) I get > the following error. > > Debugger entered--Lisp error: (void-variable element-property) FWIW, I cannot reproduce it. You may want to check your configuration file. Regards, -- Nicolas Goaziou