[O] Export of clocking times

2013-08-05 Thread Gian-Maria Daffré

Hello,

I am on GNU Emacs 23.4.1 and Org Version 6.33x.

Maybe I am missing something obvious, but the clocking times are not
exported when I hit C-c C-e (org-export-dispatch) for Latex export.

This org entry:

* July 2013
** Visits
   CLOCK: [2013-07-10 Wed 13:30]--<2013-07-10 Wed 17:30> =>  4:00
   - Visit 10.7 afternoon
   CLOCK: [2013-07-10 Wed 09:00]--[2013-07-10 Wed 12:00] =>  3:00
   - Visit 10.7 morning


Results as follows in Latex:
** Visits
   - Visit 10.7 afternoon
   - Visit 10.7 morning

without the clocking times (which a customer requests).

Are clocking time not exported at all (i.e. only Clock Report shows
totals) or do I have to add a setting/variable that I do not see at the
moment?

Thanks for your help.

Best regards
Giammi

-- 
I kindly ask you not to send me attachments in proprietary file
formats, use open standards like PDF, HTML, RTF or plain text.




Re: [O] Export of clocking times

2013-08-05 Thread Gian-Maria Daffré

Nick Dokos  writes:

> gian-maria.daf...@giammi.com (Gian-Maria Daffré) writes:
>
>> Hello,
>>
>> I am on GNU Emacs 23.4.1 and Org Version 6.33x.
>>
>> Maybe I am missing something obvious, but the clocking times are not
>> exported when I hit C-c C-e (org-export-dispatch) for Latex export.
>>
>> This org entry:
>>
>> * July 2013
>> ** Visits
>>CLOCK: [2013-07-10 Wed 13:30]--<2013-07-10 Wed 17:30> =>  4:00
>>- Visit 10.7 afternoon
>>CLOCK: [2013-07-10 Wed 09:00]--[2013-07-10 Wed 12:00] =>  3:00
>>- Visit 10.7 morning
>>
>>
>> Results as follows in Latex:
>> ** Visits
>>- Visit 10.7 afternoon
>>- Visit 10.7 morning
>>
>> without the clocking times (which a customer requests).
>>
>> Are clocking time not exported at all (i.e. only Clock Report shows
>> totals) or do I have to add a setting/variable that I do not see at the
>> moment?
>>
>
> Try adding
>
>
> #+OPTIONS: c:t
>
>
> to your file (or customize the variable org-export-with-clocks
> if you want it always).


Added #+OPTIONS: c:t - clocking times do not appear.

Cannot customize the variable org-export-with-clocks as it is not
available. 

I have to assume then, that my current version of Org-Mode in Debian
Stable does not yet contain this feature.

Thanks anyway for your help.

Best,
Giammi

-- 
I kindly ask you not to send me attachments in proprietary file
formats, use open standards like PDF, HTML, RTF or plain text.




Re: [O] orgmode and academic conferences advice needed: how to integrate orgmode to capture ideas/data

2013-08-21 Thread Gian-Maria Daffré
Xebar Saram  writes:

> Hi all
>
> im currently in Basel in a Academic conference and was thinking how one
> would "absorb" all the torrents of ideas/data/images/conversations quickly
> into org mode :) does any one have any real life experience with this? do
> you use mobile-org or that, or another method?
> i have an andorid phone/tablet and a laptop as well so i was wondering if
> any one had any ideas?
>
> in a perfect world i would use my tablet to capture text etc and phone to
> capture images/posters/quick ideas and have them all automatically sync to
> my org mode file but i know that wishful thinking
>
> best
>
> Itai

Mostly I do it with mindmaps.

Either directly on paper using the bic 4 color ballpoint pen [1]

Otherwise use org-mode and then export it into freemind C-c C-e m
(org-export-as-freemind)

I have seen that Vym (view your mind) has a experimental export function
to org-mode. I have never tested it though.


Best,
Giammi


Footnotes: 
[1]  http://www.bicworld.com/en/products/details/18/4-color

-- 
I kindly ask you not to send me attachments in proprietary file
formats, use open standards like PDF, HTML, RTF or plain text.




[O] Broken Lin,

2013-09-03 Thread Gian-Maria Daffré
To whom it may concern:

Hello,

I have noted a broken link in the section questions at
http://orgmode.org/elpa.html

The link to http://orgmode.org/build-org-pkg.txt is giving a 404 error.

Best regards
Giammi


-- 
I kindly ask you not to send me attachments in proprietary file
formats, use open standards like PDF, HTML, RTF or plain text.




[O] Bug: Clocking Notes [9.0.4 (9.0.4-elpaplus @ /home/giammi/.emacs.d/elpa/org-plus-contrib-20170124/)]

2017-02-10 Thread Gian-Maria Daffré

Hello,

(Might be that this is a duplicate,since I had a mail problem)

I get a strange behaviour when cloking out and adding the notes.

The expected result should be:

** Task XYZ
   :LOGBOOK:
   CLOCK: [2017-02-09 Thu 11:34]--[2017-02-09 Thu 11:57] =>  0:23
   - Worked on task A
   CLOCK: [2017-02-07 Die 10:18]--[2017-02-07 Die 11:08] =>  0:50
   - Worked on task B
   CLOCK: [2017-02-06 Mon 13:22]--[2017-02-06 Mon 13:59] =>  0:37
   - Worked on task C
   :END:

The current out put is (see Task A)

** Task XYZ
   :LOGBOOK:
   - Worked on task A
   CLOCK: [2017-02-09 Thu 11:34]--[2017-02-09 Thu 11:57] =>  0:23
   CLOCK: [2017-02-07 Die 10:18]--[2017-02-07 Die 11:08] =>  0:50
   - Worked on task B
   CLOCK: [2017-02-06 Mon 13:22]--[2017-02-06 Mon 13:59] =>  0:37
   - Worked on task C
   :END:


Thanks for looking into it.

Best
Giammi
.



Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-03-07 on trouble, modified by Debian
Package: Org mode version 9.0.4 (9.0.4-elpaplus @ 
/home/giammi/.emacs.d/elpa/org-plus-contrib-20170124/)

current state:
==
(setq
 org-src-lang-modes '(("plantuml" . plantuml) ("ocaml" . tuareg)
  ("elisp" . emacs-lisp) ("ditaa" . artist)
  ("asymptote" . asy) ("dot" . fundamental)
  ("sqlite" . sql) ("calc" . fundamental) ("C" . c)
  ("cpp" . c++) ("C++" . c++) ("screen" . shell-script)
  ("shell" . sh) ("bash" . sh))
 org-clocktable-defaults '(:maxlevel 3 :lang "en" :scope file :block nil
   :wstart 1 :mstart 1 :tstart nil :tend nil :step nil
   :stepskip0 nil :fileskip0 nil :tags nil :emphasize
   nil :link nil :narrow 40! :indent t :formula nil
   :timestamp nil :level nil :tcolumns nil :formatter
   nil)
 org-clock-persist-query-save t
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
 org-log-note-clock-out t
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 5 :fileskip0 t
  :compact t)
 org-agenda-skip-deadline-prewarning-if-scheduled t
 org-icalendar-combined-agenda-file "~/org/ical.ics"
 org-time-clocksum-use-fractional t
 org-speed-command-hook '(org-speed-command-default-hook
  org-babel-speed-command-hook)
 org-agenda-fontify-priorities t
 org-agenda-diary-file "~/org/cal.org"
 org-agenda-skip-timestamp-if-done t
 org-icalendar-combined-name "Calendar"
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-icalendar-include-todo t
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-log-done 'time
 org-latex-format-inlinetask-function 
'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-finalize-agenda-hook '(bh/org-agenda-to-appt)
 org-columns-default-format "%38ITEM(Details) %TAGS(Context) %7TODO(To Do) 
%PRIORITY %SCHEDULED %DEADLINE %5Effort(Effort){:} %6CLOCKSUM"
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-startup-align-all-tables t
 org-export-with-date nil
 org-icalendar-use-deadline '(event-if-not-todo event-if-todo todo-due)
 org-agenda-skip-scheduled-if-done t
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-default-notes-file "/home/giammi/org/notes.org"
 org-agenda-time-leading-zero t
 org-icalendar-use-scheduled '(event-if-not-todo event-if-todo todo-start)
 org-agenda-include-diary t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn ## CONTENTS)"]
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-from-is-user-regexp "\\"
 org-icalendar-timezone "Europe/Zurich"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
 org-tags-column -79
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-log-redeadline 'time
 org-global-properties '(("Effort_ALL" .
  "0:30 1:00 2:00 3:00 4:00 5:00 6:00 8:00 12:00 0:00")
 ("STYLE_ALL" . "habit"))
 org-mode-hook '(turn-on-font-lock evil-org-mode
 #[0 "\300\301\302\303\304$\207"
   [add-hook change-major-mode-hook org-show-block-all append
local]
   5 "\n\n(fn)"]
 #[0 "\300\301\302\303\304$\207"
   [add-hook change-major-mode-hook org-babel-show-result-all
append local]
   5 "\n\n(fn)"]
 org-babel-result-hide-spec org-babel-hide-all-hashes
 org-eldoc-load)
 org-refile-targets '((org-agenda-files :maxlevel . 10))
 org-stuc

[O] Bug: Clocking Notes [9.0.4 (9.0.4-elpaplus @ /home/giammi/.emacs.d/elpa/org-plus-contrib-20170124/)]

2017-02-17 Thread Gian-Maria Daffré

Hello,

I get a strange behaviour when cloking out and adding the notes.

The expected result should be:

** Task XYZ
   :LOGBOOK:
   CLOCK: [2017-02-09 Thu 11:34]--[2017-02-09 Thu 11:57] =>  0:23
   - Worked on task A
   CLOCK: [2017-02-07 Die 10:18]--[2017-02-07 Die 11:08] =>  0:50
   - Worked on task B
   CLOCK: [2017-02-06 Mon 13:22]--[2017-02-06 Mon 13:59] =>  0:37
   - Worked on task C
   :END:

The current out put is (see Task A)

** Task XYZ
   :LOGBOOK:
   - Worked on task A
   CLOCK: [2017-02-09 Thu 11:34]--[2017-02-09 Thu 11:57] =>  0:23
   CLOCK: [2017-02-07 Die 10:18]--[2017-02-07 Die 11:08] =>  0:50
   - Worked on task B
   CLOCK: [2017-02-06 Mon 13:22]--[2017-02-06 Mon 13:59] =>  0:37
   - Worked on task C
   :END:


Thanks for looking into it.

Best
Giammi
.



Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-03-07 on trouble, modified by Debian
Package: Org mode version 9.0.4 (9.0.4-elpaplus @ 
/home/giammi/.emacs.d/elpa/org-plus-contrib-20170124/)

current state:
==
(setq
 org-src-lang-modes '(("plantuml" . plantuml) ("ocaml" . tuareg)
  ("elisp" . emacs-lisp) ("ditaa" . artist)
  ("asymptote" . asy) ("dot" . fundamental)
  ("sqlite" . sql) ("calc" . fundamental) ("C" . c)
  ("cpp" . c++) ("C++" . c++) ("screen" . shell-script)
  ("shell" . sh) ("bash" . sh))
 org-clocktable-defaults '(:maxlevel 3 :lang "en" :scope file :block nil
   :wstart 1 :mstart 1 :tstart nil :tend nil :step nil
   :stepskip0 nil :fileskip0 nil :tags nil :emphasize
   nil :link nil :narrow 40! :indent t :formula nil
   :timestamp nil :level nil :tcolumns nil :formatter
   nil)
 org-clock-persist-query-save t
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
 org-log-note-clock-out t
 org-agenda-clockreport-parameter-plist '(:link t :maxlevel 5 :fileskip0 t
  :compact t)
 org-agenda-skip-deadline-prewarning-if-scheduled t
 org-icalendar-combined-agenda-file "~/org/ical.ics"
 org-time-clocksum-use-fractional t
 org-speed-command-hook '(org-speed-command-default-hook
  org-babel-speed-command-hook)
 org-agenda-fontify-priorities t
 org-agenda-diary-file "~/org/cal.org"
 org-agenda-skip-timestamp-if-done t
 org-icalendar-combined-name "Calendar"
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-icalendar-include-todo t
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-log-done 'time
 org-latex-format-inlinetask-function 
'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-finalize-agenda-hook '(bh/org-agenda-to-appt)
 org-columns-default-format "%38ITEM(Details) %TAGS(Context) %7TODO(To Do) 
