Re: [O] [PATCH] Making org-agenda filters orthogonal and refreshed

2014-04-19 Thread Greg Tucker-Kellogg
Hi Bastien, Org-mode version 8.2.5h (release_8.2.5h-883-g45e881 @ /Users/gtk/.emacs.d/org/lisp/) Sure, I'm happy to go with the FSF copyright agreement. I'll send the request today. Greg On Sat, Apr 19, 2014 at 2:02 PM, Bastien wrote: > Hi Greg, > > Greg Tucker-Kellogg writes: > >> This is

Re: [O] org-review-schedule

2014-04-19 Thread Bastien
Hi Alan, thanks for sharing -- some comments: - you need to update the copyright of the file; - example code in section 3 of the header is mangled; - there are some dangling parentheses; - use (get-text-property (point-min) ...) instead of (get-text-property 1 ...) - I'd use org-review inst

Re: [O] [RFC] Sloppy `org-element-context'?

2014-04-19 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > As you may know, `org-element-context' returns the object under point, > according to Org Syntax. The questions are: should it be a little > sloppy, for convenience? And, if it should, what degree of sloppiness is > acceptable? I don't think `org-element-co

Re: [O] [PATCH] Making org-agenda filters orthogonal and refreshed

2014-04-19 Thread Bastien
Hi Greg, Greg Tucker-Kellogg writes: > Org-mode version 8.2.5h (release_8.2.5h-883-g45e881 @ > /Users/gtk/.emacs.d/org/lisp/) Thanks, > Sure, I'm happy to go with the FSF copyright agreement. I'll send the > request today. Re-thanks! PS: the fix won't make it for 8.2.6 but the issue is a ra

Re: [O] [RFC] Sloppy `org-element-context'?

2014-04-19 Thread Nicolas Richard
Bastien writes: > I don't think `org-element-context' should be sloppy *at all*. > > Hope this all makes sense -- let me know what you think. It makes sense to me, and I agree with you : org element should not parse the syntax differently just because e.g. we put a link in a comment and want to o

Re: [O] [RFC] Sloppy `org-element-context'?

2014-04-19 Thread Bastien
Nicolas Richard writes: > For comparison, AucTeX has a variable LaTeX-syntactic-comments which > controls that kind of thing : "If non-nil comments will be handled > according to LaTeX syntax." That's interesting indeed, thanks for sharing. -- Bastien

Re: [O] Maintainer change on May 1st

2014-04-19 Thread Bastien
Hi Carsten, now that I'm down the pile of email I was late on, let me say I'm glad to be "officially" back -- it was a great relief to be able to not be in charge for a year, it helped me to step back and do a lot of other things. So thanks for the switch one year earlier, and for this one! Let'

Re: [O] [RFC] Org Minor Mode?

2014-04-19 Thread Thorsten Jolitz
Bastien writes: Hi Bastien, > Thorsten Jolitz writes: > >> The real value and innovation of a true >> org-minor-mode would be to introduce Org's intelligent headlines and all >> the related functionality into the world of outcommented text in >> programming modes. > > Yes. We could have `orgst

Re: [O] [RFC] Org Minor Mode?

2014-04-19 Thread Thorsten Jolitz
Samuel Wales writes: Hi Samuel, > another option is to create annotation mechanisms that are so > compelling that you don't need org in non-org files. > > your lists and tasks would stay in your org agenda files, but your > external files would be able to show (via overlays) and link to the > a

Re: [O] org-review-schedule

2014-04-19 Thread Alan Schmitt
Hi Bastien, Thanks a lot for these, I'll look into them. I have a couple questions in the meantime. On 2014-04-19 10:14, Bastien writes: > - maybe you can use "naked" timestamps like 2014-04-19 sam. > instead of inactive ones, this way using "[" in the agenda > will not create false positiv

Re: [O] org-review-schedule

