[Orgmode] Exporting to html doesn't highlight code syntax. And a make doc error

2010-10-04 Thread Kane Dou
I've tried to export a code block like this: --8<---cut here---start->8--- #+BEGIN_SRC python L[1:2] = 'a' # L.insert(1, 'a') L[len(L):] = ['a', 'b', 'c'] # L.extend(['a', 'b', 'c']) L[3:] = [] # del L[3:] #+END_SRC --8<---cut here--

Re: [Orgmode] Agenda sorting strategy

2010-10-04 Thread Samuel Wales
org-agenda-cmp-user-defined + org-entry-get = solution. On 2010-10-04, Carsten Dominik wrote: > > On Oct 1, 2010, at 10:51 AM, Sébastien Vauban wrote: > >> Hello, >> >> Here is a minimal example of problems I experience with the sorting >> strategy >> of the agenda. >> >> --8<---cut h

Re: [Orgmode] ELPA Howto

2010-10-04 Thread Carsten Dominik
On Oct 4, 2010, at 8:23 PM, Jambunathan K wrote: Carsten Dominik writes: Ji Jambunathan, there is something in your Makefile patch I do not understand: X @@ -325,6 +328,14 @@ distfile: X zip -r org-$(TAG).zip org-$(TAG) X gtar zcvf org-$(TAG).tar.gz org-$(TAG) X X +elpa:

Re: [Orgmode] Agenda sorting strategy

2010-10-04 Thread Carsten Dominik
On Oct 1, 2010, at 10:51 AM, Sébastien Vauban wrote: Hello, Here is a minimal example of problems I experience with the sorting strategy of the agenda. --8<---cut here---start->8--- * Appointments ** Technician for washing machine <2010-10-01 Fri> I

Re: [Orgmode] Agenda sorting strategy

2010-10-04 Thread Carsten Dominik
On Oct 4, 2010, at 10:44 PM, Jeff Horn wrote: 2010/10/1 Sébastien Vauban : Get the tasks sorted: - by priority ("A", "B" or "C"), then - by "role" (category "personal" or "work"), then - by delay +1. I think having some customization over ordering would be very useful. Well, we have, th

Re: [Orgmode] custom postamble in HTML export

2010-10-04 Thread Carsten Dominik
On Oct 4, 2010, at 7:59 PM, Łukasz Stelmach wrote: Hello. How about moving (org-export-html-insert-plist-item opt-plist :postamble opt-plist) in org-html.el from line 1694 few lines up, just above the closing div of the postamble. IMHO it makes more sense to put custom content into the exis

Re: [Orgmode] Quoting formula "cookies" in table?

2010-10-04 Thread Carsten Dominik
Hi Achim, On Oct 4, 2010, at 7:46 PM, Achim Gratz wrote: I seem to have hit a snag with tables: I didn't find a way to quote any of the special characters that are recognized to make formulas. Tabbing through such cells will create a malformed #+TBLFM: line at the end of the table. I c

Re: [Orgmode] Re: Testing --- again...

2010-10-04 Thread Sebastian Rose
"Eric Schulte" writes: > Hi, > > So, I've been using the framework in the combined-testing branch this > morning writing tests to strap down my daily Babel bug fixes, and I'm > really liking ERT. > > I wonder, can we commit to the combined-testing branch, and if so could > we fold it into the mast

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Nathaniel Flath
I don't think this is what I had in mind. What you suggest seems to apply for bulleted lists, and sorting the titles of those alphabetically. I'm trying to implement lists of the form: a. Item 1 b. Item 2 c. Item 3 That work the same as lists like: 1. Item 1 2. Item 2 3. Item

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Sebastian Rose
Sorry for not following this thread closely. But from what I read, I thought it might be better to have a _command_ to sort existing lists alphabetically? That way, there is nothing that has to be "turned on" globally, that could intefere with Org mode's syntax. Excuse me, if that's of topic o

[Orgmode] quotation marks in LaTeX (again)

