Re: [Orgmode] [babel] Is :results output inline possible
Thanks very much for your reply Eric. So the :results org feature was there all along. Searching for raw in org-babel.el shows it's nicely explained in the doc-string for org-babel-insert-result. (maybe I should have done that sooner) I also noticed the :results html and :results latex options which look very useful. The latex option encloses the output in a #+BEGIN_LaTeX ... #+END_LaTeX block, which is nice because when the source block is re-executed, the new results replace the old results. -- Would it be possible to have something like that for raw or org mode? (Maybe that would need a #+BEGIN_org ... #+END_org kind of construct.) Also, I've been looking at #+lob: which looks like another really useful idea, and there are two things I am wondering about. -- Is it possible to use #+lob: with :results output org ? -- Is it possible for #+lob: to take a string argument ? The 4 examples below show things I have tried. 1. and 2. work fine. 3. and 4. are what I can't work out. Thanks for any ideas you have about these things. al -- 1. :results output org - works -- #+srcname: randone #+begin_src ruby :results output org description = lucky number = 3 maximum = 100 puts * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+resname: randone * Random numbers Here are some lucky numbers: 48, 69, 6. -- 2. :results value - works with #+lob: -- #+srcname: randtwo(n,max) #+begin_src ruby :results value number = n maximum = max * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randtwo(n=3,max=100) #+resname: randtwo(n=3,max=100) : * Random numbers : Here are some random numbers: 14, 77, 75. -- 3. :results output org - doesn't work with #+lob: -- #+srcname: randthree(n,max) #+begin_src ruby :results output org number = n maximum = max puts * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randthree(n=3,max=10) #+resname: randthree(n=3,max=10) : nil -- 4. Not sure how to use string argument with #+lob: -- #+srcname: randfour(n,max,desc) #+begin_src ruby :results value description = desc number = n maximum = max * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randfour(n=3,max=100,desc=lucky) #+resname: randfour(n=3,max=100,desc=lucky) : randfour ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] Is :results output inline possible
Thanks very much for your reply Eric. So the :results org feature was there all along. Searching for raw in org-babel.el shows it's nicely explained in the doc-string for org-babel-insert-result. (maybe I should have done that sooner) I also noticed the :results html and :results latex options which look very useful. The latex option encloses the output in a #+BEGIN_LaTeX ... #+END_LaTeX block, which is nice because when the source block is re-executed, the new results replace the old results. -- Would it be possible to have something like that for raw or org mode? (Maybe that would need a #+BEGIN_org ... #+END_org kind of construct.) Also, I've been looking at #+lob: which looks like another really useful idea, and there are two things I am wondering about. -- Is it possible to use #+lob: with :results output org ? -- Is it possible for #+lob: to take a string argument ? The 4 examples below show things I have tried. 1. and 2. work fine. 3. and 4. are what I can't work out. Thanks for any ideas you have about these things. al -- 1. :results output org - works -- #+srcname: randone #+begin_src ruby :results output org description = lucky number = 3 maximum = 100 puts * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+resname: randone * Random numbers Here are some lucky numbers: 48, 69, 6. -- 2. :results value - works with #+lob: -- #+srcname: randtwo(n,max) #+begin_src ruby :results value number = n maximum = max * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randtwo(n=3,max=100) #+resname: randtwo(n=3,max=100) : * Random numbers : Here are some random numbers: 14, 77, 75. -- 3. :results output org - doesn't work with #+lob: -- #+srcname: randthree(n,max) #+begin_src ruby :results output org number = n maximum = max puts * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randthree(n=3,max=10) #+resname: randthree(n=3,max=10) : nil -- 4. Not sure how to use string argument with #+lob: -- #+srcname: randfour(n,max,desc) #+begin_src ruby :results value description = desc number = n maximum = max * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randfour(n=3,max=100,desc=lucky) #+resname: randfour(n=3,max=100,desc=lucky) : randfour ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Insert data with time
Sometimes when I insert a timestamp I would also like to put the time. But I haven't found any way to move in time and not only in the days, so I ended up to modify it by hand... Is there a smarter way? ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] getting Firefox tabs into org on a mac
On Mon, 19 Oct 2009 20:40:54 -0700 Samuel Wales samolog...@gmail.com wrote: I have a huge number of Firefox tabs that I want to get into org. Figuring out how has gotten complicated, despite good documentation out there. I want simply title and url for each tab. Maybe like this: * Firefox tabs * Public Git Hosting - Worg.git/summary http://repo.or.cz/w/Worg.git * Google Search http://www.google.com Would be nice to get fancier by allowing annotations (for use by fireforg?). And allowing syncing back and forth. But first, I just want to get started. I envision two ways of doing this. Maybe there are more. 1) Have emacs or a script convert one of the folders in the bookmark file to an org outline as above. 2) Have org-mac-protocol set up for individual tabs to be clicked to get them remembered. If I do (2), then I'd want it to be easy. That is, without having to switch from mouse to keyboard. But does (2) work on a Mac? Last I heard, org-mac-protocol works for Safari, but not Firefox. Fireforg has a workaround for Macs: http://orgmode.org/worg/org-devel.php#sec-1.2.6 So you could select the tabs one after another and trigger remember from the Fireforg status bar menu. (This menu is accessible by right clicking on the status bar entry.) I will add an entry to the tab context menu tonight to do this in one step. Concerning syncing I'm not sure I get your plan entirely. Is the main purpose of it to synchronize the tabs between different browsers? Andreas Ideas very welcome. I am stuck here. Thanks. P.S. I /also/ have a huge number of Safari tabs and a huge number of emacs-w3m tabs. I've found those also difficult to orgify. So ideas here are also welcome. But Firefox is more important now. ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Insert data with time
On Oct 20, 2009, at 9:57 AM, andrea wrote: Sometimes when I insert a timestamp I would also like to put the time. But I haven't found any way to move in time and not only in the days, so I ended up to modify it by hand... Is there a smarter way? C-u C-c RET will insert a time stamp with the current time. But even at the prompt of `C-c .', you can just type 2pm or 13:30 and this time will be integrated into the time stamp. HTH - Carsten ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] LaTeX export of tables
On Oct 19, 2009, at 1:58 PM, Francesco Pizzolante wrote: Hi, Can I give this thread a bump? Hi Francesco, Org-mode LaTeX export is intended to give you a way to export your file as LaTeX. It can never hope to give you all the formatting options LaTeX has. Sure, what you are saying could be implemented, but so could many other things. If you can come up with a patch, I would consider it, but I am so strained to keep up with the daily stuff, I don't expect to be able to put time into this. An alternative to do this is to post-process your file using one of the hooks and to switch out the environment used at that moment. - Carsten Francesco Pizzolante wrote: Hi, When exporting tables to LaTeX, I think it would be good to have the following options to be able to define: - the table environment to be used: now we have the option to have tabular and longtable, but I could also use array, tabular*, tabularx, tabulary, etc. The general rule is: \begin{TABLEENV}{WIDTH}[VPOS]{COLS} ROWS \end{TABLEENV} TABLEENV can be any of tabular, array, tabular*, tabularx, etc., depending on the type of table I want. Some types of table need a WIDTH to be specified; in this case, I would add a WIDTH option. An extra vertical position VPOS option can also be added to some types of table. The COLS parameter already receives the value from the align org attribute. The following options #+ATTR_LATEX: tabularx width=\textwidth align=lX vpos=tb would generate the following LaTeX code: \begin{tabularx}{\textwidth}[tb]{lX} ROWS \end{tabularx} - the rule to be used as hline (similar option as in #+ORGTBL: :hline=\\midrule): #+ATTR_LATEX: hline=midrule or #+ATTR_LATEX: hline=\\midrule - define the top and bottom rules: #+ATTR_LATEX: toprule=\\toprule bottomrule=\\bottomrule Does it make sense? Would it be possible to have these new options in a future orgmode release? I really am eager to use orgmode in order to generate all my LaTeX documents. But, as of now, the LaTeX export of tables offers only limited flexibility. My proposal is simply to add a few org attributes (type of the table, toprule, bottomrule, hline, vpos) in order to get an improved flexibility when generating LaTeX tables. Can someone take care of my request? Thanks a lot, Francesco ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] remove/change [width=10em] in Latex import.
Hi all. If i include an image like [[file:/blablabla.eps]] Ill get in a latex import output: /includegraphics[width=10em]{file} How can I change this width option? Thanks. Petro. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Any way to include filetags in tags completion?
Hi Matt, I believe this works now - please verity. - Carsten On Oct 17, 2009, at 1:42 AM, Matt Lundin wrote: Hi everyone, I've searched the org-mode variables and can't seem to find a way to get filetags included in tags completion. In other words, when I press TAB to see the org-global-tags-completion-table while entering a tag or filtering for tags in the agenda, only tags associated with headlines are offered for completion. Is there a way to include filetags in the completion table? I ask because I frequently use filetags (such as finances and household) to filter the agenda and would prefer (lazy emacs user that I am) not to have to type the entire word. Thanks for your help. Matt ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Integration with jsMath for HTML export of latex equations (feature request)
Hi Darlan, On Oct 16, 2009, at 6:36 PM, Darlan Cavalcante Moreira wrote: Hello org-users, I know that it is possible to export equations as images if you set the variable org-export-with-LaTeX-fragments to t, but I prefer to use jsMath (http://www.math.union.edu/~dpvc/jsMath/) for equation in HTML. The problem is that when org-export-with-LaTeX-fragments is set to nil org-mode interprets underlines, hats and Greek letters and replace them in the generated HTML. Would #+OPTIONS ^:nil already do what you want? If you get this working, can I ask you to write up some instructions on how to use this with Org and post them here? Thanks. - Carsten I agree that this is nice in most cases, but I need them to be left untouched, since they will be later interpreted by jsMath when I'm viewing the page in a browser that supports java-script. Therefore, my feature request is disabling this smart behavior of org-mode when latex fragments are not converted to images. I also need to add a line in the HTML header to load the jsMath script, but this is easily accomplished with the line #+STYLE: SCRIPT SRC=../jsMath/easy/load.js/SCRIPT in the org-file header. Here are some advantages and disadvantages about using jsMath instead of images. Advantages: - It's really pretty when you have all the fonts installed and you can zoom without any loss of quality. - No need to generate images when exporting + When you see the generated HTML page the jsMath script is run each time you reload the page. Because modern browsers are increasing more and more the efficiency of the java-script engine this is not a problem even if there are a lot of equations in the generated page. + On the other hand, creating images when exporting can take considerable time when there are man equations. Disadvantages - More difficult to setup + you have to install jsMath for authors, since you are creating pages with it. + you have to install jsMath for users, that is, install the fonts that will be used. If this is not done, jsMath will use images for the equations. You won't need to generate images when exporting, since jsMath already has all images (it just put the pieces together) - It is more inconvenient to send the generated HTML page to a friend, since your friend will need to install the fonts used by jsMath. Darlan ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] feature request: scroll other window in agenda view follow mode
Hi Eric, this is, in principle, not hard to do. The issue I see is that it would require to make the entire subtree visible in the target buffer, so whenever you are looking at stuff with the agenda if would (more thoroughly than now) change the outline visibility in that file. - Carsten On Oct 15, 2009, at 8:52 AM, Eric S Fraga wrote: Carsten, I wonder whether I could request a small feature addition in org-mode (or have a pointer to already implemented functionality, of course ;-)? Using the agenda view with follow mode is fantastic for complex agenda views. What I find, however, is that I miss having a scroll other window as implemented in many other 2 window interfaces in Emacs (e.g. most mail user agents like rmail, wanderlust, gnus, etc.). I find myself hitting spacebar to scroll down the other window (the one with the org file view) as I would in mail tools and it does nothing. The request would be to have org-agenda-show, bound to ' ', scroll down the other window if already showing the entry. Would this be possible easily? I realise that I could simply type M-C-v but it would be nice to have consistency with other emacs tools. I have tried mapping the spacebar to scroll-other-window in the agenda keymap but this does nothing because the agenda view simply re-shows the org file at the same location! Thanks, eric ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] remove/change [width=10em] in Latex import.
Guilty, I have missed #+ATTR_LaTeX: option. I wonder if I can use underscore in filenames? http://www.mfasold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/ Here is written that not, and I really get some mess after export. Was there any workaround? Thanks. Petro. On Tue, Oct 20, 2009 at 11:34 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 20, 2009, at 10:27 AM, Piter_ wrote: Hi all. If i include an image like [[file:/blablabla.eps]] Ill get in a latex import output: /includegraphics[width=10em]{file} How can I change this width option? By Reading the manual? http://orgmode.org/manual/Images-in-LaTeX-export.html#Images-in-LaTeX-export - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[orgmode] Solutions of blogging tools for org-mode
Greetings, I want to move my blogs from Wordpress to org-mode. I have found blorg, org-blog and blorgit, but the first two look like they're not being worked on (but maybe that's because they are finished), and the third one seems to be much more than what I need, as it gives you a web-based interface. What I am looking for in a blogging engine is a way to mark entries as belonging to the blog, and generation of an RSS feed that includes them; all other things, including publishing and HTML export, are already covered by standard org-mode facilities, and services like disqus for the comments. Is this functionality available? Are people using org-mode to publish blogs? Best, jm -- http://juanreyero.com/blog http://juntoalcamino.com ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] remove/change [width=10em] in Latex import.
On Oct 20, 2009, at 11:05 AM, Piter_ wrote: Guilty, I have missed #+ATTR_LaTeX: option. I wonder if I can use underscore in filenames? http://www.mfasold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/ Here is written that not, and I really get some mess after export. Was there any workaround? Thanks. Petro. What version of Org-mode are you using? This does work for me without problems. - Carsten On Tue, Oct 20, 2009 at 11:34 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 20, 2009, at 10:27 AM, Piter_ wrote: Hi all. If i include an image like [[file:/blablabla.eps]] Ill get in a latex import output: /includegraphics[width=10em]{file} How can I change this width option? By Reading the manual? http://orgmode.org/manual/Images-in-LaTeX-export.html#Images-in-LaTeX-export - Carsten ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: LaTeX export of images
On Oct 13, 2009, at 12:03 PM, Francesco Pizzolante wrote: Hi Carsten, Sorry for my late reply on this subject. OK, I have now modified image placement in LaTeX. 1. Image in text [[./img/x.png]] 2. Floating image with caption and modified size and placement #+CAPTION: My caption #+ATTR_LATEX: placement=[H] width=0.6\textwidth [[./img/x.png]] 3. Wrapping text around the image #+ATTR_LaTeX: wrap #+ATTR_HTML: align=left [[./img/x.png]] 4. Wrapping text around the image with modified size and wrapfigure placement #+ATTR_LaTeX: wrap width=0.38\textwidth placement={r}{0.4\textwidth #+ATTR_HTML: align=right width=250 [[./img/x.png]] Even if there is a caption, wrap will work and force the image to be non-floating with text wrapped around. Comments? I did not test the wrap option yet, but the rest is perfect (images in text, placements, width, captions, labels). I still miss one single option: float in order to force the centered figure environment if if no caption/label is present. I would add something like #+ATTR_LATEX: float Have you actually tried? The following works for me. #+ATTR_LaTeX: float [[./blue_1.png]] This is text - Carsten or #+ATTR_LATEX: float=t Is this feasible? Thanks a lot! Francesco - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Other modes in SRC
Is it possible maybe automatically activate other modes inside a #+BEGIN_SRC block? I've seen there is CCC (or something like that) enables to have multi modes in the same buffer, but maybe there's also a quicker way inside org-mode... Thanks ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [orgmode] Solutions of blogging tools for org-mode
Juan Reyero wrote: I am looking for in a blogging engine is a way to mark entries as belonging to the blog, and generation of an RSS feed that includes them; all other things, including publishing and HTML export, are already covered by standard org-mode facilities, and services like disqus for the comments. Please check the recent archives of the list for a longer discussion; some of us use ikiwiki with a contributed org-mode plugin by Manoj Srivastava. d ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
Hi Eric, I have added this code to org.el, please verify that it works because I have wrapped it into eval-after-load. Thanks! - Carsten On Oct 14, 2009, at 7:18 PM, Eric S Fraga wrote: At Tue, 13 Oct 2009 10:00:29 +0200, Carsten Dominik wrote: [snipped: messages regarding jumping into org file from ECB tree buffer and having the hierarchy displayed] If you find a solution, please post, maybe I can install it in org.el, using eval-after-load (I'm doing this already for a couple of other packages that let you jump right in the middle of an Org file). Carsten, The following seems to work: --8---cut here---start-8--- (defadvice ecb-method-clicked (after esf/org-show-context) Make sure hierarchy is visible when jumping into location from ECB tree buffer (if (string= major-mode org-mode) (org-show-context) ) ) --8---cut here---end---8--- I have tested this but not exhaustively and so maybe it depends on some of my specific org-mode settings. I don't know if anybody else uses ECB extensively but, if so, it would be great if they tried it. I don't specifically (require 'ecb) anywhere so I don't think this is required; I am, however, using emacs 23.1. Again, apologies for my minimal (yet increasing) elisp knowledge! You're welcome to use this in any way you wish (and, before you ask (;-), I am still awaiting a response from the FSF re: copyright assignment as I posted the signed page several weeks ago now). On a related note, I have not managed to figure out why the ECB tree buffer shows only up to two levels of the org-mode heading hierarchy. Ideally, I would like it to show all levels. Is there a variable in org-mode that may be affecting this? Thanks, eric - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Agenda and Reloading Changed Files
Bernt Hansen wrote: Make sure you don't have any unsaved information in _any_ org files in emacs before you run this to sync your emacs buffers with the on disk files -- otherwise you'll lose information. I got burned by that a couple of times, so now I use a script that does the following: --8---cut here---start-8--- emacsclient -e (save-some-buffers t) for dir in $DIRS; do cd $dir git pull done emacsclient -e (org-revert-all-org-buffers) --8---cut here---end---8--- Cheers, Chris ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] remove/change [width=10em] in Latex import.
What version of Org-mode are you using? This does work for me without problems. - Carsten I've been using 6.05 from Debian Lenny repository. 5 minutes ago installed one from git. Everything works fine. Thanks a lot for this great mode. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [orgmode] Solutions of blogging tools for org-mode
On Tue, Oct 20, 2009 at 12:23 PM, David Bremner brem...@unb.ca wrote: Juan Reyero wrote: I am looking for in a blogging engine is a way to mark entries as belonging to the blog, and generation of an RSS feed that includes them; all other things, including publishing and HTML export, are already covered by standard org-mode facilities, and services like disqus for the comments. Please check the recent archives of the list for a longer discussion; some of us use ikiwiki with a contributed org-mode plugin by Manoj Srivastava. Ikiwiki and Manoj Srivastava's plugin do look great, but it's a pity not to take advantage of org-mode's facilities for exporting and publishing... which I've already set up and adapted to the design of my webs. My question was more on the lines of whether there's active development of the org-mode blog modules, and if there's people using them. I am considering building a very minimalistic blog engine (tag the entries you want as part of the blog, and it builds an RSS feed for them; you figure out everything else within org-mode's publishing functionality). But I'd hate to do something that's already there. jm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Corrupt lists in HTML if within footnotes
Hi Daniel, unfortunately, I do not see an easy way to fix this. My recommendation is to not use itemized lists in footnotes. - Carsten On Oct 5, 2009, at 10:59 AM, Daniel Clemente wrote: Bug report+testcase Hi, I found a bug related to lists within footnotes [1]. org-mode from git (release_6.31.27.g407b). [1] To reproduce it: - open this test case - C-c C-e b - notice that this list doesn't appear under the „footnotes“ section, but *mixed with the „end list“ at the end* Note that LaTeX export works well; HTML doesn't. End list: - first (1/3) - middle (2/3) - last (3/3) ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Other modes in SRC
andrea andrea.crott...@gmail.com writes: Is it possible maybe automatically activate other modes inside a #+BEGIN_SRC block? I've seen there is CCC (or something like that) enables to have multi modes in the same buffer, but maybe there's also a quicker way inside org-mode... I'm not sure I understand the question, but you can include source code blocks in your org-file, which you can edit in a special buffer in the appropriate mode: http://orgmode.org/manual/Literal-examples.html - Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Any way to include filetags in tags completion?
Carsten Dominik carsten.domi...@gmail.com writes: Hi Matt, I believe this works now - please verity. Thanks Carsten! This works great. Now org-mode makes organizing my life that much easier. :) - Matt On Oct 17, 2009, at 1:42 AM, Matt Lundin wrote: Hi everyone, I've searched the org-mode variables and can't seem to find a way to get filetags included in tags completion. In other words, when I press TAB to see the org-global-tags-completion-table while entering a tag or filtering for tags in the agenda, only tags associated with headlines are offered for completion. Is there a way to include filetags in the completion table? I ask because I frequently use filetags (such as finances and household) to filter the agenda and would prefer (lazy emacs user that I am) not to have to type the entire word. Thanks for your help. Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [orgmode] Solutions of blogging tools for org-mode
--- Mar 20/10/09, Juan Reyero joa...@gmail.com ha scritto: I am considering building a very minimalistic blog engine (tag the entries you want as part of the blog, and it builds an RSS feed for them; you figure out everything else within org-mode's publishing functionality). But I'd hate to do something that's already there. blorg: blorg.el is a piece of code I wrote when I discovered org-mode. Some people are using it, but I'm not actively maintaining it anymore, since I plan to rewrite it from scratch. [2009-10-20] however: I slightly hacked blorg to allow to use relative links, proper symbols escaping in links, etc. http://thread.gmane.org/gmane.emacs.orgmode/12219/focus=12256 cheers, Giovanni ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Source Code blocks in arbitrary languages?
I am interested in the graphing language gri, for which there does exist a gri-mode.el. Is it possible to use Source Code blocks in Org-Mode with arbitrary languages for which there is an emacs mode? For example, postscript? Profuse thanks for this great package. Alan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Source Code blocks in arbitrary languages?
On Oct 20, 2009, at 3:21 PM, Alan E. Davis wrote: I am interested in the graphing language gri, for which there does exist a gri-mode.el. Is it possible to use Source Code blocks in Org-Mode with arbitrary languages for which there is an emacs mode? For example, postscript? Yes. #+begin_src ps ... #+end_src - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] Is :results output inline possible
Hi Al, emailorama emailor...@yahoo.com.au writes: [...] Also, I've been looking at #+lob: which looks like another really useful idea, Yes, #+lob calls are the canonical way to hide source code in org-babel; with this approach, source blocks are viewed more as function definitions with arguments than as executable blocks that produce output, and the #+lob line is used to call the function and actually do something. There have been a few examples on the list recently where it would make sense to use #+lob. I've fixed a few things related to #+lob recently and will post some more documentation on Worg soon. and there are two things I am wondering about. -- Is it possible to use #+lob: with :results output org ? -- Is it possible for #+lob: to take a string argument ? Both these were bugs, which are fixed in my development branch -- they should be merged into org-core by Eric soon. My output from your examples is below. Thanks a lot for the testing. Dan The 4 examples below show things I have tried. 1. and 2. work fine. 3. and 4. are what I can't work out. Here's my output --8---cut here---start-8--- * Al tests (emailorama) -- 1. :results output org - works -- #+srcname: randone #+begin_src ruby :results output org description = lucky number = 3 maximum = 100 puts * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+resname: randone *** Random numbers Here are some lucky numbers: 15, 52, 93. -- 2. :results value - works with #+lob: -- #+srcname: randtwo(n,max) #+begin_src ruby :results value number = n maximum = max * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randtwo(n=3,max=100) #+resname: randtwo(n=3,max=100) : * Random numbers : Here are some random numbers: 47, 100, 38. -- 3. :results output org - doesn't work with #+lob: -- #+srcname: randthree(n,max) #+begin_src ruby number = n maximum = max puts * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randthree(n=3,max=10) :results output org #+resname: randthree(n=3,max=10) * Random numbers Here are some random numbers: 9, 3, 7. -- 4. Not sure how to use string argument with #+lob: -- #+srcname: randfour(n,max,desc) #+begin_src ruby :results value description = desc number = n maximum = max * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randfour(n=3,max=100,desc=lucky) #+resname: randfour(n=3,max=100,desc=lucky) : * Random numbers : Here are some lucky numbers: 65, 24, 42. --8---cut here---end---8--- Thanks for any ideas you have about these things. al -- 1. :results output org - works -- #+srcname: randone #+begin_src ruby :results output org description = lucky number = 3 maximum = 100 puts * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+resname: randone * Random numbers Here are some lucky numbers: 48, 69, 6. -- 2. :results value - works with #+lob: -- #+srcname: randtwo(n,max) #+begin_src ruby :results value number = n maximum = max * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randtwo(n=3,max=100) #+resname: randtwo(n=3,max=100) : * Random numbers : Here are some random numbers: 14, 77, 75. -- 3. :results output org - doesn't work with #+lob: -- #+srcname: randthree(n,max) #+begin_src ruby :results output org number = n maximum = max puts * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randthree(n=3,max=10) #+resname: randthree(n=3,max=10) : nil -- 4. Not sure how to use string argument with #+lob: -- #+srcname: randfour(n,max,desc) #+begin_src ruby :results value description =
[Orgmode] No definition for class `article' in `org-export-latex-classes'
Using Org at e8e296 with emacs 23.1.1 and texlive-2008, when exporting to PDF, the following error occurs: Exporting to PDF... Exporting to LaTeX... org-export-latex-set-initial-vars: No definition for class `article' in `org-export-latex-classes' It still works as of 79031ab. The next changeset f376fe does modify lisp/org-latex.el. Thanks. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Integration with jsMath for HTML export of latex equations (feature request)
Hi Carsten, The option #+OPTIONS ^:nil did the trick with underlines and hats, but Greek letter are still replaced. Since they are ignored by jsMath I get the correct equations and the only minor annoyance is that the font of the Greek letters is not as nice as if it were replace by jsMath (jsMath fonts are equivalent to latex fonts). If it is something easy to do, an option to also turn-off the replacements of Greek letters by org-mode would be nice, but don't bother if it is to much work. I'll write the instructions of how to use jsMath with org-mode here soon. Thanks Carsten, Darlan At Tue, 20 Oct 2009 10:53:22 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Darlan, On Oct 16, 2009, at 6:36 PM, Darlan Cavalcante Moreira wrote: Hello org-users, I know that it is possible to export equations as images if you set the variable org-export-with-LaTeX-fragments to t, but I prefer to use jsMath (http://www.math.union.edu/~dpvc/jsMath/) for equation in HTML. The problem is that when org-export-with-LaTeX-fragments is set to nil org-mode interprets underlines, hats and Greek letters and replace them in the generated HTML. Would #+OPTIONS ^:nil already do what you want? If you get this working, can I ask you to write up some instructions on how to use this with Org and post them here? Thanks. - Carsten I agree that this is nice in most cases, but I need them to be left untouched, since they will be later interpreted by jsMath when I'm viewing the page in a browser that supports java-script. Therefore, my feature request is disabling this smart behavior of org-mode when latex fragments are not converted to images. I also need to add a line in the HTML header to load the jsMath script, but this is easily accomplished with the line #+STYLE: SCRIPT SRC=../jsMath/easy/load.js/SCRIPT in the org-file header. Here are some advantages and disadvantages about using jsMath instead of images. Advantages: - It's really pretty when you have all the fonts installed and you can zoom without any loss of quality. - No need to generate images when exporting + When you see the generated HTML page the jsMath script is run each time you reload the page. Because modern browsers are increasing more and more the efficiency of the java-script engine this is not a problem even if there are a lot of equations in the generated page. + On the other hand, creating images when exporting can take considerable time when there are man equations. Disadvantages - More difficult to setup + you have to install jsMath for authors, since you are creating pages with it. + you have to install jsMath for users, that is, install the fonts that will be used. If this is not done, jsMath will use images for the equations. You won't need to generate images when exporting, since jsMath already has all images (it just put the pieces together) - It is more inconvenient to send the generated HTML page to a friend, since your friend will need to install the fonts used by jsMath. Darlan ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Added support for habit tracking
John Wiegley jwieg...@gmail.com writes: Tracking habits isn't suited to a regular task manager, however. You can see that the task needs to be done in your agenda, but you don't know if it's a task that sorely needs attention because you've been neglecting it, or if you've really been on the ball and don't _have_ to do it today. Well, I've implemented the functionality of Sciral for Org. It works just as described on the Sciral webpage, complete with colorful graphs that appear to the right of the task name in the agenda buffer. The graph even follows the same coloring algorithm as Sciral. To test out this new feature, apply the attached patches and read the new manual section on Tracking your habits. Thanks for this addition to org mode! I had written a tutorial on tracking habits with org-mode on Worg: http://orgmode.org/worg/org-tutorials/tracking-habits.php I'll have to update that now. :) A few constructive comments: 1. The syntax for defining habits seems fairly complex. One must add a repeating scheduled timestamp, a repeating deadline timestamp and a property. I was wondering if there could be anyway to automate creating new habits---e.g., a dialog that asks for the appropriate time spans. (My own preference would be to use a new timestamp notation to indicate habits. I'm not sure what this would look like. Perhaps something like this: SCHEDULED: 2009-10-17 Sat !+2+2 --- where the first number is the repeating span and the second is the grace period. Of course, I have no idea whether this is possible.) 2. It is somewhat cumbersome to add two repeating timestamps to the same entry. If one sets up the first repeating timestamp, then one cannot add a second timestamp automatically. I.e., the following error message appears: Cannot change deadline on task with repeater, please do that by hand 3. The faces for the graph are difficult to read against dark backgrounds. (See attached image.) 4. I currently use the tag :HABIT: to track habits. This allows for easy filtering in the agenda. I'm wondering whether there might be an option to designate habits with a user-defined tag rather than the STYLE property. The advantage would be much faster agenda searches for habits. Thanks again! Matt attachment: habits-orgmode.png___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] feature request: scroll other window in agenda view follow mode
At Thu, 15 Oct 2009 07:52:38 +0100, Eric S Fraga wrote: Carsten, I wonder whether I could request a small feature addition in org-mode (or have a pointer to already implemented functionality, of course ;-)? Using the agenda view with follow mode is fantastic for complex agenda views. What I find, however, is that I miss having a scroll other window as implemented in many other 2 window interfaces in Emacs Further on this. When follow mode is active, the delete-other-windows function doesn't really delete all other windows when point is on an item in the agenda view. Well, it does *but8 the follow item is automatically re-displayed. I wonder if it would be possible to have the follow more action only take place after motion in the agenda view? This would solve my other problem (mapping the space-bar to scroll-other-window). Thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] feature request: scroll other window in agenda view follow mode
At Tue, 20 Oct 2009 10:56:38 +0200, Carsten Dominik wrote: Hi Eric, this is, in principle, not hard to do. The issue I see is that it would require to make the entire subtree visible in the target buffer, so whenever you are looking at stuff with the agenda if would (more thoroughly than now) change the outline visibility in that file. Ah, very true. I never considered this but that's mostly because most of my agenda targets are leaves in the tree, I guess. It's just that some of these leaves are long (e.g. agenda items for a meeting that's been scheduled). My most recent email crossed yours in the aether so maybe the solution I propose there might be appropriate for this in any case. thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Other modes in SRC
andrea andrea.crott...@gmail.com writes: Is it possible maybe automatically activate other modes inside a #+BEGIN_SRC block? I've seen there is CCC (or something like that) enables to have multi modes in the same buffer, but maybe there's also a quicker way inside org-mode... If you mean MuMaMo-mode, then maybe this will help. http://article.gmane.org/gmane.emacs.orgmode/8112/match=mumamo While it's possible to activate multiple major modes in the same buffer in my experience it is very buggy. -- Eric Thanks ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Integration with jsMath for HTML export of latex equations (feature request)
On Oct 20, 2009, at 3:56 PM, Darlan Cavalcante Moreira wrote: Hi Carsten, The option #+OPTIONS ^:nil did the trick with underlines and hats, but Greek letter are still replaced. Since they are ignored by jsMath I get the correct equations and the only minor annoyance is that the font of the Greek letters is not as nice as if it were replace by jsMath (jsMath fonts are equivalent to latex fonts). If it is something easy to do, an option to also turn- off the replacements of Greek letters by org-mode would be nice, but don't bother if it is to much work. You can just use LaTeX conventions and write $\alpha$ instead of the lazy \alpha. That should do the trick. - Carsten I'll write the instructions of how to use jsMath with org-mode here soon. Thanks Carsten, Darlan At Tue, 20 Oct 2009 10:53:22 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Darlan, On Oct 16, 2009, at 6:36 PM, Darlan Cavalcante Moreira wrote: Hello org-users, I know that it is possible to export equations as images if you set the variable org-export-with-LaTeX-fragments to t, but I prefer to use jsMath (http://www.math.union.edu/~dpvc/jsMath/) for equation in HTML. The problem is that when org-export-with-LaTeX-fragments is set to nil org-mode interprets underlines, hats and Greek letters and replace them in the generated HTML. Would #+OPTIONS ^:nil already do what you want? If you get this working, can I ask you to write up some instructions on how to use this with Org and post them here? Thanks. - Carsten I agree that this is nice in most cases, but I need them to be left untouched, since they will be later interpreted by jsMath when I'm viewing the page in a browser that supports java-script. Therefore, my feature request is disabling this smart behavior of org-mode when latex fragments are not converted to images. I also need to add a line in the HTML header to load the jsMath script, but this is easily accomplished with the line #+STYLE: SCRIPT SRC=../jsMath/easy/load.js/SCRIPT in the org-file header. Here are some advantages and disadvantages about using jsMath instead of images. Advantages: - It's really pretty when you have all the fonts installed and you can zoom without any loss of quality. - No need to generate images when exporting + When you see the generated HTML page the jsMath script is run each time you reload the page. Because modern browsers are increasing more and more the efficiency of the java-script engine this is not a problem even if there are a lot of equations in the generated page. + On the other hand, creating images when exporting can take considerable time when there are man equations. Disadvantages - More difficult to setup + you have to install jsMath for authors, since you are creating pages with it. + you have to install jsMath for users, that is, install the fonts that will be used. If this is not done, jsMath will use images for the equations. You won't need to generate images when exporting, since jsMath already has all images (it just put the pieces together) - It is more inconvenient to send the generated HTML page to a friend, since your friend will need to install the fonts used by jsMath. Darlan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] Is :results output inline possible
Dan Davison davi...@stats.ox.ac.uk writes: [...] -- Is it possible to use #+lob: with :results output org ? -- Is it possible for #+lob: to take a string argument ? Both these were bugs, which are fixed in my development branch -- they should be merged into org-core by Eric soon. Those changes are in the main org git repo now, so your examples should work. Note that with your third example, the header args need to be placed on the #+lob line rather than with the source block, so that #+lob knows that it is to output org code (header args placed with #+lob are inherited by the referenced source block). Dan * test -- 3. :results output org - doesn't work with #+lob: -- #+srcname: randthree(n,max) #+begin_src ruby number = n maximum = max puts * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randthree(n=3,max=10) :results output raw #+resname: randthree(n=3,max=10) * Random numbers Here are some random numbers: 5, 1, 10. My output from your examples is below. Thanks a lot for the testing. Dan The 4 examples below show things I have tried. 1. and 2. work fine. 3. and 4. are what I can't work out. Here's my output * Al tests (emailorama) -- 1. :results output org - works -- #+srcname: randone #+begin_src ruby :results output org description = lucky number = 3 maximum = 100 puts * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+resname: randone *** Random numbers Here are some lucky numbers: 15, 52, 93. -- 2. :results value - works with #+lob: -- #+srcname: randtwo(n,max) #+begin_src ruby :results value number = n maximum = max * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randtwo(n=3,max=100) #+resname: randtwo(n=3,max=100) : * Random numbers : Here are some random numbers: 47, 100, 38. -- 3. :results output org - doesn't work with #+lob: -- #+srcname: randthree(n,max) #+begin_src ruby number = n maximum = max puts * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randthree(n=3,max=10) :results output org #+resname: randthree(n=3,max=10) * Random numbers Here are some random numbers: 9, 3, 7. -- 4. Not sure how to use string argument with #+lob: -- #+srcname: randfour(n,max,desc) #+begin_src ruby :results value description = desc number = n maximum = max * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randfour(n=3,max=100,desc=lucky) #+resname: randfour(n=3,max=100,desc=lucky) : * Random numbers : Here are some lucky numbers: 65, 24, 42. Thanks for any ideas you have about these things. al -- 1. :results output org - works -- #+srcname: randone #+begin_src ruby :results output org description = lucky number = 3 maximum = 100 puts * Random numbers\n + Here are some #{description} numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+resname: randone * Random numbers Here are some lucky numbers: 48, 69, 6. -- 2. :results value - works with #+lob: -- #+srcname: randtwo(n,max) #+begin_src ruby :results value number = n maximum = max * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randtwo(n=3,max=100) #+resname: randtwo(n=3,max=100) : * Random numbers : Here are some random numbers: 14, 77, 75. -- 3. :results output org - doesn't work with #+lob: -- #+srcname: randthree(n,max) #+begin_src ruby :results output org number = n maximum = max puts * Random numbers\n + Here are some random numbers: + (1..number).collect {|x| (rand * maximum).ceil }.join(, ) + . #+end_src #+lob: randthree(n=3,max=10) #+resname: randthree(n=3,max=10) : nil -- 4. Not sure how to use string
Re: [Orgmode] Re: Added support for habit tracking
On Oct 20, 2009, at 4:02 PM, Matt Lundin wrote: John Wiegley jwieg...@gmail.com writes: Tracking habits isn't suited to a regular task manager, however. You can see that the task needs to be done in your agenda, but you don't know if it's a task that sorely needs attention because you've been neglecting it, or if you've really been on the ball and don't _have_ to do it today. Well, I've implemented the functionality of Sciral for Org. It works just as described on the Sciral webpage, complete with colorful graphs that appear to the right of the task name in the agenda buffer. The graph even follows the same coloring algorithm as Sciral. To test out this new feature, apply the attached patches and read the new manual section on Tracking your habits. Thanks for this addition to org mode! I had written a tutorial on tracking habits with org-mode on Worg: http://orgmode.org/worg/org-tutorials/tracking-habits.php I'll have to update that now. :) A few constructive comments: 1. The syntax for defining habits seems fairly complex. One must add a repeating scheduled timestamp, a repeating deadline timestamp and a property. I was wondering if there could be anyway to automate creating new habits---e.g., a dialog that asks for the appropriate time spans. (My own preference would be to use a new timestamp notation to indicate habits. I'm not sure what this would look like. Perhaps something like this: SCHEDULED: 2009-10-17 Sat !+2+2 --- where the first number is the repeating span and the second is the grace period. Of course, I have no idea whether this is possible.) 2. It is somewhat cumbersome to add two repeating timestamps to the same entry. If one sets up the first repeating timestamp, then one cannot add a second timestamp automatically. I.e., the following error message appears: Cannot change deadline on task with repeater, please do that by hand I don't seem to be able to reproduce this. Can you please explain in more detail? 3. The faces for the graph are difficult to read against dark backgrounds. (See attached image.) 4. I currently use the tag :HABIT: to track habits. This allows for easy filtering in the agenda. I'm wondering whether there might be an option to designate habits with a user-defined tag rather than the STYLE property. The advantage would be much faster agenda searches for habits. I like the idea to shift this functionality to being a tag, also because this is immediately visible. - Carsten Thanks again! Matt habits-orgmode.png___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Added support for habit tracking
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: 2. It is somewhat cumbersome to add two repeating timestamps to the same entry. If one sets up the first repeating timestamp, then one cannot add a second timestamp automatically. I.e., the following error message appears: Cannot change deadline on task with repeater, please do that by hand I don't seem to be able to reproduce this. Can you please explain in more detail? Here's an example: Let's say I have a task, that is scheduled to repeat every two days: --8---cut here---start-8--- * Shave SCHEDULED: 2009-10-20 Tue .+2d --8---cut here---end---8--- When I try to add a deadline interactively with C-c C-d, I receive an error message: Cannot change deadline on task with repeater, please do that by hand. - Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
At Tue, 20 Oct 2009 12:28:44 +0200, Carsten Dominik wrote: Hi Eric, I have added this code to org.el, please verify that it works because I have wrapped it into eval-after-load. Thanks! - Carsten Sorry Carsten but this doesn't seem to work for me. I am not sure if things are being loaded in the wrong order or not. I have tried with emacs -q and then loaded org-mode and it still doesn't work. Version information: Org-mode version 6.31trans (release_6.31.131.g37a7) GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-09-14 on raven, modified by Debian I am happy to try anything you'd like me to, of course. If I execute the defadvice directly, everything works just fine. Thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [GTD] Keeping a log of the activities - putting archive to good use
Hello list, In the excellent article that Charles Cave wrote, he says that he keeps a journal.org file to keep log of things he did during the day. I was thinking what was the relationship of this category with the newgtd.org_archive, which is essentially a log of the activities, and that even includes the timestamp of when they were marked as DONE (The CLOSED metadata). IMHO opinion though, I don't think there's the need of a journal.org file (I do keep a journal, but for more reflexive reasons, like, everyday in the morning or at night I write about the day or problems or myself or things or just a canvas for my thoughts, that, although could be considered a log, is not the same as keeping track of things, like the one Charles uses is). So, if we could write a function that getting a date input could parse this file and return the DONE items of this specific day, we could then just rely on that for log of activities (we collect, process, organize, review, do and when we need to know what we did, we can rely on this list). What do you think? Marcelo. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
On Oct 20, 2009, at 6:11 PM, Eric S Fraga wrote: At Tue, 20 Oct 2009 12:28:44 +0200, Carsten Dominik wrote: Hi Eric, I have added this code to org.el, please verify that it works because I have wrapped it into eval-after-load. Thanks! - Carsten Sorry Carsten but this doesn't seem to work for me. I am not sure if things are being loaded in the wrong order or not. I have tried with emacs -q and then loaded org-mode and it still doesn't work. Version information: Org-mode version 6.31trans (release_6.31.131.g37a7) GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-09-14 on raven, modified by Debian I am happy to try anything you'd like me to, of course. If I execute the defadvice directly, everything works just fine. Ahm, I never use ecb. Is there actually a file ecb.el? Even better: What is the name of the file that contains the definition of the function you re trying to advise? The reason why I want to delay this until needed is because I want to avoid having to load the entire advice package before it is actually used. - Carsten Thanks, eric - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
On Oct 20, 2009, at 6:11 PM, Eric S Fraga wrote: At Tue, 20 Oct 2009 12:28:44 +0200, Carsten Dominik wrote: Hi Eric, I have added this code to org.el, please verify that it works because I have wrapped it into eval-after-load. Thanks! - Carsten Sorry Carsten but this doesn't seem to work for me. I am not sure if things are being loaded in the wrong order or not. I have tried with emacs -q and then loaded org-mode and it still doesn't work. Version information: Org-mode version 6.31trans (release_6.31.131.g37a7) GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-09-14 on raven, modified by Debian I am happy to try anything you'd like me to, of course. If I execute the defadvice directly, everything works just fine. I think now I just forgot the activate switch. Could you please try again? Thanks. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
At Tue, 20 Oct 2009 18:14:32 +0200, Carsten Dominik wrote: On Oct 20, 2009, at 6:11 PM, Eric S Fraga wrote: [...] Sorry Carsten but this doesn't seem to work for me. I am not sure if things are being loaded in the wrong order or not. I have tried with emacs -q and then loaded org-mode and it still doesn't work. [...] Ahm, I never use ecb. Is there actually a file ecb.el? Even better: What is the name of the file that contains the definition of the function you re trying to advise? The method, ecb-method-clicked, can be found in ecb-method-browser.el, at least on my system. This is loaded by ecb.el through a require statement. The reason why I want to delay this until needed is because I want to avoid having to load the entire advice package before it is actually used. Understood! And a welcome approach given my use of org-mode on very slow computers! HTH! ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] feature request: scroll other window in agenda view follow mode
On Oct 20, 2009, at 4:17 PM, Eric S Fraga wrote: At Thu, 15 Oct 2009 07:52:38 +0100, Eric S Fraga wrote: Carsten, I wonder whether I could request a small feature addition in org-mode (or have a pointer to already implemented functionality, of course ;-)? Using the agenda view with follow mode is fantastic for complex agenda views. What I find, however, is that I miss having a scroll other window as implemented in many other 2 window interfaces in Emacs Further on this. When follow mode is active, the delete-other-windows function doesn't really delete all other windows when point is on an item in the agenda view. Well, it does *but8 the follow item is automatically re-displayed. I wonder if it would be possible to have the follow more action only take place after motion in the agenda view? This would solve my other problem (mapping the space-bar to scroll-other-window). This is a very good idea, I have been bothered by this often. - Carsten Thanks, eric ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
At Tue, 20 Oct 2009 18:22:34 +0200, Carsten Dominik wrote: [...] I think now I just forgot the activate switch. Could you please try again? Ah ha! That did it. Works just fine now. I am not sure I entirely understand what you did (adding the activate bit to the definition) but that's a bit of homework for me in my eternal quest to understand elisp better... :-) Thanks again, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ECB and org-mode
On Oct 20, 2009, at 6:29 PM, Eric S Fraga wrote: At Tue, 20 Oct 2009 18:22:34 +0200, Carsten Dominik wrote: [...] I think now I just forgot the activate switch. Could you please try again? Ah ha! That did it. Works just fine now. I am not sure I entirely understand what you did (adding the activate bit to the definition) but that's a bit of homework for me in my eternal quest to understand elisp better... :-) I think, if I define he advice after the function has been loaded, activate is needed. Maybe if you, as did you, define the advice before the function is loaded, activation is automatic. - Carsten Thanks again, eric - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Patch for resolving away time when clocked in
On Oct 20, 2009, at 7:57 AM, James TD Smith wrote: I've been using org with this patch for a couple of days and I've found a problem. I have several remember templates for handling phone calls, which clock in automatically. org-clock-resolve fails when the remember buffer is open, I think because the rememeber buffer somehow got into the result of org-files-list. This was fixed just recently by making sure that only real files are returned by `org-files-list'. John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Added support for habit tracking
On Oct 20, 2009, at 10:02 AM, Matt Lundin wrote: 1. The syntax for defining habits seems fairly complex. One must add a repeating scheduled timestamp, a repeating deadline timestamp and a property. I was wondering if there could be anyway to automate creating new habits---e.g., a dialog that asks for the appropriate time spans. (My own preference would be to use a new timestamp notation to indicate habits. I'm not sure what this would look like. Perhaps something like this: SCHEDULED: 2009-10-17 Sat !+2+2 --- where the first number is the repeating span and the second is the grace period. Of course, I have no idea whether this is possible.) I agree with you here, and think that a more comprehensive SCHEDULED syntax might be just the fix. I'll look into this. Perhaps using a syntax like !+2/2. 3. The faces for the graph are difficult to read against dark backgrounds. (See attached image.) I'll fix this too. 4. I currently use the tag :HABIT: to track habits. This allows for easy filtering in the agenda. I'm wondering whether there might be an option to designate habits with a user-defined tag rather than the STYLE property. The advantage would be much faster agenda searches for habits. You can search for STYLE=habit. I myself use contextual tags on the habits, because some of them aren't appropriate in other location, and I wouldn't want to see :HABIT: in the right-hand column for every one. Also, note that you can press K now to filter habits in and out of the agenda view. They are also by default restricted to only appearing in todays' agenda view. John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
On Oct 20, 2009, at 11:29 AM, Carsten Dominik wrote: 4. I currently use the tag :HABIT: to track habits. This allows for easy filtering in the agenda. I'm wondering whether there might be an option to designate habits with a user-defined tag rather than the STYLE property. The advantage would be much faster agenda searches for habits. I like the idea to shift this functionality to being a tag, also because this is immediately visible. I will look at the idea of letting the user choose whether it will be a tag, what the name of that tag should be, or if it should use the STYLE property. I, for one, don't want categorical tags related to Org, but only contextual tags related to me. John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Added support for habit tracking
John Wiegley jwieg...@gmail.com writes: On Oct 20, 2009, at 10:02 AM, Matt Lundin wrote: 1. The syntax for defining habits seems fairly complex. One must add a repeating scheduled timestamp, a repeating deadline timestamp and a property. I was wondering if there could be anyway to automate creating new habits---e.g., a dialog that asks for the appropriate time spans. (My own preference would be to use a new timestamp notation to indicate habits. I'm not sure what this would look like. Perhaps something like this: SCHEDULED: 2009-10-17 Sat !+2+2 --- where the first number is the repeating span and the second is the grace period. Of course, I have no idea whether this is possible.) I agree with you here, and think that a more comprehensive SCHEDULED syntax might be just the fix. I'll look into this. Perhaps using a syntax like !+2/2. Thanks. And, of course, if a new timestamp syntax proves too complicated, I'm more than happy to use the current implementation. :) 3. The faces for the graph are difficult to read against dark backgrounds. (See attached image.) I'll fix this too. 4. I currently use the tag :HABIT: to track habits. This allows for easy filtering in the agenda. I'm wondering whether there might be an option to designate habits with a user-defined tag rather than the STYLE property. The advantage would be much faster agenda searches for habits. You can search for STYLE=habit. I myself use contextual tags on the habits, because some of them aren't appropriate in other location, and I wouldn't want to see :HABIT: in the right-hand column for every one. Also, note that you can press K now to filter habits in and out of the agenda view. They are also by default restricted to only appearing in todays' agenda view. I see. That works very nicely. Sorry I missed it the first time through the documentation. This eliminates one of the main reason I had for switching to a tag-based implementation. Thanks again! I look forward to playing with this some more. Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
This is very exciting, thanks a lot, I was looking on how to track my recurrent tasks, and you just came with a full-fledged solution plus some new concepts I did not know. Thanks! However, how do I apply these patches? I tried with patch, like this: patch -p0 name_of_the_patch_file.patch (in the org-mode root directory, relatively to the lisp subdir) but it did not seem to work. Marcelo. On 10/20/09, John Wiegley jwieg...@gmail.com wrote: On Oct 20, 2009, at 11:29 AM, Carsten Dominik wrote: 4. I currently use the tag :HABIT: to track habits. This allows for easy filtering in the agenda. I'm wondering whether there might be an option to designate habits with a user-defined tag rather than the STYLE property. The advantage would be much faster agenda searches for habits. I like the idea to shift this functionality to being a tag, also because this is immediately visible. I will look at the idea of letting the user choose whether it will be a tag, what the name of that tag should be, or if it should use the STYLE property. I, for one, don't want categorical tags related to Org, but only contextual tags related to me. John ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
On Oct 20, 2009, at 1:13 PM, Marcelo de Moraes Serpa wrote: However, how do I apply these patches? I tried with patch, like this: patch -p0 name_of_the_patch_file.patch (in the org-mode root directory, relatively to the lisp subdir) but it did not seem to work. Hi Marcelo, The habits code is now in org-mode's 'master' Git branch. You no longer need the patches, just pull the code from there: git clone git://repo.or.cz/org-mode.git John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
Oh, cool, thanks for the info John. Another stupid question: I did not find any references to habit-mode anywhere in the online org manual. Am I looking in the wrong place? Thanks, Marcelo. On Tue, Oct 20, 2009 at 12:19 PM, John Wiegley jwieg...@gmail.com wrote: On Oct 20, 2009, at 1:13 PM, Marcelo de Moraes Serpa wrote: However, how do I apply these patches? I tried with patch, like this: patch -p0 name_of_the_patch_file.patch (in the org-mode root directory, relatively to the lisp subdir) but it did not seem to work. Hi Marcelo, The habits code is now in org-mode's 'master' Git branch. You no longer need the patches, just pull the code from there: git clone git://repo.or.cz/org-mode.git John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
On Tue, Oct 20, 2009 at 09:48, John Wiegley jwieg...@gmail.com wrote: I agree with you here, and think that a more comprehensive SCHEDULED syntax might be just the fix. I'll look into this. Perhaps using a syntax like !+2/2. I wonder if we can switch to something a little more like extensible syntax. This would use keywords instead of symbols, for ease of remembering, looking up, etc. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
Hmm, I had to put (require 'org-habit) in my .emacs, was that implicitly required or is org supposed to load it automatically? On Tue, Oct 20, 2009 at 1:30 PM, Samuel Wales samolog...@gmail.com wrote: On Tue, Oct 20, 2009 at 09:48, John Wiegley jwieg...@gmail.com wrote: I agree with you here, and think that a more comprehensive SCHEDULED syntax might be just the fix. I'll look into this. Perhaps using a syntax like !+2/2. I wonder if we can switch to something a little more like extensible syntax. This would use keywords instead of symbols, for ease of remembering, looking up, etc. ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
On Oct 20, 2009, at 2:38 PM, Marcelo de Moraes Serpa wrote: Hmm, I had to put (require 'org-habit) in my .emacs, was that implicitly required or is org supposed to load it automatically? The habit support is optional, and should not incur any runtime or load-time costs for those who don't use it. Therefore, you have to enable it by customizing `org-modules', or by loading it into your .emacs file. John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Added support for habit tracking
On Oct 20, 2009, at 2:30 PM, Samuel Wales wrote: I wonder if we can switch to something a little more like extensible syntax. This would use keywords instead of symbols, for ease of remembering, looking up, etc. I've implemented .+1d/3d type syntax. What do you propose? John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Added support for habit tracking
Hi John and all others John Wiegley jwieg...@gmail.com writes: To test out this new feature, apply the attached patches and read the new manual section on Tracking your habits. Just tested this feature. No graph to be seen! What's wrong? I cloned and installed the git-version (M-x org-version gives: Org-mode version 6.31trans (release_6.31.133.g6138.dirty). Then I just copied your example from the manual with all DONE statements, dates and properties into my main org-file. The agenda-buffer displays the NEXT Shave lines just as normal, no graph. (Using NEXT instead of TODO can't be the problem, can it?) K is not working at all (buffer is read-only), k asks for an agenda action. Something wrong with the implementation? I use Emacs-Snapshot on Ubuntu Jaunty (Emacs version 23.0.91.1). Or did I understand anything wrong? Anything else to configure? Anyway, thanks a lot for the new feature. Sven ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Added support for habit tracking
Sven Bretfeld sven.bretf...@gmx.ch writes: Hi John and all others John Wiegley jwieg...@gmail.com writes: To test out this new feature, apply the attached patches and read the new manual section on Tracking your habits. Just tested this feature. No graph to be seen! What's wrong? Ok. (require 'org-habit) did it. Thanks, Marcelo. This should be mentioned in the manual. Greetings Sven ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Added support for habit tracking
On Oct 20, 2009, at 8:56 PM, Sven Bretfeld wrote: Sven Bretfeld sven.bretf...@gmx.ch writes: Hi John and all others John Wiegley jwieg...@gmail.com writes: To test out this new feature, apply the attached patches and read the new manual section on Tracking your habits. Just tested this feature. No graph to be seen! What's wrong? Ok. (require 'org-habit) did it. Thanks, Marcelo. This should be mentioned in the manual. What you really should do is set the corresponding tick in `org- modules'. John did not turn this on by default because I was worried what on the speed of agenda creation... - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Added support for habit tracking
Ok, the following changes today have been submitted for inclusion: - Habit appears in mode-line when Habits are being displayed - Habits no longer use a DEADLINE, but .+1d/3d, to indicate a range. Use .+1d if the min and max are the same. - org-habit uses faces for all its colors, and appropriate colors have been chosen for dark backgrounds. - The consistency graph starts from the scheduled date, if that date precedes today and the first completed date. - Habits are now sorted according to a habit-specific priority scheme, based on Sciral's priority sorting method. This means that habits which demand more attention will shift to the top. Use 'P' in the agenda to see what the relative priorities are. John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] pstricks in org-mode?
No luck! I did not manage to create an interest in the AucTeX mailing list for using AucTeX preview-latex in org-mode. Does anyone have an idea how to proceed with this? I really think that it would be a good feature to be able to work with pstricks code in org-mode. I'm I the only one to think that way? Best regards, Johan On Thu, Oct 8, 2009 at 4:55 PM, Johan Ekh ekh.jo...@gmail.com wrote: OK! I'll report back. /Johan On Thu, Oct 8, 2009 at 12:25 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 8, 2009, at 10:32 AM, Johan Ekh wrote: preview-latex in AucTeX works really well I think. It would be nice to use it in org-mode. I'm not a lisp programmer. I would be happy to contribute to org-mode but I need support. Could someone point me in the right direction to start developing such a patch? Or, if someone more skilled than me would like to pick it up and just do it, that would be fine with me! I think you could start by investigating if it would be possible to use preview-LaTeX in a file like an Org-mode file. For this you probably need to ask on the AUCTeX mailing lists. - Carsten //Johan On Mon, Oct 5, 2009 at 7:57 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 5, 2009, at 7:29 PM, Darlan Cavalcante Moreira wrote: Even graphics made in tikz, that does not use postscript commands, do not appear in DVI viewers. I haven't used the preview-latex with graphics in AucTeX, but if it is able to view graphics made with pstricks, as it appears to be the case, then maybe it is better to first investigate how preview-latex is able to do this before searching for options to pass to dvipng in org-mode. IMHO it would be even better if it was possible to use the original preview-latex from AucTeX instead of reinventing the wheel. :-) I'd be happy to accept a patch! - Carsten Darlan PS: Please, when answering E-Mails do not forget to also CC to the the org mailing list. At Sat, 3 Oct 2009 10:28:37 +0200, Johan Ekh wrote: [1 text/plain; ISO-8859-1 (7bit)] Thanks for sharing with me! Your setup seems to give a good workflow. Before starting to use org-mode I worked with my graphics in emacs using the preview facility in AucTeX. Thus I could develop my picture and easily update the preview to see the effect of my last edit. Since starting to use org-mode I find that I have it open all the time and would like to include it as much as possible in my work flow. Many of my pictures share some content and it would be nice to develop some templates that I can start with when I do my pictures. Pstricks is postscript and usually do not display in dvi viewers. This is probably why dvipng doesn't work. Is there any way I can manipulate org-modes route to a png preview picture? Best regards, Johan On Fri, Oct 2, 2009 at 8:34 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: From the documentation it seems that org-mode uses dvipng. [[info:org:LaTeX%20fragments][info:org:LaTeX fragments]] But I don't know how it behaves with pstricks. I usually create the graphics in a separated file when I'm working with latex. It's a complete latex file with the necessary preamble that will be later turned into comments when I'm finished and want to actually include the graphic in my document. (using \input{graphic.tex}) When I'm working on it, Emacs occupies half of my screen (or more) and evince occupies the other half. Whenever I compile the document (using pdflatex since I use tikz to draw graphics) the pdf is automatically reloaded by evince. Since I don't rely on the preview-latex for developing the graphics I don't know if it works with tikz. I guess I'll give it a try. ... I tried with the simple example , | \begin{tikzpicture} | \draw (0,0) -- (1,1); | \end{tikzpicture} ` and it does not work. Only a little square is show in the Emacs buffer. Well, this is expected since the package tikz is not included in the temporary .tex file (and neither is pstricks as I could see). After included the usepackage{tikz} in org-format-latex-header the preview is created. However nothing is show, since the graphic generated by tikz (and pstricks) is not present at the DVI stage. This seems to be a limitation of dvipng and not org-mode. Darlan At Fri, 2 Oct 2009 16:53:54 +0200, Johan Ekh wrote: [1.1 text/plain; ISO-8859-1 (7bit)] But is pdflatex also used for rendering the previews in emacs? The most convenient thing for me would be to see the preview while I am developing the picture and then as a last step export it to my latex document. Do you this is possible somehow? Best regards, Johan On Fri, Oct 2, 2009 at 3:28 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: Remember that because pstricks use postscript commands it is necessary to take the long route in latex (latex-DVI-PS-PDF) instead of just using pdflatex. Therefore,
[Orgmode] New welcome message
Hi everyone, I have just installed the following text as the new welcome message to this mailing list. You are all members already, so I am copying it here. - Carsten --- Welcome to the Org-mode mailing list. We need your help, so that we can continue to help you. This has become a high-volume list. There is a significant number of experts on this list, and we are all willing to answer questions. However, we all have limited time. We ask for your cooperation to make sure that the amount of unnecessary traffic on the list is minimized. 1. Before submitting a bug report, make sure that you have tried the newest version of Org-mode - chances are that the bug is already fixed. 2. Before asking a question, make sure you have looked in the manual and in the FAQ, and that you have also searched the mailing list archives. Chances are that you are not the first with this question. Thanks! - ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] agenda flag in mode-line?
That will not work on my system since my org files are spread across maaany gigabytes of files. But thanks for the feedback. Any other ideas? ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Added support for habit tracking
Hey, I learned a new thing, the org-modules thing... Anyway, I don't have much time to play with it now, but I can say this is a feature I've been looking/trying to implement with current org functionalities for a long time, I will get at home tonight, brainstorm about my recurring tasks/habits and put this beauty to work for me :D @John: Now, onto implementing Flying Logic for org! Thanks a lot for this amazing contribution, Marcelo. On Tue, Oct 20, 2009 at 2:36 PM, John Wiegley jwieg...@gmail.com wrote: Ok, the following changes today have been submitted for inclusion: - Habit appears in mode-line when Habits are being displayed - Habits no longer use a DEADLINE, but .+1d/3d, to indicate a range. Use .+1d if the min and max are the same. - org-habit uses faces for all its colors, and appropriate colors have been chosen for dark backgrounds. - The consistency graph starts from the scheduled date, if that date precedes today and the first completed date. - Habits are now sorted according to a habit-specific priority scheme, based on Sciral's priority sorting method. This means that habits which demand more attention will shift to the top. Use 'P' in the agenda to see what the relative priorities are. John ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] For all you IRC types
I've started the channel #orgmode on irc.freenode.net, for the discussion of all things Org and Emacs and between! Come join us! John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] For all you IRC types
On Tue, Oct 20, 2009 at 06:17:05PM -0400, John Wiegley wrote: I've started the channel #orgmode on irc.freenode.net, for the discussion of all things Org and Emacs and between! Come join us! #org-mode already exists... -- Paul Holcomb *pholcomb\@ cpoint net* GPG key fingerprint 2B62 05AE EE74 845A 705F D716 28C4 FE1C 088F CFAC ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] For all you IRC types
On Oct 20, 2009, at 6:16 PM, Paul Holcomb wrote: On Tue, Oct 20, 2009 at 06:17:05PM -0400, John Wiegley wrote: I've started the channel #orgmode on irc.freenode.net, for the discussion of all things Org and Emacs and between! Come join us! #org-mode already exists... Just found that out. I guess Colloquy's channel searching feature is really not all it's cracked up to be. John ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] For all you IRC types
irssi! :) On Oct 20, 2009, at 6:21 PM, John Wiegley wrote: On Oct 20, 2009, at 6:16 PM, Paul Holcomb wrote: On Tue, Oct 20, 2009 at 06:17:05PM -0400, John Wiegley wrote: I've started the channel #orgmode on irc.freenode.net, for the discussion of all things Org and Emacs and between! Come join us! #org-mode already exists... Just found that out. I guess Colloquy's channel searching feature is really not all it's cracked up to be. John ___ Emacs-orgmode mailing list Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] getting Firefox tabs into org on a mac
On Tue, 20 Oct 2009 10:12:42 +0200 Andreas Burtzlaff and...@gmx.net wrote: On Mon, 19 Oct 2009 20:40:54 -0700 Samuel Wales samolog...@gmail.com wrote: I have a huge number of Firefox tabs that I want to get into org. Figuring out how has gotten complicated, despite good documentation out there. I want simply title and url for each tab. Maybe like this: * Firefox tabs * Public Git Hosting - Worg.git/summary http://repo.or.cz/w/Worg.git * Google Search http://www.google.com Would be nice to get fancier by allowing annotations (for use by fireforg?). And allowing syncing back and forth. But first, I just want to get started. I envision two ways of doing this. Maybe there are more. 1) Have emacs or a script convert one of the folders in the bookmark file to an org outline as above. 2) Have org-mac-protocol set up for individual tabs to be clicked to get them remembered. If I do (2), then I'd want it to be easy. That is, without having to switch from mouse to keyboard. But does (2) work on a Mac? Last I heard, org-mac-protocol works for Safari, but not Firefox. Fireforg has a workaround for Macs: http://orgmode.org/worg/org-devel.php#sec-1.2.6 So you could select the tabs one after another and trigger remember from the Fireforg status bar menu. (This menu is accessible by right clicking on the status bar entry.) I will add an entry to the tab context menu tonight to do this in one step. With the latest version it is possible to pass all tabs to remember by selecting All tabs- remember (..) in the status bar menu. This only makes sense when using a remember template that stores the note automatically (%! in the template string). Your proposed format would be: * %:description \n %:link %! If the mac workaround is enabled and the latest version of pull.sh is used, then this should also work on a Mac. Andreas Concerning syncing I'm not sure I get your plan entirely. Is the main purpose of it to synchronize the tabs between different browsers? Andreas Ideas very welcome. I am stuck here. Thanks. P.S. I /also/ have a huge number of Safari tabs and a huge number of emacs-w3m tabs. I've found those also difficult to orgify. So ideas here are also welcome. But Firefox is more important now. ___ Emacs-orgmode mailing list Remember: 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 Remember: 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] getting Firefox tabs into org on a mac
Thanks, James. -- Q: How many CDC scientists does it take to screw in a lightbulb? A: You only think it's dark. -- CDC has DENIED CFS since the 1980s == Retrovirus: http://www.wpinstitute.org/xmrv/xmrv_qa.html ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [off-topic/GTD]Only Next Actions list to rule them all ?
Hello list, This is for the GTD orgers out there. I've taken the article written by Charles as a basis for my GTD implementation. In the end, it's all about what works for you, but I'd like to get some insights/opinions from you: For Next Actions, are you using a single list OR you organize them hierarchically under each project (in the projects list)? I started with the second one, putting each next action (TODO) item under its correspondent project, however, it quickly became too bloated, and a mix of projects, sub-projects and next-actions. Of course, org helps there with sparse trees and other functions to filter trees, but still, I found it was too complex, albeit more specific and I did felt I was more organized, even though I was getting lost. So, I just let go of my obsession about the perfect thing and decided to try a single Next Actions list, together with a Projects list. The next actions is a single list with all the actionable items from all the projects. I've lost the relationship between a next action item and a project, but I can do this easily by just looking at the action, having the system tell me is not that important. So, basically, a bunch of projects and next actions, weekly review, collect-process-organize-review-do and that's all. Who knows, over time I might find that there's a better way... well, but Keeping It Simple is sometimes the best approach, even though org is so flexible that one might fall in the rabbit hole :) Thanks, Marcelo. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Integration with jsMath for HTML export of latex equations (feature request)
I was alreade doing that but it was replace by $alpha;$ in the html file. However, the option #+OPTIONS: LaTeX:nil solves the problem. At last, I wrote an org file with instructions on how to use jsMath with Org. Thanks again Carsten, Darlan jsMath.org Description: Binary data At Tue, 20 Oct 2009 17:17:46 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 20, 2009, at 3:56 PM, Darlan Cavalcante Moreira wrote: Hi Carsten, The option #+OPTIONS ^:nil did the trick with underlines and hats, but Greek letter are still replaced. Since they are ignored by jsMath I get the correct equations and the only minor annoyance is that the font of the Greek letters is not as nice as if it were replace by jsMath (jsMath fonts are equivalent to latex fonts). If it is something easy to do, an option to also turn- off the replacements of Greek letters by org-mode would be nice, but don't bother if it is to much work. You can just use LaTeX conventions and write $\alpha$ instead of the lazy \alpha. That should do the trick. - Carsten I'll write the instructions of how to use jsMath with org-mode here soon. Thanks Carsten, Darlan At Tue, 20 Oct 2009 10:53:22 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Darlan, On Oct 16, 2009, at 6:36 PM, Darlan Cavalcante Moreira wrote: Hello org-users, I know that it is possible to export equations as images if you set the variable org-export-with-LaTeX-fragments to t, but I prefer to use jsMath (http://www.math.union.edu/~dpvc/jsMath/) for equation in HTML. The problem is that when org-export-with-LaTeX-fragments is set to nil org-mode interprets underlines, hats and Greek letters and replace them in the generated HTML. Would #+OPTIONS ^:nil already do what you want? If you get this working, can I ask you to write up some instructions on how to use this with Org and post them here? Thanks. - Carsten I agree that this is nice in most cases, but I need them to be left untouched, since they will be later interpreted by jsMath when I'm viewing the page in a browser that supports java-script. Therefore, my feature request is disabling this smart behavior of org-mode when latex fragments are not converted to images. I also need to add a line in the HTML header to load the jsMath script, but this is easily accomplished with the line #+STYLE: SCRIPT SRC=../jsMath/easy/load.js/SCRIPT in the org-file header. Here are some advantages and disadvantages about using jsMath instead of images. Advantages: - It's really pretty when you have all the fonts installed and you can zoom without any loss of quality. - No need to generate images when exporting + When you see the generated HTML page the jsMath script is run each time you reload the page. Because modern browsers are increasing more and more the efficiency of the java-script engine this is not a problem even if there are a lot of equations in the generated page. + On the other hand, creating images when exporting can take considerable time when there are man equations. Disadvantages - More difficult to setup + you have to install jsMath for authors, since you are creating pages with it. + you have to install jsMath for users, that is, install the fonts that will be used. If this is not done, jsMath will use images for the equations. You won't need to generate images when exporting, since jsMath already has all images (it just put the pieces together) - It is more inconvenient to send the generated HTML page to a friend, since your friend will need to install the fonts used by jsMath. Darlan ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [off-topic/GTD]Only Next Actions list to rule them all ?
On Wed, Oct 21, 2009 at 10:45 AM, Marcelo de Moraes Serpa wrote: Hello list, This is for the GTD orgers out there. I've taken the article written by Charles as a basis for my GTD implementation. In the end, it's all about what works for you, but I'd like to get some insights/opinions from you: For Next Actions, are you using a single list OR you organize them hierarchically under each project (in the projects list)? I started with the second one, putting each next action (TODO) item under its correspondent project, however, it quickly became too bloated, and a mix of projects, sub-projects and next-actions. Of course, org helps there with sparse trees and other functions to filter trees, but still, I found it was too complex, albeit more specific and I did felt I was more organized, even though I was getting lost. So, I just let go of my obsession about the perfect thing and decided to try a single Next Actions list, together with a Projects list. The next actions is a single list with all the actionable items from all the projects. I've lost the relationship between a next action item and a project, but I can do this easily by just looking at the action, having the system tell me is not that important. Usually, you define all actions for a project under the same hierarchy. You can decide how you want actions to be designated next (and projects to be designated project) -- using keywords or tags and have a custom agenda command collect the next actions for you from all agenda files in a single list. -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode