Re: [O] Changing title for outline

2014-02-01 Thread Bastien
Hi Erich, Erich Neuwirth writes: > Suing this at the end of file > > #+ Local Variables: > #+ org-beamer-outline-frame-title: "Themen" > #+ End: > > > Brings up a prompt about changing local variables, > but accepting the changes does still not produce the desired result. > The header line of th

[O] [RFC] Emphasis regexp

2014-02-01 Thread Michael Brand
Hi all I must be missing something since I think these are very common use cases: How is one supposed to get code emphasis to recognize the beginning and end "as expected" in the four examples ='the file.org'= and ="$1"= and =a = 'x'= and =b = "y"=? Can I change =org-emphasis-regexp-components= i

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-02-01 Thread Nicolas Goaziou
Hello, John Hendy writes: > I'd still like to understand the src vs. example block discrepancy if > possible. It's really odd, especially since Nicholas isn't able to > reproduce even with the same minimal config. There is no discrepancy. You indent your code with tabs and these tabs appear in

[O] renaming of ob-sh to ob-shell

2014-02-01 Thread Nicolas Richard
Hello, The commit 80754a8 says "updated names in test-ob-shell" but it reintroduced the file test-ob-sh.el which was renamed in the parent of that commit. I attach a patch which changs that and various other things related to the renaming, namely : the customize interface, the README, and a chang

Re: [O] Bug: Wrong type argument: Integer or marker-p, nil

2014-02-01 Thread Nicolas Goaziou
Hello, Bastien writes: > Done, thanks. Thank you for taking care of it. >> BTW, shouldn't ca0c77033d729a51688eabbb9847249cf50ad6c4 be applied on >> maint too? > > I would not consider this a bug, and if so, a very minor one. Honestly, I didn't read the thread relative to this commit, so I don

Re: [O] A small hack to document programs externally

2014-02-01 Thread Alan Schmitt
Bastien writes: > Hi Alan, > > Alan Schmitt writes: > >> I've just written a small hack to refer to code in other files from an >> org-mode buffer, so that the referred code would be copied in the buffer >> to be exported when exporting the org buffer. (Our use case is a large >> Coq development

Re: [O] renaming of ob-sh to ob-shell

2014-02-01 Thread Thorsten Jolitz
Nicolas Richard writes: Hello, > I attach a patch which changs that and various other things related to > the renaming, namely : the customize interface, the README, and a change > in org-test (the one mentionned in <87a9et6mzz@gmail.com> I guess). Good job. I wonder if a library can have

Re: [O] Stop clock on closing emacs

