[O] How to initiate source edits

2013-05-02 Thread Andreas Röhler
Hi, have in some source file, let's assume Python, the following: foo = { "bar": ( "baz", "qux", ), } What is the best way to put this into an #+BEGIN_SRC python foo = { "bar": ( "baz", "qux", ), } #+END_SRC Thanks, Andreas

Re: [O] [Taskjuggler] Status of exporter

2013-05-02 Thread John Hendy
On Thu, May 2, 2013 at 3:18 PM, Eric S Fraga wrote: > Christian, > > I must be doing something really silly (not unheard of ;-) but I just > cannot get the new tj3 exporter to work. With an up to date org (as of > a few minutes ago), using the example from the tutorial but also an > example from

[O] [PATCH] Smart inference of task progress when exporting to TJ3

2013-05-02 Thread Martin
* contrib/lisp/ox-taskjuggler.el: Extend variable `complete' to respect clock times if no other information is given. There are three possibilities for setting a task's progress when exporting to TJ3: 1) If TODO state equals "done" => 100% 2) If property "complete" is explicitly given => use t

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-05-02 Thread Eric Abrahamsen
Rick Frankel writes: > On Tue, Apr 30, 2013 at 08:26:52PM -0700, Eric Abrahamsen wrote: >> Rick Frankel writes: >> >> > Whoops. Wrong key. Patch actually attached to this email... >> > rick >> >> Great, I'll consolidate all these -- would it be better to mush them >> into one big patch, or to

Re: [O] [html] centering

2013-05-02 Thread Eric Abrahamsen
Samuel Wales writes: > Has there been a recent change in HTML centering? We get this now: > > > > This does not work in browsers that do not support CSS. > > Thanks. > > Samuel Looks like Bastien put that in in baa2999, around March 12. That commit moved the remaining inline style declaratio

[O] spreadsheet hline-relative (I) field references

2013-05-02 Thread Greg Minshall
hi. i've two suggestions/requests/queries about using hline-relative references, e.g., @III, in formulas in org-mode spreadsheets. 1. i would like to use this syntax on the *left* hand side of a formula. e.g., #+TBLFM: @I$2=vsum(@-I$1..@+I$1) (meaning, the second column in the first r

Re: [O] [Taskjuggler] Status of exporter

2013-05-02 Thread Eric S Fraga
Christian, I must be doing something really silly (not unheard of ;-) but I just cannot get the new tj3 exporter to work. With an up to date org (as of a few minutes ago), using the example from the tutorial but also an example from Baptiste from last week, I get the following error message when

Re: [O] [new exporter] how can I export drawers?

2013-05-02 Thread Eric S Fraga
Carsten Dominik writes: [...] > Hi Eric, > > I can see that this must be painful, so you are one of the > people who suffer from this more that others. On the other > hand, this also makes you an asset for Org-mode, because > you keep testing the exporter in many different ways. > > I hope that

Re: [O] M-RET inside the first second-level heading of the first first-level heading

2013-05-02 Thread John Hendy
On Thu, May 2, 2013 at 1:51 PM, John Hendy wrote: > On Fri, Apr 26, 2013 at 1:54 AM, Bastien wrote: >> Hi Jisang, >> >> Jisang Yoo writes: >> >>> 2. Place cursor at the beginning of "** bacon" and press M-RET and org >>> creates >>> a first-level heading. >> >> This should now be fixed. Thanks

Re: [O] M-RET inside the first second-level heading of the first first-level heading

2013-05-02 Thread John Hendy
On Fri, Apr 26, 2013 at 1:54 AM, Bastien wrote: > Hi Jisang, > > Jisang Yoo writes: > >> 2. Place cursor at the beginning of "** bacon" and press M-RET and org >> creates >> a first-level heading. > > This should now be fixed. Thanks for reporting this, There were some same/similar/related iss

[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] Is it possible to create links to M-x occur results?

2013-05-02 Thread Leo Alekseyev
Nice! Short and sweet, and works great. It should go on orgmode.orgsomewhere in the cool hacks section. On Thu, May 2, 2013 at 7:07 AM, Rick Frankel wrote: > On 01.05.2013 18:41, Leo Alekseyev wrote: > >> Howdy Org-folks, >> >> Something that I've found myself wishing for time and time again

[O] Patch for asynchronous export of ocaml code

2013-05-02 Thread Alan Schmitt
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 program to run. This of course blocks the asynchronous export. The attached patch adds a custom variable to

Re: [O] Bug in structmode++?

2013-05-02 Thread Nicolas Goaziou
Igor Sosa Mayor writes: > Thanks Nicolas. At least, I dont feel alone anymore... Is there any > chance this getting fixed somehow? I used to use it very often in my > emails and I miss it. I miss it, too. I didn't follow recent changes to orgstruct-mode, so I cannot help here. I hope that someo

Re: [O] Is it possible to create links to M-x occur results?

2013-05-02 Thread Rick Frankel
On 01.05.2013 18:41, Leo Alekseyev wrote: Howdy Org-folks, Something that I've found myself wishing for time and time again is to be able to follow the link to a file and immediately pop into a set of M-x occur results given some search term for that file.  That way I could link to an overvie

Re: [O] section subtitle in latex export

2013-05-02 Thread Nicolas Goaziou
Masataro Asai writes: > org latex classes can be considererd as a template. template is somewhat > similer to lambda. you wouldnt want any function to be modified by another > function which recieved it as its argument. Of course, `org-latex-classes' is a template. But it doesn't apply on table

