Re: [O] Org menu change

2013-11-23 Thread Alan L Tyree
On 24/11/13 15:40, Nick Dokos wrote: Alan L Tyree writes: In the Emacs menu Org -> Customize -> Expand this menu used to give a complete menu of org-mode customisations which was quite helpful for an amateur. Now it gives a short menu that does little more than send the user to the usual Emacs

Re: [O] Org menu change

2013-11-23 Thread Nick Dokos
Alan L Tyree writes: > In the Emacs menu Org -> Customize -> Expand this menu used to give a > complete menu of org-mode customisations which was quite helpful for an > amateur. Now it gives a short menu that does little more than send the > user to the usual Emacs customisation system. > > Is th

[O] [bug] [babel] repeated exports w/ inline src blocks yield different results

2013-11-23 Thread Charles Berry
Consider this code: , | * test | | #+NAME: block2 | #+BEGIN_SRC emacs-lisp :exports both | (setf not-yet-bound-a t ) | #+END_SRC | | src_emacs-lisp{(+ 1 1)} | | end of buffer | ` Upon export via C-c C-e C-b t A y y yields: , | 1 test | == | | , | | (setf n

[O] Org menu change

2013-11-23 Thread Alan L Tyree
In the Emacs menu Org -> Customize -> Expand this menu used to give a complete menu of org-mode customisations which was quite helpful for an amateur. Now it gives a short menu that does little more than send the user to the usual Emacs customisation system. Is this intentional or a bug? Org-mode

Re: [O] ox-bibtex.el -- how to join sequential citations

2013-11-23 Thread Feng Shu
Eric Schulte writes: > Hi, > > I've been using ox-bibtex.el for a couple of days now and am really > enjoying both the bibtex integration and the HTML export through > bibtex2html. I have run into one issue which I'm now sure how best to > fix. > > When exporting multiple sequential citations e.

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Charles Berry
Eric Schulte gmail.com> writes: > [delete long discussion of bug] > > I've just pushed up another fix which should fix this for export too. > And it works! Thanks for the fix and for enabling this useful capability! Chuck

Re: [O] reference #+label: in export to both LaTeX and HTML

2013-11-23 Thread Eric Schulte
Eric Schulte writes: > Hi, > > How would I reference a label in export to HTML? For example. > > #+label: mutation-ops > [[file:mut-ops.svg]] > > In LaTeX export I could use \ref{mutation-ops} which would be passed > directly through to LaTeX, however this syntax is not understood by the > HTML

Re: [O] reference #+label: in export to both LaTeX and HTML

2013-11-23 Thread Thomas S. Dye
Hi Eric, Will this work? #+name: mutation-ops [[file:mut-ops.svg]] Figure [[mutation-ops]] shows ... hth, Tom Eric Schulte writes: > Hi, > > How would I reference a label in export to HTML? For example. > > #+label: mutation-ops > [[file:mut-ops.svg]] > > In LaTeX export I could use \ref{mu

[O] reference #+label: in export to both LaTeX and HTML

2013-11-23 Thread Eric Schulte
Hi, How would I reference a label in export to HTML? For example. #+label: mutation-ops [[file:mut-ops.svg]] In LaTeX export I could use \ref{mutation-ops} which would be passed directly through to LaTeX, however this syntax is not understood by the HTML backend. Is there a general Org-mode co

Re: [O] Show TODO item in table of contents

