Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists
Hello, Nathaniel Flath writes: Are there any further issues? Thanks, Nathaniel Flath I've quick checked your patch and it looks like it is doing its job. Two things to note, though: 1. I strongly recommend that `org-list-can-be-alphabetical' should make use of non-interactive forms instead of interactive ones. In other words, you should use `org-get-beginning-of-list' and `org-get-next-item' instead of `org-beginning-of-item-list' and `org-next-item'. You can see my note about it in org-list.el at line 856. If you have the structure of the list, `caadr' on it (or an equivalent if you don't like cl.el) will give you a valid top item needed by non-interactive forms. 2. Your patch doesn't apply to current git head, you should correct the conflict. Regards, -- Nicolas ___ 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] automatically org-mobile-push/pull ?
Hi. Is there anyway to execute automatically org-mobile-push/pull ? For example, when starting Emacs, org-mobile-pull is done. And when killing Emacs, org-mobile-push. I guess setting up elisp would do the job, but I am yet to understand elisp that much. Thanks in advance. Soichi ___ 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] automatically org-mobile-push/pull ?
Hi Soichi, On Thursday 11 November 2010 01:11 AM, ishi soichi wrote: Hi. Is there anyway to execute automatically org-mobile-push/pull ? For example, when starting Emacs, org-mobile-pull is done. And when killing Emacs, org-mobile-push. You can customise these hooks, (add-hook 'after-init-hook 'org-mobile-pull) (add-hook 'kill-emacs-hook 'org-mobile-push) And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el). Soichi Hope this helps. -- Suvayu Open source is the future. It sets us free. ___ 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] automatically org-mobile-push/pull ?
Thanks everyone. I will try to customize it. soichi 2010/11/11 Suvayu Ali fatkasuvayu+li...@gmail.comfatkasuvayu%2bli...@gmail.com Hi Soichi, On Thursday 11 November 2010 01:11 AM, ishi soichi wrote: Hi. Is there anyway to execute automatically org-mobile-push/pull ? For example, when starting Emacs, org-mobile-pull is done. And when killing Emacs, org-mobile-push. You can customise these hooks, (add-hook 'after-init-hook 'org-mobile-pull) (add-hook 'kill-emacs-hook 'org-mobile-push) And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el). Soichi Hope this helps. -- Suvayu Open source is the future. It sets us free. ___ 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] Strange character inserted by org-capture
Hi I have a setup which uses Dropbox to keep files in sync, between my Ubuntu Linux machine at home, and Windows XP at the office. I have the following setup in org-capture: (setq org-capture-templates (quote ((n Note entry (file+headline ~/My Dropbox/gtd/notes.org Notes) * %^{topic}\n%^T%?) (c Contact - BBDB entry (file+headline ~/My Dropbox/gtd/notes.org Notes) * %^t %^{Contact type|Call|Meeting} with %:name - %^{subject} %^G\n%a\n%?) (C Contact - no BBDB entry (file+headline ~/My Dropbox/gtd/notes.org Notes) * %^t %^{Contact type|Call|Meeting} with %^{name} - %^{subject} %^G\n%?) (x Index item entry (file+headline ~/My Dropbox/gtd/notes.org Notes) * %^t %^{topic}page %^{book--page number} %^G) (q Quick capture (inbox) entry (file ~/My Dropbox/gtd/capture.org) * %^{description}) (t TODO entry (file+headline ~/My Dropbox/gtd/gtd.org 08 Todos) * TODO %^{todo description} %^G\n%u) (p Project entry (file+headline ~/My Dropbox/gtd/gtd.org 05 Projects) * %^{Project description} %^G :project:\n%u) (r RFS entry (file+headline ~/My Dropbox/gtd/gtd.org 06 RFS) * %^{mmyy description rfs no} %^G :project:%u) (i Invoice entry (file+headline ~/My Dropbox/gtd/invoicing.org Invoicing) * TODO %^{Supplier|supplier1|supplier2|supplier3} %^{Account} invoice %^{Invoice number} - £%^{Amount Ex VAT} - %^{Date (dd mmm yy)}\n%u I am experiencing some strange behaviour when using the last option (Invoice) on my XP machine. The template inserts a strange character (I don't recognise it but it looks like an upper case A with a symbol above it) immediately before the £ sign. This doesn't happen on the Linux machine using the same files, same template, etc. Any ideas? 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] Re: s5 presentation
Great! Thanks! Finally got it working. Next question. Is it possible to get syntax highlighting in s5/org? This might be more related to s5 than to s5-org though. #+SETUPFILE: s5.org #+TITLE: Perl #+AUTHOR: Dov Grobgeld #+BIND: org-s5-html-preamble-footer h1A perl test/h1 * Perl - A simple perl program #+begin_src perl #!/usr/bin/perl while() { print $.: $_; } #+end_src * Thanks Bye bye! Thanks, Dov On Thu, Nov 11, 2010 at 12:31, Yann Hodique yhodi...@vmware.com wrote: Dov == Dov Grobgeld dov.grobg...@gmail.com writes: Thanks for your code, and for your help. I don't know what I did yesterday, but today, I got queried whether to allow BIND values in the buffer, and I then managed to see s5-demo.org in S5 mode in my browser, but something is messed up in the display. I see the first slide, but in a layer below it, the html text appears, and thus I have two layers of text which, one which scrolls (below) and one static (on top). I checked it with two firefox versions and two S5 versions but the problem remains. I put the resulting html file at: http://imagic.weizmann.ac.il/~dov/s5test/s5-demo.htmlhttp://imagic.weizmann.ac.il/%7Edov/s5test/s5-demo.html Do you have any idea of what wrong? After a quick look, it would seem that you're missing jquery.js and org-slides.js in your /~dov/s5test/ui directory Or maybe they're here, and there is a permission problem with those files ? In any case http://imagic.weizmann.ac.il/~dov/s5test/ui/jquery.jshttp://imagic.weizmann.ac.il/%7Edov/s5test/ui/jquery.jsgives a 404 error. Same for org-slides.js The consequence is that S5 is activated, but the document is not transformed correctly to fit into the expected model (hence the garbage display) Hope this helps, Yann. -- How simple things were when our Messiah was only a dream. -- STILGAR, Naib of Sietch Tabr ___ 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: s5 presentation
Dov == Dov Grobgeld dov.grobg...@gmail.com writes: Great! Thanks! Finally got it working. Next question. Is it possible to get syntax highlighting in s5/org? This might be more related to s5 than to s5-org though. Sure, but it's actually an org-mode question :) #+SETUPFILE: s5.org #+TITLE: Perl #+AUTHOR: Dov Grobgeld #+BIND: org-s5-html-preamble-footer h1A perl test/h1 * Perl - A simple perl program #+begin_src perl #!/usr/bin/perl while() { print $.: $_; } #+end_src Well, it just works for me. The HTML export takes care of highlighting code blocks (probably using htmlize or something similar). Then org-s5 doesn't transform at all those parts of the document. In your case I'd say that probably the source code exporter might fail for whatever reason. Is it doing the right thing for regular HTML export ? Alternately, I might have configured something somewhere to have code highlighting enabled, but I can't remember :) (and definitely not anything specific to org-s5). Anyway I suspect the problem is more on the org-mode side this time, whatever it is. Yann. -- One uses power by grasping it lightly. To grasp with too much force is to be taken over by power, thus becoming its victim. -- Bene Gesserit Axiom ___ 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: Habits bug?
Robert Horn rjh...@alum.mit.edu writes: I just noticed the following oddity. 1.) I have a custom agenda that consists of: (setq org-agenda-custom-commands '((h Agenda and This Week tasks ((agenda ) (todo THISWEEK) 2.) I have the default agenda period of 1 week at startup. The behavior I see is: a) When I do the C-c a h, I get the entire week, including the habits and habit bars at the end of the section for today (somewhere mid-week) b) If I type d to go into daily mode, the scheduled and extra todo's that are THISWEEK are shown. But the habits and habit bars are not present. c) When I repeat C-c a h to regenerate, it stays in the daily mode (as it should) and the habits and habit bars re-appear. This is odd, and probably reflects a subtle bug somewhere in the regeneration logic for changing the agenda period. It's not a critical issue, since the work around is so easy, but someone who understands that stretch of code might see it easily. I cannot reproduce this. I tried your custom command above (tweaked to use one of my TODO keywords --- STARTED). The habits consistently appeared when switching back and forth between day and week views. Would it be possible to provide a minimal file and config that reproduces the error? Best, Matt ___ 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: s5 presentation
Thanks. Indeed after installing htmlize did the html export contain the proper css formatting for keyword highlighting. But the generated html (neither in s5 org mode nor in normal html mode) does not contain the corresponding css for the syntax highllighted attributes (e.g. .org-string , .org-keyword, etc). But this is already outside the scope of s5-org and I'll ask this in a separate question. Regards, Dov On Thu, Nov 11, 2010 at 13:34, Yann Hodique yhodi...@vmware.com wrote: Dov == Dov Grobgeld dov.grobg...@gmail.com writes: Great! Thanks! Finally got it working. Next question. Is it possible to get syntax highlighting in s5/org? This might be more related to s5 than to s5-org though. Sure, but it's actually an org-mode question :) #+SETUPFILE: s5.org #+TITLE: Perl #+AUTHOR: Dov Grobgeld #+BIND: org-s5-html-preamble-footer h1A perl test/h1 * Perl - A simple perl program #+begin_src perl #!/usr/bin/perl while() { print $.: $_; } #+end_src Well, it just works for me. The HTML export takes care of highlighting code blocks (probably using htmlize or something similar). Then org-s5 doesn't transform at all those parts of the document. In your case I'd say that probably the source code exporter might fail for whatever reason. Is it doing the right thing for regular HTML export ? Alternately, I might have configured something somewhere to have code highlighting enabled, but I can't remember :) (and definitely not anything specific to org-s5). Anyway I suspect the problem is more on the org-mode side this time, whatever it is. Yann. -- One uses power by grasping it lightly. To grasp with too much force is to be taken over by power, thus becoming its victim. -- Bene Gesserit Axiom ___ 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] org-mode and htmlslidy
In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: - epresenter - Keyboard gets stuck, little control over display. - org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll Looking around the net I found the following javascript that seems that it could do the job: http://www.w3.org/Talks/Tools/Slidy2/#%283%29 How difficult would it be to connect it to org-mode? Am I right that it would simply be a relatively small rewrite of org-s5.el? Regards, Dov ___ 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-mode and htmlslidy
On 11/11/10 1:48 PM, Dov Grobgeld wrote: * org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll You can toggle s5 between slide view and ordinary web page view in the midst of a presentation. This also helps the audience realize that you're using something /way/ cooler than Powerpoint... :) Yours, Christian ___ 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: value of properties
Hi again, On second thought, I think you want to forget the solution I posted earlier today to your first problem. The sensible Org way to do it would be: - using headings with TODOs, not list items with checkboxes (as in my earlier example) - putting the numbers in a property, not the heading text, - defining a column view, - capturing the column view as a table in a dynamic block, and - adding a formula to that table that will extract and sum only the DONE items. I may post a full example later. Yours, Christian ___ 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-mode and htmlslidy
Thanks. Didn't know that. But it seems like you are then placed in the beginning of the html-page and have to search for the position of the slide that you were at. Not something that you are likely to want to do in the middle of a presentation. (This might make the audience long for PowerPoint...) Regards, Dov On Thu, Nov 11, 2010 at 15:08, Christian Moe m...@christianmoe.com wrote: On 11/11/10 1:48 PM, Dov Grobgeld wrote: * org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll You can toggle s5 between slide view and ordinary web page view in the midst of a presentation. This also helps the audience realize that you're using something /way/ cooler than Powerpoint... :) Yours, Christian ___ 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-mode and htmlslidy
On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.comwrote: In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: - epresenter - Keyboard gets stuck, little control over display. - org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll What about beamer? To date I haven't found anything I like as much! It just seems to do about everything... even if that means hunting down the occasional obscure code to force it to do my will! You can combine it with impressive! and do some fantastic things during presentations: http://impressive.sourceforge.net/ John ___ 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: value of properties
On second thought, I think you want to forget the solution I posted earlier today to your first problem. The sensible Org way to do it would be: - using headings with TODOs, not list items with checkboxes (as in my earlier example) - putting the numbers in a property, not the heading text, - defining a column view, - capturing the column view as a table in a dynamic block, and - adding a formula to that table that will extract and sum only the DONE items. Thanks again :) No, it's enough; from your first post I did understand the principles of solving my problem :). The idea is to get the informations from the org-table(speedsheets), org-list, and other org data into an emacs-lisp list, and afterwards I can play with the captured data :). I am investigating now the org functions that capture and that set properties. I will post a code after I write the functions that make what I want to do, and for now I am deepen the capabilities of org mode. Alin. ___ 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-mode and htmlslidy
Does beamer and impressive support scrolling? I assume not as beamer is LaTeX based which also uses fixed paper size. The paradigm of fixed size slides is imho a remnant from a time when slides were hardware and placed on a overhead projector. I see no reason why shouldn't be able to scroll a long slide during a presentation if you can't fit it all on a single screen full. Regards, Dov On Thu, Nov 11, 2010 at 15:17, John Hendy jw.he...@gmail.com wrote: On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.comwrote: In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: - epresenter - Keyboard gets stuck, little control over display. - org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll What about beamer? To date I haven't found anything I like as much! It just seems to do about everything... even if that means hunting down the occasional obscure code to force it to do my will! You can combine it with impressive! and do some fantastic things during presentations: http://impressive.sourceforge.net/ John ___ 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-mode and htmlslidy
On Thu, Nov 11, 2010 at 7:25 AM, Dov Grobgeld dov.grobg...@gmail.comwrote: Does beamer and impressive support scrolling? I assume not as beamer is LaTeX based which also uses fixed paper size. The paradigm of fixed size slides is imho a remnant from a time when slides were hardware and placed on a overhead projector. I see no reason why shouldn't be able to scroll a long slide during a presentation if you can't fit it all on a single screen full. Hmmm. Not on LInux right now -- I'll have to check. I know it zooms in on an area but not sure how it would handle a bigger-than-full-screen slide. My guess is that it would scale it to fit the page which would obviously not be what you want. What about prezi, then? No orgmode integration but seems to be the least powerpoint-ish and reminiscent of the olden days? http://prezi.com/ John Regards, Dov On Thu, Nov 11, 2010 at 15:17, John Hendy jw.he...@gmail.com wrote: On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.comwrote: In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: - epresenter - Keyboard gets stuck, little control over display. - org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll What about beamer? To date I haven't found anything I like as much! It just seems to do about everything... even if that means hunting down the occasional obscure code to force it to do my will! You can combine it with impressive! and do some fantastic things during presentations: http://impressive.sourceforge.net/ John ___ 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-mode and htmlslidy
On Thu, Nov 11, 2010 at 15:38, John Hendy jw.he...@gmail.com wrote: What about prezi, then? No orgmode integration but seems to be the least powerpoint-ish and reminiscent of the olden days? http://prezi.com/ You've got any idea of how to conceptually map a orgmode document into the non-linear mode of prezi? It certainly supports scrolling, though. Dov John Regards, Dov On Thu, Nov 11, 2010 at 15:17, John Hendy jw.he...@gmail.com wrote: On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.comwrote: In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: - epresenter - Keyboard gets stuck, little control over display. - org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll What about beamer? To date I haven't found anything I like as much! It just seems to do about everything... even if that means hunting down the occasional obscure code to force it to do my will! You can combine it with impressive! and do some fantastic things during presentations: http://impressive.sourceforge.net/ John ___ 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] Strange character inserted by org-capture
Paul Mead paul.d.m...@gmail.com writes: Hi, Paulm I have the following setup in org-capture: (setq org-capture-templates (quote ( (i Invoice entry (file+headline ~/My Dropbox/gtd/invoicing.org Invoicing) * TODO %^{Supplier|supplier1|supplier2|supplier3} %^{Account} invoice %^{Invoice number} - £%^{Amount Ex VAT} - %^{Date (dd mmm yy)}\n%u I am experiencing some strange behaviour when using the last option (Invoice) on my XP machine. The template inserts a strange character (I don't recognise it but it looks like an upper case A with a symbol above it) immediately before the £ sign. Also my template with the ÷ character showed the same behaviour. I think it's a problem of file encoding. + Is your .emacs utf-8? I mean the file where you store the (setq org-capture-templates (quote + is invoicing.org utf-8? C-x RET f utf-8 # change file encoding hth 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] Strange character inserted by org-capture
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: Paul Mead paul.d.m...@gmail.com writes: Hi, Paulm I have the following setup in org-capture: (setq org-capture-templates (quote ( (i Invoice entry (file+headline ~/My Dropbox/gtd/invoicing.org Invoicing) * TODO %^{Supplier|supplier1|supplier2|supplier3} %^{Account} invoice %^{Invoice number} - £%^{Amount Ex VAT} - %^{Date (dd mmm yy)}\n%u I am experiencing some strange behaviour when using the last option (Invoice) on my XP machine. The template inserts a strange character (I don't recognise it but it looks like an upper case A with a symbol above it) immediately before the £ sign. This is the result of an UTF-8 encoded character being displayed as a sequence of latin-1 (or similar encoding) characters. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.49.g0239) ___ 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-mode and htmlslidy
On Thu, Nov 11, 2010 at 8:04 AM, Dov Grobgeld dov.grobg...@gmail.comwrote: On Thu, Nov 11, 2010 at 15:38, John Hendy jw.he...@gmail.com wrote: What about prezi, then? No orgmode integration but seems to be the least powerpoint-ish and reminiscent of the olden days? http://prezi.com/ You've got any idea of how to conceptually map a orgmode document into the non-linear mode of prezi? It certainly supports scrolling, though. Not really! Though I wouldn't be surprised if most people use prezi more for the animations/transitions/uniqueness than really using the non-linearity. Does that make sense? As in, I know you can go to slide 1 (or zoom in on some area as your slide 1), move on to some other things and then quickly whip back to slide 1 as you say, Now, remember this information I spoke of earlier? Let's look at how that's affected by what I just referred to or something like that. I guess I'm taking non-linear to mean how you navigate through the information, not solely the fact that prezi is on a huge canvas and thus not a sequence (linear) of slides. If you just mean the ability to revisit things... I think there should definitely be a way to put your presentation together in advance so you revisit various things and make the appearance of non-linearity. But it will still be fullscreen slides showing one after another, not twirling and whirling around a canvas. Dov John Regards, Dov On Thu, Nov 11, 2010 at 15:17, John Hendy jw.he...@gmail.com wrote: On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.comwrote: In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: - epresenter - Keyboard gets stuck, little control over display. - org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll What about beamer? To date I haven't found anything I like as much! It just seems to do about everything... even if that means hunting down the occasional obscure code to force it to do my will! You can combine it with impressive! and do some fantastic things during presentations: http://impressive.sourceforge.net/ John ___ 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: Strange character inserted by org-capture
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: Also my template with the ÷ character showed the same behaviour. I think it's a problem of file encoding. + Is your .emacs utf-8? I mean the file where you store the (setq org-capture-templates (quote + is invoicing.org utf-8? C-x RET f utf-8 # change file encoding hth Giovanni Changing the init file encoding did the trick, 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] org-mode and htmlslidy
If you want scrolling, why don't you simply make a presentation using HTML with Org-mode? I mean, just show someone a webpage or two? Please understand I'm only curious, not hostile. To me, I just don't see why you'd want to combine presentations and scrolling... to me, the advantage of presentations is their fixed size. It forces me to focus on key points due to the limited real estate on each slide. Why not just make an outline in HTML (with all the pretty charts and graphs inserted) and project your talking points on a screen? On Thu, Nov 11, 2010 at 8:25 AM, Dov Grobgeld dov.grobg...@gmail.com wrote: Does beamer and impressive support scrolling? I assume not as beamer is LaTeX based which also uses fixed paper size. The paradigm of fixed size slides is imho a remnant from a time when slides were hardware and placed on a overhead projector. I see no reason why shouldn't be able to scroll a long slide during a presentation if you can't fit it all on a single screen full. Regards, Dov On Thu, Nov 11, 2010 at 15:17, John Hendy jw.he...@gmail.com wrote: On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.com wrote: In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: epresenter - Keyboard gets stuck, little control over display. org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll What about beamer? To date I haven't found anything I like as much! It just seems to do about everything... even if that means hunting down the occasional obscure code to force it to do my will! You can combine it with impressive! and do some fantastic things during presentations: http://impressive.sourceforge.net/ John ___ 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 -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] confusion with file search with org-links
Dear Experts, I am a little confused about how file links are supposed to work in orgmode. I have a link like [[file:/tmp/bug.bib::a bug][blah]] linking to a BiBTeX file but when I try to follow it via C-c C-o it just goes to the top of the file. Interestingly, when I open the file and set it to be in text mode and then follow the link, org puts me to the proper place in the file. I suspect that org-mode is getting confused with the file search feature when it opens a BiBTeX file. Why do I care? I'd like to be able to use a function like the one below to link to bib items: (defun store-bibtex-link () Make link to a bibtex entry. Calling this function inside a BiBTeX entry will create a link to that entry and store it so you can extract it via C-c C-l. This is useful for making links to BiBTeX items from your org files. (interactive) (let* ((title (bibtex-autokey-get-field title)) (myfile (buffer-file-name)) (mylink (format file:%s::%s myfile title)) ) (setq org-stored-links (cons (list mylink title) org-stored-links)) (message Stored: %s (or title mylink)) )) An example of the bug.bib illustrating the problem is shown below % start bug.bib % foo % bar @article{me98, title={a bug}, author={me}, journal={it}, year=1998, } %blah -- Thanks, -I.S. ___ 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] confusion with file search with org-links
Hi I.S. This should already work out of the box in bibtex files, but it will use the citation key instead of the title as the thing to search for. the code for this functionality is in org-bibtex.el - Carsten On Nov 11, 2010, at 9:58 AM, I.S. wrote: Dear Experts, I am a little confused about how file links are supposed to work in orgmode. I have a link like [[file:/tmp/bug.bib::a bug][blah]] linking to a BiBTeX file but when I try to follow it via C-c C-o it just goes to the top of the file. Interestingly, when I open the file and set it to be in text mode and then follow the link, org puts me to the proper place in the file. I suspect that org-mode is getting confused with the file search feature when it opens a BiBTeX file. Why do I care? I'd like to be able to use a function like the one below to link to bib items: (defun store-bibtex-link () Make link to a bibtex entry. Calling this function inside a BiBTeX entry will create a link to that entry and store it so you can extract it via C-c C-l. This is useful for making links to BiBTeX items from your org files. (interactive) (let* ((title (bibtex-autokey-get-field title)) (myfile (buffer-file-name)) (mylink (format file:%s::%s myfile title)) ) (setq org-stored-links (cons (list mylink title) org-stored- links)) (message Stored: %s (or title mylink)) )) An example of the bug.bib illustrating the problem is shown below % start bug.bib % foo % bar @article{me98, title={a bug}, author={me}, journal={it}, year=1998, } %blah -- Thanks, -I.S. ___ 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] Re: New Screencast: Setting Up Org-mode for Windows
Thanks for creating this, Russell. It's great! Oh, BTW, is there a tutorial on how to set up a Worg account for Windows users? You should be able to use Putty on Windows, the same way as ssh in Linux. See http://www.chiark.greenend.org.uk/~sgtatham/putty/ Ian. ___ 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 table export to pdf pagination problem
On Nov 11, 2010, at 7:29 AM, Amit Sethi wrote: Hi all , I am newbie to the org-mode. I just today to create a pdf file from the org-table I had. However I found that the page did not paginate properly and only part of the data that was visible on the buffer was converted into pdf. I am attaching the org file and the resultant pdf. May be there is something I am doing wrong here but I really don't know. P.S My org-mode version is 7.01h -- A-M-I-T S|S whole.orgwhole.pdf___ Aloha A-M-I-T S|S, By default, the Org-mode LaTeX exporter assumes that the length and width of a table will fit on the printed page. When this isn't the case, you'll need to override the default settings. This is discussed in the manual: http://orgmode.org/manual/Tables-in-LaTeX-export.html#Tables-in-LaTeX-export Looking at your pdf output, it appears to me that you will need to use a longtable and set the alignment. Fields with long entries can be wrapped in LaTeX with, e.g. p{1in}, where the part between the curly braces is a LaTeX length. You have 9 columns in the table, which might be a bit much for a printed page, but you would need to do something like this: #+ATTR_LaTeX: longtable align=llp{0.5in}p{0.5in}p{0.5in}p{0.5in}p{0.5in}p{0.5in}p{0.5in}, then fiddle with the length values until you have something that works. hth, 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
[Orgmode] [PATCH] Addition to Library of Babel
Add Eric Fraga's GANTT chart code to the Library of Babel. gantt.patch Description: Binary data Thomas S. Dye, Ph.D.T. S. Dye Colleagues, Archaeologists, Inc.Phone: (808) 529-0866 Fax: (808) 529-0884http://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
[Orgmode] Proposing a new way for org-get-level-face to behave (customizable)
Hi, I needed to get my outline-level-9 and further to look at least like the outline-level-8 and not cycling to outline-level-1 as my customization for this one got a bigger face. And I don't want a child to be bigger than its parent for visibility purpose. So I'm proposing this (I could provide a patch but as I'm not using the very last version of orgmode neither the git one, I thought it was useless to do so): (defcustom org-cycle-level-faces t If non-nil, level styles cycle after level org-n-level-faces, so level org-n-level-faces+1 is styled like level 1. If nil, then all levels =org-n-level-faces are styled like level org-n-level-faces :group 'org-appearance :type 'boolean) (defun org-get-level-face (n) Get the right face for match N in font-lock matching of headlines. (setq org-l (- (match-end 2) (match-beginning 1) 1)) (if org-odd-levels-only (setq org-l (1+ (/ org-l 2 (if org-cycle-level-faces (setq org-f (nth (% (1- org-l) org-n-level-faces) org-level-faces)) (setq org-f (nth (1- (if ( org-l org-n-level-faces) org-l org-n-level-faces)) org-level-faces)) ) (cond ((eq n 1) (if org-hide-leading-stars 'org-hide org-f)) ((eq n 2) org-f) (t (if org-level-color-stars-only nil org-f Hope it will be of some interest for some of you. Thanks to quicksilver on irc.freenode.net #org-mode for the help. Cheers. ___ 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-mode and htmlslidy
In principle I agree with you 99percent of the time, as descrete slides define the pace of the lecture, but at the same time I'm against arbitrary limitations. And not being able to scroll is imho such a limitation. Here are a couple of examples that I believe justifies scrolling: * A code listing. Splitting up a listing between two pages looses contents. * A tall graph, e.g a flow chart. In this sence I think that htmlslidy is better than s5. -- Sent from my Nokia N900 - Original message - If you want scrolling, why don't you simply make a presentation using HTML with Org-mode? I mean, just show someone a webpage or two? Please understand I'm only curious, not hostile. To me, I just don't see why you'd want to combine presentations and scrolling... to me, the advantage of presentations is their fixed size. It forces me to focus on key points due to the limited real estate on each slide. Why not just make an outline in HTML (with all the pretty charts and graphs inserted) and project your talking points on a screen? On Thu, Nov 11, 2010 at 8:25 AM, Dov Grobgeld dov.grobg...@gmail.com wrote: Does beamer and impressive support scrolling? I assume not as beamer is LaTeX based which also uses fixed paper size. The paradigm of fixed size slides is imho a remnant from a time when slides were hardware and placed on a overhead projector. I see no reason why shouldn't be able to scroll a long slide during a presentation if you can't fit it all on a single screen full. Regards, Dov On Thu, Nov 11, 2010 at 15:17, John Hendy jw.he...@gmail.com wrote: On Thu, Nov 11, 2010 at 6:48 AM, Dov Grobgeld dov.grobg...@gmail.com wrote: In looking for the perfect slide show generation from org-mode I have so far checked the following and found that they have serious problems: epresenter - Keyboard gets stuck, little control over display. org-s5 - No support for pages overflowing, e.g. when showing a long slides I would like to scroll What about beamer? To date I haven't found anything I like as much! It just seems to do about everything... even if that means hunting down the occasional obscure code to force it to do my will! You can combine it with impressive! and do some fantastic things during presentations: http://impressive.sourceforge.net/ John ___ 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 -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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 and blogging to blogger.com
I want to blog to blogger.com using org, but I am not yet up to trying org-googlecl.el. I will in the future, but don't want to go through the setup now. So I want to paste org-generated HTML into Blogger. But my first attempt did not work. I highlighted the region, exported to HTML, and pasted into the text box on Blogger. It said: Your HTML cannot be accepted: Tag is not allowed: HTML What do I need to change to make this work? === Also, org put the date (in two places) and the author in the generated HTML code. I don't want to export those, not even in the code. I looked for org-export-with- variables and did not find ones that matched. How do I prevent their export? 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 serious disease for 25 years] == HIV-like virus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper. ___ 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] HTML export and blogging to blogger.com
Samuel Wales samolog...@gmail.com wrote: ... Also, org put the date (in two places) and the author in the generated HTML code. I don't want to export those, not even in the code. I looked for org-export-with- variables and did not find ones that matched. How do I prevent their export? The following only takes care of the postamble author/date/email/creator insertions, but maybe that's enough? That's one place where a date is inserted, but I'm not sure where the other one is: the meta information perhaps? In any case, inserting --8---cut here---start-8--- #+BIND: org-export-html-auto-postamble nil --8---cut here---end---8--- in the file, or setting :auto-postamble to nil in the publishing project alist, will not export the standard postamble at all. Or you can use the BIND mechanism with org-export-author-info (and subordinately org-export-email-info) org-export-time-stamp-file org-export-creator-info org-export-html-validation-link org-export-html-with-timestamp for finer control. 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
Re: [Orgmode] HTML export and blogging to blogger.com
Hi Nick, That did not work for me. I did this: (setf org-export-html-auto-postamble nil) (setf org-export-time-stamp-file nil) These are all nil. org-export-author-info org-export-email-info org-export-creator-info org-export-html-validation-link org-export-html-with-timestamp I did not use publishing for this. Should I? Thanks. Samuel ___ 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] HTML export and blogging to blogger.com
Hi Samuel, I've been blogging with org-mode for a while and like it a lot. Let's me keep my blog posts in an org file for retention but still provides a convenient way to post to html. See this page of the manual for getting rid of a lot of other stuff: http://orgmode.org/manual/Export-options.html. For example, you can set some lines like this in your header: #+options: author:nil email:nil My publishing routine goes like this... Write up some text: * heading ** subheading for export blah blah blah blah - Highlight blah blah blah blah - C-c C-e R to export the region - In the new buffer created I delete everything from html to the text I want as well as the closing /html . I use C-x C-w to save that buffer to a file called export.txt - I open up a command line and run perl -pi -e ' s/\R/ /g; s/\p\//g; s/\\/p\/\n\n/g;' export.txt - I go back to emacs and do C-x C-f export.txt and tell it to reload and then copy that into blogger The perl command gets rid of p tags and since I run org in Fill mode it gets ride of the badly placed line breaks so everything is continuous. It's been working pretty good for me. I might need to optimize the perl. It's been a little bit since I used it but I recall it puts an extra space at the beginning of paragraphs or something. I'm sure there's some function I can't recall to get rid of the html heading but I can't recall what it is offhand. It's in the mailing list archives somewhere. For now my blogging is low enough that I don't mind stripping it off myself. John On Thu, Nov 11, 2010 at 4:05 PM, Samuel Wales samolog...@gmail.com wrote: I want to blog to blogger.com using org, but I am not yet up to trying org-googlecl.el. I will in the future, but don't want to go through the setup now. So I want to paste org-generated HTML into Blogger. But my first attempt did not work. I highlighted the region, exported to HTML, and pasted into the text box on Blogger. It said: Your HTML cannot be accepted: Tag is not allowed: HTML What do I need to change to make this work? === Also, org put the date (in two places) and the author in the generated HTML code. I don't want to export those, not even in the code. I looked for org-export-with- variables and did not find ones that matched. How do I prevent their export? 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 serious disease for 25 years] == HIV-like virus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper. ___ 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] HTML export and blogging to blogger.com
Hi John, On 2010-11-11, John Hendy jw.he...@gmail.com wrote: #+options: author:nil email:nil I presume that this is the same as what I tried in elisp. That did not work. Thanks for your detail of your publishing routine. That helps me know what the state of the art is. It looks like org can't yet export to whatever it is that Blogger requires. So I will just paste in plain text and forget about formatting and emphasis for now. I am limited in typing so doing that by hand is beyond what I can do. - C-c C-e R to export the region A documentation note: the manual has me confused about these: === C-c C-e H Export to a temporary buffer, do not create a file. C-c C-e R Export the active region to a temporary buffer. With a prefix argument, do not produce the file header and footer, but just the plain HTML section for the region. This is good for cut-and-paste operations. === I expected the former to detect an active region. Also it wasn't clear at first that it operated on the whole file instead of a subtree. I expected something like subtree unless prefix arg or active region for a single command. Thanks. Samuel ___ 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] HTML export and blogging to blogger.com
On Thu, Nov 11, 2010 at 5:18 PM, Samuel Wales samolog...@gmail.com wrote: Hi John, On 2010-11-11, John Hendy jw.he...@gmail.com wrote: #+options: author:nil email:nil That should be in your actual .org file. See below. I presume that this is the same as what I tried in elisp. That did not work. Thanks for your detail of your publishing routine. That helps me know what the state of the art is. It looks like org can't yet export to whatever it is that Blogger requires. So I will just paste in plain text and forget about formatting and emphasis for now. I am limited in typing so doing that by hand is beyond what I can do. Your call. I really don't endure much with this. Also, see below as your comment actually refreshed my mind about how easy this really is. - C-c C-e R to export the region A documentation note: the manual has me confused about these: === C-c C-e H Export to a temporary buffer, do not create a file. C-c C-e R Export the active region to a temporary buffer. With a prefix argument, do not produce the file header and footer, but just the plain HTML section for the region. This is good for cut-and-paste operations. === I expected the former to detect an active region. Also it wasn't clear at first that it operated on the whole file instead of a subtree. I expected something like subtree unless prefix arg or active region for a single command. Yes! I didn't remember this. The prefix argument is C-u (in case you did not know that... I had no idea when I first saw that). This works fantastically. *That's* how I was doing it when I was really in the groove. So, here's my updated method: - Write some stuff - Select it (move to beginning of what you want, C-space, move to end of what you want) - C-u C-c C-e R to export that region with no preamble to a separate buffer - C-x C-w export.txt - to terminal: perl -pi -e ' s/\R/ /g; s/\p\//g; s/\\/p\/\n\n/g;' export.txt - back to emacs: C-x C-f export.txt; type yes - M- to go to front of buffer, C-space, M- to go to end, M-w to copy - Paste into basic blogger edit box - Done Re. the first part... just take this and save it as an org file in an emacs buffer. --- #+AUTHOR:Samuel Wales #+OPTIONS: toc:nil *:t tags:nil author:nil email:nil * Heading 1 ** Sub Heading 1 Start. Here is some text that I am writing to test exporting. Here is some text that I am writing to test exporting. Here is some text that I am writing to test exporting. Here is some text that I am writing to test exporting. Here is some text that I am writing to test exporting. Here is some text that I am writing to test exporting. Here is some text that I am writing to test exporting. End. -- Then do the above with the blob from: Start. Here is... --- ...to test exporting. End. John Thanks. Samuel ___ 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] Trivial docstring patch
Following is a patch that fixes a misspelling in the docstring for org-todo-keywords. Also adds a little punctuation. ___ 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] Fixed typo in docstring for org-todo-keywords.
From: Robert P. Goldman rpgold...@real-time.com --- lisp/org.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 8227ed9..18e7fc5 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1958,7 +1958,7 @@ indicating if the keywords should be interpreted as a sequence of action steps, or as different types of TODO items. The first keywords are states requiring action - these states will select a headline for inclusion into the global TODO list Org-mode produces. If one of -the \keywords\ is the vertical bat \|\ the remaining keywords +the \keywords\ is the vertical bar, \|\, the remaining keywords signify that no further action is necessary. If \|\ is not found, the last keyword is treated as the only DONE state of the sequence. -- 1.7.2.2 ___ 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: Habits bug?
On 11/11/2010 07:07 AM, Matt Lundin wrote: Robert Horn rjh...@alum.mit.edu writes: I just noticed the following oddity. 1.) I have a custom agenda that consists of: (setq org-agenda-custom-commands '((h Agenda and This Week tasks ((agenda ) (todo THISWEEK) 2.) I have the default agenda period of 1 week at startup. The behavior I see is: a) When I do the C-c a h, I get the entire week, including the habits and habit bars at the end of the section for today (somewhere mid-week) b) If I type d to go into daily mode, the scheduled and extra todo's that are THISWEEK are shown. But the habits and habit bars are not present. c) When I repeat C-c a h to regenerate, it stays in the daily mode (as it should) and the habits and habit bars re-appear. This is odd, and probably reflects a subtle bug somewhere in the regeneration logic for changing the agenda period. It's not a critical issue, since the work around is so easy, but someone who understands that stretch of code might see it easily. I cannot reproduce this. I tried your custom command above (tweaked to use one of my TODO keywords --- STARTED). The habits consistently appeared when switching back and forth between day and week views. Would it be possible to provide a minimal file and config that reproduces the error? I didn't have time yet to create minimal files, but I learned more: 1) I can create it with a simpler custom command: (setq org-agenda-custom-commands '((h Agenda and This Week tasks ((agenda ) 2) The daily schedule stuff is also missing. So this is something in the agenda processing that is not unique to habits. 3) It only happens the first time after startup that I switch from weekly to daily mode. If I change the custom commands after that, there is no problem. This makes it act like some sort of initialization problem in daily/weekly agenda generation, not something unique to habits. (Having to type r once in the agenda after startup is not much of a problem.) 4) It happens with version 7.01g, and with the release_7.3-39-g68b5ca3 from git. I've attached my .emacs in case there is something odd in there that could be causing this. R Horn ;; Default window size ;; (setq initial-frame-alist '((top . 1)(left . 10)(width . 120)(height . 45))) (setq default-frame-alist '((width . 120)(height . 35)(menu-bar-lines . 1))) ;; ;; Always do fill ;; (add-hook 'text-mode-hook '(lambda () (visual-line-mode))) ;; ;; bring in remember ;; ;(add-to-list 'load-path ~/elisp/remember-2.0) ;(autoload 'remember remember nil t) ;(autoload 'remember-region remember nil t) ;;; (define-key global-map [f9] 'remember-region) ;(setq load-path (cons ~/elisp/remember load-path)) ;; ;; org-mode stuff ;; (setq load-path (cons ~/org-git/org-mode/lisp load-path)) (setq load-path (cons ~/org-git/org-mode/contrib/lisp load-path)) (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode)) (global-set-key \C-cl 'org-store-link) (global-set-key \C-ca 'org-agenda) (define-key global-map [f8] 'org-capture) ; was org-remember (add-hook 'org-mode-hook 'turn-on-font-lock) ; org-mode buffers only (require 'org-install) (require 'org-checklist) (setq org-directory ~/org/) (setq org-default-notes-file ~/org/notes) (setq org-log-done 'time) (setq org-todo-keywords (quote ( (sequence TODO(t) NEXT(n) THISWEEK(h) STARTED | DONE(d!/!)) (sequence WAITING(w@/!) SOMEDAY(S) | CANCELLED(c@/!)) (sequence DELEGATED | DONE(d!/!)) ))) (setq org-tag-alist '( (agfa . ?a) (dicom . ?d) (home . ?h) (ihe . ?i) (computer . ?c) )) ;; ;; ditaa stuff ;; (setq org-ditaa-jar-path /home/hornrj/org-git/org-mode/contrib/scripts/ditaa.jar) (add-hook 'org-babel-after-execute-hook 'org-display-inline-images) (setq org-babel-load-languages (quote ((emacs-lisp . t) (dot . t) (ditaa . t) (R . t) (python . t) (ruby . t) (gnuplot . t) (clojure . t) (sh . t ; Do not prompt to confirm evaluation ; This may be dangerous - make sure you understand the consequences ; of setting this -- see the docstring for details (setq org-confirm-babel-evaluate nil) ;; ;; Try some interesting colors for tasks ;; (setq org-todo-keyword-faces (quote ( (TODO :foreground red :weight bold) (NEXT :foreground steelblue :weight bold) (THISWEEK :foreground blue :weight bold) (DONE :foreground forestgreen :weight bold)
[Orgmode] bug: html export, latex fragments and emphasize
Hello, Here is a problem when a latex fragment is split across two lines and an emphasize follows. The text won't be italicized upon exporting to HTML. = * latex-fragments bug Imagine we have a formula starting here $e^{i\pi} + 1 = 0$. Now we have a problem with /emphasize/. = This is because the line starts with a char with 'org-protected property and, thus, get caught by the Protected HTML (org-html.el l. 1216) part of `org-export-as-html'. In others words, the line is inserted as-is in the output buffer, before getting any transformation. I'm not sure how it should be done (I don't get yet the usefulness of this Protected HTML part), but that piece of code may be moved after the `org-html-expand' call, as long as every sub-function in `org-html-expand' has a check to prevent modifying protected stuff (this not yet the case for `org-export-with-emphasize' and `org-html-protect' while others seem ok). But even in this case, every function getting called after that would be ignored. So, for example, links would not be inserted. Couldn't the Protected HTML part be removed altogether? Regards, -- Nicolas ___ 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: How to do Properties search by define an agenda command
Chao LU looc...@gmail.com writes: Dear all, I'm trying to figure out how to do Properties search by define an agenda command. Here is my item in org file: *** Franz Schwabl / Quantum Mechanics :PROPERTIES: :TITLE: Quantum Mechanics :AUTHOR: Franz Schwabl :CATEGORY: Quantum Mechanics :TAGS: Quantum Mechanics, Group Theory :KEYWORD: Quantum Mechanics, Perturbation, Second Quantization :LOCATION: iTune :END: And I want to define a agenda command to search this item out. I've tried this one, but did not work: (19 TEST occur-tree Title=Quantum Mechanics) (19 TEST tags Title=Quantum Mechanics) So is there anyone knows how to do this correctly? Two things: 1. You need to escape the inner quote marks in the custom command. 2. AFAICT Properties are case sensitive. Your drawer includes a TITLE property but your custom command searches for Title. This custom command worked for me: (setq org-agenda-custom-commands '((x TEST tags TITLE=\Quantum Mechanics\))) You could also just type the following: C-a m TITLE=Quantum Mechanics Note: you can also use regexps in property searches. E.g., C-a m TITLE={quantum.*mechanics} Best, Matt ___ 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: How to do Properties search by define an agenda command
David Maus dm...@ictsoc.de writes: At Wed, 10 Nov 2010 02:59:58 -0500, Chao LU wrote: I'm trying to figure out how to do Properties search by define an agenda command. Here is my item in org file: *** Franz Schwabl / Quantum Mechanics :PROPERTIES: :TITLE: Quantum Mechanics :AUTHOR: Franz Schwabl :CATEGORY: Quantum Mechanics :TAGS: Quantum Mechanics, Group Theory :KEYWORD: Quantum Mechanics, Perturbation, Second Quantization :LOCATION: iTune :END: IIRC the space character of a property value must be escaped (%20) because Org uses the plain space character to separate multiple values in a property. So the drawer should look like: :PROPERTIES: :TITLE: Quantum%20Mechanics :AUTHOR: Franz%20Schwabl :CATEGORY: Quantum%20Mechanics :TAGS: Quantum%20Mechanics Group%20Theory :KEYWORD: Quantum%20Mechanics Perturbation Second%20Quantization :LOCATION: iTune :END: But now, sadly, that's all we've got. The search engine can only search for equal strings (e.g. TITLE=Quantum%20Mechanics) or regular expression and it does not handle multivalue properties. I don't believe this is the case. The following search works fine for me with the OP's properties drawer: C-c a m TITLE=Quantum Mechanics Looks like to use the intended functionality someone has to patch Org mode's tag search to handle multivalue properties. I don't believe the space in property values is meant to indicate multiple values (i.e., in the same way that : separates tags). Here's an example from the manual: --8---cut here---start-8--- * CD collection ** Classic *** Goldberg Variations :PROPERTIES: :Title: Goldberg Variations :Composer: J.S. Bach :Artist:Glen Gould :Publisher: Deutsche Grammophon :NDisks:1 :END: --8---cut here---end---8--- That said, one can create ad hoc multivalue properties by using regexps in property searches. Best, Matt ___ 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] babel: delaying call to block preprocessing
Hello, I'm having a little problem when I want to insert a code block inside a list. Here is an example: = 1. Drawing is following: #+BEGIN_SRC asymptote :file drawing.pdf unitsize(5cm); draw(unitcircle); #+END_SRC Now find its center with compass only. 2. Another item. = Upon exporting this, as the code is removed, the blank lines surrounding it join together, creating a 2-blank-lines combo very bad for the list processing taking place a few lines later. Indeed, when `org-export-preprocess-string' proceeds marking list endings in the export string, it sees there two separates lists instead of one. So, the following patch moves `org-export-blocks-preprocess' out of its hook (now babel is in Org core this isn't needed anymore), and make it called somewhat later, after list processing (and after removing excluded and archived trees). Regards, -- Nicolas From f280a3ef4c8bc54eb0a299a66d42a4ac47622730 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou n.goaz...@gmail.com Date: Fri, 12 Nov 2010 03:08:09 +0100 Subject: [PATCH] babel: delay call to `org-export-blocks-preprocess' in export * lisp/org-exp.el (org-export-preprocess-string): delaying code block processing a bit to allow correct list parsing in the export string --- lisp/org-exp-blocks.el |3 --- lisp/org-exp.el|3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 3751e68..a469afc 100644 --- a/lisp/org-exp-blocks.el +++ b/lisp/org-exp-blocks.el @@ -201,9 +201,6 @@ which defaults to the value of `org-export-blocks-witheld'. (interblock start (point-max)) (run-hooks 'org-export-blocks-postblock-hook) -(add-hook 'org-export-preprocess-after-include-files-hook - 'org-export-blocks-preprocess) - ;; ;; type specific functions diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 9004dd5..820c179 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -1080,6 +1080,9 @@ on this string to produce the exported version. ;; Mark end of lists (org-export-mark-list-ending backend) + ;; Export code blocks + (org-export-blocks-preprocess) + ;; Handle source code snippets (org-export-replace-src-segments-and-examples backend) -- 1.7.3.2 ___ 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] HTML export and blogging to blogger.com
Hi John, Well, I can try something I should have tried before. Unfill the region (which probably does not always work, but might work enough of the time) and then export the region. It does look like exporting the region can be done without any of the export- variables set. Then perl and a file won't be necessary. On 2010-11-11, John Hendy jw.he...@gmail.com wrote: #+options: author:nil email:nil That should be in your actual .org file. See below. The question was actually why the elisp equivalent did not work. Again, however, it looks moot. Thanks everybody. Samuel ___ 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-mode and htmlslidy
* A code listing. Splitting up a listing between two pages looses contents. * A tall graph, e.g a flow chart. These are great examples of the point of being able to scroll. In fact, I haven't needed to do either of these yet in my lectures, so I didn't realize the value of scrolling. But if scrolling and zooming are essential... well, those are already built into the browser, so why not just use HTML (or org-mode translated to HTML)? You can always break up a slide by creating different pages and link them all together. I guess linking is the value added of something like slidy... -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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] HTML export and blogging to blogger.com
Samuel Wales samolog...@gmail.com wrote: That did not work for me. I did this: (setf org-export-html-auto-postamble nil) (setf org-export-time-stamp-file nil) These are all nil. org-export-author-info org-export-email-info org-export-creator-info org-export-html-validation-link org-export-html-with-timestamp I did not use publishing for this. Should I? I don't know why it didn't work for you. I did not use publishing either, just exported an org file to HTML. In my case, setting the variable in lisp, using the #+BIND: method or using John's #+OPTIONS: author:nil method worked, in the sense that the exported HTML file did not have a postamble at all or, with John's method, the postamble did not include the author. OTOH, the meta information in the preamble always includes the author, etc. The only way to not have *that* included is to export the body only, either by writing your own elisp to call org-export-as-html with the appropriate arguments, or by giving a prefix argument to org-export-region-as-html. 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: Having problems with faces in org agenda
On 9/30/10 Sep 30 -2:34 PM, Robert Goldman wrote: My org agendas for day and week are showing DONE items with the DONE in red, and not dulled out. This makes the agenda less useful than it might be for at-a-glance planning. This (bright red DONEs) does not happen when I am looking at an org file, where the TODO keyword is red and the DONE keyword is green. I know it's bad form for me to follow-up to my own post, but I have another piece of information. I have two ways of getting at the day's agenda. The ordinary org-agenda command, a, and then I can choose a day or week. I wanted to make shortcuts to just directly choose the day's or week's agenda. So I added these: (D Today's tasks ((agenda)) ((org-agenda-ndays 1))) (W This week's tasks ((agenda)) ((org-agenda-ndays 7))) to org-agenda-custom-commands. These are the commands that are causing me pain. If I use normal org-agenda and choose either day or week, the org faces are fine. If I use the D or W special commands I have defined above, I get the wrong faces, with DONE shown in red. So is there something in the above configuration that's wrong, and that causes the faces to go awry? thanks, r ___ 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-mode and htmlslidy
I tried warping s5-org this morning into slidy-org and I finally got it to work with one small remaining problem. In the resulting HTML I have: div id=outline-container-2 class=outline-2 which I want to change to: div id=outline-container-2 class=class What is the best way of changing that? I saw that s5-org is using some jquery rewrites of the xml tree. Is that the best way of solving it? Is there a possibility of doing this change directly in org-mode without javascript? Thanks! Dov On Fri, Nov 12, 2010 at 04:27, Jeff Horn jrhorn...@gmail.com wrote: * A code listing. Splitting up a listing between two pages looses contents. * A tall graph, e.g a flow chart. These are great examples of the point of being able to scroll. In fact, I haven't needed to do either of these yet in my lectures, so I didn't realize the value of scrolling. But if scrolling and zooming are essential... well, those are already built into the browser, so why not just use HTML (or org-mode translated to HTML)? You can always break up a slide by creating different pages and link them all together. I guess linking is the value added of something like slidy... -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ 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