Re: [O] [PATCH v2] ox: Cache locations of fuzzy links

2013-05-02 Thread Nicolas Goaziou
Correcting myself: > Sorry for being dense, but why do you use _path_, which is a string and, > as you say, requires `equal' for equality, instead of the first argument > of the function, i.e. _link_, which only needs `eq'? Forget it. Caching LINK will only be useful when resolving the very same

Re: [O] [PATCH v2] ox: Cache locations of fuzzy links

2013-05-02 Thread Nicolas Goaziou
Hello, Lawrence Mitchell writes: > * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a > cache before trying to resolve it in the parse tree. > > When a document contains a large number of identical fuzzy links, it > doesn't make sense to continually search for them. Instead, ca

[O] Worg: Links to parent nodes?

2013-05-02 Thread James Harkins
Apologies if this has been asked already. I just noticed that, e.g., the ox-beamer.html page [1] has no links to its parent nodes. So for fun, I hacked the url to go back up a couple of levels, and that page didn't have any parent links either. It would be very useful to have the standard breadcru

Re: [O] Rationale for *text* -> \alert{text} for Beamer export?

2013-05-02 Thread James Harkins
On May 2, 2013 4:20 PM, "Nicolas Goaziou" wrote: > James Harkins writes: > > > That would assume that you can customize the string org uses for > > *bold*, which you can't at present... so maybe my hack has some use > > after all. > > This has already been discussed, and there's a solution provid

Re: [O] section subtitle in latex export

2013-05-02 Thread Masataro Asai
Nicolas, sorry for my offending remarks in the second message. i was just a little nervous about that unexpected behavior for me. org latex classes can be considererd as a template. template is somewhat similer to lambda. you wouldnt want any function to be modified by another function which reci

Re: [O] Rationale for *text* -> \alert{text} for Beamer export?

2013-05-02 Thread Suvayu Ali
On Wed, May 01, 2013 at 11:41:49AM -1000, Thomas S. Dye wrote: > John Hendy writes: > > > On Wed, May 1, 2013 at 10:00 AM, Marcin Borkowski > > wrote: > > 3) So, markup should be semantic, rather than visual. > > It is possible to achieve identical results using visual markup, of > course, bu

Re: [O] Rationale for *text* -> \alert{text} for Beamer export?

2013-05-02 Thread Suvayu Ali
On Thu, May 02, 2013 at 02:48:41AM +, James Harkins wrote: > ... implemented my own hack to customize the LaTeX > command for beamer to use for *bold text* (pasted as a git patch > below). [...chomp...chomp...chomp...] > From 8ccbc7cad43b520067b8b29d4660fc99587995fd Mon Sep 17 00:00:00 2001

Re: [O] Bug: org-archive-subtree should not include statitics counters for :ARCHIVE_OLPATH: [8.0.1 (release_8.0.1-10676-gd887b9 @ /home/mrb/dev/emacs/packages/org-mode/lisp/)]

2013-05-02 Thread Marcel van der Boom
On ma 29-apr-2013 10:50 Marcel van der Boom wrote: > > When using org-archive-subtree, any statistic counters present in the > header will be copied to > the :ARCHIVE_OLPATH: property. > Can anyone else reproduce this? Do I need to provide more information? Thx, marcel -- Marcel van der Boom

Re: [O] Rationale for *text* -> \alert{text} for Beamer export?

