[O] [PATCH] Bugfix for heading levels when toggling from list

2011-06-09 Thread Michael Brand
Hi Nicolas, hi all The help provided from this thread about the function outline-level and "Match Data" http://thread.gmane.org/gmane.emacs.orgmode/42611 allowed me to make the attached patch. It resolves two or so buglets, the one I found first was introduced by http://orgmode.org/w/?p=org-mode.g

Re: [O] understanding the function outline-level

2011-06-09 Thread Michael Brand
On Tue, Jun 7, 2011 at 20:33, Niels Giesen wrote: > Some prodding about led me to believe the searching in > `outline-back-to-heading' is your suspect (but I have not investigated > this further). At least > > (progn >  (outline-back-to-heading) >  (outline-level)) > > Returns a reasonable answer

Re: [O] Matplotlib (Python) plots inline

2011-06-09 Thread Torsten Bronger
Hallöchen! Eric Schulte writes: > You could try > #+begin_src python :exports results :file /tmp/plot_test.png > ... > #+end_src > Which should behave as desired. Thank you, I think this is how I'll do it. Exporting is not so important to me (at least, not yet). Tschö, Torsten. -- Torsten

Re: [O] Matplotlib (Python) plots inline

2011-06-09 Thread Torsten Bronger
Hallöchen! Pierre de Buyl writes: > I have success with the following: > #+begin_src python :results output raw :exports results > import numpy, matplotlib, matplotlib.pyplot > figure = matplotlib.pyplot.figure() > axes = figure.add_subplot(111, title=u"Hello", xlabel="x", ylabel="y") > x

Re: [O] understanding the function outline-level

2011-06-09 Thread Carsten Dominik
On Jun 7, 2011, at 8:33 PM, Niels Giesen wrote: > Hi Michael, > > match data get set by searches. One can inhibit match-data being > cluttered by using the `save-match-data' macro (you should probably do > so when using searches in a lisp program). > > Outline.el seems to make very frequent use

Re: [O] [PATCH] Bugfix for heading levels when toggling from list

2011-06-09 Thread Nicolas Goaziou
Hello, Michael Brand writes: > The help provided from this thread about the function outline-level > and "Match Data" > http://thread.gmane.org/gmane.emacs.orgmode/42611 > allowed me to make the attached patch. It resolves two or so buglets, > the one I found first was introduced by > http://org

[O] Empty first line when tangling

2011-06-09 Thread Rainer M Krug
Hi when tangling the following with Org-mode version 7.5 (release_7.5.358.g5194), test.R begins with an empty line - but when tangling with 7.5, it does not start with an empty line. The empty line occurs *after* the shebang. Empty lines are usually not a problem, but I am using http://orgmode.or

Re: [O] [PATCH] Bugfix for heading levels when toggling from list

2011-06-09 Thread Michael Brand
On Thu, Jun 9, 2011 at 09:54, Nicolas Goaziou wrote: > I would happily apply your patch, but could you explain, before, what > bugs are solved by it ? Thank you. BTW, your bugfix commit mentioned by me was not buggy at all, it just unleashed (before I wrongly wrote "introduced") this buglet hidde

Re: [O] org-agenda-custom-commands have a serious bug!?

2011-06-09 Thread Memnon Anon
"zw963" writes: > i have use org-agenda-custom-commands manage my thought and idea. when > open my agenda custom view, I often require modified some heading > content. when I use org-agenda-switch-to (shortcut key "enter") open > and make changes, save and kill this buffer return to > org-agenda-

Re: [O] org-agenda-custom-commands have a serious bug!?

2011-06-09 Thread Carsten Dominik
On 9.6.2011, at 14:15, Memnon Anon wrote: > "zw963" writes: > >> i have use org-agenda-custom-commands manage my thought and idea. when >> open my agenda custom view, I often require modified some heading >> content. when I use org-agenda-switch-to (shortcut key "enter") open >> and make change

Re: [O] org-agenda-custom-commands have a serious bug!?

