[Orgmode] Re: org-indent, org-inlinetask: patches on github
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Instead of flooding the mailing lists with patches to org-inlinetask, I added them into my repository. Thanks Nicolas. I'll try to check out these changes today. It sure sounds like you've done a nice bit of work and I'm looking forward to being able to customise the export of inline tasks! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.36.g6c95) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
On Mon, Nov 8, 2010 at 2:01 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: You have to pull from _my_ repo, not the org-mode one, as the patches are not yet installed in master branch. Again, here is the URL to pull that from: git://github.com/ngz/org-mode-lists.git branch: inlinetask I'm getting some errors. Don't know what I'm doing wrong. jeffreyhorn:~/bin/emacs-lisp/org-mode git pull git://github.com/ngz/org-mode-lists.git branch: inlinetask fatal: Couldn't find remote ref branch If you prefer, I can also send you the patches by email (there are 7 of them). Would you mind zipping them up, or hinting at what I'm doing wrong with git? Jeff -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [BUG] Junk appended when exporting visible
David Maus (2010-11-07 20:25:59 +0100) wrote: At Wed, 03 Nov 2010 13:26:55 +0100, Ivan Vilata i Balaguer wrote: Hi, I've noticed that exporting an entry with at least two examples, when limiting the export to the visible tree (i.e. C-c C-e v format), appends some junk examples at the end of the entry. Curiously enough, this doesn't happen when the whole file is exported (i.e. C-c C-e format). This should be fixed in master now. The problem was that Org searched for possible in-buffer options in the source buffer without limiting this search to the region between beginning of buffer and beginning of first headline. Thanks a lot, David! -- Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-indent, org-inlinetask: patches on github
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Instead of flooding the mailing lists with patches to org-inlinetask, I added them into my repository. They should fix quite a few bugs: - indentation with inline tasks (with or without org-indent mode turned on) should be fine ; - cycling levels of headings in indent-mode should be fixed ; - C-c @ now marks inline task if point is inside the task, or the subtree if point is outside ; - exporting inline tasks to latex is repaired. Furthermore, the last patch introduces a template concept in inline tasks exporting, namely `org-inlinetask-export-templates. Here is its doc-string: Nicolas, I've tried to test the various bits mentioned above, except for cyling of headings. Everything I've tried works perfectly!! This is brilliant. I've customised the latex export and I'm getting exactly what I would like to see. Thanks! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.43.g10c8) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
Jeff Horn jrhorn...@gmail.com writes: On Mon, Nov 8, 2010 at 2:01 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: You have to pull from _my_ repo, not the org-mode one, as the patches are not yet installed in master branch. Again, here is the URL to pull that from: git://github.com/ngz/org-mode-lists.git branch: inlinetask I'm getting some errors. Don't know what I'm doing wrong. Try the same but without the branch: text; i.e.: : git pull git://github.com/ngz/org-mode-lists.git inlinetask which worked just fine for me. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.43.g10c8) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
On 02.11.2010, at 17:09, Ista Zahn wrote: I recently upgraded to version 7.3 (from 7.01), and discovered that org-babel-execute-buffer no longer works, returning Wrong type argument: consp, nil. I just ran into the same problem... Did you find a workaround, other than going back to some older release? Konrad. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH 2/2] Fix broken CUSTOM_ID links
Carsten On Nov 5, 2010, at 6:53 PM, Jambunathan K wrote: Note the 'H:1' in options line. Export this to HTML. Note that CUSTOMID link is broken. A snippet of relevant HTML section is attached below. Change 'H:1' to 'H:3' note that there is no more brokenness. Possible root cause: When headlines are turned to list 'extra-targets' are not identified correctly. That is correct - Org does not assign IDs or names to list items, so it has no place to link to. This could probably be fixed - anyone would like to fix this? I am attaching a patch. Hope it does the right thing. #+OPTIONS: H:1 * Links ** Targets *** Fuzzy Target One Two Three Four Five *** Target with CUSTOMID :PROPERTIES: :CUSTOM_ID: aabbccddeeff :END: One Two Three Four Five *** Dedicated Target # Dedicated Target One Two Three Four Five *** Radioed Target One Two Three Four Five ** References *** References to Fuzzy Target This is a link to [[Fuzzy Target]]. *** References to CUSTOMID links This link to [[#aabbccddeeff][CUSTOMID Target]] is broken. *** References to Dedicated Target There is a link to nodesc [[Dedicated Target]] here. There is a link to [[Dedicated%20Target][Jump to Dedicated Target]] here. *** References to Radioed Links This section has references to Radioed Target. One more reference to Radioed Target. --- before.html 2010-11-08 19:01:13.796875000 +0530 +++ after.html 2010-11-08 19:00:57.859375000 +0530 @@ -7,7 +7,7 @@ titletmp/title meta http-equiv=Content-Type content=text/html;charset=iso-8859-1/ meta name=generator content=Org-mode/ -meta name=generated content=2010-11-08 18:57:46 / +meta name=generated content=2010-11-08 18:56:05 / meta name=author content=Jambunathan K/ meta name=description content=/ meta name=keywords content=/ @@ -101,7 +101,7 @@ /li /ul ul - li id=sec-1_1_2a name=sec-1_1_2 id=sec-1_1_2/aTarget with CUSTOMID br/ + li id=aabbccddeeffa name=sec-1_1_2 id=sec-1_1_2/aTarget with CUSTOMID br/ p One @@ -200,7 +200,7 @@ p class=author Author: Jambunathan K a href=mailto:kjambunat...@gmail.comlt;kjambunat...@gmail.comgt;/a /p - p class=date Date: 2010-11-08 18:57:46 /p + p class=date Date: 2010-11-08 18:56:05 /p p class=creatorHTML generated by org-mode 7.3 in emacs 23/p /div /div From 896a97a00c28206a940bb935406c60f19db3de15 Mon Sep 17 00:00:00 2001 From: Jambunathan K kjambunat...@gmail.com Date: Mon, 8 Nov 2010 18:33:29 +0530 Subject: [PATCH 2/2] Fix broken CUSTOM_ID links to outline levels exported as lists. (org-html-level-start): Modified. TINYCHANGE. --- lisp/org-html.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 = 100755 lisp/org-html.el diff --git a/lisp/org-html.el b/lisp/org-html.el old mode 100644 new mode 100755 index 68fee5b..2aea978 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -2358,12 +2358,12 @@ When TITLE is nil, just close all open levels. (progn (org-close-li) (if target - (insert (format li id=\%s\ target) extra-targets title br/\n) + (insert (format li id=\%s\ remove) extra-targets title br/\n) (insert li title br/\n))) (aset org-levels-open (1- level) t) (org-close-par-maybe) (if target - (insert (format ul\nli id=\%s\ target) + (insert (format ul\nli id=\%s\ remove) extra-targets title br/\n) (insert ul\nli title br/\n (aset org-levels-open (1- level) t) -- 1.7.2.3 - Carsten (This bug is unrelated to any of the previous internal link bugs that I have reported) # Input file #+OPTIONS: H:1 * Links ** Targets *** Fuzzy Target *** Target with CUSTOMID :PROPERTIES: :CUSTOM_ID: aabbccddeeff :END: *** Dedicated Target # Dedicated Target *** Radioed Target ** References *** References to Fuzzy Target This is a link to [[Fuzzy Target]]. *** References to CUSTOMID links This link to [[#aabbccddeeff][CUSTOMID Target]] is broken. *** References to Dedicated Target There is a link to nodesc [[Dedicated Target]] here. There is a link to [[Dedicated%20Target][Jump to Dedicated Target]] here. *** References to Radioed Links This section has references to Radioed Target. One more reference to Radioed Target. #+begin_src html !-- Headline defined here -- ul li id=sec-1_1_2 a name=sec-1_1_2 id=sec-1_1_2 /a Target with CUSTOMID br/ /li /ul !-- Headline referenced here -- ul li id=sec-1_2_2 References to CUSTOMID links br/ This link to a href=#aabbccddeeff CUSTOMID Target /a is broken. /li /ul #+end_src Jambunathan K.
Re: [Orgmode] Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
I'm unable to re-create this problem. Could you please send a minimal example file in which the problem occurs? Thanks -- Eric Konrad Hinsen konrad.hin...@fastmail.net writes: On 02.11.2010, at 17:09, Ista Zahn wrote: I recently upgraded to version 7.3 (from 7.01), and discovered that org-babel-execute-buffer no longer works, returning Wrong type argument: consp, nil. I just ran into the same problem... Did you find a workaround, other than going back to some older release? Konrad. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
On 08.11.2010, at 14:49, Eric Schulte wrote: I'm unable to re-create this problem. Could you please send a minimal example file in which the problem occurs? Here is an example file. Open it and run org-babel-execute-buffer, and you will get Wrong type argument: consp, nil. Then type C-c C-c on the three code blocks in order: everything works as expected. Do org-babel-execute-buffer again, and it will complain about an undefined function org-babel-map-src-blocks. Konrad. test.org Description: Binary data ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: TaskJuggler3, revisited
John Hendy jw.he...@gmail.com writes: Nice! I was able to do the following: Heh, I assume you used Anthony's fork of the exporter. There's lots of good stuff in there that I'd like to integrate. I have asked Anthony if he has a copyright assignment with the FSF. - swap out the default export with the code below and run tj3 tj3-test.tjp and get a nice html report! --- If you're looking for a default tj3 export... perhaps start with what's below? My exporter currently has one customize variable to define global reports, so if you want to use tj3 you'll have to change this. We could add another customize variable where you can define global reports for tj3 and put your defaults in there. The export code that creates quite a nice html report (from tj3 documentation) This seems like a good default. Did you take this from the tj3 documentation? I believe it is released under the GFDL. Can you just include GFDL code in the taskjuggler exporter which is GPL3+? Thanks -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
Konrad Hinsen konrad.hin...@fastmail.net writes: On 08.11.2010, at 14:49, Eric Schulte wrote: I'm unable to re-create this problem. Could you please send a minimal example file in which the problem occurs? Here is an example file. Open it and run org-babel-execute-buffer, and you will get Wrong type argument: consp, nil. Then type C-c C-c on the three code blocks in order: everything works as expected. Do org-babel-execute-buffer again, and it will complain about an undefined function org-babel-map-src-blocks. Konrad. Data point: this fails for me as well with the same error. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.43.g10c8) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: TaskJuggler3, revisited
John Hendy jw.he...@gmail.com writes: On Fri, Nov 5, 2010 at 7:29 AM, Anthony Lander anthonylan...@yahoo.com wrote: If you grabbed the code I wrote, you can export the file, and compile it directly with tj3 using C-c e J, saving a step. That would be awesome. On C-c e j the current exporter just exports to tj2. On C-c e J it opens the TaskJuggler GUI (which compiles and visualizes). Now for tj3 I would assume that a corresponding action would be to let tj3 compile the exported tjp file and open the resulting reports(s), be it in a browser or a text editor. In theory we would probably need another key binding to just compile the tjp file. This is similar to the LaTeX exporter where you can (1) just export, (2) process the exported LaTeX and (3) open the resulting PDF. Opening report files (text or html) should be fairly simple using org-open-file. The hard part is knowing what files to open without having to parse the report definition to figure out the file names. Maybe the output of tj3 gives a hint what report files were produced. - swap out the default export with the code below and run tj3 tj3-test.tjp and get a nice html report! --- If you're looking for a default tj3 export... perhaps start with what's below? But note that I have to do some manual steps on the .tjp before compiling with tj3. My main issue is defining the report. How do you define the report manually in the .org file or elsewhere so that tj3 doesn't try it on the default tj2 report instead. When I do C-c e J currently, I get no output files; essentially it's just a silent fail. Currently the way to define reports is through the customize variable. But this is then used for all taskjuggler exports. To support file specific reports I was thinking that we should use the #+BEGIN_foo mechanism, i.e. introduce a TaskJuggler blocks with #+BEGIN_TaskJuggler and #+END_TaskJuggler. These could then be used for example to define reports. This would require some changes to org-exp.el. Thoughts? Ideas? Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
Try the same but without the branch: text; i.e.: : git pull git://github.com/ngz/org-mode-lists.git inlinetask which worked just fine for me. Thanks, Eric. Nicolas, this works great! Thank you. This really helps quite a lot. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
Konrad Hinsen konrad.hin...@fastmail.net wrote: On 08.11.2010, at 14:49, Eric Schulte wrote: I'm unable to re-create this problem. Could you please send a minimal example file in which the problem occurs? Here is an example file. Open it and run org-babel-execute-buffer, and you will get Wrong type argument: consp, nil. Then type C-c C-c on the three code blocks in order: everything works as expected. Do org-babel-execute-buffer again, and it will complain about an undefined function org-babel-map-src-blocks. Something to do with the compilation of the org-babel-map-src-blocks macro, no doubt. I don't see it with uncompiled files. HTH, Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
On 08.11.2010, at 15:45, Nick Dokos wrote: Konrad Hinsen konrad.hin...@fastmail.net wrote: On 08.11.2010, at 14:49, Eric Schulte wrote: I'm unable to re-create this problem. Could you please send a minimal example file in which the problem occurs? Here is an example file. Open it and run org-babel-execute-buffer, and you will get Wrong type argument: consp, nil. Then type C-c C-c on the three code blocks in order: everything works as expected. Do org-babel-execute-buffer again, and it will complain about an undefined function org-babel-map-src-blocks. Something to do with the compilation of the org-babel-map-src-blocks macro, no doubt. I don't see it with uncompiled files. I confirm. Removing all the byte-compiled files from my org-mode directory and restarting emacs solves the problem. That's already a useful workaround, thanks! Konrad. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Simple novise question
Hi! How can I use a newer version of org-mode in emacs 23. I want to set the newer version of org-mode as default. Thanks in advance. /C ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Simple novise question
Glasspen ckglasspe...@gmail.com writes: Hi! How can I use a newer version of org-mode in emacs 23. I want to set the newer version of org-mode as default. http://orgmode.org/worg/org-faq.php#Keeping-current -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.43.g10c8) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Simple novise question
Hi /C, * Glasspen ckglasspe...@gmail.com [08. Nov. 2010]: How can I use a newer version of org-mode in emacs 23. I want to set the newer version of org-mode as default. You don't give any hints what system you are using. Since you write from a windows box, I assume you want to install org-mode under windows. There is a new screencast by Russell Adams explaning this: From Russels E-Mail: I've just posted a new thirty minute screencast on setting up Org-mode in Windows to Vimeo. http://vimeo.com/16533939 Included are: - Downloading and configuring Emacs for Windows - Downloading and installing the latest Org-mode - Setting up a working agenda - Setting up capture for the agenda - Windows native popup reminders from Agenda entries - Setting up and use of one touch timestamps HTH, Gregor -- -... --- .-. . -.. ..--.. ...-.- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Organising freezers and generating shopping lists
Hi Shelagh, Sounds like a neat application for org-mode! I haven't seen anyone respond yet, so here is what I can offer for starting points. I think what you're looking to do is define a custom TODO state progression. Instead of TODO - DONE you want something more applicable to frozen food. To point you in the right direction, I think you're looking at defining a custom workflow: - Define workflow states in .emacs: http://orgmode.org/manual/Workflow-states.html#Workflow-states http://orgmode.org/manual/Workflow-states.html#Workflow-states- The same with key bindings: http://orgmode.org/manual/Fast-access-to-TODO-states.html#Fast-access-to-TODO-states - Bernt Hanson's workflow definitions (power user!): http://doc.norang.ca/org-mode.html#sec-3_1 - Lastly, how to do this to just one file (vs. globally in .emacs): http://orgmode.org/manual/Per_002dfile-keywords.html I haven't done much with this but did tinker around and it's not very difficult. You could start with the last link on per file TODO states and see if that works on a test file. Perhaps when you've got your words how you like them you can define the full set of states that you want to use. You can define multiple sets so that once you apply a particular TODO state to an item, it's within a particular work flow. So, you could define one for your day to day items like TODO - SCHEDULED - DONE or whatever and have a separate sequence for food so if you enter an item as FREEZER (meaning purchased/in freezer/clock ticking), the next state would be SOON or something. Have fun with your project. Sounds cool! I have no knowledge of capture at present and can't help you out there... sorry! John http://orgmode.org/manual/Fast-access-to-TODO-states.html#Fast-access-to-TODO-states On Sun, Nov 7, 2010 at 4:30 PM, Shelagh Manton shelagh.man...@gmail.comwrote: I often find that I have lost food items in the botton of my freezer that I have to throw out because I've forgotten about them and I'm trying to set up an org-mode file that helps prevent that. I've made a file that lists the articles that I have put into the freezer such as different food types that have different freezer-lifes (lives?). I have used deadlines for the moment to indicate best before dates. Ideally I would like to have some sort of automated system that alerts me in the agenda that I have some sausages or something still in the freezer that should be used soon but say a month before the actual use-by date. I could see maybe using the SCHEDULED keyword for that. But what I would like is that the todo word which is AVAILABLE gets changed to say SOON (any better choices?) on the day indicated by the SCHEDULED date. Has anyone done something like this or could anyone suggest some code that I could study to do this for myself? Also of course if I change the status from AVAILABLE to USED because I have actually taken it out of the freezer, I would like to be able to add that Item to another file that could be exported to a shopping list. I know I could look at some of the trigger functions that people have sent into the mailing list. This I could probably work out myself with enough time, but if someone could point me in the right direction I would appreciate it. A generic capture template that would let you add the category of food and the use-by date could be automatically inserted eg if it is fish the use-by date is automatically +3m from now. I haven't studied the new capture templates yet, I still rely on my old remember set up. But would the new capture templates be capable of this, especially with some accompanying functions? Just thinking on paper. Regards Shelagh -- email: shelagh.man...@gmail.com BA (Asian Studies) - ANU | Grad Dip IST - UOW ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Migrating my current work flow to org-mode
Hello, During the last few days I have learned about org-mode and I'm starting to plan how to change my current work flow to org-mode. My current work flow is as follows: * At the beginning of every new day I create a horizontal line and a time stamp. * I use mediawiki == headers == for headers and * for bulleted items. Here is the typical view for two days: - Monday 2010-11-08 09:49 Worked: 8:00-17:15 == Done/Todo == * Add parameter somewhere so that energy graphs take into account that only part of the panel receives radiation. Do this in run_specific_site.py. * Teach Alex about python. == Meeting with Alex and Betty == * Todo: run simulation for Tumbaktu. : - Tuesday 2010-11-09 8:31 Worked: 8:17- == Engine changes == * All these will be changed to vectorMatrix M[panel*2] ** ground_collect_matrix Ok ** sky_diffuse_matrix Ok ** sky_beam_matrix Ok -- So now I am trying to figure out how to map this into org-mode. Here are some observations and questions: - The horizontal rule is ok in paragraph mode. - The timestamp is ok by doing C-c . - But the worked line doesn't work if I try to use C-c C-x TAB as it complains Before first headline. I could turn the row into a header or just insert plain text. Is there a more elegant solution? I don't want to have the worked line indexed. Note that the worked line is used at the end of the month to summarize the amount of work hours. - Is there any way of separating headers from items? I like the non-symmetry of the == syntax for headers and * for items, but I guess I can get used to that. - At my previous work place I used the same notebook file for more than 10years(!) of notes, and needless to say it got to be very big (around 100k lines). Can org-mode handle that size files? - How can I customize the exported HTML? E.g. I don't like the table of contents or the numbering of headers. But alltogether org-mode looks great! I'm looking forward to use it both on my desktop and in emacs on my N900. Thanks, Dov ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Organising freezers and generating shopping lists
Have fun with your project. Sounds cool! Don't try to put too many things in, or your project may defrost. Perhaps you should consider a Feature Freeze:) Ian. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] mailto links broken in HTML export
Hi, I'm trying to use org-mode to export to HTML with the inclusion of some email addresses. For example, I have something like - please send an email to ([[mailto:some...@someplace][someone@someplace]]) but upon export this gets mangled into thinking it is a file: directive because the HTML looks like: - please send an email to (a href=some...@someplacesome...@someplace/a) In other words, the mailto:; gets dropped in the export. I'm currently using org-mode version 7.01h with GNU Emacs 22.2.1. This issue is similar to the post found here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29376.html but to be honest I didn't fully understand how the problem was fixed in the patch. Chris ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Specifying a template when calling org-capture
Hello, Most of the time, I call the same template when calling org-capture. I'd like to define a key to call the template without going to the menu. I found the documentation where it says Lisp programs can set KEYS to a string associated with a template in `org-capture-templates'. In this case, interactive selection will be bypassed. I've tried several attempts at calling org-capture and specifying KEYS, but haven't gotten it to work. The method signature is (org-capture optional GOTO KEYS) Here's my attempts, my template's hotkey is t (call-interactively (org-capture nil t)) ;; doesn't work (org-capture nil 't) ;; doesn't work Can anyone tell me how to specify the KEYS argument correctly to the org-capture function? Thanks, --Nate Thanks, --Nate ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Migrating my current work flow to org-mode
Dov Grobgeld dov.grobg...@gmail.com writes: Hello,During the last few days I have learned about org-mode and I'm starting to plan how to change my current work flow to org-mode. You should read the tips and trisk of power users and be inspired by their workflow. Please have a look at the following web pages and also at worg[1] pages: and the links there. http://doc.norang.ca/org-mode.html http://orgmode.org/worg/org-gtd-etc.php cheers, Giovanni [1] http://orgmode.org/worg/ Worg is an attempt to collectively build a knowledge database about Org, planning in plain text and other related topics. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] An Org-mode clone for Vim
Herbert, this is fantastic news. My background is mainly with Vim, but I am very open to learning other software. I can understand people who don't want to relearn keybindings, etc, but I work on many platforms and have that problem all the time anyway :-). I'm a member of a vim-geeks group in St. Louis, and I demoed Org-mode to them last week. The idea of implementing org-mode in Vim was brought up, and I'm sure there are some very talented Vim-scripters in our group who would be interested in your plugin/org-mode system. I'll forward this thread to the vim-geeks group -- please keep up your effort! I think it would be fun to be able to really use org-mode from inside Vim. In addition, we might be able to help you implement some features, or provide feedback. --Nate On Fri, Nov 5, 2010 at 2:39 PM, Herbert Sitz hs...@nwlink.com wrote: I've been working on a Vim plugin that is file-compatible with Org-mode and that clones a good subset of features. It's gotten to the point where I'd like to put it up on Github and see if anyone wants to use it and/or help develop it with me. So far I've implemented a good subset of Org's functionality and, though it has a few rough edges, right now it could be perfectly usable for certain people out there who prefer Vim as a text editor, but who have been drawn to Emacs' Org-mode because of its features. My project isn't at the point where it has all the features or the polish of Org-mode, but many Org-mode users use only a small subset of Org. For people who prefer Vim and have subsets coinciding with my project it could be an option. I've made a video showing what it looks like and demonstrating some of the basic outlining stuff. I just uploaded it to Vimeo, and it tells me it will be available for viewing in a couple hours (i.e., around 3:15pm PST today, Friday Nov. 5,2010). When available it will be viewable at this link: http://vimeo.com/16543959 For someone who asks, 'Why would you bother to do this for Vim when it's already done in Emacs?, I would have these responses: 1. A lot of people don't like Emacs. It is of course an insanely powerful piece of software, but a lot of people can never get accustomed to the chord-key command system, or if they do get semi-accustomed they don't like it or it causes them physical pain. 2. Some people are of the opinion that, while Emacs is admittedly a great operating system/development environment, it lacks a decent text editor. ;) 3. Emacs and Vim (or Vim and Emacs) are king and queen atop the pile of text editors. What one has the other should have to, to the extent possible. 4. I consider myself a Vim person, but I moved to Org-mode and Emacs myself (made almost palatable to me by Viper and Vimpulse) because I wanted to be able to publish outlines to PDF and HTML. Vim has a couple decent outliners but nobody has bothered to create good export systems for quality output. I had written some (non-publishing-related) extensions for one of the Vim outliners and I knew it wouldn't be that hard to write something in Vim that was file-compatible with Org-mode, which would then be able to publish to PDF and HTML simply by calling out to an Emacs server. This was my original goal and it's done and works great. 5. As I did some work I became more curious about all the task management and organization features in Org-mode, and how they might be implemented in Vim. So I started coding up stuff for the various Org searches, agenda views, sparse trees, column views, date management, etc. This is actually fun to do and Vim is well-suited for doing it. So I've kept going. I'm hoping someone else might have an interest in doing this with me. 6. As I said in 5., developing this stuff is fun. That's about it. If there's any interest I'll do more videos showing how other Org-mode features have been implemented in the Vim plugin, and where they stand right now in the Vim plugin compared to Org-mode. Regards, Herb Sitz Seattle, WA ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Specifying a template when calling org-capture
On Nov 8, 2010, at 10:48 AM, Nathan Neff wrote: Hello, Most of the time, I call the same template when calling org-capture. I'd like to define a key to call the template without going to the menu. I found the documentation where it says Lisp programs can set KEYS to a string associated with a template in `org-capture-templates'. In this case, interactive selection will be bypassed. I've tried several attempts at calling org-capture and specifying KEYS, but haven't gotten it to work. The method signature is (org-capture optional GOTO KEYS) Here's my attempts, my template's hotkey is t (call-interactively (org-capture nil t)) ;; doesn't work (org-capture nil 't) ;; doesn't work You need (org-capture nil t) - Carsten Can anyone tell me how to specify the KEYS argument correctly to the org-capture function? Thanks, --Nate Thanks, --Nate ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH 1/2] org-agenda: introduce org-agenda-today and org-agenda-get-day-face
* org-agenda (org-agenda-today): New function. (org-agenda-get-day-face): New function. (org-timeline): Use org-agenda-today and org-agenda-get-day-face. (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face. (org-todo-list): Use org-agenda-today. (org-get-all-dates): Use org-agenda-today. Signed-off-by: Julien Danjou jul...@danjou.info --- lisp/org-agenda.el | 65 ++- 1 files changed, 33 insertions(+), 32 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 583e670..98371e6 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3106,6 +3106,14 @@ no longer in use. (progn (delete-overlay o) t))) (overlays-in (point-min) (point-max) +(defun org-agenda-get-day-face (date) + Return the face DATE should be displayed with. + (cond ((org-agenda-todayp date) +'org-agenda-date-today) + ((member (calendar-day-of-week date) org-agenda-weekend-days) +'org-agenda-date-weekend) + (t 'org-agenda-date))) + ;;; Agenda timeline (defvar org-agenda-only-exact-dates nil) ; dynamically scoped @@ -3133,10 +3141,10 @@ dates. org-timeline-show-empty-dates)) (org-deadline-warning-days 0) (org-agenda-only-exact-dates t) -(today (time-to-days (current-time))) +(today (org-agenda-today)) (past t) args -s e rtn d emptyp wd) +s e rtn d emptyp) (setq org-agenda-redo-command (list 'progn (list 'org-switch-to-buffer-other-window (current-buffer)) @@ -3170,8 +3178,7 @@ dates. (progn (setq past nil) (insert (make-string 79 ?-) \n))) - (setq date (calendar-gregorian-from-absolute d) - wd (calendar-day-of-week date)) + (setq date (calendar-gregorian-from-absolute d)) (setq s (point)) (setq rtn (and (not emptyp) (apply 'org-agenda-get-day-entries entry @@ -3185,9 +3192,7 @@ dates. (funcall org-agenda-format-date date)) \n) (put-text-property s (1- (point)) 'face -(if (member wd org-agenda-weekend-days) -'org-agenda-date-weekend - 'org-agenda-date)) +(org-agenda-get-day-face date)) (put-text-property s (1- (point)) 'org-date-line t) (put-text-property s (1- (point)) 'org-agenda-date-header t) (if (equal d today) @@ -3213,7 +3218,7 @@ When EMPTY is non-nil, also include days without any entries. (if inactive org-ts-regexp-both org-ts-regexp))) dates dates1 date day day1 day2 ts1 ts2) (if force-today - (setq dates (list (time-to-days (current-time) + (setq dates (list (org-agenda-today (save-excursion (goto-char beg) (while (re-search-forward re end t) @@ -3324,9 +3329,7 @@ given in `org-agenda-start-on-weekday'. org-agenda-start-on-weekday nil)) (thefiles (org-agenda-files nil 'ifmode)) (files thefiles) -(today (time-to-days -(time-subtract (current-time) - (list 0 (* 3600 org-extend-today-until) 0 +(today (org-agenda-today)) (sd (or start-day today)) (start (if (or (null org-agenda-start-on-weekday) ( org-agenda-ndays 7)) @@ -3339,7 +3342,7 @@ given in `org-agenda-start-on-weekday'. (day-numbers (list start)) (day-cnt 0) (inhibit-redisplay (not debug-on-error)) -s e rtn rtnall file date d start-pos end-pos todayp nd wd +s e rtn rtnall file date d start-pos end-pos todayp nd clocktable-start clocktable-end filter) (setq org-agenda-redo-command (list 'org-agenda-list (list 'quote include-all) start-day ndays)) @@ -3397,7 +3400,6 @@ given in `org-agenda-start-on-weekday'. (org-agenda-mark-header-line s)) (while (setq d (pop day-numbers)) (setq date (calendar-gregorian-from-absolute d) - wd (calendar-day-of-week date) s (point)) (if (or (setq todayp (= d today)) (and (not start-pos) (= d sd))) @@ -3441,15 +3443,12 @@ given in `org-agenda-start-on-weekday'. (funcall org-agenda-format-date date)) \n) (put-text-property s (1- (point)) 'face - (if (member wd org-agenda-weekend-days) - 'org-agenda-date-weekend -'org-agenda-date)) + (org-agenda-get-day-face date)) (put-text-property s (1- (point)) 'org-date-line t) (put-text-property s (1- (point)) 'org-agenda-date-header t) (put-text-property s (1-
[Orgmode] [PATCH 2/2] org-agenda: add org-agenda-day-face-function
* lisp/org-agenda.el (org-agenda-day-face-function): New variable. (org-agenda-get-day-face): Use org-agenda-day-face-function. Signed-off-by: Julien Danjou jul...@danjou.info --- lisp/org-agenda.el | 20 +++- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 98371e6..ffd6c90 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1433,6 +1433,14 @@ determines if it is a foreground or a background color. (string :tag Color) (sexp :tag Face)) +(defcustom org-agenda-day-face-function nil + Function called to determine what face should be used to display a day. +The only argument passed to that function is the day. It should +returns a face, or nil if does not want to specify a face and let +the normal rules apply. + :group 'org-agenda-line-format + :type 'function) + (defcustom org-agenda-category-icon-alist nil Alist of category icon to be displayed in agenda views. @@ -3108,11 +3116,13 @@ no longer in use. (defun org-agenda-get-day-face (date) Return the face DATE should be displayed with. - (cond ((org-agenda-todayp date) -'org-agenda-date-today) - ((member (calendar-day-of-week date) org-agenda-weekend-days) -'org-agenda-date-weekend) - (t 'org-agenda-date))) + (or (and (functionp org-agenda-day-face-function) + (funcall org-agenda-day-face-function date)) + (cond ((org-agenda-todayp date) +'org-agenda-date-today) + ((member (calendar-day-of-week date) org-agenda-weekend-days) +'org-agenda-date-weekend) + (t 'org-agenda-date ;;; Agenda timeline -- 1.7.2.3 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] mailto links broken in HTML export
At Mon, 08 Nov 2010 16:32:51 +, chris.m.mal...@gmail.com wrote: I'm trying to use org-mode to export to HTML with the inclusion of some email addresses. For example, I have something like - please send an email to ([[mailto:some...@someplace][someone@someplace]]) but upon export this gets mangled into thinking it is a file: directive because the HTML looks like: - please send an email to (a href=some...@someplacesome...@someplace/a) In other words, the mailto:; gets dropped in the export. I'm currently using org-mode version 7.01h with GNU Emacs 22.2.1. This issue is similar to the post found here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29376.html but to be honest I didn't fully understand how the problem was fixed in the patch. I can confirm this bug in 7.01h but it is fixed in 7.3 by the patch you mentioned. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpLHNlrELAKu.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug? - can't set effort from agenda
Have these problems setting effort and priority in the agenda been forgotten? There's been no reply in two weeks, and these problems are not listed under Open Issues ... in Worg. On 25 Oct 2010 at 20:24, George Pearson wrote: On 25 Oct 2010 at 17:45, Carsten Dominik wrote: However, what we still need is this: Make your file as small as possible so that it still repeats the bug. snip Then: how do you construct the agenda view? Is it the daily agenda, or a TODO list. What does it look like? In which line is the cursor when you press e? Is that line linking to the first task in your org file, or the last? OK, here is master.org and recurring.org.: master.org --- #+STARTUP: odd #+STARTUP: hidestars #+STARTUP: logdone #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@) #+TAGS: Rock(r) Frog(f) Schedule(s) Important(i) Urgent(u) Week(w) Soon(o) * Org mode for emacs :PROPERTIES: :CATEGORY: Org mode :Effort: 1:30 :END: *** TODO [#E] reproduce org mode effort bug SCHEDULED: 2010-10-25 Mon :PROPERTIES: :Effort: 0:10 :END: [2010-10-25 Mon] *** TODO how to get list of all tags? SCHEDULED: 2010-10-25 Mon :PROPERTIES: :Effort: 0:10 :END: *** TODO mark a task done-yesterday SCHEDULED: 2010-10-25 Mon :PROPERTIES: :Effort: 0:10 :END: -- recurring.org -- #+STARTUP: odd #+STARTUP: hidestars #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@) #+TAGS: Rock(r) Frog(f) * TODO Recurring :PROPERTIES: :CATEGORY: Recurring :END: *** TODO krebs security blog SCHEDULED: 2010-10-25 Mon +1d :PROPERTIES: :Effort: 0:10 :END: *** TODO read local paper SCHEDULED: 2010-10-25 Mon ++1d :PROPERTIES: :Effort: 0:10 :END: *** TODO booktv check SCHEDULED: 2010-10-25 Mon +1w :PROPERTIES: :Effort: 1:30 :END: --- Construct the agenda view by typing C-c a a while in buffer master.org. Then in the agenda, type d for daily. In the agenda, use the up/down arrow keys to move the highlight to the task of interest, and press e, then use a digit to select the effort. This example has made one thing clear to me - when I thought that setting the effort was not working, it was actually CHANGING THE EFFORT FOR A DIFFERENT TASK. The problem is usually observable when setting the effort in the last three tasks in the agenda, the ones from the recurring.org file, though sometimes (I think) those have worked correctly. The effort change for these last three tasks, when wrong, will always be to one of the other tasks in recurring.org. I hope this is sufficient. An oddity in this example is that typing e also opens a second window in the frame (like when spacebar is typed). Don't recall having seen this happen before. The priority setting problem is also observable, but one time only! On my first priority setting attempt with these files, I typed the comma while the first item in recurring was highlighted and got the: org-agenda-priority: Wrong type argument: integer-or-marker-p, nil All further attempts worked properly. Strange. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH 1/2] org-agenda: introduce org-agenda-today and org-agenda-get-day-face
Hi Julien, can you please rename org-agenda-today to org-agenda-today-p? I think it would make its use clearer. Also, couly you please specify in the docstring of org-agenda-day-face- function how the day is coming in into the user-defined function? As a day number or a calendar date list? As far as I can see, we can merge this change after these fixes. Thanks. - Carsten On Nov 8, 2010, at 11:23 AM, Julien Danjou wrote: * org-agenda (org-agenda-today): New function. (org-agenda-get-day-face): New function. (org-timeline): Use org-agenda-today and org-agenda-get-day-face. (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face. (org-todo-list): Use org-agenda-today. (org-get-all-dates): Use org-agenda-today. Signed-off-by: Julien Danjou jul...@danjou.info --- lisp/org-agenda.el | 65 + +- 1 files changed, 33 insertions(+), 32 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 583e670..98371e6 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3106,6 +3106,14 @@ no longer in use. (progn (delete-overlay o) t))) (overlays-in (point-min) (point-max) +(defun org-agenda-get-day-face (date) + Return the face DATE should be displayed with. + (cond ((org-agenda-todayp date) +'org-agenda-date-today) + ((member (calendar-day-of-week date) org-agenda-weekend-days) +'org-agenda-date-weekend) + (t 'org-agenda-date))) + ;;; Agenda timeline (defvar org-agenda-only-exact-dates nil) ; dynamically scoped @@ -3133,10 +3141,10 @@ dates. org-timeline-show-empty-dates)) (org-deadline-warning-days 0) (org-agenda-only-exact-dates t) -(today (time-to-days (current-time))) +(today (org-agenda-today)) (past t) args -s e rtn d emptyp wd) +s e rtn d emptyp) (setq org-agenda-redo-command (list 'progn (list 'org-switch-to-buffer-other-window (current-buffer)) @@ -3170,8 +3178,7 @@ dates. (progn (setq past nil) (insert (make-string 79 ?-) \n))) - (setq date (calendar-gregorian-from-absolute d) - wd (calendar-day-of-week date)) + (setq date (calendar-gregorian-from-absolute d)) (setq s (point)) (setq rtn (and (not emptyp) (apply 'org-agenda-get-day-entries entry @@ -3185,9 +3192,7 @@ dates. (funcall org-agenda-format-date date)) \n) (put-text-property s (1- (point)) 'face -(if (member wd org-agenda-weekend-days) -'org-agenda-date-weekend - 'org-agenda-date)) +(org-agenda-get-day-face date)) (put-text-property s (1- (point)) 'org-date-line t) (put-text-property s (1- (point)) 'org-agenda-date-header t) (if (equal d today) @@ -3213,7 +3218,7 @@ When EMPTY is non-nil, also include days without any entries. (if inactive org-ts-regexp-both org-ts-regexp))) dates dates1 date day day1 day2 ts1 ts2) (if force-today - (setq dates (list (time-to-days (current-time) + (setq dates (list (org-agenda-today (save-excursion (goto-char beg) (while (re-search-forward re end t) @@ -3324,9 +3329,7 @@ given in `org-agenda-start-on-weekday'. org-agenda-start-on-weekday nil)) (thefiles (org-agenda-files nil 'ifmode)) (files thefiles) -(today (time-to-days -(time-subtract (current-time) - (list 0 (* 3600 org-extend-today-until) 0 +(today (org-agenda-today)) (sd (or start-day today)) (start (if (or (null org-agenda-start-on-weekday) ( org-agenda-ndays 7)) @@ -3339,7 +3342,7 @@ given in `org-agenda-start-on-weekday'. (day-numbers (list start)) (day-cnt 0) (inhibit-redisplay (not debug-on-error)) -s e rtn rtnall file date d start-pos end-pos todayp nd wd +s e rtn rtnall file date d start-pos end-pos todayp nd clocktable-start clocktable-end filter) (setq org-agenda-redo-command (list 'org-agenda-list (list 'quote include-all) start-day ndays)) @@ -3397,7 +3400,6 @@ given in `org-agenda-start-on-weekday'. (org-agenda-mark-header-line s)) (while (setq d (pop day-numbers)) (setq date (calendar-gregorian-from-absolute d) - wd (calendar-day-of-week date) s (point)) (if (or (setq todayp (= d today)) (and (not start-pos) (= d sd))) @@ -3441,15 +3443,12 @@ given in `org-agenda-start-on-weekday'. (funcall org-agenda-format-date date)) \n) (put-text-property s (1- (point)) 'face
Re: [Orgmode] [PATCH 1/2] org-agenda: introduce org-agenda-today and org-agenda-get-day-face
On Mon, Nov 08 2010, Carsten Dominik wrote: can you please rename org-agenda-today to org-agenda-today-p? I think it would make its use clearer. I think you misread the function. I've added org-agenda-today which returns today, and just rewrite org-agenda-todayp to use that one. Also, couly you please specify in the docstring of org-agenda-day-face- function how the day is coming in into the user-defined function? As a day number or a calendar date list? It's a calendar date list. Updated patch attached. From e59409e447f18d92eca9c8faf271901c437746ff Mon Sep 17 00:00:00 2001 From: Julien Danjou jul...@danjou.info Date: Mon, 8 Nov 2010 18:23:07 +0100 Subject: [PATCH] org-agenda: add org-agenda-day-face-function * lisp/org-agenda.el (org-agenda-day-face-function): New variable. (org-agenda-get-day-face): Use org-agenda-day-face-function. Signed-off-by: Julien Danjou jul...@danjou.info --- lisp/org-agenda.el | 20 +++- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 98371e6..aba85eb 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1433,6 +1433,14 @@ determines if it is a foreground or a background color. (string :tag Color) (sexp :tag Face)) +(defcustom org-agenda-day-face-function nil + Function called to determine what face should be used to display a day. +The only argument passed to that function is the day in the +calendar date list format. It should returns a face, or nil if it +does not want to specify a face and let the normal rules apply. + :group 'org-agenda-line-format + :type 'function) + (defcustom org-agenda-category-icon-alist nil Alist of category icon to be displayed in agenda views. @@ -3108,11 +3116,13 @@ no longer in use. (defun org-agenda-get-day-face (date) Return the face DATE should be displayed with. - (cond ((org-agenda-todayp date) - 'org-agenda-date-today) - ((member (calendar-day-of-week date) org-agenda-weekend-days) - 'org-agenda-date-weekend) - (t 'org-agenda-date))) + (or (and (functionp org-agenda-day-face-function) + (funcall org-agenda-day-face-function date)) + (cond ((org-agenda-todayp date) + 'org-agenda-date-today) + ((member (calendar-day-of-week date) org-agenda-weekend-days) + 'org-agenda-date-weekend) + (t 'org-agenda-date ;;; Agenda timeline -- 1.7.2.3 -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Git commit animation?
Hi, I've tried to find the message with the git commit animation someone created quite a while back showing how org contributions have transpired over time. Is that still being updated? Does it even still exist? Would someone provide the link and/or code of how it worked? I'd like to look at it for another application. Thanks! John ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Git commit animation?
Hi On Tue, Nov 9, 2010 at 12:45 AM, John Hendy jw.he...@gmail.com wrote: Hi, I've tried to find the message with the git commit animation someone created quite a while back showing how org contributions have transpired over time. Is that still being updated? Does it even still exist? Would someone provide the link and/or code of how it worked? I'd like to look at it for another application. Here are the videos. org-mode -- http://vimeo.com/11889681 worg -- http://vimeo.com/15968547 These were created using a tool called gource [[ http://code.google.com/p/gource/ ]] HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Git commit animation?
Yes! Many thanks. John On Mon, Nov 8, 2010 at 1:38 PM, Puneeth puncha...@gmail.com wrote: Hi On Tue, Nov 9, 2010 at 12:45 AM, John Hendy jw.he...@gmail.com wrote: Hi, I've tried to find the message with the git commit animation someone created quite a while back showing how org contributions have transpired over time. Is that still being updated? Does it even still exist? Would someone provide the link and/or code of how it worked? I'd like to look at it for another application. Here are the videos. org-mode -- http://vimeo.com/11889681 worg -- http://vimeo.com/15968547 These were created using a tool called gource [[ http://code.google.com/p/gource/ ]] HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Migrating my current work flow to org-mode
Dov Grobgeld dov.grobg...@gmail.com writes: Hello, During the last few days I have learned about org-mode and I'm starting to plan how to change my current work flow to org-mode. My current work flow is as follows: * At the beginning of every new day I create a horizontal line and a time stamp. * I use mediawiki == headers == for headers and * for bulleted items. If you are able to consider moving away from this format, org mode has a really nice date-tree format which is ideal for journal recording. Top level headings are years, second level are months and third level are days. You can enter new entries with just a couple of key presses using the org-capture feature! I have something like this for setting this up: #+begin_src emacs-lisp (setq org-capture-templates '( (j journal entry (file+datetree ~/git/notes/journal.org) * %^{Entry} %^G\n%i%? :immediate-finish t))) #+end_src [...] So now I am trying to figure out how to map this into org-mode. Here are some observations and questions: * The horizontal rule is ok in paragraph mode. * The timestamp is ok by doing C-c . * But the worked line doesn't work if I try to use C-c C-x TAB as it complains Before first headline. I could turn the row into a header or just insert plain text. Is there a more elegant solution? I don't want to have the worked line indexed. Note that the worked line is used at the end of the month to summarize the amount of work hours. You need a heading in which clock info can be entered. If you use the date-tree format, you'll automatically have each day within a heading. * Is there any way of separating headers from items? I like the non-symmetry of the == syntax for headers and * for items, but I guess I can get used to that. You can use lists for items (lists can start with -, numbers, and others). * At my previous work place I used the same notebook file for more than 10years(!) of notes, and needless to say it got to be very big (around 100k lines). Can org-mode handle that size files? I believe so although my files are all under 1MB corresponding to about 10k lines so I'm not the right person to answer this... However, many of the operations I do are on several such files simultaneously so I'm probably approaching 100k lines in total and most operations respond immediately. The performance will depend on what you want to do with this file. * How can I customize the exported HTML? E.g. I don't like the table of contents or the numbering of headers. Trivial. Everything is customisable! But alltogether org-mode looks great! I'm looking forward to use it both on my desktop and in emacs on my N900. I used to use org on my N8x0 computers and loved it. HTH, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.36.g6c95) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH 1/2] org-agenda: introduce org-agenda-today and org-agenda-get-day-face
On Nov 8, 2010, at 1:28 PM, Julien Danjou wrote: On Mon, Nov 08 2010, Carsten Dominik wrote: can you please rename org-agenda-today to org-agenda-today-p? I think it would make its use clearer. I think you misread the function. I've added org-agenda-today which returns today, and just rewrite org-agenda-todayp to use that one. Yes, you are right. Sorry about that. Also, couly you please specify in the docstring of org-agenda-day- face- function how the day is coming in into the user-defined function? As a day number or a calendar date list? It's a calendar date list. Updated patch attached. Thanks! - Carsten From e59409e447f18d92eca9c8faf271901c437746ff Mon Sep 17 00:00:00 2001 From: Julien Danjou jul...@danjou.info Date: Mon, 8 Nov 2010 18:23:07 +0100 Subject: [PATCH] org-agenda: add org-agenda-day-face-function * lisp/org-agenda.el (org-agenda-day-face-function): New variable. (org-agenda-get-day-face): Use org-agenda-day-face-function. Signed-off-by: Julien Danjou jul...@danjou.info --- lisp/org-agenda.el | 20 +++- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 98371e6..aba85eb 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1433,6 +1433,14 @@ determines if it is a foreground or a background color. (string :tag Color) (sexp :tag Face)) +(defcustom org-agenda-day-face-function nil + Function called to determine what face should be used to display a day. +The only argument passed to that function is the day in the +calendar date list format. It should returns a face, or nil if it +does not want to specify a face and let the normal rules apply. + :group 'org-agenda-line-format + :type 'function) + (defcustom org-agenda-category-icon-alist nil Alist of category icon to be displayed in agenda views. @@ -3108,11 +3116,13 @@ no longer in use. (defun org-agenda-get-day-face (date) Return the face DATE should be displayed with. - (cond ((org-agenda-todayp date) -'org-agenda-date-today) - ((member (calendar-day-of-week date) org-agenda-weekend-days) -'org-agenda-date-weekend) - (t 'org-agenda-date))) + (or (and (functionp org-agenda-day-face-function) + (funcall org-agenda-day-face-function date)) + (cond ((org-agenda-todayp date) +'org-agenda-date-today) + ((member (calendar-day-of-week date) org-agenda-weekend-days) +'org-agenda-date-weekend) + (t 'org-agenda-date ;;; Agenda timeline -- 1.7.2.3 -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [babel] tangle results of source blocks?
Hello Maurizio, Maurizio Vitale wrote: Hi, I have procmail rules defined in a org table which is then used as an argument for an elisp block which produces procmailrc results. Something like: #+tblname: mailing-lists | to | emacs-users | emacs-users | #+TBLFM: #+srcname: procmail-rules(mailing-lists=mailing-lists) #+begin_src emacs-lisp :exports results :results output :tangle no ... elisp code that evaluates to procmail rules #+end_src #+results: procmail-rules :tangle /tmp/YYY :0: * ^to_emacs-us...@xxx.com $MAILDIR/emacs-users/ I'd like to tangle the result section, not the code block. Is that possible? See the exports header argument. http://orgmode.org/manual/exports.html#exports Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Git commit animation?
That just blew my mind. Great stuff! On Mon, Nov 8, 2010 at 2:38 PM, Puneeth puncha...@gmail.com wrote: Hi On Tue, Nov 9, 2010 at 12:45 AM, John Hendy jw.he...@gmail.com wrote: Hi, I've tried to find the message with the git commit animation someone created quite a while back showing how org contributions have transpired over time. Is that still being updated? Does it even still exist? Would someone provide the link and/or code of how it worked? I'd like to look at it for another application. Here are the videos. org-mode -- http://vimeo.com/11889681 worg -- http://vimeo.com/15968547 These were created using a tool called gource [[ http://code.google.com/p/gource/ ]] HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [babel] tangle results of source blocks?
Sébastien == Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Sébastien Hello Maurizio, Sébastien Maurizio Vitale wrote: Hi, I have procmail rules defined in a org table which is then used as an argument for an elisp block which produces procmailrc results. Something like: #+tblname: mailing-lists | to | emacs-users | emacs-users | #+TBLFM: #+srcname: procmail-rules(mailing-lists=mailing-lists) #+begin_src emacs-lisp :exports results :results output :tangle no ... elisp code that evaluates to procmail rules #+end_src #+results: procmail-rules :tangle /tmp/YYY :0: * ^to_emacs-us...@xxx.com $MAILDIR/emacs-users/ I'd like to tangle the result section, not the code block. Is that possible? Sébastien See the exports header argument. Sébastien http://orgmode.org/manual/exports.html#exports That option controls what is exported, but I really need to tangle: there're portions of the file, section headings and other documentation that don't belong into the output file. So for instance given: * Introduction This is a file that does blah * Configuration #+tblname: config |a | nice table| *Details #+srcname: procmail-rules(config=config) #+begin_src emacs-lisp :exports results :results output :tangle ~/.procmailrc ... elisp code that evaluates to procmail rules #+end_src Of this entire file, noting should end up in ~/.procmailrc except for the result of the evaluation of procmail-rules, which is what I hoped to achieve with ':tangle ~/.procmailrc' and ':exports results' combined. Thanks, Maurizio ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [Babel] pass through header arguments on #+call: lines
There has been some recent discussion/questions regarding how to pass header arguments through to a code block being called using a #+call line. I've just pushed up a change which makes this possible. Call lines now have the following syntax, where each header argument portion is optional. #+call: block-name[:header args for block](arguments) :header args for call line here's a (possibly) illuminating example #+source: echo #+begin_src emacs-lisp :var n=me (message hi %s n) #+end_src #+call: echo() #+results: echo() : hi me #+call: echo(n=you) #+results: echo(n=you) : hi you #+call: echo[:var n=you]() #+results: echo[:var n=you]() : hi you #+call: echo() :results vector | hi me | #+call: echo() :var n=you : hi me Best -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-indent, org-inlinetask: patches on github
Hi Nicolas, Nicolas Goaziou wrote: To maintainers: - to sum it up, if you don't like the idea of templates, or how it is implemented, all commits but the last one are only fixes. - could you delete submissions from 11-04 and 11-06 (but _not_ from 10-26) on the patchwork server, as they are now included in the repo? I'm now waiting for comments from the 3-3.5 persons in the world using inline tasks! I guess I'm the last 0.5 user of inline tasks ;-) I really have no time just now, but I promise trying your patch in the next coming 2 days. Promised. Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: New Screencast: Setting Up Org-mode for Windows
Hi Russell, Russell Adams wrote: On Mon, Nov 08, 2010 at 01:12:43AM +0100, Stefan Vollmar wrote: I was so impressed with the part about popup notifications, that I tried to get it running on the Mac. Many users who have Emacs on the Mac will use growl, http://growl.info, a free notification system. The shell command of your my-appt-disp-window() function can be adapted to use growl's optional commandline interface in this way: growlnotify -s -m \ msg \ This will produce a beautiful (and sticky) popup window, one can add an optional icon and a priority (and lots of styles for the graphical appearance). That's fantastic! I use kdialog myself on linux, and had to find a compatible method for Windows. It has occurred to me that Emacs itself uses popups, but I'm not sure how... I can't take credit for figuring out how to get the agenda to do the popups, I just adapted that from another post here. Never tested it myself, but I have the following comment in my .emacs file, for if... ;; For Windows users: use `todochicku.el' and the snarl notifier Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [babel] tangle results of source blocks?
Unfortunately I can't look this up at the moment, but my guess is that the :results code option might help with what you want? Maurizio Vitale wrote: Sébastien == Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Sébastien Hello Maurizio, Sébastien Maurizio Vitale wrote: Hi, I have procmail rules defined in a org table which is then used as an argument for an elisp block which produces procmailrc results. Something like: #+tblname: mailing-lists | to | emacs-users | emacs-users | #+TBLFM: #+srcname: procmail-rules(mailing-lists=mailing-lists) #+begin_src emacs-lisp :exports results :results output :tangle no ... elisp code that evaluates to procmail rules #+end_src #+results: procmail-rules :tangle /tmp/YYY :0: * ^to_emacs-us...@xxx.com $MAILDIR/emacs-users/ I'd like to tangle the result section, not the code block. Is that possible? Sébastien See the exports header argument. Sébastien http://orgmode.org/manual/exports.html#exports That option controls what is exported, but I really need to tangle: there're portions of the file, section headings and other documentation that don't belong into the output file. So for instance given: * Introduction This is a file that does blah * Configuration #+tblname: config |a | nice table| *Details #+srcname: procmail-rules(config=config) #+begin_src emacs-lisp :exports results :results output :tangle ~/.procmailrc ... elisp code that evaluates to procmail rules #+end_src Of this entire file, noting should end up in ~/.procmailrc except for the result of the evaluation of procmail-rules, which is what I hoped to achieve with ':tangle ~/.procmailrc' and ':exports results' combined. Thanks, Maurizio ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [babel] tangle results of source blocks?
Hi Maurizio, You could try something like the following using the noweb expansion to run the code block and tangle its results. #+begin_src procmail :tangle yes :noweb yes procmail-rules(mailing-lists=mailing-lists) #+end_src Best -- Eric Maurizio Vitale m...@google.com writes: Hi, I have procmail rules defined in a org table which is then used as an argument for an elisp block which produces procmailrc results. Something like: #+tblname: mailing-lists | to | emacs-users | emacs-users | #+TBLFM: #+srcname: procmail-rules(mailing-lists=mailing-lists) #+begin_src emacs-lisp :exports results :results output :tangle no ... elisp code that evaluates to procmail rules #+end_src #+results: procmail-rules :tangle /tmp/YYY :0: * ^to_emacs-us...@xxx.com $MAILDIR/emacs-users/ I'd like to tangle the result section, not the code block. Is that possible? Thanks, Maurizio ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Migrating my current work flow to org-mode
FYI, an alternative to a date tree is to use sorting in the outline. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: New Screencast: Setting Up Org-mode for Windows
Thanks for creating this, Russell. It's great! I've already set my system up per John Wiegley's tutorial. I didn't appreciate Org until I started to use capture, so I'm glad you introduced it early on. And I like how you pointed out org-capture-templates. I'm at the point where I'm changing some settings, so it's nice to see where things are defined. Also neat is the idea of notification. But I wonder if some folks might have VBS disabled. For them, I'd recommend using the Net Send command. Net Send can also broadcast to multiple users on a domain, which may (or may not) be a nice thing. I can imagine an IT person using Org-mode with Net Send to notify everyone about a server reboot. Some other things that are new to me: * AddPM (never used it) * -f switch to run Lisp and the shortcut to Agenda * latest version is now 7.3 * Timestamps Workflow * C-c [ * lots more Invoking Customize is a nice way to establish the .emacs. But I would've mentioned C-x C-f ~/.eTAB after the second customization, though. :) All the best! Oh, BTW, is there a tutorial on how to set up a Worg account for Windows users? -- Raymond Zeitler r.zeit...@ieee.org On Nov 5, 2010, at 4:52 PM, Russell Adams wrote: I've just posted a new thirty minute screencast on setting up Org-mode in Windows to Vimeo. http://vimeo.com/16533939 Included are: - Downloading and configuring Emacs for Windows - Downloading and installing the latest Org-mode - Setting up a working agenda - Setting up capture for the agenda - Windows native popup reminders from Agenda entries - Setting up and use of one touch timestamps Under my sig are the snippets I used in the video. Enjoy! -snip- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: New Screencast: Setting Up Org-mode for Windows
On Mon, Nov 08, 2010 at 05:07:29PM -0500, Raymond Zeitler wrote: Thanks for creating this, Russell. It's great! I'm glad you enjoyed it! I've already set my system up per John Wiegley's tutorial. I didn't appreciate Org until I started to use capture, so I'm glad you introduced it early on. And I like how you pointed out org-capture-templates. I'm at the point where I'm changing some settings, so it's nice to see where things are defined. Capture is a must. Working a project is one thing, but its how to deal with the nonstop little things that counts. Also neat is the idea of notification. But I wonder if some folks might have VBS disabled. For them, I'd recommend using the Net Send command. Net Send can also broadcast to multiple users on a domain, which may (or may not) be a nice thing. I can imagine an IT person using Org-mode with Net Send to notify everyone about a server reboot. I'm not a Windows guy, so I'm not sure. I used VBS because it appeared that between Windows 2k, XP, and 2003 that NET SEND may have changed. I've now had a few people suggest Growl for Mac and Windows. Some other things that are new to me: * AddPM (never used it) * -f switch to run Lisp and the shortcut to Agenda Useful! * latest version is now 7.3 * Timestamps Workflow I love the one touch timestamps, it's been central to all of my work. * C-c [ * lots more Invoking Customize is a nice way to establish the .emacs. But I would've mentioned C-x C-f ~/.eTAB after the second customization, though. :) Yeah that was a bit repetitious. On the other hand I didn't know that emacs would tab complete ~ on Windows, I was using the native interface. ;] Thanks! -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Was tj3 -- tikz gantt chart
Hi Eric, While I like tj3, I was looking around for something on tikz/gantt and found something from the pgf mailing list I thought I'd pass along. Check it out. [1] I'll be tinkering more with this to see if some kind of table couldn't be used to bring in the right data to form a gantt chart with tikz in org-mode using babel. Where I'd like to go (for my purposes): - dates generated based on first/last task (or something else) - smart text placement (yours is varied to be next to the task; easier to go with the standard of putting them on the left in a colum?) - some kind of dependency denoting - varied fonts for top level vs. sub-level items - pretty it up I'll futz with this and see how it goes, but did want to post what I ran into. Here's the code from my org-mode file: --- #+begin_src latex :packages '(( tikz)) :file gantt.pdf \newcommand\ganttline[4]{% line, tag, start end \node at (0,#1) [anchor=base east] {#2}; \fill[blue] (#3/20,#1-.2) rectangle (#4/20,#1+.2);} \begin{tikzpicture}[y=-1cm] \draw[help lines] (0,4.5) grid (8,0.5); \ganttline{1}{Kickoff-Meeting}{20}{40} \ganttline{2}{Thinking}{45}{50} \ganttline{3}{Implementation}{50}{100} \ganttline{4}{Testing}{100}{140} \end{tikzpicture} #+end_src --- [1] http://osdir.com/ml/tex.pgf.user/2007-07/msg8.html On Thu, Oct 14, 2010 at 1:24 AM, Eric S Fraga ucec...@ucl.ac.uk wrote: For the recent project I had to prepare, I did have to generate a GANTT chart. I tried using TJ2 via org but found the current implementation not suitable for my way of working. Instead of using TJ, either 2 or 3, I simply created my own chart using tikz in latex. To make my life easier, I created a number of latex commands for this. I've now developed some code which will take an org table and create a GANTT chart. Some of you may find this useful so I've attached an org document with all the codes (emacs lisp + latex) along with an example. I've also attached a PDF so you can see what I get. The codes are not necessarily easily customisable so they may not do what you want. For the types of project proposals I have to prepare, the level of detail I have here is sufficient. eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [RFI] Using DISQUS on certain pages
Hello orgsters, Suppose I have a project defined (say, org-blog) that I use to generate blog posts, and I want to use Disqus to track comments. Further suppose I don't want to use a templating framework such as jekyll to transform org into HTML. Does anyone have experience inserting disqus code into preambles/postambles? So far, I've defined a few variables in my projects file, but I'd just like to know if there are any best-practices or tips anyone can share who has emarked upon a similar quest before. Better to ask know, when I'm awake, than when I'm tired after bug-squashing my own amateur, careless programming. Thanks in advance! Jeff -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Can I change the link name in TOC?
While I generate the table of content of my org file, the link of each sub-title will be something like #sec-2.2 But when I change the sequence of the title, the anchor will be changed. I want to maintain permalinks for each anchors. Is it possbile to change the #sec-2.2 into something like #test-keywords? BTW: I am using Chinese for my sub-title, so I think use the title words for anchor is not suitable. Thanks Water Lin -- The Big Bang on Busy Reading: http://bigbang.WaterLin.org Email: water...@sohu.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] New clocktable code bug
Dear Carsten, I found a bug for the new clocktable code. Only when :level t is set, the formula % works well. #+BEGIN: clocktable :maxlevel 2 :scope tree :level t :formula % ... work #+BEGIN: clocktable :maxlevel 2 :scope tree :formula % ... do not work My test has done in the latest org git code, 2010-11-09 06:26:47. Thanks. -- Kiwon Um ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Bug: org-capture: confusing error for invalid template format [7.3] [7.3]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Setting `org-capture-templates' to something like '((t Todo entry (file /tmp/yo.org) Hi there)) Causes `org-capture' to fail with the following error: Lisp error: (error Capture template `t': The kill is not a (set of) tree(s) - please use S-insertchar to yank anyway) Tracing through the source a bit, the problem is that `org-kill-is-subtree-p' sees that Hi there is not a subtree and causes `org-paste-subtree' to error out. Changing `org-capture-templates' to: '((t Todo entry (file /tmp/yo.org) * Hi there)) makes it work correctly. This should fail sooner (such as when it is set by custom) or print a more useful error message; I didn't know that the problem was with the template string as I wasn't trying to kill anything. Emacs : GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0) of 2010-11-08 on priscilla Package: Org-mode version 7.3 current state: == (setq org-export-with-LaTeX-fragments nil org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-export-table-header-tags '(th scope=\%s\ . /th) org-export-latex-default-packages-alist '((AUTO inputenc t) (T1 fontenc t) ( fixltx2e nil) ( graphicx t) ( longtable nil) ( float nil) ( wrapfig nil) ( soul t) ( t1enc t) ( textcomp t) ( marvosym t) ( wasysym t) ( latexsym t) ( amssymb t) ( hyperref nil) \\tolerance=1000) org-export-html-inline-image-extensions '(png jpeg jpg gif) org-metaup-hook '(org-babel-load-in-session-maybe) org-capture-templates '((t Todo entry (file /tmp/yo.org) Hi there)) org-after-todo-state-change-hook '(org-clock-out-if-current) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-agenda-prefix-format '((agenda . %-12:c%?-12t% s) (timeline . % s) (todo . %-12:c) (tags . %-12:c) (search . %-12:c)) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-table-data-tags '(td . /td) org-src-lang-modes '((ocaml . tuareg) (elisp . emacs-lisp) (ditaa . artist) (asymptote . asy) (dot . fundamental) (sqlite . sql)) org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-src-native-tab-command-maybe org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-export-language-setup '((en Author Date Table of Contents Footnotes) (ca Autor Data Iacute;ndex Peus de pagrave;gina) (cs Autor Datum Obsah Pozn\341mky pod carou) (da Ophavsmand Dato Indhold Fodnoter) (de Autor Datum Inhaltsverzeichnis Fuszlig;noten) (eo A#365;toro Dato Enhavo Piednotoj) (es Autor Fecha Iacute;ndice Pies de paacute;gina) (fi Tekijauml; Pauml;ivauml;mauml;auml;rauml; Sisauml;llysluettelo Alaviitteet) (fr Auteur Date Table des matiegrave;res Notes de bas de page) (hu Szerzotilde; Daacute;tum Tartalomjegyzeacute;k Laacute;bjegyzet) (is Houml;fundur Dagsetning Efnisyfirlit Aftanmaacute;lsgreinar) (it Autore Data Indice Note a piegrave; di pagina) (nl Auteur Datum Inhoudsopgave Voetnoten) (no Forfatter Dato Innhold Fotnoter) (nb Forfatter Dato Innhold Fotnoter) (nn Forfattar Dato Innhald Fotnotar) (pl Autor Data Spis tresacute;ci Przypis) (sv Fouml;rfattare Datum Inneharing;ll Fotnoter)) org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote