[O] [babel] BUG in inline source blocks

2012-01-25 Thread Andreas Leha
Hi all, I experience unexpected behaviour when an inline source block is not preceded by whitespace. Example: === * Test inline This is a functional inline src_R{print("source block")}. This (src_R{print("here")}) is not. === Regards, Andreas

[O] Tweaking the export (was: Re: [ANN] ASCII back-end for new export engine)

2012-01-25 Thread Christian Wittern
Hi Nicolas, hello everybody, I am extremely excited about this new export engine; it seems to fill a need I have felt for quite a while now. What I need it for is the following: For the last couple of years, I have used org-mode more and more for working with and translating texts from class

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

2012-01-25 Thread Sean O'Halpin
Hi, Here's a patch I'm using to change the default regular expression used to match noweb references. The default regular expression "<<\\(.+?\\)>>" conflicts with Ruby syntax and confuses syntax highlighting. I now set this to "«\\(.+?\\)»", i.e. using guillemots instead (AltGr-z and AltGr-x on m

[O] Tag individual output lines from source block?

2012-01-25 Thread Michael Hannon
Greetings. I'd like to know if there is some way to "tag" the output of a source-code block so as to indicate which line of the source-code block produced the output. In the appended example, the results of computing both "myMat" and "diag(myMat)" are juxtaposed. I'm looking for a way to indicat

Re: [O] How do I create a drawer?

2012-01-25 Thread François Pinard
Nick Dokos writes: > I *love* org-mode and its community. Indeed. This is an enthusiastic, and enthusiasming crowd! All fueled by maintainers who not only listen and understand, but are also take decisions (so things go on, instead of turning into endless debates). A /special/ place, as young

Re: [O] ICS import?

2012-01-25 Thread Russell Adams
On Wed, Jan 25, 2012 at 07:21:06PM -0500, Nick Dokos wrote: > Russell Adams wrote: > > > It's awkward having to mail folks back and ask that they resend the > > date/time and details as text for me, just so I can manually enter > > them into my calendar. > > > > You don't need to do that: you can

Re: [O] ICS import?

2012-01-25 Thread Nick Dokos
Russell Adams wrote: > It's awkward having to mail folks back and ask that they resend the > date/time and details as text for me, just so I can manually enter > them into my calendar. > You don't need to do that: you can save the text/calendar attachment in a file and then use icalendar-import

Re: [O] ICS import?

2012-01-25 Thread Arun Persaud
Hello > I only need import. Two way sync is (currently) not required. I just > need to get data into Org. Famous last words I know. ;] perhaps you can modify the script on the following page to do what you want: http://orgmode.org/worg/org-tutorials/org-google-sync.html The script can be used to

Re: [O] ICS import?

2012-01-25 Thread Russell Adams
On Wed, Jan 25, 2012 at 04:26:27PM -0600, Matthew Sauer wrote: > Forgot to add the list in -- I know that the last time I remember > seeing google-calendar to org-sync the problem was that it wasn't a > true sync but just an import. In other words you could download but > couldn't change something

Re: [O] ICS import?

2012-01-25 Thread Matthew Sauer
Forgot to add the list in -- I know that the last time I remember seeing google-calendar to org-sync the problem was that it wasn't a true sync but just an import. In other words you could download but couldn't change something and have it auto-update on the other. Anyone have a better update? > >

[O] Multiple agenda buffers at g...@github.com:7max/org-mode.git

2012-01-25 Thread Max Mikhanosha
I had put my initial implementation of multiple agenda buffers and sticky agenda support on g...@github.com:7max/org-mode.git branch multiple-agenda-buffers. To enable, use M-x org-toggle-sticky-agenda In order to take full advantage of the sticky agenda, you need to give your various agendas dif

[O] [PATCH] org-mobile agenda title

2012-01-25 Thread Henning Weiss
Hi everyone, I have been working on a patch for mobileorg-androidthat 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 criter

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