2010-10-04 Thread Don March
There's been some talk about quotation marks when exporting to LaTeX, but I've noticed some issues in addition (I think) to those mentioned by others. "'a quote' inside a quote" is exported to LaTeX as ``'a quote' inside a quote'' but should be ``\,`a quote' inside a quote'' Simila

[Orgmode] Re: Feature Request: Timestamp with repeater interval in Date range

2010-10-04 Thread Chris Thompson
Rüdiger Sonderfeld c-plusplus.de> writes: > Hello, > I have a Feature Request: It would be really great if there was (an easy way) > to define a Timestamp with repeating interval but only in a specific time > range. > For example I want to define a repeating event on every Tuesday between > 2010

Re: [Orgmode] arranging and publishing music with Org-mode and lilypond

2010-10-04 Thread Ben
> Agreed! I've used Lilypond before and it's awesome. It's pretty much as cool > as LaTeX in my opinion. Write some text, export and holy crap you've got > magically beautiful sheet music! I had not thought of Org-mode integration, > but that would indeed be quite nifty. What an exciting perspecti

[Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-10-04 Thread Rémi Letot
Richard Moreland writes: >> Most importantly, we need to know if any money is >> involved, including registration fees. > > I've looked through the website quite a bit, and it is free for all > participants. The only additional costs will be hotel accommodations, I can confirm that FOSDEM is co

Re: [Orgmode] Agenda sorting strategy

2010-10-04 Thread Jeff Horn
2010/10/1 Sébastien Vauban : > Get the tasks sorted: > > - by priority ("A", "B" or "C"), then > - by "role" (category "personal" or "work"), then > - by delay +1. I think having some customization over ordering would be very useful. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics

Re: [Orgmode] Re: "No link found" error during export of source block when headline has link

2010-10-04 Thread Michael Brand
>> * [[http://www.example.com][example]] There is an other issue with this, let me name it issue2: It is not yet possible to link to such a heading with something like e. g. [[*%5b%5bhttp://www.example.com%5d%5bexample%5d%5d][example]] although I think the syntax is not ambiguous and allows to d

[Orgmode] Re: org-babel: feature-request: allow table-cells to be passed as strings

2010-10-04 Thread Marc-Oliver Ihm
Hello, This would be such an example. The Input table contains some numbers, the last of them larger than allowed for an integer. As the result table show, the last one is converted to float thereby using some precision. I would like to see them all as strings. with kind regards, Marc-Oliver Ih

[Orgmode] Feature Request: Timestamp with repeater interval in Date range

2010-10-04 Thread Rüdiger Sonderfeld
Hello, I have a Feature Request: It would be really great if there was (an easy way) to define a Timestamp with repeating interval but only in a specific time range. For example I want to define a repeating event on every Tuesday between 2010-10-05 and 2011-01-27: <2010-10-05 Tue 09:15-11:00 +1w>-

Re: [Orgmode] ELPA Howto

2010-10-04 Thread Jambunathan K
Carsten Dominik writes: > Ji Jambunathan, > > there is something in your Makefile patch I do not understand: > >> >> X @@ -325,6 +328,14 @@ distfile: >> Xzip -r org-$(TAG).zip org-$(TAG) >> Xgtar zcvf org-$(TAG).tar.gz org-$(TAG) >> X >> X +elpa: install-info > > Why are you saying th

[Orgmode] custom postamble in HTML export

2010-10-04 Thread Łukasz Stelmach
Hello. How about moving (org-export-html-insert-plist-item opt-plist :postamble opt-plist) in org-html.el from line 1694 few lines up, just above the closing div of the postamble. IMHO it makes more sense to put custom content into the existing postamble than crating another one. There is usua

[Orgmode] Quoting formula "cookies" in table?

2010-10-04 Thread Achim Gratz
I seem to have hit a snag with tables: I didn't find a way to quote any of the special characters that are recognized to make formulas. Tabbing through such cells will create a malformed #+TBLFM: line at the end of the table. I can clean this up no problem, but on export the "formulas" produce

Re: [Orgmode] ELPA Howto

2010-10-04 Thread Jambunathan K
Hello Carsten > Ji Jambunathan, > > there is something in your Makefile patch I do not understand: > >> >> X @@ -325,6 +328,14 @@ distfile: >> Xzip -r org-$(TAG).zip org-$(TAG) >> Xgtar zcvf org-$(TAG).tar.gz org-$(TAG) >> X >> X +elpa: install-info > > Why are you saying the elpa is

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Nicolas Goaziou
> Carsten Dominik writes: > I think it would be appropriate in this case to simply throw an > error and let the user clean up with undo. Certainly, but this still means that any 27+ items list will never be able to complete a full bullet cycle as the user will have to undo each time alphabeti

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Hsiu-Khuern Tang
Hi Eric, Are you also seeing the problem reported at http://thread.gmane.org/gmane.emacs.orgmode/30855? I checked out the latest git version and that problem still exists. I don't know how closely it is related to the problem in this thread, but it was caused by the same commit (efdf78172d9f7c

[Orgmode] [PATCH] there is no ś in HTML

2010-10-04 Thread Łukasz Stelmach
Hello. There is no such named entity as ś. If you want to be 7bit clean then use ś (or decimal ś). --8<---cut here---start->8--- diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 28157a8..f75cfb4 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -181,7 +

Re: [Orgmode] Re: Testing --- again...

2010-10-04 Thread Eric Schulte
Hi, So, I've been using the framework in the combined-testing branch this morning writing tests to strap down my daily Babel bug fixes, and I'm really liking ERT. I wonder, can we commit to the combined-testing branch, and if so could we fold it into the master branch? It would make my test driv

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Puneeth
Eric, On Mon, Oct 4, 2010 at 8:09 PM, Eric Schulte wrote: > Ok, > > Thanks for your persistence in explaining this to me.  I've just pushed > up a change which should fix this issue. Thanks for the fix. :) I had my reasons for being persistent. org2blog [a client for posting to Wordpress from O

Re: [Orgmode] Re: Bug: subtree export fails with src block

2010-10-04 Thread Eric Schulte
Similar, I think this thread is also related http://thread.gmane.org/gmane.emacs.orgmode/31312/focus=31392 either way the issue should be fixed in the latest Org-mode. Please let me know if that is not the case. Best -- Eric Jörg Hagmann writes: > This might be the same problem I discussed

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Eric Schulte
Ok, Thanks for your persistence in explaining this to me. I've just pushed up a change which should fix this issue. Best -- Eric Puneeth writes: > Hi Eric, > > On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte >> I've just tried exporting an org-mode buffer containing babel code >> blocks to a te

Re: [Orgmode] Re: Bug: subtree export fails with src block

2010-10-04 Thread Jörg Hagmann
This might be the same problem I discussed recently? See this thread: http://thread.gmane.org/gmane.emacs.orgmode/31241/focus=31289 Jörg On 10/4/10 3:48 PM, Eric Schulte wrote: "Eric Schulte" writes: [...] "Giovanni Moretti" writes: I'm just starting with Babel and have been puzzled ab

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Puneeth
Hi Eric, On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte > I've just tried exporting an org-mode buffer containing babel code > blocks to a temporary file using C-c C-e H, and it worked without > problem.  Could you send me an example org-mode file that throws the > error your described? Have you e

Re: [Orgmode] ELPA Howto

2010-10-04 Thread Eric Schulte
Hi Jambunathan, Would you mind re-sending your original Makefile patch un-commented so that it will be captured by the patchwork system, and dropped into the org-mode development review process? Thanks -- Eric "Eric Schulte" writes: > Hi Jambunathan, > > Jambunathan K writes: > >> Hello Eric

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-04 Thread Scot Becker
As soon as I can, I'll give the patch a test using XeLaTeX as well. It'd be great to have this feature also be able to run xelatex instead of pdflatex to support that toolchain as well (for its better UTF-8 support and OpenType font integration). I expect this to be easy, because as far as I can t

[Orgmode] [PATCH] tag input separators

2010-10-04 Thread Richard Riley
I dont know if it would be generally useful, but a tiny little tweak to tag editing in order to allow "," as a seperator when typing in tags via C-c C-q TAB "free entry" interface. "," is certainly easier for me to use but I dont know about the ramifications of it as a legal character in a tag nam

Re: [Orgmode] org-mode breaks buffer indexing in sclang-mode

2010-10-04 Thread James Harkins
On Mon, Oct 4, 2010 at 4:42 PM, Carsten Dominik wrote: > Hi James, > > does this only happen when Org-mode opens the calendar, > or also when you use M-x calendar? > Ah... I misdiagnosed it. Opening the calendar doesn't cause the problem. It's after choosing the date to insert as a timestamp or s

Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-10-04 Thread Richard Moreland
On Mon, Oct 4, 2010 at 4:38 AM, Carsten Dominik wrote: > tanks for starting this, it looks pretty good. I also think we should add a section in the 'Comments' field of the form that says why we think Org-mode should get a devroom (or at least a portion of one). It may be helpful to identify appr

Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-04 Thread Carsten Dominik
On Oct 1, 2010, at 3:13 AM, Nathaniel Flath wrote: Carsten, If you think this is acceptable I'll start working on it. Thanks, Nathaniel Flath On Wed, Sep 29, 2010 at 10:46 AM, Nicolas Goaziou wrote: Hello, Carsten Dominik writes: Or, alternatively, put it in with an option to turn it

Re: [Orgmode] Best way to embed an svg file in an exported xhtml page?

2010-10-04 Thread Carsten Dominik
On Oct 4, 2010, at 3:30 AM, Eric Schulte wrote: Hi Bryan, I have the following in my config which works for me (add-to-list 'org-export-html-inline-image-extensions "svg") I have just made svg a member of the default list of extensions. Cheers - Carsten Best -- Eric Bryan Emrys wri

Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-10-04 Thread Carsten Dominik
Hi Richard, tanks for starting this, it looks pretty good. Still we need someone who says "I will organize this". Who will do that? Most importantly, we need to know if any money is involved, including registration fees. - Carsten On Sep 29, 2010, at 6:58 PM, Richard Moreland wrote: Based o

Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]

2010-10-04 Thread David Abrahams
At Mon, 4 Oct 2010 10:54:39 +0200, Carsten Dominik wrote: > > Hi David, > > well, it can happen that an item shows up multiple ways - if it has > been selected by different methods. For example, if your org-refile- > targets variable is like this: > > ((org-agenda-files :level . 1) > (org

Re: [Orgmode] Re: Bug: subtree export fails with src block

2010-10-04 Thread Eric Schulte
"Eric Schulte" writes: [...] > > "Giovanni Moretti" writes: > >> I'm just starting with Babel and have been puzzled about why one file >> worked and another didn't. >> >> I have been playing in a new file without any headers at all (no lines >> starting with '*') and while I could execute the co

Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]

2010-10-04 Thread Carsten Dominik
Hi David, well, it can happen that an item shows up multiple ways - if it has been selected by different methods. For example, if your org-refile- targets variable is like this: ((org-agenda-files :level . 1) (org-agenda-files :tag . "refile") (nil :maxlevel . 2)) then you could get thr

Re: [Orgmode] org-mode breaks buffer indexing in sclang-mode

2010-10-04 Thread Carsten Dominik
Hi James, does this only happen when Org-mode opens the calendar, or also when you use M-x calendar? - Carsten On Sep 12, 2010, at 2:33 PM, James Harkins wrote: As I said before, I'm really enjoying org-mode. I love that I can keep all my semester's teaching data in one text file and zoom in

Re: [Orgmode] org-babel: feature-request: allow table-cells to be passed as strings

2010-10-04 Thread Eric Schulte
Hi, Could you send an example of the contents of such a cell, and what it is converted to? Maybe it will be possible to improve the parsing of numerals in Babel s.t. we don't lose precision in these cases. Thanks -- Eric Marc-Oliver Ihm writes: > Hello ! > > Currently org-babel, when passing

Re: [Orgmode] minted for latex source code export

2010-10-04 Thread Carsten Dominik
Hi Dan, I think there are no objections to this patch. Some documentation will be needed, maybe on Work, with a link from the manual? Sebastian, are we mentioning the listing package in the documentation? Thanks - Carsten On Aug 6, 2010, at 3:34 PM, Dan Davison wrote: Seb's nice listing

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-04 Thread Carsten Dominik
Hi Sebastian, Thanks for the patch! I would certainly have a better way to process these files. My questions: 1. Can we run bibtex only if we have an indication that it might be needed? Maybe by looking at the output of the first LaTeX run? Hmm, maybe this would not work if only the bibtex

[Orgmode] org-babel: feature-request: allow table-cells to be passed as strings

2010-10-04 Thread Marc-Oliver Ihm
Hello ! Currently org-babel, when passing a table as input to a source-code-block, behaves like this: If the cell looks like a number, it will be converted to an integer or a float. Otherwise the cell-content is passed unconverted as a string. Now, dealing with very large numbers (which I want to

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Eric Schulte
Puneeth writes: > Hi Eric, >> >> You can still export to a temporary buffer (`A' instead of `a', `H' >> instead of `h') ... > > Yes. And this fails when there is an org-babel src block in the buffer. > > -- Puneeth Hi Puneeth, I've just tried exporting an org-mode buffer containing babel code b

Re: [Orgmode] Re: Bug: subtree export fails with src block

2010-10-04 Thread Eric Schulte
Hi Giovanni, I'm unable to reproduce your bug. I can successfully export the following to html w/o issue. --8<---cut here---start->8--- Now let's see what happens: #+begin_src python :results output :exports both print "Babel" limits = [1,2,3,4,5,6,7,8,9,10]

Re: [Orgmode] ELPA Howto

2010-10-04 Thread Carsten Dominik
Ji Jambunathan, there is something in your Makefile patch I do not understand: X @@ -325,6 +328,14 @@ distfile: X zip -r org-$(TAG).zip org-$(TAG) X gtar zcvf org-$(TAG).tar.gz org-$(TAG) X X +elpa:install-info Why are you saying the elpa is dependent on install-info? -