Re: [O] Can this table formula be done more efficient

2014-06-09 Thread Cecil Westerhof
2014-06-08 15:07 GMT+02:00 Eric Schulte schulte.e...@gmail.com: Nick Dokos ndo...@gmail.com writes: Cecil Westerhof cldwester...@gmail.com writes: At the moment I am using the following formula: #+TBLFM: @$4..@$4 = $2 - $3 :: @$2=vsum(@$2..@$2) :: @$3=vsum(@$3..@$3) ::

Re: [O] Do not export single newlines to latex

2014-06-09 Thread James Harkins
Alexander Baier alexander.baier at mailbox.org writes: I am writing a document for which my main export target is latex. To obtain reasonable diffs wrt version control systems, I use one line per sentence in addition to =visual-line-mode= as was mentioned in this post last November

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
Ok, so apparently, ox-publish doesn't get loaded after init in my setup; I'm not sure why. What I have done so far is to run the publish script after init using the after-init-hook. However, I feel like this shouldn't be how it's done. On Mon, Jun 9, 2014 at 1:42 PM, Achim Gratz

Re: [O] babel C, C++, D enhancement

2014-06-09 Thread Thierry Banel
Good ! Now I will update the documentation (worg/org-contrib/babel/languages/ob-doc-C.org) and... that's it. Le 09/06/2014 01:22, Eric Schulte a écrit : Hi Theirry, This new patch looks great, and the test suite passes locally. I've just applied it. Thanks! Eric also, thanks for taking

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread Achim Gratz
psycho_punch writes: Ok, so apparently, ox-publish doesn't get loaded after init in my setup; I'm not sure why. What I have done so far is to run the publish script after init using the after-init-hook. However, I feel like this shouldn't be how it's done. It's hard to tell, but you're likely

Re: [O] Do not export single newlines to latex

2014-06-09 Thread Alexander Baier
On 2014-06-09 09:42 James Harkins wrote: Alexander Baier alexander.baier at mailbox.org writes: I am writing a document for which my main export target is latex. To obtain reasonable diffs wrt version control systems, I use one line per sentence in addition to =visual-line-mode= as was

[O] org-drill: remove duplicates

