Re: [Orgmode] Issue with remember templates
Hello, On Sun, Jan 3, 2010 at 2:11 PM, Carsten Dominik carsten.domi...@gmail.com wrote: * %\\%(diary-date %?) Day Off should work. Ok, The other problem is that Org ensures that the new entry has a headline so I had to start the template with '*'. But I don't want this since I read that the sexp entries must start at the left margin. You can use (Holidays ?h * Day Off %\\%(diary-date %?) work.org Holidays) Hm, well I now have this entry in my agenda view: TueTuesday 5 January 2010 Vacation: Day Off %%(diary-date 01 5 2010) The SEXP is now visible from the view which is not really nice. Thanks -- Francis ___ 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] Issue with remember templates
On Jan 4, 2010, at 9:52 AM, Francis Moreau wrote: Hello, On Sun, Jan 3, 2010 at 2:11 PM, Carsten Dominik carsten.domi...@gmail.com wrote: * %\\%(diary-date %?) Day Off should work. Ok, The other problem is that Org ensures that the new entry has a headline so I had to start the template with '*'. But I don't want this since I read that the sexp entries must start at the left margin. You can use (Holidays ?h * Day Off %\\%(diary-date %?) work.org Holidays) Hm, well I now have this entry in my agenda view: TueTuesday 5 January 2010 Vacation: Day Off %%(diary-date 01 5 2010) The SEXP is now visible from the view which is not really nice. That is right - add a \n before the in your template. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)]
On Jan 3, 2010, at 10:25 PM, David Maus wrote: Hi Carsten, At Sun, 3 Jan 2010 19:47:18 +0100, Carsten Dominik wrote: Can I ask you to submit this as a bug report to Emacs? I'll certainly do that. Thanks. I also attached a patch for org-wl.el that removes all text properties of the subject string. I have applied the patch, thank you! - Carsten Regards -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. maus.da...@gmail.com ICQ... 241051416 0001-Remove-text-properties-of-subject-string-to-avoid-po.patch - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] HTML table export with col width XY
On Jan 3, 2010, at 9:02 PM, Rocky Road wrote: On Sun, 2010-01-03 at 19:53 +0100, Carsten Dominik wrote: Hi Karl, I still cannot reproduce this. Anybody else? - Carsten I can reproduce it from the simple input: | 35| | | header | len | |-+-| | Short line | 10 | | A lng line | 62 | However, it appears that the '=' is only a display artifact in the generated buffer, it is not saved to a file. Ah, that clears it up. I had understood that the arrow shows up in the browser. But now I see it in the .html Emacs buffer, this is a left-over display property. Fixed, thanks. But the XY line is actually written: trth scope=collt;35gt;/thth scope=col/th/tr Yes. You can get rid of it by adding a special first column and putting a / into the first column of lines you'd like to have removed. At some point I had code that would do this automatically for lines that only have these cookies. But I removed it again because it was causing trouble. Maybe I should in fact get a better version of that back into the code - it would be nice to make them go away automatically. - Carsten ** Versions used : - org-mode 6.33f - GNU Emacs 23.0.91.1 - linux 2.6.28-17-generic (ubuntu 9.04 jaunty) HTH. Michelle - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Issue with remember templates
On Mon, Jan 4, 2010 at 10:00 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Jan 4, 2010, at 9:52 AM, Francis Moreau wrote: Hello, On Sun, Jan 3, 2010 at 2:11 PM, Carsten Dominik carsten.domi...@gmail.com wrote: * %\\%(diary-date %?) Day Off should work. Ok, The other problem is that Org ensures that the new entry has a headline so I had to start the template with '*'. But I don't want this since I read that the sexp entries must start at the left margin. You can use (Holidays ?h * Day Off %\\%(diary-date %?) work.org Holidays) Hm, well I now have this entry in my agenda view: TueTuesday 5 January 2010 Vacation: Day Off %%(diary-date 01 5 2010) The SEXP is now visible from the view which is not really nice. That is right - add a \n before the in your template. Ok, but the Day off headline seems a bit 'hackish'. Is there a more 'traditionnal' way to do this (add vacation in my agenda) with Org ? Thanks -- Francis ___ 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] ordered list start with number other than 1
Hi, this is relatively hard to implement, and I am not going to do it right now, sorry. - Carsten On Dec 18, 2009, at 6:41 PM, Shawn Koons wrote: Can someone point me to documentation about making an ordered list starting with a number other than '1.' so that when it is exported to html the numbers will be sequential using the numbers I put in the list? E.g., instead of a list as follows: BEGINNING OF LIST 1. Some text 2. Some text 3. Some text END OF LIST I would like the list to start as follows: BEGINNING OF LIST 27. Some text 28. Some text 29. Some text END OF LIST Thank you, Shawn ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [Feature request] CSS tag classes for headlines
On Fri, 01 Jan 2010 11:07 +0100, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Peter, this is a quite open-ended request, to add classes based on TODO keywords/Tags, maybe timestamps etc. Maybe the best solution would be to do this in postprocessing, for example using a hook like org-export-html-final-hook: http://orgmode.org/worg/org-configs/org-hooks.php#sec-1.76 Fair enough - thanks! Also happy New Year, and thanks again for a great piece of software! Peter. HTH - Carsten On Dec 4, 2009, at 8:16 PM, Peter Westlake wrote: Would it be possible to give exported headlines a class based on their tag or TODO? For instance, instead of just labelling the tag, like this: h2 id=sec-10Windows builds fail with Error 66span class=tagspan class=CLOSEDCLOSED/span/span/h2 I would like to change the appearance of the whole headline: h2 id=sec-10 class=headline-tag-CLOSEDWindows builds fail with Error 66span class=tagspan class=CLOSEDCLOSED/span/span/h2 The use case is that I need to put a list of bugs up on the wall, and it would be nice if closed ones could be greyed out. In fact, the whole div containing the headline and text could be given a class, and child elements could be identified using CSS selecters. That's what happens when you don't run a spelling checker div id=outline-container-10 class=outline-2 outline-2-CLOSED Peter. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Problems with missing newline on last line of narrowd subtree [6.33trans (release_6.33f.129.g904a)]
Hi David, On Dec 17, 2009, at 9:47 PM, David Maus wrote: 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. If you narrow the buffer to a subtree, insert some content and widen again the content below the subtree moves into the subtree if there was no newline on the last line of the narrowed subtree. example.org , | * Headline 1 | | * Headline 2 ` Narrow the buffer to Headline 1, entere some text and remove all empty lines below the entered text. example.org (narrowd) , | * Headline 1 | Hello World! ` example.org (widened again) , | * Headline 1 | Hello World!* Headline 2 ` I do know that this behaviour makes absolutely sense as removing the newlines in the narrowed subtree equals to removing the newlines in the whole buffer. But as you can imagine this behaviour can be disastrous in Orgmode: I stumpled upon this just because I remembered to have a todo item on my list but Orgmode didn't know about it -- it was sucked into another item. Maybe Orgmode should use a function `org-widen' that ensures a newline at the end of a narrowed buffer before calling the Emacs' `widen'. That does make sense if the narrowing was done by org-narrow-to-subtree. But if it was done by another command, maybe even narrowing to part of a line, than adding a newline can be equally destrucive. I don't think there is a good solution to this issue. Regards - Carsten Regards, -- David Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-28 on elegiac, modified by Debian Package: Org-mode version 6.33trans (release_6.33f.129.g904a) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Progress cookies on headers without subitems
Fixed, thanks. - Carsten On Dec 11, 2009, at 2:24 PM, Óscar Fuentes wrote: When a [/] is used on a header that does not contain subitems, pressing C-c C-c on it signals an error on the minibuffer: org-update-statistics-cookies: No data for statistics cookie and the cookie appears with the same face (text color) as if it were incomplete. IMHO, [/] on a header without subitems should show [0/0] with the same face used for the case where all subitems are done. -- Óscar ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Exporting non utf8 org documents
Hi Francesco, can you com up with code that maps the Emacs buffer coding system to the inputenc option? Then I can write the code to insert this into the proper place in the LaTeX header - Carsten On Dec 8, 2009, at 5:22 PM, Francesco Pizzolante wrote: Hi, I have colleagues who are writing Org documents with latin-1 encoding and when I export these documents to LaTeX I run into problems, because Org assumes utf8. Here's a little example: --8---cut here---start-8--- #+LATEX_CLASS: article * Ceci est un test Voici un petit texte rédigé en français. * COMMENT Setup # This is for the sake of Emacs. # Local Variables: # coding: iso-latin-1 # End: --8---cut here---end---8--- The exportation to LaTeX gives the following result: --8---cut here---start-8--- % Created 2009-12-08 mar. 17:10 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{amssymb} \usepackage{hyperref} \usepackage{xcolor} \usepackage{listings} \title{org-french} \author{Francesco Pizzolante} \date{08 décembre 2009} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Ceci est un test} \label{sec-1} Voici un petit texte rédigé en français. \end{document} --8---cut here---end---8--- When compiling, due to the \usepackage[utf8]{inputenc} directive, I get this error: ERROR: Package utf8x Error: MalformedUTF-8sequence. In order to fix this issue, I see the following solutions: - Would it be possible for Org to automatically get the coding system of the buffer and then generate the correct option for the inputenc package? or - Would it be possible to have a variable like #+CODING-SYSTEM: iso- latin-1 which would be used to generate the correct option for the inputenc package? Any other proposition or idea is welcome. In addition, Org should use the `utf8x' option (instead of `utf8') which enables to handle unbreakable spaces (useful in french). Thanks. Regards, Francesco ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] feature-request: colorize diary entries in agenda
Hi Thierry, there is now a new face, org-agenda-diary, for this purpose. HTH - Carsten On Dec 17, 2009, at 10:25 AM, Thierry Volpiatto wrote: Hi, should be great to be able to colorize diary entries in agenda. I didn't find customisation for that apart modifying: , | (defun org-get-entries-from-diary (date) | Get the (Emacs Calendar) diary entries for DATE. | | [...] | | (org-add-props x (text-properties-at (1- (length x)) x) |'type diary 'date date 'face 'tv-org-diary)) |entries) ` Did i miss something? -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Problems with missing newline on last line of narrowd subtree [6.33trans (release_6.33f.129.g904a)]
Because of this problem I usually create a dummy headline at the end of the subtree when I work in a narrowed subtree for a long time. If I avoid changing anything after this dummy headline I know that nothing strange will happen. Not elegant, I know, but its a work around for now. - Darlan Cavalcante Moreira At Mon, 4 Jan 2010 14:55:11 +0100, Carsten Dominik carsten.domi...@gmail.com wrote: Hi David, On Dec 17, 2009, at 9:47 PM, David Maus wrote: 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. If you narrow the buffer to a subtree, insert some content and widen again the content below the subtree moves into the subtree if there was no newline on the last line of the narrowed subtree. example.org , | * Headline 1 | | * Headline 2 ` Narrow the buffer to Headline 1, entere some text and remove all empty lines below the entered text. example.org (narrowd) , | * Headline 1 | Hello World! ` example.org (widened again) , | * Headline 1 | Hello World!* Headline 2 ` I do know that this behaviour makes absolutely sense as removing the newlines in the narrowed subtree equals to removing the newlines in the whole buffer. But as you can imagine this behaviour can be disastrous in Orgmode: I stumpled upon this just because I remembered to have a todo item on my list but Orgmode didn't know about it -- it was sucked into another item. Maybe Orgmode should use a function `org-widen' that ensures a newline at the end of a narrowed buffer before calling the Emacs' `widen'. That does make sense if the narrowing was done by org-narrow-to-subtree. But if it was done by another command, maybe even narrowing to part of a line, than adding a newline can be equally destrucive. I don't think there is a good solution to this issue. Regards - Carsten Regards, -- David Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-28 on elegiac, modified by Debian Package: Org-mode version 6.33trans (release_6.33f.129.g904a) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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] feature-request: colorize diary entries in agenda
On Jan 4, 2010, at 3:57 PM, Thierry Volpiatto wrote: Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: Hi Thierry, there is now a new face, org-agenda-diary, for this purpose. Nice, thank you, i will have a look. How do you enable it? It is already implemented - all you need to do is to customize the face - right now all it does is inheriting from `default'. The code you show below is no longer needed. - Carsten I use that actually: , | (defun tv-org-propertize-diary-entries () | (save-excursion | (let ((inhibit-read-only t)) | (goto-char (point-min)) | (while | (re-search-forward ^ *[Dd]iary nil t) | (add-text-properties | (point-at-bol) (point-at-eol) '(face tv-org-diary)) | (add-hook 'org-finalize-agenda-hook 'tv-org-propertize-diary- entries) ` HTH - Carsten On Dec 17, 2009, at 10:25 AM, Thierry Volpiatto wrote: Hi, should be great to be able to colorize diary entries in agenda. I didn't find customisation for that apart modifying: , | (defun org-get-entries-from-diary (date) | Get the (Emacs Calendar) diary entries for DATE. | | [...] | | (org-add-props x (text-properties-at (1- (length x)) x) |'type diary 'date date 'face 'tv-org-diary)) |entries) ` Did i miss something? -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Preview Latex fragments should include definitions in #+LATEX_HEADER: [6.33trans (release_6.33f.71.g0969.dirty)]
It now works perfectly. Thanks for the hard work Carsten. - Darlan Cavalcante Moreira At Fri, 1 Jan 2010 11:18:59 +0100, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Darlan, I have now finally implemented your request - but not tested it. Could you please, at your earliest possible convenience, do some testing? Thanks. - Carsten On Dec 7, 2009, at 6:39 PM, Darlan Cavalcante Moreira wrote: 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. Hello all, I have defined the command vetor in a org file header with the line below #+LATEX_HEADER:\newcommand{\vetor}[1]{{\mathbf{#1}}} It works correctly when exporting to latex, but the preview of latex fragments with C-c C-x C-l does not work for equations that use the defined command. After customizing the variable Org Format Latex Header through the customize buffer to include the newcommand at the end, the preview of latex fragments worked as expected. If this is not a bug, I'd like to make a feature request. That is, everything that is included in the header of the exported latex document with #+LATEX_HEADER: should be also included in the variable org-format-latex-header such that the preview functionality can work as expected with user defined commands or included packages. - Darlan Cavalcante Emacs : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) of 2009-09-27 on crested, modified by Debian Package: Org-mode version 6.33trans (release_6.33f.71.g0969.dirty) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: feature-request: colorize diary entries in agenda
Carsten Dominik carsten.domi...@gmail.com writes: On Jan 4, 2010, at 3:57 PM, Thierry Volpiatto wrote: Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: Hi Thierry, there is now a new face, org-agenda-diary, for this purpose. Nice, thank you, i will have a look. How do you enable it? It is already implemented - all you need to do is to customize the face - right now all it does is inheriting from `default'. The code you show below is no longer needed. Great, thank you. ;-) - Carsten I use that actually: , | (defun tv-org-propertize-diary-entries () | (save-excursion | (let ((inhibit-read-only t)) | (goto-char (point-min)) | (while | (re-search-forward ^ *[Dd]iary nil t) | (add-text-properties | (point-at-bol) (point-at-eol) '(face tv-org-diary)) | (add-hook 'org-finalize-agenda-hook 'tv-org-propertize-diary- entries) ` HTH - Carsten On Dec 17, 2009, at 10:25 AM, Thierry Volpiatto wrote: Hi, should be great to be able to colorize diary entries in agenda. I didn't find customisation for that apart modifying: , | (defun org-get-entries-from-diary (date) | Get the (Emacs Calendar) diary entries for DATE. | | [...] | | (org-add-props x (text-properties-at (1- (length x)) x) | 'type diary 'date date 'face 'tv-org-diary)) | entries) ` Did i miss something? -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ 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] protocol for PDFs?
D M German d...@uvic.ca writes: Jan It allows you to link to any document format which doc-view-mode Jan supports, which includes PDF files. The syntax is: Jan docview:file name::page number Jan Example: Jan [[docview:/home/jan/some-file.pdf::7][Page 7]] I have started modifying evince. I got to the point in evince that I can now call emacs-client. The problem is, what do I pass to it? Will the call to emacsclient be: emascclient ort-protocol://remember://docview:/home/jan/some-file.pdf::7/TitleOfPDF/Selection Hi Daniel, you will have to call emascclient ort-protocol://docview:/home/jan/some-file.pdf::7/TitleOfPDF/Selection and define a custom handler to make this work. As docview is in the core, you could add that handler directly in lisp/org-protocol.el if everyone is OK with that. I'm not online very often at the moment. I probably won't read your answers before I tried that myself (just updated Org-mode here). I'll be back on thursday :-/ See: http://www.youtube.com/profile?user=Nie0815#p/u/1/h7Z2PiAcgh8 and http://orgmode.org/worg/org-tutorials/org-protocol-custom-handler.php for more on custom handlers. Best wishes Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] feature-request: colorize diary entries in agenda
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: Hi Thierry, there is now a new face, org-agenda-diary, for this purpose. Nice, thank you, i will have a look. How do you enable it? I use that actually: , | (defun tv-org-propertize-diary-entries () | (save-excursion | (let ((inhibit-read-only t)) | (goto-char (point-min)) | (while | (re-search-forward ^ *[Dd]iary nil t) | (add-text-properties | (point-at-bol) (point-at-eol) '(face tv-org-diary)) | (add-hook 'org-finalize-agenda-hook 'tv-org-propertize-diary-entries) ` HTH - Carsten On Dec 17, 2009, at 10:25 AM, Thierry Volpiatto wrote: Hi, should be great to be able to colorize diary entries in agenda. I didn't find customisation for that apart modifying: , | (defun org-get-entries-from-diary (date) | Get the (Emacs Calendar) diary entries for DATE. | | [...] | | (org-add-props x (text-properties-at (1- (length x)) x) | 'type diary 'date date 'face 'tv-org-diary)) | entries) ` Did i miss something? -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France ___ 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] Question about end date for a scheduled task
Hi, Is there a way to specify when a particular task should stop repeating? For instance, I need to backup the server in my office once a week for the next 3 weeks, after which the employee in charge will take it over again. Right now, I just added it as a C-x C-s +1w scheduled task, but this causes it to show up on my agenda even after the third week. Is archiving this task the only option? Avinash. ___ 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 org-export-latex-title-command using #+BIND: [6.33trans]
Hi Christopher, I believe this might be fixed now - please verify! Thanks - Carsten On Dec 20, 2009, at 6:40 PM, Christopher Suckling wrote: On Sun, 20 Dec 2009 13:29:59 +0100, Carsten Dominik carsten.domi...@gmail.com wrote: Thank you, but not quite working yet: , | #+BIND: org-export-latex-title-command ` now appears to be having the *effect* of setting a global variable. I load Emacs then visit the below test org file. I then export the file. I get a \maketitle line. I then C-c C-c on the #+BIND: line and re-export. \maketitle is removed. I then export another org file without the #+BIND: line. There is no \maketitle, even though there should be. I add , | #+BIND: org-export-latex-title-command \foobar ` to the new org file, C-c C-c and export: \foobar is added to the exported file. Finally, I re-export the original test org file (without C-c C-c on the #+BIND: line): \foobar is added to the exported file. However, , | C-h v org-export-latex-title-command ` always returns the value \\maketitle, no matter what the value of the #+BIND: line. Best, Christopher Fixed, thanks - Carsten On Dec 20, 2009, at 11:58 AM, Christopher Suckling wrote: 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. Using the following test file: , | # -*- mode: org; -*- | | * Tree | ** Subtree |I want no \maketitle command | | * COMMENT Local variables | #+BIND: org-export-latex-title-command | | # Local Variables: | # End: ` exporting to latex yields: , | % Created 2009-12-20 Sun 10:52 | % BEGIN defaults | \documentclass[a4paper, 12pt]{memoir} | \usepackage{org-export} | % END defaults | | | \title{test} | \author{Christopher Suckling} | \date{20 December 2009} | | \begin{document} | | \maketitle | | \setcounter{tocdepth}{3} | \tableofcontents | \vspace*{1cm} | | \chapter{Tree} | \label{sec-1} | \section{Subtree} | \label{sec-1.1} | |I want no \maketitle command | | \end{document} ` Evaluating , | (setq org-export-latex-title-command ) ` prior to export successfully removes \maketitle. Best, Christopher Emacs : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.2.0, NS apple- appkit-1038.25) of 2009-12-08 on rushka.local Package: Org-mode version 6.33trans current state: == (setq org-export-latex-default-class org-export org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- vars) org-todo-keyword-faces '((CANCELLED :foreground gray40 :weight bold) (DEFERRED :foreground olivedrab4 :weight bold) (OPEN :foreground red1 :weight bold :underline t :slant italic) (TODO :foreground dodgerblue3 :weight bold) (NEXT :foreground navyblue :weight bold) (WAITING :foreground red3 :weight bold) (DELEGATED :foreground deeppink4 :weight bold) (COMMENT :foreground RosyBrown4)) org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . org-gnus-no-new-news) (file . find-file-other-window)) org-special-ctrl-a/e t org-agenda-custom-commands '((d Today's effort agenda ((org-agenda-view-columns-initially t) (org-agenda-ndays 1)) ) (W Weekly review ((agenda ((org-agenda-ndays 7))) (alltodo ((org-agenda-files (list ~/Sites/org/)) (org-agenda-file-regexp ^[^m].*_A\\.org$) (org-agenda-todo-ignore-with-date t) (org-agenda-sorting-strategy (quote (priority-down todo-state-down category-keep tag-up effort-up) ) ) (org-agenda-overriding-header Unscheduled TODO entries - work: ) ) ) (todo WAITING|DELEGATED ((org-agenda-files (list ~/Sites/org/)) (org-agenda-file-regexp ^[^m].*_A\\.org$) (org-agenda-todo-ignore-scheduled nil) (org-agenda-todo-ignore-deadlines nil)
Re: [Orgmode] Supporting non-stuck projects view with minimal effort
Hi Friedrich, I don't have an easy way to make this simpler. So until there are more people asking for this functionality, I guess you can simply live with the ugly version. Greetings - Carsten On Dec 22, 2009, at 6:58 PM, Friedrich Delgado Friedrichs wrote: Hi! I've been thinking, the view of stuck projects is nice, but I'd need a view of non-stuck projects to complement it. I came up with this ugly mess: (defun fdf/org-agenda-list-unstuck-projects (rest ignore) Create agenda view for projects that are NOT stuck. Stuck projects are project that have no next actions. For the definitions of what a project is and how to check if it stuck, customize the variable `org-stuck-projects'. MATCH is being ignored. (interactive) (let* ((org-agenda-overriding-header (or org-agenda-overriding-header List of unstuck projects: )) (matcher (nth 0 org-stuck-projects)) (todo (nth 1 org-stuck-projects)) (todo-wds (if (member * todo) (progn (org-prepare-agenda-buffers (org-agenda-files nil 'ifmode)) (org-delete-all org-done-keywords-for-agenda (copy-sequence org-todo-keywords-for-agenda))) todo)) (todo-re (concat ^\\*+[ \t]+\\( (mapconcat 'identity todo-wds \\|) \\)\\)) (tags (nth 2 org-stuck-projects)) (tags-re (if (member * tags) (org-re ^\\*+ .*:[[:alnum:]...@]+:[ \t]*$) (if tags (concat ^\\*+ .*:\\( (mapconcat 'identity tags \\|) (org-re \\):[[:alnum:]_@:]*[ \t]*$) (gen-re (nth 3 org-stuck-projects)) (re-list (delq nil (list (if todo todo-re) (if tags tags-re) (and gen-re (stringp gen-re) (string-match \\S- gen-re) gen-re (skip-regexp (if re-list (mapconcat 'identity re-list \\|) (error No information how to identify unstuck projects (org-tags-view nil matcher) (let ((org-agenda-skip-function (lambda () (org-agenda-skip-if t 'notregexp skip-regexp (with-current-buffer org-agenda-buffer-name (setq org-agenda-redo-command '(org-agenda-list-stuck-projects (or current-prefix-arg org-last-arg))) As you will notice, this is blatantly copied and pasted from org-agenda-list-stuck-projects (which is why it's ugly), the only difference is that it doesn't set org-agenda-skip-function but uses org-agenda-skip-if. I think this could be very easily integrated into org-agenda-list-stuck-projects (with an optional parameter 'negate'), but I somehow feel reluctant to patch org-core for some irrational reason. Kind regards Friedel -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Question about end date for a scheduled task
Marking it DONE also works. -- Manish On Mon, Jan 4, 2010 at 8:53 PM, Avinash Kulkarni avinas...@gmail.com wrote: Hi, Is there a way to specify when a particular task should stop repeating? For instance, I need to backup the server in my office once a week for the next 3 weeks, after which the employee in charge will take it over again. Right now, I just added it as a C-x C-s +1w scheduled task, but this causes it to show up on my agenda even after the third week. Is archiving this task the only option? Avinash. ___ 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] Exporting subtree as beamer presentation
Hi, How do I export a beamer presentation, embedded as a subtree in an org file? I have attached a file with subtree properties defined as described on the worg page - http://orgmode.org/worg/org-tutorials/org-beamer.php. I expected 'C-c C-e 1 d' to do it, but the export is a article documentclass, and is the entire document rather than just the subtree. If I cut and paste the subtree to a separate file, and define the export settings for beamer at the top of the file, I get the expected results (documentclass[presentation]{beamer} (using C-c C-e d, since I am now have the entire file, rather than a subtree). I'm not sure if I have the properties defined improperly, or if I'm not using the right command to export the subtree. (Using 6.33trans, updated from git this morning.) Thanks, Jerry ___ 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] Fwd: Exporting subtree as beamer presentation
Sorry - With attachments this time. project1.org has the embedded presentation (CDR Presentation), and cdr1.orgis that subtree placed in a separate file, adjusting the settings accordingly). Thanks, Jerry -- Forwarded message -- From: JBash bashve...@gmail.com Date: Mon, Jan 4, 2010 at 1:21 PM Subject: Exporting subtree as beamer presentation To: emacs-orgmode Mode emacs-orgmode@gnu.org Hi, How do I export a beamer presentation, embedded as a subtree in an org file? I have attached a file with subtree properties defined as described on the worg page - http://orgmode.org/worg/org-tutorials/org-beamer.php. I expected 'C-c C-e 1 d' to do it, but the export is a article documentclass, and is the entire document rather than just the subtree. If I cut and paste the subtree to a separate file, and define the export settings for beamer at the top of the file, I get the expected results (documentclass[presentation]{beamer} (using C-c C-e d, since I am now have the entire file, rather than a subtree). I'm not sure if I have the properties defined improperly, or if I'm not using the right command to export the subtree. (Using 6.33trans, updated from git this morning.) Thanks, Jerry project1.org Description: Binary data cdr1.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
Re: [Orgmode] Emacs initialization problem on Windows after latest git pull of Org
Hi Manish, At Mon, 4 Jan 2010 23:02:55 +0530, Manish wrote: Hello List, After the latest git update, Emacs init is interrupted with this message: Symbol's function definition is void: mailcap-parse-mailcaps Recent changes and related info: - Windows XP SP2 - GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON - Cygwin 1.7 (recently updated) - I use Cygwin Emacs only to compile Org - Latest git pull of Org-mode Any ideas how I can begin to debug this? Maybe emacs --debug-init is a starting point: man emacs , | Enable Emacs Lisp debugger during the processing of the user init file | ~/.emacs. This is useful for debugging problems in the init file. ` -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. maus.da...@gmail.com ICQ... 241051416 pgpVKViAcVW1F.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
[Orgmode] Re: Emacs initialization problem on Windows after latest git pull of Org
On Mon, Jan 4, 2010 at 11:02 PM, Manish wrote: Hello List, After the latest git update, Emacs init is interrupted with this message: Symbol's function definition is void: mailcap-parse-mailcaps Recent changes and related info: - Windows XP SP2 - GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON - Cygwin 1.7 (recently updated) - I use Cygwin Emacs only to compile Org - Latest git pull of Org-mode Any ideas how I can begin to debug this? Doh.. use --debug-init There seem to have been some conflict with extview.el. Commenting out following lines seems to solve the problem: , | ;; for invoking external viewers from within dired | (require 'extview) | | ;; (push '(\\.pdf$ . acroread %s) extview-application-associations) | (push '(\\.html$ . ask) extview-application-associations) | (push '(\\.doc$ . C:/PROGRA~1/OFFICE11/WINWORD.EXE %s) extview-application-associations) | (push '(\\.xls$ . C:/PROGRA~1/OFFICE11/EXCEL.EXE %s) extview-application-associations) | (push '(\\.pdf$ . C:/PROFRA~1/Adobe/Reader\\ 8\\.0/Reader/AcroRd32.exe %s) extview-application-associations) ` I have had extview since Emacs 22, may be it is not needed anymore with the recent change about special ways of opening files.. Will have to test it. Sorry for the noise. -- Manish ___ 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-expiry: How to define keyword for org-expiry-add-keyword
Hello, please help a newbie with org-expiry.el :) I have a file like this: expiry.org * ACTIVE Test task :PROPERTIES: :EXPIRY: 2010-01-04 Mon 11:12 :END: I want org-expiry to change the keyword from ACTIVE to EXPIRED. These keywords are defined in my .emacs as follows: (setq org-todo-keywords (quote ((sequence TODO(t) STARTED(s!) WAITING(w@/@) APPT(a@/!) | DONE(d@/@) CANCELED(c@/@) DEFERRED(f)) (sequence ACTIVE | EXPIRED If I type M-x org-expiry-process-entries in expiry.org, I get the following error: Symbol's function definition is void: org-expiry-handler function I have defined this to be org-expiry-add-keyword, but how do I define the actual keyword? Thanks Markus ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Can I export TODO flags in table of contents?
Carsten Dominik carsten.domi...@gmail.com writes: On Jan 4, 2010, at 4:33 AM, Water Lin wrote: Carsten Dominik carsten.domi...@gmail.com writes: Hi Water, On Dec 31, 2009, at 4:17 AM, Water Lin wrote: I marked my notes and tasks with TODO flags and I also want to see these TODO flags in table of contents. So I can jump and explore to unfinished task quickly. By doing this, I can give myself a quickly summary of my tasks. Can I do it? I guess you are talking about export? You can try (setq org-export-mark-todo-in-toc t) Yes, I mean export project. But I have some projects and I dont' want set this setting for all projects. Can I just set this method for specific project? Look for #+BIND in the manual. Thanks. It works fine. Water Lin HTH - Carsten Thanks Water Lin This will not show TODO keywords in the table of contents, but it will highlight headlines under which there are unfinished TODO entries. HTH - Carsten Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 - Carsten -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 - Carsten -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] How to use org-info.js?
I want to use org-info.js to build a navigator for my knowledge base. So I set something like this: - #+INFOJS_OPT: path:http://orgmode.org/org-info.js #+LINK_UP: #+LINK_HOME: - but after I publish my project, there is no this kind of navigator. What's the correct way to set it? But I can't find the detail description in Worg. Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: water...@ymail.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] How to use org-info.js?
On Tue, Jan 5, 2010 at 12:07 PM, Water Lin wrote: I want to use org-info.js to build a navigator for my knowledge base. So I set something like this: - #+INFOJS_OPT: path:http://orgmode.org/org-info.js #+LINK_UP: #+LINK_HOME: - but after I publish my project, there is no this kind of navigator. What's the correct way to set it? But I can't find the detail description in Worg. Does this help http://orgmode.org/worg/code/org-info-js/#sec-1 -- Manish ___ 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