Re: [O] Structure editing

2013-02-08 Thread Suvayu Ali
Hi Sanjib, On Fri, Feb 08, 2013 at 11:06:21AM +0530, Sanjib Sikder wrote: > On Fri, Feb 8, 2013 at 2:18 AM, Suvayu Ali wrote: > > On Fri, Feb 08, 2013 at 01:27:05AM +0530, Sanjib Sikder wrote: > > > > > > Is it possible to have a line between two tress which should not > > > hide when folded, like

Re: [O] Structure editing

2013-02-08 Thread David Rogers
Sanjib Sikder writes: > Hi, > > What I am trying to achieve is an 'ordinary' heading, which is not in the > beginning of the document but somewhere in the middle of the document, > before a particular level one heading of a tree. At present the 'ordinary' > heading gets hidden in the previous tre

Re: [O] Structure editing

2013-02-08 Thread Sanjib Sikder
" Is this document aimed for export to a specific backend," - NO " or is it just the way you want the org buffer to look?" - YES The org-mode is a fantastic tool the way it is. I was just enquiring whether it is possible or not. In one of my document I have to write few lines like "The following

Re: [O] python :session issues

2013-02-08 Thread Andreas Röhler
Am 07.02.2013 22:53, schrieb Myles English: Hi Andreas, Andreas Röhler writes: Am 06.02.2013 16:17, schrieb John Kitchin: Thanks for the -Q reminder. I get the same output if I run with emacs -Q (although I do have to add :results output to each block. I had that set as a default in my init

[O] A line in between top level headings (was: Structure editing)

2013-02-08 Thread Karl Voit
* Sanjib Sikder wrote: > > Unfolded state: > === > * Heading 1 > ** Heading 1-1 > ** Heading 1-2 > AT THIS POINT, A LINE (heading for the section below) WHICH SHOULD NOT BE > FOLDED > * Heading 2 > ** Heading 2-1 > ** Heading 2-2 I also do think that you did not express the thing you want

Re: [O] old to new converter transition

2013-02-08 Thread Thorsten Jolitz
Rainer M Krug writes: > Would it be possible to collect this info on a "quick and dirty" worg page? > At the moment, the > info is in several different threads? here is at least a nicely formatted version of this info I made for myself: _

[O] Newbie question

2013-02-08 Thread Ken
Hello all, I am a relative newbie to org-mode. Right now I use it for todo lists, I use it in conjunction with the diary, and I use it for journaling/note-taking. I am sure I am only using it fo a quarter or less of what it can be used for. Anyway, my question is rather simple. will allow you to

Re: [O] Newbie question

2013-02-08 Thread Julian Burgos
Hi Ken, If you do you will get an active timestamp with date and time. will give you an inactive timestamp with date and time. I also have this code in my .emacs file, so whenever I create a headline I get an inactive timestamp automatically. It should be easy to change to get an active ti

Re: [O] New exporter, beamer confusion

2013-02-08 Thread Eric S Fraga
Nicolas Goaziou writes: >> Should there be a check in the exporter, for latex based backends, if >> the document class expected is not defined? This would have made things >> a lot quicker to resolve in this case! > > What is an "expected document class"? Beamer export can happen with > a "beame

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Eric S Fraga
Sebastien Vauban writes: > While using the new dispatcher, I'd like to propose some adaptations -- before > it's too late (before everybody gets accustomed to your new bindings). and I would also like to take this opportunity to suggest a change in the interface. Given that we have moved to a m

[O] ocaml babel no longer works?

2013-02-08 Thread Alan Schmitt
Hello, I recently updated org-mode (from git), and ocaml source code is no longer recognized. If I have a very simple file, like this: #+BEGIN_SRC ocaml let x = 2 in x #+END_SRC I don't get syntax highlighting, and trying to evaluate it result in an error: Evaluate this ocaml code block on your

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Suvayu Ali
Hi Eric and Seb, On Sat, Feb 09, 2013 at 12:28:06AM +1030, Eric S Fraga wrote: > > Given that we have moved to a multi-key sequence for selecting exporter > and then action, could these two aspects not be dealt with in the > mini-buffer? I find the display of all the options confusing... I > wo

Re: [O] Newbie question

2013-02-08 Thread Nick Dokos
Ken wrote: > Hello all, > > I am a relative newbie to org-mode. Right now I use it for todo lists, I > use it in conjunction with the diary, and I use it for > journaling/note-taking. I am sure I am only using it fo a quarter or > less of what it can be used for. Anyway, my question is rather si

Re: [O] Newbie question

2013-02-08 Thread Ken
On Fri, Feb 08, 2013 at 01:15:19PM +, Julian Burgos wrote: > Hi Ken, > > If you do you will get an active timestamp with date > and time. will give you an inactive timestamp with date > and time. > I also have this code in my .emacs file, so whenever I create a > headline I get an inactive

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-08 Thread Sean O'Halpin
Great work on the new exporter! One small point: as we're going to have to change the meta directive "#+STYLE" to "#+HTML_STYLE", can we change the name to reflect what it really does in the HTML backend, i.e. insert text verbatim into the element? I suggest we rename it to "#+HTML_HEAD". Regard

Re: [O] old to new converter transition

2013-02-08 Thread Bastien
Rainer M Krug writes: > Would it be possible to collect this info on a "quick and dirty" > worg page? At the moment, the info is in several different threads? Please guys be *bold* and don't hesitate to contribute to Worg directly... This is WikiStyle :) Thanks! -- Bastien

Re: [O] [agenda] Lisp error: (args-out-of-range 0 0)

2013-02-08 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > With a recent pull (of today, 15:45), I now have the following error when > generating the agenda views: I can't reproduce this. > #+begin_src emacs-lisp > (setq org-agenda-prefix-format > '((agenda . " %-11s%i %-12:c%?-12t%7e ") >

Re: [O] [agenda] Lisp error: (args-out-of-range 0 0)

2013-02-08 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > Would it be still possible, I'd really appreciate a hint on what to look at in > order for me to go farer in that direction... Is it? You can dive into `org-compile-prefix-format' and `org-agenda-format-item' but that's tricky. Since this is a very

Re: [O] navigating between non-code blocks?

2013-02-08 Thread Bastien
Hi Bill, Bill White writes: > I sometimes have a lot of these in an org file and it would be handy > to navigate among them easily. It seems that block navigation is set > up to work only with *code* blocks. You now have C-c C-F (`org-next-block') C-c C-B (`org-previous-block') for navigat

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Sebastien Vauban
Hi Eric, Eric S Fraga wrote: >> While using the new dispatcher, I'd like to propose some adaptations -- >> before >> it's too late (before everybody gets accustomed to your new bindings). > > and I would also like to take this opportunity to suggest a change in > the interface. > > Given that we

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-08 Thread Sebastien Vauban
Hi Sean, "Sean O'Halpin" wrote: > One small point: as we're going to have to change the meta directive > "#+STYLE" to "#+HTML_STYLE", can we change the name to reflect what it > really does in the HTML backend, i.e. insert text verbatim into the > element? Why not... > I suggest we rename it to

Re: [O] old to new converter transition

2013-02-08 Thread Suvayu Ali
On Fri, Feb 08, 2013 at 05:25:58PM +0100, Bastien wrote: > Rainer M Krug writes: > > > Would it be possible to collect this info on a "quick and dirty" > > worg page? At the moment, the info is in several different threads? > > Please guys be *bold* and don't hesitate to contribute to Worg > dir

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Charles Berry
Suvayu Ali gmail.com> writes: > > Hi Eric and Seb, > > On Sat, Feb 09, 2013 at 12:28:06AM +1030, Eric S Fraga wrote: > > > > Given that we have moved to a multi-key sequence for selecting exporter > > and then action, could these two aspects not be dealt with in the > > mini-buffer? If you

Re: [O] [agenda] Lisp error: (args-out-of-range 0 0)

2013-02-08 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> Would it be still possible, I'd really appreciate a hint on what to look at >> in >> order for me to go farer in that direction... Is it? > > You can dive into `org-compile-prefix-format' and `org-agenda-format-item' > but that's tricky

Re: [O] Has anybody noticed ellipses instead of the top line of the window?

2013-02-08 Thread Bastien
Hi William, William writes: > My bad… here: Thanks... But I still cannot reproduce the problem. Let's get back to this when we have a sure recipe. Also let us know if you think it depends on your version of Emacs (23 right?) Best, -- Bastien

Re: [O] [agenda] Lisp error: (args-out-of-range 0 0)

2013-02-08 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> With a recent pull (of today, 15:45), I now have the following error when >> generating the agenda views: > > I can't reproduce this. > >> #+begin_src emacs-lisp >> (setq org-agenda-prefix-format >> '((agenda . " %-11s%i %-12:c

Re: [O] navigating between non-code blocks?

2013-02-08 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > Bill White writes: > >> I sometimes have a lot of these in an org file and it would be handy to >> navigate among them easily. It seems that block navigation is set up to >> work only with *code* blocks. > > You now have > > C-c C-F (`org-next-block') > C-c C-B (`org

[O] How to pass a block of text to a code block as data?

2013-02-08 Thread Michael Baum
I haven't been able to figure this out from the org-mode documents yet. What I would like to do is have a source code block in python or perl or something similar. to which I can pass a reference to several lines of text that the source code block, when evaluated, would then act on. Which would inv

Re: [O] Has anybody noticed ellipses instead of the top line of the window?

2013-02-08 Thread Samuel Wales
Hi Bastien, The reproduction is consistent for me for the top line ellipses in 24.2.2 using johnw's git repo's mac port branch. Let me know if you need more data. === It is usually also consistent for all the other falsely hidden lines and false ellipses. Org *all over the place* for me has non

Re: [O] old to new converter transition

2013-02-08 Thread Bastien
Suvayu Ali writes: > > > :) Thanks! -- Bastien

