Re: [O] [RFC] Standardized code block keywords

2011-10-24 Thread Rainer M Krug
On Tue, Oct 25, 2011 at 8:52 AM, Rainer M Krug wrote: > > > On Fri, Oct 21, 2011 at 7:37 PM, Sebastien Vauban < > wxhgmqzgw...@spammotel.com> wrote: > >> Hi Eric, >> >> Eric Schulte wrote: >> >> Now, between "srcname" and "source": I'm used to whatever my Yasnippet >> is >> >> entering for me. Th

Re: [O] [RFC] Standardized code block keywords

2011-10-24 Thread Rainer M Krug
On Fri, Oct 21, 2011 at 6:24 PM, Eric Schulte wrote: > > Just to make it as easy as possible for everyone > > Might it be possible to introduce a small flags like "obsolete" and > > "stable" (standard) > > Old functions, old syntax, etc., might move first to obsolete before > > completely remo

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Jambunathan K
>> I think the comment blocks are better handled as special blocks instead >> of org-exp-blocks. > That may very well be true. If only - , From org-export-preprocess-string | ;; Call the hook | (run-hooks 'org-export-preprocess-hook) | | ;; Remove comment environment and

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Nick Dokos
Jambunathan K wrote: > > > So I tried > > > > (add-hook 'org-export-preprocess-hook (function > > org-export-blocks-preprocess)) > > > > and I get the comment in the HTML output. > > Is it valid a valid xhtml? > I have no idea: I was mainly interested in how to make org-exp-blocks to work (f

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Jambunathan K
> So I tried > > (add-hook 'org-export-preprocess-hook (function org-export-blocks-preprocess)) > > and I get the comment in the HTML output. Is it valid a valid xhtml? M-x nxml-mode C-c C-n (assumming rng validation is on) I find that it suffers from the same problem that cropped up wrt speci

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Eric Schulte
Nick Dokos writes: > Thorsten wrote: > >> ... >> There is, e.g., the shortcut >> >> ,--- >> | > `--- >> >> to insert a code-block, but its somehow underdocumented - I don't >> remember, where I read about it, and don't find it in the manual >> anymore. >> > > It is documented in sec

Re: [O] [RFC] Standardized code block keywords

2011-10-24 Thread Eric Schulte
"Sebastien Vauban" writes: > Hi Daniel, > > Daniel Bausch wrote: >>> named code blocks [1] -- "source" "srcname" "function" >>> calling external functions [2] -- "call" "lob" >>> named data [3] -- "tblname" "resname" "results" "data" >> >> what about "#+name:" for [1] and

Re: [O] Org-mode Standardized Code Block Keywords

2011-10-24 Thread Eric Schulte
Chris Malone writes: > Hi Eric, > > Here is the CSV output from google moderator - do with it what you wish: > Great, I've incorporated this output. Thanks -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Jambunathan K
Herbert Sitz writes: > I'm trying to see if there is a way to include comments on export, to show up > as > something like the comments boxes you see in MS Word. What is your target format? Is it org->odt->doc. If yes, then currently there is no support for annotations/comments. It is doable.

Re: [O] Byte compiler warnings

2011-10-24 Thread Andrei Jirnyi
A few warnings from Emacs 23.2.1 here: Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-C.el at Mon Oct 24 18:20:36 2011 Entering directory `/home/xx/.emacs.d/elpa/org-20111024/' Compiling file /home/xx/.emacs.d/elpa/org-20111024/ob-calc.el at Mon Oct 24 18:20:36 2011 I

[O] Fixed!! (was: Re: Problem with org-startup-indented)

2011-10-24 Thread Andrei Jirnyi
On Tue, 18 Oct 2011 17:30:17 +, Andrei Jirnyi wrote: > There is a major issue with org-indent-mode under org-mode 7.7 > (downloaded today with Emacs PPM, dated 2011-10-18) and Emacs 23.2. It seems that whatever the issue was, it could be fixed by either: - forcing byte-compile on the download

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Nick Dokos
Herbert Sitz wrote: > Herbert Sitz gmail.com> writes: > > > > > Can someone give an example of how org-exp-blocks (or anything else) could > > be > > used to export comment blocks as graphic notes in the text? > > > > Just to add a bit. I do have the following line in my .emacs: > >

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > > Can someone give an example of how org-exp-blocks (or anything else) could be > used to export comment blocks as graphic notes in the text? > Just to add a bit. I do have the following line in my .emacs: (require 'org-exp-blocks) and I have a commen

Re: [O] [PATCH] Agenda: Allow filter list without category in org-agenda-to-appt

2011-10-24 Thread Bastien
Hi Peter, pmli...@free.fr (Peter Münster) writes: > Here the output of "git format-patch master". I hope it's correct, it > was my first git-commit... Yes, that's great -- I could save the patch and apply it without problem. http://orgmode.org/w/?p=org-mode.git;a=commit;h=68ffb7a7cc8cd99a49cf6

[O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Herbert Sitz
I'm trying to see if there is a way to include comments on export, to show up as something like the comments boxes you see in MS Word. I see Eric Schulte did some work on this and that somehow it ended up (I think) as part of what you could do using the org-exp-blocks addon. But I'm not sure how

[O] [PATCH] Agenda: Allow filter list without category in org-agenda-to-appt

2011-10-24 Thread Peter Münster
Hello, Here the output of "git format-patch master". I hope it's correct, it was my first git-commit... --8<---cut here---start->8--- >From 82da273bb0884347762e883786b334302ad3f0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCnster?= Date: Mon, 24 O

Re: [O] BUG: footnote conflicts with code export to pdf

2011-10-24 Thread Nick Dokos
zwz wrote: > >> Then you modify it: > >> #+begin_src org > >> * test > >> #+BEGIN_SRC c > >> void main(){ > >> int a[5]; > >> } > >> #+END_SRC > >> #+end > >> > >> It says "org-export-latex-preprocess: Wrong type argument: stringp, > > nil" > >> when you try to export the file. > >>

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Darlan Cavalcante Moreira
I didn't check the list for 3 days and this thread became a little hard to follow. So, forgive me if I'm "answering" the wrong E-Mail. I liked Christian's idea of using a single "var" property to tell babel which regular properties it should use as variables (ignoring any variable not defined).

Re: [O] Monthly Agenda View Start Date

2011-10-24 Thread Ian Barton
On 24/10/11 07:51, Carsten Dominik wrote: Hi Ian, actually, there was a thread about this yesterday: thread.gmane.org/gmane.emacs.orgmode/48290/focus=48290 On Oct 24, 2011, at 8:34 AM, Ian Barton wrote: I have just started using the month view in Agenda. However, it displays the whole of th

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Thorsten
Nick Dokos writes: > It is documented in sec. 15.2, "Easy Templates", of > the org manual (along with how to add your own): > > (info "(org) Easy Templates") Thanks, I think I should take the dynamics of org-mode more into account - my not so old hard-copy of the manual is already out of date, a

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Nicolas Goaziou
Hello, Christian Moe writes: > But you're right, property inheritance is not on by default and > I forgot to mention that this time around. (I think I did mention it > in the previous long message where I presented the idea.) AFAIK, Babel has always searched its properties with inheritance on,

Re: [O] OPatches for org-generic-export

2011-10-24 Thread Robert Goldman
On 10/24/11 Oct 24 -9:44 AM, Wes Hardaker wrote: >> On Fri, 21 Oct 2011 19:23:04 +0200, Bastien said: > >>> Glad to see someone tinkering with it! yay! > > B> Could you test Robert's patches against latest Org and report > B> any problem? As the author of the generic exporter, you might >

Re: [O] notify, when something to do

2011-10-24 Thread Christopher Allan Webber
Hey Peter, I also do appointments with orgmode.. I have it hooked up so that it sends me messages via XMPP/Jabber. Possibly useful to you: http://dustycloud.org/blog/2010/11/21/emacs-appointment-notifications-via-xmpp pmli...@free.fr (Peter Münster) writes: > Hello, > > I would like to be noti

Re: [O] org-contacts or bbdb?

2011-10-24 Thread Wes Hardaker
> On Sun, 23 Oct 2011 11:36:21 +0200, pmli...@free.fr (Peter Münster) said: >> go mess with the database easily. EG, with BBDB if one area gets a new >> area code you can't go quickly search/replace for all records replacing >> 111 with 222. With org-contacts it's a simple search/replace edi

Re: [O] OPatches for org-generic-export

2011-10-24 Thread Wes Hardaker
> On Fri, 21 Oct 2011 19:23:04 +0200, Bastien said: >> Glad to see someone tinkering with it! yay! B> Could you test Robert's patches against latest Org and report B> any problem? As the author of the generic exporter, you might B> spot problems more easily... I think they looked fine wi

Re: [O] [RFC] Standardized code block keywords

2011-10-24 Thread Darlan Cavalcante Moreira
Does org have TAB completion in "call lines" for names of blocks that can be called? Using "srcname" for blocks of code could make things easier but if this is not the case then I "name" is just fine. -- Darlan At Mon, 24 Oct 2011 08:37:13 +0100, Eric S Fraga wrote: > > Daniel Bausch writes:

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Nick Dokos
Thorsten wrote: > ... > There is, e.g., the shortcut > > ,--- > | `--- > > to insert a code-block, but its somehow underdocumented - I don't > remember, where I read about it, and don't find it in the manual > anymore. > It is documented in sec. 15.2, "Easy Templates", of the org m

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Christian Moe
On 10/24/11 2:11 PM, Sebastien Vauban wrote: (...) But I just have a comment on your second advantage, something that can render your example inefficient: inheritance is not on by default, and you need to enable if for *specific properties*. You can set `org-use-property-inheritance' to t, to

Re: [O] FYI: Org mode testing framework, Emacs 23 and 22

2011-10-24 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: > "Sebastien Vauban" writes: >> Bastien wrote: >>> Jason, depending on our server resources, would that be feasible >>> to run regular (cron'ed) tests? What is the best frequency? >> >> Wouldn't the best frequency be: at every commit? >> >> That's not for the minute

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Sebastien Vauban
Hi all, Christian Moe wrote: >> This all sounds very interesting, but I have problems understanding >> the advantages - possibly because I only had one coffee this morning. > > I think some of the advantages should be clear. > > A second advantage: > --- > > It would allow a great

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Christian Moe
This all sounds very interesting, but I have problems understanding the advantages - possibly because I only had one coffee this morning. It may not be feasible and the disadvantages may outnumber the advantages; we'll see. But having several coffees under my belt already, I'll argue my corn

Re: [O] No updates on git server?

2011-10-24 Thread Rainer M Krug
On Fri, Oct 21, 2011 at 5:39 PM, Bastien wrote: > Rainer M Krug writes: > > > [...] or has org reached a stable state? > > Is it April fools' day already? > > :) > I had the same idea, when no updates arrived for three days > > -- > Bastien > -- Rainer M. Krug, PhD (Conservation Eco

Re: [O] Links to C/C++ source code lines

2011-10-24 Thread Rafal
Bastien altern.org> writes: > > Looks nice, thanks. Just wondering: are you aware of the "A.3 Adding > hyperlink types" section in the manual? You core uses advice instead > of the `org-add-link-type' function -- is that on purpose? > No, I missed that paragraph. That would be a cleaner sol

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Rainer M Krug
On Sat, Oct 22, 2011 at 9:07 PM, Christian Moe wrote: > Hi, > > > Eric Schulte wrote: > >> >> > I can think of three options for how to handle this situation. >> >> 1. If it turns out to be possible/desirable my preferred solution >> here would be to add general property support for appending val

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Thorsten
Hi Eric, Eric Schulte writes: > That combined with a helper for specifying > code blocks (I use yasnippets for this) should serve. I would like to suggest adding the keybindings and shortcuts for specifying code blocks to chapter 14.11 "Key bindings and useful functions" in the manual. I'm sti

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread suvayu ali
Hi Eric, On Sat, Oct 22, 2011 at 18:08, Eric Schulte wrote: > suvayu ali writes: > >> Hi everyone, >> >> I was wondering what people do when they need to put a few (1 or 2) >> lines of code snippets in org files? I like the syntax highlighting one >> gets in an org buffer and in HTML export with

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Rainer M Krug
On Sat, Oct 22, 2011 at 5:52 PM, Eric Schulte wrote: > > > > Just to add to it: at the moment I have e.g: > > > > #+BABEL: :var MAINVERSION=0 > > #+BABEL: :var SVNVERSION=(vc-working-revision (buffer-file-name)) > > #+BABEL: :var SVNSTATE=( symbol-name (vc-state (or (buffer-file-name) > org-curren

Re: [O] [RFC] Standardized code block keywords

2011-10-24 Thread Eric S Fraga
Daniel Bausch writes: > Hi, > >> named code blocks [1] -- "source" "srcname" "function" >> calling external functions [2] -- "call" "lob" >> named data [3] -- "tblname" "resname" "results" "data" > > what about "#+name:" for [1] and [3], and "#+call:" for [2] ? > > That a

Re: [O] Recurring events with exceptions

2011-10-24 Thread Eric S Fraga
Skip Collins writes: [...] > Lemerre's approach only syncs with the Outlook client, not the > Exchange server. He suggests using RFC-2446 (iCalendar) as a basis for > a more general solution. I think that trying to establish a smoothly > syncing connection between org and exchange by using iCal

Re: [O] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Rainer M Krug
On Sat, Oct 22, 2011 at 9:58 AM, Christian Moe wrote: > On 10/21/11 8:40 PM, Rainer M Krug wrote: > >> >> >> Just to add to it: at the moment I have e.g: >> >> #+BABEL: :var MAINVERSION=0 >> #+BABEL: :var SVNVERSION=(vc-working-**revision (buffer-file-name)) >> #+BABEL: :var SVNSTATE=( symbol-name

Re: [O] notify, when something to do

2011-10-24 Thread Sebastien Vauban
Bastien, Bastien wrote: >> - How to distinguish between SCHEDULED and DEADLINE? I'll >> investigate... > > I introduced the ability to use > > (org-agenda-to-appt nil t :scheduled) > > if you just want to get scheduled appointments. This might > speeds things and make them more flexible. I ha

Re: [O] Can't use char ">" in TODO state

2011-10-24 Thread Sebastien Vauban
Hi Nicolas, Nicolas Goaziou wrote: > Bastien writes: >> Michael Brand writes: >> >>> It works with this patch >>> http://patchwork.newartisans.com/patch/964 >>> from Nicolas which I am still using to test it. > >> If so, then Nicolas please apply it. It really simplifies >> the way headlines ar

Re: [O] [RFC] Standardized code block keywords

2011-10-24 Thread Sebastien Vauban
Hi Daniel, Daniel Bausch wrote: >> named code blocks [1] -- "source" "srcname" "function" >> calling external functions [2] -- "call" "lob" >> named data [3] -- "tblname" "resname" "results" "data" > > what about "#+name:" for [1] and [3], and "#+call:" for [2] ? > > That