2011-06-09 Thread Nick Dokos
zw963 wrote: > i have use org-agenda-custom-commands manage my thought and idea. > when open my agenda custom view, I often require modified some heading > content. > when I use org-agenda-switch-to (shortcut key "enter") open and make changes, > save and kill this buffer return to org-agenda-c

[O] :table-line-pos is not document in the manual

2011-06-09 Thread Darlan Cavalcante Moreira
While reading the manual, I noticed that the :table-line-pos property is not documented. It is documented in the org-capture-templates variable, but not in the manual. -- Darlan Cavalcante

Re: [O] Empty first line when tangling

2011-06-09 Thread Eric Schulte
Rainer M Krug writes: > Hi > > when tangling the following with Org-mode version 7.5 > (release_7.5.358.g5194), test.R begins with an empty line - but when > tangling with 7.5, it does not start with an empty line. > > The empty line occurs *after* the shebang. Empty lines are usually not a > pro

Re: [O] Empty first line when tangling

2011-06-09 Thread Rainer M Krug
On Thu, Jun 9, 2011 at 4:46 PM, Eric Schulte wrote: > Rainer M Krug writes: > > > Hi > > > > when tangling the following with Org-mode version 7.5 > > (release_7.5.358.g5194), test.R begins with an empty line - but when > > tangling with 7.5, it does not start with an empty line. > > > > The emp

Re: [O] Empty first line when tangling

2011-06-09 Thread Eric Schulte
Hi Rainer, There is a section on the :padline header argument in the "Specific Header Arguments" section of the Org-mode documentation, however you most likely need a more recent version of the documentation loaded. This header and documentation were added in March. , | commit d0a4ed53f16ec8

[O] Use custom program to process LaTeX fragments?

2011-06-09 Thread amscopub-mail
Currently, whenever you export to HTML, you have 3 options for processing LaTeX fragments: (1) dvipng, (2) jsmath, (3) or leave it as is. Is it possible to use an arbitrary program to process LaTeX fragments? What I want to do is use a commandline converter to turn the LaTeX fragments directl

Re: [O] Use custom program to process LaTeX fragments?

2011-06-09 Thread Jambunathan K
amscopub-m...@yahoo.com writes: > Currently, whenever you export to HTML, you have 3 options for processing > LaTeX > fragments: (1) dvipng, (2) jsmath, (3) or leave it as is. > > > Is it possible to use an arbitrary program to process LaTeX fragments? > > What I want to do is use a commandline

[O] lists in tables

2011-06-09 Thread Uwe Brauer
Hello Maybe I did look carefully enough into the manual, but it seems that lists are not supported insides tables. Is this correct? Are there any plans to support it? thanks Uwe Brauer

[O] Define capture template with dynamic id target

2011-06-09 Thread Darlan Cavalcante Moreira
Hello List, I'm trying to create a few templates for org capture and I have found a weird behavior with the ID target type. It works OK if I use the ID directly like below #+begin_src emacs-lisp (id "Junho2011Contas") #+end_src but it does not find the ID if I try to get it from a function, suc

Re: [O] lists in tables

2011-06-09 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > Maybe I did look carefully enough into the manual, but it > seems that lists are not supported insides tables. Is this > correct? Yes. I don't know well the table code, but there are a few limitations involved. For example, lists are recognized by a pattern in which

Re: [O] lists in tables

2011-06-09 Thread Carsten Dominik
On 9.6.2011, at 20:44, Nicolas Goaziou wrote: > Hello, > > Uwe Brauer writes: > >> Maybe I did look carefully enough into the manual, but it >> seems that lists are not supported insides tables. Is this >> correct? > > Yes. I don't know well the table code, but there are a few limitations > i

Re: [O] lists in tables

2011-06-09 Thread Uwe Brauer
>> Regarding Re: [O] lists in tables; Carsten Dominik >> adds: > On 9.6.2011, at 20:44, Nicolas Goaziou wrote: >> >> Are there any plans to support it? >> >> None that I know of. > What does that even mean, lists in tables??? Well like a Word Processor like OO does it.

[O] [Bug] [Patch] List number start with the latex exporter

