Re: [O] org-element approach to modify or add ID to every headline

2015-08-09 Thread Nicolas Goaziou
Hello, Grant Rettke g...@wisdomandwonder.com writes: Goal: 1) Visit every headline 2) If there is an ID property 1) Then replace it's value with a UUID 3) If there is not an ID property 1) Add an ID property and give it a UUID. `org-uuid' [provides] the functionality to add the ID

Re: [O] 8.3.1 and org-latex-with-hyperref

2015-08-09 Thread Suvayu Ali
On Sat, Aug 08, 2015 at 03:04:52PM -0400, Scott Randby wrote: On 08/08/2015 02:50 PM, Rasmus wrote: Scott Randby sran...@gmail.com writes: Sorry for the noise, I figured out how to prevent the automatic insertion of \hypersetup{...} by deleting the settings for org-latex-hyperref-template

Re: [O] How to visit every source block and modify it's NAME property with org-element?

2015-08-09 Thread Nicolas Goaziou
Hello, Grant Rettke g...@wisdomandwonder.com writes: Goal: 1) Visit every source block 2) If there is a NAME property 1) Then replace it's value with a UUID 3) If there is not an NAME property 1) Add an NAME property and give it a UUID. `org-uuid' [provides] the functionality to

[O] A bug with expanding headlines of the sparse tree?

2015-08-09 Thread Meir Goldenberg
I am using org-mode 8.2.10. Suppose we have this: * TODO Task1 [0/1] SCHEDULED: 2015-08-09 Sun - [ ] Buy bread * FUTURE Task2 Now, if we do C-/ T and give TODO for the keyword, then we correctly get: * TODO Task1 [0/1]... However, if we press Tab on this line, then the whole content, including

[O] Bug: weird interplay between enforce dependencies, stuck projects and previous subtree [8.2.10 (8.2.10-23-g1ec416-elpa @ /home/devesh/.emacs.d/elpa/org-20141208/)]

2015-08-09 Thread devesh
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

[O] Evil-mode text objects

2015-08-09 Thread Spencer Boucher
Evil mode text objects behave very badly in org-mode (specifically paragraphs). Is this a know problem? Is there a fix?

[O] org book

2015-08-09 Thread nascii boy
Hello occasion to learn English, I want to translate the Book of org-mode to Spanish, using translate and some common sense, reason to do easier, I wonder if available the book format org-mode

[O] Emacs sees the directory with the new org-mode version, but loads the old version

2015-08-09 Thread Meir Goldenberg
The version of org-mode that came with my version of Emacs (24.5.2) is 8.2.10. I have installed version 8.3.1 from ELPA and added this to my init file: (add-to-list 'load-path ~/.emacs.d/org-20150803) (require 'org) When I check the version of org in Emacs, it says: Org-mode version 8.2.10

[O] Babel error on init with 8.3.1

2015-08-09 Thread Ryan Schuetzler
On startup with the latest 8.3 release I now get an error: Invalid function: org-babel-header-args-safe-fn I updated org through the package manager in Emacs, and I'm using it on Windows 10. Below is my full org configuration, but I've found that when I comment out the following section of my

[O] How to tangle org file with option comments yes in batch mode

2015-08-09 Thread Leandro Henrique Oliveira Fernandes
Hi, I am trying to tangle a file in batch mode using the script bellow: emacs.exe -Q --batch --no-init-file -l init.el --visit file.org -f org-babel-tangle --kill == init.el === (require 'org) (require 'org-exp) (require 'ob) (require 'ob-tangle) (require 'ob-R) (org-babel-do-load-languages

Re: [O] org book

2015-08-09 Thread Rasmus
nascii boy nascii...@gmail.com writes: Hello occasion to learn English, I want to translate the Book of org-mode to Spanish, using translate and some common sense, reason to do easier, I wonder if available the book format org-mode Sounds great! In the git folder, check doc/org.texi. Also

Re: [O] org book

2015-08-09 Thread Bastien Guerry
Hi, I suggest you start with the Org Compact Guide, which is smaller than the complete Org manual : http://orgmode.org/cgit.cgi/org-mode.git/plain/doc/orgguide.texi Also, if you start translating, I strongly recommend putting the translated manual on a public repository where people can

Re: [O] 8.3.1 and org-latex-with-hyperref

2015-08-09 Thread Scott Randby
On 08/09/2015 03:54 AM, Suvayu Ali wrote: On Sat, Aug 08, 2015 at 03:04:52PM -0400, Scott Randby wrote: On 08/08/2015 02:50 PM, Rasmus wrote: Scott Randby sran...@gmail.com writes: Sorry for the noise, I figured out how to prevent the automatic insertion of \hypersetup{...} by deleting the

[O] Subject: Bug: org-open-at-point no longer recognizes start and end timestamps of clock intervals [8.3.1 (8.3.1-elpaplus @ c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-09 Thread Christoph LANGE
Dear developers, I frequently use org-open-at-point on the start or end timestamps of CLOCK: intervals to open the agenda of that time. On a plain timestamp (e.g. [2015-08-09 Sun 11:11]) this still works, but on the start or end timestamp of CLOCK: start--end = difference it no longer works as

Re: [O] Babel error on init with 8.3.1

2015-08-09 Thread Kyle Meyer
Hello, Ryan Schuetzler rsch...@gmail.com wrote: On startup with the latest 8.3 release I now get an error: Invalid function: org-babel-header-args-safe-fn This seems to be related to a previous thread: http://thread.gmane.org/gmane.emacs.orgmode/99644 Although this isn't how the issue

Re: [O] [bug] canonical context not work in 8.3

2015-08-09 Thread Samuel Wales
thank you. this version is significantly faster. qualitatively improved. it has a possibly minor bug. evalled as source: - command-execute8072 98% - call-interactively8072 98% -

[O] org-entry-get gets non-todo-kw

2015-08-09 Thread Samuel Wales
NEXT is a kw. * next part (org-entry-get (point) TODO) - next strangely, this did not occur before 8.3. if it isn't a user error, and i have counted correctly, then this is the 9th possibly refactorable todo kw bug that i have reported over the years. :)

[O] org-lint does not finish on some org-mode buffer

2015-08-09 Thread Gregor Zattler
Dear org-mode developers, I run org-lint on one of my org-mode buffers -- 13015 lines with ~2000 CLOCK: lines -- and it did not finish within 1 1/2 hours. Is this a bug? I did another run for a few minutes and profiled this on. Profiler reports are attached. This is on GNU Emacs 25.0.50.7

Re: [O] Subject: Bug: org-time-stamp-inactive on the end of a CLOCK interval edits start time [8.3.1 (8.3.1-elpaplus @ c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-09 Thread Nicolas Goaziou
Hello, Christoph LANGE math.semantic@gmail.com writes: I frequently use org-time-stamp or org-time-stamp-inactive to adjust intervals logged with CLOCK:. Before upgrading to 8.3.1 I was able to adjust the end of a CLOCK'ed interval of the format CLOCK: start--end = difference by calling

Re: [O] org-entry-get gets non-todo-kw

2015-08-09 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: NEXT is a kw. * next part (org-entry-get (point) TODO) - next Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: [O] BUG REPORT - problem with org.elc on clocking out

2015-08-09 Thread Kyle Meyer
Hello, Sharon Kimble boudic...@skimble.plus.com wrote: I'm finding that when I clock out now I get the following error report I cannot reproduce this with 'emacs -Q' and the following test. Clocking in (C-c C-x C-i) and then out (C-c C-x C-o) on the following heading * h results in

Re: [O] org-lint does not finish on some org-mode buffer

2015-08-09 Thread Nicolas Goaziou
Hello, Gregor Zattler telegr...@gmx.net writes: I run org-lint on one of my org-mode buffers -- 13015 lines with ~2000 CLOCK: lines -- and it did not finish within 1 1/2 hours. Is this a bug? I did another run for a few minutes and profiled this on. Profiler reports are attached. It

Re: [O] org-html-use-unicode-chars breaks source code blocks

2015-08-09 Thread Sebastien Vauban
Andreas Leha andreas.l...@med.uni-goettingen.de writes: [ deleted: discussion on beatification ] My initial reaction was to kill it as well. But I might feel like this a bit to often (I feel the same way about headline keywords like COMMENT). There has been repeated 'bashing' of the COMMENT

Re: [O] comment trees in 8.3

2015-08-09 Thread Samuel Wales
oops, the previous test case file was wrong, but the code for -Q reproduction was correct. here is a correct test case file: * x *** y * TODO yes DEADLINE: 2015-08-05 Wed * TODO COMMENT no DEADLINE: 2015-08-05 Wed * asasasas DEADLINE: 2015-08-05 Wed *** asdfasdfasdf ***

[O] BUG REPORT - problem with org.elc on clocking out

2015-08-09 Thread Sharon Kimble
I'm finding that when I clock out now I get the following error report - --8---cut here---start-8--- Clock stopped at [2015-08-09 Sun 20:25] after 1:50 save-excursion: Wrong number of arguments: #[(pos) rÂ!ƒÃ!‚pqˆŠŒ~ˆbˆÄ Å !ƅ=ÇÈ \?…=ÇÉ \ÇÊ

Re: [O] org-entry-get gets non-todo-kw

2015-08-09 Thread Samuel Wales
thank you.

Re: [O] org-lint does not finish on some org-mode buffer

2015-08-09 Thread Gregor Zattler
Hi Nicolas, * Nicolas Goaziou m...@nicolasgoaziou.fr [10. Aug. 2015]: Gregor Zattler telegr...@gmx.net writes: I run org-lint on one of my org-mode buffers -- 13015 lines with ~2000 CLOCK: lines -- and it did not finish within 1 1/2 hours. Is this a bug? I did another run for a few minutes

Re: [O] comment trees in 8.3

2015-08-09 Thread Samuel Wales
can anybody else reproduce? * x *** TODO yes DEADLINE: 2015-08-05 Wed TODO COMMENT no DEADLINE: 2015-08-05 Wed On 8/5/15, Samuel Wales samolog...@gmail.com wrote: 24.4.1 can repro with -Q and this old testcase code and restriction lock and org-agenda-list. === ;;;

Re: [O] Subject: Bug: org-open-at-point no longer recognizes start and end timestamps of clock intervals [8.3.1 (8.3.1-elpaplus @ c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-09 Thread Nicolas Goaziou
Hello, Christoph LANGE math.semantic@gmail.com writes: I frequently use org-open-at-point on the start or end timestamps of CLOCK: intervals to open the agenda of that time. On a plain timestamp (e.g. [2015-08-09 Sun 11:11]) this still works, but on the start or end timestamp of CLOCK:

Re: [O] comment trees in 8.3

2015-08-09 Thread Samuel Wales
ok, better testcase below. please ignore last 2 messages. complete with code, data, explanation, and steps to reproduce. * commented subtrees show in agenda even if org-agenda-skip-comment-trees is t to reproduce, load the code below, find this file, put restriction lock on this subtree ( at

[O] new error: byte-code: Capture abort: (void-function button-lock-set-button)

2015-08-09 Thread Xebar Saram
Hi all again, i dont know if this is related to the new release but i cant use org capture anymore i get the following error byte-code: Capture abort: (void-function button-lock-set-button) sometime this even bring emacs crashing any clue anyone? z

Re: [O] org-element approach to modify or add ID to every headline

2015-08-09 Thread Grant Rettke
On Sun, Aug 9, 2015 at 2:44 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Anyway, the following should do: That works perfectly. Thank you. Tempted to run it in a on-save hook just to ensure that the document *always* has IDs. At least for tangle comments.

[O] How to execute calc commands in src blocks?

2015-08-09 Thread jenia.ivlev
Hello. I want to use calc in org src-blocks. But it doesnt always work. Here is an example that does work: #+BEGIN_SRC calc 3 2 '+ #+END_SRC #+RESULTS: 6 Here is another example where it doesn't work: #+BEGIN_SRC calc [3 2] [2 10] '+ #+END_SRC This doesn't work at

Re: [O] Subject: Bug: org-time-stamp-inactive on the end of a CLOCK interval edits start time [8.3.1 (8.3.1-elpaplus @ c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-09 Thread Christoph LANGE
Nicolas Goaziou on 2015-08-10 00:30: Christoph LANGE math.semantic@gmail.com writes: I frequently use org-time-stamp or org-time-stamp-inactive to adjust intervals logged with CLOCK:. Before upgrading to 8.3.1 I was able to adjust the end of a CLOCK'ed interval of the format CLOCK:

Re: [O] How to visit every source block and modify it's NAME property with org-element?

2015-08-09 Thread Grant Rettke
On Sun, Aug 9, 2015 at 3:12 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Probably something like this (untested) (let ((case-fold-search t)) That is a valuable example for us to learn from. Right off the bat I wouldn't have though to indent that way, but would have noticed quickly

Re: [O] Emacs sees the directory with the new org-mode version, but loads the old version

2015-08-09 Thread Grant Rettke
Create a init file with only the contents and use that to start EMACS (add-to-list 'load-path ~/.emacs.d/org-20150803) (require 'org) And check the `org-version'. It ought to be what you expect. Did you get that from a ZIP? Did you follow the directions to generate the autoloads and stuff?

Re: [O] new error: byte-code: Capture abort: (void-function button-lock-set-button)

2015-08-09 Thread Xebar Saram
Ok its not the new release its actually Johns great 'highlight-email-addresses' function that was giving that error i disabled it and now everything is back to normal best Z On Mon, Aug 10, 2015 at 8:19 AM, Xebar Saram zelt...@gmail.com wrote: Hi all again, i dont know if this is related

Re: [O] 8.3.1 and org-latex-with-hyperref

2015-08-09 Thread Suvayu Ali
On Sun, Aug 09, 2015 at 09:06:27AM -0400, Scott Randby wrote: On 08/09/2015 03:54 AM, Suvayu Ali wrote: If I understand hyperref correctly, I think it is okay to have multiple \hypersetup{...} commands, and the last one has precedence. So in the future, you could simply put yours after the

[O] Subject: Bug: org-time-stamp-inactive on the end of a CLOCK interval edits start time [8.3.1 (8.3.1-elpaplus @ c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20150805/)]

2015-08-09 Thread Christoph LANGE
Dear developers, I frequently use org-time-stamp or org-time-stamp-inactive to adjust intervals logged with CLOCK:. Before upgrading to 8.3.1 I was able to adjust the end of a CLOCK'ed interval of the format CLOCK: start--end = difference by calling org-time-stamp or org-time-stamp-inactive

Re: [O] templating with Org?

2015-08-09 Thread Eric Abrahamsen
John Kitchin jkitc...@andrew.cmu.edu writes: I don't have the impression you would need to hijack the export process. It seems like you would need to call a function that gets data from some source (e.g the org document) and then populates a template with that data, and once that is done,