[O] Problems with including ledger files in org-babel

2014-05-12 Thread Adam Turoff
I'm trying to prepare a ledger report by including a ledger file with babel: #+begin_src ledger :cmdline print !include ledger.lgr #+end_src #+RESULTS: And each time I try and eval the buffer, the results come back blank. org-confirm-babel-evaluate works perfectly fine with other blocks, like

Re: [O] org-ref code

2014-05-12 Thread Andreas Reuleaux
John Kitchin jkitc...@andrew.cmu.edu writes: C-c ] should be bound by default to org-ref-insert-cite-link. It is defined in a hook function in line 104 of org-ref.org. I made a custom variable to store the key-binding, but I realized it probably doesn't help, since the binding 1. C-u on

Re: [O] [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Rainer M Krug
Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Bastien b...@gnu.org writes: Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes: I'll look at it again tomorrow and let you know as I made some changes since then. Do you prefer one patch to several? Up

Re: [O] Org-hide face leaking out to org-columns view

2014-05-12 Thread Nikolai Weibull
On Sat, May 10, 2014 at 1:35 PM, Nikolai Weibull n...@disu.se wrote: Hi! It seems that if you use #+STARTUP: indent the org-hide face used for the hidden stars will remain when using the org-columns view, resulting on, in my case, white on gray. To clarify, this leaks out over the whole

Re: [O] Problems with including ledger files in org-babel

2014-05-12 Thread Eric S Fraga
On Monday, 12 May 2014 at 03:27, Adam Turoff wrote: I'm trying to prepare a ledger report by including a ledger file with babel: #+begin_src ledger :cmdline print !include ledger.lgr #+end_src I would suggest you try specifying the full path to the ledger file, i.e. one starting with /

Re: [O] [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Suvayu Ali
On Mon, May 12, 2014 at 10:33:48AM +0200, Rainer M Krug wrote: Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Bastien b...@gnu.org writes: Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes: I'll look at it again tomorrow and let you know as

Re: [O] [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Rainer M Krug
Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Mon, May 12, 2014 at 10:33:48AM +0200, Rainer M Krug wrote: Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Bastien b...@gnu.org writes: Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes:

[O] Using Emacs, Org-mode and R for Research Writing in Social Sciences

2014-05-12 Thread Vikas Rawal
I have been using Org for writing research papers for a while, gradually improving my set up to be able to exactly produce the output I want. In this process, I have benefited greatly not only from the resources available on the Org-mode website but also from various people who generously

[O] Bug: Cannot export this file as HTML. [8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.emacs.d/elpa/org-20140512/)]

2014-05-12 Thread kuanyui
questions above for the trace that you have gathered when you transferred a file from your computer to gaia.cs.umass.edu * Footnotes [fn:1] [fn:2] [fn:3] 到底 buffer 是限制封包長度還是數量啊 [fn:4] 隨機的? [fn:5] 需要扣掉嗎?! [fn:6] kuanyui 20140512 GMT+8 Emacs : GNU Emacs 24.3.90.1 (x86_64-unknown-linux-gnu

Re: [O] Using Emacs, Org-mode and R for Research Writing in Social Sciences

2014-05-12 Thread Suvayu Ali
Hi Vikas, On Mon, May 12, 2014 at 02:57:19PM +0200, Vikas Rawal wrote: I have put the draft for comments at: https://github.com/vikasrawal/orgpaper/blob/master/orgpapers.org Firstly a thank you for writing it. I gave it a quick cursory glance, seems nice and thorough, and very appropriate

Re: [O] org-ref code

2014-05-12 Thread Eric S Fraga
On Sunday, 11 May 2014 at 14:48, John Kitchin wrote: [...] C-c ] should be bound by default to org-ref-insert-cite-link. It is defined in a hook function in line 104 of org-ref.org. Yes. It is. I don't use this binding. I use evil mode and don't like chorded commands. I have

[O] Queestion concerning lists - was: [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Rainer M Krug
Rainer M Krug rai...@krugs.de writes: Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Bastien b...@gnu.org writes: Hi Rainer, Rainer M Krug r.m.k...@gmail.com writes: I'll look at it again tomorrow and let you know as I made some changes since then.

Re: [O] An org password manager

2014-05-12 Thread Colin Baxter
Dear Ramon, Yes. The first URL gives the lisp code. I could never get sensitive mode to turn on by default for files having gpg or cpt extensions. Consequently, I just M-X sensitive RET for each file. To remind me, I put sensitive at the beginning of the file. You may have better luck. Best

Re: [O] [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Eric Schulte
If not would you mind submitting a version of the patches split into multiple commits with as much of the hard-coded R code as feasible placed into customizable variables along the lines of the `org-babel-R-assign-elisp-function' variable suggested by Charles. I am thinking of actually not

Re: [O] Queestion concerning lists - was: [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Eric Schulte
I am working on it, but I have a question concerning strings and lists in elisp. In the function org-babel-execute:R it says: , | (inside |(list (org-babel-expand-body:R body params graphics-file))) ` I now want to convert inside to a comma separated string. I

Re: [O] ob-lua.el

2014-05-12 Thread Eric Schulte
This looks good so far. Does code execution work but it is untested, or has it not been implemented? Would you suggest adding this now or waiting for code execution? I don't see you listed on the contributors page, would you be willing to do FSF copyright assignment?

Re: [O] Bug: Cannot export this file as HTML. [8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.emacs.d/elpa/org-20140512/)]

2014-05-12 Thread kuanyui
I found the question, take an easy example: * Title1 *** Title2 Test[fn:6] * Footnotes [fn:6] If there's a footnote is empty (or just following a space or so), the exporter will just return org-trim: Wrong type argument: stringp, nil I think this is a bug because the exporter

Re: [O] Problems with including ledger files in org-babel

2014-05-12 Thread Adam Turoff
I've tried that, and that doesn't fix the problem. I'm testing it now on another system, and this actually works (ledger.lgr and the org file are in the same directory): #+begin_src ledger :cmdline -f .ledger.lgr print #+end_src It seems like there's some issue with ledger not loading properly,

Re: [O] org-ref code

2014-05-12 Thread Andreas Reuleaux
Eric S Fraga e.fr...@ucl.ac.uk writes: Is there some org variable I have not set that tells org to treat cite: plain text as a link on export? Obviously org already recognises it as a link but the export doesn't... org-link-protocols and org-link-types look fine. Being just a org-ref

Re: [O] org-ref code

2014-05-12 Thread John Kitchin
that should work out of the box, and that link is defined in org-ref as (org-add-link-type cite 'org-ref-cite-onclick-minibuffer-menu 'org-ref-cite-link-format) I am not sure why it would not work out of the box. John --- John Kitchin Associate Professor

Re: [O] [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Rainer M Krug
Eric Schulte schulte.e...@gmail.com writes: If not would you mind submitting a version of the patches split into multiple commits with as much of the hard-coded R code as feasible placed into customizable variables along the lines of the `org-babel-R-assign-elisp-function' variable suggested

Re: [O] New worg page: Publishing beamer slideshows and articles from one source

2014-05-12 Thread Suvayu Ali
Hi James, On Sat, May 10, 2014 at 10:57:11AM +0800, James Harkins wrote: http://orgmode.org/worg/exporters/beamer/beamer-dual-format.html It is a great resource. A couple of comments about formatting: the first two footnotes might be better as links from the text. I propose the attached

Re: [O] Using Emacs, Org-mode and R for Research Writing in Social Sciences

2014-05-12 Thread Vikas Rawal
For whatever it is worth, here it is. Pointers to any errors as well as comments for improving it would be greatly appreciated. Also, I would be happy to contribute it to Worg, if people consider it useful. Some comments: at places it seemed a bit too verbose, e.g. when you are

Re: [O] Bug: Cannot export this file as HTML. [8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.emacs.d/elpa/org-20140512/)]

2014-05-12 Thread Nicolas Goaziou
Hello, kuanyui azazabc...@gmail.com writes: I found the question, take an easy example: * Title1 *** Title2 Test[fn:6] * Footnotes [fn:6] If there's a footnote is empty (or just following a space or so), the exporter will just return org-trim: Wrong type argument:

Re: [O] Problems with including ledger files in org-babel

2014-05-12 Thread Samuel Wales
if ledger does not work, you can use sh. i do. On 5/12/14, Adam Turoff adam.tur...@gmail.com wrote: It seems like there's some issue with ledger not loading properly, and the error appears to be eaten by org-babel. Is there any way to debug what org-babel is seeing here? c-c c-v c-v? --

Re: [O] Using Emacs, Org-mode and R for Research Writing in Social Sciences

2014-05-12 Thread Thomas S. Dye
Aloha Vikas, Very nice! Your document overlaps and updates the LaTeX export tutorial on Worg that I wrote for the old exporter. Perhaps it could be revised to replace the old export tutorial? Just a thought. All the best, Tom Vikas Rawal vikasli...@agrarianresearch.org writes: For

[O] [PATCH] Add author and title to exported PDF properties

2014-05-12 Thread Marcel van der Boom
* lisp/ox-latex.el (org-latex-template): add pdfauthor and pdftitle (org-latex-hyperref-template): add placeholders for author and title (org-latex-template): adjust default template with author and title This adds author and title to the pdf properties of the exported PDF file when using the

[O] How to specify birthdays?

2014-05-12 Thread Josef Wolf
Hello, I am trying to use org-mode for birthdays. I have tried those two entries: * Calendar ** Birthdays *** Somebody SCHEDULED: 1970-05-20 Mo +1y *** Somebody1 SCHEDULED: %%(org-anniversary 1970 5 20) Somebody1 is %d years old The first entry is shown in the agenda for the current

Re: [O] [babel][PATCHES] ob-R patches for review

2014-05-12 Thread Charles C. Berry
On Mon, 12 May 2014, Rainer M Krug wrote: Eric Schulte schulte.e...@gmail.com writes: If not would you mind submitting a version of the patches split into multiple commits with as much of the hard-coded R code as feasible placed into customizable variables along the lines of the

Re: [O] How to specify birthdays?

2014-05-12 Thread Dominic Surano
Josef Wolf jw at raven.inka.de writes: Hello, I am trying to use org-mode for birthdays. I have tried those two entries: * Calendar ** Birthdays *** Somebody SCHEDULED: 1970-05-20 Mo +1y *** Somebody1 SCHEDULED: %%(org-anniversary 1970 5 20) Somebody1 is %d years old

Re: [O] How to specify birthdays?

2014-05-12 Thread Erik Iverson
Not a direct answer, but have you found the org-contacts package? https://julien.danjou.info/projects/emacs-packages#org-contacts It supports the BIRTHDAY property. See the note at bottom of the link above about how it integrates with the agenda. Example: ** Dad :PROPERTIES: :BIRTHDAY:

Re: [O] org-ref code

2014-05-12 Thread Andreas Reuleaux
John Kitchin jkitc...@andrew.cmu.edu writes: that should work out of the box, and that link is defined in org-ref as (org-add-link-type cite 'org-ref-cite-onclick-minibuffer-menu 'org-ref-cite-link-format) I am not sure why it would not work out of the box. They *do* work out of the

Re: [O] Problems with including ledger files in org-babel

2014-05-12 Thread Adam Turoff
Thanks everyone. I never saw C-c C-v C-v before, so that pointed me in the right direction. Most of the issue was with my inexperience debugging elisp. The messages buffer pointed me in the right direction; ledger wasn't emitting any output because was throwing warning messages. I traced it

Re: [O] How to specify birthdays?

2014-05-12 Thread Eric Abrahamsen
Dominic Surano sk8ing...@gmail.com writes: Josef Wolf jw at raven.inka.de writes: Hello, I am trying to use org-mode for birthdays. I have tried those two entries: * Calendar ** Birthdays *** Somebody SCHEDULED: 1970-05-20 Mo +1y *** Somebody1 SCHEDULED:

Re: [O] org-ref code

2014-05-12 Thread John Kitchin
Here is a way you can add new citation formats to the reftex format: ;; get builtin formats (setq formats (nth 2 (assoc 'org reftex-cite-format-builtin))) ;; add new format (setf (nth 2 (assoc 'org reftex-cite-format-builtin)) (append formats '((?W . textcite:%l) (?z .