Re: [O] [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 at /usr/local/share/emacs/site-lisp/org/)]

2014-09-19 Thread Rainer M Krug
Aaron Ecay aarone...@gmail.com writes: Hi Malcom, 2014ko irailak 18an, Cook, Malcolm-ek idatzi zuen: Hi, Hmm, I spoke too soon the problem is only partially fixed by this patch... Trying to work with in org-mode with R code blocks attached to persistent sessions (i.e. adding

Re: [O] «Macro» expansion in source blocks; code-sharing between blocks

2014-09-19 Thread Eric S Fraga
On Friday, 19 Sep 2014 at 09:14, Andreas Kiermeier wrote: Having used this type of setup only over the last couple of days, I've come up with another question. It appears that the setup_fu is executed twice ... once as it's own source block (though by itself not maybe say :results none instead

Re: [O] list of agenda files in a file

2014-09-19 Thread Thorsten Jolitz
hy...@lactose.homelinux.net (hymie!) writes: Greetings. I'd like to add my _archive files to my agenda. I don't need the entries clogging up my day-to-day .org files, but I want the items to still appear in my agenda. I found this in the org manual: The information to be shown is

Re: [O] «Macro» expansion in source blocks; code-sharing between blocks

2014-09-19 Thread Charles Berry
Andreas Kiermeier andreas.kiermeier at gmail.com writes: My two blocks (with some code removed for simplicity) are as follow: #+NAME: tbl-refyear #+BEGIN_SRC R :results silent :exports none latex(tabular( code remove )) #+END_SRC #+BEGIN_SRC latex :noweb yes \begin{table}[h]

Re: [O] «Macro» expansion in source blocks; code-sharing between blocks

2014-09-19 Thread Rainer M Krug
Andreas Kiermeier andreas.kierme...@gmail.com writes: I don't think you need the :noweb yes as part of the setup_fu header, as this block is not pulling in other materials. Having used this type of setup only over the last couple of days, I've come up with another question. It appears that

[O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Rainer M Krug
Hi I am looking for examples / templates for CVs written using org, as I decided to ose org for my CV. I fund this oldish conversation http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg00096.html and these two templates for using org to write a CV: https://github.com/punchagan/resume

[O] Creating new org headers from code blocks

2014-09-19 Thread Rainer M Krug
Hi I have some R code which generates several graphics. I would now like to generate in R text which is then interpreted by org, upon export, as normal org code. Furthermore, I would like to create new org headers from the R code. Imagine I have the R code block below. Executed, I get the results

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Tory S. Anderson
I do mine in LaTeX and haven't had a reason to change that. I keep a Master CV/resumé with all the gratuitous information in all categories, then make subdirs for each submission and the trimmed-down versions of my resume that I sent out. At this stage in my career–where I am still tailoring

Re: [O] «Macro» expansion in source blocks; code-sharing between blocks

2014-09-19 Thread Andreas Kiermeier
Hi Chuck On 19 September 2014 12:29, Charles Berry ccbe...@ucsd.edu wrote: Why not use library(xtable) and do it all in R? If you are not sure this is the right choice, I suggest you look at the help page for print.xtable - you have a lot of control over caption, label, positioning, etc. I

Re: [O] «Macro» expansion in source blocks; code-sharing between blocks

2014-09-19 Thread Andreas Kiermeier
Thanks Rainer, but unfortunately this isn't working. I'm sure I'm doing something wrong ... somewhere. In case this makes any difference I have in the document header: #+PROPERTY: header-args:R :session *R* #+PROPERTY: header-args :results output graphics :exports results I've now changed the

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Andreas Kiermeier
Hi Rainer, like Tory I prepare my CV using latex directly. I've been using moderncv for several years now and have been quite happy with it (though that was before I've started using org). But even now, I can't see how using org, would add to what I already have. Mind you, I tend to add to my CV

Re: [O] [PATCH][mini] bulk-mark-regexp and -toggle also with time grid

2014-09-19 Thread marcowahlsoft
(org-agenda-bulk-mark-all) Mark all entries for future agenda bulk action. Currently this is not true if there is a time grid in the agenda buffer. Please consider to apply the attached patch. I forgot one line in the previous patch. Please consider the new patch only. diff --git

Re: [O] list of agenda files in a file

2014-09-19 Thread hymie!
In our last episode, the evil Dr. Lacto had captured our hero, Thorsten Jolitz tjol...@gmail.com, who said: Read again! = | If the value of the variable is not a list but a single file name, | then^ That's what I did. (setq

Re: [O] list of agenda files in a file

2014-09-19 Thread Eric S Fraga
On Friday, 19 Sep 2014 at 10:41, hymie! wrote: In our last episode, the evil Dr. Lacto had captured our hero, Thorsten Jolitz tjol...@gmail.com, who said: Read again! = | If the value of the variable is not a list but a single file name, | then

[O] header arguments, inheritance, and noweb expansion Was: «Macro» expansion in source blocks; code-sharing between blocks

2014-09-19 Thread Rainer M Krug
Andreas Kiermeier andreas.kierme...@gmail.com writes: Thanks Rainer, but unfortunately this isn't working. I'm sure I'm doing something wrong ... somewhere. In case this makes any difference I have in the document header: #+PROPERTY: header-args:R :session *R* #+PROPERTY: header-args

Re: [O] list of agenda files in a file

2014-09-19 Thread hymie
Eric S Fraga writes: (setq org-agenda-files (quote (~/org/agenda.file.list))) which sets the variable to a list of one string, which is *not* what you want. Try (setq org-agenda-files ~/org/agenda.file.list) Oh. Thank you very much. I have and/or see things like this: (setq

Re: [O] Creating new org headers from code blocks

2014-09-19 Thread Thorsten Jolitz
Rainer M Krug rai...@krugs.de writes: Hi, I have some R code which generates several graphics. I would now like to generate in R text which is then interpreted by org, upon export, as normal org code. Furthermore, I would like to create new org headers from the R code. Imagine I have the R

Re: [O] Creating new org headers from code blocks

2014-09-19 Thread Rainer M Krug
Thorsten Jolitz tjol...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Hi, I have some R code which generates several graphics. I would now like to generate in R text which is then interpreted by org, upon export, as normal org code. Furthermore, I would like to create new org

[O] issue with `org-insert-heading'

2014-09-19 Thread Oleh
Hi all, I just wanted to point out what I think is a bug in `org-insert-heading'. The abridged code: #+begin_src elisp (let ((adjust-empty-lines t)) ;; code that does not change `adjust-empty-lines' (when adjust-empty-lines (if (or (not blank) (and blank (not

Re: [O] Creating new org headers from code blocks

2014-09-19 Thread Thorsten Jolitz
Rainer M Krug rai...@krugs.de writes: Thorsten Jolitz tjol...@gmail.com writes: I don't quite understand your code below and what it is supposed to do. Drawers are probably better in most cases, but this code lets you use ':results pp replace' while developing, but converts the fixed-width pp

Re: [O] Creating new org headers from code blocks

2014-09-19 Thread Rainer M Krug
Thorsten Jolitz tjol...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Thorsten Jolitz tjol...@gmail.com writes: I don't quite understand your code below and what it is supposed to do. Drawers are probably better in most cases, but this code lets you use ':results pp replace'

Re: [O] list of agenda files in a file

2014-09-19 Thread Nick Dokos
hy...@lactose.homelinux.net writes: Eric S Fraga writes: (setq org-agenda-files (quote (~/org/agenda.file.list))) which sets the variable to a list of one string, which is *not* what you want. Try (setq org-agenda-files ~/org/agenda.file.list) Oh. Thank you very much. I have

Re: [O] Creating new org headers from code blocks

2014-09-19 Thread Thorsten Jolitz
Rainer M Krug rai...@krugs.de writes: Thorsten Jolitz tjol...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Thorsten Jolitz tjol...@gmail.com writes: I don't quite understand your code below and what it is supposed to do. Drawers are probably better in most cases, but this code

Re: [O] Creating new org headers from code blocks

2014-09-19 Thread Rainer M Krug
Thorsten Jolitz tjol...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Thorsten Jolitz tjol...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Thorsten Jolitz tjol...@gmail.com writes: I don't quite understand your code below and what it is supposed to do. Drawers are

[O] inconsistency -- agenda, jump to specific day

2014-09-19 Thread hymie!
So I think I found an inconsistency in the agenda and/or in the docs. Maybe it's just my lack of understanding as usual, but here goes. Emacs : GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Package: Org-mode version 8.2.7c (8.2.7c-dist @ c:/ProgramData/Microsoft/Windows/Start

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Dan Griswold
Unlike the others, I moved my CV from LaTeX to org-mode and I'm happy with the results. Two things make it work well. First, a cv class added to org-latex-classes: (add-to-list '(cv

Re: [O] Changed behaviours of LaTeX exporter in version 8.0+

2014-09-19 Thread Richard Lawrence
Hi Joseph, Kyeong Soo (Joseph) Kim kyeongsoo@gmail.com writes: Great thanks for your answering my two questions, especially sharing your experience for cross-referencing in LaTeX export. Though your suggestion for cross-referencing is an excellent workaround, I wonder whether there is

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Tory S. Anderson
Very nice, John. Thanks for sharing the LaTeX! John Hendy jw.he...@gmail.com writes: Like the rest, I picked straight LaTeX, as it just felt like forcing Org to do something unnatural, in my opinion. At least, if you get into any sort of formatting stuff, it just didn't feel right. Here's

[O] How to tangle contents of a noweb-ref block that as source block indicators in it?

2014-09-19 Thread Grant Rettke
Good afternoon, I work in: ╭ │ (print emacs-version) │ (print org-version) ╰ ╭ │ 24.3.1 │ │ 8.2.7c ╰ My `org' configuration specifies source blocks like this: ╭ │ (setq org-babel-noweb-wrap-start «) │ (setq org-babel-noweb-wrap-end ») ╰ When I tangle this block the

Re: [O] How to tangle contents of a noweb-ref block that as source block indicators in it?

2014-09-19 Thread Nick Dokos
Grant Rettke g...@wisdomandwonder.com writes: Good afternoon, I work in: ╭ │ (print emacs-version) │ (print org-version) ╰ ╭ │ 24.3.1 │ │ 8.2.7c ╰ My `org' configuration specifies source blocks like this: ╭ │ (setq org-babel-noweb-wrap-start «) │ (setq

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-09-19 Thread Aaron Ecay
Hi Nicolas, 2014ko abuztuak 28an, Nicolas Goaziou-ek idatzi zuen: Hello, Aaron Ecay aarone...@gmail.com writes: The other application I can think of is to allow captioned images and tables not to float. The LaTeX world is full of tutorials on how to un-float floating images and

Re: [O] issue with `org-insert-heading'

2014-09-19 Thread Nicolas Goaziou
Hello, Oleh ohwoeo...@gmail.com writes: I just wanted to point out what I think is a bug in `org-insert-heading'. [...] The effect of this code is that when I do M-RET 3 times in a blank file, the first two stars don't get a space after them and get highlighted differently than the third.

[O] [RFC] [PATCH] Warn about unexpanded macros on export

2014-09-19 Thread Aaron Ecay
Hello all, Currently, if a macro is not defined, it will silently produce an empty string while exporting. This situation could arise for example if a macro name is acidentally mistyped. I think it’s desirable to warn the user in this case. The attached patch introduces a function to do so,

[O] [RFC] [PATCH] [babel] read description lists as lists of lists

2014-09-19 Thread Aaron Ecay
Hello all, The attached patch makes babel read description lists as lists of the following format: ((term description) ...). The present default is to simply read in the text of each list item, yielding: (term :: description ...). Of course, it’s possible to interconvert between the two

Re: [O] [RFC] [PATCH] Warn about unexpanded macros on export

2014-09-19 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: Currently, if a macro is not defined, it will silently produce an empty string while exporting. This situation could arise for example if a macro name is acidentally mistyped. I think it’s desirable to warn the user in this case. The attached

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Brady Trainor
On 9/19/2014 2:18 AM, Rainer M Krug wrote: Hi - How do you do it (I don't assume you write your CVs in Word?), or are you using LaTeX directly? Nice question, I will enjoy reading all the examples in this thread. For a bit, I tried to make org do everything, like export resumes to Word,

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-09-19 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: See the attached patch. Thanks for the patch. I updated ORG-NEWS, but the manual (info (org) LaTeX specific attributes) is already sufficiently general IMO. OK. +- capt-of: for captions on `:float nil' source blocks I think this is too

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Nicolas Goaziou
Hello, Brady Trainor algeb...@uw.edu writes: And I did have a decent export to LaTeX resume from org, but after discovering moderncv, I've switched, though I will be curious to read others' methods of org-to-moderncv export. One option could be to define a specialized latex back-end

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Brady Trainor algeb...@uw.edu writes: And I did have a decent export to LaTeX resume from org, but after discovering moderncv, I've switched, though I will be curious to read others' methods of org-to-moderncv export. One option

Re: [O] [RFC] [PATCH] [babel] read description lists as lists of lists

2014-09-19 Thread Charles Berry
Aaron Ecay aaronecay at gmail.com writes: Hello all, The attached patch makes babel read description lists as lists of the following format: ((term description) ...). The present default is to simply read in the text of each list item, yielding: (term :: description ...). Of

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Dan Griswold
Not sure anybody saw this the first time, so I'll try again, with some expansion. Unlike the others who've commented, I moved my CV from LaTeX to org-mode and I'm happy with the results. Two things make it work well. First, a cv class added to org-latex-classes: (add-to-list '(cv

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Vikas Rawal
I know I am being lazy in not trying it out, but if you could share a PDF, it would give us an idea of what this gives you. Vikas On 20-Sep-2014, at 6:19 am, Dan Griswold kc5...@gmail.com wrote: Not sure anybody saw this the first time, so I'll try again, with some expansion. Unlike the