Re: [O] JavaScript and babel

2012-06-06 Thread Alan Schmitt
On 7 juin 2012, at 07:25, Alan Schmitt wrote: > Hello, > > I'm writing a presentation about JavaScript and I was trying to get some code > to run. Unfortunately whatever I try, I get "undefined" as the results, as in > the following: > > #+begin_src js > 1; > #+end_src > > #+RESULTS: > : unde

[O] JavaScript and babel

2012-06-06 Thread Alan Schmitt
Hello, I'm writing a presentation about JavaScript and I was trying to get some code to run. Unfortunately whatever I try, I get "undefined" as the results, as in the following: #+begin_src js 1; #+end_src #+RESULTS: : undefined Could someone give an example of the syntax to use? Thanks a lo

Re: [O] Embed images in formats best suited for HTML and LaTeX export and inline viewing

2012-06-06 Thread Avdi Grimm
I'm interested in this as well. At present I plan on handling it externally to org-mode with some preprocessing before final org-export; but it would be cool to have it be a built-in feature. Obviously it can be accomplished manually with #+LaTeX: and #+HTML: sections, but some syntax sugar for it

Re: [O] org-e-html: Including ATTR_HTML: title="hover text"

2012-06-06 Thread William Crandall
Also, any chance of getting (parentheses) around a link WITH a title, but without ( extra spaces )? Org input: -- A paragraph about a new mode ( #+ATTR_HTML: title="Link hover text" [[./orgmode][org-mode]] ) that is really cool... -

Re: [O] Clocking in emits an error

2012-06-06 Thread Avery Chan
It /does/ go away if I add the headline. So I think you're saying: 1. Plain list checkbox items cannot have a time-estimate associated them. 2. Plain list checkbox items cannot track time. 3. Only headlines/TODO headlines can have these features. I suppose that a TODO headline is effectively a ch

Re: [O] Clocking in emits an error

2012-06-06 Thread Nick Dokos
Avery Chan wrote: > I have a plain list with checkboxes. I am trying to set a clock in time using > `C-c C-x C-i`. This emits this type of an error: > > byte-code: Before first headline at position 30 in buffer TODO.org > > Here is the text of my org file: > > ---START FILE--- > - [ ] Clean up

[O] org-e-html: Including ATTR_HTML: title="hover text"

2012-06-06 Thread William Crandall
Hello Jambunathan and Nicolas, If org-mode source text is: -- A paragraph about #+ATTR_HTML: title="Link hover text" [[http://orgmode.org]] exalting new emacs mode... -- "M-x org-export h" generates:

[O] Clocking in emits an error

2012-06-06 Thread Avery Chan
I have a plain list with checkboxes. I am trying to set a clock in time using `C-c C-x C-i`. This emits this type of an error: byte-code: Before first headline at position 30 in buffer TODO.org Here is the text of my org file: ---START FILE--- - [ ] Clean upstairs windows - [ ] Lunch with Taylor

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Mikhail Titov
> -Original Message- > From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx...@gnu.org] On Behalf Of Mikhail Titov > Sent: Wednesday, June 06, 2012 2:42 PM > To: 'Eric Schulte' > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] [babel] session initialization (

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Mikhail Titov
> -Original Message- > From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx...@gnu.org] On Behalf Of Eric Schulte > Sent: Wednesday, June 06, 2012 2:02 PM > To: Mikhail Titov > Cc: emacs-orgmode@gnu.org; 'henry atting'; 'Eric Schulte' > Subject: Re: [O] [b

Re: [O] python/babel inline images

2012-06-06 Thread Mikhail Titov
> -Original Message- > From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx...@gnu.org] On Behalf Of Eric Schulte > Sent: Wednesday, June 06, 2012 2:25 PM > To: Mikhail Titov > Cc: emacs-orgmode@gnu.org; 'henry atting' > Subject: Re: [O] python/babel inlin

Re: [O] python/babel inline images

2012-06-06 Thread Eric Schulte
"Mikhail Titov" writes: > > Meanwhile I've noticed that I can't return back from editing python code in > a sub-editing buffer. C-c ' does not work and M-x org-edit-src-exit says > "This is not a sub-editing buffer, something is wrong". > This works on my system, perhaps the problem is due to so

Re: [O] python/babel inline images