2014-06-09 Thread Dennis Yurichev
Hi. I just started using org-drill, which is seems pretty good. One thing I noticed at first: are there a way to remove duplicates which will inevitably be added into the file? And/or: it's possible to sort all entries in org-file by, let's say, ** English heading? I've something like...

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
I've defined my initialization script in ~/.emacs.d/init.el; I'm not sure if it matters. So since 'ox-publish doesn't get loaded until after initialization, I defined: (add-hook 'after-init-hook (lambda() (load-file /path/to/org-publish-project.el))) I'm wondering when do the packages installed

[O] Using templates for generating HTML

2014-06-09 Thread psycho_punch
Hello everyone. I'm wondering if there's a way to specify a template when publishing my org-notes into HTML. For example, data like author, creator, etc. are by default added in the postamble. I want to be able to specify what part of the HTML page such data are placed. I tried using

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
So I need to explicitly call (package-initialize) in init.el, probably one of the, if not the, first line? On Mon, Jun 9, 2014 at 7:59 PM, Alexis flexibe...@gmail.com wrote: psycho_punch writes: I've defined my initialization script in ~/.emacs.d/init.el; I'm not sure if it matters. So

Re: [O] org-drill: remove duplicates

2014-06-09 Thread Alexander Baier
On 2014-06-09 13:28 Dennis Yurichev wrote: Hi. I just started using org-drill, which is seems pretty good. One thing I noticed at first: are there a way to remove duplicates which will inevitably be added into the file? And/or: it's possible to sort all entries in org-file by, let's say,

Re: [O] Stopping done/cancelled from showing in agenda view?

2014-06-09 Thread Thorsten Jolitz
Sharon Kimble boudic...@skimble.plus.com writes: This is probably an easy one to answer, but I can't even think of how to query google with it. And I can't see how to do it in the org manual either! But, how do you stop a done, or cancelled item from appearing in the agenda view please? Is

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread Jorge A. Alfaro-Murillo
psycho_punch psychopunc...@gmail.com writes: So I need to explicitly call (package-initialize) in init.el, probably one of the, if not the, first line? Yes, I had a similar issue with different versions from ELPA, and applying (package-initialize) early (first line in my .emacs) fixed.

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
Yup. That works, too. Thanks for all the help, everyone. On Mon, Jun 9, 2014 at 9:42 PM, Jorge A. Alfaro-Murillo jorge.a.alf...@gmail.com wrote: psycho_punch psychopunc...@gmail.com writes: So I need to explicitly call (package-initialize) in init.el, probably one of the, if not the,

Re: [O] babel setup

2014-06-09 Thread Omid
What else do you have in your .emacs related to Org? (BTW, it would be much better if you could write a more detailed subject line than babel setup like Using org-babel-do-load-languages causes Org mode to switch to older version so that the right people on the list can more easily prioritize

[O] Generate directory tree for each directory, and project navigation

2014-06-09 Thread psycho_punch
I'm still working on publishing my notes as HTML. I'm organizing them in different directories, and I want to be able generate some sort of sitemap for each directory showing all the notes (recursively?) inside. In addition, I'd also like to understand how :html-link-up, and :html-link-home could

[O] Repeat work / week days

2014-06-09 Thread SabreWolfy
I searched here and elsewhere, and then played with various diary sexp settings, but I could not find a way to repeat an entry on work/week days (Monday to Friday) every week. I would like a task to appear on all Mondays to Fridays. The repeat should preferably be from Monday to Tuesday, Tuesday

Re: [O] Stopping done/cancelled from showing in agenda view?

2014-06-09 Thread Sharon Kimble
Thorsten Jolitz tjol...@gmail.com writes: Sharon Kimble boudic...@skimble.plus.com writes: This is probably an easy one to answer, but I can't even think of how to query google with it. And I can't see how to do it in the org manual either! But, how do you stop a done, or cancelled item

Re: [O] Stopping done/cancelled from showing in agenda view?

2014-06-09 Thread Nick Dokos
Sharon Kimble boudic...@skimble.plus.com writes: This is probably an easy one to answer, but I can't even think of how to query google with it. And I can't see how to do it in the org manual either! But, how do you stop a done, or cancelled item from appearing in the agenda view please? Is

Re: [O] babel setup

2014-06-09 Thread Jorge A. Alfaro-Murillo
Shiyuan gshy2...@gmail.com writes: Hi all, I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA) I followed this instruction http://orgmode.org/worg/org-contrib/babel/languages.html#configure and added the following to my .emacs file. (org-babel-do-load-languages

Re: [O] Repeat work / week days

2014-06-09 Thread Jorge A. Alfaro-Murillo
Hi SabreWolfy, SabreWolfy sabrewo...@gmail.com writes: I searched here and elsewhere, and then played with various diary sexp settings, but I could not find a way to repeat an entry on work/week days (Monday to Friday) every week. I would like a task to appear on all Mondays to Fridays. You

Re: [O] babel setup

2014-06-09 Thread psycho_punch
Yes, I had the same problem earlier (see the thread on required 'ox-publish). Here's what I did: First, I noticed that the packages get loaded only after initialization, so I put my org-related initialization script in the after-init-hook. Then after other people here told me about

[O] Links Drawer

2014-06-09 Thread Leonard Randall
Hi all, In a few functions that I use for organizing my research, I use links drawers. This enables me to write functions that automatically insert links in all entries matching particular criteria, or insert links directly from the headline or anywhere else in the entry. To do this I wrote a

Re: [O] Add-on: Github Flavored Markdown exporter

2014-06-09 Thread Nicolas Girard
2014-04-11 12:29 GMT+02:00 Bastien b...@gnu.org: Hi Lars, I added your file to /contrib/lisp in the master branch, thanks a lot! I updated the copyright section of the file to put you as the author, instead of the FSF. Hi, and thanks to Lars for this nice contribution ! =ox-gfm.el=

Re: [O] Stopping done/cancelled from showing in agenda view?

2014-06-09 Thread Nick Dokos
Nick Dokos ndo...@gmail.com writes: Sharon Kimble boudic...@skimble.plus.com writes: This is probably an easy one to answer, but I can't even think of how to query google with it. And I can't see how to do it in the org manual either! But, how do you stop a done, or cancelled item from

Re: [O] Repeat work / week days

2014-06-09 Thread Nick Dokos
SabreWolfy sabrewo...@gmail.com writes: I searched here and elsewhere, and then played with various diary sexp settings, but I could not find a way to repeat an entry on work/week days (Monday to Friday) every week. I would like a task to appear on all Mondays to Fridays. The repeat should

Re: [O] Repeat work / week days

2014-06-09 Thread Nicolas Goaziou
Hello, jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: #+BEGIN_SRC emacs-lisp * Test SCHEDULED: 2014-06-09 Mon +1w SCHEDULED: 2014-06-10 Tue +1w SCHEDULED: 2014-06-11 Wed +1w SCHEDULED: 2014-06-12 Thu +1w SCHEDULED: 2014-06-13 Fri +1w #+END_SRC This is not valid

Re: [O] Repeat work / week days

2014-06-09 Thread Nick Dokos
Nick Dokos ndo...@gmail.com writes: SabreWolfy sabrewo...@gmail.com writes: I searched here and elsewhere, and then played with various diary sexp settings, but I could not find a way to repeat an entry on work/week days (Monday to Friday) every week. I would like a task to appear on all

Re: [O] Add-on: Github Flavored Markdown exporter

2014-06-09 Thread Bastien
Hi Nicolas, Nicolas Girard girard.nico...@gmail.com writes: =ox-gfm.el= didn't seem to make its way to the org+contrib package from Org ELPA repo. Could anyone add it ? That's because ELPA packages are made from the maint branch of Org's repository. -- Bastien

Re: [O] Repeat work / week days

2014-06-09 Thread Jorge A. Alfaro-Murillo
Nicolas Goaziou m...@nicolasgoaziou.fr writes: This is not valid syntax. A given headline cannot have more than one SCHEDULED entry attached to it. Even if it works (I didn't test), I wouldn't count on it: this is a bug. I guess if you do not plan to do start working on the task you should

Re: [O] Repeat work / week days

2014-06-09 Thread Nicolas Goaziou
jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: I guess if you do not plan to do start working on the task you should not put the SCHEDULED and just a simple timestamp. But if you plan to work on a task every day of the week, why shouldn't you be able to do it this way? Because

Re: [O] Repeat work / week days

2014-06-09 Thread Jorge A. Alfaro-Murillo
Nicolas Goaziou m...@nicolasgoaziou.fr writes: It is probably because you don't need it. Syntax wise, SCHEDULED, DEADLINE and CLOSED can only appear once, on the line right after the related headline. There is no limitation to the number of plain timestamps under a headline. Thanks for the

Re: [O] org version check on start

2014-06-09 Thread Alexander Baier
On 2014-06-09 02:38 Grant Rettke wrote: [...] (when (not (string-equal (org-version) 8.2.6)) (when (not (version= (org-version) 8.2.6)) (display-warning 'org-mode (concat Insufficient requirements. Expected 8.2.6. Found (org-version)) :emergency)) Maybe using

Re: [O] babel setup

2014-06-09 Thread Shiyuan
No, I don't have anything else in my .emacs. Thanks for the suggestion for subject line. Next time, I will write more meaningful(and longer) subject line. On Mon, Jun 9, 2014 at 6:48 AM, Omid omidl...@gmail.com wrote: What else do you have in your .emacs related to Org? (BTW, it would be

Re: [O] babel setup

2014-06-09 Thread Shiyuan
Yes. Putting (package-initialize) immediately before the (org-babel-do-load-languages ...) solves the problem. On Mon, Jun 9, 2014 at 7:54 AM, Jorge A. Alfaro-Murillo jorge.a.alf...@gmail.com wrote: Shiyuan gshy2...@gmail.com writes: Hi all, I am using Emacs 24.3.9 + org-mode 8.2.6(from

Re: [O] babel setup

2014-06-09 Thread Shiyuan
For me, without the setup step, python/latex doesn't work by default. `C-c C-c` gives me the error : org-babel-execute-src-block: No org-babel-execute function for latex! But with the setup step, `C-c C-c` works now. On Mon, Jun 9, 2014 at 8:03 AM, psycho_punch psychopunc...@gmail.com wrote:

Re: [O] Add-on: Github Flavored Markdown exporter

2014-06-09 Thread Nicolas Girard
2014-06-09 18:45 GMT+02:00 Bastien b...@altern.org: That's because ELPA packages are made from the maint branch of Org's repository. Hi Bastien, ooh, I see... nevermind, thanks for your reply ! Nicolas

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-09 Thread Nicolas Richard
Bastien b...@altern.org writes: Glenn Morris r...@gnu.org writes: Eli Zaretskii wrote: Bastien, could you please look into this? This is like forwarding every Emacs bug to Stefan. I suggest instead reassigning the bug to org-mode (or emacs,org-mode), then simply posting a reply in the

Re: [O] Is s TAB supposed to expand into upper case #+BEGIN_SRC?

2014-06-09 Thread Grant Rettke
Understood. Thanks Nick. Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it

Re: [O] org version check on start

2014-06-09 Thread Grant Rettke
Thank you. Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson

[O] When is the right time to modify the contents of org-structure-template-alist?

2014-06-09 Thread Grant Rettke
Hi, Wanting to modify the contents of org-structure-template-alist I had this code run at startup after org was required: (mapc (lambda (asc) (let ((org-sce-dc (downcase (nth 1 asc (setf (nth 1 asc) org-sce-dc))) org-structure-template-alist) That didn't modify the

Re: [O] When is the right time to modify the contents of org-structure-template-alist?

2014-06-09 Thread Jorge A. Alfaro-Murillo
Grant Rettke g...@wisdomandwonder.com writes: Hi, Wanting to modify the contents of org-structure-template-alist I had this code run at startup after org was required: (mapc (lambda (asc) (let ((org-sce-dc (downcase (nth 1 asc (setf (nth 1 asc) org-sce-dc)))

[O] bug in exporter (org-babel-exp-process-buffer)

2014-06-09 Thread Charles Berry
The use of `org-confirm-babel-evaluate' as a function breaks inline src blocks just as was described in this thread from last year: http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00669.html I believe that the patch by Eric Schulte in === commit

Re: [O] When is the right time to modify the contents of org-structure-template-alist?

2014-06-09 Thread Grant Rettke
Thanks Jorge. It turns out that the error occurred between my keyboard and my chair. Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-09 Thread Eli Zaretskii
From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Mon, 09 Jun 2014 22:53:47 +0200 Cc: 17...@debbugs.gnu.org, Gregor Zattler g...@gmx.de FWIW, there was a call to recenter which was removed recently (less than four weeks ago -- see

[O] special status for state-log plain list elements?

2014-06-09 Thread Eric Abrahamsen
Is there any chance of building slightly on org-element's parsing of plain-lists, so that it lists which represent state logs are somehow noted as such? I'm imagining that `org-element-plain-list-parser' could be augmented to provide a (:log t) property, or if we accept that state-log lists are