Re: [Orgmode] Why does org-html.org refuse to export a table of contents when body-only is t?
On Apr 27, 2010, at 6:59 PM, David Maus wrote: At Tue, 27 Apr 2010 11:55:44 +0200, Carsten Dominik wrote: On Apr 18, 2010, at 7:32 PM, Jan Böcker wrote: Hi all, I'd like to add a table of contents to a HTML export with body-only set to t (to feed into jekyll later), but org-html.el automatically disables the TOC when body-only is given. I have used the attached one-line patch without any problems, the (still XHTML strict compliant) result can be seen here: http://www.jboecker.de/2010/04/14/general-reference-filing-with-org-mode.html gitk tells me that the line I have changed was first introduced in Release 4.75, so is this just a use case that was not thought of when this was programmed, or is there a specific reason? The reason for this behavior is that the most frequent application for this seems to me to convert a small block to HTML, to paste it somewhere else. But I have no string reasons to keep it like this. Do we have more opinions on this issue? Yes, the prospected exporter to atom uses body only to create html markup for a atom feed entry where it normally makes no sense to publish a table of contents. Same is true for org-mime and the "Send html messages with Wanderlust" hack. I think we should keep it the way it is, and Jan, maybe you can just strip the surrounding stuff yourself, using a hook. best wishes - Carsten So maybe create a body without toc when body-only is set to t and create a body with toc when body-only is the symbol 'include-toc. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: OrgmodeOrg-export-generic and wikis...
Hi Robert, Wes, I am not sure if there is any action should be taking here? I have no problems bundling some documentation with the distribution - let me just know what you want and send me what I should distribute. - Carsten On Apr 29, 2010, at 5:18 PM, Robert Goldman wrote: On 4/29/10 Apr 29 -9:14 AM, Carsten Dominik wrote: On Apr 29, 2010, at 3:57 PM, Wes Hardaker wrote: On Wed, 28 Apr 2010 14:38:47 -0500, Robert Goldman said: RG> 1. Would it be reasonable to move the documentation for RG> org-export-generic into the contrib/ directory of org-mode? It RG> seems ... suboptimal to have this package be maintained in the org RG> git repo, but its documentation in the worg git repo. At least from RG> my PoV this raises the bar for keeping the documentation up-to- date RG> and synchronized to a pretty high level. I'll let Carsten answer questions like that ;-) The reason for this is the following. Many of the contributed packages where written by people who were active in Org-mode for a while and then less so. Many of these package had no documentation at all. So I started a page on WOrg where this documentation can be added and edited by other users, with quite some success - now most package do have documentation. Keeping documentation for a contributed package the the org-repo would be OK, but there would be no mechanism to automatically put the latest version up on on the web. Changing this would require a volunteer who commits to keep the documentation of contributed packages in a consistent and web-publishable way in the contrib directory. Here's the particular problem for org-export-generic --- maybe there's a solution: org-export-generic is primarily data-driven. To specify an export technique, you populate a very big data structure using a macro with what look like common-lisp keywords. Here's an example: (org-set-generic-type "tikiwiki" '(:file-suffix ".txt" :key-binding ?U ;; lifted from wikipedia exporter :header-prefix"" :header-suffix"" :title-format "-= %s =-\n" :date-export nil :toc-exportnil :body-header-section-numbers nil :body-section-prefix "\n" :body-section-header-prefix("! " "!! " "!!! " " " "! " "!! " "!!! ") :body-section-header-suffix(" \n" " \n" " \n" " \n" " \n" " \n") :body-line-export-preformated t ;; yes/no/maybe??? :body-line-format "%s " :body-line-wrapnil :body-line-fixed-format " %s\n" :body-list-format "* %s\n" :body-number-list-format "# %s\n" ;;:body-list-prefix "LISTSTART" ;;:body-list-suffix "LISTEND" :blockquote-start "\n^\n" :blockquote-end"^\n\n" :body-newline-paragrapht )) The problem is that this is VERY difficult to document as the set of keywords expands (e.g., I add :body-newline-paragraph, :blockquote- start and :blockquote-end). These aren't arguments, so they can't get documented in the code in a docstring. org-set-generic-type is a function, not a mode, so there's no docstring for the mode to hold the documentation. This is already not working, AFAICT, the worg docs don't seem to be complete or accurate. I'm pretty convinced from general code and document-writing practice that the best solution would be one that puts the documentation as close to the code as possible. If this were common-lisp, I would add a new method to the DOCUMENTATION generic function, so that one could say (documentation :body-newline-paragraph :org-export-keyword) Then we could add a declaration macro, and put the docstring there: (def-generic-export-keyword :body-newline-paragraph :boolean "Should newlines ONLY be used as paragraph breaks. If the associated value is true, then org-export-generic will flow contiguous paragraphs into one long line, adding newlines only where there is a blank line. Should be coupled with a value for :body-line-format that does NOT contain a newline character, e.g., \"%s \"") I suppose we could add something like this, and possibly even write a script that would blat the docstring into something that Worg could display. Any thoughts? Best, r - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Prevent Org timestamps breaking with paragraph fill?
On May 5, 2010, at 2:21 AM, Jeff Kowalczyk wrote: I sometimes use Org timestamps in the body text of a headline. The timestamps break when filling with M-q. Is there a way to prevent this, i.e. Org timestamps as non-breaking words? Hi Jeff, unfortunately, there is no way to avoid this currently. I guess the best is to put the timestamps early in the headline, or put them into the body of the entry. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Agenda and excursion
Carsten Dominik gmail.com> writes: > > > On May 13, 2010, at 11:07 AM, Tom wrote: > > > Often I do something in an org buffer and then display the > > agenda to see my tasks. Then later I switch back to that buffer with > > switch-to-buffer and find that building of the agenda moved the cursor > > from the point I was to the end of the buffer. > > I have never seen this problem. > Looks like it happens only if specify a skip function for the block agenda. I'll try to narrow down the location and get back to you when I know more about the problem. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] UPDATE schedule/deadline and ido-mode conflict
On 05/13/2010 11:04 AM, David Lee wrote: On 05/13/2010 10:26 AM, Nick Dokos wrote: David Lee wrote: On 05/12/2010 11:46 PM, Nick Dokos wrote: David Lee wrote: After insert schedule and deadline by C-c C-s, C-c C-d, I switch buffer by ido-mode command ido-switch-buffer. Emacs will give out a message: Error in post-command-hook: (void-variable org-ans1) And ido-switch-buffer doesn't work. My environment: Emacs 23.1, Org-mode 6.36. Please post a backtrace. To find out how to get a backtrace, read section 1.4, "Feedback", of the Org manual. I turn on "Enter Debugger On error" all the time, and follow the instruction in Org Info. But I cannot get the backtrace, seems its not an *error* (didn't fire up elisp debugger), but just a message? The conflict make me give up schedule/deadline. So, any other suggestion on get the backtrace? Nope - no ideas/suggestions: seems to me it should have triggered. What's the value of post-command-hook just before you get the error? Note that that's a buffer-local variable, so you'll have to evaluate it (using `C-h v post-command-hook') in the correct buffer. Nick Hi, Nick, the error is not consistent, and I cannot always capture it. Is it related to the variable org-ans1? From my local buffer (I am *not* very sure whether the value is before the error, since sometimes C-h v affect the error conditions and make ido-switch-buffer work, I will try to investigate the error when I can reproduce it): ;;; post-command-hook is a variable defined in `C source code'. Its value is (linum-update-current t flyspell-post-command-hook) Local in buffer emacs.org; global value is (global-font-lock-mode-check-buffers global-auto-composition-mode-check-buffers global-linum-mode-check-buffers cua--post-command-handler) - David I tried DEADLINE today. The steps are: 1. C-c C-d to add DEADLINE, choose date from calendar. 2. Try ido-switch-buffer, didn't work and Emacs show Error in post-command-hook: (void-variable org-ans1) 3. C-h v post-command-hook, Emacs show post-command-hook\ \ \ is void as a variable. 4. Try ido-switch-buffer, it worked. So, I use *C-h v post-command-hook* to solve the problem :) Emacs 23.1 on Ubuntu9.04, Org-mode 6.36. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Iterate many tables
Hi, I've tried the functions but I get the error described above. I've put the functions in my .emacs exactly as written in the mail. I use the latest org-mode (using Git) and I use emacs 23.1.1 on a 64-bit openSuse 11.1 linux laptop. Do the cursor need to be located anywhere specific when executing the functions? I've tried to execute the functions while having all tables expanded and the cursor somewhere in the last table. Best regards, Johan On Fri, May 7, 2010 at 9:36 AM, Carsten Dominik wrote: > Hi, > > both functions work without any problem for me, so I do not know what you > are doing differently. maybe you ned to describe exactly how you are > calling the functions. > > - Carsten > > > On May 6, 2010, at 1:34 PM, T Helms wrote: > > Thanks for bringing this up, it would be a useful tool. >> >> I get an error using the functions as well >> >> org-recalculate-all-tables: >> org-recalculate-all-tables: Wrong number of arguments: (lambda (function) >> "Apply FUNCTION to the start of all tables in the buffer." (save-excursion >> (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward >> org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 >> (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at >> org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at >> org-table-line-regexp) (forward-char 1))) (re-search-forward >> org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 >> >> org-iterate-all-tables: >> while: Wrong number of arguments: (lambda (function) "Apply FUNCTION to >> the start of all tables in the buffer." (save-excursion (save-restriction >> (widen) (goto-char (point-min)) (while (re-search-forward >> org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 >> (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at >> org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at >> org-table-line-regexp) (forward-char 1))) (re-search-forward >> org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 >> >> >> On 05/05/2010 03:37 PM, Johan Ekh wrote: >> >>> >>> >>> >>> Any idea what could be wrong? >>> >>> >>> >>> Error meassage: >>> >>> org-recalculate-all-tables: Wrong number of arguments: #[(function) >>> "ŠŒ~ˆebˆÄ ÅÆ#ƒ: >>> >>> >>> Best regards, >>> Johan >>> >>> >>> >>> >>> >>> >>> On Fri, Apr 30, 2010 at 5:03 PM, Carsten Dominik < >>> carsten.domi...@gmail.com> wrote: >>> >>> On Apr 30, 2010, at 4:07 PM, Johan Ekh wrote: >>> >>> Hi all, >>> I have a series of tables in a single file. Each table have some fields >>> that depends on fields >>> in the previous table. Thus, if I change something in the first table, I >>> must go down manually >>> and recalculate (or iterate) each table. Is there a way to recalculate >>> all tables in a file simultaneously? >>> >>> >>> Hi Johan, >>> >>> This should work if the dependence is only backwards. >>> >>> (defun org-recalculate-all-tables () >>> (interactive) >>> (org-table-map-tables (lambda () (org-table-recalculate t)) t)) >>> >>> If you have dependencies in both directions, this might work (untested): >>> >>> (defun org-iterate-all-tables () >>> (interactive) >>> (let* ((imax 10) >>>(checksum (md5 (buffer-string))) >>>c1 >>>(i imax)) >>> (catch 'exit >>> (while (> i 0) >>> (setq i (1- i)) >>> (org-table-map-tables (lambda () (org-table-recalculate t)) t) >>> (if (equal checksum (setq c1 (md5 (buffer-string >>> (progn >>> (message "Convergence after %d iterations" (- imax i)) >>> (throw 'exit t)) >>> (setq checksum c1))) >>> (error "No convergence after %d iterations" imax >>> >>> If it does, this could be added to org-hacks on Worg. >>> >>> HTH >>> >>> - Carsten >>> >>> >>> >>> ___ >>> Emacs-orgmode mailing list >>> Please use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> >>> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > - Carsten > > > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] spreadsheet table limitations, specifically summing hours?
Hi, Having used orgmode to track my TODO list and related working hours, I have been trying to use it to work out my invoices. Although the spreadsheet is quite neat, I have been having trouble getting it to do some things. In particular, after reading the manual I initially thought I could, but empirically find I can't: a) write formulas like below, which both use and assign to column names, e.g. $total=$vat+$fee b) Use underscores or hyphens (or less surprisingly, spaces) in column names Correct? Or is there something I've missed? Anyway, I can work around those, by using column numbers, and not using underscores etc.; but I'm still trying to discover a workable way of summing the hours. There seem to be two problems; c) Summing HH:MM values (which org-table-sum seems to manage - although oddly without including the minutes - but not vsum) d) writing a formula to sum items above it, ideally summing values in between two hlines [Later: I solved d) as by putting the sums in a separate hline section and using vsum(@-...@-ii), see below] | | week ending | hh:mm | Fee | VAT | Total | | ! | week| hours | fee | vat | total | |---+-++---+---+---| | | 27/12/09| 10:19h | | | | | | 10/01/10| 3:00h | | | | | | 17/01/10| 18:50h | | | | | | 24/01/10| 13:00h | | | | |---+-++---+---+---| | # | 25/01/10| ??:??h | ??.?? | ??.?? | ??.?? | |---+-++---+---+---| | | 31/01/10| 19:47h | | | | | | 07/02/10| 19:19h | | | | | | 14/02/10| 23:14h | | | | |---+-++---+---+---| | # | 22/02/10| ??:??h | ??.?? | ??.?? | ??.?? | |---+-++---+---+---| #+TBLFM: $hours=vsum(@-...@-ii)::$fee=$hours*$hourlyrate;%.2f::$vat=$total*$vatrate;%.2f::total=$vat+$fee #+CONSTANTS: vatrate=0.175 hourlyrate=35 [Note: my mail client wraps the +TBLFM line] I suspect there maybe a way of using elisp to sum the hours, but on a cursory inspection of the source, org-table-sum seems not to be designed for the job, and I don't see another one I could use off-the-shelf. (I'm using org-mode v6.35 in emacs 23.0.91.1) Thanks in retrospect for earlier answers and in advance future help. Cheers, Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] UPDATE schedule/deadline and ido-mode conflict
On May 14, 2010, at 10:27 AM, David Lee wrote: On 05/13/2010 11:04 AM, David Lee wrote: On 05/13/2010 10:26 AM, Nick Dokos wrote: David Lee wrote: On 05/12/2010 11:46 PM, Nick Dokos wrote: David Lee wrote: After insert schedule and deadline by C-c C-s, C-c C-d, I switch buffer by ido-mode command ido-switch-buffer. Emacs will give out a message: Error in post-command-hook: (void-variable org-ans1) And ido-switch-buffer doesn't work. My environment: Emacs 23.1, Org-mode 6.36. Please post a backtrace. To find out how to get a backtrace, read section 1.4, "Feedback", of the Org manual. I turn on "Enter Debugger On error" all the time, and follow the instruction in Org Info. But I cannot get the backtrace, seems its not an *error* (didn't fire up elisp debugger), but just a message? The conflict make me give up schedule/deadline. So, any other suggestion on get the backtrace? Nope - no ideas/suggestions: seems to me it should have triggered. What's the value of post-command-hook just before you get the error? Note that that's a buffer-local variable, so you'll have to evaluate it (using `C-h v post-command-hook') in the correct buffer. Nick Hi, Nick, the error is not consistent, and I cannot always capture it. Is it related to the variable org-ans1? From my local buffer (I am *not* very sure whether the value is before the error, since sometimes C-h v affect the error conditions and make ido-switch-buffer work, I will try to investigate the error when I can reproduce it): ;;; post-command-hook is a variable defined in `C source code'. Its value is (linum-update-current t flyspell-post-command-hook) Local in buffer emacs.org; global value is (global-font-lock-mode-check-buffers global-auto-composition-mode-check-buffers global-linum-mode-check-buffers cua--post-command-handler) - David I tried DEADLINE today. The steps are: 1. C-c C-d to add DEADLINE, choose date from calendar. How exactly do you choose it? Keyboard,mouse? List the exact key/ envents, please - Carsten 2. Try ido-switch-buffer, didn't work and Emacs show Error in post-command-hook: (void-variable org-ans1) 3. C-h v post-command-hook, Emacs show post-command-hook\ \ \ is void as a variable. 4. Try ido-switch-buffer, it worked. So, I use *C-h v post-command-hook* to solve the problem :) Emacs 23.1 on Ubuntu9.04, Org-mode 6.36. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Agenda and excursion
On May 14, 2010, at 9:25 AM, Tom wrote: Carsten Dominik gmail.com> writes: On May 13, 2010, at 11:07 AM, Tom wrote: Often I do something in an org buffer and then display the agenda to see my tasks. Then later I switch back to that buffer with switch-to-buffer and find that building of the agenda moved the cursor from the point I was to the end of the buffer. I have never seen this problem. Looks like it happens only if specify a skip function for the block agenda. I'll try to narrow down the location and get back to you when I know more about the problem. Ah, that is interesting. Can I have a look at the full custom command definition you are using? Thanks. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Re: Custom docbook stylesheets.
Dear Baoqiu, thanks for the patch, I applied it. Can you please also make a patch for the documentation - I think #+XSLT must be mentioned in the export chapter And an entry for the Changes.org file would indeed be nice, can you write that as well? Thanks! - Carsten On May 14, 2010, at 1:15 AM, Baoqiu Cui wrote: dsm...@vtiinstruments.com (Dale P. Smith) writes: Baoqiu Cui writes: Before I change the document for variable `org-export-docbook-xslt-proc-command', let's finalize the design of this first. :-) Currently `org-export-docbook-xslt-proc-command' contains two format-like specs: "%i" (for the input DocBook XML file) and "%o" (for the output FO file). Values of these two specs will be generated based on the Org file name to be exported. We should add a 3rd spec, "%s", to this variable for the XSLT stylesheet that users would like to use for exporting the Org file. As Dale pointed earlier, users would like to use different stylesheets for different Org files. By default, the value of the stylesheet is set based on a new customizable variable called `org-export-docbook-xslt-stylesheet'. However users can use # +XSLT in each individual Org file to override it. Are you OK with this? I am. It's pretty much exactly what I was thinking. Great! I am attaching a patch that does what was described above. Carsten: This patch introduces a minor "incompatible" change in DocBook exporter. Maybe you want to mention that in the next Org-mode release; otherwise users of DocBook exporter will hit exporting failures caused by their old invalid customizable variable settings. BTW, I am not sure if my way of setting/checking the newly added property of :xslt is the best one. You can change it if you see any problem. diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el index 768702f..bbd0bed 100644 --- a/lisp/org-docbook.el +++ b/lisp/org-docbook.el @@ -184,32 +184,39 @@ default, but users can override them using `# +ATTR_DocBook:'." :group 'org-export-docbook :type 'coding-system) +(defcustom org-export-docbook-xslt-stylesheet nil + "File name of the XSLT stylesheet used by DocBook exporter. +This XSLT stylesheet is used by +`org-export-docbook-xslt-proc-command' to generate the Formatting +Object (FO) files. You can use either `fo/docbook.xsl' that +comes with DocBook, or any customization layer you may have." + :group 'org-export-docbook + :type 'string) + (defcustom org-export-docbook-xslt-proc-command nil - "XSLT processor command used by DocBook exporter. -This is the command used to process a DocBook XML file to -generate the formatting object (FO) file. + "Format of XSLT processor command used by DocBook exporter. +This command is used to process a DocBook XML file to generate +the Formatting Object (FO) file. The value of this variable should be a format control string that -includes two `%s' arguments: the first one is for the output FO -file name, and the second one is for the input DocBook XML file -name. +includes three arguments: `%i', `%o', and `%s'. During exporting +time, `%i' is replaced by the input DocBook XML file name, `%o' +is replaced by the output FO file name, and `%s' is replaced by +`org-export-docbook-xslt-stylesheet' (or the #+XSLT option if it +is specified in the Org file). For example, if you use Saxon as the XSLT processor, you may want to set the variable to - \"java com.icl.saxon.StyleSheet -o %s %s /path/to/docbook.xsl\" + \"java com.icl.saxon.StyleSheet -o %o %i %s\" If you use Xalan, you can set it to - \"java org.apache.xalan.xslt.Process -out %s -in %s -xsl /path/to/ docbook.xsl\" + \"java org.apache.xalan.xslt.Process -out %o -in %i -xsl %s\" For xsltproc, the following string should work: - \"xsltproc --output %s /path/to/docbook.xsl %s\" - -You need to replace \"/path/to/docbook.xsl\" with the actual path -to the DocBook stylesheet file on your machine. You can also -replace it with your own customization layer if you have one. + \"xsltproc --output %o %s %i\" You can include additional stylesheet parameters in this command. Just make sure that they meet the syntax requirement of each @@ -218,18 +225,19 @@ processor." :type 'string) (defcustom org-export-docbook-xsl-fo-proc-command nil - "XSL-FO processor command used by DocBook exporter. -This is the command used to process a formatting object (FO) file -to generate the PDF file. + "Format of XSL-FO processor command used by DocBook exporter. +This command is used to process a Formatting Object (FO) file to +generate the PDF file. The value of this variable should be a format control string that -includes two `%s' arguments: the first one is for the input FO -file name, and the second one is for the output PDF file name. +includes two arguments: `%i' and `%o'. During exporting time, +`%i' is replaced by the input FO file name, and `%o' is replaced +by the output PDF file name. For example, if you use FOP as the XSL-FO processor, yo
Re: [Orgmode] Problem org-beamer export
On May 13, 2010, at 5:16 PM, Marvin Doyley wrote: Hi there, Org beamer has proven to be an invaluable tool, I use it not only for preparing lecture notes but also for all my presentation - farewell powerpoint :) However, I recently upgraded my current version of org to 6.36. I love the new inline image, but their seem to be a bug in the latex export. It would appear that org-export- latex still does a good job in translating org files to latex, but for some reason I get an error when issue C-C C-e C-p . More specifically, pdftex.def Error: Option 'pdftex' requires pdfTex. What is interesting is 1) if I compile the resulting latex file from the command line everything works fine, 2) I don't get an error when there is an existing pdf file when I issue C-C C-e C-p, but the pdf doesn't get updated - it seems to skip the compiling stage if the pdf file is there. Hi, I have no problems compiling to PDF. Anyone else? The error message sounds to me that somehow Emacs cannot find the you TEX installation. Maybe there is something wrong with the paths. If it works from the command line, try starting Emacs from the command line - this will make the command line environment visible to Emacs. If you start Carbon Emacs normally, then stuff in you shell setup is not read any you may end up with a different set of environment settings. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Exporting customized align attribute to LaTeX
Hi Francesco, thanks for the report - I have fixed this bug. - Carsten On May 12, 2010, at 5:39 PM, Francesco Pizzolante wrote: Hi, Exporting a customized align attribute for a table produces a wrong result. Here's an example where I'm customizing the S column type (coming from the siunitx package): I want to add the EUR symbol after each value in the specified column. --8<---cut here---start->8--- * TEST #+ATTR_LATEX: align=lS<{{\,\si{\EUR}}} | A | 12584.35 | | BB | 123456.67 | | CCC | 987654.32 | --8<---cut here---end--->8--- When exporting to LaTeX, I get the following result: --8<---cut here---start->8--- \section{TEST} \label{sec-1} \begin{center} \begin{tabular}{lS<{{\} A& 12584.35 \\ BB & 123456.67 \\ CCC & 987654.32 \\ \end{tabular} \end{center} --8<---cut here---end--->8--- I should get the following for the begin{tabular} line: --8<---cut here---start->8--- \begin{tabular}{lS<{{\,\si{\EUR} --8<---cut here---end--->8--- Is there a way to achieve this? Thanks, Francesco ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Iterate many tables
Hi Johan, I think you are not using the latest version of Org? Please upgrade. - Carsten On May 14, 2010, at 12:07 PM, Johan Ekh wrote: Hi, I've tried the functions but I get the error described above. I've put the functions in my .emacs exactly as written in the mail. I use the latest org-mode (using Git) and I use emacs 23.1.1 on a 64-bit openSuse 11.1 linux laptop. Do the cursor need to be located anywhere specific when executing the functions? I've tried to execute the functions while having all tables expanded and the cursor somewhere in the last table. Best regards, Johan On Fri, May 7, 2010 at 9:36 AM, Carsten Dominik > wrote: Hi, both functions work without any problem for me, so I do not know what you are doing differently. maybe you ned to describe exactly how you are calling the functions. - Carsten On May 6, 2010, at 1:34 PM, T Helms wrote: Thanks for bringing this up, it would be a useful tool. I get an error using the functions as well org-recalculate-all-tables: org-recalculate-all-tables: Wrong number of arguments: (lambda (function) "Apply FUNCTION to the start of all tables in the buffer." (save-excursion (save-restriction (widen) (goto-char (point- min)) (while (re-search-forward org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at org-table-line-regexp) (save- excursion (funcall function)) (or (looking-at org-table-line-regexp) (forward-char 1))) (re-search-forward org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 org-iterate-all-tables: while: Wrong number of arguments: (lambda (function) "Apply FUNCTION to the start of all tables in the buffer." (save-excursion (save- restriction (widen) (goto-char (point-min)) (while (re-search- forward org-table-any-line-regexp nil t) (message "Mapping tables: %d %%" (/ (* 100.0 (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at org-table-line-regexp) (forward-char 1))) (re-search-forward org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 On 05/05/2010 03:37 PM, Johan Ekh wrote: Any idea what could be wrong? Error meassage: org-recalculate-all-tables: Wrong number of arguments: #[(function) "ŠŒ~ˆebˆÄ ÅÆ#ƒ: Best regards, Johan On Fri, Apr 30, 2010 at 5:03 PM, Carsten Dominik > wrote: On Apr 30, 2010, at 4:07 PM, Johan Ekh wrote: Hi all, I have a series of tables in a single file. Each table have some fields that depends on fields in the previous table. Thus, if I change something in the first table, I must go down manually and recalculate (or iterate) each table. Is there a way to recalculate all tables in a file simultaneously? Hi Johan, This should work if the dependence is only backwards. (defun org-recalculate-all-tables () (interactive) (org-table-map-tables (lambda () (org-table-recalculate t)) t)) If you have dependencies in both directions, this might work (untested): (defun org-iterate-all-tables () (interactive) (let* ((imax 10) (checksum (md5 (buffer-string))) c1 (i imax)) (catch 'exit (while (> i 0) (setq i (1- i)) (org-table-map-tables (lambda () (org-table-recalculate t)) t) (if (equal checksum (setq c1 (md5 (buffer-string (progn (message "Convergence after %d iterations" (- imax i)) (throw 'exit t)) (setq checksum c1))) (error "No convergence after %d iterations" imax If it does, this could be added to org-hacks on Worg. HTH - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Xemacs incompatibilities
On May 11, 2010, at 11:04 AM, Dr. Volker Zell wrote: Hi I'm using org-6.35i 1.) org-babel-python.el requires (require 'python) whereas Xemacs wants (require 'python-mode) This is a really non-standard way for a mode definition which I guess should be fixed in XEmacs. I have made that change anyway. Eric or Dan, please note this change I made in the Babel sources. 2.) (require 'htmlize nil t) should be changed to (require 'htmlize) for Xemacs in org-exp.el Fixed this as well. 3.) When editing a src block with C-c ' in a temporary buffer in it's native mode and then switching back with C-c ' to the original org file, whenever I try to save a file with C-x C-s (not only the org file) I'll get the message This is not a sub-editing buffer, something is wrong... I cannot help here. Michael? - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] wish list: underscore
On May 10, 2010, at 10:43 PM, Sean Sieger wrote: In Org files putting an underscore at each of a word begets an ugly underline that extends to the original underscores and doubles them. In Gnus mail putting an underscore at each end of a _word_ begets an expected result of underlining the word itself. I wish that Org would do that too, or at least leave it alone like say info does. (setq org-hide-emphasis-markers t) But I have never used this, so I am not sure if this does not have unwanted side effect, for example in table formatting. Besides, I think underlining is supposed to be italics of bold these days / underlining is really a leftover from mechanical typewriters For example: "The APA Style Manual favors italics, especially for manuscripts being prepared for publication; however, underlining text is acceptable if you are using a typewriter or a word processing program that does not have an italics function." HTH - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Iterate many tables
Hi, You're right, I'm actually not using the latest version. It fails to install. I use the version "6.33trans". When I try to upgrade with Git I get the compilation error: In org-publish-get-base-files-1: org-publish.el:407:13:Warning: reference to free variable `sitemap-requested' org-publish.el:915:1:Error: Invalid read syntax: "#" make: *** [lisp/org-publish.elc] Error 1 Do you know what is wrong? I checked line 915 in "org-publish.el" but there is no "#" in that line. Do you know what is wrong? Best regards, Johan On Fri, May 14, 2010 at 2:32 PM, Carsten Dominik wrote: > Hi Johan, > > I think you are not using the latest version of Org? Please upgrade. > > - Carsten > > > On May 14, 2010, at 12:07 PM, Johan Ekh wrote: > > Hi, >> I've tried the functions but I get the error described above. >> I've put the functions in my .emacs exactly as written in the mail. >> I use the latest org-mode (using Git) and I use emacs 23.1.1 on >> a 64-bit openSuse 11.1 linux laptop. >> >> Do the cursor need to be located anywhere specific when executing >> the functions? I've tried to execute the functions while having all tables >> expanded and the cursor somewhere in the last table. >> >> Best regards, >> Johan >> >> On Fri, May 7, 2010 at 9:36 AM, Carsten Dominik < >> carsten.domi...@gmail.com> wrote: >> Hi, >> >> both functions work without any problem for me, so I do not know what you >> are doing differently. maybe you ned to describe exactly how you are >> calling the functions. >> >> - Carsten >> >> >> On May 6, 2010, at 1:34 PM, T Helms wrote: >> >> Thanks for bringing this up, it would be a useful tool. >> >> I get an error using the functions as well >> >> org-recalculate-all-tables: >> org-recalculate-all-tables: Wrong number of arguments: (lambda (function) >> "Apply FUNCTION to the start of all tables in the buffer." (save-excursion >> (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward >> org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 >> (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at >> org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at >> org-table-line-regexp) (forward-char 1))) (re-search-forward >> org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 >> >> org-iterate-all-tables: >> while: Wrong number of arguments: (lambda (function) "Apply FUNCTION to >> the start of all tables in the buffer." (save-excursion (save-restriction >> (widen) (goto-char (point-min)) (while (re-search-forward >> org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 >> (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at >> org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at >> org-table-line-regexp) (forward-char 1))) (re-search-forward >> org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 >> >> >> On 05/05/2010 03:37 PM, Johan Ekh wrote: >> >> >> >> Any idea what could be wrong? >> >> >> >> Error meassage: >> >> org-recalculate-all-tables: Wrong number of arguments: #[(function) >> "ŠŒ~ˆebˆÄ ÅÆ#ƒ: >> >> >> Best regards, >> Johan >> >> >> >> >> >> >> On Fri, Apr 30, 2010 at 5:03 PM, Carsten Dominik < >> carsten.domi...@gmail.com> wrote: >> >> On Apr 30, 2010, at 4:07 PM, Johan Ekh wrote: >> >> Hi all, >> I have a series of tables in a single file. Each table have some fields >> that depends on fields >> in the previous table. Thus, if I change something in the first table, I >> must go down manually >> and recalculate (or iterate) each table. Is there a way to recalculate all >> tables in a file simultaneously? >> >> >> Hi Johan, >> >> This should work if the dependence is only backwards. >> >> (defun org-recalculate-all-tables () >> (interactive) >> (org-table-map-tables (lambda () (org-table-recalculate t)) t)) >> >> If you have dependencies in both directions, this might work (untested): >> >> (defun org-iterate-all-tables () >> (interactive) >> (let* ((imax 10) >> (checksum (md5 (buffer-string))) >> c1 >> (i imax)) >> (catch 'exit >>(while (> i 0) >> (setq i (1- i)) >> (org-table-map-tables (lambda () (org-table-recalculate t)) t) >> (if (equal checksum (setq c1 (md5 (buffer-string >> (progn >>(message "Convergence after %d iterations" (- imax i)) >>(throw 'exit t)) >>(setq checksum c1))) >>(error "No convergence after %d iterations" imax >> >> If it does, this could be added to org-hacks on Worg. >> >> HTH >> >> - Carsten >> >> >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lis
Fwd: [Orgmode] Re: Bug: Emacs opens a new instance for each file in agenda list on org-mobile-push SOLVED
Sorry, missed the list off. -- Forwarded message -- From: Steve Brown Date: 2010/5/12 Subject: Re: [Orgmode] Re: Bug: Emacs opens a new instance for each file in agenda list on org-mobile-push To: Mattias Jämting 2010/4/8 Mattias Jämting > Found the solution (i think) and decided to share although the thread is old: > > org-mobile tries to calculate checksums but is unable to find a > program for it. Since the executable name is empty windows thinks we > want to open the file. > > I downloaded and copied md5sums.exe to a folder in my path and now it > seems to work. org-mobile only looks for md5sum (without an s) though > so i had to rename the exe. Hi Mattias, long delay getting back to you on this but I can confirm that this fix works on GNU Emacs 23.2.1 and Org-mode version 6.36. I renamed the extracted file, renamed it as suggested and placed in my Emacs bin directory. Thank you very much for the information, best, Steve ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Hyperlinks capable?
Does Org-mode understand Windows shortcuts and Web hyperlinks? Can a simple press of the RETURN key (a la Outlook) open a new window to the shortcut file/folder or the web page, as it may be? bob___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problem org-beamer export
Hi Carsten, This problem is now resolved. I just needed to change pdftex to pdflatex in graphics.cfg file. thanks M PS I am planning to learn lisp this summer so I can contribute to org development in my limited spare time, what is the best place to start ? On May 14, 2010, at 8:08 AM, Carsten Dominik wrote: > > On May 13, 2010, at 5:16 PM, Marvin Doyley wrote: > >> Hi there, >> >> Org beamer has proven to be an invaluable tool, I use it not only for >> preparing lecture notes but also for all my presentation - farewell >> powerpoint :) However, I recently upgraded my current version of org to >> 6.36. I love the new inline image, but their seem to be a bug in the latex >> export. It would appear that org-export-latex still does a good job in >> translating org files to latex, but for some reason I get an error when >> issue C-C C-e C-p . More specifically, pdftex.def Error: Option 'pdftex' >> requires pdfTex. What is interesting is 1) if I compile the resulting latex >> file from the command line everything works fine, 2) I don't get an error >> when there is an existing pdf file when I issue C-C C-e C-p, but the pdf >> doesn't get updated - it seems to skip the compiling stage if the pdf file >> is there. > > Hi, > > I have no problems compiling to PDF. Anyone else? > > The error message sounds to me that somehow Emacs cannot find the you TEX > installation. Maybe there is something wrong with the paths. If it works > from the command line, try starting Emacs from the command line - this will > make the command line environment visible to Emacs. If you start Carbon > Emacs normally, then stuff in you shell setup is not read any you may end up > with a different set of environment settings. > > - Carsten > Marvin Doyley doy...@ece.rochester.edu ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Iterate many tables
Hi again, I removed "org-publish.el" and the upgrade worked. Thus I now have the latest version of org-mode. Guess what, your functions now work perfectly! Thanks! Johan On Fri, May 14, 2010 at 3:05 PM, Johan Ekh wrote: > Hi, > You're right, I'm actually not using the latest version. It fails to > install. I use the version "6.33trans". > When I try to upgrade with Git I get the compilation error: > > > In org-publish-get-base-files-1: > org-publish.el:407:13:Warning: reference to free variable > `sitemap-requested' > org-publish.el:915:1:Error: Invalid read syntax: "#" > make: *** [lisp/org-publish.elc] Error 1 > > > Do you know what is wrong? I checked line 915 in "org-publish.el" but there > is > no "#" in that line. > > Do you know what is wrong? > > Best regards, > Johan > > > On Fri, May 14, 2010 at 2:32 PM, Carsten Dominik < > carsten.domi...@gmail.com> wrote: > >> Hi Johan, >> >> I think you are not using the latest version of Org? Please upgrade. >> >> - Carsten >> >> >> On May 14, 2010, at 12:07 PM, Johan Ekh wrote: >> >> Hi, >>> I've tried the functions but I get the error described above. >>> I've put the functions in my .emacs exactly as written in the mail. >>> I use the latest org-mode (using Git) and I use emacs 23.1.1 on >>> a 64-bit openSuse 11.1 linux laptop. >>> >>> Do the cursor need to be located anywhere specific when executing >>> the functions? I've tried to execute the functions while having all >>> tables >>> expanded and the cursor somewhere in the last table. >>> >>> Best regards, >>> Johan >>> >>> On Fri, May 7, 2010 at 9:36 AM, Carsten Dominik < >>> carsten.domi...@gmail.com> wrote: >>> Hi, >>> >>> both functions work without any problem for me, so I do not know what you >>> are doing differently. maybe you ned to describe exactly how you are >>> calling the functions. >>> >>> - Carsten >>> >>> >>> On May 6, 2010, at 1:34 PM, T Helms wrote: >>> >>> Thanks for bringing this up, it would be a useful tool. >>> >>> I get an error using the functions as well >>> >>> org-recalculate-all-tables: >>> org-recalculate-all-tables: Wrong number of arguments: (lambda (function) >>> "Apply FUNCTION to the start of all tables in the buffer." (save-excursion >>> (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward >>> org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 >>> (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at >>> org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at >>> org-table-line-regexp) (forward-char 1))) (re-search-forward >>> org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 >>> >>> org-iterate-all-tables: >>> while: Wrong number of arguments: (lambda (function) "Apply FUNCTION to >>> the start of all tables in the buffer." (save-excursion (save-restriction >>> (widen) (goto-char (point-min)) (while (re-search-forward >>> org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 >>> (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at >>> org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at >>> org-table-line-regexp) (forward-char 1))) (re-search-forward >>> org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 >>> >>> >>> On 05/05/2010 03:37 PM, Johan Ekh wrote: >>> >>> >>> >>> Any idea what could be wrong? >>> >>> >>> >>> Error meassage: >>> >>> org-recalculate-all-tables: Wrong number of arguments: #[(function) >>> "ŠŒ~ˆebˆÄ ÅÆ#ƒ: >>> >>> >>> Best regards, >>> Johan >>> >>> >>> >>> >>> >>> >>> On Fri, Apr 30, 2010 at 5:03 PM, Carsten Dominik < >>> carsten.domi...@gmail.com> wrote: >>> >>> On Apr 30, 2010, at 4:07 PM, Johan Ekh wrote: >>> >>> Hi all, >>> I have a series of tables in a single file. Each table have some fields >>> that depends on fields >>> in the previous table. Thus, if I change something in the first table, I >>> must go down manually >>> and recalculate (or iterate) each table. Is there a way to recalculate >>> all tables in a file simultaneously? >>> >>> >>> Hi Johan, >>> >>> This should work if the dependence is only backwards. >>> >>> (defun org-recalculate-all-tables () >>> (interactive) >>> (org-table-map-tables (lambda () (org-table-recalculate t)) t)) >>> >>> If you have dependencies in both directions, this might work (untested): >>> >>> (defun org-iterate-all-tables () >>> (interactive) >>> (let* ((imax 10) >>> (checksum (md5 (buffer-string))) >>> c1 >>> (i imax)) >>> (catch 'exit >>>(while (> i 0) >>> (setq i (1- i)) >>> (org-table-map-tables (lambda () (org-table-recalculate t)) t) >>> (if (equal checksum (setq c1 (md5 (buffer-string >>> (progn >>>(message "Convergence after %d iterations" (- imax i)) >>>(throw 'exit t)) >>>(setq checksum c1))) >>>(error "No convergence after %d iterations" imax >>> >>> If it does, this could be added to org-hacks on Worg. >>
[Orgmode] Re: Agenda and excursion
Carsten Dominik gmail.com> writes: > Ah, that is interesting. Can I have a look at the full custom command > definition you are using? Turned out I called one of my own functions from the skip function with a delay (so it ran after agenda construction finished) and that function moved the cursor, so org was innocent. Sorry for the noise. I'll be more careful next time before reporting a problem. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Agenda and excursion
Hi Tom, I am glad it is resolved. - Carsten On May 14, 2010, at 3:54 PM, Tom wrote: Carsten Dominik gmail.com> writes: Ah, that is interesting. Can I have a look at the full custom command definition you are using? Turned out I called one of my own functions from the skip function with a delay (so it ran after agenda construction finished) and that function moved the cursor, so org was innocent. Sorry for the noise. I'll be more careful next time before reporting a problem. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Iterate many tables
Good to hear. Latest version is *always* a good idea when reporting bugs. :-) - Carsten On May 14, 2010, at 3:43 PM, Johan Ekh wrote: Hi again, I removed "org-publish.el" and the upgrade worked. Thus I now have the latest version of org-mode. Guess what, your functions now work perfectly! Thanks! Johan On Fri, May 14, 2010 at 3:05 PM, Johan Ekh wrote: Hi, You're right, I'm actually not using the latest version. It fails to install. I use the version "6.33trans". When I try to upgrade with Git I get the compilation error: In org-publish-get-base-files-1: org-publish.el:407:13:Warning: reference to free variable `sitemap- requested' org-publish.el:915:1:Error: Invalid read syntax: "#" make: *** [lisp/org-publish.elc] Error 1 Do you know what is wrong? I checked line 915 in "org-publish.el" but there is no "#" in that line. Do you know what is wrong? Best regards, Johan On Fri, May 14, 2010 at 2:32 PM, Carsten Dominik > wrote: Hi Johan, I think you are not using the latest version of Org? Please upgrade. - Carsten On May 14, 2010, at 12:07 PM, Johan Ekh wrote: Hi, I've tried the functions but I get the error described above. I've put the functions in my .emacs exactly as written in the mail. I use the latest org-mode (using Git) and I use emacs 23.1.1 on a 64-bit openSuse 11.1 linux laptop. Do the cursor need to be located anywhere specific when executing the functions? I've tried to execute the functions while having all tables expanded and the cursor somewhere in the last table. Best regards, Johan On Fri, May 7, 2010 at 9:36 AM, Carsten Dominik > wrote: Hi, both functions work without any problem for me, so I do not know what you are doing differently. maybe you ned to describe exactly how you are calling the functions. - Carsten On May 6, 2010, at 1:34 PM, T Helms wrote: Thanks for bringing this up, it would be a useful tool. I get an error using the functions as well org-recalculate-all-tables: org-recalculate-all-tables: Wrong number of arguments: (lambda (function) "Apply FUNCTION to the start of all tables in the buffer." (save-excursion (save-restriction (widen) (goto-char (point- min)) (while (re-search-forward org-table-any-line-regexp nil t) (message "Mapping tables: %d%%" (/ (* 100.0 (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at org-table-line-regexp) (save- excursion (funcall function)) (or (looking-at org-table-line-regexp) (forward-char 1))) (re-search-forward org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 org-iterate-all-tables: while: Wrong number of arguments: (lambda (function) "Apply FUNCTION to the start of all tables in the buffer." (save-excursion (save- restriction (widen) (goto-char (point-min)) (while (re-search- forward org-table-any-line-regexp nil t) (message "Mapping tables: %d %%" (/ (* 100.0 (point)) (buffer-size))) (beginning-of-line 1) (when (looking-at org-table-line-regexp) (save-excursion (funcall function)) (or (looking-at org-table-line-regexp) (forward-char 1))) (re-search-forward org-table-any-border-regexp nil 1 (message "Mapping tables: done")), 2 On 05/05/2010 03:37 PM, Johan Ekh wrote: Any idea what could be wrong? Error meassage: org-recalculate-all-tables: Wrong number of arguments: #[(function) "ŠŒ~ˆebˆÄ ÅÆ#ƒ: Best regards, Johan On Fri, Apr 30, 2010 at 5:03 PM, Carsten Dominik > wrote: On Apr 30, 2010, at 4:07 PM, Johan Ekh wrote: Hi all, I have a series of tables in a single file. Each table have some fields that depends on fields in the previous table. Thus, if I change something in the first table, I must go down manually and recalculate (or iterate) each table. Is there a way to recalculate all tables in a file simultaneously? Hi Johan, This should work if the dependence is only backwards. (defun org-recalculate-all-tables () (interactive) (org-table-map-tables (lambda () (org-table-recalculate t)) t)) If you have dependencies in both directions, this might work (untested): (defun org-iterate-all-tables () (interactive) (let* ((imax 10) (checksum (md5 (buffer-string))) c1 (i imax)) (catch 'exit (while (> i 0) (setq i (1- i)) (org-table-map-tables (lambda () (org-table-recalculate t)) t) (if (equal checksum (setq c1 (md5 (buffer-string (progn (message "Convergence after %d iterations" (- imax i)) (throw 'exit t)) (setq checksum c1))) (error "No convergence after %d iterations" imax If it does, this could be added to org-hacks on Worg. HTH - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@g
Re: [Orgmode] information in minibuffer quickly dissappear in agenda view
On May 11, 2010, at 10:02 AM, Jevgeni Holodkov wrote: Hello, When I use the org-mode in agenda view, I want to estimate the tasks so I hit "e". The information about estimations appears in the minibuffer (such as "press 0-9.. , etc") and quickly dissappear, showing me just "e- ". Probably, this is more emacs question, but how do I make minibuffer not to clear the information? I'm using emacsw32 and org-mode v 6.35. Unfortunately, I cannot reproduce this problem (on a Mac...) - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] information in minibuffer quickly dissappear in agenda view
Hi, I have localized the problem today. The problem was in the emacsW32 itself. This happens if the menuacc-mode is on (Underlined accelerators in menu bar). Don't know why, but after disabling this mode everything works. Sorry for false alarm. With kind regards, Jevgeni Holodkov On Fri, May 14, 2010 at 5:04 PM, Carsten Dominik wrote: > > On May 11, 2010, at 10:02 AM, Jevgeni Holodkov wrote: > >> Hello, >> >> When I use the org-mode in agenda view, I want to estimate the >> tasks so I hit "e". The information about estimations appears in the >> minibuffer (such as "press 0-9.. , etc") and quickly dissappear, >> showing me just "e- ". Probably, this is more emacs question, but how >> do I make minibuffer not to clear the information? I'm using emacsw32 >> and org-mode v 6.35. > > Unfortunately, I cannot reproduce this problem (on a Mac...) > > - Carsten > > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] page setup - PDF Export
Thanks Eric, the use of geometry package is working. Thanks a lot, Rares On Thu, May 13, 2010 at 6:37 PM, Eric S Fraga wrote: > On Thu, 13 May 2010 15:15:26 +0300, Rares Pop wrote: > > > > [1 ] > > [1.1 ] > > Hi all, > > > > do you there is a way to modify the page setup parameters (top, bottom, > > left, right) when doing an PDF export. > > There are some predefined templates for A4, A5 format? > > > > I searched the manual and the mailing list and didn't find anything. > > > > Appreciate your help, > > Rares > > PDF export makes use of latex so you need to provide latex > customisations. The easiest (IMO) way to modify margins and paper > size is through the geometry package, as in: > > #+latex_header: \usepackage[margin=5cm]{geometry} > > in the preamble of your org file. > > See the documentation for the latex geometry package (on the web etc) > for full details of everything you can modify! > > HTH, > eric > > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] spreadsheet table limitations, specifically summing hours?
Earlier I wrote: > There seem to be two problems; > > c) Summing HH:MM values (which org-table-sum seems to manage - although oddly > without including the minutes - but not vsum) Excuse me answering my own question, but time is money, and so I've hastily written my own elisp functions to do this (appended). Perhaps this will help someone else. Given these functions defined in a .emacs config or similar, I can do: | | week ending | hh:mm | Total H | Total |VAT | Total+VAT | | ! | week| hhmm | hours | total |vat | | |---+-++-+---++---| | | 28/02/10| 20:11h | | || | | | 07/03/10| 21:11h | | || | | | 14/03/10| 25:40h | | || | | | 21/03/10| 27:16h | | || | |---+-++-+---++---| | # | 22/03/10| 94:18h | 94 | 2820 | 493.50 | 3313.50 | |---+-++-+---++---| | | 28/03/10| 26:24h | | || | | | 04/04/10| 21:15h | | || | | | 11/04/10| 23:15h | | || | |---+-++-+---++---| | # | 27/02/10| 70:54h | 71 | 2130 | 372.75 | 2502.75 | |---+-++-+---++---| #+TBLFM: $3='(reduce 'my-sum-hhmm '(@-...@-ii))::$4='(round (my-hhmm-to-hours $hhmm))::$5=$hours*$hourlyrate::$6=$total*$vatrate;%.2f::$7=$total+$vat;%.2f #+CONSTANTS: vatrate=0.175 hourlyrate=35 Although I'd still be interested if someone can show me a better way. Cheers, N ps I wonder if a long set of formulae like this could be split over several +TBLFM lines? The answer seems to be no. ;; Parse an HH::MM date into a list containing a pair of numbers, (HH MM) (defun my-parse-hhmm (hhmm) (let ((date-re "\\([0-9]+\\):\\([0-9]+\\)h?") hours minutes) (unless (string-match date-re hhmm) (error "Argument is not a valid date: '%s'" hhmm)) (setq hours (string-to-number (match-string 1 hhmm)) minutes (string-to-number (match-string 2 hhmm))) (list hours minutes))) ;; Convert a HH:MM date to a (possibly fractional) number of hours (defun my-hhmm-to-hours (hhmm) (let* ((date (my-parse-hhmm hhmm)) (hours (first date)) (minutes (second date))) (+ (float hours) (/ (float minutes) 60.0 ;; Date summing ;; This can be used in a table formula like this: ;; #+TBLFM: $3='(reduce 'my-sum-dates '(@-...@-ii)) (defun my-sum-hhmm (a b) (let* (;; parse a (a-date (my-parse-hhmm a)) (a-hours (first a-date)) (a-minutes (second a-date)) ;; parse b (b-date (my-parse-hhmm b)) (b-hours (first b-date)) (b-minutes (second b-date)) ;; add the parts together (minutes (+ a-minutes b-minutes)) (hours (+ a-hours b-hours)) (carry (floor (/ minutes 60))) (remainder (mod minutes 60))) (format "%d:%02dh" (+ hours carry) remainder))) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: information in minibuffer quickly dissappear in agenda view
Carsten Dominik writes: > On May 11, 2010, at 10:02 AM, Jevgeni Holodkov wrote: > >> Hello, >> >> When I use the org-mode in agenda view, I want to estimate the >> tasks so I hit "e". The information about estimations appears in the >> minibuffer (such as "press 0-9.. , etc") and quickly dissappear, >> showing me just "e- ". Probably, this is more emacs question, but how >> do I make minibuffer not to clear the information? I'm using emacsw32 >> and org-mode v 6.35. > > Unfortunately, I cannot reproduce this problem (on a Mac...) I can't reproduce this problem either. Org-mode version 6.36trans (release_6.36.43.g38b4) GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-11-03 on LENNART-69DE564 (patched) EmacsW32 Version 1.58 2009-12-07 -Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH 2/2] Remove superfluous third argument to `org-publish-cache-set'.
--- lisp/org-publish.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-publish.el b/lisp/org-publish.el index c35e3f4..e77b1a0 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -939,7 +939,7 @@ and return it." (setq org-publish-cache (make-hash-table :test 'equal :weakness nil :size 100)) (org-publish-cache-set ":project:" project-name) - (org-publish-cache-set ":cache-file:" cache-file org-publish-cache)) + (org-publish-cache-set ":cache-file:" cache-file)) (unless cexists (org-publish-write-cache-file nil org-publish-cache) -- 1.7.1 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH 0/2] org-publish: Fix errors of commit 339d6fe4bbf7b9858c6323d01f32d0c73a4cd3a8
Commit 339d6fe4bbf7b9858c6323d01f32d0c73a4cd3a8 introduced two bugs in org-publish: - it used something that resulted in "Invalid read syntax: '#'" when compiling: #s(...) that should be a (make-hash-table ...) - call two function `org-publish-cache-set' with superfluous third argument Both patches are available on git://github.com/dmj/dmj-org-mode.git quickfix. Not sure if such small bugfixes go into ChangeLog, so no ChangeLog update here. HTH -- David David Maus (2): Use `make-hash-table' to create hash table of org-publish-cache. Remove superfluous third argument to `org-publish-cache-set'. lisp/org-publish.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH 1/2] Use `make-hash-table' to create hash table of org-publish-cache.
--- lisp/org-publish.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-publish.el b/lisp/org-publish.el index 7a2f3c3..c35e3f4 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -937,7 +937,7 @@ and return it." (if cexists (load-file cache-file)) (unless org-publish-cache (setq org-publish-cache - #s(hash-table test equal weakness nil size 100 data ())) + (make-hash-table :test 'equal :weakness nil :size 100)) (org-publish-cache-set ":project:" project-name) (org-publish-cache-set ":cache-file:" cache-file org-publish-cache)) (unless cexists (org-publish-write-cache-file nil -- 1.7.1 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Hyperlinks capable?
On 05/12/2010 08:07 PM, Bob Paje wrote: > > Does Org-mode understand Windows shortcuts and Web hyperlinks? > Can a simple press of the RETURN key (a la Outlook) open a new window to > the shortcut file/folder or the web page, as it may be? > > bob Org supports hyperlinks to a lot of different things, including web URLs. Take a look at chapter 4, "Hyperlinks", in the manual: http://orgmode.org/manual/Hyperlinks.html#Hyperlinks I do not know what exactly you mean by "Windows shortcuts". You can link to any file on your hard disk; if you have not told it otherwise, Org will tell Windows to open the file with its associated application. You might also be able to link to an actual windows shortcut (.lnk or .pif files), although I don't think you'd want to that :) HTH, Jan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH 0/2] org-wl: Minor bugfix and cosmetic change to meet coding style
Carsten Dominik wrote: >Thanks David, please check the result of my merge - but I think it >went fine. Yes, everything is where it should be. >VERY convenient this way! Indeed. Just discovered that I can use git rebase to update the branch org-wl to master. Regards, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpMCvT1ptlPO.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: Cloning a task also clones the unique id [6.36trans]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I use unique ids for my tasks (enabling org-id in org-modules) If you clone a task with a unique id by using C-c C-x c the clone has a copy of the property drawer with the same ID. This causes org-id-update-id-locations to complain about duplicate ids. Cloning a task should probably remove the :ID: property in the clone. I haven't had time to look at a fix for this but figured I should report it early anyway. ,[ task to clone with C-c C-x C-c ] | ** test task |:PROPERTIES: |:ID: 491b47b5-3ee0-4f33-b0ee-991d4ca546f5 |:END: ` after cloning I get two identical copies - the second one shouldn't have an ID (or should have a new unique id) Regards, Bernt Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.36trans ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] showing image of latex code results produced from an R code block
Solution below! Erik Iverson wrote: Hello, consider the following org-mode file: = * R returning LaTeX for display I have an R function that generates LaTeX code. I would like the resulting LaTeX to be displayed in an inline image in the org-buffer #+begin_src R lf <- function() { "\\LaTeX" } lf() #+end_src #+results: : \LaTeX I want the above results to actually be just like below, i.e., process the results as LaTeX and include an image of the results. I think org-babel can do this sort of thing, it's just escaping me how! * If I just specify LaTeX as the input language, all works as I hope #+begin_src latex :file latex-logo.png \LaTeX #+end_src[$] The LaTeX logo is displayed properly below on my screen with the latest inline image functions. #+results: [[file:latex-logo.png]] The solution is simply to give the R src block a name, then create a new src block of LaTeX code which calls the R src block using the noweb syntax. Note that in my actual application the LaTeX returned is *not* an R object like in my example, it is actually just text written to stdout, so in my R source block I use :results output. #+srcname: R-latex #+begin_src R lf <- function() { "\\LaTeX" } lf() #+end_src #+begin_src latex :noweb yes :file latex-logo.png <> #+end_src Now I can preview tables produced by Hmisc's latex function in my org-mode buffer, very nice! ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Cloning a task also clones the unique id [6.36trans]
Bernt Hansen wrote: >I use unique ids for my tasks (enabling org-id in org-modules) >If you clone a task with a unique id by using C-c C-x c the clone has a >copy of the property drawer with the same ID. Commit b18a4f8a2b093f951fdd143b1331a135eab4e515 in git://github.com/dmj/dmj-org-mode.git quickfix fixes this glitch by removing the ID property of the clones of the original subtree. It makes sense to not clone the ID properties if we think of it representing the identity of a subtree. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgp2Oz0gV33eA.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug: Cloning a task also clones the unique id [6.36trans]
David Maus writes: > Bernt Hansen wrote: > >>I use unique ids for my tasks (enabling org-id in org-modules) > >>If you clone a task with a unique id by using C-c C-x c the clone has a >>copy of the property drawer with the same ID. > > Commit b18a4f8a2b093f951fdd143b1331a135eab4e515 in > git://github.com/dmj/dmj-org-mode.git quickfix fixes this glitch by > removing the ID property of the clones of the original subtree. > > It makes sense to not clone the ID properties if we think of it > representing the identity of a subtree. Hi David, Thanks for this. There's a problem with it if you don't do a time shift when you clone -- in this case you don't remove the entry. C-c C-x c 1 RET RET produces a straight copy of the task including the id. Regards, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug: Cloning a task also clones the unique id [6.36trans]
Bernt Hansen wrote: >David Maus writes: >> Bernt Hansen wrote: >> >>>I use unique ids for my tasks (enabling org-id in org-modules) >> >>>If you clone a task with a unique id by using C-c C-x c the clone has a >>>copy of the property drawer with the same ID. >> >> Commit b18a4f8a2b093f951fdd143b1331a135eab4e515 in >> git://github.com/dmj/dmj-org-mode.git quickfix fixes this glitch by >> removing the ID property of the clones of the original subtree. >> >> It makes sense to not clone the ID properties if we think of it >> representing the identity of a subtree. >Hi David, >Thanks for this. There's a problem with it if you don't do a time shift >when you clone -- in this case you don't remove the entry. >C-c C-x c 1 RET RET >produces a straight copy of the task including the id. Ah, yes, thanks. Deleting the property occurred on the wrong place. Fixed in 51a37ca09529e2597a863e7b7390da4409c750dc in git://github.com/dmj/dmj-org-mode.git quickfix. I'm not sure if we should delete an empty property drawer after cloning, too. E.g. If the ID property was the only property of the original subtree the clone have an empty property drawer. Though, it is just a cosmetic issue. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpZi8tFcU3qF.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug: Cloning a task also clones the unique id [6.36trans]
David Maus writes: > Ah, yes, thanks. Deleting the property occurred on the wrong place. Fixed in > 51a37ca09529e2597a863e7b7390da4409c750dc in > git://github.com/dmj/dmj-org-mode.git quickfix. > > I'm not sure if we should delete an empty property drawer after > cloning, too. E.g. If the ID property was the only property of the > original subtree the clone have an empty property drawer. Though, it > is just a cosmetic issue. Personally I would prefer to delete the empty drawer. I still have weird behaviour with cloning a subtree. I start with this: , | * test task | :PROPERTIES: | :ID: c3601a9c-d1f6-4e76-b7fc-707895112011 | :END: ` and on the heading repeatedly clone it with C-c C-x c 1 RET RET and I get this: , | * test task | :PROPERTIES: | :ID: c3601a9c-d1f6-4e76-b7fc-707895112011 | :END: | * test task | :PROPERTIES: | :END: ` then this , | * test task | :PROPERTIES: | :ID: c3601a9c-d1f6-4e76-b7fc-707895112011 | :END: | * test task | :PROPERTIES: | :ID: c3601a9c-d1f6-4e76-b7fc-707895112011 | :END: | * test task | :PROPERTIES: | :END: ` then this , | * test task | :PROPERTIES: | :ID: c3601a9c-d1f6-4e76-b7fc-707895112011 | :END: | * test task | :PROPERTIES: | :ID: c3601a9c-d1f6-4e76-b7fc-707895112011 | :END: | * test task | :PROPERTIES: | :END: | * test task | :PROPERTIES: | :END: ` and as far as I can tell it behaves normally after the 3rd clone. I don't understand why the second clone keeps the ID. All clones I've tried after that produce the expected result with the empty property drawer. Org-mode version 6.36trans GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Regards, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug: Cloning a task also clones the unique id [6.36trans]
Bernt Hansen wrote: >David Maus writes: >> Ah, yes, thanks. Deleting the property occurred on the wrong place. Fixed >> in >> 51a37ca09529e2597a863e7b7390da4409c750dc in >> git://github.com/dmj/dmj-org-mode.git quickfix. >> >> I'm not sure if we should delete an empty property drawer after >> cloning, too. E.g. If the ID property was the only property of the >> original subtree the clone have an empty property drawer. Though, it >> is just a cosmetic issue. >Personally I would prefer to delete the empty drawer. I still have >weird behaviour with cloning a subtree. I start with this: [...] Again, sorry, yes. The problem was that I told Org to remove the ID property at headline at point after inserting the clone. Merely the headline at point after insert is not necessarily the clone but a sibling of the clone. Now it is definetly fixed in git://github.com/dmj/dmj-org-mode.git quickfix -- Org removes the ID property in the copy of the original subtree before it is inserted anywhere. Dang, you should always be sure where (point) is when depending (point) to be somewhere specific. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpNFsPz5e8zW.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] problem compiling latest git
Hi all, There seems to be a problem. When compiling org-mode from the latest git repository, I get the following error: In org-publish-get-base-files-1: org-publish.el:407:13:Warning: reference to free variable `sitemap-requested' org-publish.el:915:1:Error: Invalid read syntax: "#" make: *** [lisp/org-publish.elc] Error 1 Best, Manuel ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] spreadsheet table limitations, specifically summing hours?
Hi Nick, are you aware of the table editor? Type C-c ' (single quote) when the point is somewhere in the table. Greetings, Stephan Also sprach Nick: ps I wonder if a long set of formulae like this could be split over several +TBLFM lines? The answer seems to be no. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-show-following-heading shows even when nil
Did I properly understand what the variable is supposed to do? Thanks. On 2010-05-06, Samuel Wales wrote: > When I go to a location from the agenda, the next headline > is revealed if it was hidden, even if it is a child. > > Setting org-show-following-heading to nil or leaving it at > its default value does not prevent this. Should it? The > documentation seems to suggest that it should. What I want > is for hidden children to remain hidden. > > Rationale: I like the buffer to be in a form that can be > obtained by navigation and cycling. For lack of a better > term, I call that "canonical visibility". > > Thanks. > > Samuel > > -- > Q: How many CDC "scientists" does it take to change a lightbulb? > A: "You only think it's dark." [CDC has denied a deadly disease for 25 > years] > == > Retrovirus: http://www.wpinstitute.org/xmrv/index.html > -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly disease for 25 years] == Retrovirus: http://www.wpinstitute.org/xmrv/index.html ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH 0/2] org-publish: Fix errors of commit 339d6fe4bbf7b9858c6323d01f32d0c73a4cd3a8
Applied, thanks. - Carsten On May 14, 2010, at 4:56 PM, David Maus wrote: Commit 339d6fe4bbf7b9858c6323d01f32d0c73a4cd3a8 introduced two bugs in org-publish: - it used something that resulted in "Invalid read syntax: '#'" when compiling: #s(...) that should be a (make-hash-table ...) - call two function `org-publish-cache-set' with superfluous third argument Both patches are available on git://github.com/dmj/dmj-org-mode.git quickfix. Not sure if such small bugfixes go into ChangeLog, so no ChangeLog update here. HTH -- David David Maus (2): Use `make-hash-table' to create hash table of org-publish-cache. Remove superfluous third argument to `org-publish-cache-set'. lisp/org-publish.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug: Cloning a task also clones the unique id [6.36trans]
Applied, thanks. - Carsten On May 14, 2010, at 11:01 PM, David Maus wrote: Bernt Hansen wrote: David Maus writes: Ah, yes, thanks. Deleting the property occurred on the wrong place. Fixed in 51a37ca09529e2597a863e7b7390da4409c750dc in git://github.com/dmj/dmj-org-mode.git quickfix. I'm not sure if we should delete an empty property drawer after cloning, too. E.g. If the ID property was the only property of the original subtree the clone have an empty property drawer. Though, it is just a cosmetic issue. Personally I would prefer to delete the empty drawer. I still have weird behaviour with cloning a subtree. I start with this: [...] Again, sorry, yes. The problem was that I told Org to remove the ID property at headline at point after inserting the clone. Merely the headline at point after insert is not necessarily the clone but a sibling of the clone. Now it is definetly fixed in git://github.com/dmj/dmj-org-mode.git quickfix -- Org removes the ID property in the copy of the original subtree before it is inserted anywhere. Dang, you should always be sure where (point) is when depending (point) to be somewhere specific. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] spreadsheet table limitations, specifically summing hours?
Stephan Schmitt wrote: > are you aware of the table editor? Type C-c ' (single quote) when the > point is somewhere in the table. Thanks - I did use it once or twice, and indeed it does makes it easier to edit the formulae, but doesn't seem to prevent the resulting +TBLFM line from disappearing off the side of the screen? My guess is, since the +TBLFM line is, or can be automatically re-generated, it is more convenient to parse and re-generate when restricted to one line. Something I can live with, anyway. N ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] Re: Custom docbook stylesheets.
Hi Carsten, Carsten Dominik writes: > Dear Baoqiu, > > thanks for the patch, I applied it. Can you please also make a patch > for the documentation - I think #+XSLT must be mentioned in the export > chapter > > And an entry for the Changes.org file would indeed be nice, can you > write that as well? Thanks for applying the previous patch. Attached below please find the 2nd patch that mainly covers the documentation changes, which include 1. Some changes in org.texi to cover `#+XSLT'. 2. An entry in Changes.org about the incompatible change. 3. A small change in org-exp.el to include `#+XSLT' in org-get-current-options(). Hope I did not miss anything important. Free feel to change the wording or add anything that you'd like to add. diff --git a/ORGWEBPAGE/Changes.org b/ORGWEBPAGE/Changes.org index b7352b3..eab265b 100644 --- a/ORGWEBPAGE/Changes.org +++ b/ORGWEBPAGE/Changes.org @@ -14,6 +14,47 @@ :CUSTOM_ID: v6.36 :END: +** Incompatible Changes + +*** Customizable variable changes for DocBook exporter + +To make it more flexible for users to provide DocBook exporter +related commands, we start to use format-spec to format the +commands in this release. If you use DocBook exporter and use it +to export Org files to PDF and/or FO format, the settings of the +following two customizable variables need to be changed: + +1. =org-export-docbook-xslt-proc-command= +2. =org-export-docbook-xsl-fo-proc-command= + +Instead of using =%s= in the format control string for all +arguments, now we use /three/ different format spec characters: + +1. =%i=: input file argument +2. =%o=: output file argument +3. =%s=: XSLT stylesheet argument + +For example, if you set =org-export-docbook-xslt-proc-command= to + +: java com.icl.saxon.StyleSheet -o %s %s /path/to/docbook.xsl + +in the past, now you need to change it to + +: java com.icl.saxon.StyleSheet -o %o %i %s + +and set a new customizable variable called +=org-export-docbook-xslt-stylesheet= to =/path/to/docbook.xsl=. + +Please check the documentation of these two variables for more +details and other examples. + +Along with the introduction of variable +=org-export-docbook-xslt-stylesheet=, we also added a new +in-buffer setting called =#+XSLT:=. You can use this setting to +specify the XSLT stylesheet that you want to use on a per-file +basis. This setting overrides +=org-export-docbook-xslt-stylesheet=. + ** Details *** Inline display of linked images diff --git a/doc/org.texi b/doc/org.texi index d2b7904..7b6afd7 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -9020,6 +9020,7 @@ Insert template with export options, see example below. #+LATEX_HEADER: extra line(s) for the LaTeX header, like \usepack...@{xyz@} #+EXPORT_SELECT_TAGS: Tags that select a tree for export #+EXPORT_EXCLUDE_TAGS: Tags that exclude a tree from export +#+XSLT:the XSLT stylesheet used by DocBook exporter to generate FO file @end example @noindent @@ -9860,7 +9861,7 @@ For more information, see the documentation on Worg. @section DocBook export @cindex DocBook export @cindex PDF export -...@cindex Cui, Baoqui +...@cindex Cui, Baoqiu Org contains a DocBook exporter written by Baoqiu Cui. Once an Org file is exported to DocBook format, it can be further processed to produce other @@ -9907,6 +9908,15 @@ need to have XSLT processor and XSL-FO processor software installed on your system. Check variables @code{org-export-docbook-xslt-proc-command} and @code{org-export-docbook-xsl-fo-proc-command}. +...@vindex org-export-docbook-xslt-stylesheet +The stylesheet argument (`%s') in variable +...@code{org-export-docbook-xslt-proc-command} is in general replaced by the +value of variable @code{org-export-docbook-xslt-stylesheet}, which is +expected to be set by the user. You can also tell DocBook exporter which +stylesheet to use on a per-file basis by adding an in-buffer setting +`#+XSLT:' to the Org file. The setting of `#+XSLT:' overrides +...@code{org-export-docbook-xslt-stylesheet}. + @kindex C-c C-e v D @item C-c C-e v D Export only the visible part of the document. @@ -11001,8 +11011,8 @@ keys. The corresponding variable is @code{org-tag-alist}. @item #+TBLFM: This line contains the formulas for the table directly above the line. @item #+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+DATE:, -...@itemx #+OPTIONS:, #+BIND: -...@itemx #+DESCRIPTION:, #+KEYWORDS: +...@itemx #+OPTIONS:, #+BIND:, #+XSLT:, +...@itemx #+DESCRIPTION:, #+KEYWORDS:, @itemx #+LATEX_HEADER:, #+STYLE:, #+LINK_UP:, #+LINK_HOME:, @itemx #+EXPORT_SELECT_TAGS:, #+EXPORT_EXCLUDE_TAGS: These lines provide settings for exporting files. For more details see diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 068f9c5..a4f9ac3 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2574,6 +2574,7 @@ Does include HTML export options as well as TODO and CATEGORY stuff." #+EXPORT_EXCLUDE_TAGS: %s #+LINK_UP: %s #+LINK_HOME: %s +#+XSLT: #+CATEGORY: %s #+S
Re: [Orgmode] Re: [PATCH] Re: Custom docbook stylesheets.
Hi, I have applied this change. Users of the docbook exporter should read the Changes.org entry Baoqiu has provided: Customizable variable changes for DocBook exporter == To make it more flexible for users to provide DocBook exporter related commands, we start to use format-spec to format the commands in this release. If you use DocBook exporter and use it to export Org files to PDF and/or FO format, the settings of the following two customizable variables need to be changed: 1. org-export-docbook-xslt-proc-command 2. org-export-docbook-xsl-fo-proc-command Instead of using =%s= in the format control string for all arguments, now we use /three/ different format spec characters: 1. %i : input file argument 2. %o : output file argument 3. %s : XSLT stylesheet argument For example, if you set =org-export-docbook-xslt-proc-command= to java com.icl.saxon.StyleSheet -o %s %s /path/to/docbook.xsl in the past, now you need to change it to java com.icl.saxon.StyleSheet -o %o %i %s and set a new customizable variable called =org-export-docbook-xslt-stylesheet= to =/path/to/docbook.xsl=. Please check the documentation of these two variables for more details and other examples. Along with the introduction of variable org-export-docbook-xslt-stylesheet, we also added a new in-buffer setting called #+XSLT:. You can use this setting to specify the XSLT stylesheet that you want to use on a per-file basis. This setting overrides org-export-docbook-xslt-stylesheet. On May 15, 2010, at 6:01 AM, Baoqiu Cui wrote: Hi Carsten, Carsten Dominik writes: Dear Baoqiu, thanks for the patch, I applied it. Can you please also make a patch for the documentation - I think #+XSLT must be mentioned in the export chapter And an entry for the Changes.org file would indeed be nice, can you write that as well? Thanks for applying the previous patch. Attached below please find the 2nd patch that mainly covers the documentation changes, which include 1. Some changes in org.texi to cover `#+XSLT'. 2. An entry in Changes.org about the incompatible change. 3. A small change in org-exp.el to include `#+XSLT' in org-get-current-options(). Hope I did not miss anything important. Free feel to change the wording or add anything that you'd like to add. diff --git a/ORGWEBPAGE/Changes.org b/ORGWEBPAGE/Changes.org index b7352b3..eab265b 100644 --- a/ORGWEBPAGE/Changes.org +++ b/ORGWEBPAGE/Changes.org @@ -14,6 +14,47 @@ :CUSTOM_ID: v6.36 :END: +** Incompatible Changes + +*** Customizable variable changes for DocBook exporter + +To make it more flexible for users to provide DocBook exporter +related commands, we start to use format-spec to format the +commands in this release. If you use DocBook exporter and use it +to export Org files to PDF and/or FO format, the settings of the +following two customizable variables need to be changed: + +1. =org-export-docbook-xslt-proc-command= +2. =org-export-docbook-xsl-fo-proc-command= + +Instead of using =%s= in the format control string for all +arguments, now we use /three/ different format spec characters: + +1. =%i=: input file argument +2. =%o=: output file argument +3. =%s=: XSLT stylesheet argument + +For example, if you set =org-export-docbook-xslt-proc-command= to + +: java com.icl.saxon.StyleSheet -o %s %s /path/to/docbook.xsl + +in the past, now you need to change it to + +: java com.icl.saxon.StyleSheet -o %o %i %s + +and set a new customizable variable called +=org-export-docbook-xslt-stylesheet= to =/path/to/docbook.xsl=. + +Please check the documentation of these two variables for more +details and other examples. + +Along with the introduction of variable +=org-export-docbook-xslt-stylesheet=, we also added a new +in-buffer setting called =#+XSLT:=. You can use this setting to +specify the XSLT stylesheet that you want to use on a per-file +basis. This setting overrides +=org-export-docbook-xslt-stylesheet=. + ** Details *** Inline display of linked images diff --git a/doc/org.texi b/doc/org.texi index d2b7904..7b6afd7 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -9020,6 +9020,7 @@ Insert template with export options, see example below. #+LATEX_HEADER: extra line(s) for the LaTeX header, like \usepack...@{xyz@} #+EXPORT_SELECT_TAGS: Tags that select a tree for export #+EXPORT_EXCLUDE_TAGS: Tags that exclude a tree from export +#+XSLT:the XSLT stylesheet used by DocBook exporter to generate FO file @end example @noindent @@ -9860,7 +9861,7 @@ For more information, see the documentation on Worg. @section DocBook export @cindex DocBook export @cindex PDF export -...@cindex Cui, Baoqui +...@cindex Cui, Baoqiu Org contains a DocBook exporter written by Baoqiu Cui. Once an Org file is exported to DocBook format, it can be further processed to produce other @@ -9907,6 +9908,15 @@ need to have XSLT processor and XSL-FO processor software installe
Re: [Orgmode] spreadsheet table limitations, specifically summing hours?
On May 14, 2010, at 11:59 PM, Stephan Schmitt wrote: Hi Nick, are you aware of the table editor? Type C-c ' (single quote) when the point is somewhere in the table. And, if you have a longish elisp formula, press TAB in the first line of the formula to get the formula spread over multiple lines and back. - Carsten Greetings, Stephan Also sprach Nick: ps I wonder if a long set of formulae like this could be split over several +TBLFM lines? The answer seems to be no. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] spreadsheet table limitations, specifically summing hours?
Hi Nick, these are useful functions, thanks! Maybe add the to org- hacks? Also, I could think of generalizations: Allow 94h and 94:16h and 94:16:22h. I would, in fact, strip the "h" and just use 94:16 - Carsten On May 14, 2010, at 4:49 PM, Nick wrote: Earlier I wrote: There seem to be two problems; c) Summing HH:MM values (which org-table-sum seems to manage - although oddly without including the minutes - but not vsum) Excuse me answering my own question, but time is money, and so I've hastily written my own elisp functions to do this (appended). Perhaps this will help someone else. Given these functions defined in a .emacs config or similar, I can do: | | week ending | hh:mm | Total H | Total |VAT | Total+VAT | | ! | week| hhmm | hours | total |vat | | |---+-++-+---++---| | | 28/02/10| 20:11h | | || | | | 07/03/10| 21:11h | | || | | | 14/03/10| 25:40h | | || | | | 21/03/10| 27:16h | | || | |---+-++-+---++---| | # | 22/03/10| 94:18h | 94 | 2820 | 493.50 | 3313.50 | |---+-++-+---++---| | | 28/03/10| 26:24h | | || | | | 04/04/10| 21:15h | | || | | | 11/04/10| 23:15h | | || | |---+-++-+---++---| | # | 27/02/10| 70:54h | 71 | 2130 | 372.75 | 2502.75 | |---+-++-+---++---| #+TBLFM: $3='(reduce 'my-sum-hhmm '(@-...@-ii))::$4='(round (my-hhmm- to-hours $hhmm))::$5=$hours*$hourlyrate::$6=$total*$vatrate;%.2f::$7=$total+ $vat;%.2f #+CONSTANTS: vatrate=0.175 hourlyrate=35 Although I'd still be interested if someone can show me a better way. Cheers, N ps I wonder if a long set of formulae like this could be split over several +TBLFM lines? The answer seems to be no. ;; Parse an HH::MM date into a list containing a pair of numbers, (HH MM) (defun my-parse-hhmm (hhmm) (let ((date-re "\\([0-9]+\\):\\([0-9]+\\)h?") hours minutes) (unless (string-match date-re hhmm) (error "Argument is not a valid date: '%s'" hhmm)) (setq hours (string-to-number (match-string 1 hhmm)) minutes (string-to-number (match-string 2 hhmm))) (list hours minutes))) ;; Convert a HH:MM date to a (possibly fractional) number of hours (defun my-hhmm-to-hours (hhmm) (let* ((date (my-parse-hhmm hhmm)) (hours (first date)) (minutes (second date))) (+ (float hours) (/ (float minutes) 60.0 ;; Date summing ;; This can be used in a table formula like this: ;; #+TBLFM: $3='(reduce 'my-sum-dates '(@-...@-ii)) (defun my-sum-hhmm (a b) (let* (;; parse a (a-date (my-parse-hhmm a)) (a-hours (first a-date)) (a-minutes (second a-date)) ;; parse b (b-date (my-parse-hhmm b)) (b-hours (first b-date)) (b-minutes (second b-date)) ;; add the parts together (minutes (+ a-minutes b-minutes)) (hours (+ a-hours b-hours)) (carry (floor (/ minutes 60))) (remainder (mod minutes 60))) (format "%d:%02dh" (+ hours carry) remainder))) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-show-following-heading shows even when nil
On May 7, 2010, at 7:32 AM, Samuel Wales wrote: When I go to a location from the agenda, the next headline is revealed if it was hidden, even if it is a child. Setting org-show-following-heading to nil or leaving it at its default value does not prevent this. Should it? The documentation seems to suggest that it should. What I want is for hidden children to remain hidden. Rationale: I like the buffer to be in a form that can be obtained by navigation and cycling. For lack of a better term, I call that "canonical visibility". Hi Samuel, for some reason I do not remember, I enforce showing the next headline in this special case. Please try the following patch and run with if for a while, to see if it causes any problems. - Carsten Modified lisp/org-agenda.el diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 19ea87c..d7bad10 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -6124,10 +6124,7 @@ and by additional input from the age of a schedules or deadline entry." (push-mark) (goto-char pos) (when (org-mode-p) - (org-show-context 'agenda) - (save-excursion - (and (outline-next-heading) -(org-flag-heading nil ; show the next heading + (org-show-context 'agenda)) (recenter (/ (window-height) 2)) (run-hooks 'org-agenda-after-show-hook) (and highlight (org-highlight (point-at-bol) (point-at-eol) Thanks. Samuel -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly disease for 25 years] == Retrovirus: http://www.wpinstitute.org/xmrv/index.html ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question: org-remember and level>1 target headline
On May 14, 2010, at 5:42 AM, Samuel Wales wrote: On 2010-05-13, Martin Pohlack wrote: Is there interest to define remember targets via paths or via ID? ID would be useful, I think. ID certainly - path could be useful to avoid ambiguities. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Include FAQ to info? (was: Org-FAQ request for full-text dump)
On May 13, 2010, at 6:46 PM, Memnon Anon wrote: Hi. Wouldn't it be nice to have the FAQ available for offline-browsing as well? The FAQ is an Org file, available in Worg... So does Gnus, Emacs itself ... If it is too much work to convert it to info proper, maybe an orgfile like org-help.org[1] could be added to the distribution. I do like org-help.org. But someone would have to: - go through it to check if it up to date - commit to do this again to update every few releases Cheers - Carsten Memnon Footnotes: [1] http://osdir.com/ml/attachments/orgF54hhOaC48.org ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-FAQ request for full-text dump
On May 13, 2010, at 6:13 AM, Dan Davison wrote: Benjamin Andresen writes: Hello guys, quite often people ask question in the IRC-channel (#org-mode on freenode) which are answered in the FAQ. Now I personally find the org-faq very cumbersome to use, due to its javascript-interface that grabs keys. +1 The info.js HTML export is an excellent invention, but I don't think it's right for the FAQ, at least not with the current setup. Personally I sometimes skim FAQs to get a sense of a project, and I think visitors should be able to scroll down / search in a familiar fashion to get more information. I think obliging random web visitors to use Info style navigation by default is a bad idea. To be honest I've never read anything in the FAQ because I can't easily skim it, and if I have a specific question I look in the manual. In addition to a flat format, a possible better way to use info.js for the FAQ would be in a "startup contents" mode, whereby all headings and questions are visible, but question answers are not. You can make your bookmark look like this: http://orgmode.org/worg/org-faq.php?VIEW=content - Carsten Dan (Just a short thing: I'm faster with my native browser search functionality than with the interface that is used on org-faq.php In my browser it's: /color n n n N n vs. s color s RET s RET s RET and I don't even know how to jump back to a previous search results (also sometimes the first search doesn't even work, I have to do it twice, haven't investigated this further.)) Because of this I currently use the org-faq.org file locally and then grab the CUSTOM_ID and attach it to the org-faq.php link as an anchor. So my question is basically: Could we get a plain dump of the file? (I don't know who controls the export and I guess just copying the file and stripping out all the infoJS stuff is not the right way to do it.) br, benny Please don't take offense, I'm sure many other people like the infoJS interface, I just find it inefficient and mainly different from the way I search the web. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Empty lines are added below heading when task is repeated and org-indent-mode is on
Using the latest version (6.36) if I have a heading like this: ** TODO test task stuff SCHEDULED: <2010-05-15 Sat 07:35 +1d> Then an empty line is inserted below the heading (before "stuff") if org-indent-mode is on and logging is set like this: (setq org-log-repeat nil) (setq org-log-done 'time) I tested it with a clean config using only the settings above. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode