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