Re: [O] Capturing to a list in a dynamic 2nd level heading
Hi cj At Mon, 13 Aug 2012 13:50:09 -0400, Christopher J. White wrote: I have a capture template that does almost exactly that, I just use a user entered subheading -- should be easy enough to tweak for your task. Yes indeed, thank you very much! Simon Capture template: (d Discussion Item item (file+function ~/org/Todo.org (lambda () (let* ((ctxt (read-string Discussion context: )) (ctxt-pt (condition-case msg (org-find-olp (list Discussion Items ctxt) t) (error nil (if ctxt-pt (progn (goto-char ctxt-pt) (org-end-of-subtree) (insert-string \n)) (goto-char (org-find-olp (list Discussion Items) t)) (org-end-of-subtree) (insert-string (format \n** %s\n ctxt)))
[O] Capturing to a list in a dynamic 2nd level heading
Hi all, Is it possible with org-capture to create a template that would create the following: * Log ** 2012 - Week 33 - One liner of interest - Another one liner of interest So that is a capture template that generates the 2nd level heading when required and the text entered is converted to a list entry which is added to the end of the list. (format-time-string %G - Week %W) is the correct date string, but file+headline creates a top level heading and file+olp expects it to already exist. It seems that the text entered must also become a sub heading. Is that correct? I'm trying to achieve something very similar to this http://metajack.im/2009/01/01/journaling-with-emacs-orgmode/ Any suggestions greatly appreciated. I haven't managed to strike gold in the list archive. Simon -- Simon Brown
Re: [O] org google weather
At Fri, 04 Mar 2011 08:40:23 +, Ian Barton wrote: On 03/03/11 21:37, Simon Brown wrote: Has anybody tried adding the functionality of %%(diary-sunrise-sunset) (sunrise, sunset time and daylight hours) to the google weather code? I just have something like: #+CATEGORY: Day/Year %%(diary-day-of-year) #+CATEGORY: Sunrise %%(diary-sunrise-sunset) That's where I am at the moment, with the weather forecast, sunrise and sunset times on different lines. I was wondering if the two could be integrated to make a one line weather forecast, sunrise and sunset times. ? eg. Location: (icon) Chance of Rain, [-1,6] ℃, Sunrise 0658 Sunset 1759 1101 hrs of daylight Simon
Re: [O] org google weather
At Fri, 04 Mar 2011 17:05:55 -0500, Nick Dokos wrote: Simon Brown li...@700c.org wrote: At Fri, 04 Mar 2011 08:40:23 +, Ian Barton wrote: On 03/03/11 21:37, Simon Brown wrote: Has anybody tried adding the functionality of %%(diary-sunrise-sunset) (sunrise, sunset time and daylight hours) to the google weather code? I just have something like: #+CATEGORY: Day/Year %%(diary-day-of-year) #+CATEGORY: Sunrise %%(diary-sunrise-sunset) That's where I am at the moment, with the weather forecast, sunrise and sunset times on different lines. I was wondering if the two could be integrated to make a one line weather forecast, sunrise and sunset times. ? eg. Location: (icon) Chance of Rain, [-1,6] ℃, Sunrise 0658 Sunset 1759 1101 hrs of daylight Just write your own function to take the individual results and concatenate them, e.g. --8---cut here---start-8--- (defun full-catastrophe () (format %s :: %s (org-google-weather) (diary-sunrise-sunset))) --8---cut here---end---8--- and add --8---cut here---start-8--- %%(full-catastrophe) --8---cut here---end---8--- Excellent, I like your style :-) Simon
[O] org google weather
Evening all, Has anybody tried adding the functionality of %%(diary-sunrise-sunset) (sunrise, sunset time and daylight hours) to the google weather code? Simon
Re: [Orgmode] export TODO keyword
Hi Rares, At Mon, 16 Aug 2010 14:27:47 +0300, Rares Pop rares@gmail.com wrote: I've found part of the problem but I don't know the cause. The *.tex file was generated with curly brackets (e.g. \section{\textbf\{TODO\} Task 1}) - i've attached the *.tex file And if I remove the slashes(*\ \)* signs the latex code will be something like this (e.g \section{\textbf{TODO} Task 1}) and by exporting it to PDF it looks ok. The value of the variable *Org Export Latex Todo Keyword Markup* is * \textbf{%s}* * * So it seems that somewhere on the road some slash signs are added without permission. This sounds like a bug I encountered a while back: http://article.gmane.org/gmane.emacs.orgmode/24900 Carsten fixed it a while ago (Thanks!) I suggest you update. Simon ___ 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] Todo state highlighting in Latex export
At Thu, 13 May 2010 08:48:04 +0200, Carsten Dominik wrote: On May 4, 2010, at 6:41 PM, Simon Brown wrote: I might be the only user of this but todo state highlighting has been broken at some point reasonably recently. I've just updated to .35i and now instead of having a green DONE in my pdf, I have a {DONE} where the opening brace is green. Fixed, thanks! Next time, please provide more complete information, and example file, and the settings you are using to ge green TODO keywords, for example. Cool, thanks. Yes, not my best bug report ever. Simon ___ 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] Todo state highlighting in Latex export
Hi, I might be the only user of this but todo state highlighting has been broken at some point reasonably recently. I've just updated to .35i and now instead of having a green DONE in my pdf, I have a {DONE} where the opening brace is green. Any ideas? Simon ___ 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: Linking Mail ?
At Wed, 28 Apr 2010 16:14:59 -0400, Matt Lundin m...@imapmail.org wrote: David Frascone d...@frascone.com writes: 2) Which mail subsystem would be most compatible and easiest to use? MH? Gnus? And, would it be worth the trouble setting up on a mac? You might want to check out this recent ML discussion: http://thread.gmane.org/gmane.emacs.orgmode/23481/focus=23588 I started that thread, the answer I suspect is simply no. Your options are MH-E, Gnus, Wanderlust, VM and MEW. I tried Gnus, Wanderlust and VM trying the hardest with Gnus and Wanderlust. Gnus has a lot going for it as it is included in emacs, very active development and I had it reading my IMAP mail very quickly. It is however a news reader and that didn't suit me at all. Installing Wanderlust I understand is tricky, you need to get it and it's dependancies from the right branch from CVS as the last release occured some time ago. I use the ubuntu wl-beta package so didn't have to do this. Configuration is far from trvial, my config file has 300 lines. It took me a week of tweaking to get to a state where I was happier than I was with my previous mail client. There are still some rough edges. I do like and use the org integration, but have found the bigger advantage is that I've now one less reason to leave emacs. How emacs centric is your current computer use? Postbox http://forums.appleinsider.com/showthread.php?t=94402 looks like a very capable application. By all means try all 5 out, I suspect though that they're not the mail clients you're looking for. Simon ___ 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: Org mode and emacs email
* Scott Brim (s...@employees.org) wrote: Wanderlust seems best at IMAP -- I would go there first, but if you've tolerated mutt's IMAP support this long, maybe you don't need good IMAP support. VM has nice integration with w3m for HTML. IMHO don't start on gnus if you've never used it. Then there's MEW, which is also a good one. They all work with mbox-style mail files. I'm trying Wanderlust, but I've started to wonder if it's worth the effort. I've moved from mbox to Maildirs but wanderlust doesn't seem to be able to recognise the subdirectories. I don't want to be changing config everytime I change a list subscription. I also have yet to get it to successfully autheniticate with any imap server. I've got nowhere near trying the org integration. I might try installing vm 8.1 but at the moment I've already squandered far too much time on this. Thanks Simon -- Simon Brown ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org mode and emacs email
Hi all, I currently use mutt as my email client but I'm looking for greater emacs integration and better html support. Org mode supports at least gnus, vm and wanderlust. Can anybody advise on the relative pros and cons? My main restriction is that I don't want to break my mutt setup, so the client must be able to work with my current collection of mbox files. I also have 3 IMAP accounts. Using emacs 23 and current org-mode. Simon -- Simon Brown ___ 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: Org mode and emacs email
* Richard Riley (rileyrg...@gmail.com) wrote: This is pretty fanboi of me but its really simple : use Gnus. It can do imap fine (you can always move to using a local dovecot server and use offlineimap to sync if performance is a problem). I've had a quick look at the gnus manual and it seems to depend upon importing your mail which rules it out for me. I'm not prepared to start collecting mail in a mail reader specific way. Most of my mail is collected by fetchmail, the IMAP accounts are quite low traffic. Simon -- Simon Brown ___ 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] Release 6.34
* Carsten Dominik (domi...@uva.nl) wrote: I have released version 6.34 of Org-mode. Thanks to everyone who contributed. The download links here: http://orgmode.org/index.html#sec-2 point to version 3.34 which doesn't exist http://orgmode.org/org-3.34.zip http://orgmode.org/org-3.34.tar.gz changing the first 3 to 6 works though :-) Simon -- Simon Brown ___ 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: AW: [Orgmode] Orgmode and PDF export on Windows machine
On 26/06/09 10:41:08, Carsten Dominik wrote: Org-mode uses pdflatex -interaction nonstopmode file.tex file.tex is first passed through shell-quote-argument before being inserted into the command. Please check in Emacs what evaluating (shell-quote-argument c:path\to\file) gives you and then try to run the pdflatex command from the command line. I guess the problem must be that pdflatex does not exist as as command, or that there is a problem with the quoting.. I'm still seeing this problem. pdflatex run as above generates the correct pdf file. Did anybody else find the solution? Simon ___ 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 colouring and properties
* Carsten Dominik (carsten.domi...@gmail.com) wrote: I guess this could be implemented, but for me, LaTeX is still mainly used for BW text, so it never occurred to me. I guess we could wrap some kind of macro around it, and you would be responsible to define that macro I've thought about this some more and although I love colour everywhere what I'm after is actually quite simple. Firstly on reflection I agree exporting draws would be bad. Where I work there are a lot of network restrictions which means many documents are exchanged in printed form. Highlighting the todo state red or green as it is within org-mode, makes important points obvious. Some sort of colouring for the date stamps for scheduled, deadline and closed would be nice as well Simon -- Simon Brown ___ 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] Latex export colouring and properties
Hi all, Is it possible to colour the output in pdf export in the same way it is done in html export? The colouring of tags and timestamps is very useful. Also is it possible to include properties in the output? I'm adding effort estimates to the tasks which I'd like to be included in the exported pdf. Thanks, Simon ___ 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] Latex export colouring and properties
Hi all, Is it possible to colour the output in pdf export in the same way it is done in html export? The colouring of tags and timestamps is very useful. Also is it possible to include properties in the output? I'm adding effort estimates to the tasks which I'd like to be included in the exported pdf. Thanks, Simon ___ 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] Latex Export -- pdf
Evening all, I have a question about how people use the latex exporter if I may, I can't find much on the interweb about it. How do you go about tarting up the output? The exporter creates 99% of what I want, but the margins are daft and I'd prefer a different font. I'm guessing you hand craft a LaTeX preamble of some sort? I am unfamiliar with LaTeX having taken the LyX route a long time ago. I could use LyX to do this, but I'd prefer it to be automagic. Should I start reading Lamport? Can anyone share a template? Thanks Simon ___ 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