Re: [O] feature suggestion: apply datetime prompt magic to selected region

2011-10-24 Thread Bastien
Hi Brian, suvayu ali fatkasuvayu+li...@gmail.com writes: Ah I see it now, you want the org-timestamp command to work on a region. Maybe you can write your own function with lisp if you are doing this too often. Should be quite simple to try. Please check

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

2011-10-24 Thread zwz
Nick Dokos nicholas.do...@hp.com writes: zwz zhangwe...@gmail.com wrote: Steps to reproduce it: This org file can be exported to pdf correctly. #+begin_src org * test #+BEGIN_SRC c void main(){ int a; } #+END_SRC #+end Then you modify it: #+begin_src org * test

[O] Monthly Agenda View Start Date

2011-10-24 Thread Ian Barton
I have just started using the month view in Agenda. However, it displays the whole of the current month, starting from the first. What I really want is to display a month's view from today. I relize that I can do this with a custom Agenda command, but is there aready some variable I can set

Re: [O] Monthly Agenda View Start Date

2011-10-24 Thread Carsten Dominik
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 the current month, starting from the first.

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 a table or list contains data

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

2011-10-24 Thread Sebastien Vauban
Hi Nicolas, Nicolas Goaziou wrote: Bastien b...@altern.org writes: Michael Brand michael.ch.br...@gmail.com 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

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 have the

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 m...@christianmoe.comwrote: 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=(

Re: [O] Recurring events with exceptions

2011-10-24 Thread Eric S Fraga
Skip Collins skip.coll...@gmail.com 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

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

2011-10-24 Thread Eric S Fraga
Daniel Bausch danielbau...@gmx.de 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 table or list

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 schulte.e...@gmail.comwrote: 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)

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 schulte.e...@gmail.com wrote: suvayu ali fatkasuvayu+li...@gmail.com 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

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Thorsten
Hi Eric, Eric Schulte schulte.e...@gmail.com 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

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 m...@christianmoe.comwrote: 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

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

2011-10-24 Thread Rafal
Bastien bzg at 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

Re: [O] No updates on git server?

2011-10-24 Thread Rainer M Krug
On Fri, Oct 21, 2011 at 5:39 PM, Bastien b...@altern.org wrote: Rainer M Krug r.m.k...@gmail.com 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,

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

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 deal of

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

2011-10-24 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com 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

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] Source blocks for tiny snippets

2011-10-24 Thread Nick Dokos
Thorsten quintf...@googlemail.com wrote: ... There is, e.g., the shortcut ,--- | s TAB `--- 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

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 e.fr...@ucl.ac.uk wrote: Daniel

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

2011-10-24 Thread Wes Hardaker
On Fri, 21 Oct 2011 19:23:04 +0200, Bastien b...@altern.org 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

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 edit. PM But

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

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 b...@altern.org 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] [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines

2011-10-24 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com 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

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Thorsten
Nick Dokos nicholas.do...@hp.com 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

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

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] BUG: footnote conflicts with code export to pdf

2011-10-24 Thread Nick Dokos
zwz zhangwe...@gmail.com 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. You didn't

[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?= p...@free.fr Date:

[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

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.

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

2011-10-24 Thread Herbert Sitz
Herbert Sitz hesitz at 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

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

2011-10-24 Thread Nick Dokos
Herbert Sitz hes...@gmail.com wrote: Herbert Sitz hesitz at 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:

[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

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 In end

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

2011-10-24 Thread Jambunathan K
Herbert Sitz hes...@gmail.com 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

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

2011-10-24 Thread Eric Schulte
Chris Malone chris.m.mal...@gmail.com 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] [RFC] Standardized code block keywords

2011-10-24 Thread Eric Schulte
Sebastien Vauban wxhgmqzgw...@spammotel.com 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 [3], and

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Eric Schulte
Nick Dokos nicholas.do...@hp.com writes: Thorsten quintf...@googlemail.com wrote: ... There is, e.g., the shortcut ,--- | s TAB `--- 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.

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 special

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

2011-10-24 Thread Nick Dokos
Jambunathan K kjambunat...@gmail.com 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

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