2014-02-01 Thread Igor Sosa Mayor
Am Sat, Feb 01, 2014 at 11:53:09AM +0530, Rustom Mody wrote: > In (info "(org)Clocking Work Time") > > is given this: > (setq org-clock-persist 'history) > (org-clock-persistence-insinuate) I have both in my configuration and the clock is not being stopped when I close emacs. It is saved and

Re: [O] how to group together fields

2014-02-01 Thread Alexander Baier
Hello Stefan, please keep the mailing list cc'd so everyone can read your response. On 2014-02-01 03:10 Stefan Huchler wrote: > thx for looking over it. > > My idea was that I have 2 :COLUMNS: rows, comment out one or the other. > I dont need one "table" that shows me both, thats impossible yes,

Re: [O] how to group together fields

2014-02-01 Thread Alexander Baier
Hello Stefan, again, please sent your mail also to the org mailing list. Just do a follow-up in your mail client, instead of a reply, that should do the right thing I guess. On 2014-02-01 12:25 Stefan Huchler wrote: > Hello Alex, > > thats exactly what don´t want ^^. I tried something similar a w

Re: [O] Code block option :results raw does not replace #+RESULTS

2014-02-01 Thread Soapy Smith
On Fri, 2014-01-31 at 18:16 -0500, Nick Dokos wrote: > > Is this the expected behavior for this option? > > > > Yes - raw does not keep track of where the results begin and end and > cannot erase the old ones before adding the new ones. Try > calling org-babel-remove-result: you'll see that it get

Re: [O] Stop clock on closing emacs

2014-02-01 Thread Florian Beck
On 01.02.2014 11:45, Igor Sosa Mayor wrote: I would like emacs/orgmode to insert the time I'm closing emacs as end time of the running clock. Use `kill-emacs-hook': (defun org-clock-out-maybe () "Stop a currently running clock." (org-clock-out nil t)) (add-hook 'kill-emacs-hook 'org-clock

Re: [O] renaming of ob-sh to ob-shell

2014-02-01 Thread Thorsten Jolitz
Thorsten Jolitz writes: > Nicolas Richard writes: > > Hello, > >> I attach a patch which changs that and various other things related to >> the renaming, namely : the customize interface, the README, and a change >> in org-test (the one mentionned in <87a9et6mzz@gmail.com> I guess). > > Good

Re: [O] how to group together fields

2014-02-01 Thread Alexander Baier
Hello Stefan, I say it again: _Please_ Cc the org-mode mailing list, when replying, so everyone can read our correspondence. On 2014-02-01 12:46 Stefan Huchler wrote: > sry I maybe miss readed you. I have no problem in a different > structure. If you could "join" 2 different org trees by linking

Re: [O] Python Code Block error with header option :results output

2014-02-01 Thread Soapy Smith
On Sat, 2014-02-01 at 07:56 +0100, Christian Moe wrote: > > You should only use "return" like that in a python code block when you > > have ":results value". > > To expand briefly on that (since this can be perplexing): > > The need to use `return' at all when returning the value is a special >

Re: [O] how to group together fields

2014-02-01 Thread Stefan Huchler
Hi Alex, sorry in gnus its (f) for follow up thought reply in the mailing-list would be the same ;) I use emacs since a few months and gnus since a week so I am not that familier with it as you see ;) If Bastien could look over it, it would be nice. Its not my only emacs problem to solve and h

Re: [O] Stop clock on closing emacs

2014-02-01 Thread Igor Sosa Mayor
Am Sat, Feb 01, 2014 at 01:03:07PM +0100, Florian Beck wrote: > Use `kill-emacs-hook': > > (defun org-clock-out-maybe () > "Stop a currently running clock." > (org-clock-out nil t)) > > (add-hook 'kill-emacs-hook 'org-clock-out-maybe) Thanks a lot. This is much better. But: are you really us

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-02-01 Thread Nicolas Goaziou
Hello, Bastien writes: > I don't think `org-toggle-fixed-width-section' should be deleted > entirely, as fixed-width text is still supported in this form: > > : Some text > > and using C-c : is very handy. > > What do you think? I tend to use rectangular regions for that. Anyway, I removed it

Re: [O] Stop clock on closing emacs

2014-02-01 Thread Florian Beck
On 01.02.2014 14:07, Igor Sosa Mayor wrote: Thanks a lot. This is much better. But: are you really using this idea? The problem is that the kill-emacs-hook does not ask for save the modified buffer. That means: I see that the end time is being put into the org buffer, but the buffer/file is not

[O] Org Grep news

2014-02-01 Thread François Pinard
Hi, gang. :-) I took last two days as holidays, to let the pressure out a bit, and used them to have mere fun with a few things, among which, Org Grep. The tool used to have one main output, with Emacs commands to transform that output "one-way" into two other formats. I shuffled the code and ad

Re: [O] [RFC] Emphasis regexp

2014-02-01 Thread Florian Beck
On 01.02.2014 09:27, Michael Brand wrote: Additionally and at the cost of "giving up" (why would they be needed?) '=foo bar=' and "=foo bar=", which possibly should anyway be either just 'foo bar' and "foo bar" or =foo bar=, `org-emphasis-regexp-components' also controls, well, regular emphasis

Re: [O] renaming of ob-sh to ob-shell

2014-02-01 Thread Nicolas Richard
Thorsten Jolitz writes: > I meant > > ,- > | (provide 'ob-sh) > | (provide 'ob-shell) > `- > > of course ... I guess that that would indeed avoid loading an older ob-sh.el. Perhaps together with something like (mapc (lambda (x) (when (member '(require . ob-sh)

[O] Links sorting and exporting.

2014-02-01 Thread Matthew Sauer
I have conceived of an idea that I want to build into the ORG framework. The problem I am trying to solve: I have a variety of links that I use on a regular basis. I am wanting to be able to invoke a link generation command that will store them in a bookmarks.org file (or it could be a user defin

[O] showing children in agenda

2014-02-01 Thread Ken Mankoff
If I have a task with children, and the parent is SCHEDULED today so it is showing up in the agenda, is there a way to make children automagically show up? My specific use case is that I have a parent task, broken down by sub-tasks as children. I only schedule the parent rather than all the

Re: [O] Stop clock on closing emacs

2014-02-01 Thread Igor Sosa Mayor
Am Sat, Feb 01, 2014 at 02:58:23PM +0100, Florian Beck wrote: > ... I call `save-all-buffer' in the exit hook. > > Sorry for the confusion. on the contrary! Your hint was very helpful! I have finally this working and I'm very happy with it! -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.co

[O] IDs w/ human friendly component

2014-02-01 Thread Ken Mankoff
I've never cared that the ID field was not human friendly. But I've just learned about the Estimate Table where you can see your estimates and actual clock time to complete tasks. If you want to see the estimates for the current tree, you need to know the ID, which is not human friendly. It

[O] Name for part of Org mode buffer before first headline

2014-02-01 Thread Thomas S. Dye
Aloha all, Is there a canonical name for the part of the Org mode buffer before the first headline? I checked the manual and probed my failure-prone memory off and on over the last few days, but didn't come up with anything. I'm looking for the Org mode equivalent of LaTeX's preamble. All the b

[O] bootstrapping myself back into org again

2014-02-01 Thread Dave Taht
Some issues I have in starting to use org to publish stuff to the web again... * Image inlining without an explicit .jpg extension most of my images these days come from stuff uploaded via android, and have an identifier like: http://lh6.googleusercontent.com/WPKXTEXXcFcp_gmW-G17uoMGvhzL6pDHQUvZ

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-02-01 Thread Nicolas Goaziou
Hello, John Hendy writes: > On Sat, Feb 1, 2014 at 2:28 AM, Nicolas Goaziou wrote: >> There is no discrepancy. You indent your code with tabs and these tabs >> appear in the TeX file, but Beamer cannot handle them properly. The same >> problem will arise in an example block. > > From whence co

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-02-01 Thread Nicolas Goaziou
Completing myself, Nicolas Goaziou writes: > Babel happens to indent source blocks when re-inserting them after > evaluation. So you get tabs even if you didn't explicitly write them in > the first place. ... but this shouldn't happen if `org-src-preserve-indentation' is non-nil. I fixed that i

Re: [O] Simple quote becomes double in LaTeX export

2014-02-01 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > With a text in French, and Babel present in my list of LaTeX classes, > the following title gets its simple quote converted to a double one: > > #+TITLE: Notes sur l'/elevator pitch/ > #+LANGUAGE: fr > > * Objectif > > Ceci est l'objectif... > > gives:

Re: [O] Name for part of Org mode buffer before first headline

2014-02-01 Thread Charles Berry
Thomas S. Dye tsdye.com> writes: > > Aloha all, > > Is there a canonical name for the part of the Org mode buffer before the > first headline? > > I checked the manual and probed my failure-prone memory off and on over > the last few days, but didn't come up with anything. > > I'm looking for

[O] keep latex overlays and run code blocks?

2014-02-01 Thread John Kitchin
Hi All, I have been using org-mode and emacs for lectures in an engineering course. I often have equations, and then source blocks that implement them. I can display the latex fragments, but when I try to run the source blocks, I have to type C-c C-c twice, because the first one removes the overla

[O] Org not preserving Python indent levels on LaTex export due to tabs

2014-02-01 Thread James Ryland Miller
I'm having trouble with getting python source=code blocks to export to LaTeX properly. I've figured out what's going wrong: the exporter is inserting tab characters on lines with 2 or more indentation levels in python. If I use org to export to .tex first, and then untabify the .tex files, the inde

Re: [O] Preservation of white space in babel blocks, exporting to PDF

2014-02-01 Thread John Hendy
On Feb 1, 2014 2:26 PM, "Nicolas Goaziou" wrote: > > Hello, > > John Hendy writes: > > > On Sat, Feb 1, 2014 at 2:28 AM, Nicolas Goaziou wrote: > > >> There is no discrepancy. You indent your code with tabs and these tabs > >> appear in the TeX file, but Beamer cannot handle them properly. The s

[O] new(ish) behaviour wrt to {s & }s

2014-02-01 Thread Benjamin Slade
At some point orgmode has started escaping {s and }s which I don't want to be escaped on conversion to LaTeX. For example when I put in orgmode \textsubscript{some subscript}, I get out in the .tex file \textsubscript\{some subsubscript}. Likewise with a user-defined function like \Bracketed{...}.

[O] ob-clojure: presentation of map structures?

2014-02-01 Thread Phill Wolf
How may I use an Org document to illustrate Clojure src blocks that produce Clojure data structures -- particularly maps -- as pretty-printed text? I think I am using Org "master" in Emacs 24.3. #+BEGIN_SRC clojure :results value <> (zipmap ["Peru" "Paris" "Sankt-Peterburg" "Philadelphia" "Plat

Re: [O] IDs w/ human friendly component

2014-02-01 Thread Daniel Clemente
Have you tried changing the strange ID to the ID that you want? (e.g. 7f3b531b-f1c9-41aa-854b-37235500495f → introduction). They should be unique. I use my manually written IDs for some important headers which I want to detect from outside org. In addition there's CUSTOM_ID, but I think th

Re: [O] renaming of ob-sh to ob-shell

2014-02-01 Thread Eric Schulte
Applied. Thanks for catching this error and taking the time to provide this thorough fix! Nicolas Richard writes: > Hello, > > The commit 80754a8 says "updated names in test-ob-shell" but it > reintroduced the file test-ob-sh.el which was renamed in the parent of > that commit. > > I attach a p

Re: [O] ob-clojure: presentation of map structures?

2014-02-01 Thread Eric Schulte
Phill Wolf writes: > How may I use an Org document to illustrate Clojure src blocks that produce > Clojure data structures -- particularly maps -- as pretty-printed text? I > think I am using Org "master" in Emacs 24.3. > > #+BEGIN_SRC clojure :results value <> > (zipmap > ["Peru" "Paris" "San

Re: [O] Org not preserving Python indent levels on LaTex export due to tabs

2014-02-01 Thread Nicolas Goaziou
Hello, James Ryland Miller writes: > I'm having trouble with getting python source=code blocks to export to > LaTeX properly. I've figured out what's going wrong: the exporter is > inserting tab characters on lines with 2 or more indentation levels in > python. If I use org to export to .tex fir

Re: [O] new(ish) behaviour wrt to {s & }s

2014-02-01 Thread Nicolas Goaziou
Hello, Benjamin Slade writes: > At some point orgmode has started escaping {s and }s which I don't want > to be escaped on conversion to LaTeX. For example when I put in orgmode > \textsubscript{some subscript}, I get out in the .tex file > \textsubscript\{some subsubscript}. Likewise with a use