Re: [O] Re: can't export custom time stamps
Thanks, this solves the timestamp exporting issue. -- Greetings, Daniel
[O] Re: Set the beginning section number
Hello, lbml...@hethcote.com writes: I may have not read sufficiently, but I have not yet found how to set the beginning number when exporting to HTML and I'm desiring to start with a number other than 1. * This ** is the example *** that I play *** with Exports to: 1 This 1.1 is the example 1.1.1 that I play 1.1.2 with What I would like to do is set the initial number so that the exported reads as: 33 This 33.1 is the example 33.1.1 that I play 33.1.2 with This may not be exactly what you're looking after, but lists can do something like this: #+title: Say 33 33. [@33] This 1. is the example 1. that I play 2. with Regards, -- Nicolas
[O] org-crypt Error: org-crypt-use-before-save-magic
I am investigating using org-crypt in some of my files. In my .emacs I have: #+BEGIN_SRC emacs-lisp (require 'org-crypt) (org-crypt-use-before-save-magic) (setq org-tags-exclude-from-inheritance (quote (crypt))) ; GPG key to use for encryption (setq org-crypt-key MyKey) #+END_SRC When I start Emacs I get: Warning (initialization): An error occurred while loading `/home/ian/.emacs': Symbol's function definition is void: org-crypt-use-before-save-magic To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. The corresponding backtrace is: Debugger entered--Lisp error: (void-function org-crypt-use-before-save-magic) (org-crypt-use-before-save-magic) eval-buffer(#buffer *load*2 nil /home/ian/.emacs.d/blacky.el nil t) ; Reading at buffer position 28453 load-with-code-conversion(/home/ian/.emacs.d/blacky.el /home/ian/.emacs.d/blacky.el nil nil) load(/home/ian/.emacs.d/blacky.el nil nil t) load-file(~/.emacs.d/blacky.el) org-babel-load-file(~/.emacs.d/blacky.org) eval-buffer(#buffer *load* nil /home/ian/.emacs nil t) ; Reading at buffer position 208 load-with-code-conversion(/home/ian/.emacs /home/ian/.emacs t t) load(~/.emacs t t) #[nil \205\264 I am using a recent git checkout. I notice that org-crypt isn't documented in the manual and there is an old message from Carsten asking for someone to document it. If I can get it working I'll promise to document it:) Also I'll write something about using ssh agent with org an Emacs, a topic that has cuased me some head scratching recently. Ian.
Re: [O] dates before 1970
Hi Bastien, please let me know if you want this patch installed. - Carsten On 13.3.2011, at 21:08, Eric S Fraga wrote: Carsten Dominik carsten.domi...@gmail.com writes: [...] I am attaching a patch which tries to implement some kind of a solution for this problem. The patch introduces a new variable which will allow you to use dates outside the safe range 1970-2037 Thanks Carsten. [...] The patch also introduces a warning with a beep when Org has forced the year, which, I think, was really the main concern in this thread. Yes, at least for me this is key. I can use diary sexps, as you say, for those dates that lie outside the range supported by emacs directly but I need to know when something strange happens! Thanks again, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.32.gdf26.dirty)
Re: [O] [dev] org-indent-mode patch
Hi Nicolas, On 13.3.2011, at 17:21, Nicolas wrote: Hello, I'd like to submit the following org-indent-mode patch for testing. git://github.com/ngz/org-mode-lists.git indent-patch-no-timer It implements two things: 1. It indents correctly text when using visual-line-mode; 2. It removes the idle timer previous implementation was using, which means it won't refresh indentation more often than necessary. Unfortunately, there is a price to pay: 1. Initialization will be much longer for large Org files, but I've added a message to the user saying so. 2. It is a bit slower, as the algorithm has more things to check. Last point is obviously my main concern. Although not noticeable on my not-so-recent laptop, I don't know how it behaves on old machines. That's why a testing is necessary to determine (bugs and) if it is usable. Any help welcome. initial testing seems to show that this works well, very nice. The delay at the beginning is long, and it might be annoying when org pulls in a buffer just to look something up, without org-inhibit-startup scoped into the file loading. Maybe one could arrange for the initialization to happen just before the buffer is first *displayed* (I do not know if that is possible). Just one nitpicking: The idle timer may force updating when not necessary - but using after-change-functions will update after each character inserted. So in fact your code might be updating more often at least while typing - maybe not while looking at the buffer and jumping around. I am not a fast typist, but maybe fast typists will notice significant delays, in particular while writing inside a very long section? Regards - Carsten
[O] Bug when publishing images
Hi, Since this morning, I have problems exporting (inline) images. Here's an example. Such content in my Org buffer: --8---cut here---start-8--- [[file:toto.png]] --8---cut here---end---8--- is exported to this HTML code: --8---cut here---start-8--- lt;img src=toto.png alt=toto.png /gt; --8---cut here---end---8--- where the first and last and are escaped. Could someone fix this as soon as possible? Thanks a lot, Francesco Pizzolante
Re: [O] org-crypt Error: org-crypt-use-before-save-magic
On Mon, Mar 14 2011, Ian Barton wrote: I notice that org-crypt isn't documented in the manual and there is an old message from Carsten asking for someone to document it. If I can get it working I'll promise to document it:) Also I'll write something about using ssh agent with org an Emacs, a topic that has cuased me some head scratching recently. By any chance, aren't you loading your Emacs' org-crypt version rather than the git one? This could happen if the load-path is set later. -- Julien Danjou ❱ http://julien.danjou.info pgpCXHZRRBiLs.pgp Description: PGP signature
Re: [O] Bug when publishing images
Francesco Pizzolante f...@missioncriticalit.com writes: Since this morning, I have problems exporting (inline) images. [...] Could someone fix this as soon as possible? err... this is pretty rude phrasing for a volunteer project, isn't it? DIY soutions: 1. You can write a function that, in your html file, substitutes ;lt with and /gt; with / 2. You can use/install an older version 2.1 from here: http://repo.or.cz/w/org-mode.git perhaps before David Maus's commit 2.2 use git (I don't know how) Cheers, Giovanni
Re: [O] dates before 1970
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: please let me know if you want this patch installed. I won't have time to have a close look at this before tomorrow morning, as I'm still out on a week-end. But please go ahead if you think it's okay. Best, -- Bastien
Re: [O] Bug when publishing images
Bastien, Since this morning, I have problems exporting (inline) images. Here's an example. Such content in my Org buffer: [[file:toto.png]] is exported to this HTML code: lt;img src=toto.png alt=toto.png /gt; Yes, this is a problem with last commit. Simply do this: ~$ git checkout HEAD~1 and wait till that problem is fixed. Thanks a lot. Francesco
Re: [O] dates before 1970
On Mar 11, 2011, at 5:30 PM, Nick Dokos wrote: Carsten Dominik carsten.domi...@gmail.com wrote: THis is exactly the point, that it depends on how Emacs was compiled, and what kind of integer is used in the date representation. Signed or unsigend, 32 or 64 bits (I think). For example, Bastien can represent dates before 1970. I cannot. I can represent dates after 2038, Bastien cannot. The work-around is to use diary sexps for dates before 1970, that seems to be safe. And then hope that by 2038, all computers will use 64 bit integers But it's even more than that, no? Emacs's time implementation (current-time, encode/decode etc) would have to change. In fact, this might be the most significant limitation right now: the values they pass around are (hi16 lo16 ms) so they assume that time values are 32 bits, no matter what the underlying implementation says. I use 64-bit Linux on an x86-64 laptop and my time_t is 64 bits (but I don't know if it's signed or unsigned). Time for some experimentation I guess... I believe that on your system you might get (hi48 lo16 ms) You can test if it is signed by trying a date before 1970 (encode-time 0 0 0 1 1 1960) - Carsten
[O] Re: Automatically clocking into parent items
On Sun, Mar 13, 2011 at 01:30, Aankhen aank...@gmail.com wrote: I’ve been working on getting org-mode to automatically clock into an item’s ancestor when clocking out of that item. The way I have it set up now, it walks up the tree looking for an item that has a particular property set. If that property is non-nil, it clocks in; if it’s nil, it doesn’t. Either way, it stops looking at that point. Here’s what I have so far: [snip] So given this structure: [snip] When I clock out of ‘Frob’, I’m automatically clocked into ‘Quux’, and when I clock out of ‘Quux’, I’m automatically clocked into ‘Bar’. This works pretty well, except for one problem: it happens *every time* I clock out, meaning that if I’m clocked into ‘Quux’ and I then hit C-c C-x C-i on ‘Frob’, I end up being clocked into both ‘Bar’ and ‘Frob’, because I’m automatically clocked out of ‘Quux’; my code is run, clocking me into ‘Bar’; and then the normal clocking mechanism clocks me into ‘Frob’ (at least, I *think* the hook runs first). I guess what I’m wondering is, what’s a good way to avoid this double-clocking? And while I’m asking for help, can anyone think of some less obnoxious names for the functions, variables and property? :-) I think I managed to answer the first question myself. As ‘org-clock-in’ sets ‘org-clock-clocking-in’ before calling ‘org-clock-out’, checking the value of that variable before clocking into the parent item seems to have done the trick. Aankhen
Re: [O] [BUG] Did COMMENT break?
Hi Thanks, Indeed. It seems that one of the hair-raising regexps that Carsten manages to come up with is not quite right. Try this patch for now: Hmm, it still does not seem to work for me, but I might not have changed the files correctly. --Rasmus
[O] bug killing regions with links
If I have an org entry with a line containing only an org file: link, if I C-space at the start of the line to set mark, down arrow or C-n and then kill-region with C-w I would expect the entire line and link text to be copied to the clipboard and the line deleted (transient mode enabled). As it is it only deletes part of the link syntax leaving a corrupted link - it seems to only kill the description part of the link object and its closing bracket, not its opening one. Of course a workaround is C-k but I'm kind of hard coded to kill lines into the clipboard and I suspect the bug is probably larger than only links on a single line. regards r.
[O] Re: Section between #+latex: declarations not converted during export
Nick Dokos nicholas.do...@hp.com writes: Matt Lundin m...@imapmail.org wrote: In the following example... * Testing #+latex: \custommacro{% [[http:www.google.com][Google]] /The quick brown fox./ #+latex: } ...the lines between the latex declarations are not exported: The opening brace in the `#+ latex:' line confuses something. My usual workaround is to fake a closing brace in the comment: * Testing #+latex: \custommacro{% fake it out } [[http:www.google.com][Google]] /The quick brown fox./ #+latex: } which produces \section{Testing} \label{sec-1} \custommacro{% fake it out } \href{http:www.google.com}{Google} \emph{The quick brown fox.} } Thanks for the tip! It's simple enough to add an extra parenthesis there. Best, Matt
[O] Re: [Patch] HTML export -- Allow to change the name of the global DIV
Bastien b...@altern.org writes: Are there other hardcoded HTML classes/ids that the user might want to customize? If so, can we think about a simple way to define all of them at once? The id/class values are hardcoded in several different places and generated in different ways in org-html.el, so I think the only practical solution, for now, would be to create variables for each one (or perhaps an alist that encompasses all of them). [Slightly OT dreaming] Over the long-term, it would be nice to give the user a simple way to control not only classes and ids, but also the placement of structural divs and other tags. Perhaps we could develop some sort of templating system, allowing the user to create an custom html skeleton which is then fleshed out with data from the org file. The user might then customize which tags, if any, should enclose, say, a level one outline tree. Properties and tags in an org file might be used to specify the use of alternate templates within particular sections of the document. This would have several benefits: 1. It would allow users to export html to an arbitrary tag structure. One might, for instance, create static pages that conform to the structure/styling of an existing web site. Or one might have different types of pages within a single, org-generated website. 2. It would allow simple, clean html when exporting small snippets. Currently, when calling C-u M-x org-export-region-as-html, the output contains a number of hard-coded divs, classes, and ids. This makes it difficult to integrate such snippets into another html file. div id=outline-container-1 class=outline-2 h2 id=sec-1A section /h2 div class=outline-text-2 id=text-1 p Some text. /p/div /div 3. It would allow users to try out the new html5 tags (section, article, nav, etc.). 4. It would offer more consistent customization. At the moment, certain tags can be customized (e.g., table tags) but other elements (e.g., lists) cannot be. 5. It would make it easier to create html that works with existing scripts (such as the s5 presentation system [1]). My guess is that such configuration would depend on your rewrite of the exporting parser. It would indeed be wonderful if at some point the export engine returned a generic data structure that could then be plugged into a modular templating system. That said, an org file is a *complex* thing, and the exporter already produces very nice html. :) Best, Matt Footnotes: [1] http://meyerweb.com/eric/tools/s5/
[O] Hiding Properties and Log drawers from export.
I have some headings with notes following. I would like to use the settings. '(org-agenda-add-entry-text-maxlines 5) '(org-agenda-entry-text-maxlines 5) The issue I have is that I get all the property drawers cluttering up the file. Is there a way to prevent the Property and Logfile Drawers from being exported? I also would like them not to show when I use the E command but that is a smaller issue. As it is I do an export and then edit the HTML files to remove the unwanted stuff to print out my list. I tried to find the answer by searching online but unfortunately I was unable to come up with a search pattern which gave me the needed information. Is there a better mailing list to post usage questions like this?
[O] Invoicing using a template from org-mode?
I'm wondering if anyone out there has already implemented an invoicing system from org-mode which takes a last invoice id property, increments it or possibly next invoice date and produces an invoice document? And then produce a TODO to check the payment and another to reissue a year or two down the line? Alternative suggestions?
[O][Babel] tangle - kind of macro expansion inside src blocks?
Hello all, is there a way to do so or are there plans to integrate a macro expansion mechanism into org-babel-tangle like that one org-mode already provides? #+MACRO: name replacement {{{name}}} I would like to replace config parameter in begin_src...end_src blocks. Change at one place in org-file shall change values in tangled code-files. I helped myself with an ugly hack in org-babel-tangle, so that following lines work for me at the moment. #+MACRO CONFIG_PARAM01 45 #+begin_src sh :tangle file1.sh echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src #+begin_src sh :tangle file2.sh echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src (this is an example only - the language which I tangle to is not good at local vars support, so using $CONFIG_PARAMETER inside tangled code is no solution to me) But this is no solution, so I ask whether there is already some functionality to do like this, which will nicely fit into the aspects of different languages to be used in src blocks. Work of org-babel-detangle will be harder when using such a macro functionality (supported languages need inline comments, what to do with other? ). Regards, Olaf
Re: [O] Hiding Properties and Log drawers from export.
John Tarbotton jtarbot...@gmail.com wrote: I have some headings with notes following. I would like to use the settings. '(org-agenda-add-entry-text-maxlines 5) '(org-agenda-entry-text-maxlines 5) The issue I have is that I get all the property drawers cluttering up the file. Is there a way to prevent the Property and Logfile Drawers from being exported? I also would like them not to show when I use the E command but that is a smaller issue. As it is I do an export and then edit the HTML files to remove the unwanted stuff to print out my list. I tried to find the answer by searching online but unfortunately I was unable to come up with a search pattern which gave me the needed information. Is there a better mailing list to post usage questions like this? BTW, there was a discussion of some rather more effective search methods for things like this on the list a few weeks ago. Look at the thread that starts here: http://thread.gmane.org/gmane.emacs.orgmode/38219 Nick
Re: [O] Hiding Properties and Log drawers from export.
John Tarbotton jtarbot...@gmail.com wrote: I have some headings with notes following. I would like to use the settings. '(org-agenda-add-entry-text-maxlines 5) '(org-agenda-entry-text-maxlines 5) The issue I have is that I get all the property drawers cluttering up the file. Is there a way to prevent the Property and Logfile Drawers from being exported? I also would like them not to show when I use the E command but that is a smaller issue. As it is I do an export and then edit the HTML files to remove the unwanted stuff to print out my list. Check the value of the following variable (with C-h v org-export-with-drawers RET): , | org-export-with-drawers is a variable defined in `org-exp.el'. | Its value is nil | | Documentation: | Non-nil means export with drawers like the property drawer. | When t, all drawers are exported. This may also be a list of | drawer names to export. | | You can customize this variable. ` I tried to find the answer by searching online but unfortunately I was unable to come up with a search pattern which gave me the needed information. Is there a better mailing list to post usage questions like this? Nope - this is the right place. Nick
Re: [O] Re: [Patch] HTML export -- Allow to change the name of the global DIV
(On a related note) As part of my odt exporter, I have factored out a generic exporter to which org-html.el and org-odt.el plugs in. The generic exporter is callback driven. I have included the typical callback that the odt exporter registers down below. The generic infrastructure is in place and very usable. Adding new callbacks or increasing the granularity of the 'entity' should only be a matter of time. I have probably jumped the queue here. Anyways, my formal patch for integration in to core is only few hours or atmost 1 day away and I am not kidding ... For more info checkout out my `staging' branch. Jambunathan K. (defvar org-odt-entity-control-callbacks-alist `((EXPORT . (org-odt-begin-export org-odt-end-export)) (DOCUMENT-CONTENT . (org-odt-begin-document-content org-odt-end-document-content)) (DOCUMENT-BODY . (org-odt-begin-document-body org-odt-end-document-body)) (ENVIRONMENT . (org-odt-begin-environment org-odt-end-environment)) (LEVEL . (org-html-begin-level org-html-end-level)) (FOOTNOTE-DEFINITION . (org-odt-begin-footnote-definition org-odt-end-footnote-definition)) (TABLE . (org-odt-begin-table org-odt-end-table)) (TABLE-ROWGROUP . (org-odt-begin-table-rowgroup org-odt-end-table-rowgroup)) (LIST . (org-odt-begin-list org-odt-end-list)) (LIST-ITEM . (org-odt-begin-list-item org-odt-end-list-item)) (SECTION . (org-odt-begin-section org-odt-end-section)) (PARAGRAPH . (org-odt-begin-paragraph org-odt-end-paragraph))) ) (defvar org-odt-entity-format-callbacks-alist `((EXTRA-TARGETS . org-html-format-extra-targets) (ORG-TAGS . org-html-format-org-tags) (SECTION-NUMBER . org-html-format-section-number) (HEADLINE . org-html-format-headline) (TOC-ENTRY . org-html-format-toc-entry) (TOC-ITEM . org-html-format-toc-item) (TAGS . org-odt-format-tags) (SPACES . org-odt-format-spaces) (TABS . org-odt-format-tabs) (LINE-BREAK . org-odt-format-line-break) (FONTIFY . org-odt-format-fontify) (TODO . org-html-format-todo) (LINK . org-odt-format-link) (INLINE-IMAGE . org-odt-format-inline-image) (ORG-LINK . org-odt-format-org-link) (HEADING . org-odt-format-heading) (ANCHOR . org-odt-format-anchor) (TABLE-ROW . org-odt-format-table-row) (TABLE-CELL . org-odt-format-table-cell) (FOOTNOTES-SECTION . ignore) (FOOTNOTE-REFERENCE . org-odt-format-footnote-reference) (HORIZONTAL-LINE . org-odt-format-horizontal-line) (COMMENT . org-html-format-comment) (PLAIN . org-odt-format-plain)) ) Jambunthan K.
Re: [O] Re: [Patch] HTML export -- Allow to change the name of the global DIV
For more info checkout out my `staging' branch. Forgot the link. Here it is: http://repo.or.cz/w/org-mode/org-jambu.git/tree/staging Jambunathan K.
[O][Babel] Deep interest in LP feature of org-mode
Hello all, this starts with kind of an introduction to the list as I will post more in future and leads to a few concept questions concerning org-babel-detangle at the end. First of all many thanks to the authors of the babel package! Integrating babel into core orgmode made me discovering it. This comes to the right time because I'm very interested in Literate Programming and have to leave my beloved LP tool. I use LP techniques when putting scripts coded in different languages together to solve a certain task, as it is normal when creating media output with a collection of different command line tools. LP helps me to present code sniplets of different languages together in one place according to the concept for solving the task, totally ignoring needed position in procedural code files. So later adding a feature is easy as participated code parts are still in one place, no need to search through the diverse script files. I worked with funnelweb (http://www.ross.net/funnelweb/) which is really nice because of its very precise syntax (one can put together binary data with tangeling), simplicity of concept, expressive error messages, stability in performance and scalability. But I have to leave that behind because UTF-8 is not supported and I'm no C programmer, so I can't help myself to adapt that tool. (for rewriting the engine in emacs-lisp I'm unfortunately not smart enough) So this weekend I started to explore org-babel for my purposes. I played a little bit around with changing a .fw-Script so that it works as an .org-Script with babel-blocks. After hacking in the macro-expansion I was able to tangle the files identical to former .fw-output. Changing the org-file to add features or change some code was really fun! Needed org-syntax for that is simple enough, possibility of inherited tree properties to store the header arguments is great. Performance looks good to me, although the file I played with was not that big. So I look forward to work on with org-babel and especially have interest to benefit from org-babel-detangle. At the moment that is not working for me because of it's lack of supporting nested src_blocks (using noweb syntax). I read the posted suggestion for a kind of spidering version of org-babel-detangle (thanks to Seth Burleigh ). There occur some questions to me as I'm not that intimate with the concepts behind org-babel at the moment. * How would one handle conflicts? (e.g. different changes in tangled code which all reference to one begin_src block) * Is it possible to provide functionality like the org-mode macro expansion mechanism? (How to distinguish macro-expanded values from changed code) * Would it be possible to take over more org-mode export features into src-blocks (calculating, calling blocks inside blocks) And, more in general: * When thinking of LP (preprocessing text) with org-mode it's hard for me to compare the pros and cons of exporting the org-file to ascii vs. tangling it to code-file. * Is it possible, that I use the wrong approach with org-babel when I only need text processing features !! Of course, using src blocks to call extern interpreter over several code blocks and keeping the same session is really a great thing !! The document provided on the website is very impressive. ( http://repo.or.cz/w/Worg.git/blob_plain/HEAD:/org-contrib/babel/examples/foo.pdf ) * Where is the right place to discover more about org-babel: http://orgmode.org or http://eschulte.github.com/babel-dev/ ? or both ? * Where are the latest code changes offered? Greetings, Olaf
Re: [O][Babel] tangle - kind of macro expansion inside src blocks?
Hello Olaf, I've just added a new hook through which you will be able to expand regular Org-mode style macros in code block bodies during export. The following org-mode snippet demonstrates its use. First, add macro expansion to the new `org-babel-tangle-body-hook'. #+begin_src emacs-lisp :results silent (add-hook 'org-babel-tangle-body-hook (lambda () (org-export-preprocess-apply-macros))) #+end_src Then define the macro. Note: you may need to export the buffer before tangling so that the macro definition is noticed and processed by Org-mode. #+MACRO: CONFIG_PARAM01 45 Then on both export and tangling the macro in the following code block will be replaced. #+begin_src sh :tangle yes echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src Cheers -- Eric Olaf.Hamann o.ham...@gmx.net writes: Hello all, is there a way to do so or are there plans to integrate a macro expansion mechanism into org-babel-tangle like that one org-mode already provides? #+MACRO: name replacement {{{name}}} I would like to replace config parameter in begin_src...end_src blocks. Change at one place in org-file shall change values in tangled code-files. I helped myself with an ugly hack in org-babel-tangle, so that following lines work for me at the moment. #+MACRO CONFIG_PARAM01 45 #+begin_src sh :tangle file1.sh echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src #+begin_src sh :tangle file2.sh echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src (this is an example only - the language which I tangle to is not good at local vars support, so using $CONFIG_PARAMETER inside tangled code is no solution to me) But this is no solution, so I ask whether there is already some functionality to do like this, which will nicely fit into the aspects of different languages to be used in src blocks. Work of org-babel-detangle will be harder when using such a macro functionality (supported languages need inline comments, what to do with other? ). Regards, Olaf
Re: [O] [BUG] Did COMMENT break?
It seems that one of the hair-raising regexps that Carsten manages to come up with is not quite right. Try this patch for now: Hmm, it still does not seem to work for me, but I might not have changed the files correctly. Please ignore the above. Nicholas' patch works as described. I'd just forgotten to bite-compile ex post. Thanks Nicholas.
Re: [O][Babel] Deep interest in LP feature of org-mode
Hi Olaf, It is great to hear that you are enjoying LP with Org-mode. I have some comments/answers inline below. Best -- Eric Olaf.Hamann o.ham...@gmx.net writes: Hello all, this starts with kind of an introduction to the list as I will post more in future and leads to a few concept questions concerning org-babel-detangle at the end. First of all many thanks to the authors of the babel package! Integrating babel into core orgmode made me discovering it. This comes to the right time because I'm very interested in Literate Programming and have to leave my beloved LP tool. I use LP techniques when putting scripts coded in different languages together to solve a certain task, as it is normal when creating media output with a collection of different command line tools. LP helps me to present code sniplets of different languages together in one place according to the concept for solving the task, totally ignoring needed position in procedural code files. So later adding a feature is easy as participated code parts are still in one place, no need to search through the diverse script files. I worked with funnelweb (http://www.ross.net/funnelweb/) which is really nice because of its very precise syntax (one can put together binary data with tangeling), simplicity of concept, expressive error messages, stability in performance and scalability. But I have to leave that behind because UTF-8 is not supported and I'm no C programmer, so I can't help myself to adapt that tool. (for rewriting the engine in emacs-lisp I'm unfortunately not smart enough) So this weekend I started to explore org-babel for my purposes. I played a little bit around with changing a .fw-Script so that it works as an .org-Script with babel-blocks. After hacking in the macro-expansion I was able to tangle the files identical to former .fw-output. Changing the org-file to add features or change some code was really fun! Needed org-syntax for that is simple enough, possibility of inherited tree properties to store the header arguments is great. Performance looks good to me, although the file I played with was not that big. So I look forward to work on with org-babel and especially have interest to benefit from org-babel-detangle. At the moment that is not working for me because of it's lack of supporting nested src_blocks (using noweb syntax). I read the posted suggestion for a kind of spidering version of org-babel-detangle (thanks to Seth Burleigh ). There occur some questions to me as I'm not that intimate with the concepts behind org-babel at the moment. * How would one handle conflicts? (e.g. different changes in tangled code which all reference to one begin_src block) There is currently no mechanism in place for handling conflicts, rather the contents from the tangled source file simply overwrites the contents of the code block. This would severely impede the utility of de-tangling for code blocks making use of variable noweb or macro expansion. While it should be possible to implement a sane handling of such things (as has been discussed previously WRT noweb) the implementation will not be a trivial task. * Is it possible to provide functionality like the org-mode macro expansion mechanism? (How to distinguish macro-expanded values from changed code) See my recent email for an implementation of macro expansion. The resolution of expanded macros when detangling code would not be easy... * Would it be possible to take over more org-mode export features into src-blocks (calculating, calling blocks inside blocks) Not sure exactly what you mean here, could you provide a concrete example? And, more in general: * When thinking of LP (preprocessing text) with org-mode it's hard for me to compare the pros and cons of exporting the org-file to ascii vs. tangling it to code-file. These should be different use cases. Exporting (weaving in LP syntax) is generally for creating a document view for reading by humans, while tangling to source code is for organizing a document for consumption by machine. * Is it possible, that I use the wrong approach with org-babel when I only need text processing features That is possible, if you only need text-processing, then you probably shouldn't be calling code blocks, rather you should simply type into an Org-mode buffer and then export to your desired back-end, and let Org-mode handle all formatting. See the relevant part of the Org-mode manual http://orgmode.org/manual/Exporting.html !! Of course, using src blocks to call extern interpreter over several code blocks and keeping the same session is really a great thing !! The document provided on the website is very impressive. (http://repo.or.cz/w/Worg.git/blob_plain/HEAD:/org-contrib/babel/examples/foo.pdf) * Where is the right place to discover more about org-babel: http://orgmode.org or
Re: [O] Hiding Properties and Log drawers from export.
Nick Dokos nicholas.dokos at hp.com writes: John Tarbotton jtarbotton at gmail.com wrote: Is there a way to prevent the Property and Logfile Drawers from being exported? Check the value of the following variable (with C-h v org-export-with-drawers RET): Nick Thanks for the reply that would seem to be what I need. In fact it got me half way there. I set it nil using the menu. The LOGFILE drawers are gone but the property drawers are still there. The documentation indicates it works with the PROPERTIES draw so I'll keep trying. Maybe I did something to the .org file that is messing it up.
Re: [O] org-crypt Error: org-crypt-use-before-save-magic
On 14/03/11 09:36, Julien Danjou wrote: On Mon, Mar 14 2011, Ian Barton wrote: I notice that org-crypt isn't documented in the manual and there is an old message from Carsten asking for someone to document it. If I can get it working I'll promise to document it:) Also I'll write something about using ssh agent with org an Emacs, a topic that has cuased me some head scratching recently. By any chance, aren't you loading your Emacs' org-crypt version rather than the git one? This could happen if the load-path is set later. Found the problem. There was another older version of org-crypt.el on my load-path, as well as the git version. Time to start writing manuals:) Ian.
RE: [O] broken latex export of footnote from a table cell?
Thank you, Nicholas! That explains everything. I wonder how I didn't come across the link you mentioned before. I should have tried that simply in LaTeX. Mikhail -Original Message- From: emacs-orgmode-bounces+mlt=gmx...@gnu.org [mailto:emacs-orgmode-bounces+mlt=gmx...@gnu.org] On Behalf Of Nick Dokos Sent: Saturday, March 12, 2011 1:32 AM To: Mikhail Titov Cc: nicholas.do...@hp.com; emacs-orgmode@gnu.org Subject: Re: [O] broken latex export of footnote from a table cell? Mikhail Titov m...@gmx.us wrote: Hello! This is my first message. I'm excited about org-mode! Thank you for = developing such a great tool! However, I found out that I can't have a footnote in a table cell. If I = export such document to LaTeX, I get misplaced footnote:( I'm running MS = Windows XP SP3 32 bit. -cut- #+Title: orgmode to latex epic fail, footnote in a table cell Works here [fn:: This is a good footnote]. Does it? #+LATEX: \begin{table}[h] | /org-version/ | /emacs-version/ | /Why can't I use bold here with */ | | |---+-+| | 7.5 | 23.2.1 | some text[fn:: Why am I here?] | #+TBLFM: $1=3D'(message org-version)::$2=3D'(message emacs-version) #+LATEX: \end{table} Some text here. -cut- Footnotes in tables are difficult. Even if you leave out org completely and just look at latex, things are far from simple. There is a FAQ and an answer on this topic here: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=footintab As you can see, things are not simple even if you write in latex. None of this is implemented in org. Best advice: don't use footnotes in tables. If you have to use them, add them in a post-export pass, possibly by formatting the table outside of org and including it from a separate file. HTH, Nick
Re: [O][Babel] Deep interest in LP feature of org-mode
Thank you for your quick reply and the precise answers, Eric. Comparing org-export vs. org-tangle I've mixed up how I used text processing: * for myself I often use it simply for creating codefiles (tangling) - org-export would be sufficient * for tasks in office there is need for creating a nice doc file, too (weaving) - org-babel for code creation Thank you for making that clear to me. I will revisit my nebulous feature request of calling blocks inside blocks - there is no actual need, as you identified. Greetings, Olaf
Re: [O] Hiding Properties and Log drawers from export.
John Tarbotton jtarbotton at gmail.com writes: Check the value of the following variable (with C-h v org-export-with-drawers RET): Thanks for the reply that would seem to be what I need. In fact it got me half way there. I set it nil using the menu. The LOGFILE drawers are gone but the property drawers are still there. I got everything working now. I had to add PROPERTIES to the #+DRAWERS: line
Re: [O] Hiding Properties and Log drawers from export.
John Tarbotton jtarbot...@gmail.com wrote: Nick Dokos nicholas.dokos at hp.com writes: John Tarbotton jtarbotton at gmail.com wrote: Is there a way to prevent the Property and Logfile Drawers from being exported? Check the value of the following variable (with C-h v org-export-with-drawers RET): Nick Thanks for the reply that would seem to be what I need. In fact it got me half way there. I set it nil using the menu. The LOGFILE drawers are gone but the property drawers are still there. The documentation indicates it works with the PROPERTIES draw so I'll keep trying. Maybe I did something to the .org file that is messing it up. That's strange. Maybe you can try by setting the variable in the file explicitly. By uncommenting one of the OPTIONS lines below and leaving the other two commented out, I can get just the LOGBOOK exported; or both LOGBOOK and PROPERTIES; or neither. --8---cut here---start-8--- #+OPTIONS: d:(LOGBOOK) ##+OPTIONS: d:t ##+OPTIONS: d:nil * Target * Test :PROPERTIES: :COLUMNS: %40ITEM %Link1 %Link2 :END: ** Test Heading :LOGBOOK: CLOCK: [2011-03-14 Mon 12:35]--[2011-03-14 Mon 12:35] = 0:00 :END: :PROPERTIES: :Link1: [[* Target]] :END: ** Test File :PROPERTIES: :Link1: [[file:somewhere]] :END: --8---cut here---end---8--- Nick
Re: [O] Hiding Properties and Log drawers from export.
John Tarbotton jtarbot...@gmail.com wrote: John Tarbotton jtarbotton at gmail.com writes: Check the value of the following variable (with C-h v org-export-with-drawers RET): Thanks for the reply that would seem to be what I need. In fact it got me half way there. I set it nil using the menu. The LOGFILE drawers are gone but the property drawers are still there. I got everything working now. I had to add PROPERTIES to the #+DRAWERS: line Ah, OK: that makes sense. The #+DRAWERS line doesn't augment the default setting, it replaces it. I was trying without a #+DRAWERS line at all, so I was getting the default org-drawers.[fn:1] Thanks! Nick Footnotes: [fn:1] Well, an augmented version, but PROPERTIES is still an element of it: , | org-drawers is a variable defined in `org.el'. | Its value is | (SETUP PROPERTIES CLOCK LOGBOOK) | | Original value was | (PROPERTIES CLOCK LOGBOOK) `
Re: [O] dates before 1970
On Mar 14, 2011, at 4:11 PM, Nick Dokos wrote: Carsten Dominik carsten.domi...@gmail.com wrote: On Mar 11, 2011, at 5:30 PM, Nick Dokos wrote: Carsten Dominik carsten.domi...@gmail.com wrote: THis is exactly the point, that it depends on how Emacs was compiled, and what kind of integer is used in the date representation. Signed or unsigend, 32 or 64 bits (I think). For example, Bastien can represent dates before 1970. I cannot. I can represent dates after 2038, Bastien cannot. The work-around is to use diary sexps for dates before 1970, that seems to be safe. And then hope that by 2038, all computers will use 64 bit integers But it's even more than that, no? Emacs's time implementation (current-time, encode/decode etc) would have to change. In fact, this might be the most significant limitation right now: the values they pass around are (hi16 lo16 ms) so they assume that time values are 32 bits, no matter what the underlying implementation says. I use 64-bit Linux on an x86-64 laptop and my time_t is 64 bits (but I don't know if it's signed or unsigned). Time for some experimentation I guess... I believe that on your system you might get (hi48 lo16 ms) You can test if it is signed by trying a date before 1970 (encode-time 0 0 0 1 1 1960) Ah, OK - thanks! I looked in current-time, saw the 0x mask and I thought that the extra bits are truncated, but apparently not: I need to go back and look at the C rules again. I have no idea what you are talking about :) I get (encode-time 0 0 0 1 1 1960) (-4816 20176) (decode-time '(-4816 20176)) (0 0 0 1 1 1960 5 nil -18000) so it is indeed signed. I just pulled latest emacs and apparently Paul Eggert has been active in making this code more robust, presumably after your conversations on the emacs list. Great. Don't you love OpenSource projects? Thanks, Nick - Carsten
Re: [O] dates before 1970
Carsten Dominik carsten.domi...@gmail.com wrote: Ah, OK - thanks! I looked in current-time, saw the 0x mask and I thought that the extra bits are truncated, but apparently not: I need to go back and look at the C rules again. I have no idea what you are talking about :) You think I do? :) I was referring to the C code implementing current-time (which, btw, has been changed in latest): , | DEFUN (current-time, Fcurrent_time, Scurrent_time, 0, 0, 0, |doc: /* Return the current time, as the number of seconds since 1970-01-01 00:00:00. | The time is returned as a list of three integers. The first has the | most significant 16 bits of the seconds, while the second has the | least significant 16 bits. The third integer gives the microsecond | count. | | The microsecond count is zero on systems that do not provide | resolution finer than a second. */) | (void) | { | EMACS_TIME t; | | EMACS_GET_TIME (t); | return list3 (make_number ((EMACS_SECS (t) 16) 0x), | make_number ((EMACS_SECS (t) 0) 0x), | make_number (EMACS_USECS (t))); | } ` Nick
[O] [Bug?] org-crypt warning and --daemon
Hi, ,[ org-crypt.el ] | ;; FIXME Find a better way to encrypt Org auto-saved buffers? | ;; When `auto-save-default' is non-nil, make sure entries are | ;; encrypted before auto-saving | ;; (when auto-save-default | ;;(add-hook | ;; 'org-mode-hook | ;; (lambda () (add-hook 'auto-save-hook 'org-encrypt-entries nil t | | (when auto-save-default | (message Warning: turn auto-save-mode off in Org buffers containing crypted entries.) | (sit-for 5)) ` This warning has an unfortunate side-effect when emacs is started as daemon. (sit-for 5), AFAICS, stops the startup ... not only for 5 seconds but permanently. The only way to continue seems to press RET. This RET however, ends up creating a newline in whatever buffer is loaded. Eli suggested this: ,[ gnu.emacs.help, Message-ID: 83pqptr7se@gnu.org ] | 1) modify org-crypt.el to change this: | | (when auto-save-default | | to say | | (when (and (daemonp) auto-save-default) ` However, this would mean that users who always start as daemon will never actually see it, right? So it may be better to always message the warning but only sit-for when emacs is started as daemon... Or is there any way to make sit-for work the intended way both in emacs as well as in emacs --daemon? Memnon ELISP (emacs-version) GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)\n of 2010-12-11 on raven, modified by Debian ELISP (org-version) Org-mode version 7.5
[O] Recurring items don't always show up in timeline
I have a very simple calendar ORG file set up. A couple of the items have recurring days set to 90d. Like ** Do something periodically 2011-01-15 Sat +90d When I activate the agenda timeline, I see the first one of these (in January) but none of the other scheduled events show up. (I have other scheduled items to create a calendar that goes out further than the 90 days). If I view this in the regular weekly agenda, using f to step through the weeks, the item does show up. If I change the setting to +1w, I see several more entries, but not one for every week. Some weeks are skipped. It seems hit and miss. I haven't been able to establish the exact pattern, but it appears that I can not depend on recurring items to show up in the timeline. Has anyone else seen this? Is there a way to make all activities show up in the timeline? Thanks, Mark Emacs 23.2.1 Win XP Org-mode 7.5 -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: [O][Babel] tangle - kind of macro expansion inside src blocks?
Hi Eric, thank you very much, it works as announced. I have probs with replacing/overlaying the built-in org-mode in my Emacs (w32-binary), but that's not issue here. After an eval-buffer of ob-tangle.el I can reproduce the expected result. Exporting the buffer first is necessary, but that could be done by the pre-tangle-hook I hope. Thank you very much for that quick feature patch. Regards, Olaf Am 14.03.2011 16:35, schrieb Eric Schulte: Hello Olaf, I've just added a new hook through which you will be able to expand regular Org-mode style macros in code block bodies during export. The following org-mode snippet demonstrates its use. First, add macro expansion to the new `org-babel-tangle-body-hook'. #+begin_src emacs-lisp :results silent (add-hook 'org-babel-tangle-body-hook (lambda () (org-export-preprocess-apply-macros))) #+end_src Then define the macro. Note: you may need to export the buffer before tangling so that the macro definition is noticed and processed by Org-mode. #+MACRO: CONFIG_PARAM01 45 Then on both export and tangling the macro in the following code block will be replaced. #+begin_src sh :tangle yes echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src Cheers -- Eric Olaf.Hamanno.ham...@gmx.net writes: Hello all, is there a way to do so or are there plans to integrate a macro expansion mechanism into org-babel-tangle like that one org-mode already provides? #+MACRO: name replacement {{{name}}} I would like to replace config parameter in begin_src...end_src blocks. Change at one place in org-file shall change values in tangled code-files. I helped myself with an ugly hack in org-babel-tangle, so that following lines work for me at the moment. #+MACRO CONFIG_PARAM01 45 #+begin_src sh :tangle file1.sh echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src #+begin_src sh :tangle file2.sh echo org-mode set CONFIG_PARAMETER to: {{{CONFIG_PARAM01}}} #+end_src (this is an example only - the language which I tangle to is not good at local vars support, so using $CONFIG_PARAMETER inside tangled code is no solution to me) But this is no solution, so I ask whether there is already some functionality to do like this, which will nicely fit into the aspects of different languages to be used in src blocks. Work of org-babel-detangle will be harder when using such a macro functionality (supported languages need inline comments, what to do with other? ). Regards, Olaf
Re: [O] dates before 1970
Nick Dokos nicholas.do...@hp.com writes: I was referring to the C code implementing current-time (which, btw, has been changed in latest): , | DEFUN (current-time, Fcurrent_time, Scurrent_time, 0, 0, 0, |doc: /* Return the current time, as the number of seconds since 1970-01-01 00:00:00. | The time is returned as a list of three integers. The first has the | most significant 16 bits of the seconds, while the second has the | least significant 16 bits. The third integer gives the microsecond | count. | | The microsecond count is zero on systems that do not provide | resolution finer than a second. */) | (void) | { | EMACS_TIME t; | | EMACS_GET_TIME (t); | return list3 (make_number ((EMACS_SECS (t) 16) 0x), | make_number ((EMACS_SECS (t) 0) 0x), | make_number (EMACS_USECS (t))); | } ` I can't see how this code works correctly unless it is guaranteed that EMACS_TIME is 32bit unsigned... Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Waldorf MIDI Implementation additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
[O] OrgCamp in India -- Interested?
Hi, Inspired by the OrgCamps being conducted in Paris [1] [2], I would like to propose an OrgCamp somewhere in India. I'm not sure, how many people from India are on this list, but I do know that there are a few. Would any of you be interested in such a meet-up? What would be a good place and time for such a meet-up? Best, Puneeth [1] - http://www.lifehacking.fr/mediawiki/index.php/OrgModeCampJanvier2011 [2] - http://www.lifehacking.fr/mediawiki/index.php/OrgCampAvril2011
[O] CATEGORY in clock report?
Hello *, a quick question: is it possible to include the CATEGORY of (sub)trees in the clock report? I've read that tags can be included, but I'd like to get CATEGORY in there ... Thanks and Cheers Markus
Re: [O] OrgCamp in India -- Interested?
I am from Madras. I can be present if the meetup is within or just slightly outside the city. Jambunathan K. Puneeth Chaganti puncha...@gmail.com writes: Hi, Inspired by the OrgCamps being conducted in Paris [1] [2], I would like to propose an OrgCamp somewhere in India. I'm not sure, how many people from India are on this list, but I do know that there are a few. Would any of you be interested in such a meet-up? What would be a good place and time for such a meet-up? Best, Puneeth [1] - http://www.lifehacking.fr/mediawiki/index.php/OrgModeCampJanvier2011 [2] - http://www.lifehacking.fr/mediawiki/index.php/OrgCampAvril2011 --
[O] Custom Agenda View for Projects
Dear all, I might be overlooking something very obvious, but I cannot find the solution: I have various org files, in which projects (anything requiring more than one action step...) are first level headings marked using the TODO kwd PROJ. If I tell my agenda to list all items with kwd PROJ (either via C-a T PROJ or as a custom agenda view via tags-todo LEVEL=1), only the ones without siblings are returned. I've looked into org-tags-match-list-sublevels but this is not quite the right thing to calibrate... Any help heartly appreciated! Thanks, Christian -- Dr. Christian Zang Technische Universität München / Chair of Ecoclimatology Hans-Carl-von-Carlowitz-Platz 2 / 85354 Freising / Germany Email: christian.z...@wzw.tum.de Phone: +49 (0) 8161-714743 Fax: +49 (0) 8161-714753 Web: http://oekoklimatologie.wzw.tum.de/
[O] [Babel][Bug] results silent ignored in #+call
Hi everyone, Just pulled the latest HEAD and found that there is a regression in babel. When a source block is evaluated via #+call the :results silent header arguement is ignored during export =test file * Test1 #+srcname: test #+begin_src R :session :exports results :results silent 1:10 #+end_src Test1. * Test2 #+call: test() :session :exports results :results silent Test2. == Regards, Andreas smime.p7s Description: S/MIME Cryptographic Signature
[O] [babel] C-' not robust
Hi, there are two rather new add-ons to ess that -- when activated -- break the connection between the org document and a R-src-buffer: auto-complete-mode for R: http://www.emacswiki.org/emacs/AutoCompleteSources#toc2 yasnippet for R: http://www.svenhartenstein.de/Software/R-autoyas As especially the latter seems really useful, I want to ask, whether somebody has an idea of how to get them work in org-mode. Regards, Andreas smime.p7s Description: S/MIME Cryptographic Signature
Re: [O] Recurring items don't always show up in timeline
Hi Mark On 2011-03-14 19:02, Mark S wrote: Has anyone else seen this? Working OK here. I get entries in 2011 for: 2011-01-15 2011-04-15 2011-07-14 2011-10-12 and switching to +1w, I see an entry every Saturday. I'm running the same s/w as you, I think Windows XP Pro SP3 GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Org-mode version 7.5 (d/l from Org-mode site, not from Git) -- Chris Randle
[O] documentary filmmaking and reproducible research?
Greetings, org community. A while back I made two short (less than 10 minute) amateur documentary films. I used org-mode to outline everything, structure my notes and the many public domain texts/images I used, and coordinate the recording process for the voiceovers. I've also separately experimented with using org as an asset management system complete with binary attachments, Dublin Core metadata to keep track of (among other things) licensing information for assets used in video game development. I have some (somewhat disorganized) thoughts and references collected here: https://github.com/dto/ioforms/raw/master/ioforms.org I've just seen the documentary film Inside Job, and then watched it over again, and listened to the voiceover commentary of the film's director and producer. They discussed using many gigantic, complex Word and Excel documents to organize the data they needed to make the film, and apparently emailing these big MS Office files around the world to coordinate the deep research the team were doing right up until the film was finished. http://en.wikipedia.org/wiki/Inside_Job_(film) One of the most striking aspects of Inside Job is its effective use of animated diagrams with explanatory voiceover. By consistent use of terms, shapes, simple icons, and color-coding, the diagrams lead to some of the most effective moments of the film. Aside from many illustrative bar and line graphs, the filmmakers use block-and-arrow animations to explain the flows of money in what they call the securitization food chain. An important part of the film are network analyses (identifying single people who serve or have served on multiple corporate boards of directors, or who went from a board of directors to a position at a regulatory agency regulating the same corporations, or identifying groups of people who served together on the same boards, and so on. I wonder what it might have been like if something like Gephi (http://gephi.org) had been used instead of Microsoft Excel. Apparently now there is also some information on use of the R language at the New York Times' graphics department. http://www.r-bloggers.com/amanda-cox-on-how-the-new-york-times-graphics-department-uses-r/ And perhaps people here have read arguments that David X. Li's famous statistical formula had a part to play in the debacle. So, what do people think of assembling free software so that anyone can make reproducibly-researched, remixable, crowd-sourced documentary films? Or even just research papers with some really nice animations? :) And use org-publish to throw the source code of the documentary on the internet for inspection and criticism? I'm seeing a common theme, of how software tools (whether MS Office, or org and R) become involved in the process of creating and then communicating the results of research. The government is already using stuff like link analysis to get information about the general public (to identify connections between members of Wikileaks, Anonymous) but it might be interesting to try the reverse, and use software to connect people who can then cooperate and share information, and perhaps discover connections or groups (cells?) of individuals who are connected across networks in academe, government, corporations, non-governmental organizations, large media institutions, and so on. Of course it doesn't have to be Julian Assange type intrigue, it could just be another fun thing to do with Orgmode. What do you think?
[O] Re: [Orgmode] [babel] maxima support?
Hi Eric, I've gone through your ob-maxima.el, and tried to re-work it to the point where it can be included into Org-mode -- mainly just switching to a couple of Babel best practices, and replacing some shell script munging with elisp munging. Please try out the attached version (packaged as a patch against the current Org-mode head) and let me know if it works --- i.e., If I haven't broken it too badly. If it works I think we can fold it into Org-mode immediately. Cheers -- Eric From 8c8f85e2a98430cc147749b8fa67dbba53c0ccb3 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Mon, 14 Mar 2011 15:20:05 -0600 Subject: [PATCH] adding support for Maxima code blocks -- thanks to Eric Fraga --- lisp/ob-maxima.el | 78 + lisp/org.el |1 + 2 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 lisp/ob-maxima.el diff --git a/lisp/ob-maxima.el b/lisp/ob-maxima.el new file mode 100644 index 000..c775f92 --- /dev/null +++ b/lisp/ob-maxima.el @@ -0,0 +1,78 @@ +;;; org-babel-maxima.el --- org-babel functions for maxima evaluation + +;; Copyright (c) 2009, 2010, 2011 Eric S Fraga, Eric Schulte + +;; Author: Eric S Fraga, Eric Schulte +;; Keywords: literate programming, reproducible research, maxima +;; Homepage: http://orgmode.org +;; Version: 0.01 + +;;; License: + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 3, or (at your option) +;; any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. + +;;; Commentary: + +;; Org-Babel support for evaluating maxima entries. +;; +;; This differs from most standard languages in that +;; +;; 1) there is no such thing as a session in maxima +;; +;; 2) we are generally only going to return output from maxima +;; +;; 3) we are adding the cmdline header argument +;; +;; 4) there are no variables + +;;; Code: +(require 'ob) + +(defvar org-babel-default-header-args:maxima '()) + +(defun org-babel-maxima-expand (body params) + Expand a block of Maxima code according to its header arguments. + body) + +(defun org-babel-execute:maxima (body params) + Execute a block of Maxima entries with org-babel. This function is +called by `org-babel-execute-src-block'. + (message executing Maxima source code block) + (let ((result-params (split-string (or (cdr (assoc :results params)) ))) + (cmdline (cdr (assoc :cmdline params))) +(in-file (org-babel-temp-file maxima-)) + (cmd (format maxima --very-quiet -r 'batchload(%S)$' %s + in-file cmdline))) +(with-temp-file in-file (insert body)) +(message cmd) +((lambda (raw) ;; | grep -v batch | grep -v 'replaced' | sed '/^$/d' + (delq nil + (mapcar (lambda (line) + (unless (or (string-match batch line) + (string-match replaced line) + (= 0 (length line))) + line)) + (split-string raw + (org-babel-eval cmd + +(defun org-babel-prep-session:maxima (session params) + (error Maxima does not support sessions)) + +(provide 'ob-maxima) + +;; arch-tag: d86c97ac-7eab-4349-8d8b-302dd09779a8 + +;;; org-babel-maxima.el ends here diff --git a/lisp/org.el b/lisp/org.el index 96ad8ff..ae0ef5e 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -164,6 +164,7 @@ requirements) is loaded. (const :tag Javascript js) (const :tag Latex latex) (const :tag Ledger ledger) + (const :tag Maxima maxima) (const :tag Matlab matlab) (const :tag Mscgen mscgen) (const :tag Ocaml ocaml) -- 1.7.1 Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: Great, Thanks for sharing! Why don't we replace the shell-script munging with some elisp munging and add this to the core? I can help with the translation to elisp (although I may be busy through the weekend/week). Best -- Eric I'd be very happy to have the code made more portable, and integrated properly within org-babel. I, unfortunately, don't have any of the elisp skills that would be necessary... my upbringing in the early days of Unix are showing here: I solve everything with concatenation of targeted shell commands ;-) Given that I use a sequence of regex based commands (grep and sed), I imagine it would be trivial for somebody with more elisp expertise to translate my sequence of commands into elisp code?
Re: [O] [Babel][Bug] results silent ignored in #+call
Hi Andreas, The :exports results header argument is overriding the :results silent header argument, which IMO is desired behavior. Thanks to your example I see this is not the case for regular code blocks. I would think that the behavior should be changed for regular code blocks, s.t. both of the tests in your example below export results. Best -- Eric Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi everyone, Just pulled the latest HEAD and found that there is a regression in babel. When a source block is evaluated via #+call the :results silent header arguement is ignored during export =test file * Test1 #+srcname: test #+begin_src R :session :exports results :results silent 1:10 #+end_src Test1. * Test2 #+call: test() :session :exports results :results silent Test2. == Regards, Andreas
[O] Re: Recurring items don't always show up in timeline
Hi Chris, Are there any other dates in your calendar? Have you tried it with +90d? Thanks, Mark Emacs 23.2.1 | Win XP | Org-mode 7.5 On Mon, 14 Mar 2011 11:02:14 -0800, Mark S throa...@yahoo.com wrote: --- On Mon, 3/14/11, Chris Randle ch...@amlog.co.uk wrote: From: Chris Randle ch...@amlog.co.uk Subject: Re: [O] Recurring items don't always show up in timeline To: emacs-orgmode@gnu.org Date: Monday, March 14, 2011, 1:36 PM Hi Mark On 2011-03-14 19:02, Mark S wrote: Has anyone else seen this? Working OK here. I get entries in 2011 for: 2011-01-15 2011-04-15 2011-07-14 2011-10-12 and switching to +1w, I see an entry every Saturday. I'm running the same s/w as you, I think Windows XP Pro SP3 GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Org-mode version 7.5 (d/l from Org-mode site, not from Git) -- Chris Randle -- Using Opera's revolutionary email client: http://www.opera.com/mail/
[O] Re: Recurring items don't always show up in timeline
Here's a version of the calendar I'm using. There are two date ranges as well as regular dates. It might be that recurring events that occur on days that are inside of a date range do not show up. On mine, Bath for dog doesn't show up on April 14th, for instance which happens to be inside of a date range. The Pay Cell Phone item does not occur 90 days later (about 4/15) which would also be inside of a date range. BUT it also does not occur on or near 7/15, which is not inside of a date range. The Do this every 3 months item does not show up in June, even though it would not fall inside of a date range. Mark * CALENDAR 2011 ** TODO Pay Cell Phone Bill TriMonthly 2011-01-15 Sat +90d ** TODO [#A] Bath for dog 2011-03-10 Thu +1w :PM: ** Books due at LIB1 2011-03-24 Thu More stuff here ** Books due at LIB2 2011-03-12 Sat +1w Stuff here ** DONE Check planning schedule 2011-03-13 Sun CLOSED: [2011-03-14 Mon 06:38] - State DONE from TODO [2011-03-14 Mon 06:38] ** TODO Recharge electrical equipment 2011-03-13 Sun +1w ** TODO Orthodontist Visit 2011-03-13 ** Book Fair 2011-03-24 Thu :Child1: ** Do this every 3 months 2011-03-28 Mon +90d ** Parent Teacher Conference Days 2011-03-31 Thu--2011-04-07 Thu :Child1: ** Spring Break 2011-04-11 Mon--2011-04-22 Fri :Child1: ** PTA Picnic 2011-05-20 Fri :Child1: ** Memorial Day 2011-05-30 Mon ** Summer begins 2011-06-02 Thu :Child1: ** Harry Potter's Birthday 2011-07-31 Sun On Mon, 14 Mar 2011 11:02:14 -0800, Mark S throa...@yahoo.com wrote: I have a very simple calendar ORG file set up. A couple of the items have recurring days set to 90d. Like ** Do something periodically 2011-01-15 Sat +90d When I activate the agenda timeline, I see the first one of these (in January) but none of the other scheduled events show up. (I have other scheduled items to create a calendar that goes out further than the 90 days). If I view this in the regular weekly agenda, using f to step through the weeks, the item does show up. If I change the setting to +1w, I see several more entries, but not one for every week. Some weeks are skipped. It seems hit and miss. I haven't been able to establish the exact pattern, but it appears that I can not depend on recurring items to show up in the timeline. Has anyone else seen this? Is there a way to make all activities show up in the timeline? Thanks, Mark Emacs 23.2.1 Win XP Org-mode 7.5 -- Using Opera's revolutionary email client: http://www.opera.com/mail/
[O] Macro expansion in included files
Hi Some time ago I was posting about a problem with macros in included files - they will not expand. Example with two files top.org and sub.org: macro in the included file sub.org isn't expanded during export. See the content of the example files below. The patch fixes this so that the macro is expanded in both top.org and sub.org. Setup: org-mode: git master (head) export top.org with org-export-as-html I hope that the patch format is ok (git diff output) attached. Best regards Benny Simonsen ### top.org #+TITLE: Debug org file #+MACRO: testmacro Expanded {{{testmacro}}} #+INCLUDE: sub.org ### sub.org #+TITLE: Included debug org file {{{testmacro}}} diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 34f101d..d6b23a9 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -1083,6 +1083,10 @@ on this string to produce the exported version. ;; Call the hook (run-hooks 'org-export-preprocess-hook) + ;; Handle include files, and call a hook + (org-export-handle-include-files-recurse) + (run-hooks 'org-export-preprocess-after-include-files-hook) + ;; Process the macros (org-export-preprocess-apply-macros) (run-hooks 'org-export-preprocess-after-macros-hook)
Re: [O] Re: Recurring items don't always show up in timeline
Mark S throa...@yahoo.com wrote: Here's a version of the calendar I'm using. There are two date ranges as well as regular dates. It might be that recurring events that occur on days that are inside of a date range do not show up. On mine, Bath for dog doesn't show up on April 14th, for instance which happens to be inside of a date range. The Pay Cell Phone item does not occur 90 days later (about 4/15) which would also be inside of a date range. BUT it also does not occur on or near 7/15, which is not inside of a date range. The Do this every 3 months item does not show up in June, even though it would not fall inside of a date range. Mark * CALENDAR 2011 ** TODO Pay Cell Phone Bill TriMonthly 2011-01-15 Sat +90d ** TODO [#A] Bath for dog 2011-03-10 Thu +1w :PM: ** Books due at LIB1 2011-03-24 Thu More stuff here ** Books due at LIB2 2011-03-12 Sat +1w Stuff here ** DONE Check planning schedule 2011-03-13 Sun CLOSED: [2011-03-14 Mon 06:38] - State DONE from TODO [2011-03-14 Mon 06:38] ** TODO Recharge electrical equipment 2011-03-13 Sun +1w ** TODO Orthodontist Visit 2011-03-13 ** Book Fair 2011-03-24 Thu :Child1: ** Do this every 3 months 2011-03-28 Mon +90d ** Parent Teacher Conference Days 2011-03-31 Thu--2011-04-07 Thu :Child1: ** Spring Break 2011-04-11 Mon--2011-04-22 Fri :Child1: ** PTA Picnic 2011-05-20 Fri :Child1: ** Memorial Day 2011-05-30 Mon ** Summer begins 2011-06-02 Thu :Child1: ** Harry Potter's Birthday 2011-07-31 Sun On Mon, 14 Mar 2011 11:02:14 -0800, Mark S throa...@yahoo.com wrote: I have a very simple calendar ORG file set up. A couple of the items have recurring days set to 90d. Like ** Do something periodically 2011-01-15 Sat +90d When I activate the agenda timeline, I see the first one of these (in January) but none of the other scheduled events show up. (I have other scheduled items to create a calendar that goes out further than the 90 days). If I view this in the regular weekly agenda, using f to step through the weeks, the item does show up. If I change the setting to +1w, I see several more entries, but not one for every week. Some weeks are skipped. It seems hit and miss. I haven't been able to establish the exact pattern, but it appears that I can not depend on recurring items to show up in the timeline. Has anyone else seen this? Is there a way to make all activities show up in the timeline? Thanks, Mark Emacs 23.2.1 Win XP Org-mode 7.5 OK, I couldn't see any problems at first, and I didn't know about the timeline view - never used it before (C-c a L in the default setup) - but I think I can reproduce something like this (I haven't checked in detail) with the above file and a minimal.emacs similar to this (paths need to be modified): --8---cut here---start-8--- (add-to-list 'load-path (expand-file-name ~/src/emacs/org/org-mode/lisp)) (add-to-list 'auto-mode-alist '(\\.\\(org\\|org_archive\\|txt\\)$ . org-mode)) (require 'org-install) (global-set-key \C-cl 'org-store-link) (global-set-key \C-ca 'org-agenda) ;; modify the path to point to the file above (setq org-agenda-files '(~/src/org/misc/marks/foo.org)) --8---cut here---end---8--- Nick
Re: [O] Publishing notes to a website
Kyle Sexton ks at mocker.org writes: I'm looking for advice on ways people are publishing their org notes to a website. So far I've looked at blorgit and it's really nice, but the dependency for a backend emacs session and running through sinatra makes me wary of putting it out on my server for the world. 1. What methods are people using to publish their org notes? 2. Anyone have sample sites that I can see what the output looks like? Kyle, I have been actually been working on a simple clean solution for writing in org-mode and keeping the file as org-mode. What I have come up with is a Textile like PHP class that translates org-mode files into HTML. It is still very very alpha and hope to release the code soon for people to look at, work and improve or completely scrap and take my idea and do it better. You can see it in action at http://toshine.org where I have built a simple flatfile CMS that reads .org files in a folder, reads the org-mode header, and creates menus, creates post titles, meta descriptions, dates etc and is then passed through my orgile php class that spits out HTML. My aim was to simply keep the files as org-mode and stick them in a folder and let the CMS deal with the rest. Also I didn't like the complexity of Jekyll http://jekyllrb.com/ installing ruby gems, YAML and all that. I have a single php file for the CMS and a single php file for the orgile class. The class is totally independent of the CMS, like textile and the textile class. If you look at the bottom of a website article you can see the .org file. I still have a lot to do and currently I have just added the features that I needed like basic HTML markup, footnotes and blockquotes. My aim really was to spend time writing my articles and throwing them into a folder. Most of the time I correct the file via Tramp in Emacs and don't have to republish anything as the file is just read. I have though added PHP cache_lite in my CMS so the pages are created as HTML via orgile but served as the cached HTML page. Saves PHP processing for pages that don't change the whole time. I just remove the page from cache if I make a edit later. Anyway have a look and just to say I am totally focused on staying, working and dealing only with org-mode files so I can concentrate on the writing. Hopefully orgile will become useful for people or at least spark some better programmers writing a better version of it. 'Mash http://toshine.org
[O] Slow movement in large buffers
I've been navigating the org-issues file (14000+ lines) and have found movement within the file to be fairly slow. Sometimes Emacs will lock up for several seconds. For instance, to move from the level one heading * Other to * Closed issues when the outline is folded takes over three seconds: --8---cut here---start-8--- next-line 1 3.015289 3.015289 --8---cut here---end---8--- In my experience, the maximum workable size of org files is around 10,000 lines. Beyond that, Emacs starts to spin its wheels. Do others have the same experience? If so, does anyone have any tips on how to diagnose this further? (insert \n emacs-version) 23.3.1 (insert \n org-version) 7.5 Best, Matt
[O] Having problem with latex export of image file
I have the following in my org file: #+CAPTION: Sample (partial) plan graph. #+LABEL: fig:sampleGraph #+ATTR_LaTeX: width=.9\textwidth [[plan-with-tc-start.pdf]] which I believe should give me a figure. However, when I run this through the latex export I get the following instead: \hyperref[plan-with-tc-start.pdf]{plan-with-tc-start.pdf} I pushed pdf onto image-file-name-extensions but that doesn't seem to make any difference. I figure there's something simple I'm doing wrong, but I can't figure out what that is. Thanks for any advice! best, r
[O] quick question about face names
I'm trying to find the face of plain text (not headlines or checklist items). Does it have a name that distinguishes it from other faces? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] OrgCamp in India -- Interested?
I am in Pune. I would come if its near about there (or Bombay).
[O] another (possibly) noob question
So, I've set org-provide-todo-statistics to t and org-hierarchical-todo-statistics to nil. I use a TODO sequence to identify projects. That is, (setq org-todo-keywords '((sequence REVIEW(r) TODO(t) ACTIVE(a!) WAIT(w@) SOMEDAY(s) | DONE(d) CANCELED(c@)) (sequence OPEN(O@!) WIP(W!) PAUSED(P@!) | CLOSED(C@!)) (sequence PROJECT(p) | COMPLETED(x)) )) I then set level 1 headlines to be PROJECT and put [/] at the end of the headline. The hope is to see projects at a glance and get the fraction done too. All is as it should be, but for one thing. When I toggle or insert within a subtree, the headline for that project changes from PROJECT to ACTIVE if less than all tasks are done, and DONE if all tasks are done. Obviously, I want it to stay PROJECT. I've spent over an hour trying to figure this one out and I can't. Anyone got any advice? Cheers. Fil -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
Re: [O] OrgCamp in India -- Interested?
On Mon, Mar 14, 2011 at 11:47 PM, Puneeth Chaganti wrote: Hi, Inspired by the OrgCamps being conducted in Paris [1] [2], I would like to propose an OrgCamp somewhere in India. +1 I'm not sure, how many people from India are on this list, but I do know that there are a few. I am in Hyderabad. Travelling too far would be a constraint. Would any of you be interested in such a meet-up? +1 What would be a good place and time for such a meet-up? So far we have three responders are from three different locations. :-( Thanks for proposing the idea. Regards Manish
[O] HTML Export Broken
I just upgraded to org-mode 7.5 and I'm encountering a weird problem. Suppose I have the following text in a file. This is a @btest@/b of tags. This is a @banother test of tags. If I do C-c C-e h on this file, I get the following HTML code. pThis is a @lt;btest/b of tags. /p p This is a banother test of tags. /p It appears that org-mode is converting only the last @tag that appears in a line into an HTML tag. Is this a bug or am I doing something wrong? Help. Scott Randby
Re: [O] Custom Agenda View for Projects
On Tue, Mar 15, 2011 at 12:54 AM, Christian Zang wrote: Dear all, I might be overlooking something very obvious, but I cannot find the solution: I have various org files, in which projects (anything requiring more than one action step...) are first level headings marked using the TODO kwd PROJ. If I tell my agenda to list all items with kwd PROJ (either via C-a T PROJ or as a custom agenda view via tags-todo LEVEL=1), only the ones without siblings are returned. I've looked into org-tags-match-list-sublevels but this is not quite the right thing to calibrate... Could you show a sample outline please? -- Manish
Re: [O] OrgCamp in India -- Interested?
Rustom Mody rustompm...@gmail.com writes: I am in Pune. I would come if its near about there (or Bombay). Mumbai, surely ... ;)
[O] Another HTML Export Question
The org files I export to HTML contain the following: * COMMENT Setup #+OPTIONS: H:3 num:nil skip:nil toc:t author:t With org-mode 7.4, this setup would give me the following postamble: div id=postamble p class=date Date: 2011-03-12 16:09:53 EST/p p class=creatorHTML generated by org-mode 7.4 in emacs 23/p /div With org-mode 7.5, I get this postamble: div id=postamble p class=creatorOrg version 7.5 with Emacs version 23/p a href=http://validator.w3.org/check?uri=referer;Validate XHTML 1.0/a /div 1. There is no timestamp with org-mode 7.5. I want a timestamp and I can't get a timestamp by putting timestamp:t in the options line. 2. I want to get rid of the link for the validator. I can't find mention of this in the manual. 3. How do I change the text of the creator line? Honestly, I've never had so many problems with an upgrade of org-mode. I'm going back to 7.4 until HTML export is fixed and explained clearly in the manual. Scott Randby
Re: [O] Slow movement in large buffers
DO you have flyspell turned on? - Carsten On 15.3.2011, at 04:25, Matt Lundin wrote: I've been navigating the org-issues file (14000+ lines) and have found movement within the file to be fairly slow. Sometimes Emacs will lock up for several seconds. For instance, to move from the level one heading * Other to * Closed issues when the outline is folded takes over three seconds: --8---cut here---start-8--- next-line 1 3.015289 3.015289 --8---cut here---end---8--- In my experience, the maximum workable size of org files is around 10,000 lines. Beyond that, Emacs starts to spin its wheels. Do others have the same experience? If so, does anyone have any tips on how to diagnose this further? (insert \n emacs-version) 23.3.1 (insert \n org-version) 7.5 Best, Matt
Re: [O] Having problem with latex export of image file
Robert Goldman rpgold...@sift.info wrote: I have the following in my org file: #+CAPTION: Sample (partial) plan graph. #+LABEL: fig:sampleGraph #+ATTR_LaTeX: width=.9\textwidth [[plan-with-tc-start.pdf]] which I believe should give me a figure. However, when I run this through the latex export I get the following instead: \hyperref[plan-with-tc-start.pdf]{plan-with-tc-start.pdf} I pushed pdf onto image-file-name-extensions but that doesn't seem to make any difference. I figure there's something simple I'm doing wrong, but I can't figure out what that is. Thanks for any advice! Try [[./plan-with-tc-start.pdf]] Nick
Re: [O] quick question about face names
Filippo A. Salustri salus...@ryerson.ca wrote: --20cf301e2f2d785e83049e7d5fab Content-Type: text/plain; charset=ISO-8859-1 I'm trying to find the face of plain text (not headlines or checklist items). Does it have a name that distinguishes it from other faces? Cheers. Fil I don't think so: C-u C-x = tells faces if it finds one - in this case, it says nothing about a face. Nick
[O] An HTML Export Observation
When I look at the Org Export HTML Group for customization, I get the following: Org Export Html Validation Link: Show Value State: UNINITIALIZED, you should not see this. Link to HTML validation service. Org Export Html With Timestamp: Hide Value Toggle off (nil) State: UNINITIALIZED, you should not see this. If non-nil, write timestamp into the exported HTML text. More The other variables in this group are also uninitialized. The other org export groups (such as Org Export LaTeX) do not contain uninitialized variables. Why is it that the variables I need the most do not work? Scott Randby
Re: [O] An HTML Export Observation
Scott Randby sran...@gmail.com wrote: When I look at the Org Export HTML Group for customization, I get the following: Org Export Html Validation Link: Show Value State: UNINITIALIZED, you should not see this. Link to HTML validation service. Org Export Html With Timestamp: Hide Value Toggle off (nil) State: UNINITIALIZED, you should not see this. If non-nil, write timestamp into the exported HTML text. More The other variables in this group are also uninitialized. The other org export groups (such as Org Export LaTeX) do not contain uninitialized variables. Why is it that the variables I need the most do not work? I can't answer that question, but if you care to try, the following should work as a temporary solution, until all this is cleared up: add (setq org-export-html-postamble p class=\author\Author: %a (%e)/p\np class=\date\Date: %d/p\np class=\creator\Generated by %c/p\n) to your .emacs and either restart emacs or evaluate the form (place the cursor after the closing paren and press `C-x C-e'); then export normally. In principle, I think this should work with a file option, but a few minutes of experimentation have not brought any happiness. See the documentation for the variable org-export-html-postamble-format for the %X escapes: , | %a stands for the author. | %e stands for the email(s). | %d stands for the date. | %c will be replaced by information about Org/Emacs. | %v will be replaced by `org-export-html-validation-link'. | | If you need to use a % character, you need to escape it | like that: %%. ` As for your previous email re. @b, the very latest git seems to have fixed that problem. But there is obviously some churn in the HTML export area. Your idea about going back to 7.4 might be the way to go for a little while until all this is cleared up. Nick