Re: [O] Export all clocks or find last clock out. Is it possible?
On Sun, Dec 11, 2011 at 1:10 PM, Mikhail Titov m...@gmx.us wrote: I've tried both your suggestions before and that is why I'm asking here in the list. Sorry that it didn't help. But, IMHO all of these details should've gone into the first mail. Nevermind, hopefully someone else would be able to help you out, from here. -- Puneeth
Re: [O] Making ePub books
On 11/12/11 18:42:10, Nick Dokos wrote: Alan L Tyree alanty...@gmail.com wrote: http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849 Yes, Calibre does a nice job of converting XHTML to ePub; it can be read in all the readers that I use, but it won't pass the validation tests. OK unless you want to publish on sites that require validation. Have you tried submitting an enhancement request to the calibre people? It sounds (from my vantage point of a million miles away...) like a simple thing for them to do and it might be a good thing for them as well as for you: they can integrate the validation step in their testing and catch errors that might be difficult to catch any other way. And it seems to be a very active project, so you might get results pronto. Good idea! That would certainly be the nicest way since Calibre is a very nice piece of work. Alan Nick -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org
[O] org-search-goto.el - full text search to go to locations in your org buffers
This package is a simple variant of http://www.emacswiki.org/emacs/org-occur-goto.el The new package uses multi substring matching where the given substrings can appear in any order in the search results. So if you search for dog video then it matches both video of some dog and dogs chasing cat video Here it is: http://www.emacswiki.org/emacs/org-search-goto.el
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
Hello, Ingo Lohmar i.loh...@gmail.com writes: Below is an updated patch that works with the 7.7 release (sorry for not using the development version right now). org-indent.el has been heavily modified since 7.7 release. You may want to test development version first, as your patch might not be necessary anymore. Regards, -- Nicolas Goaziou
Re: [O] Making ePub books: further report
On 11/12/11 18:42:10, Nick Dokos wrote: Alan L Tyree alanty...@gmail.com wrote: http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849 Yes, Calibre does a nice job of converting XHTML to ePub; it can be read in all the readers that I use, but it won't pass the validation tests. OK unless you want to publish on sites that require validation. SNIP I was being unfair to Calibre. If I clean up the XHTML file produced by org (in the way indicated by my original post plus a couple of things that I didn't mention), then Calibre produces an ePub book that passes validation. So -- back to my original question: is there some variable somewhere that puts in both name=xxx and id=xxx or do I need to write a post export clean up function? Thanks, Alan -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org
Re: [O] Making ePub books: further report
On 11/12/11 20:41:18, Alan L Tyree wrote: On 11/12/11 18:42:10, Nick Dokos wrote: Alan L Tyree alanty...@gmail.com wrote: http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849 Yes, Calibre does a nice job of converting XHTML to ePub; it can be read in all the readers that I use, but it won't pass the validation tests. OK unless you want to publish on sites that require validation. SNIP I was being unfair to Calibre. If I clean up the XHTML file produced by org (in the way indicated by my original post plus a couple of things that I didn't mention), then Calibre produces an ePub book that passes validation. So -- back to my original question: is there some variable somewhere that puts in both name=xxx and id=xxx or do I need to write a post export clean up function? Bad form to answer my own question: these seem to be hard coded in org- html.el along with the other items that give ePub validation a nervous breakdown. I'll post a full list of the offending items later. Cheers, Alan Thanks, Alan -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206sip:172...@iptel.org -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org
Re: [O] Bug: 2nd, 3rd, ... ext link in normal text NOT exported [7.7]
At Mon, 5 Dec 2011 17:19:29 +0100, M. Bauer wrote: Hi, as in the last paragraph of the Org v7.7 manual section 4.3 about external links, Org also finds external links in the normal text and activates them as links. While editing, this completely works as expected. But when it comes to exporting, Org will *not* recognize the second, third, etc. external link in normal text if it is *not* marked by square brackets. See below for some tests that will fail in ASCII, UTF8, and HTML export. Can you please consider this issue for one of the next versions of Org? Pushed a fix for this to master, all links in the example file are now exported as expected. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpV4ghLSI8vD.pgp Description: PGP signature
Re: [O] Making ePub books: further report
Alan L Tyree alanty...@gmail.com writes: On 11/12/11 20:41:18, Alan L Tyree wrote: On 11/12/11 18:42:10, Nick Dokos wrote: Alan L Tyree alanty...@gmail.com wrote: http://thread.gmane.org/gmane.emacs.orgmode/41826/focus=41849 Yes, Calibre does a nice job of converting XHTML to ePub; it can be read in all the readers that I use, but it won't pass the validation tests. OK unless you want to publish on sites that require validation. SNIP I was being unfair to Calibre. If I clean up the XHTML file produced by org (in the way indicated by my original post plus a couple of things that I didn't mention), then Calibre produces an ePub book that passes validation. So -- back to my original question: is there some variable somewhere that puts in both name=xxx and id=xxx or do I need to write a post export clean up function? Bad form to answer my own question: these seem to be hard coded in org- html.el along with the other items that give ePub validation a nervous breakdown. I'll post a full list of the offending items later. If you use org-xhtml.el (in contrib/lisp/org-xhtml.el) then you can re-define some aspects of html export selectively. For example, you can redefine this to , original | (defun org-xhtml-format-anchor (text name optional class) | (let* ((id name) |(extra (concat |(when name (format name=\%s\ name)) |(when id (format id=\%s\ id)) |(when class (format class=\%s\ class) | (org-xhtml-format-tags '(a%s . /a) text extra))) ` this , modified | (defun org-xhtml-format-anchor (text name optional class) | (let* ((id name) |(extra (concat |(when id (format id=\%s\ id)) |(when class (format class=\%s\ class) | (org-xhtml-format-tags '(a%s . /a) text extra))) ` to strip name from anchor. I am not sure whether org-xhtml.el will minimize your efforts. Just a suggestion. ps: Add contrib/lisp to load-path and do org-export-as-xhtml. Cheers, Alan Thanks, Alan -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org --
Re: [O] Viewing all entries of a file in Agenda
Hi Herbert Herbert Sitz hes...@gmail.com writes: Sven Bretfeld sven.bretfeld at gmx.ch writes: It is the last line that puzzles me. If I have it like above, every call of this agenda is interrupted by the question which tag I want to query for. Hitting RET does what I want, namely displaying all headlines of the file. How is that possible without Emacs asking me? The file can contain different todo-keywords and tags or none at all. I want to display everything. Thanks for a hint Sven One of the special properties of every Org heading is 'Level', which is an integer representing the outline level of the heading. Doing the following search should return all the headings in an Org document: Level=1 That's it. Thank you very much. This possibility is not very prominent in the manual. I had to figure out how exactly it works and that the line must read: (tags LEVEL=1 ((org-agenda-files '(~/Dropbox/myconf/from-mobile.org Now it is doing what I want. Greetings, Sven
Re: [O] org-time-stamp and org-time-stamp-inactive no longer work
At Fri, 09 Dec 2011 20:49:36 +0100, Bastien wrote: Hi, York Zhao gtdplatf...@gmail.com writes: I have noticed this problem for awhile and now I think it is worth reporting it and hopefully get fixed. Here is what happened when I hit C-c ! in org buffer: I can't reproduce this. Me neither. Matt reported a similar problem in http://thread.gmane.org/gmane.emacs.orgmode/41336/focus=41341 But it seems the problem just ... fixed itself: , | However, oddly, after experiencing the same issue about 6 times in a | row, the problem mysteriously disappeared just now, and the procedure | is working fine. I have no idea what the issue is there -- I'll | report when I find it again. Maybe someone on the list can give me | suggestions for debugging if it shows up again? ` To narrow down the bug it might be helpful to: 1. Try to reproduce the bug with a minimal setup, just Emacs + uncompiled Org mode; 2. If this is possible, see if it occurrs if the calendar buffer is already open (e.g. M-x calendar RET) -- maybe this is some kind of a weird race condition (?). Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgp1z1Nu6WpEh.pgp Description: PGP signature
Re: [O] Is it possible for checkbox items to have :LOGBOOK: drawers?
Hello, Steinar Bang s...@dod.no writes: Is there some variable that I can set to make :LOGBOOK: drawers work under checkboxes? No, lists ignore contents of drawers within them. Moreover :LOGBOOK: drawers are an headline only feature. Regards, -- Nicolas Goaziou
Re: [O] Is it possible for checkbox items to have :LOGBOOK: drawers?
Nicolas Goaziou n.goaz...@gmail.com: Hello, Steinar Bang s...@dod.no writes: Is there some variable that I can set to make :LOGBOOK: drawers work under checkboxes? No, lists ignore contents of drawers within them. Moreover :LOGBOOK: drawers are an headline only feature. David Maus dm...@ictsoc.de: No, as far as I know it is not possible to attach a Drawer to a list item. Bummer! But thanks for the replies. Is there another way to accomplish what I want: getting time stamped log entries under a list item? Ie. it doesn't have to be in a drawer, and entries don't have to be created with `C-c C-z'. But should be easy to use. Or... I could go back to nested TODOs I guess...? But checkboxes are so much more visually pleasing...
[O] Error in the Tables in HTML export section of the manual
In the example of Tables in HTML export the example sais: #+ATTR_HTML: border=2 rules=all frame=all This is wrong HTML syntax. It should be: #+ATTR_HTML: border=2 rules=all frame=border Regards, Dov
[O] Inconsistency between #+OPTIONS and EXPORT_OPTIONS on LaTeX heading levels
Hello, When I set #+OPTIONS: H:1, I get what I expect: \section{} is the only heading used and second level outline levels are converted to whatever my org-export-lower-levels is set to, and the table of contents just has the \section{}s in it. When I set EXPORT_OPTIONS to H:1, I get \section{} and \subsection{} in the body text, but the table of contents only lists \section{}s. I want the first behaviour myself, but in any case, shouldn’t this be consistent between the two? Thanks. S pgp0ObNeTRgW5.pgp Description: PGP signature
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
On Sun, 11 Dec 2011 09:57:50 +0100, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Ingo Lohmar i.loh...@gmail.com writes: Below is an updated patch that works with the 7.7 release (sorry for not using the development version right now). org-indent.el has been heavily modified since 7.7 release. You may want to test development version first, as your patch might not be necessary anymore. Hi Nicolas, My bad, and bad timing: Should have checked the development status. Turns out, it is very different now, but unfortunately still wrong. I will check how to fix it and come back (hopefully) with a new patch. Regards, Ingo
Re: [O] Export all clocks or find last clock out. Is it possible?
Mikhail Titov m...@gmx.us writes: I wonder if I can see all clocks in a table or export them somehow as csv or alike? Also how can I navigate to the last clock out? As already suggested by Puneeth `org-clock-goto' (with prefix: C-u C-c C-x C-j) lists the most recently used clocks and C-u C-c C-x C-j 1 jumps to the last clocked task. `org-clock-history-length' sets the number of tasks shown. (custom-set-variables '(org-clock-history-length 28)) Besides the org manual, Bernt Hansen has an excellent website http://doc.norang.ca/org-mode.html covering his workflow with orgmode. Look out for `org-clock-goto' in 1.5 Key Bindings and 15.19 Speed commands. I know I can do some exercise with awk or perl, but perhaps there should be a better solution. I tried to google but I can't find anything :( Regards, Olaf
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
Ingo Lohmar i.loh...@gmail.com writes: My bad, and bad timing: Should have checked the development status. Turns out, it is very different now, but unfortunately still wrong. Unless I'm missing your point, I don't see anything wrong in the current behaviour. Whatever may be the value of `org-indent-indentation-per-level', the text is always aligned with the headline. Regards, -- Nicolas Goaziou
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
On Sun, 11 Dec 2011 14:04:38 +0100, Nicolas Goaziou n.goaz...@gmail.com wrote: Ingo Lohmar i.loh...@gmail.com writes: My bad, and bad timing: Should have checked the development status. Turns out, it is very different now, but unfortunately still wrong. Unless I'm missing your point, I don't see anything wrong in the current behaviour. Whatever may be the value of `org-indent-indentation-per-level', the text is always aligned with the headline. Hmmm, just did a clean test: emacs -Q, require org-install and org-indent. If I use the std setting of 2 and turn on org-indent-mode, all is fine: * 1st-level heading Here goes the text. *** 2nd-level heading More text. Setting the indentation to 1: * 1st-level heading Here goes the text. ** 2nd-level heading More text. That is, missing one space. Will check again.
Re: [O] Viewing all entries of a file in Agenda
Hi Sven, Sven Bretfeld sven.bretf...@gmx.ch writes: That's it. Thank you very much. This possibility is not very prominent in the manual. I had to figure out how exactly it works and that the line must read: (tags LEVEL=1 ((org-agenda-files '(~/Dropbox/myconf/from-mobile.org Now it is doing what I want. If you see any way to improve the manual with respect to this, please send a patch! Best, -- Bastien
Re: [O] Is it possible for checkbox items to have :LOGBOOK: drawers?
Hi Steinar, Steinar Bang s...@dod.no writes: Is there another way to accomplish what I want: getting time stamped log entries under a list item? Nope. Ie. it doesn't have to be in a drawer, and entries don't have to be created with `C-c C-z'. But should be easy to use. Or... I could go back to nested TODOs I guess...? I would say so. But checkboxes are so much more visually pleasing... Maybe you can find smart TODO keywords for TODO and DONE that are more visually pleasing? Just an idea. Best, -- Bastien
Re: [O] Simple reference card browser by Anything.el
Hi Masashi, SAKURAI Masashi m.saku...@kiwanami.net writes: I made simple reference browser. Just browsing, not executing commands. https://gist.github.com/1345100 Great -- I think this could be added to the contrib/ directory of anything. Tassilo (Anything's maintainer) is reading this list, I think the main repo for anything-config is on repo.or.cz: http://repo.or.cz/w/anything-config.git Best, -- Bastien
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
Hi, Nicolas Goaziou n.goaz...@gmail.com writes: Ingo Lohmar i.loh...@gmail.com writes: Below is an updated patch that works with the 7.7 release (sorry for not using the development version right now). org-indent.el has been heavily modified since 7.7 release. You may want to test development version first, as your patch might not be necessary anymore. I did try to apply the patch and it failed. Ingo, please try the latest org-indent.el version. Best, -- Bastien
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Hi Herbert, Herbert Sitz hes...@gmail.com writes: I'm wondering what sort of progress has been made on the ODT importer. For example, is it able to convert an Org export to ODT back to Org format with result being same as the original Org file that was exported? I don't think so. This is a more general problem: converting .odt (or even HTML, .tex, etc.) back to org-mode would indeed be wonderful. The most promising road I see for that would be to let pandoc *read* Org files: http://johnmacfarlane.net/pandoc/ Any haskell hacker around? -- Bastien
Re: [O] Error in the Tables in HTML export section of the manual
Hi Dov, Dov Grobgeld dov.grobg...@gmail.com writes: In the example of Tables in HTML export the example sais: #+ATTR_HTML: border=2 rules=all frame=all This is wrong HTML syntax. It should be: #+ATTR_HTML: border=2 rules=all frame=border Fixed, thanks. -- Bastien
Re: [O] org-program-exists not working on osx
Hi Roberto, Roberto Huelga rhue...@gmail.com writes: Here is a simple patch for the org-clock.el file to make the function org-program-exists work on osx Applied, thanks. I added a commit message and a ChangeLog: please read this section for your next patch: http://orgmode.org/worg/org-contribute.html#sec-4 Thanks! -- Bastien
Re: [O] Avoiding div from special blocks to be in p…
Hi Christian, Christian Moe m...@christianmoe.com writes: I submitted a patch to this effect a month and a half back. http://patchwork.newartisans.com/patch/979/ Apart from uncommenting that line, I put in an org-open-par after the div and rearranged a few lines to follow the same structure as other similar bits of code. I just applied it. Sorry for the delay and thanks for this. Best, -- Bastien
Re: [O] Different face for org-table fields with formulas
Rainer M Krug r.m.k...@gmail.com writes: I haven't tried it out, but I think that would be very nice as a standard feature in org. You can now customize `org-table-formula-field-format'. Thanks to Dov for this idea! Best, -- Bastien
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
Ingo Lohmar i.loh...@gmail.com writes: Hmmm, just did a clean test: emacs -Q, require org-install and org-indent. If I use the std setting of 2 and turn on org-indent-mode, all is fine: * 1st-level heading Here goes the text. *** 2nd-level heading More text. Setting the indentation to 1: * 1st-level heading Here goes the text. ** 2nd-level heading More text. I cannot reproduce this. Could you try to byte-compile again all Org files, or call org-reload with an argument? Regards, -- Nicolas Goaziou
Re: [O] Avoiding div from special blocks to be in p…
Thanks! Yours, Christian On 12/11/11 2:11 PM, Bastien wrote: Hi Christian, Christian Moem...@christianmoe.com writes: I submitted a patch to this effect a month and a half back. http://patchwork.newartisans.com/patch/979/ Apart from uncommenting that line, I put in an org-open-par after the div and rearranged a few lines to follow the same structure as other similar bits of code. I just applied it. Sorry for the delay and thanks for this. Best,
Re: [O] Minimal overhead Org-mode blogging system
Hi Eric, Eric Schulte eric.schu...@gmx.com writes: It would be great to collect these links on the relevant Worg page [1]. Done. Thanks all for the useful input! -- Bastien
Re: [O] [ANN] Org Mode parser v0.0.1 for NodeJs
Hi Giovanni, Giovanni Giorgi j...@gioorgi.com writes: I have just published my org-mode parser for the node-js javascript based server: http://gioorgi.com/org-mode-parser/ Thanks! Could this somehow be plugged to Substance? Or could this be adapted to export Org files in the Data.Graph data format? http://substance.io/ http://substance.io/substance/substance-internals -- Bastien
Re: [O] Bug: 2nd, 3rd, ... ext link in normal text NOT exported [7.7]
David Maus dm...@ictsoc.de writes: Pushed a fix for this to master, all links in the example file are now exported as expected. Thanks for fixing this! -- Bastien
Re: [O] [PATCH] fix quoting in org-agenda-with-point-at-orig-entry (apparently unused except in my CLOSED prop sorting code)
Hi Rob, Accepted, thanks a lot. Please read http://orgmode.org/worg/org-contribute.html#sec-4 for further patches. Best, -- Bastien
Re: [O] [BUG] Inconsistency in src block hiding
Eric Schulte schulte.e...@gmail.com writes: The attached patch entirely removes the #+name and #+results based hiding. Note that the existing wrap argument to the :results header argument will wrap results in a block which allows easy tab-based result hiding. As this is a relatively large change I hesitate to apply it outright, although I do agree that it leads to simpler more consistent behavior. If general consensus seems to support the application of this patch then I will be happy to apply it. Has there been any more feedback on this? Erik, is it safe to apply the patch or shall we wait more? Thanks, -- Bastien
Re: [O] index.org; am I doing something wrong??
Hi Cameron, Cameron Seader c...@suse.com writes: I created an index.org file and have been using that to organize all of my org files and create an Outline of my Notes etc... Is this the correct way to do it? because when i sync with MobileOrg then MobileOrg cannot open any of my files on my mobile device. Please give more details on your problem. See http://orgmode.org/manual/Feedback.html - it will help! Best, -- Bastien
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
On Sun, 11 Dec 2011 14:25:11 +0100, Nicolas Goaziou n.goaz...@gmail.com wrote: Ingo Lohmar i.loh...@gmail.com writes: Hmmm, just did a clean test: emacs -Q, require org-install and org-indent. If I use the std setting of 2 and turn on org-indent-mode, all is fine: * 1st-level heading Here goes the text. *** 2nd-level heading More text. Setting the indentation to 1: * 1st-level heading Here goes the text. ** 2nd-level heading More text. I cannot reproduce this. Could you try to byte-compile again all Org files, or call org-reload with an argument? Guys, I am terribly sorry --- my apologies for the noise. I had an issue with shadowed load paths. From what I can see, org-indent works just fine in the development version. Learned one or two things :) Regards, Ingo
Re: [O] [PATCH] fix org-indent-mode for org-indent-indentation-per-level != 2
Ingo Lohmar i.loh...@gmail.com writes: I am terribly sorry --- my apologies for the noise. I had an issue with shadowed load paths. From what I can see, org-indent works just fine in the development version. That's good news :) Thanks for confirming, -- Bastien
Re: [O] [BUG] Inconsistency in src block hiding
Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: The attached patch entirely removes the #+name and #+results based hiding. Note that the existing wrap argument to the :results header argument will wrap results in a block which allows easy tab-based result hiding. I didn't notice it before, but the wrap option from :results property could also be removed. Unlike to every other block #+begin_results doesn't add any meaning. Its sole purpose is to group some Org data, which is the job of drawers. Moreover, it's already easy to install results in a block (I use it to center results). You only need to put the results line in an appropriate location and evaluate the code block, like in the following: --8---cut here---start-8--- #+name: four #+begin_src emacs-lisp (+ 2 2) #+end_src #+begin_center #+results: four #+end_center --8---cut here---end---8--- Note that the wrap argument may be used instead to wrap results in a :RESULTS: drawer, but that default drawer would have then to be added to the `org-drawers' list, and, in the end, wouldn't be very practical. In my opinion, we should forget any will to automatically group results (because there is no option more interesting than others) and let the user decide what suits him the best. Regards, -- Nicolas Goaziou
Re: [O] [PATCH] add support for configurable nested lists in org-export-generic
Hi Rob, Rob Giardina r...@giardina.us writes: diff --git a/contrib/lisp/org-export-generic.el b/contrib/lisp/org-export-generic.el index 12bbcdb..97b9134 100644 --- a/contrib/lisp/org-export-generic.el +++ b/contrib/lisp/org-export-generic.el can you resubmit this patch using git format-patch and adding a commit message and a ChangeLog? Thanks, -- Bastien
Re: [O] Making ePub books: further report
Hi Alan, Alan L Tyree alanty...@gmail.com writes: So -- back to my original question: is there some variable somewhere that puts in both name=xxx and id=xxx or do I need to write a post export clean up function? From latest git, can now set ̀org-export-html-headline-anchor-format' to nil. See the docstring of this new option. Thanks, -- Bastien
Re: [O] Making ePub books: further report
Alan L Tyree alanty...@gmail.com writes: Bad form to answer my own question: these seem to be hard coded in org- html.el along with the other items that give ePub validation a nervous breakdown. I'll post a full list of the offending items later. Thanks. If you can, please document this on Worg. This will be useful when we will rewrite org-html.el using Nicolas new export engine. Best, -- Bastien
Re: [O] Inconsistency between #+OPTIONS and EXPORT_OPTIONS on LaTeX heading levels
Hi Sean, Sean Whitton s...@silentflame.com writes: When I set #+OPTIONS: H:1, I get what I expect: \section{} is the only heading used and second level outline levels are converted to whatever my org-export-lower-levels is set to, and the table of contents just has the \section{}s in it. When I set EXPORT_OPTIONS to H:1, I get \section{} and \subsection{} in the body text, but the table of contents only lists \section{}s. EXPORT_OPTIONS is for a tree, while #+OPTIONS is for the whole doc. I want the first behaviour myself, but in any case, shouldn’t this be consistent between the two? Maybe you can send an org file as an example? Thanks, -- Bastien
Re: [O] org-search-goto.el - full text search to go to locations in your org buffers
Hi Tom, Tom adatgyu...@gmail.com writes: This package is a simple variant of http://www.emacswiki.org/emacs/org-occur-goto.el The new package uses multi substring matching where the given substrings can appear in any order in the search results. So if you search for dog video then it matches both If you find a relevant page for listing this package on Worg, please let us know -- and maybe provide a patch for Worg. http://www.emacswiki.org/emacs/org-search-goto.el I suggest using org- as the prefix of your package: there are not that many functions and it will help finding your commands when typing M-x org- TAB ... Thanks! -- Bastien
Re: [O] org tables to rst (reStructuredText) or Moin wiki?
Hi Gary, Gary Oberbrunner ga...@oberbrunner.com writes: I need to make a big rst or Moin wiki table (actually it's for a trac wiki, see http://trac.edgewall.org) and those tables are annoying to construct when they're large. But org mode has this wonderful table editor and I'm wondering if there's any way to export from it a rst or moin wiki table? Not yet -- patch welcome! Actually, we can write a full org-rst exporter, that will be useful. Best, -- Bastien
Re: [O] Inconsistency between #+OPTIONS and EXPORT_OPTIONS on LaTeX heading levels
Hi Bastien, On 11 Dec 2011 at 15:55Z, Bastien wrote: When I set #+OPTIONS: H:1, I get what I expect: \section{} is the only heading used and second level outline levels are converted to whatever my org-export-lower-levels is set to, and the table of contents just has the \section{}s in it. When I set EXPORT_OPTIONS to H:1, I get \section{} and \subsection{} in the body text, but the table of contents only lists \section{}s. EXPORT_OPTIONS is for a tree, while #+OPTIONS is for the whole doc. Ah perhaps I should have been clearer when describing what I did, sorry. I set #+OPTIONS at the top of the file, and EXPORT_OPTIONS in the properties drawer for the tree I actually want, as you describe, as two cases, and then exported just the tree with C-c C-e 1 d in both cases, to get the behaviour described. The point is that I require the #+OPTIONS to get what I want, when it ought to just work with the EXPORT_OPTIONS since I am just exporting that tree. I want the first behaviour myself, but in any case, shouldn’t this be consistent between the two? Maybe you can send an org file as an example? Certainly, you’ll find a stripped down file attached. Thanks! S #+OPTIONS: H:1 * Lectures MT11—R Walker—Kant’s Ethics :PROPERTIES: :EXPORT_FILE_NAME: lectures-kantsethics-walker :EXPORT_TITLE: Kant’s ethics lectures :EXPORT_AUTHOR: Lecturer: Ralph Walker :EXPORT_DATE: MT11 :EXPORT_OPTIONS: H:1 todo:nil :nil :END: ** Lecture 1 *** Kant’s general philosophy A problem how to fit his moral philosophy with his general philosophy, in particular his views on freedom. We need to be free in a very strong sense for his moral system. Pure practical reason doesn’t belong to the causal order yet it must influence us. Theoretical philosophy says that we don’t have this freedom. Most people say this is unresolvable nowadays (not all of them). Kant’s crazy metaphysics Kant’s solution is separating world of free agents from world of space and time. We can know a lot about this world as we rely on both sense experience and principles we know independently of experience: we apply /a priori/ concepts like the concept of cause (disagrees with Hume here). Kant thinks he can prove that this must be true of the world as we can know it. Where he’s coming from Kant is reacting first against the rationalists (CD) and reacting to (British) empiricists. At one stage Kant accepted Hume’s view ∵ he wasn’t happy with rationalists grasping principles out of the air (they all got different things). I say CD this, you say CD that. This won’t do because Hume and co. end up in untenable scepticism. Can’t account for indispensible notions like causality, senses objectivity. Geometry and arithmetic tell us truths about space and time, that Hume says we can’t have. * Example of incongruent counterparts Left and right hand gloves: problem with empirical philosophy is that it makes sense that there could consist of a universe with just a left hand glove and one with a right hand glove and these would be different. Yet how can they be different without knowledge of space itself? The experiential data is the same in both cases. * Unsatisfactory alternatives Obvs. not happy with Descartes’ a priori knowledge of the world due to god argument failing—also, Kant doesn’t think you can ever prove the existence of god using reason. Metaphysics again Only way to explain things like this is that the world as knowable by humans is dependent on the way that we know it, dependent on us. There is a reality of things as they in themselves beneath this, but we can never know what it is like. Isn’t this a bit of a truism? Neurath’s boat.** Some kind of faith possible about the real world. Distinguished from knowledge of sensory world. Moral truths Doesn’t give a parallel account. He seems to think that moral truths take us beyond the realm of what we can know, and they give us some kind of contact with reality itself—disputed interpretation. Why can we be so confident in our a priori principles (e.g. induction) that govern our experience? They are innate but that’s no guarantee of their reliability. *** The Groundwork itself Written as a semi-popular book. Kant was surprised that first Critique didn’t go down well with the public. Review said Kant was reheating Berkeley’s idealism. Therefore wrote Prolegomena, semi-popular, intended to make everybody understand exactly what he was saying. Failed ofc… On ethics he does the popular work first. Kant introduces an idea, doesn’t go into complexities but doesn’t say that there even are complexities. This has caused almost all problems of with understanding the Groundwork. Three formulations do come to the same thing but it’s very hard to see how they come together as he’s suppressed detail on his initial formulation. Could have put a lot of philosophers out of work if he hadn’t done this. *** Methodology Starting ethics
Re: [O] [PATCH] Org-Velocity rewrite
Hi Paul, Paul M. Rodriguez paulmrodrig...@gmail.com writes: This is a rewrite of Org-Velocity for speed. Delays due to file size should no longer be perceptible. I have also added in-line previews of entry contents and dropped support for Org-Remember. Applied, thanks a lot. -- Bastien
Re: [O] [feature request] Org as an Excerpt Database (or Multivalue Properties)
Hi Christian and Herbert Christian Moe m...@christianmoe.com writes: I've successfully used the regular expression searches Herbert Sitz describes to search and query a small (~ 500 kB) Org database of all my source materials (text clippings) for a project, where some of the properties I used had multiple values. You will find Matt Lundin's Advanced searching tutorial invaluable: http://orgmode.org/worg/org-tutorials/advanced-searching.html Org has some basic support for multivalue properties, mainly for editing (getting, putting, adding, removing) and also a membership test. See the manual: [[info:org#Using%20the%20property%20API]] Note that unlike your example setup, the values are not comma-separated. The multivalue support does not, as far as I remember, extend to match expressions for searches etc. This would probably be non-trivial to implement. Something could probably be cobbled up with org-entry-member-in-multivalued-property. But regexp searches are fairly simple to use, and work now. This is a fairly good solution. Thanks for hinting me to that solution and the worg-site. After having worked with regexp-searches for a day, I see that I can do what I want. Anyway it's quite an amount of typing. For some reasons I noticed a strange bug (?) connected to regexp-searches. Whenever I do a org-tags-view, some of my org-files get the double asterisk in the status-bar. They haven't changed but Emacs tells me that they had. This always happens to the same three files, other org-files are untouched. Does anybody else have that phenomenon? Greetings, Sven
Re: [O] Publish HTML Without Title
Hi Rasmus, Rasmus Pank Roulund ras...@gmx.us writes: Note, I never asked for the second title and this is the one I want to go away, but I don't know how. As I pointed out in the previous case, it seems that it may be hardcoded, but I don't know. Yes, this is hardcoded. Hopefully we will get rid of such problems in the next versions of org-html.el. For now, you can simply use a css to make this title invisible: .title {display:none;} HTH, -- Bastien
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Bastien bzg at altern.org writes: This is a more general problem: converting .odt (or even HTML, .tex, etc.) back to org-mode would indeed be wonderful. The most promising road I see for that would be to let pandoc *read* Org files: http://johnmacfarlane.net/pandoc/ Any haskell hacker around? There is ODT2ORG (https://bitbucket.org/josemaria.alkala/odt2org/wiki/Home) which lets you import odt files in org-mode. It works quite well and may need just some minor polishing.
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Thomas tunnelblick at quantentunnel.de writes: There is ODT2ORG (https://bitbucket.org/josemaria.alkala/odt2org/wiki/Home) which lets you import odt files in org-mode. It works quite well and may need just some minor polishing. http://leapon.net/en/mso2ooo-batch-convert-microsoft-office-documents-openoffice-documents There is also mso2ooo, which is, like odt2org, a python script. Maybe someone who knows elisp can create an emacs-frontend for running one or both scipts. This could result in a neat and elegant way to import odt and doc-files into org.
Re: [O] TABLES: Remove/add cell
Hi Michael and Daniel, Daniel Martins daniel...@gmail.com writes: One vote for being part of the core of org-mode!!! (with org-table rtanspose as well) Yes. `org-table-transpose-table-at-point' is now part of Org's core. -- Bastien
Re: [O] TABLES: Remove/add cell
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: If I understand right and only for left/right, the in-row functions cover that too: - remove: first blank the field with C-c Space (org-table-blank-field) and then rotate in-row left - add: rotate in-row right and replace the field content, before this step append new columns if required For more see Change the column sequence in one row only on Worg hacks: http://orgmode.org/worg/org-hacks.html#column-sequence-in-row This is great -- would you like to prepare a patch to org-table.el adding these feature? If you can come up with compatible keybindings, that would be even better. Thanks a lot in advance! -- Bastien
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
On Sat, Dec 10, 2011 at 9:22 PM, Bastien wrote: Dear all, as the subject says. Please all test this heavily and report any problems. This will be part of Org 7.8 and soon in Emacs. Thanks a lot to Jambunathan for all this efforts, let's make sure everything is smooth before the release! this is wonderful! many thanks to Jambu, Bastien, Christian and everyone involved. best regards -- manish
Re: [O] What do you use to identify projects (in the GTD sense)
I use Bernt's approach with a few modifications. Basically I don't use subprojects. I think Bernt's handling of subprojects is broken, because a NEXT keyword burried in a subproject keeps the entire project off the stuck projects lists. (Please correct me if I'm wrong.) My solution is to move a project's task that itself requires subtasks out of the project and make it a top-level project in itself. This makes archiving somewhat cumbersome, as (sub) projects may get archived out of order. But for me archiving is a very manual process anyway. I delete lots of done projects or move the information to a notes file. I also have a lot of simple tasks that aren't really part of project. (Like watch my sister's kids. What project would I put that under?) These one-shot tasks appear on my next action agenda block along with project next action. They do not appear in the Stuck projects agenda block if they dont' have a NEXT keyword, but in a a seperate agenda block, because there is no need to determine the next action. I just have to determine the work context or maybe schedule them for a particular day. Bernt Hansen wrote: Marcelo de Moraes Serpa celose...@gmail.com writes: I'm wondering if you make the distinction between projects and actionable items. How do you do it? http://doc.norang.ca/org-mode.html#Projects -Bernt
Re: [O] Bug: org-todo-yesterday doesn't work from agenda buffer [7.7 (release_7.7.548.g9a442.dirty)]
Bernt Hansen be...@norang.ca writes: There's another function to use from the agenda: org-agenda-todo-yesterday `org-todo-yesterday' now calls `org-agenda-todo-yesterday' if necessary. Best, -- Bastien
Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks
Sankalp sankalpkh...@gmail.com writes: Hi, I've been using org mode's #+BEGIN_SRC ... code #+END_SRC feature to display source code. I was wondering if there's a way to include code from an external file. Like the *\lstinputlisting* feature in the LaTeX *listings* package. You could write a code block which when executed wraps the file's contents in a code block which is then inserted into the Org-mode buffer. For example if your external file is named foo.c and holds C code the following #+begin_src sh :exports results :results raw output echo #+BEGIN_SRC C cat foo.c echo #+END_SRC #+end_src will insert its contents into the buffer during every export. Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] [BUG] Inconsistency in src block hiding
Nicolas Goaziou n.goaz...@gmail.com writes: Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: The attached patch entirely removes the #+name and #+results based hiding. Note that the existing wrap argument to the :results header argument will wrap results in a block which allows easy tab-based result hiding. I didn't notice it before, but the wrap option from :results property could also be removed. Unlike to every other block #+begin_results doesn't add any meaning. Its sole purpose is to group some Org data, which is the job of drawers. Moreover, it's already easy to install results in a block (I use it to center results). You only need to put the results line in an appropriate location and evaluate the code block, like in the following: #+name: four #+begin_src emacs-lisp (+ 2 2) #+end_src #+begin_center #+results: four #+end_center One major utility of the wrap :results header argument is that it allows blocks of raw Org-mode text returned by a code block to be automatically replaced on every execution. This is possible because the wrapping block is used to delimit the result in the Org-mode file. This is not possible with your solution above. Note that the wrap argument may be used instead to wrap results in a :RESULTS: drawer, but that default drawer would have then to be added to the `org-drawers' list, and, in the end, wouldn't be very practical. I agree a :RESULTS: drawer would be a more meaningful way to wrap code block results. I don't see why such a solution is not practical. I just pushed up a change that defaults to wrapping results in new RESULTS drawers rather than blocks. In my opinion, we should forget any will to automatically group results (because there is no option more interesting than others) and let the user decide what suits him the best. I would disagree because of the result delimitation functionality mentioned above. Best, -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] [babel] speed of continued source blocks
Hi Andreas, I've just pushed up a patch which should speed up the collection of continued source blocks. Please let me know if the performance increase is sufficient for your example, if not we can look at more dramatic methods of optimization or possibly at making the collection of such blocks conditional. One option to avoid this overhead could be to add the following #+PROPERTY: noweb no to the top of your Org-mode file. Best, Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi all, there is a significant performance drop connected to (the quite old) commit 8c37281cb63a0b5cb0d84d22960e3a33d7680d40 ob-tangle: continued code blocks now implemented with the :noweb-ref header arg which introduces the continued code blocks. On the test file ([fn:1] for the old syntax, [fn:2] for the new syntax) do org-babel-expand-src-block (C-c C-v v) on the first source code block to see the effect. Just before this commit I get instantaneous reaction (elp: [fn:3]), with the commit I have to wait about 20 seconds (elp: [fn:4]) Recently things improved a bit, but still it takes about 10 seconds to expand the source block (elp: [fn:5]). Since working interactively with the (R-)code in the org-file is impossible this way, here comes my question: Is it possible to either (a) speed up the continued source blocks or (b) make the continued code blocks an optional feature in order to improve the performance to the previous state again? I'd be happy with solution (b), but unfortunately, it is beyond my elisp to do so. Any help highly appreciated, Andreas [fn:1] test file with old syntax: http://pastebin.com/aL9axJMJ [fn:2] test file with new syntax: http://pastebin.com/c42jS1Be [fn:3] elp result last good commit: org-babel-expand-src-block1 0.853276 0.853276 org-edit-src-code 1 0.58143 0.58143 org-entry-get 2220 0.469903 0.0002116684 org-babel-edit-prep:R 1 0.46897 0.46897 org-babel-R-initiate-session 1 0.468958 0.468958 org-babel-expand-noweb-references 5 0.340635 0.068127 org-babel-get-src-block-info 7 0.32633 0.0466185714 org-babel-parse-src-block-match 7 0.325632 0.046518 org-babel-params-from-properties 7 0.311787 0.044541 org-entry-get-with-inheritance518 0.308870 0.0005962760 org-up-heading-safe 1702 0.088341 5.190...e-05 org-get-property-block1702 0.084672 4.974...e-05 org-back-to-heading 3404 0.062372 1.832...e-05 org-edit-src-find-region-and-lang 1 0.052575 0.052575 org-before-first-heading-p2220 0.026047 1.173...e-05 org-babel-params-from-buffer 7 0.011711 0.001673 org-outline-level 2886 0.004712 1.632...e-06 org-babel-find-named-block4 0.003625 0.00090625 org-babel-merge-params29 0.001489 5.137...e-05 org-babel-parse-header-arguments 28 0.00076 2.714...e-05 org-babel-where-is-src-block-head 7 0.000354 5.057...e-05 org-do-remove-indentation 8 0.000321 4.024...e-05 org-not-nil 518 0.000262 5.077...e-07 org-babel-read30 0.000171 5.700...e-06 org-uniquify 96 0.000161 1.687...e-06 org-src-switch-to-buffer 1 0.000161 0.000161 org-switch-to-buffer-other-window 1 0.000153 0.000153 org-edit-src-find-buffer 1 0.00014 0.00014 org-mode-flyspell-verify 1 0.000123 0.000123 org-babel-trim4 8.999...e-05 2.249...e-05 org-make-options-regexp 28
Re: [O] [BUG] Inconsistency in src block hiding
Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: The attached patch entirely removes the #+name and #+results based hiding. Note that the existing wrap argument to the :results header argument will wrap results in a block which allows easy tab-based result hiding. As this is a relatively large change I hesitate to apply it outright, although I do agree that it leads to simpler more consistent behavior. If general consensus seems to support the application of this patch then I will be happy to apply it. Has there been any more feedback on this? Erik, is it safe to apply the patch or shall we wait more? I've received no more feedback on this patch. It should be safe as it adds no new code but simply removes some questionable code. I will apply this patch now. Best, -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] [BUG] Inconsistency in src block hiding
Eric Schulte eric.schu...@gmx.com writes: I've received no more feedback on this patch. It should be safe as it adds no new code but simply removes some questionable code. I will apply this patch now. Seen - thanks! -- Bastien
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Thomas tunnelblick at quantentunnel.de writes: There is ODT2ORG (https://bitbucket.org/josemaria.alkala/odt2org/wiki/Home) which lets you import odt files in org-mode. It works quite well and may need just some minor polishing. Thomas -- Thanks, I think that's what I was thinking of. For some reason I was assuming that the odt importer would have been written by Jambunathan as a companion piece to his exporter. -- Herb
Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks
On 11 December 2011 21:30, Eric Schulte eric.schu...@gmx.com wrote: Sankalp sankalpkh...@gmail.com writes: Hi, I've been using org mode's #+BEGIN_SRC ... code #+END_SRC feature to display source code. I was wondering if there's a way to include code from an external file. Like the *\lstinputlisting* feature in the LaTeX *listings* package. You could write a code block which when executed wraps the file's contents in a code block which is then inserted into the Org-mode buffer. For example if your external file is named foo.c and holds C code the following #+begin_src sh :exports results :results raw output echo #+BEGIN_SRC C cat foo.c echo #+END_SRC #+end_src will insert its contents into the buffer during every export. Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/ Thanks a lot Eric, though I got it working with what Puneeth suggested earlier :) -- Sankalp
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Thomas tunnelbl...@quantentunnel.de writes: There is ODT2ORG (https://bitbucket.org/josemaria.alkala/odt2org/wiki/Home) which lets you import odt files in org-mode. It works quite well and may need just some minor polishing. Great -- I added this to http://orgmode.org/worg/org-translators.html Thanks! -- Bastien
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Thomas tunnelbl...@quantentunnel.de writes: http://leapon.net/en/mso2ooo-batch-convert-microsoft-office-documents-openoffice-documents There is also mso2ooo, which is, like odt2org, a python script. Maybe someone who knows elisp can create an emacs-frontend for running one or both scipts. Thanks - I use unoconv and find it really useful: http://dag.wieers.com/home-made/unoconv/ -- Bastien
Re: [O] [PATCH] Bugfix open 1 link from list; doc more link types
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: Bugfix open 1 link from list; doc more link types * doc/org.texi (External links): Document the link types file+sys and file+emacs, slightly narrow used page width. * lisp/org.el (org-offer-links-in-entry): Make list when assigning a single link. M-1 C-c C-o or (org-open-at-point 1) or (org-offer-links-in-entry 1) on a headline followed by two links enters Lisp error. Both changes are remainders of the commit release_6.33f-189-g3e0c61d. Applied, thanks, and sorry for the delay. Best, -- Bastien
Re: [O] TABLES: Remove/add cell
Bastien b...@altern.org writes: Yes. `org-table-transpose-table-at-point' is now part of Org's core. There's one thing to take care of, though: In org-table-transpose-table-at-point: org-table.el:1774:33:Warning: function `remove-if-not' from cl package called at runtime Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
[O] [Accepted] Fix marker in no buffer error for task state change in an indirect buffer
Patch 1050 (http://patchwork.newartisans.com/patch/1050/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1321739047-11936-1-git-send-email-bernt%40norang.ca%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [O] Fix marker in no buffer error for task state change in an indirect buffer Date: Sun, 20 Nov 2011 02:44:07 - From: Bernt Hansen be...@norang.ca X-Patchwork-Id: 1050 Message-Id: 1321739047-11936-1-git-send-email-be...@norang.ca To: emacs-orgmode@gnu.org Cc: Bernt Hansen be...@norang.ca, carsten.domi...@gmail.com * lisp/org-clock.el (org-clock-out-if-current): Fix marker in no buffer error for task state change in an indirect buffer org-clock-out-when-current was enhanced in 098cf35 (Clock: Clock out when done also in indirect buffers, 2009-03-23) to handle indirect buffers. This enhancement uses (buffer-base-buffer (org-clocking-buffer)) but when not clocking (org-clocking-buffer) returns nil - so buffer-base-buffer returns the base buffer of the current buffer which is never nil. This leads to marker in no buffer errors trying to stop the clock when it is not running. Now we explicitly check up front that the clock is running before any other conditions that lead to stopping the clock. --- cc:ing Carsten since this is his code Hi Dave, After much difficulty I was able to reproduce this problem. It would have been helpful to include basic information about what triggers the bug for you. - clock is not running - You are working in an indirect buffer - You change a todo state keyword to DONE This works fine for me when not in an indirect buffer. The git commit you have referenced in this report is not part of the org repository which also made me think you had local changes that affected this issue since I couldn't reproduce it for the first 20 minutes of looking at this issue. Please try this patch and report back if it works or not. Thanks, Bernt lisp/org-clock.el |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 5dbe4dc..9107400 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1696,7 +1696,8 @@ from the `before-change-functions' in the current buffer. Clock out if the current entry contains the running clock. This is used to stop the clock after a TODO entry is marked DONE, and is only done if the variable `org-clock-out-when-done' is not nil. - (when (and org-clock-out-when-done + (when (and (org-clocking-p) + org-clock-out-when-done (or (and (eq t org-clock-out-when-done) (member state org-done-keywords)) (and (listp org-clock-out-when-done)
Re: [O] [PATCH] Fix marker in no buffer error for task state change in an indirect buffer
Bernt Hansen be...@norang.ca writes: * lisp/org-clock.el (org-clock-out-if-current): Fix marker in no buffer error for task state change in an indirect buffer Applied, thanks for the careful hunt/analysis/fix. -- Bastien
Re: [O] TABLES: Remove/add cell
Achim Gratz strom...@nexgo.de writes: There's one thing to take care of, though: In org-table-transpose-table-at-point: org-table.el:1774:33:Warning: function `remove-if-not' from cl package called at runtime Done. Thanks for spotting this! -- Bastien
Re: [O] [PATCH] Timestamps: Fix org-schedule and org-deadline with absolute time arguments
pmli...@free.fr (Peter Münster) writes: * lisp/org.el (org-add-planning-info): Treat absolute time too. Applied, thanks. -- Bastien
Re: [O] [patch] Add faces for highlighting calendar events in the agenda
Hi Sébastien, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Find attached a patch to highlight 2 types of calendar events: Applied, thanks a lot! -- Bastien
Re: [O] [PATCH] Re: Export as HTML does not preserve nonstandard entities as TODO signs
Hi Christian, Christian Moe m...@christianmoe.com writes: Correct html export of todo keywords * org-html.el (org-export-as-html): Apply org-export-html-get-todo-kwd-class-name to the the class attribute of the todo-keyword span tag, not to its text content Applied, thanks! -- Bastien
Re: [O] [ANN] Org Mode parser v0.0.1 for NodeJs
Bastien b...@altern.org writes: Hi Giovanni, Giovanni Giorgi j...@gioorgi.com writes: I have just published my org-mode parser for the node-js javascript based server: http://gioorgi.com/org-mode-parser/ Thanks! Could this somehow be plugged to Substance? Or could this be adapted to export Org files in the Data.Graph data format? http://substance.io/ http://substance.io/substance/substance-internals This is the first I've seen of substance.io, it looks very interesting. I wonder how similar the substance document data structure is to the new org-parse data structure, and if it would be difficult or rewarding to write a translator between the two. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] [babel] speed of continued source blocks
Hi Eric, thanks for looking into this providing a patch already! I've just pushed up a patch which should speed up the collection of continued source blocks. Please let me know if the performance increase is sufficient for your example, if not we can look at more dramatic methods of optimization or possibly at making the collection of such blocks conditional. The speed looks very good already! But now org-babel-expand-src-block (as well es the source block evaluation) seems not to expand the noweb references at all and more. Is that a problem only on my side? One option to avoid this overhead could be to add the following #+PROPERTY: noweb no to the top of your Org-mode file. Since I heavily rely on the noweb references, this is not an option for me. Cheers, Andreas
Re: [O] Export all clocks or find last clock out. Is it possible?
On 12/11/2011 07:05 AM, Olaf Dietsche wrote: As already suggested by Puneeth `org-clock-goto' (with prefix: C-u C-c C-x C-j) lists the most recently used clocks and C-u C-c C-x C-j 1 jumps to the last clocked task. For some reason it also shows empty Recent Tasks list :( `org-clock-history-length' sets the number of tasks shown. (custom-set-variables '(org-clock-history-length 28)) I evaluated this expression. But it does not make any difference. Besides the org manual, Bernt Hansen has an excellent website http://doc.norang.ca/org-mode.html covering his workflow with orgmode. Look out for `org-clock-goto' in 1.5 Key Bindings and 15.19 Speed commands. I do have some of Bernt's commands in my dot emacs. As I said, while I'm working on a file, everything is nice: I can jump to most recent task with F11 even when it is clocked out. But not when I open an old file. Also I do have the following in dot emacs (setq org-clock-persist 'history) (org-clock-persistence-insinuate) But I feel like it is only for most recent file that has no clock out yet. I'm not consistent with org-mode and I use it for only one project for timing so far :( Most of the time I spend outside of emacs and I simply forget to clock a task or even start emacs sometimes. I feel like I'm on my own if I don't follow org-mode rules all the time and I want to back fill things I've done in the past. Mikhail
Re: [O] outline-demote incorrectly demotes leaf nodes
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: Attached is the patch with this changelog: Completion of remapping for Outline functions * lisp/org.el Key bindings: remap the Outline functions from `outline-mode-prefix-map' where possible. Thanks a lot for going through this systematically. I've now applied your patch. Best, -- Bastien
Re: [O] [babel] speed of continued source blocks
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Eric, thanks for looking into this providing a patch already! I've just pushed up a patch which should speed up the collection of continued source blocks. Please let me know if the performance increase is sufficient for your example, if not we can look at more dramatic methods of optimization or possibly at making the collection of such blocks conditional. The speed looks very good already! Great, unless I hear back I'll assume this issue is resolved. Thanks for the stress testing. But now org-babel-expand-src-block (as well es the source block evaluation) seems not to expand the noweb references at all and more. Is that a problem only on my side? Thanks for catching this, I was only testing :noweb-ref references, not named code block references. I've just fixed this issue and added an exercising test case so this won't happen in the future. Please let me know if any problems remain. Cheers, One option to avoid this overhead could be to add the following #+PROPERTY: noweb no to the top of your Org-mode file. Since I heavily rely on the noweb references, this is not an option for me. Cheers, Andreas -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks
Eric Schulte eric.schu...@gmx.com wrote: Sankalp sankalpkh...@gmail.com writes: Hi, I've been using org mode's #+BEGIN_SRC ... code #+END_SRC feature to display source code. I was wondering if there's a way to include code from an external file. Like the *\lstinputlisting* feature in the LaTeX *listings* package. You could write a code block which when executed wraps the file's contents in a code block which is then inserted into the Org-mode buffer. For example if your external file is named foo.c and holds C code the following #+begin_src sh :exports results :results raw output echo #+BEGIN_SRC C cat foo.c echo #+END_SRC #+end_src will insert its contents into the buffer during every export. That might be necessary in more complex situations, but in the OP's case (at least, to the extent that I understand it), Puneeth's suggestion of #+begin_src c :exports code #+include: foo.c #+end_src seems to work fine. Nick
Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks
Nick Dokos nicholas.do...@hp.com writes: Eric Schulte eric.schu...@gmx.com wrote: Sankalp sankalpkh...@gmail.com writes: Hi, I've been using org mode's #+BEGIN_SRC ... code #+END_SRC feature to display source code. I was wondering if there's a way to include code from an external file. Like the *\lstinputlisting* feature in the LaTeX *listings* package. You could write a code block which when executed wraps the file's contents in a code block which is then inserted into the Org-mode buffer. For example if your external file is named foo.c and holds C code the following #+begin_src sh :exports results :results raw output echo #+BEGIN_SRC C cat foo.c echo #+END_SRC #+end_src will insert its contents into the buffer during every export. That might be necessary in more complex situations, but in the OP's case (at least, to the extent that I understand it), Puneeth's suggestion of #+begin_src c :exports code #+include: foo.c #+end_src Oh, I didn't notice the code block surrounding the include call in Puneeth's suggestion. I didn't realize include working inside of blocks, very cool. I agree that is preferable to my code block execution base solution. Best, seems to work fine. Nick -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Making ePub books: further report
On 11/12/11 21:02:51, Jambunathan K wrote: Alan L Tyree alanty...@gmail.com writes: On 11/12/11 20:41:18, Alan L Tyree wrote: On 11/12/11 18:42:10, Nick Dokos wrote: Alan L Tyree alanty...@gmail.com wrote: http://thread.gmane.org/gmane.emacs.orgmode/41826/ focus=41849 Yes, Calibre does a nice job of converting XHTML to ePub; it can be read in all the readers that I use, but it won't pass the validation tests. OK unless you want to publish on sites that require validation. SNIP I was being unfair to Calibre. If I clean up the XHTML file produced by org (in the way indicated by my original post plus a couple of things that I didn't mention), then Calibre produces an ePub book that passes validation. So -- back to my original question: is there some variable somewhere that puts in both name=xxx and id=xxx or do I need to write a post export clean up function? Bad form to answer my own question: these seem to be hard coded in org- html.el along with the other items that give ePub validation a nervous breakdown. I'll post a full list of the offending items later. If you use org-xhtml.el (in contrib/lisp/org-xhtml.el) then you can re-define some aspects of html export selectively. For example, you can redefine this to , original | (defun org-xhtml-format-anchor (text name optional class) | (let* ((id name) | (extra (concat | (when name (format name=\%s\ name)) | (when id (format id=\%s\ id)) | (when class (format class=\%s\ class) | (org-xhtml-format-tags '(a%s . /a) text extra))) ` this , modified | (defun org-xhtml-format-anchor (text name optional class) | (let* ((id name) | (extra (concat | (when id (format id=\%s\ id)) | (when class (format class=\%s\ class) | (org-xhtml-format-tags '(a%s . /a) text extra))) ` to strip name from anchor. I am not sure whether org-xhtml.el will minimize your efforts. Just a suggestion. ps: Add contrib/lisp to load-path and do org-export-as-xhtml. Thanks for this, Jambunathan. I'll give this a try. Cheers, Alan Cheers, Alan Thanks, Alan -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org -- -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
this is wonderful! many thanks to Jambu, Bastien, Christian and everyone involved. That would be Jambu, for developing the whole thing, and Bastien, for integrating it. (I have only done a bit of testing and cheerleading.) Yours, Christian
Re: [O] [PATCH] Re: Export as HTML does not preserve nonstandard entities as TODO signs
On 12/11/11 6:57 PM, Bastien wrote: Applied, thanks! Thanks. Yours, Christian
Re: [O] org-capture-templates file+datetree+prompt question
At Tue, 6 Dec 2011 09:26:03 +0100, Carsten Dominik wrote: Hi Erik, if yout get the latest git version, this is how it is working now. I agree that it is more consistent this way. Hi Carten, Thanks again for this fix. I have noticed that using k c ... (where ... is a capture template utilizing file+datetree+prompt) in the agenda now prompts for a date. Is this intended behavior? best, Erik Sent from my free software system http://fsf.org/.
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
On Sun, Dec 11, 2011 at 7:37 PM, Christian Moe wrote: this is wonderful! many thanks to Jambu, Bastien, Christian and everyone involved. That would be Jambu, for developing the whole thing, and Bastien, for integrating it. (I have only done a bit of testing and cheerleading.) yes. but you too took the responsibility for testing and cheering from day zero and never dropped the ball. i truly appreciate that too. -- manish
Re: [O] [babel] speed of continued source blocks
Hi Eric, Eric Schulte eric.schu...@gmx.com writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Eric, thanks for looking into this providing a patch already! I've just pushed up a patch which should speed up the collection of continued source blocks. Please let me know if the performance increase is sufficient for your example, if not we can look at more dramatic methods of optimization or possibly at making the collection of such blocks conditional. The speed looks very good already! Great, unless I hear back I'll assume this issue is resolved. Thanks for the stress testing. But now org-babel-expand-src-block (as well es the source block evaluation) seems not to expand the noweb references at all and more. Is that a problem only on my side? Thanks for catching this, I was only testing :noweb-ref references, not named code block references. I've just fixed this issue and added an exercising test case so this won't happen in the future. Please let me know if any problems remain. Cheers, One option to avoid this overhead could be to add the following #+PROPERTY: noweb no to the top of your Org-mode file. Since I heavily rely on the noweb references, this is not an option for me. Cheers, Andreas thanks a lot! Works great now. Cheers, Andreas
Re: [O] org-capture-templates file+datetree+prompt question
On 11.12.2011, at 20:45, Erik Hetzner wrote: At Tue, 6 Dec 2011 09:26:03 +0100, Carsten Dominik wrote: Hi Erik, if yout get the latest git version, this is how it is working now. I agree that it is more consistent this way. Hi Carten, Thanks again for this fix. I have noticed that using k c ... (where ... is a capture template utilizing file+datetree+prompt) in the agenda now prompts for a date. Is this intended behavior? No, it is not, this is a bug. Grrr. I'll take a look as soon as I can. - Carsten best, Erik Sent from my free software system http://fsf.org/.
Re: [O] Making ePub books: further report
On 12/12/11 02:51:29, Bastien wrote: Hi Alan, Alan L Tyree alanty...@gmail.com writes: So -- back to my original question: is there some variable somewhere that puts in both name=xxx and id=xxx or do I need to write a post export clean up function? From latest git, can now set ̀org-export-html-headline-anchor-format' to nil. See the docstring of this new option. Thanks, Basien. I'll give it a try. Alan Thanks, -- Bastien -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org
Re: [O] What do you use to identify projects (in the GTD sense)
Viktor Rosenfeld listuse...@googlemail.com writes: I use Bernt's approach with a few modifications. Basically I don't use subprojects. I think Bernt's handling of subprojects is broken, because a NEXT keyword burried in a subproject keeps the entire project off the stuck projects lists. (Please correct me if I'm wrong.) It's possible it's broken :) but subprojects are considered separately for the stuck project list. It is true that if any subproject has a NEXT task then the overall project is not stuck (but doesn't that makes sense?) * TODO Project ** TODO SubProject A *** NEXT Task One ** TODO SubProject B *** TODO Task Two In the above layout Project is not stuck (it has Task One as a NEXT task) but SubProject B is stuck (it has no next task and shows up on the stuck project list) Also as soon as Task One is DONE than both SubProject A and Project are both stuck until a new NEXT task is identified (or they are in turn marked DONE) Regards, Bernt
Re: [O] Export all clocks or find last clock out. Is it possible?
Mikhail Titov m...@gmx.us writes: Also how can I navigate to the last clock out? I know I can do some exercise with awk or perl, but perhaps there should be a better solution. I tried to google but I can't find anything :( I know I can do some exercise with awk or perl, but perhaps there should be a better solution. I tried to google but I can't find anything :( You can view your clocked items in the agenda agenda view / show week view / / validate clocks / / / / / /\ C-c a a w v c I usually do this for a single day since the clock I'm interested in is somethign I did today already. Just find the entry on the agenda and RET on it goes directly to the clock entry. HTH, Bernt
Re: [O] org-capture-templates file+datetree+prompt question
Hi Erik, Erik Hetzner e...@e6h.org writes: Thanks again for this fix. I have noticed that using k c ... (where ... is a capture template utilizing file+datetree+prompt) in the agenda now prompts for a date. Is this intended behavior? I can't reproduce this -- I used the capture setting you mentioned earlier in this thread. Can you provide a minimal test/config file and the steps to reproduce with latest Org from git? Thanks! -- Bastien
Re: [O] The Org-ODT exporter is now in Org's core (latest git)
Christian Moe m...@christianmoe.com writes: this is wonderful! many thanks to Jambu, Bastien, Christian and everyone involved. That would be Jambu, for developing the whole thing, and Bastien, for integrating it. (I have only done a bit of testing and cheerleading.) Cheerleading is key here :) Anyone volunteer for designing a (spread)shirt I pushed a commit to Org or I'm an Org cheerleader ? -- Bastien
Re: [O] [ANN] Org Mode parser v0.0.1 for NodeJs
Eric Schulte eric.schu...@gmx.com writes: This is the first I've seen of substance.io, it looks very interesting. I wonder how similar the substance document data structure is to the new org-parse data structure, and if it would be difficult or rewarding to write a translator between the two. I wonder the same -- I guess we'll all have more insight when we try writing new exporter with the new export engine. Just though it was good to throw this reference early enough... -- Bastien
Re: [O] Export all clocks or find last clock out. Is it possible?
On 12/11/2011 04:25 PM, Bernt Hansen wrote: Mikhail Titov m...@gmx.us writes: Also how can I navigate to the last clock out? I know I can do some exercise with awk or perl, but perhaps there should be a better solution. I tried to google but I can't find anything :( I know I can do some exercise with awk or perl, but perhaps there should be a better solution. I tried to google but I can't find anything :( You can view your clocked items in the agenda agenda view / show week view / / validate clocks / / / / / /\ C-c a a w v c Thanks a lot! I was able to rebuild agenda for the year and check clocks! Perhaps I missed details on agenda commands while I was reading manual. Just `v c` is what I was missing. Can I see somehow see an agenda for previous month after I pressed `v m`? I had to switch to year view in my case. Mikhail
Re: [O] Export all clocks or find last clock out. Is it possible?
Mikhail Titov m...@gmx.us writes: Thanks a lot! I was able to rebuild agenda for the year and check clocks! Perhaps I missed details on agenda commands while I was reading manual. Just `v c` is what I was missing. Can I see somehow see an agenda for previous month after I pressed `v m`? I had to switch to year view in my case. Sure - just move forward and backwards through the calendar with 'f' and 'b' respectively. I rarely look at more than a week at a time but I move the window over different time ranges frequently. Regards, Bernt
[O] Function for html-preamble and html-postamble in org-publish
In version 7.7, a function provided to org-publish via :html-preamble or :html-postamble no longer accepts a property list of export options. I do not know if this change is a bug, or if it is deliberate. I pass functions to :html-preamble and :html-postamble to integrate generated HTML pages into a web site. In previous versions of org-mode, such functions took a single argument as documented in org-export-html-premable: The function takes the property list of export options as its only argument. In version 7.7 this appears to have changed in org-html.el, org-export-as-html, lines 1,340 and 1,791 (they no longer pass opt-plist), without any change to documentation. Further changes to this code have been made in the git repository. I was able to restore the previous behavior simply by editing org-html.el to again pass opt-plist on the two lines, but am interested in what the future direction is for customizing the HTML output for org-publish. Was this change unintentional, a deliberate minor change, or is org-publish or org-html undergoing significant re-design? If this was deliberate, is there an alternate method for customization functions to access the property list? Thanks for any insight, Bill
Re: [O] org-capture-templates file+datetree+prompt question
At Mon, 12 Dec 2011 00:18:34 +0100, Bastien wrote: Hi Erik, Erik Hetzner e...@e6h.org writes: Thanks again for this fix. I have noticed that using k c ... (where ... is a capture template utilizing file+datetree+prompt) in the agenda now prompts for a date. Is this intended behavior? I can't reproduce this -- I used the capture setting you mentioned earlier in this thread. Can you provide a minimal test/config file and the steps to reproduce with latest Org from git? Hi Bastien, My apologies, you are correct. I made two errors: 1. My calendar capture template actually looked like this: (c Calendar entry (file+datetree+prompt ~/s/notes/calendar.org Inbox) * %^{What?}\n%t\n%?) The “Inbox” part was accidentally copied from another template. This seems to have caused the problem. 2. My other capture template that used file+datetree+prompt that experienced this behavior actually had a %^t in the template. Whoops! Thank you so much for looking into this. best, Erik Sent from my free software system http://fsf.org/.
[O] bug#9913: 24.0.91; ELPA: OpenDocument Text exporter for Org
In light of the following, can this be closed? http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00155.html Subject: The Org-ODT exporter is now in Org's core (latest git)
Re: [O] Publish HTML Without Title
Bastien b...@altern.org writes: Hi Rasmus, Rasmus Pank Roulund ras...@gmx.us writes: Note, I never asked for the second title and this is the one I want to go away, but I don't know how. As I pointed out in the previous case, it seems that it may be hardcoded, but I don't know. Yes, this is hardcoded. Hopefully we will get rid of such problems in the next versions of org-html.el. For now, you can simply use a css to make this title invisible: .title {display:none;} But I do want the title. I just want it where I coded it to be and not where Org coded it to be. I am looking forward to org-html-next. Thanks, Rasmus -- Sent from my Emacs
Re: [O] org-search-goto.el - full text search to go to locations in your org buffers
Dear Tom, Hi. Nice package to achieve fast search! Thank you. If this package can handle `org-directory' having org files, or `org-agenda-files', it is more handy. I currently do this task using `anything-grep-by-name', but it is not comfortable for me because it does not open trees including the query text when touching the searching result. Best regards, Takaaki Ishikawa @takaxp On 2011/12/11, at 17:52, Tom wrote: This package is a simple variant of http://www.emacswiki.org/emacs/org-occur-goto.el signature.asc Description: Message signed with OpenPGP using GPGMail
[O] bug#9913: 24.0.91; ELPA: OpenDocument Text exporter for Org
Glenn Morris r...@gnu.org writes: In light of the following, can this be closed? Yes. Please close this issue. http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00155.html Subject: The Org-ODT exporter is now in Org's core (latest git)