[O] bug with org-mode-hook and text-scale-set

2012-03-12 Thread Du Yanning
org-mode 7.8.03 emacs 23.3, 23.4, 24.0.94 steps to recreate: emacs -q copy the following code and paste it into the *scratch* buffer: (add-to-list 'auto-mode-alist '("\\.txt\\'" . org-mode)) (add-hook 'org-mode-hook '(lambda () (text-scale-set 4))) M-x eval-buffer then C-x C-f to open a .txt f

Re: [O] Beamer specific setupfile?

2012-03-12 Thread Nick Dokos
John Hendy wrote: > > I think the magic for latex headers happens in org-infile-export-plist: > > but the function has not been told about #+BEAMER_* stuff, so it'll need > > the addition of a few more cases to handle the beamer stuff. > > > Great. Thanks for checking into this. I don't know how

Re: [O] Beamer specific setupfile?

2012-03-12 Thread John Hendy
On Mon, Mar 12, 2012 at 5:44 PM, Nick Dokos wrote: > Nick Dokos wrote: > >> > Yeah, I should have just posted an example with an included theme >> > instead of the one I usually use. I think I tracked it down. First, I >> > added =t= to the list of class options: >> > --- >> > #+latex_class_optio

[O] ITEM special property

2012-03-12 Thread Ilya Shlyakhter
Is the following correct: - the ITEM special property returns the _headline_ of an entry (not the content); - ITEM can't be used in tag/match queries, only in column view formats. thanks, ilya

Re: [O] [babel] Bug with empty results

2012-03-12 Thread Thomas S. Dye
Works here. Thanks. Tom Eric Schulte writes: > Fixed, Thanks for the report. > > t...@tsdye.com (Thomas S. Dye) writes: > >> Aloha all, >> >> BEGIN and END are transposed with empty results, as shown in the example >> below. The results shown are from two evaluations of the source code >> blo

Re: [O] Unable to find contrib/

2012-03-12 Thread Debaditya Mukhopadhyay
Thanks for all your help. I could solve the issue. The "org-root-directory" needed to be specified, in my case "~/bin/org-7.8.03/". I overlooked that fact- and all of your response helped. Deb On Sun, Mar 11, 2012 at 3:27 AM, Debaditya Mukhopadhyay wrote: > I have org 7.8.03. > > added to my .e

Re: [O] Beamer specific setupfile?

2012-03-12 Thread Nick Dokos
[I think I broke the thread - so let me try again] John Hendy wrote: > > Yeah, I should have just posted an example with an included theme > instead of the one I usually use. I think I tracked it down. First, I > added =t= to the list of class options: > --- > #+latex_class_options: [t,presentat

Re: [O] Beamer specific setupfile?

2012-03-12 Thread Nick Dokos
Nick Dokos wrote: > > Yeah, I should have just posted an example with an included theme > > instead of the one I usually use. I think I tracked it down. First, I > > added =t= to the list of class options: > > --- > > #+latex_class_options: [t,presentation,bigger] > > --- > > > > I saw an effect

Re: [O] Beamer specific setupfile?

2012-03-12 Thread Nick Dokos
John Hendy wrote: > On Mon, Mar 12, 2012 at 4:48 PM, Nick Dokos wrote: > > John Hendy wrote: > > > >> I use beamer a lot for work and decided to create a beamer-specific > >> setupfile to clean up my org files a bit. My files typically contain a > >> header like so: > >> > >> --- > >> #+latex_c

Re: [O] Beamer specific setupfile?

2012-03-12 Thread John Hendy
On Mon, Mar 12, 2012 at 4:48 PM, Nick Dokos wrote: > John Hendy wrote: > >> I use beamer a lot for work and decided to create a beamer-specific >> setupfile to clean up my org files a bit. My files typically contain a >> header like so: >> >> --- >> #+latex_class: beamer >> #+startup: beamer >> #

Re: [O] Beamer specific setupfile?

2012-03-12 Thread Nick Dokos
John Hendy wrote: > I use beamer a lot for work and decided to create a beamer-specific > setupfile to clean up my org files a bit. My files typically contain a > header like so: > > --- > #+latex_class: beamer > #+startup: beamer > #+options: toc:nil latex:t tex:t > #+latex_class_options: [pres

Re: [O] Beamer specific setupfile?

2012-03-12 Thread Nick Dokos
John Hendy wrote: > #+beamer_header_extra: \usecolortheme{freewilly} > Correction: the error I get is , | ! LaTeX Error: File `beamercolorthemefreewilly.sty' not found. ` Nick

Re: [O] Beamer specific setupfile?

2012-03-12 Thread Nick Dokos
John Hendy wrote: > I use beamer a lot for work and decided to create a beamer-specific > setupfile to clean up my org files a bit. My files typically contain a > header like so: > > --- > #+latex_class: beamer > #+startup: beamer > #+options: toc:nil latex:t tex:t > #+latex_class_options: [pres

[O] [PATCH] org-attach-store-link-p gets wrong value for attach when using customize-variable

2012-03-12 Thread Henning Weiss
Hi, I have attached a very small patch fixing the value that org-attach-store-link-p gets through the customize interface. The additional quote prevented org-attach-attach from calling org-attach-store-link when org-attach-store-link-p was configured to "Link to the attach-dir location". best reg

[O] Beamer specific setupfile?

2012-03-12 Thread John Hendy
I use beamer a lot for work and decided to create a beamer-specific setupfile to clean up my org files a bit. My files typically contain a header like so: --- #+latex_class: beamer #+startup: beamer #+options: toc:nil latex:t tex:t #+latex_class_options: [presentation,bigger] #+beamer_frame_level:

Re: [O] issue with babel R evaluate session vs external process

2012-03-12 Thread Thomas Alexander Gerds
finally I found the problem: it was not at all related to org or babel, but due to a function in my ess-send-input-hook. sorry for bothering :) Thomas Alexander Gerds writes: > still a beginner, and maybe therefore, in my setup (release is: > 7.8.03, > emacs 23.2.1) the following occurs > > -

Re: [O] org babel execute shell in sh?

2012-03-12 Thread Nick Dokos
Eric Schulte wrote: > I just pushed up a patch which adds this behavior. It does result in > some odd new possibilities, such as the following. > > #+begin_src sh :shebang #!/bin/cat > foo > #+end_src > > #+RESULTS: > | #!/bin/cat | > || > | foo| > Maybe my settings are

Re: [O] org babel execute shell in sh?

2012-03-12 Thread Eric Schulte
Tom Regner writes: > Eric Schulte writes: > >>> >>> But I'm often bitten by the distinction between export and tangling -- >>> :padline, :shebang come to mind, where I expected org-babel to honour >>> the setting in both cases. >>> >> >> Could you describe a use case where these options would be

Re: [O] org babel execute shell in sh?

2012-03-12 Thread Tom Regner
Eric Schulte writes: >> >> But I'm often bitten by the distinction between export and tangling -- >> :padline, :shebang come to mind, where I expected org-babel to honour >> the setting in both cases. >> > > Could you describe a use case where these options would be used for > exporting and would

Re: [O] ways to insert "note to self" in an org-mode file for academic paper

2012-03-12 Thread Myles English
>> On Mon, 12 Mar 2012 11:55:23 -0400, Christopher W Ryan said: > I'm very early in trying a transition from LaTeX to org-mode for > academic writing, trying to learn the Org way of doing > things. Running Org-mode 7.7 in Emacs 23.4.1 on Win XP. > Suppose I'm writing a draft of a research

Re: [O] [babel] Bug with empty results

2012-03-12 Thread Eric Schulte
Fixed, Thanks for the report. t...@tsdye.com (Thomas S. Dye) writes: > Aloha all, > > BEGIN and END are transposed with empty results, as shown in the example > below. The results shown are from two evaluations of the source code > block. > > I'm using Org-mode version 7.8.03 (release_7.8.03.575

Re: [O] Blank first line in a tangled file prevents src block execution

2012-03-12 Thread Eric Schulte
Nick Dokos writes: > Eric Schulte wrote: > >> Or try >> >> #+begin_src sh :tangle code/get_wavs.sh :shebang #!/bin/bash >> for fn_in in "$@"; do >> fn_out=$(sed -e 's|\.3gp$||g' -e 's|$|.wav|g' <<< $fn_in) >> ffmpeg -i $fn_in -vn -f wav -acodec pcm_u8 $fn_out >> done >> #+end_sr

Re: [O] [babel][patch] Make ob-lilypond audition calls asynchronous

2012-03-12 Thread Eric Schulte
Applied, thanks. Martyn Jago writes: > Hi > > A patch to make ob-lilypond audition calls asynchronous (and tests). > > Best, Martyn > > > From 2e7cd607cd6dbc25edd5ff9972fbd2528d48416e Mon Sep 17 00:00:00 2001 > From: Martyn Jago > Date: Sat, 10 Mar 2012 15:00:57 + > Subject: [PATCH] Make a

Re: [O] org babel execute shell in sh?

2012-03-12 Thread Eric Schulte
> > But I'm often bitten by the distinction between export and tangling -- > :padline, :shebang come to mind, where I expected org-babel to honour > the setting in both cases. > Could you describe a use case where these options would be used for exporting and would be preferable to simply includin

[O] ways to insert "note to self" in an org-mode file for academic paper

2012-03-12 Thread Christopher W. Ryan
I'm very early in trying a transition from LaTeX to org-mode for academic writing, trying to learn the Org way of doing things. Running Org-mode 7.7 in Emacs 23.4.1 on Win XP. Suppose I'm writing a draft of a research proposal and come to some part that I may want to consider changing, after I thi

Re: [O] android mobileorg: next week in agenda

2012-03-12 Thread Matthew Jones
Renato, not at this time... but if it's something that you'd like to see please open a feature request in our issue tracker on the github page: https://github.com/matburt/mobileorg-android/issues On Fri, Mar 9, 2012 at 1:39 PM, Renato wrote: > Hello, wasn't able to find an answer to this. Is it

Re: [O] columnview with #+INCLUDE:, org-export-org?

2012-03-12 Thread Myles English
>> On Mon, 12 Mar 2012 10:40:44 +, Myles English said: > Hello, I would like to capture the columnview of a file including > the view of an org file specified using #+INCLUDE. These includes > are currently only expanded during export so I am thinking maybe I > should export to a temp

Re: [O] capture - function-finding-location in TARGET: return value?

2012-03-12 Thread Thomas Holst
Hi, answering to myself: ยท Thomas Holst wrote: > Hello, > > I am trying to write a function to find the location where capture will > put the captured item. The manual states, that a target configuration > like > > : (file+function "path/to/file" function-finding-location) > > is possible. My q

[O] columnview with #+INCLUDE:, org-export-org?

2012-03-12 Thread Myles English
Hello, I would like to capture the columnview of a file including the view of an org file specified using #+INCLUDE. These includes are currently only expanded during export so I am thinking maybe I should export to a temporary org buffer first and then do a columnview on the temporary buffer. H