[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 alw

[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 > Date: Mon, 09 Jun 2014 22:53:47 +0200 > Cc: 17...@debbugs.gnu.org, Gregor Zattler > > FWIW, there was a call to recenter which was removed recently (less than > four weeks ago -- see > http://permalink.gmane.org/gmane.emacs.orgmode/86259) from org-overview. > I guess th

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 immeasurably

[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 6a4dfd318296925b3b895ca6ab85e31309

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 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))) > org-structure-tem

[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 li

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

Re: [O] Is

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 seriously.

[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 writes: > Glenn Morris 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 normal w

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

2014-06-09 Thread Nicolas Girard
2014-06-09 18:45 GMT+02:00 Bastien : > > 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

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 wrote: > Yes, I had the same pr

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 writes: > > > Hi all, > > I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA) > >

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 wrote: > What else do you have in your .emacs related to Org? > > (BTW, it would be much better if y

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

Re: [O] Repeat work / week days

2014-06-09 Thread Jorge A. Alfaro-Murillo
Nicolas Goaziou 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 clarification. Bes

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 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 not put the SCHEDULED

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

2014-06-09 Thread Bastien
Hi Nicolas, Nicolas Girard 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 Nick Dokos
Nick Dokos writes: > SabreWolfy 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 repea

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

Re: [O] Repeat work / week days

2014-06-09 Thread Nick Dokos
SabreWolfy 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 preferably be from

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

2014-06-09 Thread Nick Dokos
Nick Dokos writes: > Sharon Kimble 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 vie

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

2014-06-09 Thread Nicolas Girard
2014-04-11 12:29 GMT+02:00 Bastien : > 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= didn't s

[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 coupl

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 (package-initia

Re: [O] Repeat work / week days

2014-06-09 Thread Jorge A. Alfaro-Murillo
Hi SabreWolfy, SabreWolfy 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 could add five e

Re: [O] babel setup

2014-06-09 Thread Jorge A. Alfaro-Murillo
Shiyuan 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 > 'org-babel-load-languages > '((py

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

2014-06-09 Thread Nick Dokos
Sharon Kimble 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 there some code t

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

2014-06-09 Thread Sharon Kimble
Thorsten Jolitz writes: > Sharon Kimble 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 agend

[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 to

[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 w

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

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 writes: > > > So I need to explicitly call (package-initialize) in init.el, probably > > one of the, if not the, first line? > > Ye

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

2014-06-09 Thread Jorge A. Alfaro-Murillo
psycho_punch 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] Stopping "done/cancelled" from showing in agenda view?

2014-06-09 Thread Thorsten Jolitz
Sharon Kimble 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 there some code t

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

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

2014-06-09 Thread Sharon Kimble
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 there some code that will auto-magically do it for m

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

2014-06-09 Thread Eric Abrahamsen
psycho_punch writes: > So I need to explicitly call (package-initialize) in init.el, > probably one of the, if not the, first line? If I recall correctly, the recommended thing is to put all of your package-specific customizations either in the customize interface (in which case they'll get appl

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 wrote: > > psycho_punch writes: > > > I've defined my initialization script in ~/.emacs.d/init.el; I'm not sure > > if it matters. So since 'ox-publi

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

2014-06-09 Thread Alexis
psycho_punch writes: > 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 won

[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 #+begin_html.

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] 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] Do not export single newlines to latex

2014-06-09 Thread Alexander Baier
On 2014-06-09 09:42 James Harkins wrote: > Alexander Baier 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 th

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 lik

Re: [O] babel setup

2014-06-09 Thread Jacob Gerlach
I think this has to do with autoload, but I am not an emacs or org expert. Try making sure that (package-initialize) comes before any org functions in your .emacs (from the answer here

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

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

2014-06-09 Thread rdgoite
I've tried replacing it with 'ox-publish but it can't be found. Does it need to be installed separately? --- sent through my mobile On Jun 9, 2014 1:43 PM, "Achim Gratz" wrote: > psycho_punch writes: > > I have just upgraded org-mode to the latest available in ELPA. > > According to the official

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 wrote: > psycho

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

2014-06-09 Thread James Harkins
Alexander Baier 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 http://thread.gmane.org

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 : > Nick Dokos writes: > > > Cecil Westerhof writes: > > > >> At the moment I am using the following formula: > >> #+TBLFM: @<<$4..@>>$4 = $2 - $3 :: @>$2=vsum(@<<$2..@>>$2) :: > >> @>$3=vsum(@<<$3..@>>$3) :: @>$4=vsum(@<<$4..@>>$4) > >> > >> This does

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

2014-06-09 Thread Cecil Westerhof
2014-06-08 13:53 GMT+02:00 Nick Dokos : > Cecil Westerhof writes: > > > At the moment I am using the following formula: > > #+TBLFM: @<<$4..@>>$4 = $2 - $3 :: @>$2=vsum(@<<$2..@>>$2) :: > @>$3=vsum(@<<$3..@>>$3) :: @>$4=vsum(@<<$4..@>>$4) > > > > This does what I want, but there are two thing