%PRIORITY %SCHEDULED %DEADLINE %5Effort(Effort){:} %6CLOCKSUM"
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-startup-align-all-tables t
 org-export-with-date nil
 org-icalendar-use-deadline '(event-if-not-todo event-if-todo todo-due)
 org-agenda-skip-scheduled-if-done t
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-default-notes-file "/home/giammi/org/notes.org"
 org-agenda-time-leading-zero t
 org-icalendar-use-scheduled '(event-if-not-todo event-if-todo todo-start)
 org-agenda-include-diary t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn ## CONTENTS)"]
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-from-is-user-regexp "\\"
 org-icalendar-timezone "Europe/Zurich"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
 org-tags-column -79
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-log-redeadline 'time
 org-global-properties '(("Effort_ALL" .
  "0:30 1:00 2:00 3:00 4:00 5:00 6:00 8:00 12:00 0:00")
 ("STYLE_ALL" . "habit"))
 org-mode-hook '(turn-on-font-lock evil-org-mode
 #[0 "\300\301\302\303\304$\207"
   [add-hook change-major-mode-hook org-show-block-all append
local]
   5 "\n\n(fn)"]
 #[0 "\300\301\302\303\304$\207"
   [add-hook change-major-mode-hook org-babel-show-result-all
append local]
   5 "\n\n(fn)"]
 org-babel-result-hide-spec org-babel-hide-all-hashes
 org-eldoc-load)
 org-refile-targets '((org-agenda-files :maxlevel . 10))
 org-stuck-projects '("+LEVEL=2/-DONE" ("TODO" "NEXT" "NEXTACTION")
 

[O] Error during org-export

2017-10-27 Thread Gian-Maria Daffré
Hello,

I am currently on the following org-mode version

Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @
/home/giammi/.emacs.d/elpa/org-20171023/)
GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-
09-15, modified by Debian

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)
  org-element--parse-elements(1 16 first-section nil nil nil (org-data
nil))
  org-element-parse-buffer(nil nil)
  org-export-as(latex nil nil nil (:output-file "test_latex.tex"))
  org-export-to-file(latex "test_latex.tex" nil nil nil nil nil #[257
"\300!\207" [org-latex-compile] 3 "\n\n(fn FILE)"])
  org-latex-export-to-pdf(nil nil nil nil)
  (org-open-file (org-latex-export-to-pdf nil s v b))
  (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-
export-to-pdf nil s v b)))
  (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-
file (org-latex-export-to-pdf nil s v b(nil nil nil nil)
  org-export-dispatch(nil)
  funcall-interactively(org-export-dispatch nil)
  call-interactively(org-export-dispatch nil nil)
  command-execute(org-export-dispatch)

I am looking for any hints on how to solve this problem. Thanks



[O] Error during export

2017-10-27 Thread Gian-Maria Daffré
Hello,

I am currently on the following org-mode version

Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @
/home/giammi/.emacs.d/elpa/org-20171023/)
GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-
09-15, modified by Debian

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)
  org-element--parse-elements(1 16 first-section nil nil nil (org-data
nil))
  org-element-parse-buffer(nil nil)
  org-export-as(latex nil nil nil (:output-file "test_latex.tex"))
  org-export-to-file(latex "test_latex.tex" nil nil nil nil nil #[257
"\300!\207" [org-latex-compile] 3 "\n\n(fn FILE)"])
  org-latex-export-to-pdf(nil nil nil nil)
  (org-open-file (org-latex-export-to-pdf nil s v b))
  (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-
export-to-pdf nil s v b)))
  (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-
file (org-latex-export-to-pdf nil s v b(nil nil nil nil)
  org-export-dispatch(nil)
  funcall-interactively(org-export-dispatch nil)
  call-interactively(org-export-dispatch nil nil)
  command-execute(org-export-dispatch)

I am looking for any hints on how to solve this problem. Thanks

Re: [O] Error during org-export

2017-10-28 Thread Gian-Maria Daffré
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

2017-10-28 Thread Gian-Maria Daffré
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

2017-10-29 Thread Gian-Maria Daffré
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

2017-10-31 Thread Gian-Maria Daffré
Hello Eric,

On Sun, 29 Oct 2017 12:38:37 +
Eric S Fraga  wrote:

> 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é