2012-06-06 Thread Mikhail Titov
> -Original Message- > From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx...@gnu.org] On Behalf Of henry atting > Sent: Wednesday, June 06, 2012 10:19 AM > To: emacs-orgmode@gnu.org > Subject: Re: [O] python/babel inline images > > I don't think its a p

Re: [O] org-icalendar-alarm-time in org file as an #+OPTION

2012-06-06 Thread Enda
http://orgmode.org/manual/iCalendar-export.html In Org options, I can set org-icalendar-alarm-time to '1' and when I export the org file as an ical file, and then import the ical file into a calendar application, I get notified by the alarm of the calendar application one minute before the even

Re: [O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Eric Schulte
>> >> Most languages should and (at least those I use regularly) do run in the >> directory of the containing Org-mode file. Which languages do not? > > I'm working on ob-octave.el which does not. So I'll fix it in this > case. Great, thanks. > > Which leads me to another question I was about

[O] refiling sets tags

2012-06-06 Thread Samuel Wales
In latest git, refiling a region seems to set tags. Since you don't want that, you ^G. Then you are left with a duplicate set of entries in the target location. It is intermittent and goes away when you edebug or select a default location using ido. Maybe this code is related: ;; We d

Re: [O] org-mode html5 converter option

2012-06-06 Thread Bastien
Enda writes: > Is there a way to convert from org-mode to html5? Not yet. -- Bastien

Re: [O] org-icalendar-alarm-time in org file as an #+OPTION

2012-06-06 Thread Bastien
Hi Enda, Enda writes: > Is there is way to have to have org-icalendar-alarm-time in an org > file as an #+OPTION? What would do `org-icalendar-alarm-time'? -- Bastien

Re: [O] white (hide)stars in black background terminal

2012-06-06 Thread Bastien
Hi Enda, Enda writes: > When I open org-mode with hidestars in a TTY terminal I cannot see > the > stars, however when I open them in a terminal emulator inside GNOME, > the stars that are supposed to be hidden are white (on a black > background). Please share elements of your configuration tha

Re: [O] emacs --batch without calling all the .el scripts

2012-06-06 Thread Bastien
Enda writes: > emacs --batch --visit=index.org --funcall org-export-as-html-batch > > all the .el scripts in /etc/emacs/site-start.d/ get called which > takes > time, since all of these are unnecessary except 50org-mode.el, is > there is way to only load 50org-mode.el Untested: emacs -Q --batch

Re: [O] shorter way of #+HTML:

2012-06-06 Thread Bastien
Hi Enda, Enda writes: > When I prepare an org file to convert into html, I have to have a lot > of > > #+HTML: > > to break lines without a full full line space between them, should > there be or is there is shorter way to doing this? Nope, sorry. But you can easily insert it repeartedly by u

Re: [O] *print 'Hello world'* is not bold

2012-06-06 Thread Bastien
Hi Enda, Enda writes: > *print 'Hello world'* is not bold. See `org-emphasis-regexp-components' and its docstring. HTH, -- Bastien

Re: [O] shorter way of #+HTML:

2012-06-06 Thread Enda
I want nearly all paragraphs to have one line of spacing, the #+HTML: (no line of spacing) is just for once-off occasions. Best wishes, Enda From: Bernt Hansen To: Enda Cc: "emacs-orgmode@gnu.org" Sent: Wednesday, June 6, 2012 6:28 PM Subject: Re: short

[O] [babel] session initialization (was RE: python/babel inline images)

2012-06-06 Thread Mikhail Titov
> -Original Message- > From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx...@gnu.org] On Behalf Of Eric Schulte > Sent: Wednesday, June 06, 2012 12:20 AM > To: Mikhail Titov > Cc: emacs-orgmode@gnu.org; 'henry atting' > Subject: Re: [O] python/babel inli

Re: [O] shorter way of #+HTML:

2012-06-06 Thread Bernt Hansen
Enda writes: > When I prepare an org file to convert into html, I have to have a lot > of > > #+HTML: > > to break lines without a full full line space between them, should > there be or is there is shorter way to doing this?, like having a dot > on a line by itself for the html converter could

Re: [O] python/babel inline images

2012-06-06 Thread Eric Schulte
"Mikhail Titov" writes: >> -Original Message- >> From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode- >> bounces+mlt=gmx...@gnu.org] On Behalf Of Eric Schulte >> Sent: Tuesday, June 05, 2012 9:57 AM >> To: henry atting >> Cc: emacs-orgmode@gnu.org >> Subject: Re: [O] pyth

[O] white (hide)stars in black background terminal

2012-06-06 Thread Enda
When I open org-mode with hidestars in a TTY terminal I cannot see the stars, however when I open them in a terminal emulator inside GNOME, the stars that are supposed to be hidden are white (on a black background). Best wishes, Enda

[O] org-mode html5 converter option

2012-06-06 Thread Enda
Is there a way to convert from org-mode to html5? Best wishes, Enda

[O] org-icalendar-alarm-time in org file as an #+OPTION

2012-06-06 Thread Enda
Is there is way to have to have org-icalendar-alarm-time in an org file as an #+OPTION? Best wishes, Enda

Re: [O] Updating info files

2012-06-06 Thread Memnon Anon
Mike Fitzgerald writes: > C-h i still brings up the old info files. > > files are there: > > org.pdf > rg.texi > rgcard.pdf > rgcard.tex > rgcard_letter.pdf > rgguide.pdf > rgguide.texi Mhh, are these all files in the doc dir? Info doesn't use pdf, here is mine for comparison: /home/xxx/tmp/bi

[O] emacs --batch without calling all the .el scripts

2012-06-06 Thread Enda
When I call: emacs --batch --visit=index.org --funcall org-export-as-html-batch all the .el scripts in /etc/emacs/site-start.d/ get called which takes time, since all of these are unnecessary except 50org-mode.el, is there is way to only load 50org-mode.el Best wishes, Enda

[O] *print 'Hello world'* is not bold

2012-06-06 Thread Enda
*print 'Hello world'* is not bold. Best wishes, Enda

[O] shorter way of #+HTML:

2012-06-06 Thread Enda
When I prepare an org file to convert into html, I have to have a lot of #+HTML: to break lines without a full full line space between them, should there be or is there is shorter way to doing this?, like having a dot on a line by itself for the html converter could mean a newline (without a ful

Re: [O] Difficulty of using Org mode

2012-06-06 Thread Memnon Anon
suvayu ali writes: > The way I went about it was to get an overview of the capabilities from > Worg and start using only the features I needed (in my case note taking > and export). As I became more familiar, I delved into other features > (like agenda, babel) and customisation of the already fam

Re: [O] python/babel inline images

2012-06-06 Thread henry atting
I don't think its a path problem. The code itself works flawlessly. So the workaround which I already have used is to link to the resulting image. The only drawback with this solution is that after every evaluation I have to remove the empty `'Results:' but the heck with it, I can live with it happ

Re: [O] [GSoC] org-merge-driver weekly update

2012-06-06 Thread Robert Horn
Carsten Dominik writes: > On 6.6.2012, at 15:50, Andrew Young wrote: > As a general remark, if you implement things like aggressive resorting, > I think it would be good to have such features optional, in some > way configurable. Turning off all bells would then do a simple stable > outline tree

Re: [O] [GSoC] org-merge-driver weekly update

2012-06-06 Thread Carsten Dominik
On 6.6.2012, at 15:50, Andrew Young wrote: > Hi Robert Horn, > > On Mon, Jun 4, 2012 at 11:30 AM, Robert Horn wrote: >> Another area that would be nice to address is taking advantage of the >> information in date-trees so assist with merging. This is similar to >> the logic around keeping head

Re: [O] [GSoC] org-merge-driver weekly update

2012-06-06 Thread Andrew Young
Hi Robert Horn, On Mon, Jun 4, 2012 at 11:30 AM, Robert Horn wrote: > Another area that would be nice to address is taking advantage of the > information in date-trees so assist with merging. This is similar to > the logic around keeping headlines in order. With date trees there is a > date and

Re: [O] Converting table to properties

2012-06-06 Thread Juan Pechiar
On Wed, Jun 06, 2012 at 05:55:52PM +0530, Vikas Rawal wrote: > I have a table under each of several headlines in an org file. Each > table has a row of column labels and a row of data. I would like to > convert the table into properties, with labels coming from first row > and values of properties

[O] Converting table to properties

2012-06-06 Thread Vikas Rawal
I have a table under each of several headlines in an org file. Each table has a row of column labels and a row of data. I would like to convert the table into properties, with labels coming from first row and values of properties coming from the second row. How should I do this? Vikas