Re: [orgmode] time-to-number-of-days
On Jan 11, 2010, at 10:11 PM, Eric Schulte wrote: Adding (require 'time-date) to your .emacs should make the functions in time-date available... but it looks like the require statement above is called in org.el, so maybe try adding the more forceful (load path/to/time-date.el) to your .emacs I'm not sure why the require statement in org.el isn't sufficient? Indeed, time-date is explicitly required be org.el, so I don't know why this function is would not be available by the time you are using column view. - Carsten Best -- Eric David Ellis ddellis...@gmail.com writes: When I try to use column view in my org file (C-c C-x C-c), I get the following error: Symbol's function definition is void: time-to-number-of-days I looked at time-date.el and found the definition of time-to-number- of-days. I noticed that many of the functions in time-date.el have the following comment before the function is defined: ;;;###autoload I am using emacs 23.1.1 on Windows XP. Can anyone give me some help how to get this working. Thanks, Dave ___ 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
Re: [Orgmode] Exporting Column view Estimate
Hi Dustin (Dustin Hoffman? really??? :-) On Jan 11, 2010, at 8:41 PM, Dustin Hoffman wrote: I would like to export an estimate in column view via the text exporter. When I export the file now, none of the hour estimates or summation of estimates is displayed. I am not sure is anyone understands what you are talking about - I certainly don't. Please try to explain again, maybe with an example... ? - 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] external program choices?
Matt Price matt.pr...@utoronto.ca writes: this seems like a stupid question, but how do I control what programs org uses when it launches an exported file in an external viewer? files: /etc/mailcap $HOME/.mailcap already answered, at least, here: [Orgmode] Links and file association, Christoph Herzog, 2009/10/19 [Orgmode] OT?: viewing pdf as attachment, John Rakestraw, 2008/11/18 cheers, Giovanni ___ 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] external program choices?
Thanks, I have put it in. - Carsten On Jan 12, 2010, at 11:12 AM, Giovanni Ridolfi wrote: Carsten Dominik carsten.domi...@gmail.com writes: Time for a FAQ? Who is going to write it? :-) this FAQ can be places under the Errors and general problems section *** How can I control the program launched by Org-mode to open a certain file pdf, html This is more a Operating System question than a Org-mode question, however: In GNU/Linux (OS x ?? Carsten ) systems you have to check your mailcap settings, search the files: : /etc/mailcap : : or : : $HOME/.mailcap and modify them accordingly. Please read their manual entry. For Windows systems + for html pages you may configure the =browse-url-= variables through the Customize interface, + the pdf files are automatically opened with Acrobat Reader (if it is installed) - 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] org-babel-R and windows ?
I need help to be able to use org-babel functionality. I use emacs 22.3.1 in windows XP and org-mode 6.34. I have the following instructions in .emacs (require 'org-install) (require 'org-plot) (require 'org-babel-init) (require 'org-babel-R) ;; requires R and ess-mode (require 'org-babel-python);; requires python, and python-mode (require 'org-babel-ditaa) ESS module is loaded before : (load ~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site) I don't manage to get any output with R Software. Below you will find test I have done : #+srcname:trial #+begin_src sh echo output #+end_src #+results: trial : output #+srcname:trial #+begin_src R c(4,5,6,7,8,9) #+end_src I manage to have shell output, but when I tried R procedure, I have the following output in *Messages* buffer executing R source code block... Syntaxe du nom de fichier, de répertoire ou de volume incorrecte. Source block produced no output I have a look on temporary directory and I have the folllowing file : R-in-functional-results4452lyl Inside the following source code : main - function () { c(4,5,6,7,8,9) } write.table(main(), file=c:/Temp/emacs/tmp/R-out-functional-results4452y8r, sep=\t, na=nil,row.names=FALSE, col.names=FALSE, quote=FALSE) The file R-out-functional-results4452y8r exists but is empty. What I miss to make it work ? Regards ___ 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] org-babel-R and windows ?
d.tchin d.tc...@voila.fr writes: Hi, d.tchin , I need help to be able to use org-babel functionality. I use emacs 22.3.1 in windows XP and org-mode 6.34. I have the following instructions in .emacs (require 'org-install) (require 'org-plot) (require 'org-babel-init) (require 'org-babel-R) ;; requires R and ess-mode (require 'org-babel-python);; requires python, and python-mode (require 'org-babel-ditaa) ESS module is loaded before : (load ~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site) I don't manage to get any output with R Software. Below you will find test I have done : #+srcname:trial #+begin_src sh echo output #+end_src #+results: trial : output #+srcname:trial #+begin_src R c(4,5,6,7,8,9) #+end_src I manage to have shell output, but when I tried R procedure, I have the following output in *Messages* buffer executing R source code block... Syntaxe du nom de fichier, de répertoire ou de volume incorrecte. joking: what does that mean in *English*, you French-centric guy?! ;-) ah,yes, google translator is my friend: Syntax of the file name, directory or volume error. I suspect that R is not loaded/called correctly from org-babel + can you run R from emacs shell? + is the R executable in the path? + do you have all the backslashes defined correctly when you call the R executable? cheers, Giovanni ___ 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] hitting tab on last number item in list hides next paragraph
Carsten et al., with the attached file, if I position the cursor on the 3rd numbered entry in the first list and hit tab, the following single sentence paragraph is hidden. This seems somewhat non-intuitive to me or have I misunderstood something. My impression was that indentation was used to identify continuing elements in a list or paragraph. Even adding more blank lines between that 3rd entry and the sentence doesn't make any difference. This is not critical by any means! Just a curious behaviour. I am using org 6.34a from git repository as of half an hour ago. Thanks, eric ===File ~/s/test/test.org=== #+TITLE: test file for org mode #+DESCRIPTION: used for bug reports * A headline 1. a numbered list 2. the second entry 3. and another hopefully a new paragraph which separates the lists 1. another numbered list 2. and the second entry 3. and the third and last entry ___ 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-babel-R and windows ?
d.tchin d.tc...@voila.fr writes: I need help to be able to use org-babel functionality. I use emacs 22.3.1 in windows XP and org-mode 6.34. I have the following instructions in .emacs (require 'org-install) (require 'org-plot) (require 'org-babel-init) (require 'org-babel-R) ;; requires R and ess-mode (require 'org-babel-python);; requires python, and python-mode (require 'org-babel-ditaa) ESS module is loaded before : (load ~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site) I don't manage to get any output with R Software. Below you will find test I have done : #+srcname:trial #+begin_src sh echo output #+end_src #+results: trial : output #+srcname:trial #+begin_src R c(4,5,6,7,8,9) #+end_src I manage to have shell output, but when I tried R procedure, I have the following output in *Messages* buffer executing R source code block... Syntaxe du nom de fichier, de répertoire ou de volume incorrecte. Source block produced no output The org-babel default is to invoke R as an external shell command, and I think this is what is causing the problem. It requires that the emacs function shell-command can use the string R to invoke an R process, i.e. the R installation and the shell path must be such that this is the case. Seeing as you have ESS installed, how about using session-based evaluation? This means that org-babel uses an interactive R session running under the control of ESS. In general it is a better way to work with R in org-babel. It is described in the section Session-based Evaluation in http://orgmode.org/worg/org-contrib/babel/intro.php and also in the reference manual: http://orgmode.org/worg/org-contrib/babel/reference.php#header-argument-session basically you just set the :session header argument, e.g. #+srcname:trial #+begin_src R :session org-babel-R-session c(4,5,6,7,8,9) #+end_src Have a look here to see the different methods you can use to make this the default (without having to explicitly set the header arg each time) http://orgmode.org/worg/org-contrib/babel/reference.php#sec-3.1 Dan I have a look on temporary directory and I have the folllowing file : R-in-functional-results4452lyl Inside the following source code : main - function () { c(4,5,6,7,8,9) } write.table(main(), file=c:/Temp/emacs/tmp/R-out-functional-results4452y8r, sep=\t, na=nil,row.names=FALSE, col.names=FALSE, quote=FALSE) The file R-out-functional-results4452y8r exists but is empty. What I miss to make it work ? Regards ___ 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
Re: [Orgmode] org-babel-R and windows ?
Dan Davison davi...@stats.ox.ac.uk writes: [...] The org-babel default is to invoke R as an external shell command, and I think this is what is causing the problem. It requires that the emacs function shell-command can use the string R to invoke an R process, i.e. the R installation and the shell path must be such that this is the case. If the R command turns out to be the culprit it would be an easy fix to make the command used to run R externally a user-defined variable. -- Eric ___ 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] [babel] S-TAB folding
Aloha all, S-TAB on a #+begin_src line folds only the source code block and not the entire buffer, as it does elsewhere. Is this the desired behavior? All the best, Tom ___ 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] no syntax defined for comments
On Jan 12, 2010, at 5:05 PM, andrea wrote: I sometimes want to write comments in my org-mode files, but the handy function *comment-region* doesn't work, no syntax defined for.. Then I can choose '#' but it doesn't put it in the beginning of the line. I normally end in selecting the rectangle and run *string-rectangle* with '#', but that's a bit annoying. Why we can't just set '#' as the comment character so that normal functions work fine? For some reason, setting the comment character causes problems with autofilling, inserting that character in places where it does not belong - his has come up several times here -we even have a FAQ about it. http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments I'd love to see a solution for this problem, but I do not have one. - 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] no syntax defined for comments
Search this list for filladapt. On 2010-01-12, Carsten Dominik carsten.domi...@gmail.com wrote: On Jan 12, 2010, at 5:05 PM, andrea wrote: I sometimes want to write comments in my org-mode files, but the handy function *comment-region* doesn't work, no syntax defined for.. Then I can choose '#' but it doesn't put it in the beginning of the line. I normally end in selecting the rectangle and run *string-rectangle* with '#', but that's a bit annoying. Why we can't just set '#' as the comment character so that normal functions work fine? For some reason, setting the comment character causes problems with autofilling, inserting that character in places where it does not belong - his has come up several times here -we even have a FAQ about it. http://orgmode.org/worg/org-faq.php#auto-fill-and-unwanted-comments I'd love to see a solution for this problem, but I do not have one. - 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 -- Q: How many CDC scientists does it take to change a lightbulb? A: You only think it's dark. [CDC has denied ME/CFS for 25 years] = Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.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
[Orgmode] footnote export fails if footnote indented
If you hit TAB on a footnote definition, it indents it away from column 1, to align with its heading. However, the footnote definition needs to start in column 1 in order for the footnote to be correctly exported. It would be nice if the footnote exported correctly even when indented (or if that's problematic, then a less preferable solution would be having TAB not indent it). Dan --- * A That[1] was a reference to a footnote. * Footnotes [1] This is the footnote --- ___ 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] ... but no headline or content in org-mode
I had a look on your FAQS about problems. I could not see anything about eclipses ... but no healine or content I can not open the elipses. I can see the content if I change to text-mode. I know this was most probably caused by some random unconcious key pressing. I had noticed lone elipses before. Not knowing what to do I just deleted them. I think a little note should be put on the website to advise the content is still there. If there is no simple solution to fix this problem. You can always recommend they cut and paste the elipses into a temporay text-mode file, so they can manually put it back into their org-file. ___ 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: Which version org-mode
Hey Shawn, Shawn Koons srko...@gmail.com writes: How can I tell which version of Org-mode I am using? I originally installed emacs-snapshot and org-mode through Ubuntu's Synaptic Package manager, then found out about git, which I have used since. I just want to make sure that I am using the latest version. General strategy under Emacs. Use apropos. It takes regexp and therefor something like org.*version works as an input. M-x apropos RET org.*version RET The result will be org-version Thanks HTH, benny ___ 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: Which version org-mode
How can I tell which version of Org-mode I am using? There is a built in command for this. M-x org-version RET ___ 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-babel-R and windows ?
On Tue, Jan 12, 2010 at 11:13 PM, Dan Davison wrote: [snip: snipped (43 lines)] The org-babel default is to invoke R as an external shell command, and I think this is what is causing the problem. It requires that the emacs function shell-command can use the string R to invoke an R process, i.e. the R installation and the shell path must be such that this is the case. Seeing as you have ESS installed, how about using session-based evaluation? This means that org-babel uses an interactive R session running under the control of ESS. In general it is a better way to work with R in org-babel. It is described in the section Session-based Evaluation in http://orgmode.org/worg/org-contrib/babel/intro.php and also in the reference manual: http://orgmode.org/worg/org-contrib/babel/reference.php#header-argument-session basically you just set the :session header argument, e.g. #+srcname:trial #+begin_src R :session org-babel-R-session c(4,5,6,7,8,9) #+end_src Thanks for the advice regarding using sessions. It works now. But I have something interesting to report. With following test org file, evaluation of R block fails to produce desired results. If the lines with require are removed, the evaluation works fine. R session buffer contents are pasted below as well just in case they are of any help. --8---cut here---start-8--- * Test Here's how to set it up. (require 'org_babel_init) (require 'org_babel_R) (org_babel_load_library_of_babel) #+srcname: strings #+begin_src R :colnames t :session org-babel-R-strings t(sort(table(tolower(scan(~/personal/test-org-babel.org, what=, na.strings=|))), decreasing=TRUE)[1:10]) #+end_src #+results: strings --8---cut here---end---8--- --8---cut here---start-8--- R version 2.10.0 (2009-10-26) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. options(chmhelp = FALSE) options(STERM='iESS', editor='gnuclient.exe') t(sort(table(tolower(scan(~/personal/test-org-babel.org, what=, na.strings=|))), decreasing=TRUE)[1:10]) write.table(.Last.value, file=d:/home/zms/tmp/org-babel-R1752nPK, sep=\t, na=nil,row.names=FALSE, col.names=TRUE, quote=FALSE) 'org_babel_R_eoe' t(sort(table(tolower(scan(~/personal/test-org-babel.org, what=, na.strings=|))), decreasing=TRUE)[1:10]) Read 27 items strings #+begin_src #+end_src #+results: #+srcname: [1,] 2 1 1 1 1 (org_babel_load_library_of_babel) (require * :colnames :session [1,] 11 1 11 write.table(.Last.value, file=d:/home/zms/tmp/org-babel-R1752nPK, sep=\t, na=nil,row.names=FALSE, col.names=TRUE, quote=FALSE) 'org_babel_R_eoe' [1] org_babel_R_eoe --8---cut here---end---8--- Thank you -- Manish ___ 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