[O] new exporter - subtree export and a few keywords

2012-12-18 Thread François Allisson
Dear org-mode users and developers, The following concerns Nicolas' new exporter.^ I am totally seduced by the concept of export by subtree, and the possibility to use properties to set the export options and parameters (i.e. :EXPORT_TITLE:, :EXPORT_OPTIONS:, :EXPORT_LATEX_HEADER:, etc.). I am w

Re: [O] new exporter - subtree export and a few keywords

2012-12-18 Thread Jambunathan K
François Allisson writes: > Dear org-mode users and developers, > > The following concerns Nicolas' new exporter.^ > > I am totally seduced by the concept of export by subtree, and the > possibility to use properties to set the export options and parameters > (i.e. :EXPORT_TITLE:, :EXPORT_OPTIONS

[O] orgtbl-mode and markdown

2012-12-18 Thread Vegard Vesterheim
I had problems editing tables (using the minor mode orgtbl-mode) in markdown files. To reproduce: - visit an empty buffer in markdown mode - M-x orgtbl-mode - create a new table (C-c |) - try to edit a cell - observe that the edited text is misplaced at the end of the line The following pa

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Carsten Dominik
On 18 dec. 2012, at 09:33, Vegard Vesterheim wrote: > I had problems editing tables (using the minor mode orgtbl-mode) in > markdown files. > > To reproduce: > - visit an empty buffer in markdown mode > - M-x orgtbl-mode > - create a new table (C-c |) > - try to edit a cell > - observe that

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Vegard Vesterheim
On Tue, 18 Dec 2012 14:07:36 +0100 Carsten Dominik wrote: > On 18 dec. 2012, at 09:33, Vegard Vesterheim > wrote: > >> I had problems editing tables (using the minor mode orgtbl-mode) in >> markdown files. >> >> To reproduce: >> - visit an empty buffer in markdown mode >> - M-x orgtbl-mode

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Carsten Dominik
On 18 dec. 2012, at 14:39, Vegard Vesterheim wrote: > On Tue, 18 Dec 2012 14:07:36 +0100 Carsten Dominik > wrote: > >> On 18 dec. 2012, at 09:33, Vegard Vesterheim >> wrote: >> >>> I had problems editing tables (using the minor mode orgtbl-mode) in >>> markdown files. >>> >>> To reprodu

Re: [O] Bibtex export

2012-12-18 Thread Bastien
Hi Mohamed, mohamed writes: > Is there any way to use something like : > > * Section a > > ... > > * Bibliography [with some specific tag] > \clearpage > \bibliographystyle{acm} > \bibliography{biblio.bib} > > My point is to avoid deleting the bibliography lines when deleting the > pre

Re: [O] Emacs 22 compatibility

2012-12-18 Thread Bastien
I think a reasonable expectation is to be fully compatible with the last two major versions of GNU Emacs (23 and 24). For Emacs 22 and XEmacs, if we have people using these Emacsen, maybe they can help? I'm reluctant to drop support for Emacs 22/XEmacs as it would block those volunteers. --

Re: [O] org-bullets extension

2012-12-18 Thread Bastien
Hi Jambunathan, Jambunathan K writes: > (font-lock-add-keywords > 'org-mode `(("\\(?:^\\(?1:\\*+\\)[[:blank:]]\\)" > (0 (progn (compose-region > (match-beginning 1) (match-end 1) > (pcase (length (match-string 1

Re: [O] org-anywhere

2012-12-18 Thread Bastien
Hi, Rasmus writes: >> - scheduled and deadline dates cannot be stored in drawers > > That would be nice, yes. Just FYI, there is a plan for this. >> - I would like a org-remove-all-(flow)-guff option > > That would be nice. Patch welcome! -- Bastien

Re: [O] template, position search

2012-12-18 Thread Bastien
Hi Petro, Petro writes: > (setq org-capture-templates > '(("t" "Todo" entry (file+headline "~/org/tasks.org" "Tasks") > "* TODO %?\n %i\n %a") > ("n" "Note" entry (file+datetree "~/org/notes.org") > "* %?\nEntered on %U\n %i\n %a") > ("a" "article

Re: [O] capture template sexp

2012-12-18 Thread Bastien
Hi Skip, Skip Collins writes: > I have not been able to find good examples of how to use the %(sexp) > construct in capture templates. I have a use case in which I would > like to retrieve some information from the capture target file to > include in the template. Can someone suggest a way const

Re: [O] Removing items from lists with checkboxes

2012-12-18 Thread Bastien
Hi, gifib...@arcor.de writes: > If i have a list like: > > ** [/] Headin >- [ ] one >- [ ] two > > I can add a new line with a checkbox with the command M-S-. The [/] is > updated immediately. Is there a smarter way to remove items from the list, > than C-k, C-c #? No. > I like to have

Re: [O] org-anywhere

2012-12-18 Thread Bastien
Hi Tony, tony day writes: > I was thinking of the simpler magic which keeps tags on the far right. An > option where properties show up in the tag list like =:tag1:tag2:p:=. and > then you can C-c C-c or cycle them back to full visibility. FWIW, I would find this solution confusing, mixing tag

Re: [O] [PATCH] Nicer fontification for org-todo-list

2012-12-18 Thread Ingo Lohmar
Hi Bastien and all, Is anything still to be fixed before the patch that I sent can be applied? I am curious since there was no reaction and no change in the repo as far as I can tell... Best Ingo

Re: [O] texinfo back-end won't export to INFO

2012-12-18 Thread Bastien
Hi Thomas, t...@tsdye.com (Thomas S. Dye) writes: > Export to INFO fails to produce an output file. > > Export to TEXI works. Running makeinfo on the texi file yields errors > like this: > > /Users/dk/org/orgmanual//orgmanual.texi:171: `Exporting' has no Up field > (perhaps incorrect sectioning?

Re: [O] Export to Confluence wiki format

2012-12-18 Thread Bastien
Hi Sébastien, Sébastien Delafond writes: > I've put together a somewhat crude confluence exporter that's based on > the new exporter (as of 7.9.2). For now it's hosted on github[1]. This is now in contrib. Thanks! -- Bastien

Re: [O] export of #+INCLUDE appears broken with :exports results

2012-12-18 Thread Bastien
Hi Myles, "Myles English" writes: >> Did you try with downcase for the TBLNAME keyword? I know it (all upper or >> down-case) was important at some point in time, but don't remember if this is >> still of importance. > > I have tried all those variations, and using #+name instead of #+tblname >

Re: [O] Feature request: HTML export classes for "real" lists

2012-12-18 Thread Bastien
Hi Derek, writes: > But the exporter also uses HTML list elements in other contexts; the tags > are overloaded. This means you can't set up CSS definitions to tweak > just "real" lists. Can someone add class attributes to each of the > "dt", "dd" and "li" items in the above code block? For ex

Re: [O] Emacs 22 compatibility

2012-12-18 Thread Achim Gratz
Bastien writes: > I think a reasonable expectation is to be fully compatible with > the last two major versions of GNU Emacs (23 and 24). It would help if I managed to get Emacs 23 to compile Org… but since some people on the list are still using Emacs23 and they don't report problems I'm assuming

Re: [O] Feature request: HTML export classes for "real" lists

2012-12-18 Thread Eric Schulte
Bastien writes: > Hi Derek, > > writes: > >> But the exporter also uses HTML list elements in other contexts; the >> tags >> are overloaded. This means you can't set up CSS definitions to tweak >> just "real" lists. Can someone add class attributes to each of the >> "dt", "dd" and "li" items i

Re: [O] Javascript in postamble

2012-12-18 Thread Bastien
Hi Vikas, Vikas Rawal writes: > For a website that I am producing using orgmode, I would like to > insert a javascript code in the postamble to get a piwik installation > to track traffic to the website. > > I am unable to add html markup/java script to :html-postamble in > project alist. The do

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Achim Gratz
Carsten Dominik writes: > Well this is very safe - but if you have to assume that every elisp > command does change match data behind your back, you would have to > create a lot of extra code. Stefan Monnier advises the opposite (quote from http://article.gmane.org/gmane.emacs.bugs/68688 ): --8<-

Re: [O] [PATCH] Nicer fontification for org-todo-list

2012-12-18 Thread Bastien
Hi Ingo, Ingo Lohmar writes: > Is anything still to be fixed before the patch that I sent can be > applied? I am curious since there was no reaction and no change in the > repo as far as I can tell... I just applied a slightly modified version of your patch: http://orgmode.org/cgit.cgi/org-mod

Re: [O] Feature request: HTML export classes for "real" lists

2012-12-18 Thread Bastien
Eric Schulte writes: > Would it perhaps make sense to add classes to the un-normal use of these > tags outside of lists, rather than to their usage within lists? > > I could see such an approach having a larger footprint in the code, but > resulting in smaller and arguably more meaningfully class

Re: [O] complex searches with org-sparse-tree

2012-12-18 Thread Bastien
Hi Sébastien, Sebastian Fischmeister writes: > Is there a possibility to get a sparse tree for a more complex query? Not right now. For complex queries, you can use an agenda view. HTH, -- Bastien

Re: [O] Bugs in org-cycle-internal-local?

2012-12-18 Thread Bastien
Hi Rémi, Rémi Vanicat writes: > I've tried to use visibility cycling in outline minor mode[1] with ruby, I tried your minor mode with the minimal snippet you gave and it works well here. Could it be the version of org-mode you're using? -- Bastien

Re: [O] Extend (org-shiftcontrolup) and (org-shiftcontroldown) with numeric arguments?

2012-12-18 Thread Bastien
Hi Rainer and Nicolas, Nicolas Goaziou writes: > I think it would be a welcomed improvement, since there's already > support for that in `org-timestamp-up' and `org-timestamp-down'. Do you > want to do it? I just implemented this. It's now in master. Thanks, -- Bastien

Re: [O] indentation across multiple source blocks

2012-12-18 Thread Bastien
Hi Tony, Tony Day writes: > Is there an easy way to preserve indentation for a source block taking > into account previous blocks? No. Besides, I don't really see a good case where it would make sense to split functions across code blocks... surely a lack of imagination :) -- Bastien

Re: [O] texinfo back-end won't export to INFO

2012-12-18 Thread Thomas S. Dye
Aloha Bastien, Bastien writes: > Hi Thomas, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Export to INFO fails to produce an output file. >> >> Export to TEXI works. Running makeinfo on the texi file yields errors >> like this: >> >> /Users/dk/org/orgmanual//orgmanual.texi:171: `Exporting' ha

Re: [O] texinfo back-end won't export to INFO

2012-12-18 Thread Nicolas Goaziou
Hello, Bastien writes: > I think this calls for a new variable `org-export-after-rendering-hook' > which will operate after the final stage of the export process, in the > export buffer. Filters are fine but their complexity is not useful here. > > Then we could add 'texinfo-all-menus-update to

Re: [O] export of #+INCLUDE appears broken with :exports results

2012-12-18 Thread Nicolas Goaziou
Hello, Bastien writes: >> I have tried all those variations, and using #+name instead of #+tblname >> the only thing that makes a difference is removing ":exports results". >> I think it a bug. > > I confirm this bug -- I'll wait and see if nicolas can have a look for > the new exporter. I ca

Re: [O] Cal-fw info file?

2012-12-18 Thread Bastien
Hi Johnny, Johnny writes: > I have seen cal-fw around, but not until now got around to play around > with it to learn, it's a great initiative and nice extenstion! > > However, I really enjoy having an info file around as a reference and > would rather not refer to other loose files on the syst

[O] org-export-after-rendering-hook for the new exporter? (was: texinfo back-end won't export to INFO)

2012-12-18 Thread Bastien
Hi Thomas, t...@tsdye.com (Thomas S. Dye) writes: > IIUC, Jonathan Leeche-Pepin fixed this in org-e-texinfo.el a while back. So let me open a new thread for this possible hook. Nicolas, what do you think of having `org-export-after-rendering-hook' as a simple access for applying global changes

Re: [O] texinfo back-end won't export to INFO

2012-12-18 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Note that complexity of filters is the same as hook: you add functions > to a list. Okay... thanks for the explanations. > A filter function requires three arguments. ... so that's where complexity comes from. I'm afraid you'll just scare away many use

Re: [O] Bugs in org-cycle-internal-local?

2012-12-18 Thread Rémi Vanicat
Bastien writes: > Hi Rémi, > > Rémi Vanicat writes: > >> I've tried to use visibility cycling in outline minor mode[1] with ruby, > > I tried your minor mode with the minimal snippet you gave and it works > well here. did you let the two space before the both def? Without those space, every t

Re: [O] Filling comments in Org code block vs in temporary buffer

2012-12-18 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > When trying to refill the comment directly in the following code block > (staying in the Org file), it has *no effect*. Fixed, thanks. -- Bastien

Re: [O] texinfo back-end won't export to INFO

2012-12-18 Thread Nicolas Goaziou
Bastien writes: >> A filter function requires three arguments. > > ... so that's where complexity comes from. I'm afraid you'll just > scare away many users with these three arguments. > > What do you think? Using a hook or a filter requires to write a function in most cases. I don't think t

Re: [O] Bibtex export

2012-12-18 Thread mohamed
Bastien altern.org> writes: > I'm not sure I understand. In what condition does deleting > "* Section a" will delete * Bibliography" ? > Hi Bastien, Thank you for answering. Usually I write --- * Section a ... \clearpage \bibliographystyle{acm} \bibliography{bib

[O] Dramatic slowdown in org mode

2012-12-18 Thread Fraga, Eric
Hello, sometime between last week and today, there has been a dramatic slowdown in the generation of an agenda view. Using elp to instrument the org package and then asking for the default agenda view (C-c a a), I get the attached results. The agenda view takes just under 2 seconds with org f

Re: [O] new exporter: link abbrev

2012-12-18 Thread Nicolas Goaziou
Michael Brand writes: > In the meantime I found out that I can simply add > org-export-normalize-links to org-export-before-processing-hook and it > seems to do what I expect. But this is probably not to be included in > Org core because the (hopefully at least only basic) pre-parsing of > org-ex

Re: [O] Dramatic slowdown in org mode

2012-12-18 Thread Abdó Roig-Maranges
Hi > sometime between last week and today, there has been a dramatic > slowdown in the generation of an agenda view. I tracked it back to commit a7afe7d, but haven't had the time to investigate it further. On my case the slowdown is not as dramatic as Eric's, though. Abdo.

Re: [O] Dramatic slowdown in org mode

2012-12-18 Thread Bastien
Hi Eric, "Fraga, Eric" writes: > Unfortunately, I haven't had the chance to go through the changes over the > past week to see if I could identify which one causes the dramatic change > in performance. My guess is commit 980e522 -- can you confirm this? -- Bastien

Re: [O] texinfo back-end won't export to INFO

2012-12-18 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > I can remove the last argument, bringing down the sum of arguments to 2. > Should I? No, i think it's good to have such flexible filters. Let's see if users request a simple generic after-export (or before-saving-file) hook. Thanks, -- Bastien

Re: [O] Dramatic slowdown in org mode

2012-12-18 Thread Abdó Roig-Maranges
Hi, > My guess is commit 980e522 -- can you confirm this? I don't think it is 980e522. Here are my timings a7afe7d:10.6 s c4bf1ee:3.86 s 980e522:3.8 s 08e4111:3.88 s that point to a7afe7d. It reads the files all right in about 4s, and on the extra 6 seconds it just keeps thin

Re: [O] Dramatic slowdown in org mode

2012-12-18 Thread Nick Dokos
Bastien wrote: > Hi Eric, > > "Fraga, Eric" writes: > > > Unfortunately, I haven't had the chance to go through the changes over the > > past week to see if I could identify which one causes the dramatic change > > in performance. > > My guess is commit 980e522 -- can you confirm this? > I

[O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2012-12-18 Thread Sebastien Vauban
Hello, Looking at how to improve my Org config, regarding speed, I notice that it takes 4.22 s to open a simple 10-line Org file *for the first time* (when Org wasn't loaded yet). The reason is that it requires a big amount of packages, those requiring themselves many others, and so on. Do you fi

Re: [O] Dramatic slowdown in org mode

2012-12-18 Thread Bastien
Hi Abdó, Abdó Roig-Maranges writes: > I tracked it back to commit a7afe7d, but haven't had the time to > investigate it further. On my case the slowdown is not as dramatic as > Eric's, though. Thanks for the investigation. The problem was that org-agenda-skip, which is called many times durin

Re: [O] Emacs 22 compatibility

2012-12-18 Thread Bastien
Hi Yagnesh, Yagnesh Raghava Yakkala writes: > I just tried building. it was successful although there are lot of > warnings. Good to know it builds fine, even with all those warnings. Are you using this version? If so, would you be willing to report compatibility problems that may happen? Th

Re: [O] Dramatic slowdown in org mode

2012-12-18 Thread Bastien
Hi Eric, "Fraga, Eric" writes: > sometime between last week and today, there has been a dramatic slowdown in > the generation of an agenda view. Using elp to instrument the org package > and then asking for the default agenda view (C-c a a), I get the attached > results. The agenda view takes

Re: [O] Anyone using or working on ob-scheme?

2012-12-18 Thread Jeff Mickey
On Mon, Nov 26, 2012 at 3:34 PM, Michael Gauland wrote: > Wish me luck! Indeed! I'm running into these problems as well. I was curious if you've had any time to work on this. As a general question to the org list: What dynamic languages similar to how scheme will interact with it's inferior pro

Re: [O] indentation across multiple source blocks

2012-12-18 Thread Tony Day
On 18 Dec 2012, at 22:55, Bastien wrote: > Hi Tony, > Hi Bastien, Thanks for the flurry of activity :) > Tony Day writes: > >> Is there an easy way to preserve indentation for a source block taking >> into account previous blocks? > > No. Besides, I don't really see a good case where it

Re: [O] Anyone using or working on ob-scheme?

2012-12-18 Thread Thorsten Jolitz
Jeff Mickey writes: > As a general question to the org list: What dynamic languages similar > to how scheme will interact with it's inferior process (python and > ruby?) have decently complete org babel implementations that I can > look at to fix parts of this? I'd like to get :session working.

Re: [O] Anyone using or working on ob-scheme?

2012-12-18 Thread Michael Gauland
On 19/12/12 13:48, Jeff Mickey wrote: > I'm running into these problems as well. I was curious if you've had > any time to work on this. As a general question to the org list: What > dynamic languages similar to how scheme will interact with it's > inferior process (python and ruby?) have decently

[O] Python code for producing Org tables

2012-12-18 Thread François Pinard
Hi, Org people. I recently needed to produce Org tables from within Python, splitting them as needed to fit within a preset width. I append the code after my signature, in case it would be useful to others (or even, if you have ideas to improve it). One thing I only realized after writing this,

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2012-12-18 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > (if (locate-library "org-loaddefs") > (require 'org-loaddefs) ^ You don't need this, there is (load "org-loaddefs.el" t t) in org.el. Are your org elisp files compiled? What results do you have without the advice on `

Re: [O] Dramatic slowdown in org mode

2012-12-18 Thread Fraga, Eric
> From: Bastien Guerry [bastiengue...@gmail.com] on behalf of Bastien > [b...@altern.org] > "Fraga, Eric" writes: > > > sometime between last week and today, there has been a dramatic slowdown in > > the generation of an agenda view. Using elp to instrument the org package > > and then asking f

Re: [O] Emacs 22 compatibility

2012-12-18 Thread Yagnesh Raghava Yakkala
Hello Bastien, On 12月 19 2012, Bastien wrote: > Hi Yagnesh, > > Yagnesh Raghava Yakkala writes: > >> I just tried building. it was successful although there are lot of >> warnings. > > Good to know it builds fine, even with all those warnings. > > Are you using this version? No, I don't use

[O] Emacs conference 30/3/2013 in London

2012-12-18 Thread Ivan Kanis
Hello, I am forwarding Alex e-mail from the emacs conference mailing list. "I can confirm that the date for the conf is 30th March. It will be held at Forward, here: http://www.forward.co.uk/contact The venue can hold 100 people and there are various breakout areas, which I think will be ideal t