2013-05-02 Thread Marcin Borkowski
Dnia 2013-05-02, o godz. 02:48:41 James Harkins napisał(a): > John Hendy gmail.com> writes: > > > Just wondering about the rationale behind using *bold* markup for > > \textbf{} in LaTeX export and to \alert{} in Beamer. Was this a > > frequently voiced request? I'm sure I can dig into this som

Re: [O] ocaml babel no longer works?

2013-05-02 Thread Alan Schmitt
Hello, I'm resurrecting this old thread as I've made some progress but I still have questions. Eric Schulte writes: >> The suggestion: instead of appending '"org-babel-ocaml-eoe";;' to the >> code, how simply put ';;' (which will make sure everything is flushed) >> then detect the toplevel is do

[O] [PATCH v2] ox: Cache locations of fuzzy links

2013-05-02 Thread Lawrence Mitchell
* ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a cache before trying to resolve it in the parse tree. When a document contains a large number of identical fuzzy links, it doesn't make sense to continually search for them. Instead, cache the locations in the position independent

Re: [O] Bug in structmode++?

2013-05-02 Thread Igor Sosa Mayor
Am Thu, May 02, 2013 at 10:33:42AM +0200, Nicolas Goaziou wrote: > No, I can confirm this. Thanks Nicolas. At least, I dont feel alone anymore... Is there any chance this getting fixed somehow? I used to use it very often in my emails and I miss it. -- :: Igor Sosa Mayor :: joseleopoldo1...

Re: [O] Bug in structmode++?

2013-05-02 Thread Nicolas Goaziou
Hello, Igor Sosa Mayor writes: > I don't want to be annoying... but am I really alone with this > problem? No, I can confirm this. Regards, -- Nicolas Goaziou

Re: [O] Bug in structmode++?

2013-05-02 Thread Igor Sosa Mayor
I don't want to be annoying... but am I really alone with this problem? Am Wed, May 01, 2013 at 05:03:51PM +0200, Igor Sosa Mayor wrote: > Hi, > > Orgstruct minor mode is working with the mail-mode a little strange. > > If I write a simple list where every item is smaller than a line, I can > us

Re: [O] section subtitle in latex export

2013-05-02 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > (Nicolas, I’m waiting to see if you have any thoughts before pushing > this patch to the org repo.) That's good. Please push it into maint branch. Regards, -- Nicolas Goaziou

Re: [O] section subtitle in latex export

2013-05-02 Thread Nicolas Goaziou
Hello, Masataro Asai writes: > Reply to myself: > > I edebugged the ox-latex and studied what's happening. > Who wrote this code? Obviously, not you. > you shouldn't do things like this... The code is overwriting the > defcustom'ed sectioning format, no one knows. Doing what? Would you mind g

Re: [O] Rationale for *text* -> \alert{text} for Beamer export?

2013-05-02 Thread Nicolas Goaziou
Hello, James Harkins writes: > That would assume that you can customize the string org uses for > *bold*, which you can't at present... so maybe my hack has some use > after all. This has already been discussed, and there's a solution provided at: http://orgmode.org/worg/exporters/beamer/ox-

Re: [O] selecting columns to export

2013-05-02 Thread Greg Minshall
Sebastien, > Put a partial echo code block (one where you select in the var header > argument which columns interest you), and output the results of that > code block? thanks! below is the final result of your suggestion. (my table was long, so i had to use longtable; i also used a "landscape

Re: [O] section subtitle in latex export

2013-05-02 Thread Rasmus
Aaron Ecay writes: > Try the patch attached to this email. It simply avoids > inserting the alternate heading whenever it is identical to the > standard > one. Sounds good to me. Aesthetically, the insertion of \section[·]{·} has bothered me. . . –Rasmus -- ⠠⠵

Re: [O] [Bug] org-startup-with-inline-images

2013-05-02 Thread Daimrod
Rick Frankel writes: > On 01.05.2013 13:28, Daimrod wrote: >> Thanks for the report, I've attached a patch that fixes this problem >> (in >> both `org-display-inline-images' and `org-preview-latex-fragment'). >> However I don't know if it is the right approach or if I should try >> to >> narrow t

Re: [O] [new exporter] how can I export drawers?

2013-05-02 Thread Carsten Dominik
On 1.5.2013, at 14:28, Eric S Fraga wrote: > "Thomas S. Dye" writes: > >> Hi Eric, >> >> I haven't been following closely, so I'm just checking that you're aware >> of a new variable org-export-allow-bind-keywords, which could play a >> role in the behavior you are seeing. > > Thanks Tom. I