2014-04-19 Thread Bastien
Alan Schmitt writes: >> - maybe you can use "naked" timestamps like 2014-04-19 sam. >> instead of inactive ones, this way using "[" in the agenda >> will not create false positives by inserting entries with >> a REVIEW property. > > OK. I'm not sure what "[" is supposed to do in the agenda,

[O] [BUG?] Is there a bug with 'noweb' header when tangling source block?

2014-04-19 Thread Vladimir Lomov
Hello, please consider attached example Org document 'ex.org'. There seems to be a problem when tangling a source block with noweb reference, without it source block is tangled fine. Two examples are also attached. Emacs version: 24.4.50 (trunk rev. 116991); org-mode: Org-mode version 8.2.5h (re

Re: [O] Bug: text jumps left and right while typing math when org-indent-mode and linum-mode are enabled. [8.2.5h (8.2.5h-98-g0820d0-elpa @ /Users/kosta/.emacs.d/elpa/org-20140407/)]

2014-04-19 Thread Bastien
Hi Konstantin, Konstantin Kliakhandler writes: > I've discovered a bug that hinders typing when org-indent-mode and > linum-mode are both enabled. Yes, I see this glitch too, and I confirm disabling linum-mode when org-indent-mode is the thing to do... unless someone gets really annoyed by this

Re: [O] [BUG?] Is there a bug with 'noweb' header when tangling source block?

2014-04-19 Thread Bastien
Hi Vladimir, Vladimir Lomov writes: > please consider attached example Org document 'ex.org'. There seems to > be a problem when tangling a source block with noweb reference, without > it source block is tangled fine. yes, a bug I introduced myself, fixed now. Thanks for reporting this, --

Re: [O] [RFC] Org Minor Mode?

2014-04-19 Thread Bastien
Hi Thorsten, Thorsten Jolitz writes: > In summary, its about: > > 1. generalize the regexp constants and vars (allow for comment-syntax, > when org-minor-mode) > > 2. deal with hardcoded regexp-snippets in functions (my proposoal: > replace "^" with org-BOL, "$" with org-EOL, "\\*" with org-

Re: [O] Fwd: Is `org-preview-latex-fragment` sensitive to alignment specified by document class options?

2014-04-19 Thread Rob Stewart
Hi Nick, Thanks for guiding me to a solution, which was to write write my own defcustom `my-org-format-latex-header`, changing the first line from the definition in org.el to "\\documentclass[fleqn]{article}". This definition I call `my-org-format-latex-header`. I then redefine `org-create-formula

Re: [O] Feature Request. org-bibtex-tags-are-keywords inherit tags

2014-04-19 Thread Leonard Randall
Hi Bastien, Thanks for applying this and for being so diligent in keeping org great. I have requested the fsf agreement and will sign it when it comes. One additional minor issue I noticed is that in the docstring for the function `org-bibtex', it reads, `org-bibtex-export-headline' where it should

Re: [O] [BUG?] Is there a bug with 'noweb' header when tangling source block?

2014-04-19 Thread Vladimir Lomov
** Bastien [2014-04-19 14:56:19 +0200]: > Hi Vladimir, > Vladimir Lomov writes: >> please consider attached example Org document 'ex.org'. There seems to >> be a problem when tangling a source block with noweb reference, without >> it source block is tangled fine. > yes, a bug I introduced mys

Re: [O] Bug: Error with org-bibtex export with tags when using custom bibtypes [8.2.5h (8.2.5h-82-gd91d4b-elpaplus @ /Users/leonardaveryrandall/.emacs.d/elpa/org-plus-contrib-20140324/)]

2014-04-19 Thread Leonard Randall
Hi Bastien et. al, I figured out how to fix the bug i reported awhile ago. The problem was that when making the keyword field for entries without keywords defined in the `:PROPERTIES:' drawer, org-bibtex uses `bibtex-make-field' from `bibtex.el'. This function sends up an error if there are no fie

[O] Fwd: Fwd: Is `org-preview-latex-fragment` sensitive to alignment specified by document class options?

2014-04-19 Thread Rob Stewart
Maybe a spoke too soon. My answer below is partly the case. When I turn on latexpreview with `#+STARTUP: latexpreview` then my formula is laid out the way I intend, i.e.: http://imgur.com/eMrwiIJ Strangely, however, when I hit C-c C-c to remove the preview, then run `org-preview-latex-fragment` by

Re: [O] org-todo-keywords-1 detection in asyn export

2014-04-19 Thread zwz
Nicolas Goaziou writes: > zwz writes: > >> Can you give me some example code? > > I was thinking about something like this (untested): > > (let (template) > (defun ngz-set-template (new) > (setq template new)) > (defun ngz-latex-process (file) > (case template > (a (do-somethin

Re: [O] Feature Request. org-bibtex-tags-are-keywords inherit tags

2014-04-19 Thread Bastien
Hi Leonard, Leonard Randall writes: > Thanks for applying this and for being so diligent in keeping org > great. I have requested the fsf agreement and will sign it when it > comes. One additional minor issue I noticed is that in the docstring > for the function `org-bibtex', it reads, `org-bibt

Re: [O] Bug: Error with org-bibtex export with tags when using custom bibtypes [8.2.5h (8.2.5h-82-gd91d4b-elpaplus @ /Users/leonardaveryrandall/.emacs.d/elpa/org-plus-contrib-20140324/)]

2014-04-19 Thread Bastien
Hi Leonard, Leonard Randall writes: > I figured out how to fix the bug i reported awhile ago. The problem > was that when making the keyword field for entries without keywords > defined in the `:PROPERTIES:' drawer,  org-bibtex uses > `bibtex-make-field' from `bibtex.el'. This function sends up

Re: [O] Maintainer change on May 1st

2014-04-19 Thread Takaaki ISHIKAWA
+1 Apr 19, 2014 6:33 PM、Bastien のメール: > Hi Carsten, > > now that I'm down the pile of email I was late on, let me say I'm > glad to be "officially" back -- it was a great relief to be able to > not be in charge for a year, it helped me to step back and do a lot > of other things. > > So thanks

Re: [O] sharing my firsts, org babel tangle and "init" .org file

2014-04-19 Thread Charles Berry
Pete Ley gmail.com> writes: > > I've looked at the solution on worg and, though I didn't actually try to > implement, it seems like tangling your init file every time you open > Emacs is a little cumbersome. Please correct me if I'm wrong in this > assumption. OK, here goes: In `org-babel-lo

Re: [O] Bug: Error with org-bibtex export with tags when using custom bibtypes [8.2.5h (8.2.5h-82-gd91d4b-elpaplus @ /Users/leonardaveryrandall/.emacs.d/elpa/org-plus-contrib-20140324/)]

2014-04-19 Thread Leonard Randall
Hi Bastien, Bastien wrote: > I fixed this by ignoring the error, since the field is inserted > anyway. For some reason ignoring errors doesn't work for me. The new function, doesn't add a keywords field to non-standard bib entry types, it just puts the tags before the beginning of the bibtex en

Re: [O] Bug: Error with org-bibtex export with tags when using custom bibtypes [8.2.5h (8.2.5h-82-gd91d4b-elpaplus @ /Users/leonardaveryrandall/.emacs.d/elpa/org-plus-contrib-20140324/)]

2014-04-19 Thread Bastien
Hi Leonard, Leonard Randall writes: > For some reason ignoring errors doesn't work for me. The new > function, doesn't add a keywords field to non-standard bib entry > types, it just puts the tags before the beginning of the bibtex > entry, which would mess up the resulting bibtex file. Can you

Re: [O] how to stop the mouse pointer highlighting in agenda?

2014-04-19 Thread Samuel Wales
thank you both! (add-hook 'org-finalize-agenda-hook (lambda () (set (make-local-variable 'tooltip-delay) 86400) ;; disable the face that comes up when mouse pointer ;; is over an org agenda line. that can be confusing ;; because i already

Re: [O] Embedding an image in base64; exporting to ascii, html, and latex?

2014-04-19 Thread John Kitchin
I wrote some code that does some of this here: http://kitchingroup.cheme.cmu.edu/blog/2014/03/05/Creating-a-transportable-zip-archive-of-an-org-file/ It doesn't do anything fancy like you describe, but it does get images and files into the zip file. John --- John

Re: [O] babel and long-running computations

2014-04-19 Thread Christoph Groth
Thank you, John, for your detailed reply. > we routinely do this, in the following way. We run jobs that may take > up to a week to finish, and they are usually run on a cluster. Our > setup relies on the following behavior for a script. > > 1. you can run the script anytime you want, and it can t

Re: [O] Bug: text jumps left and right while typing math when org-indent-mode and linum-mode are enabled. [8.2.5h (8.2.5h-98-g0820d0-elpa @ /Users/kosta/.emacs.d/elpa/org-20140407/)]

2014-04-19 Thread Konstantin Kliakhandler
Thanks! On Sat, Apr 19, 2014 at 3:06 PM, Bastien wrote: > Hi Konstantin, > > Konstantin Kliakhandler writes: > > > I've discovered a bug that hinders typing when org-indent-mode and > > linum-mode are both enabled. > > Yes, I see this glitch too, and I confirm disabling linum-mode > when org-i

Re: [O] How do I chain babel blocks with arguments?

2014-04-19 Thread Eric Schulte
> --8<---cut here---start->8--- > #+name: z > : "bar" > #+name: test3 > #+begin_src emacs-lisp :var x="foo" > x > #+end_src > > #+name:test4 > #+begin_src emacs-lisp :var y=test1(x=z) > y > #+end_src > > #+results: test4 > : "bar" > > #+call: test4(z="BAZ")

Re: [O] sharing my firsts, org babel tangle and "init" .org file

2014-04-19 Thread Eric Schulte
Bastien writes: > Brady Trainor writes: > >> Have you migrated your init files into .org file(s)? What's your >> setup? > > I do, and find it very convenient. > > My setup is here: http://bzg.fr/emacs.html My setup is available here. https://github.com/eschulte/emacs24-starter-kit It is desig

Re: [O] How do I chain babel blocks with arguments?

2014-04-19 Thread Xebar Saram
Hi guys a related newbie question that occurred to me from reading this thread (sorry for "crashing" the thread :)). if i understand correctly from the above posts, is there a way to batch evaluate multiple org mode code blocks at once? My use case is using babel with R statistics where i have mul

[O] org capture contexts not working?

2014-04-19 Thread Eric Abrahamsen
I've got this for three capture templates that should only work in Gnus: (setq org-capture-templates-contexts '(("M" ((in-mode . "gnus-\\(summary\\|article\\)"))) ("P" ((in-mode . "gnus-\\(summary\\|article\\)"))) ("H" ((in-mode . "gnus-\\(summary\\|article\\)") This wor

Re: [O] [PATCH] Fix: allow org-refile in goto mode from everywhere

2014-04-19 Thread Bastien
Hi Markus, Markus Hauck writes: > It seems like org-refile with the goto argument is no longer allowed > From non org-mode buffers. I reverted your patch. > In commit 49da67d the condition was changed from: > > (unless goto ...) > > to: > > (unless (and goto (listp goto)) ...) > > where the co

Re: [O] calfw-org, view single org file; very ugly hack

2014-04-19 Thread Bastien
Brady Trainor writes: > Was there a better way (outside of joining development of > calfw-org)? PS: Joining forces for development always seems like a good idea :) -- Bastien

Re: [O] org capture contexts not working?

2014-04-19 Thread Bastien
Hi Eric, Eric Abrahamsen writes: > This was slightly mis-aligned in the source file, leading me to believe > it's just a nesting error. As it is, any template which *isn't using* > the not-in-file predicate is going to flag as acceptable for the current > context. I think it should just be: > >