2012-01-25 Thread Michael Brand
Hi all I would like to ask for a review of the attached patch that resolves an issue with org-open-at-point. When opening a link to another Org file not yet opened (first close it if opened) before this patch: 1) When point is on the line with the link and the line is not a heading then the ta

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

2012-01-25 Thread Jonathan Leech-Pepin
Hello, On Wed, Jan 25, 2012 at 11:42, Simon Campese wrote: > > Dear community, > > I want to setup a capture-template that sets a > SCHEDULE-property in the future (say one week from today) without any > user interaction. > > Currently, I almost achieve this by inserting the line > > :SCHEDULED:

Re: [O] ICS import?

2012-01-25 Thread Nick Dokos
Russell Adams wrote: > I constantly get invitations from Exchange users in .ics files that I > would love to import into Org. Currently I manually input meetings > into my Agenda files. > I share your pain. > The format of ics files is hideous, so before I started to study the > format and writ

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

2012-01-25 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > I think that your understanding of the new exporter architecture is > intimate and secure. I'm happy to follow your lead here. I know for sure my way around the new exporter, but my LaTeX skills aren't on par with that knowledge. Anyway, I've pus

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

2012-01-25 Thread Borbus
On 25/01/12 16:42, Simon Campese wrote: > I want to setup a capture-template that sets a > SCHEDULE-property in the future (say one week from today) without any > user interaction. > > Currently, I almost achieve this by inserting the line > > :SCHEDULED: <%(org-read-date nil nil nil nil nil "+1w

[O] ICS import?

2012-01-25 Thread Russell Adams
I constantly get invitations from Exchange users in .ics files that I would love to import into Org. Currently I manually input meetings into my Agenda files. The format of ics files is hideous, so before I started to study the format and write something new I thought I'd make sure I didn't reinve

[O] Non-interactive insertion of future-dates

2012-01-25 Thread Simon Campese
Dear community, I want to setup a capture-template that sets a SCHEDULE-property in the future (say one week from today) without any user interaction. Currently, I almost achieve this by inserting the line :SCHEDULED: <%(org-read-date nil nil nil nil nil "+1w")> into my template. When I now cal

Re: [O] How do I create a drawer?

2012-01-25 Thread Nicolas Goaziou
Hello, Bastien writes: > The version I just pushed does not handle this kind of problem. > If you think it's worth the trouble, can you have a look at it? I've checked the code, and the `org-insert-drawer' is actually not what I had in mind. To me, there are really two types of drawers: system

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

2012-01-25 Thread Nick Dokos
Bastien wrote: > Hi Nick, > > Nick Dokos writes: > > > I start emacs with a minimal .emacs and an empty org file, insert > > a headline and insert a property drawer with org-insert-property-drawer. > > > > The drawer starts out folded and TAB does not unfold it. I fold the headline > > and unf

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

2012-01-25 Thread Nick Dokos
Carsten Dominik wrote: > Do you have a newline after the :END: line? > I did, but I tried it both with and without and it does not seem to make any difference. Thanks, Nick > > On 25.1.2012, at 15:48, Nick Dokos wrote: > > > I start emacs with a minimal .emacs and an empty org file, insert

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

2012-01-25 Thread Bastien
Nick Dokos writes: > I start emacs with a minimal .emacs and an empty org file, insert > a headline and insert a property drawer with > org-insert-property-drawer. Note that a similar problem can occur with `org-insert-drawer' if the inserted drawer is not known as such in the current buffer.

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

2012-01-25 Thread Bastien
Hi Nick, Nick Dokos writes: > I start emacs with a minimal .emacs and an empty org file, insert > a headline and insert a property drawer with org-insert-property-drawer. > > The drawer starts out folded and TAB does not unfold it. I fold the headline > and unfold it: the property drawer is now

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

2012-01-25 Thread Carsten Dominik
Do you have a newline after the :END: line? - Carsten On 25.1.2012, at 15:48, Nick Dokos wrote: > I start emacs with a minimal .emacs and an empty org file, insert > a headline and insert a property drawer with org-insert-property-drawer. > > The drawer starts out folded and TAB does not unfold

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

2012-01-25 Thread Nick Dokos
I start emacs with a minimal .emacs and an empty org file, insert a headline and insert a property drawer with org-insert-property-drawer. The drawer starts out folded and TAB does not unfold it. I fold the headline and unfold it: the property drawer is now unfolded and TAB does *not* fold it. In

Re: [O] Indenting source code blocks in lists

2012-01-25 Thread Bastien
Nicolas Goaziou writes: >> I select the region, then `C-x r t' to insert the whitespaces. > > I use C-x r o, which doesn't require to count the spaces, and is more > visual. Clever -- I start to love this mailing list ;) >> But I don't feel very clever neither, we should have a better >> way f

Re: [O] How do I create a drawer?

2012-01-25 Thread Nick Dokos
Bastien wrote: > Carsten Dominik writes: > > > This is nice. But I think Olaf's patch would still be useful to > > apply. > > Indeed. I applied a slightly enhanced version, supporting > completion and region, as Nicolas just suggested. > > Thanks all for the feedback, > I go to sleep won

Re: [O] How do I create a drawer?

2012-01-25 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > No. Around the region. If an headline is found within the region, the > function should return an error instead, telling the user that drawers > cannot contain headlines. The version I just pushed does not handle this kind of problem. If you think it's wort

Re: [O] How do I create a drawer?

2012-01-25 Thread Bastien
Carsten Dominik writes: > This is nice. But I think Olaf's patch would still be useful to > apply. Indeed. I applied a slightly enhanced version, supporting completion and region, as Nicolas just suggested. Thanks all for the feedback, -- Bastien

Re: [O] How do I create a drawer?

2012-01-25 Thread Bastien
Olaf Dietsche writes: > For a quick hack, you might try this one: Applied, thanks! -- Bastien

Re: [O] How do I create a drawer?

2012-01-25 Thread Nicolas Goaziou
>> And while we're at suggestions, it would be even better if the >> `org-insert-drawer' function supported regions. > > Meaning it should insert the drawer in every headline in the region? No. Around the region. If an headline is found within the region, the function should return an error instea

Re: [O] How do I create a drawer?

2012-01-25 Thread Carsten Dominik
On 25.1.2012, at 13:29, Nicolas Goaziou wrote: > Hello, > > Carsten Dominik writes: > >> On 25.1.2012, at 09:03, Bastien wrote: >> >>> Nick Dokos writes: >>> The only way I found so far to create a drawer is to actually type the damn thing in (I'm talking about my own drawers, not

Re: [O] How do I create a drawer?

2012-01-25 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > On 25.1.2012, at 09:03, Bastien wrote: > >> Nick Dokos writes: >> >>> The only way I found so far to create a drawer is to actually type the >>> damn thing in (I'm talking about my own drawers, not the special >>> drawers that org knows something about). I didn

Re: [O] How do I create a drawer?

2012-01-25 Thread Carsten Dominik
On 25.1.2012, at 09:03, Bastien wrote: > Hi Nick, > > Nick Dokos writes: > >> The only way I found so far to create a drawer is to actually type the >> damn thing in (I'm talking about my own drawers, not the special >> drawers that org knows something about). I didn't find any utility >> func

[O] SOLVED Re: using first heading as in batch export to html

2012-01-25 Thread Detlef Steuer
On Tue, 24 Jan 2012 14:39:55 +0100 Detlef Steuer wrote: > If I batch export a test.org looking like this > > -- test.org > * heading1 > some text > > > to html I get a test as result. > > If I open the file and do C-c @ on the first heading the > result contains

Re: [O] [BUG] infinite loop in org-e-latex-link--inline-image (new latex exporter)

2012-01-25 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > I hit an infinite loop in org-e-latex.el:org-e-latex-link--inline-image:1326: Indeed. This should be fixed now. Thanks for your report ! Regards, -- Nicolas Goaziou

Re: [O] Indenting source code blocks in lists

2012-01-25 Thread Nicolas Goaziou
Hello, Bastien writes: > Jarmo Hurri writes: >> But let us assume that I already have a source block, and it is not >> indented correctly; what is the easy way to indent this block in a list? >> (I can always keep pressing spacebar, but it does not feel very >> intelligent.) > I select the re

Re: [O] LOGBOOK opening

2012-01-25 Thread Bernt Hansen
Bastien writes: > Hi Bernt, > > Bernt Hansen writes: > >> If you're going to make this change then maybe provide a new variable so >> the prefix behaviour can be selected. SPC in the agenda (without a >> prefix) is the only way I know of to quickly see the reason why a >> WAITING task is waitin

Re: [O] Indenting source code blocks in lists

2012-01-25 Thread Jambunathan K
Jarmo Hurri writes: > what is the easy way to indent this block Mark the block as you would mark regularly. Then to 10 spaces you can do this: C-u 1 0 C-x TAB To figure out the number of spaces to add, you mentally the subtract the current column with the target column. Turn on M-x column-numb

Re: [O] Indenting source code blocks in lists

2012-01-25 Thread Phil (Philip) Mason
> But let us assume that I already have a source block, and it is not > indented correctly; what is the easy way to indent this block in a list? If you indent just the #+BEGIN_SRC line and then use C-c ' to open the source editor and C-c ' to close it again it indents all source to the level of

Re: [O] How do I create a drawer?

2012-01-25 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/01/12 10:03, Bastien wrote: > Hi Nick, > > Nick Dokos writes: > >> The only way I found so far to create a drawer is to actually >> type the damn thing in (I'm talking about my own drawers, not the >> special drawers that org knows something a

Re: [O] Bug: org-get-current-options uses fixed format-time-string [7.6]

2012-01-25 Thread Bastien
Hi Diego, this is not a bug -- please use `org-submit-bug-report' for bugs only. Diego Sevilla Ruiz writes: > org-get-current-options uses the following line to fill the `#+DATE:' > property in a new file: > > (format-time-string (substring (car org-time-stamp-formats) 1 -1)) > > While this is

[O] [babel]Skip comments on code blocks on export?

2012-01-25 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi is there a way of skipping comments when exporting R code? The reason is, that I have roxygen tags in my code, which I do not want to bi included when I export the document to a pdf, as they are only irritate readers not familiar with roxygen. On

Re: [O] feature: include internal archive in [%] cookies

2012-01-25 Thread Bastien
Hi Tyler, Tyler Renelle writes: > When I mark things complete, I then send them to internal archive. >  Any chance of adding an option for the [%] cookie to count items in > Archive subtree? No, because the [%] only takes direct children into account. Entries in an archive subtree are discarde

Re: [O] How do I create a drawer?

2012-01-25 Thread Bastien
Hi Nick, Nick Dokos writes: > The only way I found so far to create a drawer is to actually type the > damn thing in (I'm talking about my own drawers, not the special > drawers that org knows something about). I didn't find any utility > functions to insert drawers (except for :PROPERTIES:), an

Re: [O] org-insert-timestamp issue

2012-01-25 Thread Carsten Dominik
On 25.1.2012, at 06:15, Bastien wrote: > Hi Marcelo, > > Marcelo de Moraes Serpa writes: > >> Why does org rebinds C-c C-y to that function? Is that a default >> binding for org? > > Yes. But `C-c y' is free. Just to expand on this, in Emacs, C-c letter keys are reserved for the users, but

Re: [O] How do I create a drawer?

2012-01-25 Thread Russell Adams
On Tue, Jan 24, 2012 at 07:46:12PM -0500, Nick Dokos wrote: > > The only way I found so far to create a drawer is to actually type the > damn thing in (I'm talking about my own drawers, not the special > drawers that org knows something about). I didn't find any utility > functions to insert drawer

Re: [O] How do I create a drawer?

2012-01-25 Thread Olaf Dietsche
Nick Dokos writes: > The only way I found so far to create a drawer is to actually type the > damn thing in (I'm talking about my own drawers, not the special > drawers that org knows something about). I didn't find any utility > functions to insert drawers (except for :PROPERTIES:), and somewhat