Re: [Orgmode] [PATCH] s in agenda saves all org-mode buffers, does not mark entry for bulk action
Applied, thanks. - Carsten On Feb 5, 2010, at 6:43 AM, Noorul Islam K M wrote: Tyler Smith writes: Markus Heller writes: I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. In any agenda view, pressing s saves all org mode buffers and does not mark the item for bulk action. I went through my .emacs and couldn't find anything that looked like re-defining a key binding to configure this behaviour. How can I find out where this faulty behavior comes from? I don't get any error messages ... I think that's a bug in the documentation. `m' is the default key for marking items for bulk action, hard-coded into org-agenda.el. The info page lists s as the key for both `save all org buffers' and `mark for bulk action'. Minor documentation fix. Thanks and Regards Noorul diff --git a/doc/org.texi b/doc/org.texi index 9acbb9e..ec9be91 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -7626,7 +7626,7 @@ Jump to the running clock in another window. @cindex remote editing, bulk, from agenda @kindex m -...@item s +...@item m Mark the entry at point for bulk action. @kindex u ___ 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] [PATCH] s in agenda saves all org-mode buffers, does not mark entry for bulk action
Tyler Smith writes: > Markus Heller writes: > >> I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. >> >> In any agenda view, pressing s saves all org mode buffers and does not >> mark the item for bulk action. I went through my .emacs and couldn't >> find anything that looked like re-defining a key binding to configure >> this behaviour. >> >> How can I find out where this faulty behavior comes from? I don't get >> any error messages ... > > I think that's a bug in the documentation. `m' is the default key for > marking items for bulk action, hard-coded into org-agenda.el. The info > page lists s as the key for both `save all org buffers' and `mark for bulk > action'. Minor documentation fix. Thanks and Regards Noorul diff --git a/doc/org.texi b/doc/org.texi index 9acbb9e..ec9be91 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -7626,7 +7626,7 @@ Jump to the running clock in another window. @cindex remote editing, bulk, from agenda @kindex m -...@item s +...@item m Mark the entry at point for bulk action. @kindex u ___ 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: interacting with word processors (opeonffice, word)
On Thu, 04 Feb 2010 15:10:51 +, Eric S Fraga wrote: > At Thu, 04 Feb 2010 09:43:31 -0500, > Matt Price wrote: > > [...] > >> get documentsl ooking about how I want them to -- the default output of >> the latex export has way too much whitespace for my tastes -- but I >> guess I hsould be able to figure those issues out somehow. thanks >> again! >> matt >> >> > If it's the margins giving you too much white space (a common complaint > from people moving to latex from other types of word or document > procssors), you could try something along these lines: > > --8<---cut here---start->8--- > #+latex_header: \usepackage[letterpaper]{geometry} #+latex-header: > \geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3cm,rmargin=3cm} > --8<---cut here---end--->8--- > > untested. change "letterpaper" to your actual paper size, of course. > > HTH, > eric > Also the fullpage.sty package will do this for you too. Of course you need to name the size of your paper in the documentclass. \usepackage[options](fullpage) Shelagh > ___ 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] Re: s in agenda saves all org-mode buffers, does not mark entry for bulk action
Markus Heller writes: > On 2/4/2010 3:41 PM, Tyler Smith wrote: >> Markus Heller writes: >> >>> I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. >>> >>> In any agenda view, pressing s saves all org mode buffers and does not >>> mark the item for bulk action. I went through my .emacs and couldn't >>> find anything that looked like re-defining a key binding to configure >>> this behaviour. >>> >>> How can I find out where this faulty behavior comes from? I don't get >>> any error messages ... >> >> I think that's a bug in the documentation. `m' is the default key for >> marking items for bulk action, hard-coded into org-agenda.el. The info >> page lists s as the key for both `save all org buffers' and `mark for bulk >> action'. > > Ah, `m' does the trick! Thanks for pointing this out, Tyler! > > One more question: How can I access the info list you're talking about? > `C-h i' will open the info system, which will give you a window listing all the help files for your Emacs installation. Move the cursor to `Org Mode' and press enter. Alternatively, press m org. That brings you to the menu for the org-info manual. The info regarding the agenda view is in section 10, titled, funnily enough, `Agenda Views'. Cheers, Tyler ___ 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: s in agenda saves all org-mode buffers, does not mark entry for bulk action
On 2/4/2010 3:40 PM, Nick Dokos wrote: Markus Heller wrote: I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. In any agenda view, pressing s saves all org mode buffers and does not mark the item for bulk action. I went through my .emacs and couldn't find anything that looked like re-defining a key binding to configure this behaviour. How can I find out where this faulty behavior comes from? I don't get any error messages ... I don't think there is faulty behavior here - if you do C-h m in the agenda buffer, you get (at least, *I* get) these bindings: B org-agenda-bulk-action ... U org-agenda-bulk-remove-all-marks ... m org-agenda-bulk-mark ... s org-save-all-org-buffers ... u org-agenda-bulk-unmark Hi Nick, I was looking for the `m' key. I do get the same output as you. As Tyler pointed out, this seems to be a bug in the docu. Thanks and Cheers Markus ___ 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] s in agenda saves all org-mode buffers, does not mark entry for bulk action
Markus Heller wrote: > I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. > > In any agenda view, pressing s saves all org mode buffers and does not > mark the item for bulk action. I went through my .emacs and couldn't > find anything that looked like re-defining a key binding to configure > this behaviour. > > How can I find out where this faulty behavior comes from? I don't get > any error messages ... > I don't think there is faulty behavior here - if you do C-h m in the agenda buffer, you get (at least, *I* get) these bindings: B org-agenda-bulk-action ... U org-agenda-bulk-remove-all-marks ... m org-agenda-bulk-mark ... s org-save-all-org-buffers ... u org-agenda-bulk-unmark I guess you are looking for the m key? HTH, 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
[Orgmode] Re: s in agenda saves all org-mode buffers, does not mark entry for bulk action
On 2/4/2010 3:41 PM, Tyler Smith wrote: Markus Heller writes: I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. In any agenda view, pressing s saves all org mode buffers and does not mark the item for bulk action. I went through my .emacs and couldn't find anything that looked like re-defining a key binding to configure this behaviour. How can I find out where this faulty behavior comes from? I don't get any error messages ... I think that's a bug in the documentation. `m' is the default key for marking items for bulk action, hard-coded into org-agenda.el. The info page lists s as the key for both `save all org buffers' and `mark for bulk action'. Ah, `m' does the trick! Thanks for pointing this out, Tyler! One more question: How can I access the info list you're talking about? Thanks Marku ___ 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: s in agenda saves all org-mode buffers, does not mark entry for bulk action
Markus Heller writes: > I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. > > In any agenda view, pressing s saves all org mode buffers and does not > mark the item for bulk action. I went through my .emacs and couldn't > find anything that looked like re-defining a key binding to configure > this behaviour. > > How can I find out where this faulty behavior comes from? I don't get > any error messages ... I think that's a bug in the documentation. `m' is the default key for marking items for bulk action, hard-coded into org-agenda.el. The info page lists s as the key for both `save all org buffers' and `mark for bulk action'. Tyler ___ 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] s in agenda saves all org-mode buffers, does not mark entry for bulk action
Hello, I'm using org-mode version 6.34a on Windoze XP end emacs 23.1.1. In any agenda view, pressing s saves all org mode buffers and does not mark the item for bulk action. I went through my .emacs and couldn't find anything that looked like re-defining a key binding to configure this behaviour. How can I find out where this faulty behavior comes from? I don't get any error messages ... Thanks Markus ___ 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-archive-subtree keep structure
Hello, Is there a way to get org-archive-subtree to keep the tree structure in the archive file? this information is currently just added to the :ARCHIVE_OLPATH in the archive file; is there an option to get it to construct the tree instead? Thanks, Nathaniel Flath ___ 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: Changing paragraph setting in Latex export
Eric S Fraga writes: > > These are more latex questions than org-mode. On that note, I also > recommend the visual FAQ for latex users: > > http://www.ctan.org/tex-archive/info/visualFAQ/visualFAQ.pdf Thanks, although I'm going to have to find a pdf viewer that can deal with the popups - evince doesn't seem to want to know. > page 10 has an example of "raggedright" or "flushleft" text. > > for paragraph spacing, you want to modify latex variables \parindent > and \parskip; whether these get transferred through latex2rtf, I have > no idea. Sorry. Doesn't look like they do, unfortunately. Looks fine in PDF but my tutor insists on marking using Word... I'll see if there's anything in the latex2rtf documentation which might help. Thanks guys. ___ 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] Changing paragraph setting in Latex export
At Thu, 04 Feb 2010 13:24:55 -0500, Nick Dokos wrote: > > Eric S Fraga wrote: > > > > > These are more latex questions than org-mode. On that note, I also > > recommend the visual FAQ for latex users: > > > > http://www.ctan.org/tex-archive/info/visualFAQ/visualFAQ.pdf > > > > Links are clickable leading to web pages that describe the particular > > elements that accomplish whatever task you wish. > > > > page 10 has an example of "raggedright" or "flushleft" text. > > > > > > All I can say is: Wow! It's a keeper. > > Thanks for posting this. > > Nick You're very welcome. It's a fantastic document! It's saved me hours of googling or reading my latex books. ___ 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: Changing paragraph setting in Latex export
At Thu, 04 Feb 2010 18:03:03 +, Paul Mead wrote: > > Eric S Fraga writes: > > > > > These are more latex questions than org-mode. On that note, I also > > recommend the visual FAQ for latex users: > > > > http://www.ctan.org/tex-archive/info/visualFAQ/visualFAQ.pdf > > Thanks, although I'm going to have to find a pdf viewer that can deal > with the popups - evince doesn't seem to want to know. xpdf works well with links, at least on my system. i've never tried evince however. ___ 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-protocol: non-ASCII characters
Jan> After learning about org-protocol on worg, I got it working. Jan> There seems to be a problem with non-ASCII characters in the file names, Jan> though: an "ü" in the file path arrived in emacs as "%0 %))". I have been looking around and I am not sure how to solve this problem. Withing Evince and Xournal I am encoding any non alphanum (as defined by the C macro) each byte that is contained in the filename individually. Does anybody know which are the characters above 0 (zero) that need to be encoded for a safe org link? --dmg -- Daniel M. German http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . ___ 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] How to insert apostrophe (') into code and verbatim text?
On Feb 4, 2010, at 5:48 PM, Uriel Avalos wrote: Here's an easy one for the guru's, why does an apostrophe at the beginning of a =code= not work? When I export the following text to HTML, the "'life" variable isn't set as code (and the = symbols show up): Select ='life= for the x variable. If I escape the apostrophe, I course get back the escape character in the HTML: Select =\'life= for the x variable. That is because '=life=' was considered more likely than what you are using. Org-mode is using a heuristic method to figure out what is a normal equal sign, and what introduces code. Feel free to play with the variable `org-emphasis-regexp-components' and see if you can come up with something that works for you. - 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] Changing paragraph setting in Latex export
Eric S Fraga wrote: > > These are more latex questions than org-mode. On that note, I also > recommend the visual FAQ for latex users: > > http://www.ctan.org/tex-archive/info/visualFAQ/visualFAQ.pdf > > Links are clickable leading to web pages that describe the particular > elements that accomplish whatever task you wish. > > page 10 has an example of "raggedright" or "flushleft" text. > > All I can say is: Wow! It's a keeper. Thanks for posting this. 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] Changing paragraph setting in Latex export
At Thu, 04 Feb 2010 17:09:27 +, Paul Mead wrote: > > Hi > > I'm trying to export an org-mode file to Latex but I've got a couple of > niggles with the output. > > Firstly, there are no spaces between paragraph breaks, so my text looks > horribly bunched up (I'm converting to RTF using latex2rtf, btw) > > Secondly, the paragraphs all come out fully justified - this looks > pretty terrible on a fairly wide page (A4 with 1" margins in my case), > and I can't seem to find a way of changing this layout from the org > file. > > Can anyone help with this please? These are more latex questions than org-mode. On that note, I also recommend the visual FAQ for latex users: http://www.ctan.org/tex-archive/info/visualFAQ/visualFAQ.pdf Links are clickable leading to web pages that describe the particular elements that accomplish whatever task you wish. page 10 has an example of "raggedright" or "flushleft" text. for paragraph spacing, you want to modify latex variables \parindent and \parskip; whether these get transferred through latex2rtf, I have no idea. Sorry. HTH, 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
Re: [Orgmode] Changing paragraph setting in Latex export
Paul Mead wrote: > I'm trying to export an org-mode file to Latex but I've got a couple of > niggles with the output. > > Firstly, there are no spaces between paragraph breaks, so my text looks > horribly bunched up (I'm converting to RTF using latex2rtf, btw) > > Secondly, the paragraphs all come out fully justified - this looks > pretty terrible on a fairly wide page (A4 with 1" margins in my case), > and I can't seem to find a way of changing this layout from the org > file. > Try adding #+LaTeX: \setlength\parskip{5mm} #+LaTeX: \raggedright (season to taste). HTH, 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
[Orgmode] Changing paragraph setting in Latex export
Hi I'm trying to export an org-mode file to Latex but I've got a couple of niggles with the output. Firstly, there are no spaces between paragraph breaks, so my text looks horribly bunched up (I'm converting to RTF using latex2rtf, btw) Secondly, the paragraphs all come out fully justified - this looks pretty terrible on a fairly wide page (A4 with 1" margins in my case), and I can't seem to find a way of changing this layout from the org file. Can anyone help with this please? Thanks Paul ___ 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] Template org files, org-babel.
Hi Richard, That's an interesting idea. I know that Tom Dye has done something very similar with LaTeX templates, see [1] for an example. Given that babel supports output of raw Org-mode text, it shouldn't be overly difficult to define templates in your favorite scripting language and either write the results to new files, or dump the results into the current org-mode file. Here a small example I've worked up, I wonder how close it comes to what you had envisaged? template.org Description: Binary data I'll have to take a look at xiki. Cheers -- Eric Richard Riley writes: > What are the possibilities for auto creating an org file based on a > template so that all todo items are auto scheduled based on an arbitrary > start date? Or would this be strictly a job for sed/awk or something? > > Having just seen a screencast of xiki, > http://xiki.org/screencasts/web_development.html, I got to thinking of a > template workflow with the org-babel being used to perform steps e.g > create myql db, add user, update hosts file, etc etc etc. It would be > nice if that template flow could somehow inherit/prompt for init > parameters used throughout e.g start date, webname etc. Any ideas or > pointers in the right direction welcome. Hope that makes some sense. An > example of babel snippets setting/retrieving and sharing values between > them would be great. Possible? > > > > ___ > 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 Footnotes: [1] http://orgmode.org/worg/org-contrib/babel/uses.php#sec-3 ___ 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] How to insert apostrophe (') into code and verbatim text?
Uriel Avalos wrote: > Here's an easy one for the guru's, why does an apostrophe at the beginning of > a =code= not work? When I export the following text to HTML, the "'life" > variable isn't set as code (and the = symbols show up): > > Select ='life= for the x variable. > > If I escape the apostrophe, I course get back the escape character in the > HTML: > > Select =\'life= for the x variable. > Emphasis is applied by matching against a regular expression stored in the variable org-emph-re. I get , | org-emph-re is a variable defined in `org.el'. | Its value is | "\\([ ('\"{]\\|^\\)\\(\\([*/_=~+]\\)\\([^ \n,\"']\\|[^ \n,\"'].*?\\(?:\n.*?\\)\\{0,1\\}[^ \n,\"']\\)\\3\\)\\([- .,:!?;'\")}\\]\\|$\\)" | | Documentation: | Regular expression for matching emphasis. ` which is way too complicated for my simple mind to wrap around without some guidance. But the doc for org-export-with-emphasize says: , | org-export-with-emphasize is a variable defined in `org-exp.el'. | Its value is t | | Documentation: | Non-nil means, interpret *word*, /word/, and _word_ as emphasized text. | If the export target supports emphasizing text, the word will be | typeset in bold, italic, or underlined, respectively. Works only for | single words, but you can say: I *really* *mean* *this*. | Not all export backends support this. | | This option can also be set with the +OPTIONS line, e.g. "*:nil". ` so *words* are emphasized[1]. Can you write Select '=life= for the x variable. instead? The quote is not part of the block, but does that make much difference? And if it does, a little postprocessing on the HTML might be all that is needed[2]. HTH, Nick [1] although after staring at it for a while and with the hindsight provided by the org-export-with-emphasize doc, the part that goes [^ ^M\n,\"'] specifically excludes spaces, tabs, carriage returns, newlines, commas, double quotes and single quotes as components of words. [2] You might try changing the RE (it is constructed in org.el:org-set-emph-re()) - but regular expressions are very unforgiving beasts: you forget one character or add one too many and the whole thing goes to hell in a handbasket, faster than a bat out of hell - choose your own cliche' :-) ___ 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] Improve symlink handling in `org-babel-load-file'
Applied, Thanks! -- Eric Martin Kühl writes: > Hi, > > when `org-babel-load-file' is called on a symlink, its timestamp code > checks the modification date of the symlink instead of the file it > points to, leading it to skip tangling the source file although its > contents have been modified. > > The attached patch fixes this by resolving paths with `file-truename' > before calling `file-attributes'. > > Thanks, > Martin > > ___ > 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: Why isn't =:results value= working with (my) python?
Great, thanks. Both suggestions worked. Cheers, Scott - Original Message From: Dan Davison To: Thomas S. Dye Cc: Scott May ; emacs-orgmode@gnu.org Sent: Thu, February 4, 2010 11:16:43 AM Subject: Re: [Orgmode] org-babel: Why isn't =:results value= working with (my) python? "Thomas S. Dye" writes: > On Feb 4, 2010, at 5:06 AM, Scott May wrote: > > > Using org-babel, the following example produces no output for me when I > execute using C-c C-c: > > #+begin_src python :results value > 2 + 2 > #+end_src > > #+results: > : None > > In my messages buffer I see the following: > > : (Shell command succeeded with no output) > > Now the equivalent emacs-lisp example does work: > > #+begin_src emacs-lisp :results value > (+ 2 2) > #+end_src > > #+results: > : 4 > > Furthermore, > > #+begin_src python :results output > print(2 + 2) > #+end_src > > #+results: > : 4 > > works as expected. > > Am I missing something obvious? Is the problem with my python setup, or > perhaps org-babel-python? > > I have tested this on both my Windows and Ubuntu setups. I am using org > version 6.34trans. > > Cheers, > Scott > > > > Hi Scott, > > You need :session. Or, if you are going to stick with the default non-session evaluation, you need to include a return statement: #+begin_src python :results value return 2 + 2 #+end_src #+results: : 4 This is explained in full at http://orgmode.org/worg/org-contrib/babel/reference.php#header-argument-results scroll down to the 2-by-2 table and the explanation below it. Dan > > #+begin_src python :session :results value > 2 + 2 > #+end_src > > #+results: > : 4 > > hth, > Tom > > > Thomas S. Dye, Ph.D. > > T. S. Dye & Colleagues, Archaeologists, Inc. > > Phone: (808) 529-0866 Fax: (808) 529-0884 > > http://www.tsdye.com > > > > ___ > 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: Why isn't =:results value= working with (my) python?
"Thomas S. Dye" writes: > On Feb 4, 2010, at 5:06 AM, Scott May wrote: > > > Using org-babel, the following example produces no output for me when I > execute using C-c C-c: > > #+begin_src python :results value > 2 + 2 > #+end_src > > #+results: > : None > > In my messages buffer I see the following: > > : (Shell command succeeded with no output) > > Now the equivalent emacs-lisp example does work: > > #+begin_src emacs-lisp :results value > (+ 2 2) > #+end_src > > #+results: > : 4 > > Furthermore, > > #+begin_src python :results output > print(2 + 2) > #+end_src > > #+results: > : 4 > > works as expected. > > Am I missing something obvious? Is the problem with my python setup, or > perhaps org-babel-python? > > I have tested this on both my Windows and Ubuntu setups. I am using org > version 6.34trans. > > Cheers, > Scott > > > > Hi Scott, > > You need :session. Or, if you are going to stick with the default non-session evaluation, you need to include a return statement: #+begin_src python :results value return 2 + 2 #+end_src #+results: : 4 This is explained in full at http://orgmode.org/worg/org-contrib/babel/reference.php#header-argument-results scroll down to the 2-by-2 table and the explanation below it. Dan > > #+begin_src python :session :results value > 2 + 2 > #+end_src > > #+results: > : 4 > > hth, > Tom > > > Thomas S. Dye, Ph.D. > > T. S. Dye & Colleagues, Archaeologists, Inc. > > Phone: (808) 529-0866 Fax: (808) 529-0884 > > http://www.tsdye.com > > > > ___ > 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] Is it possible to control info.js' behavior
Chao Lu writes: > Dear all, > > I'm writing to see is it possible to control info.js' behavior, for > currently it will unfolded the content under the first headline, but what I > want is folded all. > > Any suggestion? > > Thanks a lot. > > Chao Add this line might help: #+INFOJS_OPT: view:showall Best wishes Sebastian ___ 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] How to insert apostrophe (') into code and verbatim text?
Here's an easy one for the guru's, why does an apostrophe at the beginning of a =code= not work? When I export the following text to HTML, the "'life" variable isn't set as code (and the = symbols show up): Select ='life= for the x variable. If I escape the apostrophe, I course get back the escape character in the HTML: Select =\'life= for the x variable. -- --Thanks! Uriel ___ 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: Why isn't =:results value= working with (my) python?
On Feb 4, 2010, at 5:06 AM, Scott May wrote: Using org-babel, the following example produces no output for me when I execute using C-c C-c: #+begin_src python :results value 2 + 2 #+end_src #+results: : None In my messages buffer I see the following: : (Shell command succeeded with no output) Now the equivalent emacs-lisp example does work: #+begin_src emacs-lisp :results value (+ 2 2) #+end_src #+results: : 4 Furthermore, #+begin_src python :results output print(2 + 2) #+end_src #+results: : 4 works as expected. Am I missing something obvious? Is the problem with my python setup, or perhaps org-babel-python? I have tested this on both my Windows and Ubuntu setups. I am using org version 6.34trans. Cheers, Scott Hi Scott, You need :session. #+begin_src python :session :results value 2 + 2 #+end_src #+results: : 4 hth, Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com ___ 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: interacting with word processors (opeonffice, word)
At Thu, 04 Feb 2010 09:43:31 -0500, Matt Price wrote: [...] > get documentsl ooking about how I want them to -- the default output of > the latex export has way too much whitespace for my tastes -- but I > guess I hsould be able to figure those issues out somehow. thanks > again! > matt > If it's the margins giving you too much white space (a common complaint from people moving to latex from other types of word or document procssors), you could try something along these lines: --8<---cut here---start->8--- #+latex_header: \usepackage[letterpaper]{geometry} #+latex-header: \geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3cm,rmargin=3cm} --8<---cut here---end--->8--- untested. change "letterpaper" to your actual paper size, of course. HTH, 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] org-babel: Why isn't =:results value= working with (my) python?
Using org-babel, the following example produces no output for me when I execute using C-c C-c: #+begin_src python :results value 2 + 2 #+end_src #+results: : None In my messages buffer I see the following: : (Shell command succeeded with no output) Now the equivalent emacs-lisp example does work: #+begin_src emacs-lisp :results value (+ 2 2) #+end_src #+results: : 4 Furthermore, #+begin_src python :results output print(2 + 2) #+end_src #+results: : 4 works as expected. Am I missing something obvious? Is the problem with my python setup, or perhaps org-babel-python? I have tested this on both my Windows and Ubuntu setups. I am using org version 6.34trans. Cheers, Scott ___ 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: interacting with word processors (opeonffice, word)
On Tue, 2010-02-02 at 22:00 +, Shelagh Manton wrote: > On Tue, 02 Feb 2010 21:40:49 +0200, Rainer M Krug wrote: > > > On Tue, Feb 2, 2010 at 8:34 PM, Matt Price > > wrote: > > > >> Hi, > >> > >> I;m getting more and more used to using org for my own writing > >> purposes, and love it. But I still find it pretty difficult to work > >> with word-processor users whoexpect to get a doument in .doc or .odt > >> formats. I've just found odt2org > >> (http://mantiel.wikidot.com/os:odt2org) which looks great for importing > >> odt files into org; but my main concern right now is getting things > >> from org-mode out into odt or doc. May i ask what other people tend to > >> do in this situation? I I guess I could export to html, then import in > >> Openoffice, then edit & save as odf, but this seems a little > >> cumbersome. If someone has a better solution I'd love to hear it. > >> > >> > > Oh - and ther is also: > > > > mk4ht oolatex > > > > which converts LaTeX to odt. > > > > Cheers, > > > > Rainer > > > Wouldn't the org-docbook package be suitable as there are docbook to odt > transformers (which makes sense as odt is a type of xml like docbook) > > http://open.comsultia.com/docbook2odf/ might be helpful. > > Shelagh > > thanks to everyone for their advice -- I'm going to try these all out & if I have any constructive commetns I'll report them back. It's a little duanting for me, as a non-latex user, to try to figure out how to get documentsl ooking about how I want them to -- the default output of the latex export has way too much whitespace for my tastes -- but I guess I hsould be able to figure those issues out somehow. thanks again! matt signature.asc Description: This is a digitally signed message part ___ 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] Adding code blocks from different files
Hi I discussed it already with Dan, and he suggested to post the question here: is it possible to have different org files, which then can be combined to a single output (pdf, latex, ...) and, more important, tangled together from a master document? I could imagine something (as suggested by Dan): <> and this code block in the external remote_file would be treated as part of the master-document. So tagling of several external files would be dealt with by tangling the master-document. Thanks, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax:+27 - (0)86 516 2782 Fax:+49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com ___ 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-plot] multiple graphs on a plot
At Wed, 03 Feb 2010 10:34:24 -0700, Eric Schulte wrote: > > Hi Eric, > > I don't believe anyone has yet extended org-plot to support multiple > independent variable columns. Since stating work on Org-babel [1], I > know use gnuplot source-code blocks for all of my plotting needs, as > they provide a more direct interface into gnuplot. For example the > following should provide the functionality your are looking for... > > #+tblname: my-table > | 1 | 2 | 1.5 | 3 | > | 2 | 4 | 3 | 9 | > | ... | | | | > > #+begin_src gnuplot :var data=my-table > plot data using 1:2, data using 3:4 > #+end_src Eric (& Tom as well), This works like a charm! I should have guessed that org-babel would be able to come to the rescue :-) Many thanks. Being able to embed such arbitrary programming languages etc is changing my whole workflow even more than org-mode itself did. A typical org file of mine these days seems always to include latex, shell commands and maxima code, and I can now add gnuplot to this set. Interestingly, 15 years on, org-mode &co. are accomplishing what the CMU folk wanted to do with their Andrew project, specifically their =ez= editor. It used to be that I hated leaving emacs to do anything; now it's getting to the point that I hate even leaving org-mode! I wonder if I can embed wanderlust within org-mode... ;-) Thanks again, 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
Re: [Orgmode] latex enumeration issue
At Wed, 03 Feb 2010 18:24:02 -0800, Mark Elston wrote: > P.S. If anyone is interested here is the embarrassingly simple hook > function I came up with. I show it not because I think anyone else > will find this thing useful but as an example of how simple it > really is to write this kind of thing. very useful, actually. i use org-mode for my cv. in my enumerated list of my publications, say, I often want to add some notes that don't appear in any exported version. but I also don't want the enumeration interrupted. There are other possible solutions but this simple function could prove quite useful indeed. thanks, 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] html export: specifying meta tags
Is there a way to specify code to be inserted as meta tags in the ... section of the exported HTML document? E.g. I'd like to insert the lines to force a frequently-updated document to be reloaded every time, rather than being cached by the browser. If there isn't a way to do that I'd like to propose this as a feature. Thanks, ilya ___ 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] Improve symlink handling in `org-babel-load-file'
Hi, when `org-babel-load-file' is called on a symlink, its timestamp code checks the modification date of the symlink instead of the file it points to, leading it to skip tangling the source file although its contents have been modified. The attached patch fixes this by resolving paths with `file-truename' before calling `file-attributes'. Thanks, Martin org-babel-load-file--symlinks.patch Description: Binary data ___ 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] Only show a certain weekday in the agenda view
Hi Manish, > I am guessing you probably want to see items related to your classes. Exactly. To get an overview for the next couple of weeks. > In that case if you tag the items related to classes, then you can > filter based on the tag ('/' in agenda or timeline view or 'C-c a m > "tag"'). Good idea. All events specific to my classes are in a file with #+CATEGORY: MNG. So I first tried to filter with '/' in agenda view on 'CATEGORY="MNG"' but that didn't work. Probably this works only with tags. Therefore I changed my org-file such that I have now a single headline as a parent for all these events. I gave this parent headline the tag :MNG:. Now I can filter in the agenda view based on this tag. This gives me more or less what I was looking for. So I configured the following custom agenda command: Org Agenda Custom Commands Choice: Value Menu Single command: Access Key(s) : u [X] Description: Unterricht am MNG Choice: Value Menu Agenda Match (only for some commands): Local settings for this command. Remember to quote values: INS DEL Setting: Value Menu Heading for this block: org-agenda-overriding-header Headline: Unterricht am MNG INS DEL Setting: Value Menu Number of days in agenda: org-agenda-ndays Integer: 28 INS DEL Setting: Value Menu Start on day of week: org-agenda-start-on-weekday Choice: Value Menu Weekday No.: 1 INS DEL Setting: Value Menu Any variable: Variable: org-agenda-show-all-dates Value (sexp): nil INS DEL Setting: Value Menu Tags filter preset: org-agenda-filter-preset List: Repeat: INS DEL +tag or -tag: +MNG INS Thanks for your help, Björn ___ 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] Suppressing table of contents
Hello, This is found in the manual in the export section: http://orgmode.org/ manual/Export-options.html#Export-options You must add an export option in your file: #+OPTIONS: toc:nil suppresses the table of contents. This option is not a custom LaTeX option, but I tested myself only with LaTeX and html export. Pierre Le 4 févr. 10 à 08:01, Raffi R a écrit : Dear list, Sorry to ask a FAQ-type question, but how do I suppress the table of contents generated in LaTeX files from orgmode? Must I use a custom class or is there a command I can insert into #+LaTeX_HEADER that will suppress its generation? Thank you, - Raffi. ___ 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