2013-11-23 Thread Rainer Stengele
Am 22.11.2013 23:48, schrieb Bernt Hansen: > Nicolas Goaziou writes: > >> Bernt Hansen writes: >> >>> This patch >>> 4c94c4d (ox-html: Add TODO keyword to TOC entries, 2013-11-06) >>> >>> changes the behaviour of HTML TOCs. I noticed that when I export my >>> org-mode document (http://doc.nora

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Eric Schulte
>> Indeed the fix was to set this element of info to point to the front of >> the inline src block. I imagine that you probably don't have the >> patched version of the relevant function loaded. Please try M-x >> describe-function on org-babel-get-src-block-info, then jump to the >> definition of

[O] Test selection

2013-11-23 Thread Achim Gratz
Following up on some off-list discussion with Eric Schulte some time ago, I've just pushed a change to officially enable test selection. The base functionality had been there for a while… Here's the pertinent documentation, also added to the build system documentation on Worg: http://orgmode.org/

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Charles Berry
Eric Schulte gmail.com> writes: > > Charles Berry ucsd.edu> writes: > > > Eric Schulte gmail.com> writes: > > > >> > >> Charles Berry ucsd.edu> writes: > >> > > [snip] > Indeed the fix was to set this element of info to point to the front of > the inline src block. I imagine that you p

Re: [O] org-table and elisp

2013-11-23 Thread Eric Schulte
Venkatesh K S writes: > Hi, > > I am trying to write some elisp which goes through a org-table and > compiles an specific email based on fields in there. > I am essentially trying to create an email workflow based on orgmode > and > mu4e. > > Can someone please point me to to elisp which navigate

[O] org-table and elisp

2013-11-23 Thread Venkatesh K S
Hi, I am trying to write some elisp which goes through a org-table and compiles an specific email based on fields in there. I am essentially trying to create an email workflow based on orgmode and mu4e. Can someone please point me to to elisp which navigates through org-table and updates the org-

Re: [O] [babel] how to pass data to gnuplot from another block

2013-11-23 Thread Eric Schulte
Nick Dokos writes: > Eric Schulte writes: > > >> The attached works fine for me (using sh since I don't have octave). >> >> #+name: uptime >> #+begin_src sh >> paste <(echo -e "1\n5\n15") <(uptime|sed 's/^.*average: //;s/,//g'|tr ' ' >> '\n') >> #+end_src >> > > Just an fyi: I had to set org-

[O] ox-bibtex.el -- how to join sequential citations

2013-11-23 Thread Eric Schulte
Hi, I've been using ox-bibtex.el for a couple of days now and am really enjoying both the bibtex integration and the HTML export through bibtex2html. I have run into one issue which I'm now sure how best to fix. When exporting multiple sequential citations e.g., cite:foo cite:bar etc... I would

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Eric Schulte
Charles Berry writes: > Eric Schulte gmail.com> writes: > >> >> Charles Berry ucsd.edu> writes: >> > [snip] >> >> Thanks for pointing this out, I've just pushed up a fix. >> > > AFAICS, it is still broken. > > I did a git pull, downloaded the patches, applied them, compiled > ob-core.el. I

Re: [O] imaxima babel

2013-11-23 Thread Eric Schulte
writes: > Thanks, this does answer my initial question and works good enough to > enable latex export! > > Even better would be if it's possible to mimic imaxima behaviour which > is (I think) to directly process the resulting latex code and > (temporarily?) store it as an image to display the p

Re: [O] Should org-narrow-to-subtree be disabled by default?

2013-11-23 Thread Rasmus
Bastien writes: > one good way to decide could be to ask people here if they ever > accidentally narrowed the view to a subtree -- I never did. No. But I know the concept of narrowing, which may be unfamiliar to some. I find narrowing super useful, especially when writing longer documents. >

Re: [O] Should org-narrow-to-subtree be disabled by default?

2013-11-23 Thread Bastien
Hi Jisang, one good way to decide could be to ask people here if they ever accidentally narrowed the view to a subtree -- I never did. Also, I tend to think Emacs is on the paranoid side here, I don't think newbies can hit C-x n n accidentally... Let me know what you think, -- Bastien

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-23 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Well, Nicolas warned us that we are not out of the woods yet. I repeated > the previous exercise, this time with the following file: > > (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp")) > (add-to-list 'load-path (expand-file-name > "~/src/e

[O] Should org-narrow-to-subtree be disabled by default?

2013-11-23 Thread Jisang Yoo
There are some Emacs commands that come disabled by default. narrow-to-region and narrow-to-page are examples. Emacs manual says "The purpose of disabling a command is to prevent users from executing it by accident; we do this for commands that might be confusing to the uninitiated." 80% of my min

Re: [O] Opening an Org file slowed down

2013-11-23 Thread Nicolas Goaziou
Hello, Michael Brand writes: > On Mon, Nov 11, 2013 at 5:41 PM, Michael Brand > wrote: >> I noticed that to open an Org file with a minimal example generated >> like this slowed down: >> >> #+BEGIN_SRC sh >> #!/bin/sh >> echo '* a' >> for ((i = 0; i < 400; i++)); do >> echo ' - b'

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Here's a fairly simple first stab, with page breaks made into an >> element, and a sample handling in the LaTeX backend. I've hardcoded ^L >> and the page-delimiter regexp that finds it, not sure it's worth >> providing an org-pag

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Here's a fairly simple first stab, with page breaks made into an >> element, and a sample handling in the LaTeX backend. I've hardcoded ^L >> and the page-delimiter regexp that finds it, not sure it's worth >> providing an org-pag

Re: [O] Converting org-mode/org-contacts to VCard (importing to Android)

2013-11-23 Thread Feng Shu
Karl Voit writes: > * Rüdiger Sonderfeld wrote: >> On Friday 22 November 2013 17:37:01 Karl Voit wrote: >>> The reason I wrote it in Python is that I don't know ELISP well >>> enough. The reason I wrote the script instead of using existing >>> export methods: I only want to export a small sub-se

Re: [O] Converting org-mode/org-contacts to VCard (importing to Android)

2013-11-23 Thread Feng Shu
Karl Voit writes: > Hi! > > I wrote a Python script that parses an Org-mode file in order to > generate a VCard 2.1 compatible output file I am using to import to > my Android 4.4 device: > > https://github.com/novoid/org-contacts2vcard > > The reason I wrote it in Python is that I don't know