Re: [O] problem with orgstruct/outline-minor-mode with indented headlines

2012-01-28 Thread David Rogoff
David Rogoff therogoffs.com> writes: > > Hi all. > > I'm still trying to get orgstruct to work right. One thing I > found is that I7 was getting confused with outline-magic which > set up outline-minor-mode-map but not orgstruct-mode-map. I'm > working inside verilog-mode, which uses the same "/

[O] Adding the ability to archive into the datetree (updated)

2012-01-28 Thread Andrew Hyatt
Hi everyone, I previously sent out a patch to add the ability to archive into the datetree. The ability to store finished items by date (along with any other journal-type entry) seems pretty useful to me, which is why I wrote this. Bernt Hansen did a review of my previous patch, and did a great

[O] Clocking inline tasks

2012-01-28 Thread Viktor Rosenfeld
Hi, I have another question regarding inline tasks. When I start the clock on an inline task the clocking information of the parent task is included in the mode line. Is this the intended behavior? In the example below there are three clock lines for a total of 1 hour and 45 minutes. If I start t

Re: [O] Drawers within inline tasks

2012-01-28 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > Fixed, thanks. > > I first didn't take care of this because it seemed logical to > show all the content of an inline task here: the purpose of the > inline task is to stay out of the hierarchical structure, such > a task is *not* a subtree... so the real content of

Re: [O] how do scientists use org mode?

2012-01-28 Thread Bodhi
GMX Christoph 13 gmx.net> writes: > > Hi > this is my first post here and although I am evaluating org mode with great interest, I am also asking myself > in which way other scientists are making use of org mode. It will take a while to get my head around how to > accomplish certain things in or

Re: [O] [babel][patch] BUG in inline source blocks

2012-01-28 Thread Martyn Jago
Hi Eric Andreas Leha writes: [...] >> Thanks for this patch Martyn, I just pushed up your [:punct:] change. >> >>> >>> Hi Martyn, >>> >>> thanks for this patch! It does half the job for me. Now export (or >>> evaluation) already work. But in the export I get a space inserted. >>> >>> I my e

Re: [O] Solved

2012-01-28 Thread Nick Dokos
Bastien wrote: > Hi Uwe, > > Uwe Brauer writes: > > > So there are two small changes necessary to make > > org-preview-latex-fragment work in Xemacs. One is the above > > change, the other > > > > > > (font-height (face-font 'default)) > > instead of > > (font-height (get-face-font 'd

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-28 Thread Nicolas Goaziou
Samuel Wales writes: > On 2012-01-28, Nicolas Goaziou wrote: >> - This is an item with some text. > > Sets off much less. Well. I'm still not sure why plain lists should have their own indentation. In that case, tables, latex-environments, etc. should too. Though, you can still configure what

Re: [O] Indenting source code blocks in lists

2012-01-28 Thread Bastien
Bastien writes: > The attached patch let `org-metaright' indent a drawer or a block > correctly. It introduces two new function ̀org-indent-block' and > `org-indent-drawer' which derive from local hacks I'm using quite > often now. > > Perhaps ̀org-metaright' is not the best keybinding for th

Re: [O] Possible bug in org-cycle with property drawer

2012-01-28 Thread Bastien
Hi Achim, Achim Gratz writes: > Bastien writes: >> Thinking again about your problem, I don't find it natural to >> have #+DRAWERS /replacing/ existing drawers specified in `org-drawers', >> instead of just adding new ones. > > Well, if one had defined a lot of drawers in their configuration an

Re: [O] Drawers within inline tasks

2012-01-28 Thread Bastien
Hi Viktor, Viktor Rosenfeld writes: > Thanks for the quick patch, but there's a small problem. The drawer is > collapsed if the inline task is opened, but not if the parent task is > opened. > > Example: > > * Parent Task > *** Inline Task > :PROPERTIES: > :Effort: 0:15 > :END: > ***

Re: [O] [bugs] Export to HTML requires issuing org-babel-execute-buffer; results replace fails

2012-01-28 Thread Leo Alekseyev
>> >> -snip-- >> #+property: session *R-babel* >> >> #+NAME: foo >> #+HEADER: :var a="a1.png" >> #+BEGIN_SRC R :results output silent >>   cat("in foo block\n") >>   cat.a <- function() { cat(a,"\n",sep="") } >>   cat.a() >> #+END_SRC >> #+call: foo(a="a1.png") >> >> #+begin_src R :results

Re: [O] Non-interactive insertion of future-dates

2012-01-28 Thread Simon Campese
Hey Jonathan, thanks for the hints, it works like a charm! As far as I can overlook this, adding relative dates to the template expansion should not be a lot of work, basically one just has to add a simple wrapper to org-read-date. I gave some more thoughts to an appropriate symbol and the best I

Re: [O] Solved

2012-01-28 Thread Bastien
Hi Uwe, Uwe Brauer writes: > So there are two small changes necessary to make > org-preview-latex-fragment work in Xemacs. One is the above > change, the other > > > (font-height (face-font 'default)) > instead of > (font-height (get-face-font 'default)) > > I can send a patch against 7

Re: [O] Blog-like sitemap for org-publish

2012-01-28 Thread Bastien
Steinar Bang writes: >> Maybe the most simple thing to do for now is to submit org-blog.el as >> a separate file to the mailing list, and add FIXME comments in >> functions that borrow too much code from org-publish.el -- it will >> help refactoring. > > Did anything more happen with this? There

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-28 Thread Samuel Wales
On 2012-01-28, Nicolas Goaziou wrote: > - This is an item with some text. Sets off much less. >> No, I mean that this is a useful way to send things to people who use >> proportional fonts. > > But in the simplest cases, tables will look ugly with proportional > fonts, no matter if you use tabs

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-28 Thread Nicolas Goaziou
Samuel Wales writes: > On 2012-01-28, Nicolas Goaziou wrote: >> If you don't know which one it is, you can successively mark each table >> in that buffer and use org-export-dispatch with the region active (it >> will only export the region) until the culprit is found. > > I get "Before first hea

Re: [O] org-remember to org-capture

2012-01-28 Thread Martin Pohlack
Hi Bastien, thanks for your reply. On 28.01.2012 17:00, Bastien wrote: > Hi Martin, > > Martin Pohlack writes: > >> I am in the process of switching from org-remember to org-capture. > > Possibly useless hint: M-x org-capture-import-remember-templates RET Yes thanks. Unfortunately, this doe

[O] Solved (was: Xemacs: org-preview-latex-fragment, png not readable.)

2012-01-28 Thread Uwe Brauer
>> On Sat, 28 Jan 2012 21:20:48 +0100, Uwe Brauer wrote: > Which does not work for Xemacs. Thanks to Julian Bradfield, > the solution seems to be: > (defun org-dvipng-color (attr) > "Return an rgb color specification for dvipng." > (apply 'format "rgb %s %s %s" > (map

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-28 Thread Samuel Wales
On 2012-01-28, Nicolas Goaziou wrote: > If you don't know which one it is, you can successively mark each table > in that buffer and use org-export-dispatch with the region active (it > will only export the region) until the culprit is found. I get "Before first headline at position ..." error.

[O] Xemacs: org-preview-latex-fragment, png not readable.

2012-01-28 Thread Uwe Brauer
Hello I made some progress in getting the function to work in Xemacs. The main problem seemed to be the function org-dvipng-color which is called in org-create-formula-image. The original formulation was (defun org-dvipng-color (attr) "Return an rgb color specification for dvipng." (appl

Re: [O] [PATCH] org-mobile agenda title

2012-01-28 Thread Henning Weiss
On Sat, Jan 28, 2012 at 3:41 PM, Bastien wrote: > Hi Henning, > > Henning Weiss writes: > > > I have been working on a patch for mobileorg-android that improves > > the displaying of the generated agendas.org file. The problem I'm > > having is that TITLE: fields of all entries are generated > >

Re: [O] Non-interactive insertion of future-dates

2012-01-28 Thread Simon Campese
Thanks Borbus, it works! See my followup to Jonathan's answer on my plans to add relative dates to the template expansion. Best wishes, Simon

Re: [O] org-src-fontify-natively (was: org-mode in the press)

2012-01-28 Thread Dov Grobgeld
I investigated this and found that this may almost be fixed by doing: ;; Make all font-lock faces fonts use inconsolata (dolist (face '(font-lock-builtin-face font-lock-comment-delimiter-face font-lock-comment-face font-lock-constant-face

Re: [O] how do scientists use org mode?

2012-01-28 Thread Tomas Grigera
Hi Cristoph On Fri, Jan 27, 2012 at 15:27, John Hendy wrote: > On Thu, Jan 26, 2012 at 3:21 PM, GMX Christoph 13 > wrote: >> Hi >> this is my first post here and although I am evaluating org mode with great >> interest, I am also asking myself in which way other scientists are making >> use o

Re: [O] org-src-fontify-natively (was: org-mode in the press)

2012-01-28 Thread Dov Grobgeld
Great! That must be a new addition that I missed. It is not perfect though, as I use a variable font for org-mode, which is inherited by the embedded source code block when I turn on org-src-fontify-natively . Is there any way of preventing that so blocks are always in e.g. Inconsolata? I found th

Re: [O] org mode in press

2012-01-28 Thread Nick Dokos
Nick Dokos wrote: > Christian Wittern wrote: > > > The one dependency I could not solve was the 'dot' executable. I > > assume this is an interpreter for the dot language, for which it seems > > the program on the Mac is named graphviz. However, I am not sure how > > to make that work with or

Re: [O] BUG: Latex exporter bug

2012-01-28 Thread Tomas Grigera
Hi Bastien >> I have found the following issue when exporting to Latex: a headline >> is sometimes moved to another position when skipping a level in the >> hierarchy. The following demonstrates the problem: > > This is a known issue and can't be handled with the current > exporter.  The "workarou

Re: [O] Blog-like sitemap for org-publish

2012-01-28 Thread Steinar Bang
> Bastien : > Jon Anders Skorpen writes: >> Yes. Here is a link to a test blog with some test posts, and one real >> post in norwegian. >> http://beta.mindmutation.net > This looks really great! > Maybe the most simple thing to do for now is to submit org-blog.el as > a separate file to

Re: [O] [babel][patch] BUG in inline source blocks

2012-01-28 Thread Andreas Leha
Eric Schulte writes: > Andreas Leha writes: > >> Martyn Jago writes: >> >>> Martyn Jago writes: >>> Hi, Andreas Leha writes: > Hi all, > > I experience unexpected behaviour when an inline source block is not > preceded by whitespace. > > Example: >>

Re: [O] org mode in press

2012-01-28 Thread Eric Schulte
Christian Wittern writes: > I think this is an excellent article, introducing an aspect of > org-mode, which I think fills a gap that no other software I know of > comes even close to approach. I already started mentioning it in > conversations and am sure it will be very useful to many members

Re: [O] org mode in press

2012-01-28 Thread Eric Schulte
Dov Grobgeld writes: > I would also like to thank you for this great article and org-mode in > general. I learned a few things about variables and chaining that I did not > know about. Since I discovered org-mode, I have come to rely upon it as my > extended memory for professional as well as dom

Re: [O] org mode in press

2012-01-28 Thread Dov Grobgeld
I would also like to thank you for this great article and org-mode in general. I learned a few things about variables and chaining that I did not know about. Since I discovered org-mode, I have come to rely upon it as my extended memory for professional as well as domestic ideas and problems that I

Re: [O] org mode in press

2012-01-28 Thread Nick Dokos
Christian Wittern wrote: > The one dependency I could not solve was the 'dot' executable. I > assume this is an interpreter for the dot language, for which it seems > the program on the Mac is named graphviz. However, I am not sure how > to make that work with org/babel. Should I simply symlin

Re: [O] org mode in press

2012-01-28 Thread Thomas S. Dye
Aloha Christian, Thanks for your comments. It is great to have feedback. Christian Wittern writes: > I think this is an excellent article, introducing an aspect of > org-mode, which I think fills a gap that no other software I know of > comes even close to approach. I already started mentioni

Re: [O] [BUG] Inconsistency in src block hiding

2012-01-28 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > To my mind a better path moving forward would be to change the behavior > of the :RESULTS: drawer so that it is exported but *not* to change the > default drawer export behavior. This way with a :wrap header argument > the code block results could be hidden with ta

Re: [O] Drawers within inline tasks

2012-01-28 Thread Viktor Rosenfeld
Hi Bastien, Bastien wrote: > Unfolding an inline task now keeps the drawers folded. Thanks for the quick patch, but there's a small problem. The drawer is collapsed if the inline task is opened, but not if the parent task is opened. Example: * Parent Task *** Inline Task :PROPERTIE

Re: [O] BUG: Latex exporter bug

2012-01-28 Thread Bastien
Hi Tomas, Tomas Grigera writes: > I have found the following issue when exporting to Latex: a headline > is sometimes moved to another position when skipping a level in the > hierarchy. The following demonstrates the problem: This is a known issue and can't be handled with the current exporter

Re: [O] org-remember to org-capture

2012-01-28 Thread Bastien
Hi Martin, Martin Pohlack writes: > I am in the process of switching from org-remember to org-capture. Possibly useless hint: M-x org-capture-import-remember-templates RET Can you restate the problem more directly? What are your capture template, what is it supposed to achieve, how does it fa

Re: [O] Invalid read syntax "#"?

2012-01-28 Thread Bastien
Hi Alan, "Alan Schmitt" writes: > I'm trying this example to export nicely formatted code in LaTeX: > http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-3 > > Unfortunately it fails with an error 'Invalid read syntax "#"'. If I delete > the second code block (the python one), it

Re: [O] [Babel] [PATCH] Customize regular expression to match noweb references

2012-01-28 Thread Sean O'Halpin
On Fri, Jan 27, 2012 at 11:05 PM, Eric Schulte wrote: > Good idea, > > I've changed your implementation to rely on two new customization > variables `org-babel-noweb-wrap-start' and `org-babel-noweb-wrap-end' as > this provides more flexibility to the backend implementation to place > constraints

Re: [O] Drawers within inline tasks

2012-01-28 Thread Bastien
Hi Viktor, Viktor Rosenfeld writes: > Ideally I would like to be able to configure the visibility behavior of > inline tasks. I think I would prefer them to behave just like normal > tasks. Unfolding an inline task now keeps the drawers folded. Thanks for the suggestion, -- Bastien

Re: [O] [PATCH] [Beamer export] Example should better export to exampleblock environment

2012-01-28 Thread Bastien
Hi Thorsten, Torsten Anders writes: > It is great that org mode makes creating Beamer slides so easy! I would > like to include some green example blocks in my slides (e.g., for exercises > for my students), and I can turn an org headline and its "content" into an > example block by just pressin

Re: [O] [PATCH] Link to Org file: regard startup view state

2012-01-28 Thread Bastien
Hi Michael, Michael Brand writes: > I would like to ask for a review of the attached patch that resolves > an issue with org-open-at-point. Applied, thanks for the detailed explanations and the patch. -- Bastien

Re: [O] [PATCH] org-mobile agenda title

2012-01-28 Thread Bastien
Hi Henning, Henning Weiss writes: > I have been working on a patch for mobileorg-android that improves > the displaying of the generated agendas.org file. The problem I'm > having is that TITLE: fields of all entries are generated > by concatenating the name and the matching criterion of an entr

Re: [O] Marking specific elements for folding?

2012-01-28 Thread Yu
Hello! Thanks for the suggestion, but sadly it doesn't entirely fit my intention; The subheadings in particular kill the purpose of hiding, because it makes something, of which I want only a "here is something folded" indication in a full text view show up in the content view and forces me to intr

Re: [O] org mode in press

2012-01-28 Thread rick frankel
On Jan 28, 2012, at 6:14, Christian Wittern wrote: > > > The one dependency I could not solve was the 'dot' executable. I assume this > is an interpreter for the dot language, for which it seems the program on the > Mac is named graphviz. However, I am not sure how to make that work with

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-28 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > Recent version errors with wrong type argument, but I can't > privacy-wash yet to show the whole stack trace. I don't need the whole stack trace, but there is at least one table in your buffer that causes problems to the exporter. I'd need to see it. If you don't

[O] [PATCH] [Beamer export] Example should better export to exampleblock environment

2012-01-28 Thread Torsten Anders
Dear all, It is great that org mode makes creating Beamer slides so easy! I would like to include some green example blocks in my slides (e.g., for exercises for my students), and I can turn an org headline and its "content" into an example block by just pressing C-c C-b e -- very nice. Now,

Re: [O] org mode in press

2012-01-28 Thread Christian Wittern
I think this is an excellent article, introducing an aspect of org-mode, which I think fills a gap that no other software I know of comes even close to approach. I already started mentioning it in conversations and am sure it will be very useful to many members of the academic community. Just

Re: [O] [ANN] ASCII back-end for new export engine

2012-01-28 Thread Samuel Wales
Hi N, Some comments on your great work: Recent version errors with wrong type argument, but I can't privacy-wash yet to show the whole stack trace. make-string(-1 32) (concat aligned-cell (make-string (- col-width ...) 32)) (format " %s " (concat aligned-cell (make-string ... 32))) (let*

[O] Bug: get-face-font: Xemacs21.5.29: org-preview-latex-fragment [7.5]

2012-01-28 Thread Stephen J. Turnbull
Uwe Brauer writes: > (if (featurep 'xemacs) > (font-height (get-face-font 'default)) The function you want is `face-font'.

Re: [O] patch to org-refile for more accurate completing-read

2012-01-28 Thread Le Wang
Sure. On Sat, Jan 28, 2012 at 7:42 AM, Bernt Hansen wrote: > Le Wang writes: > > > Here: https://gist.github.com/1689071 > > > > When we are using using refile as navigation, require must-match > > regardless of org-refile-allow-creating-parent-nodes. > > Hi, > > I suggest you post the patch to