[O] links to headline in LaTeX export

2012-01-20 Thread Alan Schmitt
{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{amssymb} \usepackage{hyperref} \title{test} \author{Alan Schmitt} \date{20 January 2012} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Title} \label{sec-1} \subsection{Section 1} \label{sec

Re: [O] links to headline in LaTeX export

2012-01-20 Thread Alan Schmitt
On 20 Jan 2012, at 12:05, Eric S Fraga wrote: Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm trying to have links (in the form of \ref and \label) work in LaTeX export, but I cannot seem to succeed. I'm following the advice You could always do this directly using label

Re: [O] links to headline in LaTeX export

2012-01-20 Thread Alan Schmitt
On 20 Jan 2012, at 15:42, Thomas S. Dye wrote: Aloha Alan, Your LaTeX output indicates that this setting: (setq org-export-latex-hyperref-format \\ref{%s}) hasn't taken effect for one reason or another. What do you get with C-h v org-export-latex-hyperref-format RET? I get what I would

Re: [O] links to headline in LaTeX export

2012-01-20 Thread Alan Schmitt
On 20 Jan 2012, at 17:34, Thomas S. Dye wrote: Hmmm, I can't reproduce your results on my setup. What version of Org mode are you using? I'm using the one bundled with Aquamacs 2.4, which is 6.33x. Looking at the web site, I see that it's quite outdated. I'll try to update it this week-end

Re: [O] links to headline in LaTeX export

2012-01-21 Thread Alan Schmitt
On 20 Jan 2012, at 17:42, Alan Schmitt wrote: On 20 Jan 2012, at 17:34, Thomas S. Dye wrote: Hmmm, I can't reproduce your results on my setup. What version of Org mode are you using? I'm using the one bundled with Aquamacs 2.4, which is 6.33x. Looking at the web site, I see that it's

[O] org-support-shift-select and aquamacs

2012-01-26 Thread Alan Schmitt
Hello, I'm trying to use shift selection in the text part of org files, so I set org-support-shift-select to t. Unfortunately it does not work: nothing happens when I try to select text using shift and arrow keys. I'm using Aquamacs 3 (compiled yesterday) and org-mode from git (compiled

Re: [O] org-support-shift-select and aquamacs

2012-01-26 Thread Alan Schmitt
On 26 Jan 2012, at 14:41, Alan Schmitt wrote: Hello, I'm trying to use shift selection in the text part of org files, so I set org-support-shift-select to t. Unfortunately it does not work: nothing happens when I try to select text using shift and arrow keys. I'm using Aquamacs 3 (compiled

[O] Invalid read syntax #?

2012-01-27 Thread Alan Schmitt
Hello, 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 works. Is there something wrong

Re: [O] 500 persons have Org Mode in their Google+ circles

2012-01-27 Thread Alan Schmitt
On 27 Jan 2012, at 16:01, Bastien wrote: Hi all, a while ago, I created a Google+ page for Org Mode. There are now 500 persons who have Org Mode in their circles... This is a nice place to share links, stories, announcements, etc. Here is the page:

Re: [O] Invalid read syntax #?

2012-01-30 Thread Alan Schmitt
On 28 Jan 2012, at 16:55, Bastien wrote: For some reason, the first code block is evaluated twice. Ah, this explains why I was being asked twice if I allowed the code to run. When putting a headline on top of this first block, the error disappears. Sorry I can't help further with this for

Re: [O] How do teachers use org-mode

2012-02-01 Thread Alan Schmitt
On 1 Feb 2012, at 5:10, Venkatesh Choppella wrote: I am interested to hear from others who have used org-mode as part of their teaching activities. I've only very recently started using org-mode, including for teaching an OCaml class (OCaml is a programming language). I'm re-using some old

[O] Summary of syntax?

2012-02-02 Thread Alan Schmitt
Hello, I was just reading a document in org mode that had some code written like this: : make : make install I wanted to know more about this syntax (colon at the start of the line), so I went to the manual and searched for it. Unfortunately I could not find it, nor could I find a summary

Re: [O] Summary of syntax?

2012-02-02 Thread Alan Schmitt
On 2 Feb 2012, at 10:10, Tassilo Horn wrote: I wanted to know more about this syntax (colon at the start of the line), so I went to the manual and searched for it. Here it is. ,[ (info (org)Literal examples) ] | For simplicity when using small examples, you can also start | the example

Re: [O] [ANN] orgbox: Mailbox-like task scheduling in org-agenda.

2014-03-25 Thread Alan Schmitt
))) ;;; org.el ends here This is a great suggestion! As I'm already loading org, I follow a similar approach. I installed the following file (with an updated copyright ;-)) #+begin_src emacs-lisp ;;; org.el --- Dummy org mode package ;; Copyright (C) 2014 Alan Schmitt ;; Version: 3101

Re: [O] adding options to the minted environment of exported source blocks in latex

2014-03-25 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Using attr_latex would be great. Here is the patch. WDYT? It's working great, thanks a lot! Alan

[O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello, I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as self-contained as possible (I don't want them to have to change their emacs configuration file). To change the documentclass name of the exported article, I

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Feng Shu tuma...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm collaborating on a paper with some colleagues, and I convinced them to use org-mode. I'm trying to make sure the paper is as self-contained as possible (I don't want them to have to change

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello Fabrice, Fabrice Niessen fni-n...@pirilampo.org writes: You could have a look at Orgmk [1], a suite of shell scripts I wrote with the following goals in mind: - to be more productive, by running the export only when the source Org files are updated. - *to share some common Emacs

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: My questions are: - is there a way to do this without an emacs-lisp block? Yes there is, with a BIND keyword, e.g.: #+BIND: org-latex-classes ((article \\documentclass{llncs} (\\section{%s} . \\section*{%s}))) Though you need

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: It is in a :noexport: section already. Here is a quick test. Exporting * Test :noexport: #+begin_src sh echo date 1 ~/tmp/results echo `date` ~/tmp/results #+end_src #+begin_src sh

Re: [O] I need help extending ob-ocaml to support :results output

2014-03-26 Thread Alan Schmitt
00:00:00 2001 From: Alan Schmitt alan.schm...@polytechnique.org Date: Wed, 26 Mar 2014 22:23:53 +0100 Subject: [PATCH] ob-ocaml.el: Clean up babel evaluation of ocaml blocks * ob-ocaml.el (org-babel-execute:ocaml): Capture the output, type, and value when evaluating ocaml blocks. Return the one

[O] Chaining strings between babel blocks: why so many '\'?

2014-03-26 Thread Alan Schmitt
Hello, I've been playing with block chaining to generate some dot file then to export then as images. I had a little trouble finding the number of '\' I need to put in front of a quote if I want the quote to be quoted. Here is a way to make it work: --8---cut

Re: [O] Better way to specify the latex documentclass of an exported file without changing my configuration?

2014-03-26 Thread Alan Schmitt
Hello Tom, t...@tsdye.com (Thomas S. Dye) writes: Alan Schmitt alan.schm...@polytechnique.org writes: I usually export in offline mode, so I can keep editing while the export is going on. If you and your colleagues export asynchronously, then the document class (and other environment

[O] ignoreheading in LaTeX export

2014-03-27 Thread Alan Schmitt
Hello, I need to ignore a heading during a LaTeX export (I don't want the section command to be generated, but I need the text to be included; the heading is there because the previous one is tagged with export). I found this solution:

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I need to ignore a heading during a LaTeX export (I don't want the section command to be generated, but I need the text to be included; the heading is there because the previous one

Re: [O] Chaining strings between babel blocks: why so many '\'?

2014-03-27 Thread Alan Schmitt
Hello Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I've been playing with block chaining to generate some dot file then to export then as images. I had a little trouble finding the number of '\' I need to put in front

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: I suggest to use the dedicated MATCH argument for `org-map-entries': (defun as/delete-ignored-heading (backend) Remove every headline with a tag `ignoreheading' in the current buffer. BACKEND is the export back-end being used, as a

[O] recent changes in COMMENT and tangling?

2014-03-27 Thread Alan Schmitt
Hello, Have there been recent changes regarding the COMMENT keyword and tangling? I just saw some blocks whose grand parent is a comment being tangled in my configuration file. Here is an ECM. If you `org-babel-load-file' this file: --8---cut

Re: [O] recent changes in COMMENT and tangling?

2014-03-27 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Have there been recent changes regarding the COMMENT keyword and tangling? I just saw some blocks whose grand parent is a comment being tangled in my configuration file. This should

[O] emphasis borders, double quotes, and export

2014-03-28 Thread Alan Schmitt
Hello, I have removed the single and double quote characters from my configuration of the emphasis borders: #+begin_src emacs-lisp (setcar (nthcdr 2 org-emphasis-regexp-components) \t\n,) (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist)) #+end_src However, the latex export

Re: [O] emphasis borders, double quotes, and export

2014-03-28 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Looking a little deeper into this, it seems to be a regression. I had files with things like ~'a list~ that exported correctly a couple weeks ago that no longer export correctly

Re: [O] emphasis borders, double quotes, and export

2014-03-28 Thread Alan Schmitt
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I have removed the single and double quote characters from my configuration of the emphasis borders: #+begin_src emacs-lisp (setcar (nthcdr 2 org-emphasis-regexp-components) \t\n,) (custom-set-variables `(org-emphasis-alist

Re: [O] ignoreheading in LaTeX export

2014-03-29 Thread Alan Schmitt
Hi Rasmus, Rasmus ras...@gmx.us writes: This is why you would want to use a filter rather than a hook (i.e. you only want to retain the Org structure when exporting). Here's a slightly modified version of the filter I use. Thank you for this suggestion. I went back to my original problem

Re: [O] Chaining strings between babel blocks: why so many '\'?

2014-03-29 Thread Alan Schmitt
Hi Eric, I see you are the author of ob-dot.el. Should I push the attached patch? Thanks, Alan From c6437e8b7132d95ca432b0690bf65ede6e248567 Mon Sep 17 00:00:00 2001 From: Alan Schmitt alan.schm...@polytechnique.org Date: Thu, 27 Mar 2014 13:35:31 +0100 Subject: [PATCH] ob-dot.el: Substitute

Re: [O] I need help extending ob-ocaml to support :results output

2014-03-29 Thread Alan Schmitt
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Hello, Here is a patch that allows for the output of ocaml babel blocks to be captured. It also makes the parsing of the resulting value more robust: results of type string list are now converted to a table, for instance

Re: [O] I need help extending ob-ocaml to support :results output

2014-03-29 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Should I push this patch? Nitpick: it is better to remove the dangling parenthesis prior to this. Thanks. I'm sorry, but I don't see a dangling parenthesis. Where is it? Thanks, Alan

Re: [O] I need help extending ob-ocaml to support :results output

2014-03-29 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: +(mapcar #'org-babel-trim (reverse raw))) + (raw (org-babel-trim clean)) + (result-params (cdr (assoc :result-params params))) + (parsed

[O] problem with call lines with post block that are not exported (elpa org)

2014-04-01 Thread Alan Schmitt
Hello, I'm writing a paper with some colleagues for a conference, and we've just stumbled on a strange bug. My colleague is using org from elpa, and is having the problem, whereas I'm compiling using a very current org version and everything works for me. The problem is as follows. Given this

[O] Computing the value of some cells of a table using a named code block

2014-04-02 Thread Alan Schmitt
Hello, I have a table that summarizes my monthly budget, and I would like to add a column where I compute my actual spending. I can get this information using a shell script, but I don't know how to integrate it in the table. Here is a contrived example: --8---cut

Re: [O] Computing the value of some cells of a table using a named code block

2014-04-02 Thread Alan Schmitt
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: When there is no named source block involved I use just | Category | Budget | Spending | |--++--| | Food | 1000 | Food | | Rent | 1000 | Rent | #+TBLFM: $3 = '(org-trim

Re: [O] Prepare release 8.2.6

2014-04-03 Thread Alan Schmitt
Hi Bastien, Bastien b...@altern.org writes: Hi all, I'll spend a few hours this afternoon chasing the last bugs in maint for Org 8.2.6. This release will then be merged into the emacs-24 branch, which first pretest is to be released very soon now. If you have outstanding bugs, please

[O] using org-babel-trim in org-sbe?

2014-04-03 Thread Alan Schmitt
Hello, I noticed a call to org-sbe failed because there were some extra spaces present in one argument. I tried to clean them up before calling the code block, but instead I'm getting literally what I'm writing. Here is an example: --8---cut here---start-8---

Re: [O] emphasis borders, double quotes, and export

2014-04-04 Thread Alan Schmitt
Hello Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Looking a little deeper into this, it seems to be a regression. I had files with things like ~'a list~ that exported correctly a couple weeks ago that no longer export

Re: [O] emphasis borders, double quotes, and export

2014-04-05 Thread Alan Schmitt
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I'm afraid it broke again (it was fixed for a while, but I recently updated org and it's now broken). ECM: exp_init.el: (add-to-list 'load-path /Users/schmitta/projets

Re: [O] emphasis borders, double quotes, and export

2014-04-06 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Thank you for the suggestion. How can I do that? Add an (org-reload) in my async init file? Is there a more efficient way than loading org, setting the variable, and immediately reloading

Re: [O] emphasis borders, double quotes, and export

2014-04-06 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I assume the problem is that I want to change only one field of `org-emphasis-regexp-components' but it's not possible to do so because it's not defined before org is loaded. I guess

Re: [O] emphasis borders, double quotes, and export

2014-04-07 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Thanks, I'm aware this works. I was trying not to manually set some default values so that, if default changes, I would benefit from the change. But from what I understand there is not really

[O] tiny patch for org-expiry

2014-04-12 Thread Alan Schmitt
Hello, I'm trying to write some code to schedule reviews of projects, and I'm basing it on org-expiry. I found a couple of tiny bugs with it, which may be fixed with this patch. Best, Alan From f38fe30c5c6115d33755a1c9f052cb01d1434d79 Mon Sep 17 00:00:00 2001 From: Alan Schmitt alan.schm

Re: [O] tiny patch for org-expiry

2014-04-14 Thread Alan Schmitt
On 2014-04-13 00:11, Bastien b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I'm trying to write some code to schedule reviews of projects, and I'm basing it on org-expiry. I found a couple of tiny bugs with it, which may be fixed with this patch. I Now

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

2014-04-16 Thread Alan Schmitt
Hello, I have several babel blocks that each work well, but I'm now trying to chain them to build some bigger functionality out of them. I'm having trouble finding out how to pass arguments between blocks. Here is a small example: --8---cut here---start-8---

Re: [O] Chaining strings between babel blocks: why so many '\'?

2014-04-16 Thread Alan Schmitt
On 2014-04-16 17:37, Bastien b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I see you are the author of ob-dot.el. Should I push the attached patch? I applied the patch in the master branch, so that Eric can revert it without too much trouble if needed

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

2014-04-17 Thread Alan Schmitt
Hello Charles, On 2014-04-16 22:49, Charles Berry ccbe...@ucsd.edu writes: I have several babel blocks that each work well, but I'm now trying to chain them to build some bigger functionality out of them. I'm having trouble finding out how to pass arguments between blocks. Here is a small

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

2014-04-17 Thread Alan Schmitt
On 2014-04-17 12:24, Thorsten Jolitz tjol...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: #+name:test2 #+begin_src emacs-lisp :var z=bar (let ((y (org-sbe test1 (x (intern z) y) #+end_src Thank you for the suggestion, but it returns a symbol

Re: [O] problem with call lines with post block that are not exported (elpa org)

2014-04-17 Thread Alan Schmitt
On 2014-04-17 15:51, Bastien b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: My questions are: - is there a bug in the ELPA version of org mode? most probably. - is there a workaround? We tried :exports results instead of :exports none but the blocks

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

2014-04-18 Thread Alan Schmitt
Hi Eric, On 2014-04-17 07:42, Eric Schulte schulte.e...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: How can I execute block `test1' from block `test2' by passing an argument that is one from test2? #+name: z : bar #+name: test1 #+begin_src emacs-lisp :var x

Re: [O] Request for worg page -- escaping questions

2014-04-18 Thread Alan Schmitt
Hi Rustom, On 2014-04-18 05:21, Rustom Mody rustompm...@gmail.com writes: What I would like is a graphic -- an automata-diagram made perhaps by dot. Can that easily/conveniently go up onto worg? I don't know how worg's export is configured, but something like this may work ...

Re: [O] (OT) How to follow a mailing list with very high activity (like this one here)?

2014-04-18 Thread Alan Schmitt
On 2014-04-17 17:30, Eric S Fraga e.fr...@ucl.ac.uk writes: During the last years, I'be become a real org-mode fan and I want to stay current and be active in the great org-mode community. I've subscribed to the orgmode mailinglist about 1,5 years ago and so I have 17.500 mails in my inbox.

[O] How do I define `org-agenda-cmp-user-defined'?

2014-04-18 Thread Alan Schmitt
Hello, I'm working on a way to schedule reviews of projects, and I would like to have them ordered by age in an agenda view. It seems that I want to write my own `org-agenda-cmp-user-defined' function to do so. Unfortunately I cannot find an example of such a function. More precisely, given

Re: [O] Weaving a budget with Org ledger

2014-04-18 Thread Alan Schmitt
Hi, On 2014-02-21 05:59, Erik Hetzner e...@e6h.org writes: Users of ledger and Org may be interested in this tutorial on how I manage an envelope style budget with those two excellent tools. http://orgmode.org/worg/org-tutorials/weaving-a-budget.html Thanks to this nice description, I

Re: [O] using org-babel-trim in org-sbe?

2014-04-18 Thread Alan Schmitt
On 2014-04-18 15:17, Bastien b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: #+TBLFM: $2='(org-sbe spending (c (concat \ $1 \)))::$3='(org-sbe spending (c (concat \ (org-babel-trim $1) \))) You need to swap concat and org-babel-trim like this: #+TBLFM

Re: [O] How do I define `org-agenda-cmp-user-defined'?

2014-04-18 Thread Alan Schmitt
On 2014-04-18 15:21, Bastien b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: More precisely, given this: ,- | (defun org-review-schedule-compare (a b) | Compares

[O] org-review-schedule

2014-04-18 Thread Alan Schmitt
Hello, I've just finished writing a little bit of code that allows the scheduling of reviews. The basic idea is that every task that is supposed to be reviewed has a LAST_REVIEW property (a date when the task / project was last reviewed), and optionally a REVIEW_DELAY property (with 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 b...@gnu.org 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

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

2014-04-22 Thread Alan Schmitt
Hi Eric, On 2014-04-20 03:41, Eric Schulte schulte.e...@gmail.com writes: --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

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

2014-04-22 Thread Alan Schmitt
Hi Eric, On 2014-04-22 13:30, Eric Schulte schulte.e...@gmail.com writes: Sorry, that's because the x should be z. See the following. #+name: z : bar #+name: test3 #+begin_src emacs-lisp :var x=foo x #+end_src #+RESULTS: test3 : foo #+name:test4 #+begin_src emacs-lisp :var

Re: [O] org-review-schedule

2014-04-24 Thread Alan Schmitt
Hi Bastien, On 2014-04-19 10:14, Bastien b...@gnu.org writes: Hi Alan, thanks for sharing -- some comments: - you need to update the copyright of the file; I changed the date. As I signed the FSF paper, do I need to change the name as well and put mine? - example code in section 3 of the

Re: [O] org-review-schedule

2014-04-25 Thread Alan Schmitt
Hi Nicolas, Thanks a lot for these very helpful comments. I'll take them into account. I have a couple questions of my own now. On 2014-04-25 08:51, Nicolas Goaziou n.goaz...@gmail.com writes: I would like to propose to add this to the contrib directory, but I don't know the procedure to

Re: [O] org-review-schedule

2014-04-26 Thread Alan Schmitt
Hi Nicolas, I've changed all of these, and I will keep testing it over the next few days. I have one question remaining, though. On 2014-04-25 08:51, Nicolas Goaziou n.goaz...@gmail.com writes: (if (time-less-p nt (current-time)) nt) This is a matter of taste, but I find

Re: [O] org-review-schedule

2014-04-27 Thread Alan Schmitt
On 2014-04-25 10:02, Nicolas Goaziou n.goaz...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: I guess I should have asked: who decides what goes in contrib? The Org maintainer. Another option is to turn it into an ELPA package. I need to learn how to do

Re: [O] org-review-schedule

2014-04-27 Thread Alan Schmitt
On 2014-04-26 14:25, Nicolas Goaziou n.goaz...@gmail.com writes: Thorsten Jolitz tjol...@gmail.com writes: the answer is in the quote already: ,- | Since return value matters, I suggest to use ... `-

Re: [O] org-review-schedule

2014-04-28 Thread Alan Schmitt
Hi Alexander, On 2014-04-28 09:20, AW alexander.will...@t-online.de writes: Am Sonntag, 27. April 2014, 10:09:35 schrieb Alan Schmitt: On 2014-04-25 10:02, Nicolas Goaziou n.goaz...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: I guess I should have asked: who

Re: [O] org-babel pass data between blocks

2014-04-28 Thread Alan Schmitt
On 2014-04-28 14:41, Marvin Doyley marvin...@gmail.com writes: Dear All, Is there way to pass data between blocks in org-babel. For example lets say have two blocks #+begin_src python from pylab import * # Simple carrier t=linspace(0,1,100); fc=100; Ac =1; C=Ac*cos(2*pi*t);

Re: [O] Is OrgMode really GTD compliant?

2014-04-29 Thread Alan Schmitt
Hi, On 2014-04-28 19:18, Rene jl...@yahoo.com writes: I'm not used to defining new properties in orgmode. I'll try to define an Energy property as well as functions like org-agenda-cmp-user-defined in order to correctly use org-agenda-sorting-strategy, unless someone has already done so...

Re: [O] Is OrgMode really GTD compliant?

2014-04-29 Thread Alan Schmitt
Hi Samuel, On 2014-04-29 12:30, Samuel Loury konubi...@gmail.com writes: Hi, Alan Schmitt alan.schm...@polytechnique.org writes: On 2014-04-28 19:18, Rene jl...@yahoo.com writes: I have not defined an Energy property, but I recently played with date properties (and a user defined sorting

Re: [O] Is OrgMode really GTD compliant?

2014-04-29 Thread Alan Schmitt
On 2014-04-29 15:31, Bastien b...@gnu.org writes: Hi Samuel, Samuel Loury konubi...@gmail.com writes: In that case, OBJECT is not the current buffer but a string called 'a'. Thus, IIUC, it makes no sense to use OBJECT=a and POSITION=(point-min). Indeed. It should be 0 in this case,

[O] Profiling capture input

2014-04-30 Thread Alan Schmitt
Hello, I must have changed something in my configuration recently, since I'm noticing some lag when I type in an org capture window. I would like to figure out what slows things down, but I have no idea where to start. Is there a way of profiling what is going on as I type in that window, to find

Re: [O] [ANN] Gnorb: Glue code between Gnus, Org, and BBDB

2014-05-09 Thread Alan Schmitt
Hello Eric, On 2014-05-07 03:23, Eric Abrahamsen e...@ericabrahamsen.net writes: I've spent the past couple weeks organizing various bits of code into a proper package, called Gnorb, which I'm billing as Glue code between Gnus, Org, and BBDB. The main point is to reduce friction between these

Re: [O] Can org-mode 8 be used together with ergoemacs?

2014-05-09 Thread Alan Schmitt
On 2014-05-09 15:14, Martin Beck elwood...@web.de writes: I recently stumbled upon ergoemacs (http://ergoemacs.org/ ) and as I'm quite new to emacss, it would not be too late (I suppose) to re-learn the keystrokes. As I am typing a lot, I'm concerned about RSI and I wonder: does it make

Re: [O] [ANN] Gnorb: Glue code between Gnus, Org, and BBDB

2014-05-10 Thread Alan Schmitt
On 2014-05-10 12:32, Eric Abrahamsen e...@ericabrahamsen.net writes: Alan Schmitt alan.schm...@polytechnique.org writes: I usually avoid putting links in my tasks. For instance, the task I generated from your email to the list looks like this: TODO Reply to this when I will have

Re: [O] [ANN] Gnorb: Glue code between Gnus, Org, and BBDB

2014-05-10 Thread Alan Schmitt
On 2014-05-10 18:36, Eric Abrahamsen e...@ericabrahamsen.net writes: Right now (this code hasn't been pushed yet), the GNORB_MSG_IDS property is used in the *other* direction: when you receive a message that might be relevant to a TODO (ie the second of the three mail functions I mentioned),

Re: [O] org-review-schedule

2014-05-20 Thread Alan Schmitt
Hi Bastien, On 2014-05-15 12:07, Bastien b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I need to learn how to do this. In the meantime, I've put the code on github: https://github.com/brabalan/org-review Since the big secret plan to move contrib/ files

Re: [O] org-review-schedule

2014-05-21 Thread Alan Schmitt
Hi Bastien, On 2014-05-21 14:08, Bastien b...@gnu.org writes: Thank you for the opportunity. I've been getting spoiled by the use of github (to track issues, and to have documentation at the same place than the code). I'm wondering if there is a way to have the code both on github and in the

Re: [O] [FR] Archive subtree with parent structure

2014-05-29 Thread Alan Schmitt
On 2014-05-28 21:39, Bastien b...@gnu.org writes: Hi Florian, Florian Lindner mailingli...@xgm.de writes: If I also archive AB after that, it gets inserted in the structure which is now identical to the structure we started with. FR noted, thanks. I'm curious to see if people would

[O] babel and computing a number of months

2014-06-02 Thread Alan Schmitt
Hello, I need to work with dates for some code/scripts I'm writing in a document making heavy usage of source blocks and babel evaluation. The good news is that I have access to many programming languages, so the bad news is I don't know which one to choose. The problem I want to solve is the

Re: [O] babel and computing a number of months

2014-06-02 Thread Alan Schmitt
On 2014-06-02 10:13, Alexis flexibe...@gmail.com writes: Alan Schmitt writes: I need to work with dates for some code/scripts I'm writing in a document making heavy usage of source blocks and babel evaluation. The good news is that I have access to many programming languages, so the bad

[O] small patch to org-mac-link (grab selected messages in Mail.app)

2014-06-04 Thread Alan Schmitt
if they are there, but I don't think it's needed (I don't see how they could occur there). Best, Alan From 17dfd1cbee7355016c04f8ae09e102813651db86 Mon Sep 17 00:00:00 2001 From: Alan Schmitt alan.schm...@polytechnique.org Date: Wed, 4 Jun 2014 11:47:09 +0200 Subject: [PATCH] org-mac-link.el

Re: [O] org-weather for openweathermap.org

2014-06-16 Thread Alan Schmitt
On 2014-06-16 10:04, Rüdiger Sonderfeld ruedi...@c-plusplus.de writes: Hi, On Saturday 14 June 2014 15:11:21 Chris Raschl wrote: recently I wanted to add a weather forecast to my org-agenda. I found org-google-weather, but this package is obsolete since 2012, because the API is not

[O] passing the contents of a block as an escaped string

2014-06-24 Thread Alan Schmitt
Hello, I'm trying to write some filters from Pygments, and to record what I'm doing and make my life simpler, I'm doing it in an orgmode buffer. In that buffer, I have the code I want to highlight in a source block, and the python code for the Pygments extension in another block. I'm trying to

Re: [O] passing the contents of a block as an escaped string

2014-06-26 Thread Alan Schmitt
Hello Charles, On 2014-06-24 18:37, Charles Berry ccbe...@ucsd.edu writes: , | #+NAME: prin-block | #+BEGIN_SRC emacs-lisp :var a=abc | (defun foo (blk) | (save-excursion | (org-babel-goto-named-src-block blk) | (nth 1 (org-babel-get-src-block-info 'light |

[O] babel evaluation of python and utf-8

2014-06-26 Thread Alan Schmitt
Hello, I'm having trouble with the babel evaluation of python blocks containing utf-8 encoded characters (which is the encoding of my org file). I tried the approach suggested in this message https://lists.gnu.org/archive/html/emacs-orgmode/2010-12/msg00086.html in the following block

Re: [O] /some 'text'/

2014-06-26 Thread Alan Schmitt
On 2014-06-26 03:38, Alan L Tyree alanty...@gmail.com writes: I have the following expression in my manuscript: /Caltex Oil (Aust) Pty Ltd v The Dredge 'Willemstad'/ [1976] HCA 65 I want the /.../ part to be italicised on export, but (of course) it isn't. The variable

Re: [O] babel evaluation of python and utf-8

2014-06-26 Thread Alan Schmitt
On 2014-06-26 09:35, Alan Schmitt alan.schm...@polytechnique.org writes: #+BEGIN_SRC python :prefix # -*- coding: utf-8 -*- :results output print(u'∀') #+END_SRC I see that somewhere the email did not get through, the character above is a forall character. I have the same problem

Re: [O] org-ref in action

2014-06-26 Thread Alan Schmitt
On 2014-06-26 16:39, Matt Lundin m...@imapmail.org writes: By contrast, ox-bibtex.el runs citations through bibtex2html, which is pretty much limited to the old-fashioned bibtex formats. What would be required for bibtex2html to take biblatex input? I thought the backend format was similar or

Re: [O] org-ref in action

2014-06-27 Thread Alan Schmitt
On 2014-06-26 20:44, Matt Lundin m...@imapmail.org writes: Alan Schmitt alan.schm...@polytechnique.org writes: On 2014-06-26 16:39, Matt Lundin m...@imapmail.org writes: By contrast, ox-bibtex.el runs citations through bibtex2html, which is pretty much limited to the old-fashioned bibtex

Re: [O] still seeing semi-regular lockups

2014-06-27 Thread Alan Schmitt
I've also just been bitten by this bug, as I was doing my weekly review. I'll try to see if I can write an ECM, but for the record this is what I was doing: I was in an agenda view sorted by the value of a LAST_REVIEW property, and I was repeatedly calling this function on the entries of the view:

Re: [O] still seeing semi-regular lockups

2014-06-30 Thread Alan Schmitt
On 2014-06-30 03:43, York Zhao gtdplatf...@gmail.com writes: I know that doesn't help much except for confirming the problem other people was suffering. Sorry for the rant. I was too busy and too frustrated. By the way, what does ECM stands for? Exemple Complet Minimal (French for minimal

Re: [O] babel evaluation of python and utf-8

2014-07-04 Thread Alan Schmitt
On 2014-06-26 18:07, Daniel Clemente n142...@gmail.com writes: #+BEGIN_SRC python :prefix # -*- coding: utf-8 -*- :results output print(u'é') #+END_SRC I also see the same problem here. Even if you include # -*- coding: utf-8 -*-as the first line. Shouldn't org-babel already be

[O] cache problem, with ECM

2014-07-09 Thread Alan Schmitt
Hello, I noticed this morning, after updating org-mode to the latest version, that I would get an error with a trace related to a cache even if a just started emacs. It took me a while to get down to an ECM, but here it is. The init file used: --8---cut

Re: [O] emails written in Org Mode

2014-07-10 Thread Alan Schmitt
Hello, On 2014-07-09 09:49, Thorsten Jolitz tjol...@gmail.com writes: Yes, I use Gnus and thus write my mails in message-mode. My setup is the standard outshine.el + outorg.el setup, since it works out-of-the-box with message-mode, given you follow the installation description. I've

Re: [O] ~C-c '~ not code

2014-07-10 Thread Alan Schmitt
On 2014-07-08 11:36, Axel Kielhorn org-m...@axelkielhorn.de writes: Hello, I'm writing a manual and I found the following problem: ~C-c '~ is not recognized as code. The following You should probably remove the quote from the list of boundary items in org-emphasis-regexp-components. This is

  1   2   3   4   5   6   7   8   9   >