2011-06-09 Thread Darlan Cavalcante Moreira
When using a numbered list it is possible to specify the start number using [@number] so that one can write 1. one 2. two 20. [@20] twenty 21. twenty one This works OK with the HTML exporter, but in the latex exporter the number will be one unity above the desired value. The reason why

[O] Audio/video file playback in org mode

2011-06-09 Thread Paul Sexton
I have spent a few hours figuring this out so I thought I would post it for the benefit of others. I am learning a language, and wanted to include hyperlinks to audio files within my org document, and be able to play each file by clicking on the link. I eventually discovered the variable 'org-fi

[O] Auto-Fill (aka Word Wrap) of Headline Text

2011-06-09 Thread Lex Fridman
I enable auto-fill (aka word wrap) with: (add-hook 'org-mode-hook 'turn-on-auto-fill) Now, while editting an org file, I check the minor modes with "C-h m", and Auto-Fill is one of them. So when I type a long line it should automatically wrap, right? It does for regular text but NOT for when it's

Re: [O] Audio/video file playback in org mode

2011-06-09 Thread Eric Schulte
Very cool, Would you mind posting this to Worg to increase that chances that it will be found by future Orgers? The first place that comes to mind is the org-hacks page at http://orgmode.org/worg/org-hacks.html Cheers -- Eric Paul Sexton writes: > I have spent a few hours figuring this out so

Re: [O] Org-Drill first interval

2011-06-09 Thread Paul Sexton
Curt Bergmann visi.com> writes: > > The first interval for my first question is always 4 whether I mark it as a 3, > 4, or 5. When I change org-drill-learn-factor it doesn't appear to change the > first interval. > > I would like to reduce the first interval and I assume that the learn-facto

Re: [O] Auto-Fill (aka Word Wrap) of Headline Text

2011-06-09 Thread Darlan Cavalcante Moreira
I think this is the correct behaviour, since headlines cannot span multiple lines (as far as I know). This is also the case for the fill-paragraph command. If you try to call fill-paragraph in a headline nothing happens. -- Darlan At Thu, 9 Jun 2011 17:56:02 -0400, Lex Fridman wrote: > > I en

Re: [O] Auto-Fill (aka Word Wrap) of Headline Text

2011-06-09 Thread Lex Fridman
So, for a to-do list, if I want to write a lengthy description for a to-do item, do I need to start the description on the next line without the stars (*) at the beginning? I guess that makes sense. See, I thought of the headlines more as a bulleted list and not just a section heading tree... If

[O] Adding xmpfilter as a results type

2011-06-09 Thread Avdi Grimm
Something I've been thinking about lately... If you have used Ruby you might be familiar with the 'xmpfilter' command which comes in the 'rcodetools' package. It's a filter that annotates a source file with the results of expressions, so: 1 + 1 # => When run through xmpfilter would become:

Re: [O] Literate Programming - Continue a Source Block?

2011-06-09 Thread Avdi Grimm
On Wed, Jun 8, 2011 at 5:20 PM, Neeum Zawan wrote: > n this case, yes. In a real programming project, it could be a number > of them. For example, I may have a code block dedicated to > imports/includes which I want to be on the top of the file - and I may > have to append to that when adding a ne

Re: [O] [PATCH] Bugfix for heading levels when toggling from list

2011-06-09 Thread Nicolas Goaziou
Michael Brand writes: > #+begin_src org > ,#+STARTUP: odd > ,* section > , - item > #+end_src > > expected: 3 stars, buglet: 2 stars > #+begin_src org > ,- item > #+end_src > > expected: 1 star, buglet: 2 stars This is clearer now. Thanks for the examples and the patch. I have now appl

Re: [O] Define capture template with dynamic id target

2011-06-09 Thread David Maus
At Thu, 09 Jun 2011 15:18:00 -0300, Darlan Cavalcante Moreira wrote: > > > Hello List, > > I'm trying to create a few templates for org capture and I have found a > weird behavior with the ID target type. It works OK if I use the ID > directly like below > #+begin_src emacs-lisp > (id "Junho2011C