Re: [O] Org-mode documentation within Emacs

2013-04-24 Thread Alan Schmitt
Xiao-Yong Jin writes: > I guess you changed the plist of Emacs.app? No, I set /etc/launchd.conf (and I also set the INFOPATH in my .zshrc). > That's not really required. How do you install your emacs? Homebrew, using this version: https://github.com/railwaycat/emacs-mac-port > On my machine,

Re: [O] Using Eric Schulte's starter kit with org mode from source

2013-04-24 Thread Alan Schmitt
Eric Schulte writes: > I don't understand why you can't put this code into your normal > configuration file? Because it may load too many things. I thought I could killed two birds with one stone: get a faster async export, and git it working. > If the error is thrown *before* your main configu

Re: [O] Using Eric Schulte's starter kit with org mode from source

2013-04-24 Thread Alan Schmitt
Eric Schulte writes: >> >> I've turned on the debugger, and there is something that I find a bit >> strange. Here are the last few lines. >> >> , >> | >> load("/var/folders/68/fvntfrw92y50gkk_67rkhsfwgn/T/org-export-process77683E90" >> nil t) >> | command-line-1(("-l" "/Users/schmitt

Re: [O] Using Eric Schulte's starter kit with org mode from source

2013-04-25 Thread Alan Schmitt
Thomas S. Dye writes: > I tangle the initialization file (init.el) from my document. Everything > is contained in the one Org file. > > Asynchronous export works really well for me. As I don't install org from elpa, I removed the after-init-hook part (so I load the starter kit immediately), and

Re: [O] Using Eric Schulte's starter kit with org mode from source

2013-04-26 Thread Alan Schmitt
Eric Schulte writes: >> As I don't install org from elpa, I removed the after-init-hook part (so >> I load the starter kit immediately), and everything now works. > > With my latest push to the starter kit you can now simply set the > ORG_HOME environment variable instead of modifying that file lo

[O] ignoring subtrees scheduled in the future

2013-04-26 Thread Alan Schmitt
Hello, I'm planning some projects for next September, and I don't want to see them in my agenda till then. These projects have a schedule date in the future, but none of their subtasks have one (there are many of them). I've found the very nice (org-agenda-skip-subtree-if 'scheduled) option for

Re: [O] ocaml babel no longer works?

2013-05-02 Thread Alan Schmitt
urned by the toplevel is: (identifier | -) : type = value where the identifier cannot have the ':' character. Here is the corresponding diff: , | @@ -113,7 +116,7 @@ | (defun org-babel-ocaml-parse-output (output) |"Parse OUTPUT. | OUTPUT is string output from an ocaml pr

[O] Patch for asynchronous export of ocaml code

2013-05-02 Thread Alan Schmitt
ith this patch (and setting `org-confirm-babel-evaluate' to nil), I'm able to export documents requiring the evaluation of caml code asynchronously. Alan >From 065cba70ae83b9483636b399604a64c0530eb463 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Thu, 2 May 2013 16:57:29 +0200 S

[O] How to ensure code blocks are run during export?

2013-05-02 Thread Alan Schmitt
Hello, I'm writing an exam in org mode, and it's going really well. I need to have some code in code blocks being run during export (as it's defining some functions for later questions), but I don't want anything to be displayed in the final document. At the moment I use the following options in t

Re: [O] How to ensure code blocks are run during export?

2013-05-03 Thread Alan Schmitt
Sebastien Vauban writes: > Alan, > > Alan Schmitt wrote: >> I'm writing an exam in org mode, and it's going really well. I need to >> have some code in code blocks being run during export (as it's defining >> some functions for later questions), but I don

Re: [O] How to ensure code blocks are run during export?

2013-05-03 Thread Alan Schmitt
Sebastien Vauban writes: > The following does work. It does, I agree, but this does not. If you run export on this: --8<---cut here---start->8--- # -*- org-confirm-babel-evaluate: nil -*- Setting the stage #+BEGIN_SRC ocaml :results silent :exports none let

Re: [O] How to ensure code blocks are run during export?

2013-05-03 Thread Alan Schmitt
Hi Sebastien, Sebastien Vauban writes: > I don't know OCaml at all, so I cannot try your example locally on my > machine. And I don't know about other languages that support sessions, unfortunately. > Though, you speak of "session": where is your session header argument? Isn't > that the probl

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Viktor Rosenfeld writes: > Hi Alan, > > I've removed the defaults from OPENING and CLOSING. See the attached > patch. Thanks, I've applied it. To magit/emacs users: is there a way to apply a patch (with signoff) directly from emacs (I guess with magit)? I typically go to a shell to do so ... Al

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Hi Victor, Viktor Rosenfeld writes: > Hi Rasmus and Alan, > > I've changed the code so the value for foldmarks is passed through to > KOMA-Script. It's a bit ugly insofar as one has to specify > foldmarks:true to use the default values instead of other options, such > as backaddress:t. However, s

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Viktor Rosenfeld writes: >> I have a question about this: is there some special magic that makes the >> string "nil" to be parsed as `nil' and not as the string? > > I assume there must be. If I specify `foldmarks:nil' the if-statement in > line 294 evaluates it as false: > > #+BEGIN_SRC emacs-lis

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Viktor Rosenfeld writes: > Hi Alan, > > I've pushed a draft tutorial to Worg, but it's not published yet. Do you > know if there is a delay or if I have to do anything else? I saw the > publishing process output after my push which ended with the following: > >remote: Publishing file /home/ema

Re: [O] ocaml babel no longer works?

2013-05-05 Thread Alan Schmitt
Hello, I've been using this patch for the last few days and I have not found any issue with it. Can I apply it? Thanks, Alan Alan Schmitt writes: > Hello, > > I'm resurrecting this old thread as I've made some progress but I > still have questions. > &g

Re: [O] Patch for asynchronous export of ocaml code

2013-05-05 Thread Alan Schmitt
Hello, Can I apply this patch? Thanks, Alan Alan Schmitt writes: > Hello, > > It is not currently possible to asynchronously export the results of the > evaluation an ocaml babel block because the evaluation needs to start a > toplevel > and thus asks the user what progr

Re: [O] ocaml babel no longer works?

2013-05-07 Thread Alan Schmitt
Eric Schulte writes: > I think each of these patches in an improvement over the existing > behavior. Please do apply them all. I just applied them. Best, Alan

Re: [O] Patch for asynchronous export of ocaml code

2013-05-07 Thread Alan Schmitt
Eric Schulte writes: > This looks great, please apply this patch. Done. Alan

Re: [O] Patch for asynchronous export of ocaml code

2013-05-07 Thread Alan Schmitt
Hello, I just applied a small bugfix for this: it seems that the first time the toplevel is started, something is mixed up in the buffers and the first exported result end up in the toplevel buffer instead of the export buffer. I put back the `save-window-excursion' around the code that starts the

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-14 Thread Alan Schmitt
Hi Viktor, Viktor Rosenfeld writes: > Hi Alan, > > I just wanted to let you know that the tutorial is now online. I haven't > linked to it from the org-tutorials page yet, in case you want to take a > look. You can find it at > http://orgmode.org/worg/org-tutorials/koma-letter-export.html This i

Re: [O] [patch] ox-koma-letter.el: credit [1/4]

2013-05-20 Thread Alan Schmitt
Rasmus writes: > This one just updates the credit: most importantly with Viktor. This is a great idea, however you seem to have forgotten the patch. Alan

Re: [O] [patch] ox-koma-letter.el: subject changes [2/4]

2013-05-20 Thread Alan Schmitt
Hello Rasmus, Rasmus writes: > This could be a problematic change. It changes the way :with-subject > works. I've added changes to allow the subject style to be choose as > a radio list with customize. The reason is that LaTeX becomes unhappy > if it is not a supported value. If #+OPTIONS sub

Re: [O] [patch] ox-koma-letter.el: credit [3/4]

2013-05-20 Thread Alan Schmitt
Hello again, Rasmus writes: > This is probably the most fun change. It adds special tags PS, ENCL, > CC, AFTER_CLOSING as in my last patch set, but it uses heading this > time. E.g. ENCLs are under the heading * ENCL :ENCL:. This was > suggested by Nicolas, and it's nicer. The ideas comes fro

Re: [O] [patch] ox-koma-letter.el: credit [1/4]

2013-05-20 Thread Alan Schmitt
Rasmus writes: > Alan Schmitt writes: > >> Rasmus writes: >> >>> This one just updates the credit: most importantly with Viktor. >> >> This is a great idea, however you seem to have forgotten the patch. > > Right. Need to figure out that git email p

Re: [O] [patch] ox-koma-letter.el: subject changes [2/4]

2013-05-21 Thread Alan Schmitt
Rasmus writes: > I found a "bug" in that the subject variable should be a list cf. the > KOMA manual. This patch fixes this. > > It's pretty complex for something so simple, and I might be inclined > to admit to the "put it in a LCO"-file approach might be better. I'd really like to have a secon

Re: [O] [patch] ox-koma-letter.el: clean-up/semantic bug [4/4]

2013-05-21 Thread Alan Schmitt
Rasmus writes: > Alan Schmitt writes: > >>> It seems there are some semantic bugs in ox-koma-letter.el in that new >>> variables are introduces for SENDER (as opposed to AUTHOR) and a >>> separate email variable as well. This seems like a semantic bug IMO. >

Re: [O] [OT] Gnus mail tutorial?

2013-05-25 Thread Alan Schmitt
Glyn Millington writes: > For me Gnus is the gold standard among mail/news clients. It can be hard > work to set it up but it is worth it. Alas, some good resources have > actually vanished from the web over the years. Can Gnus be directly used with local mail in maildir format? If so, one cou

Re: [O] [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults (was Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4])

2013-05-25 Thread Alan Schmitt
Hello, Viktor Rosenfeld writes: > Hi Robert, > > Robert Klein wrote: > >> Hi, >> >> FWIW, from a users view it would be nice if: >> >> - Use Author/Email information from org file >> - If not present use information from LCO file >> - if neither org file nor LCO file has any information use >>

Re: [O] [PATCH][ox-koma-letter]: sender, email and cleanup

2013-05-26 Thread Alan Schmitt
Rasmus writes: > Viktor, > >>> 1. Viktor's latest patch. >>> 2. The patch describe above that gets user name and email and works >>> on my system. . . >> >> Your code works for me. From my point of view, the pros are that per >> default `org-koma-letter-{author,sender}' pick up the values

[O] koma letter exporter: changing the priority of options

2013-06-09 Thread Alan Schmitt
Hello, I just had to write a new letter with a fresh LCO file, and I would like to propose to change the priority of options. The current priority is: local options > emacs variables > lco file. Unfortunately emacs variables have a default value, which means they are output in the .tex file even

Re: [O] koma letter exporter: changing the priority of options

2013-06-10 Thread Alan Schmitt
Viktor Rosenfeld writes: > Hi Alan, > > Alan Schmitt wrote: > >> Hello, >> >> I just had to write a new letter with a fresh LCO file, and I would like >> to propose to change the priority of options. The current priority is: >> local options > ema

Re: [O] [patch][ox-koma-letter] Support for to and from headings

2013-06-12 Thread Alan Schmitt
Hi Rasmus, Rasmus writes: > Rasmus writes: > >> Rasmus writes: >> >>> Hi, >>> >>> Some more patches that should work against the master branch. >>> >>> Patch 1: bug fixes. Most notably use symbols some places rather than >>> strings. >>> >>> Patch 2 adds support for TO and FROM headings. If y

[O] How to do a sum of products in a table?

2013-06-14 Thread Alan Schmitt
Hello, I'm grading an exam, and I'm trying to use org instead of Numbers to tabulate the results. For each student, I'll input how well he answered to the question, and his grade will be (sum of mark * coefficient), where each question has a different coefficient (in Numbers I was using the SUMPRO

Re: [O] How to do a sum of products in a table?

2013-06-14 Thread Alan Schmitt
Hi Rasmus, Rasmus writes: > Sure, but please provide an example. Yes, I should have done that. Here is the beginning of the grading (I removed many columns which are identical). | Name | Grade | Question 1 | Question 2 | Question 3 | | Coeff | 6 | 1 | 3 | 2 | |--

Re: [O] How to do a sum of products in a table?

2013-06-14 Thread Alan Schmitt
Rasmus writes: > So perhaps you'd want something like this > > | | Name | Grade | Question 1 | Question 2 | Question 3 | > | ! | | grade | q1 || q3 | > | _ | | g |||| > | / | Coeff |

[O] Setting a parametric org-agenda-skip-function?

2013-06-21 Thread Alan Schmitt
Hello, I'm trying to have a custom agenda where I say I want to skip some tags. I wrote a function that does what I want (it takes two arguments: the list of tags to keep, and a boolean that says whether entries with no tags should be kept). The function works well, but for some reason it is not c

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-23 Thread Alan Schmitt
Hello, alan.schm...@polytechnique.org writes: > Hello, > > I'm trying to have a custom agenda where I say I want to skip some > tags. I wrote a function that does what I want (it takes two arguments: > the list of tags to keep, and a boolean that says whether entries with > no tags should be kept

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-24 Thread Alan Schmitt
Hello, I'm making some progress, but things are getting stranger. First, the reason I could not debug the function is because it is called either using "eval" or "apply", and it seems that in that case one does not enter the debugger. However, if one is already in the debugger, then the function

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-24 Thread Alan Schmitt
strom...@nexgo.de writes: > Alan Schmitt writes: >> It would be great except for the following: as soon as I use the >> debugger, my function works as intended. Is there any reason why using >> the debugger would change the behavior of a function? > > Sorry to be of

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-27 Thread Alan Schmitt
Hi Bastien, b...@gnu.org writes: > Hi Alan, > > Alan Schmitt writes: > >> I make org-agenda-skip-entry-unless-tags as debugged, and when I call >> this agenda view, I don't go in the debugger, so I guess it is not >> called. > > I'd try edebug-def

[O] How do I create an agenda block for entries with a specific tag?

2013-06-28 Thread Alan Schmitt
Hello, I'm trying to find a way to create an agenda bloc (of type agenda) that is restricted to a set of tags. I tried using a skip function but (as I explained in another mail) I cannot get it to work. If someone has done it before, I'd gladly have a look at how to do it. Thanks, Alan

Re: [O] How do I create an agenda block for entries with a specific tag?

2013-06-28 Thread Alan Schmitt
Hi Noorul, noo...@noorul.com writes: > Alan Schmitt writes: > >> Hello, >> >> I'm trying to find a way to create an agenda bloc (of type agenda) that >> is restricted to a set of tags. I tried using a skip function but (as I >> explained in another mail

Re: [O] How do I create an agenda block for entries with a specific tag?

2013-07-01 Thread Alan Schmitt
Hi Bastien, b...@gnu.org writes: > Hi Alan, > > Alan Schmitt writes: > >> I'm trying to find a way to create an agenda bloc (of type agenda) that >> is restricted to a set of tags. I tried using a skip function but (as I >> explained in another mail) I cannot

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-02 Thread Alan Schmitt
devn...@karl-voit.at writes: > Unison does not offer any merge functionality. However, you can > easily use third party tools to handle merge conflicts (Emacs, vim, > ...). (Disclaimer, I participate in Unison's development). Just to clarify what I think Karl is saying: one can plug in external t

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-02 Thread Alan Schmitt
Hello Karl, devn...@karl-voit.at writes: > Alan, how about a short how-to on Worg about Unison and Org-mode > methods? Well, what would be there? If there is (and there may be) an external tool that knows how to merge org files (it can be a 3-way merge, if it makes things simpler), I could try t

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-02 Thread Alan Schmitt
ras...@gmx.us writes: > Alan Schmitt writes: > >>> Alan, how about a short how-to on Worg about Unison and Org-mode >>> methods? >> >> Well, what would be there? If there is (and there may be) an external >> tool that knows how to merge org files (it c

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-04 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > On Tue, Jul 02, 2013 at 04:27:27PM +0200, Alan Schmitt wrote: >> >> If someone can show me how to launch ediff from the command line, I can >> explain how to set up Unison for it (I found this old question >> http://superuser.com/

Re: [O] How do I create an agenda block for entries with a specific tag?

2013-07-06 Thread Alan Schmitt
Hi Bastien, b...@gnu.org writes: > Hi Alan, > > Alan Schmitt writes: > >> I'm trying to find a way to create an agenda bloc (of type agenda) that >> is restricted to a set of tags. I tried using a skip function but (as I >> explained in another mail) I cannot

Re: [O] koma letter exporter: changing the priority of options

2013-07-19 Thread Alan Schmitt
Hello, ras...@gmx.us writes: > Viktor Rosenfeld writes: > >>> , >>> | \KOMAoption{backaddress}{true} >>> | \KOMAoption{foldmarks}{true} >>> | \KOMAoption{fromphone}{true} >>> | \KOMAoption{fromemail}{true} >>> ` >> >> Perhaps the best option would be to change the default value of these

Re: [O] koma letter exporter: changing the priority of options

2013-07-22 Thread Alan Schmitt
Hi Rasmus and Viktor, listuse...@gmail.com writes: > Hi, > > Alan Schmitt wrote: > >> - (format "\\KOMAoption{backaddress}{%s}\n" (if with-backaddress "true" >> "false")) >> - (format "\\KOMAoption{foldmarks}{%s}\n&q

Re: [O] koma letter exporter: changing the priority of options

2013-07-22 Thread Alan Schmitt
Hello Nicolas, n.goaz...@gmail.com writes: > Hello, > > Alan Schmitt writes: > >> Yes, this is not satisfactory (and the email and author is also >> problematic in this regard). We need to know whether an option was set >> in the file, independently of its defau

Re: [O] koma letter exporter: changing the priority of options

2013-07-22 Thread Alan Schmitt
n.goaz...@gmail.com writes: > Alan Schmitt writes: > >> This is a promising approach. Unfortunately I cannot make it work: >> email-changed-in-buffer-p is always equal to nil, even with an EMAIL in >> the buffer (which I see picked up during export). >> >> H

Re: [O] koma letter exporter: changing the priority of options

2013-07-22 Thread Alan Schmitt
f they are. What do you think of this approach? Are there other variables we should track? Best, Alan >From 9a6995fe9dcbb792a76fd8f0737a02d4d4015f82 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Mon, 22 Jul 2013 16:46:02 +0200 Subject: [PATCH] Koma exporter: Ensure customization to LCO f

Re: [O] Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]

2013-07-26 Thread Alan Schmitt
Hello Stefan, ste...@xsteve.at writes: > I tried the recipe on this site: > http://orgmode.org/worg/exporters/koma-letter-export.html > > C-c C-e gives the following error message: > Debugger entered--Lisp error: (error "org-export-backend-menu accessing a > non-org-export-backend") > signal(e

Re: [O] Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]

2013-07-26 Thread Alan Schmitt
ste...@xsteve.at writes: > Yes, I get the error message after hitting C-c C-e. > > I installed org via M-x list-packages yesterday. Are you able to export an org file to a different format (like html)? I'm trying to see whether this is koma-specific. Alan

Re: [O] Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]

2013-07-26 Thread Alan Schmitt
ste...@xsteve.at writes: > Hello Alan! > >> ste...@xsteve.at writes: >> >>> Yes, I get the error message after hitting C-c C-e. >>> >>> I installed org via M-x list-packages yesterday. >> >> Are you able to export an org file to a different format (like html)? >> I'm trying to see whether this is

[O] Yet another literate programming application

2013-07-29 Thread Alan Schmitt
Or rather, I should say a literate algebra and calculating application: http://calca.io/ I'd really like to be able to call such an engine from org-mode. (And I'm secretly hoping something will say that $some_programming_language already does it and is fully integrating with org.) Alan

Re: [O] Yet another literate programming application

2013-07-29 Thread Alan Schmitt
schulte.e...@gmail.com writes: > Alan Schmitt writes: > >> Or rather, I should say a literate algebra and calculating application: >> http://calca.io/ >> > > If this is appealing, it may be worth checking out the "Embedded Mode" > of Emacs calc [1].

Re: [O] Yet another literate programming application

2013-07-29 Thread Alan Schmitt
schulte.e...@gmail.com writes: > Very cool, thanks for sharing. I would note, that one nice thing about > embedded mode is that there is no need for the #+begin/end_src calc > blocks, rather the formulas may be placed directly in the Org-mode > file. Yes, but I was thinking of exporting the resu

[O] small patch for worg on encrypting files

2013-07-31 Thread Alan Schmitt
Hello, I just played with encrypting an org file, and I found a couple typos and corrections for this page. I attach the patch that would fix them. Best, Alan >From 6721b5dc19abdf02ad54e78c6edfa1d3ba26916d Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Wed, 31 Jul 2013 18:20:58 +0

Re: [O] koma letter exporter: changing the priority of options

2013-08-27 Thread Alan Schmitt
versus > my org file? I think you can do it: if you don't give the option in the file, the one from the LCO will be used, otherwise the one in the file will override it. The main thing with author and email is that they almost always have non-nil default values, whereas place's default

Re: [O] koma letter exporter: changing the priority of options

2013-08-27 Thread Alan Schmitt
s literal value to the option. The attached version is updated to apply cleanly on master (after applying your other patches). Alan >From 6c930ee3cca8db5af333e8822686f7783e72c14b Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Mon, 22 Jul 2013 16:46:02 +0200 Subject: [PATCH] Koma exporter: En

Re: [O] koma letter exporter: changing the priority of options

2013-08-28 Thread Alan Schmitt
Hi Rasmus, ras...@gmx.us writes: >>> I also find something like this ghastly: >>> >>> But perhaps it is the only way to get what you want. >> >> I could not find a way to do it another way, but I'll gladly take any >> suggestion. What we want is: >> - if email is set in the file, use it; >> - oth

Re: [O] koma letter exporter: changing the priority of options

2013-08-28 Thread Alan Schmitt
ras...@gmx.us writes: > As Viktor argues, mainly ugly and fragile solutions exist to check the > LCO file (e.g. find the file with kpsewhich in texlive). Yet, it > doesn't matter, as all you care about it the location of the variable > /depending/ on whether it's set in the buffer. > > E.g. > >

Re: [O] koma letter exporter: changing the priority of options

2013-08-31 Thread Alan Schmitt
Hi Rasmus, alan.schm...@polytechnique.org writes: > alan.schm...@polytechnique.org writes: > >> I tried to fix it in the updated attached patch. I set a default value >> of "foldmarks-not-set" to the predicate that detects if it is set in the >> file, then I compare its contents. This assumes tha

[O] Passing arguments to org-table-export

2013-09-02 Thread Alan Schmitt
Hello, I would like to export a table to CSV, but only the first two columns. I see that the orgtbl-to-csv takes some parameters which may include :skipcols, but I don't know how to pass these parameters to org-table-export. Do I need to write my own function to do it? Thanks, Alan

[O] running some elisp code when exporting a given file

2013-09-05 Thread Alan Schmitt
Hello, I would like to inline a css when exporting a file to html, but I don't know how to tell org-mode to set the variable org-html-head from within the file. Here is what I tried: I added the following block at the beginning of my file: --8<---cut here---start-

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > I think the issue with tools like Unison, Dropbox, is conflict > resolution on simultaneous edits. Traditional version control does a > better job of that, but then it loses the convenience of these other > tools. > > I believe there is a list member (Alan) c

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
Hi, fatkasuvayu+li...@gmail.com writes: > Hi Alan, > > On Thu, Sep 05, 2013 at 10:50:18AM +0200, Alan Schmitt wrote: >> fatkasuvayu+li...@gmail.com writes: >> >> > I think the issue with tools like Unison, Dropbox, is conflict >> > resolution on simultane

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > On Thu, Sep 05, 2013 at 12:00:02PM +0200, Alan Schmitt wrote: >> Hi, >> >> fatkasuvayu+li...@gmail.com writes: >> >> > I think this would be a wonderful addition to Worg. Probably the FAQ is >> > more appropriat

Re: [O] running some elisp code when exporting a given file

2013-09-05 Thread Alan Schmitt
n.goaz...@gmail.com writes: > Hello, > > Alan Schmitt writes: > >> I would like to inline a css when exporting a file to html, but I don't >> know how to tell org-mode to set the variable org-html-head from within >> the file. >> >> Here is w

Re: [O] running some elisp code when exporting a given file

2013-09-05 Thread Alan Schmitt
mylesengl...@gmail.com writes: > Hi Alan, > > Alan Schmitt writes: > >> Is there a way to have arbitrary code stored in the file being exported >> being evaluated before an export? > > I think you can use org-export-before-processing-hook for this. Thank you for the

Re: [O] [SYNC] How do you sync your org-mode files between ndevices (n > 2))

2013-09-05 Thread Alan Schmitt
co...@online.de writes: > On Thu, Sep 05 2013, Karl Voit wrote: > >> * Alan Schmitt wrote: >>> I can't promise anything, but I can try to write something. What >>> external merging tool should I use? >> >> I haven't used it yet but I r

Re: [O] [SYNC] How do you sync your org-mode files between n devices (n > 2)

2013-09-05 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > Just a few typo/editorial comments. I fixed them. > This a very clear and complete write-up. Thanks a lot Alan! > > :) Thanks. It's online at http://orgmode.org/worg/org-tutorials/unison-sync.html (I also changed the index page to point at it). Alan

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Alan Schmitt
hari...@gmail.com writes: > "Robert P. Goldman" writes: > >> Does anyone have a workflow for the Alfred Mac app launcher that will >> interact with org-capture? > > If Alfred can trigger an Applescript, I use the following with Quicksilver: > > Applescript: > > property eclient : "/Applications

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Alan Schmitt
lexi.ba...@gmail.com writes: > Hi Alan, > > Alan Schmitt writes: > > [...] > >> The question: is there a way to: >> - present only the capture buffer in the new frame (right now it's split >> with the scratch buffer)? >> - delete the window at th

Re: [O] Alfred workflow for org-capture

2013-09-13 Thread Alan Schmitt
alan.schm...@polytechnique.org writes: > lexi.ba...@gmail.com writes: > >> Hi Alan, >> >> Alan Schmitt writes: >> >> [...] >> >>> The question: is there a way to: >>> - present only the capture buffer in the new frame (right now it&#x

[O] Error when recomputing the line of a table

2013-09-17 Thread Alan Schmitt
Hello, I have a problem when recomputing the last line of a table. If I hit "C-c *", I get the following (in the debugger): --8<---cut here---start->8--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("^ *" nil) org-table-align

[O] Displaying links in tables in fixed-width font

2013-09-18 Thread Alan Schmitt
Hello, I'm using a proportional font for my text modes (including org-mode), with a little hack to make sure that code and tables are displayed in a fixed font. --8<---cut here---start->8--- ;; from http://yoo2080.wordpress.com/2013/05/30/monospace-font-in-tab

[O] Tiny patch: documentation of the org-footnote face

2013-09-19 Thread Alan Schmitt
Hello, While tracking down my proportional fonts woes, I found this small typo. Patch attached. Alan >From 355d8408e79a1337e4c57ba7531eec337ec40225 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Thu, 19 Sep 2013 14:23:50 +0200 Subject: [PATCH] Org-faces: Correct the documentation

Re: [O] [dev] New version of org-index.el --- A personal index for org and beyond

2013-09-21 Thread Alan Schmitt
Hello Marc, m...@ihm.name writes: > Hello, > > please find attached version 2.3 of org-index.el. > See also http://orgmode.org/worg/code/elisp/org-index.el > and the contrib-directory of org. > > The most notable feature of this version is an assistant > which provides easy setup. I'm trying org

Re: [O] [dev] New version of org-index.el --- A personal index for org and beyond

2013-09-22 Thread Alan Schmitt
m...@ihm.name writes: >> Here are a few notes I'm taking as I'm playing with it. >> >> First, the table seems to be different from the one on worg. Here are >> the columns I have: >> >> | | | | | | comment | >> | ref | link | created

Re: [O] build errors on os x

2013-09-26 Thread Alan Schmitt
skip.coll...@gmail.com writes: > The problem persists. Can anyone else confirm? Perhaps this should be > added to the bug tracker file. For the record, my local.mk file is: > EMACS = /Applications/Emacs.app/Contents/MacOS/Emacs > prefix = /usr/local/share > > On Tue, Sep 24, 2013 at 11:11 AM, Skip

Re: [O] Using Variable Width Fonts for org-mode and Fixed Width forTabless

2013-09-27 Thread Alan Schmitt
Hi Ian, li...@wilkesley.net writes: > I am struggling to get this to work. In my init files I have: > > (set-default-font "DejaVu Serif Italic") > > I have followed the advice on StackOverflow > http://stackoverflow.com/questions/3758139/variable-pitch-for-org-mode-fixed-pitch-for-tables > > a

[O] Exploring data that is in org-mode format

2013-09-27 Thread Alan Schmitt
Hello, This question is slightly off-topic, but it may be of interest to people who have a lot of data entered in org-mode. The short version: what tools are available to explore data, typically stored in org-mode tables? The long version: I've tried an interesting website (https://tictrac.com/)

Re: [O] example filter for code blocks?

2013-09-27 Thread Alan Schmitt
Hi John, jkitc...@andrew.cmu.edu writes: > Actually, it turns out the publisher did put up the pdf with embedded > files, you just can't open them in a pdf in a browser. If you download the > file and open in a good pdf reader, you can open the embedded files. It > just made my day to figure that

Re: [O] example filter for code blocks?

2013-09-30 Thread Alan Schmitt
jkitc...@andrew.cmu.edu writes: > It works in Adobe Reader, Adobe, and Bluebeam Revu. I haven't tried any > others. I installed Adobe Reader and it's working there. This is great work, thanks for sharing! Alan

Re: [O] Exploring data that is in org-mode format

2013-09-30 Thread Alan Schmitt
jw.he...@gmail.com writes: > For simple exploration, you might have a look at ggobi? [1] It allows > you to do some really quick/easy exploration by plotting and being > able to check which variables to use for X and Y, coloring, filtering, > changing plot type, and so on. There's an R package whi

Re: [O] Org Tutorials need more structure

2013-09-30 Thread Alan Schmitt
fatkasuvayu+li...@gmail.com writes: > To me the best way to describe Org is: a programmable and dynamic > plain-text note taking platform. I really like this description. Short, and to the point. Alan

[O] input data for babel blocks

2013-09-30 Thread Alan Schmitt
Hello, In my quest for analyzing my data in org mode tables, I'm trying to see if I can use my favorite language (i.e., ocaml). I'm thus looking at how to input such tables in a caml program. I found that the following works well: --8<---cut here---start->8---

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
Hi Charles, ccbe...@ucsd.edu writes: > Lacking that, another alternative to the approach you have crafted is to > use elisp src blocks to set up the commands needed to create the objects, > and then place the results of executing the elisp src block in the src > block of your favored language usi

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
Hi Eric, schulte.e...@gmail.com writes: >> - would the patch above be a useful way to deal with this? > > My problem with the patch above is that it makes OCaml different from > every other language (especially ob-haskell which has similar type > restraints), and that it doesn't work for tables w

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
Hi Eric, schulte.e...@gmail.com writes: >> What I don't understand is: >> - how to define this function; > > It is not a function name, it is a code block name. See the noweb > section of the Org-mode manual for more information. OK. >> - will it be evaluated as a "mylang" function or as a fun

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
r...@rickster.com writes: > You're close. The noweb ref should be a named src block which is > executed, not expanded, so, (note the named shell source block and the > parens in the noweb reference): > > #+name: testing > #+BEGIN_SRC sh :results raw > echo "[" > ls *.org | sed 's/$/;/' > echo "]"

Re: [O] input data for babel blocks

2013-10-01 Thread Alan Schmitt
ccbe...@ucsd.edu writes: > Here is what I use for LaTeX thru elisp to R: Thanks, this is quite enlightening. Alan

Re: [O] Using Variable Width Fonts for org-mode and Fixed WidthforTablesss

2013-10-02 Thread Alan Schmitt
Hi Ian, li...@wilkesley.net writes: > That sort of works. The fonts in org-table, etc are fixed pitch as > expected. However, I seem unable to set a variable width font using > text-mode-hook. Whatever font I choose Emacs ends up using DejaVu Sans > Mono. Is it because the "variable-pitch-mod

Re: [O] Getting rid of split frame with org-capture

2013-10-04 Thread Alan Schmitt
alexander.vorob...@gmail.com writes: > I also wanted to have new pop-up org-capture window that would be created > in > response to some shortcut anywhere in Windows and occupied the entire > frame. > Since I haven't found any solutions, I just modified a function I saw in > this thread: > > (def

[O] [HTML export] How to display images side by side?

2013-10-11 Thread Alan Schmitt
Hello, I'm trying to display a bunch of images side by side, as if they were text (and would reflow when the window is too small). Following this advice http://stackoverflow.com/questions/12923124/tables-in-a-row-or-table-and-image-in-a-row-in-org-mode I tried this (translated to the new exporter)

<    1   2   3   4   5   6   7   8   9   10   >