Re: [O] Problem with org-html-format-latex

2013-02-08 Thread Bastien
Hi Vincent, Vincent Beffara writes: > Cleaner patch uses ignore-errors, that's simpler... thanks for reporting this and for the patch, I've push a slightly different fix. Please test and let me know. Best, -- Bastien

Re: [O] return does not follow link

2013-02-08 Thread Alan E. Davis
By the way, even C-cC-o returns this same problem on my system. Alan On Fri, Feb 8, 2013 at 11:03 AM, Alan E. Davis wrote: > My setup is extremely convoluted, I fear, so I will not submit this as a > bug report. > > When I type at a link to an org-mode link (it is in another > file), the foll

Re: [O] return does not follow link

2013-02-08 Thread Bastien
Hi Alan, "Alan E. Davis" writes: > By the way, even C-cC-o returns this same problem on my system. (It looks like your first message didn't make it to the list... or maybe the server had a hiccup.) > On Fri, Feb 8, 2013 at 11:03 AM, Alan E. Davis > wrote: > > My setup is extremely convolu

[O] return does not follow link

2013-02-08 Thread Alan E. Davis
My setup is extremely convoluted, I fear, so I will not submit this as a bug report. When I type at a link to an org-mode link (it is in another file), the following is seen in the minibuffer: Running less ...done I updated org-mode from git, and reset org-return-follows-path by customizati

Re: [O] return does not follow link

2013-02-08 Thread Alan E. Davis
I did as you suggested, and C-cC-o did go to the link, so the problem is with my setup. Thank you, Bastien, Alan On Fri, Feb 8, 2013 at 11:10 AM, Bastien wrote: > Hi Alan, > > "Alan E. Davis" writes: > > > By the way, even C-cC-o returns this same problem on my system. > > (It looks like you

Re: [O] navigating between non-code blocks?

2013-02-08 Thread Bill White
On Fri Feb 08 2013 at 10:11, Bastien wrote: > Hi Bill, > > Bill White writes: > >> I sometimes have a lot of these in an org file and it would be handy >> to navigate among them easily. It seems that block navigation is set >> up to work only with *code* blocks. > > You now have > > C-c C-F (`

Re: [O] LaTeX export: Theorem with an author

2013-02-08 Thread Nicolas Goaziou
Hello, Vincent Beffara writes: > How to generate latex code for a theorem with an author, like this: > > \begin{theorem}[Newton] > Blah. > \end{theorem} > > With the old exporter, you could do this: > > > #+BEGIN_theorem Newton > Blah. > #+END_theorem > > > (possibly with brackets, not sure) but

Re: [O] [New exporter] Org LaTeX markup

2013-02-08 Thread Nicolas Goaziou
Hello, Charles Berry writes: > M-x customize-variable RET org-latex-format-headline-function RET > > then copy and paste the last part of the docstring into the window - add a > closing parenthesis at the end - and then modify it to your taste. Docstring fixed. Thank you. Regards, -- Nicol

[O] Exporting Graphviz to PDF

2013-02-08 Thread Marko Dimjašević
Hi folks, I'm trying to export a Graphviz dot graph to PDF. I have Graphviz installed on my system. Should I use: #+begin_src dot ... #+end_src or #+begin_dot ... #+end_dot ? For example, I'd like to use the following graph: #+begin_dot pg.svg -Tsvg :exports results digraph ProgramGraph {

Re: [O] return does not follow link

2013-02-08 Thread Alan E. Davis
Once again, I can add to the description of my problem. Running M-x org-open-at-point also returns "Running less ..." When using Mouse-2, a small menu appears that gives a few choices: Open C-cC-o Open in Emacs Copy link Cut link Grep for TODOs Clicking on Open in Emacs does th

Re: [O] How to pass a block of text to a code block as data?

2013-02-08 Thread Sebastien Vauban
Hi Michael, Michael Baum wrote: > I haven't been able to figure this out from the org-mode documents yet. > What I would like to do is have a source code block in python or perl or > something similar. to which I can pass a reference to several lines of text > that the source code block, when eval

Re: [O] Exporting Graphviz to PDF

2013-02-08 Thread Russell Adams
> #+begin_dot pg.svg -Tsvg :exports results > digraph ProgramGraph { > "l0" [label="l0"] > "l1" [label="l1"] > > "l0" -> "l1" [label=" true : int n := 0"] > } > #+end_dot I agree you want a vector format for inserting diagrams into PDF. I use EPS, I'm not aware th

Re: [O] Exporting Graphviz to PDF

2013-02-08 Thread Thomas S. Dye
Aloha Marko, See http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-dot.html #+begin_src dot :file myfile.pdf ... #+end_src All the best, Tom ma...@dimjasevic.net (Marko Dimjašević) writes: > Hi folks, > > I'm trying to export a Graphviz dot graph to PDF. I have Graphviz > installed o

Re: [O] navigating between non-code blocks?

2013-02-08 Thread Bastien
"Sebastien Vauban" writes: > Would we get `F' and `B' as speed commands, for mirroring `C-c C-f' and `C-c > C-b' (down to `f' and `b' as speed commands)? Done, thanks. -- Bastien

Re: [O] [agenda] Lisp error: (args-out-of-range 0 0)

2013-02-08 Thread Bastien
"Sebastien Vauban" writes: > Though, you may be right it'd be better/easier to play with overlays > (IIUC), and that's still shareable! Yes -- and I tend to be more and more conservative when it comes to add visual candy, so prepare to gather strong arguments for making it core :) -- Bastie

[O] {New exporter] What happened to the export template

2013-02-08 Thread Rick Frankel
Hi- Been using the new exporter for a while, and have not had much problem w/ the migration, but it seems that org-insert-export-options-template and the associated keybinding in the dispatch menu are gone. Once the old exporter (org-exp.el) is entirely gone, it's going to be real difficult (at

Re: [O] {New exporter] What happened to the export template

2013-02-08 Thread Rasmus
> Been using the new exporter for a while, and have not had much problem > w/ the migration, but it seems that org-insert-export-options-template > and the associated keybinding in the dispatch menu are gone. > > Once the old exporter (org-exp.el) is entirely gone, it's going to be > real difficu

Re: [O] {New exporter] What happened to the export template

2013-02-08 Thread Nicolas Goaziou
Hello, Rick Frankel writes: > Been using the new exporter for a while, and have not had much problem > w/ the migration, but it seems that org-insert-export-options-template > and the associated keybinding in the dispatch menu are gone. > > Once the old exporter (org-exp.el) is entirely gone, i

Re: [O] Structure editing

2013-02-08 Thread Torsten Wagner
Hi, this is a easy one ;) Unfolded state: === * Heading 1 ** Heading 1-1 ** Heading 1-2 * - * Heading 2 ** Heading 2-1 ** Heading 2-2 Folded state = * Heading 1 * -- * Heading 2 Done, problem solved :D Torsten O

Re: [O] New exporter, beamer confusion

2013-02-08 Thread Nicolas Goaziou
Rasmus writes: >> There is the #+LATEX_HEADER:. Is a keyword specific to Beamer >> required? It would by symmetric with #+BEAMER: but I have never >> needed it before. > > > Something like > > #+LATEX_HEADER:\AtBeginSection[]{\frame{\thispagestyle{empty}\tableofcontents[currentsection]}} > > is

[O] Possible issue with the Makefile

2013-02-08 Thread Suvayu Ali
Hi Achim, While switching to the new exporter I noticed something. In my local.mk I had `ORG_ADD_CONTRIB = org-e-*' before, but after the switch I removed it (as you had pointed it out in another thread :)). Despite that, all the org-e-* files under org-mode/lisp were not removed after I did `mak

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > While using the new dispatcher, I'd like to propose some adaptations -- before > it's too late (before everybody gets accustomed to your new bindings). [...] > In summary: > - Use "As ... buffer/file" writing > - Use key `b' for "buffer" result (for both H

Re: [O] Possible issue with the Makefile

2013-02-08 Thread Achim Gratz
Suvayu Ali writes: > In my local.mk I had `ORG_ADD_CONTRIB = org-e-*' before, but after the > switch I removed it (as you had pointed it out in another thread :)). > Despite that, all the org-e-* files under org-mode/lisp were not removed > after I did `make cleanall'. You would have needed to do

Re: [O] Possible issue with the Makefile

2013-02-08 Thread Suvayu Ali
On Fri, Feb 08, 2013 at 11:17:28PM +0100, Achim Gratz wrote: > Suvayu Ali writes: > > In my local.mk I had `ORG_ADD_CONTRIB = org-e-*' before, but after the > > switch I removed it (as you had pointed it out in another thread :)). > > Despite that, all the org-e-* files under org-mode/lisp were not

Re: [O] Worg publishing issue

2013-02-08 Thread Suvayu Ali
On Wed, Feb 06, 2013 at 02:19:03PM +0100, Suvayu Ali wrote: [...] > But I see that it is not being published. I got the following > publishing error after pushing my commit. > > remote: Publishing file > /home/emacs/git/worg/org-tutorials/org-beamer/org-e-beamer.org using > `org-publish-org-to-

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Eric S Fraga
Charles Berry writes: > If you customize org-export-dispatch-use-expert-ui to t Ah! Thanks. Missed this. > Then you will get the minibuffer, albeit with less verbose prompts than you > describe. Yes. Definitely tests the memory ;-) Thanks again, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FF

Re: [O] Worg publishing issue

2013-02-08 Thread Thorsten Jolitz
Suvayu Ali writes: > I still see issues with the publishing. My previous commit[1] to the FAQ > was not published. I actually looked up the link after your post and everything looked fine. > The post-commit hook output had timed out on my end > then. I had thought that was probably some ne

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Eric S Fraga
Sebastien Vauban writes: > Are you aware of: > > (setq org-export-dispatch-use-expert-ui t) > > If not, well, you should -- at least from now on! I wasn't but I am now! I guess I shouldn't be surprised that this exists, just annoyed with myself for not thinking that there would be such a vari

Re: [O] [New exporter] Key bindings and typographical error

2013-02-08 Thread Robert Eckl
"Sebastien Vauban" writes: > Hi Eric, > >> >> and I would also like to take this opportunity to suggest a change in >> the interface. >> >> Given that we have moved to a multi-key sequence for selecting exporter >> and then action, could these two aspects not be dealt with in the >> mini-buffer?

Re: [O] Worg publishing issue

2013-02-08 Thread Thorsten Jolitz
Suvayu Ali writes: ups, your probably did not refer to these git log links but to the (not) published worg-site. sorry for the misunderstanding ... > Footnotes: > > [1] > > [2] >

Re: [O] edit-src on read-only files

2013-02-08 Thread Eric S Fraga
Greg Minshall writes: > hi. i use RCS on my .org files. it's happened to me more than once (>1 > ==> "shame on me") that i've entered "C-c '" on a read-only .org file, > spent some time editing the source code fragment, then done "C-c '", > only to lose my edits, as the original buffer was read

[O] Macro expansion in new exporter

2013-02-08 Thread T.F. Torrey
Hello all, I really like the new exporter, and I appreciate the hard work of everyone involved. Right now, though, it's giving me a small problem: in the export to HTML, macro's are not expanded, so I have {{{title}}}, for instance, in the HTML output. I haven't been following the list as closel

Re: [O] Agenda items with date ranges

2013-02-08 Thread Robert Eckl
SabreWolfy writes: > Bastien altern.org> writes: > >> I can't reproduce this problem. >> >> Can you reproduce it with latest Org? > > The agenda *shows* the (1/8), etc. in Org-Mode 7.8.11. > > It does *not* show it in version 7.9.2 (Debian sid), so that's why I have > noticed it. If I get arou

Re: [O] How to pass a block of text to a code block as data?

2013-02-08 Thread Michael Baum
Sebastien: Thanks! That helps a lot. I'm having trouble extending your example, however. A couple of questions -- - What signals the end of the block of text to be used as data? I take it that it's important that these all be comment lines staring with a colon after the #+name label? Is there a w

[O] [PATCH] Fix a number of potential infinite loops due to unsgined underflow.

2013-02-08 Thread Tom Prince
I discovered this, when trying to merge a file, with a tag that overhangs the right margin. Trying to merge the following line with itself (with --rmargin less than 10) the causes the driver to output spaces forever: ** abc :TAG: --- src/org_heading.c | 10 +- 1 file changed, 5 insertion

[O] Bug? in texinfo exporter

2013-02-08 Thread Thomas S. Dye
Aloha all, The following text: LaTeX math snippets (see [[LaTeX fragments]]) is being exported to texinfo like this: @LaTeX{} math snippets (see @ref{@LaTeX{} fragments,}) ^ I think the marked comma is giving makeinfo a heartache. Makei

[O] Statistics cookies in org-store-link

2013-02-08 Thread William
Hi all, As for a recent git version, calling org-store-link on a subtree records its statistics cookie¹ in the link, which therefore breaks if the said statistic is changed (with “no match - create this as a new heading ?”) Links not featuring the progress cookie succeed at finding the headline w

[O] Make [C-c C-o] open link to auto create non-existing directory

2013-02-08 Thread chris
I found Emacs + Org-mode can not automatically create non-existing directory. For example: When I create a link [[file:Linux/Linux.org]], but this path does not exist. When I open this link with [C-c C-o]. Emacs shows into: Use [M-x make-directory RET RET] to create the directory and its pare

Re: [O] Possible issue with the Makefile

2013-02-08 Thread Achim Gratz
Suvayu Ali writes: > Despite that, all the org-e-* files under org-mode/lisp were not removed > after I did `make cleanall'. I need to do a `git clean -f -x -e > local.mk' to get rid of them. The easier way of dealing with this would have been to either check out maint and then do a "make clean"