[Orgmode] Remaining time (in column view)
Column view (C-c C-x C-c) is useful to show how much time I have estimated for a task and how much time I have clocked for it. It also seems helpful to show „how much time it remains“, which is the difference {estimated time} - {clocked time} for that task. It can be positive, negative (overrun) or empty (if you didn't estimate the effort). It is useful to choose the next task to do from a set of partially worked-on tasks. Just like there is a special column called CLOCKSUM ([1]), ¿is there something like CLOCKREM to show the remaining time? Thanks, Daniel [1] As in: #+COLUMNS: %52ITEM(Task) %9Effort(Previsión){:} %5CLOCKSUM %6TODO ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Fireforg: org-protocol mac workaround and BibTeX import using Zotero
Wow, automatic bibtex sending does sound cool, and may ease some of the difficulty of trying to use a workflow with both Zotero and BibTeX. Thanks. I''l try this. On Sun, Aug 16, 2009 at 12:41 PM, Matt Lundinm...@imapmail.org wrote: Hi Andreas, Andreas Burtzlaff and...@gmx.net writes: Fireforg is now capable of sending a BibTeX entry for every item imported into Zotero to Org. For details see the doc at http://orgmode.org/worg/org-devel.php#fireforg Wow, that is a *killer* feature. I look forward to trying out fireforg. Thanks for your work on this. Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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] Possible buglet in latex export
Robert Goldman writes: When I do a latex export, a simple URL in text, or a simple link url of the form [[URL]] --- with no description --- gets emitted as \href{URL}{URL} which causes Latex to crash for me. The first guess is that the string 'URL' in the post is not the actual string that causes Latex to crash. The next guess is that 'URL' is actually a string with one of LaTeX's 10 special characters, with a popular one being underscore (_) in this context. I believe that this is because it won't accept a URL as the second argument to href. The second argument to \href is simply a string that LaTeX can render, so a URL is fine. Changing the \href command to \url fixes the latex problem. So I wonder if we need to catch this special case of a description-less URL and treat it specially in latex export for the benefit of latex's hyperref package. I'm not an expert on hyperref, by any means, nor do I know the innards of latex export, so I could be missing something here. However the description of \url in the hyperref manual says the following: \url{URL} Similar to \href{URL}{\nolinkurl{URL}} ...which suggests to me that using the URL without some kind of magical protection (provided by \nolinkurl) may lead to bad things. A URL can be used, but any special characters must be protected somehow. The \nolinkurl in the second argument provides such protection, as does the \url solution mentioned above. best, r ___ 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 Tim Burt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: DiTAA error under Ubuntu
At Sat, 15 Aug 2009 10:23:59 +0200, Sébastien Vauban wrote: [...] The gnu java implementation is (I believe -- I could be horridly out of date on this) still not complete, especially with respect to AWT. My recommendation would be to install either openjdk-6 (which Nick I believe is using and works) or sun-java6 (which I am using and works). This clarifies what I have to do... Just did: --8---cut here---start-8--- sudo aptitude install openjdk-6-jre --8---cut here---end---8--- And, now, it works! Thanks a lot! Excellent. Glad we could help. eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Possible buglet in latex export
Tim Burt wrote: Robert Goldman writes: When I do a latex export, a simple URL in text, or a simple link url of the form [[URL]] --- with no description --- gets emitted as \href{URL}{URL} which causes Latex to crash for me. The first guess is that the string 'URL' in the post is not the actual string that causes Latex to crash. The next guess is that 'URL' is actually a string with one of LaTeX's 10 special characters, with a popular one being underscore (_) in this context. I believe that this is because it won't accept a URL as the second argument to href. The second argument to \href is simply a string that LaTeX can render, so a URL is fine. Changing the \href command to \url fixes the latex problem. So I wonder if we need to catch this special case of a description-less URL and treat it specially in latex export for the benefit of latex's hyperref package. I'm not an expert on hyperref, by any means, nor do I know the innards of latex export, so I could be missing something here. However the description of \url in the hyperref manual says the following: \url{URL} Similar to \href{URL}{\nolinkurl{URL}} ...which suggests to me that using the URL without some kind of magical protection (provided by \nolinkurl) may lead to bad things. A URL can be used, but any special characters must be protected somehow. The \nolinkurl in the second argument provides such protection, as does the \url solution mentioned above. Thanks. This suggests that replacing \href{URL}{URL} with \href{URL}{\nolinkurl{URL}} might be a good strategy for Latex export. I am not exactly sure why the un-protected URL causes problems for me and not for Nick. However, I am trying to generate latex for beamer, which seems very tricky, and perhaps that's what's going wrong here --- I'm getting beamer's internal state messed up. I'm not sure; will report if I can disentangle it. Thanks for the help, both of you. best, R ___ 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] Possible buglet in latex export
Robert Goldman rpgold...@sift.info wrote: I am not exactly sure why the un-protected URL causes problems for me and not for Nick. However, I am trying to generate latex for beamer, which seems very tricky, and perhaps that's what's going wrong here --- I'm getting beamer's internal state messed up. I'm not sure; will report if I can disentangle it. Maybe it's the details of the URL that matter? I tried exporting the little example that I posted to beamer and that also worked. If you have not tried my example already, maybe you should: it may be that my example is *too* simple - in which case, can you post a URL that is giving you trouble? Thanks, Nick PS. For the record, here's the version of hyperref I'm using: Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX ___ 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] orgmode opening source file from agenda when marking as done
Hi all -- I seem to have mysteriously flipped some setting or other. Now, whenever I set a repeating item in my agenda as done, orgmode opens up the source file with that item in it, in a split frame. I have no idea why or what I'm supposed to do with that, but it sure slows down my workflow. Any tips on what's happening here? -- Michael Michael C. Gilbert -- m...@gilbert.org The Gilbert Center -- http://gilbert.org Nonprofit Online News -- http://nonprofitnews.org There can be no joy of life without joy of work. -- Aquinas ___ 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] Fireforg: org-protocol mac workaround and BibTeX import using Zotero
At Sun, 16 Aug 2009 11:52:16 +0200, Andreas Burtzlaff wrote: Fireforg is now capable of sending a BibTeX entry for every item imported into Zotero to Org. For details see the doc at http://orgmode.org/worg/org-devel.php#fireforg Andreas, you've convinced me that it's about time I played around with Zotero (got it, installed it, working, loving it!), org-protocol (got it, installed it, working!) and fireforg (got it, installed it, not sure if it's working...). At one point, your instructions say: Set Inject Zotero in the preference dialog. I have no idea where to set this! Can you please point me in the right direction? The zotero preferences dialogue has no mention of injecting anything and I don't know of any preference dialogue for fireforg et al. Sorry for the n00b-like question but I've obviously missed something somewhere! Thanks, eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Latex export to documentclass beamer
This seems like a very common thing to want to do, but am I right in thinking that it's also very hard to get right because the frame environment is not really a sectioning environment? As I understand things, the way we export to latex is to insert sectioning commands, and drop translated content in between. However, this doesn't seem like the right model for Beamer. Consider a crude talk outline like this: * Here's a simple point Some material here * Here's a complex point ** First component point Explanation ** Second component point More explanation The right way to translate this is something like \section{Here's a simple point} \begin{frame} \frametitle{Here's a simple point} ... \end{frame} \section{Here's a complex point} \begin{frame} \frametitle{First component point} \end{frame} \begin{frame} \frametitle{Second component point} \end{frame} -- I.e., there's some rule like If a header has text under it, then treat it as a frame, otherwise, just treat it as a section header. You see this above, where the two top-level headers are treated differently. I can't think of any obvious way to translate org to beamer that doesn't require choosing a /specific/ level of the outline as the level that corresponds to a frame, and doing that seems to seriously compromise the outlining flexibility of org-mode. Am I missing something here? Is there some better way to figure out how to introduce frames, instead of treating them as sectioning headers? thanks, R ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Latex export to documentclass beamer
Here's another challenge --- is there a good way to handle this in the exporter? If you use VERBATIM in a beamer frame, then you need to add the optional argument fragile to the environment, like this: \begin{frame}[fragile] instead of just \begin{frame} I'd be surprised if there was a good method for this, but thought I'd ask... best, r ___ 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] Wishlist: see what I did last week in agenda view
I can almost get there; it's quite frustrating... I am trying to concoct an agenda view in which every item that has a clock entry or timestamp for the past week shows up -- and preferably those for the forthcoming week. This is so I can make a weekly report of what I've done. The timeline view seems like it should be perfect for this but it's only able to show the timeline for one file at a time. How might I get this? Or if it's not easily possible, does anyone on the list have a recipe for what they do for their weekly work log? ___ 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] Fireforg: org-protocol mac workaround and BibTeX import using Zotero
On Mon, 17 Aug 2009 15:17:25 +0100 Eric S Fraga ucec...@ucl.ac.uk wrote: At Sun, 16 Aug 2009 11:52:16 +0200, Andreas Burtzlaff wrote: Fireforg is now capable of sending a BibTeX entry for every item imported into Zotero to Org. For details see the doc at http://orgmode.org/worg/org-devel.php#fireforg Andreas, you've convinced me that it's about time I played around with Zotero (got it, installed it, working, loving it!), org-protocol (got it, installed it, working!) and fireforg (got it, installed it, not sure if it's working...). At one point, your instructions say: Set Inject Zotero in the preference dialog. I have no idea where to set this! Can you please point me in the right direction? The zotero preferences dialogue has no mention of injecting anything and I don't know of any preference dialogue for fireforg et al. The Fireforg extension has its own preferences dialogue accessible under Tools-Add-ons-Fireforg-Preferences, as all extensions have. Sorry, that this was not as intuitive as I thought :-| I'll make the documentation a bit more verbose. Andreas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: orgmode opening source file from agenda when marking as done
Michael Gilbert m...@gilbert.org writes: Hi all -- I seem to have mysteriously flipped some setting or other. Now, whenever I set a repeating item in my agenda as done, orgmode opens up the source file with that item in it, in a split frame. I have no idea why or what I'm supposed to do with that, but it sure slows down my workflow. Any tips on what's happening here? Are you seeing the source file every time you move to a new item in the agenda view? One possibility here is that you turned on follow mode in the agenda by hitting f. Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Wishlist: see what I did last week in agenda view
Andrew Stribblehill a...@wompom.org writes: I am trying to concoct an agenda view in which every item that has a clock entry or timestamp for the past week shows up -- and preferably those for the forthcoming week. This is so I can make a weekly report of what I've done. ... How might I get this? Or if it's not easily possible, does anyone on the list have a recipe for what they do for their weekly work log? Have you tried the agenda log view yet? Simply type l in the agenda. To see an entire week of logged items, you can type w and then navigate through the weeks with the arrow keys. You can control what types of items are visible in the log with the variable org-agenda-log-mode-items. Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Fireforg: org-protocol mac workaround and BibTeX import using Zotero
At Mon, 17 Aug 2009 19:09:51 +0200, Andreas Burtzlaff wrote: The Fireforg extension has its own preferences dialogue accessible under Tools-Add-ons-Fireforg-Preferences, as all extensions have. obvious in hindsight (and should have been obvious in the first place but the lack of arrow on the add-ons made me miss the obvious in the Tools menu... I have too many entries in that menu, basically). Everything now works very well indeed. This is going to be very useful. Thanks! eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Wishlist: see what I did last week in agenda view
2009/8/17 Matt Lundin m...@imapmail.org: Andrew Stribblehill a...@wompom.org writes: I am trying to concoct an agenda view in which every item that has a clock entry or timestamp for the past week shows up -- and preferably those for the forthcoming week. This is so I can make a weekly report of what I've done. ... How might I get this? Or if it's not easily possible, does anyone on the list have a recipe for what they do for their weekly work log? Have you tried the agenda log view yet? Simply type l in the agenda. To see an entire week of logged items, you can type w and then navigate through the weeks with the arrow keys. You can control what types of items are visible in the log with the variable org-agenda-log-mode-items. That's great, thanks. It's especially useful with the clock-report addition. Now to make a custom agenda view that sets everything up just so... :) ___ 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] How to log diary or journal entries
Hi. I discovered org-mode only last week, when I was looking around for Outline editors. It matched every last one of my requirements, and THEN some. It's awesome, as I'm sure you all know. As an added bonus, I can even access my outlines by connecting to my home machine through my phone's SSH client (my phone has a hardware keyboard and can fit 80x24 characters on the screen). And I've been using Emacs on and off since 1995, so it was a perfect fit for me. I am *blown away*. Anyway! When I work on items, I like to add little log or diary entries in the text, describing things that have happened or things that I've done. Like this: -- * Get SAD 2.0.1 ready for shipping DEADLINE: 2009-08-21 [2009-08-17 07:58] I've been asked to get 2.0.1 ready as soon as possible. ** DONE Fix errors in version 2.0.0 CLOSED: [2009-08-17] - [X] Log file ownership and permissions - [X] Wrong permissions on /usr/local - [X] Admin menu inaccessible [2009-08-17 10:03] After some tinkering around, I managed to fix all bugs. ** TODO Test SAD 2.0.1 I should test using the latest replication software. I can get that from Sven-Åke. [2009-08-17 10:33] I need to find a machine to test with. [2009-08-17 10:55] Found one! Carl says I can use his testing machine. [2009-08-17 15:25] Ok, testing done. Found some bugs to fix. -- See? Interspersed with the normal outline text, I put little log notes, sometimes more than one per entry. Now for my actual question: I want to see all these comments, from all over the file in ONE place. Perhaps in the Agenda view? The timeline? Perhaps in emacs's diary? It wouldn't hurt if this view also showed when I had completed todos. The purpose of this would that I would be able to look back at a specific day in the past, to see what I did that day. This would be helpful when it's time to write the time report. Is this possible? -- -=-=- Christer Enfors -=-=- I do my music in pure machine code using an assembler. - Rob Hubbard ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Latex export to documentclass beamer
Robert Goldman rpgold...@sift.info wrote: Here's another challenge --- is there a good way to handle this in the exporter? If you use VERBATIM in a beamer frame, then you need to add the optional argument fragile to the environment, like this: \begin{frame}[fragile] instead of just \begin{frame} I'd be surprised if there was a good method for this, but thought I'd ask... Have you tried adding it unconditionally in the org-export-latex-classes alist? I don't think it hurts to have it on by default (it costs a bit of performance maybe, but it should not be noticeable.) OTOH, verbatim is a can of worms: it should be avoided if at all possible. It cannot be used in moving arguments (at all: see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbwithin for details.) - and what beamer does with it is a mystery to me - hence the avoid at all costs statement. HTH, Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Latex export to documentclass beamer
Nick Dokos wrote: Robert Goldman rpgold...@sift.info wrote: Here's another challenge --- is there a good way to handle this in the exporter? If you use VERBATIM in a beamer frame, then you need to add the optional argument fragile to the environment, like this: \begin{frame}[fragile] instead of just \begin{frame} I'd be surprised if there was a good method for this, but thought I'd ask... Have you tried adding it unconditionally in the org-export-latex-classes alist? I don't think it hurts to have it on by default (it costs a bit of performance maybe, but it should not be noticeable.) OTOH, verbatim is a can of worms: it should be avoided if at all possible. It cannot be used in moving arguments (at all: see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbwithin for details.) - and what beamer does with it is a mystery to me - hence the avoid at all costs statement. I don't think the avoid at all costs is tenable when using beamer, because of the need to insert code. I have used alltt as well as verbatim, but it seems just as fragile. I hope to provide a proposed beamer template sometime soon. best, Robert ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How to log diary or journal entries
Christer Enfors enf...@enfors.net writes: ** TODO Test SAD 2.0.1 I should test using the latest replication software. I can get that from Sven-Åke. [2009-08-17 10:33] I need to find a machine to test with. [2009-08-17 10:55] Found one! Carl says I can use his testing machine. [2009-08-17 15:25] Ok, testing done. Found some bugs to fix. -- See? Interspersed with the normal outline text, I put little log notes, sometimes more than one per entry. Now for my actual question: I want to see all these comments, from all over the file in ONE place. Perhaps in the Agenda view? The timeline? Perhaps in emacs's diary? It wouldn't hurt if this view also showed when I had completed todos. The purpose of this would that I would be able to look back at a specific day in the past, to see what I did that day. This would be helpful when it's time to write the time report. Is this possible? Pull up an agenda view for the day/week you are interested in viewing then hit '[' to display inactive timestamps. Does that do what you need? -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done
A long shot: check the value of your after todo state change hook. -- Myalgic encephalomyelitis causes death (Jason et al. 2006) and severe suffering. Conflicts of interest are destroying research. What people know is wrong. Silence = death. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: How to log diary or journal entries
[cc-ed org-mode mailing list] Christer Enfors enf...@enfors.net writes: Bernt Hansen be...@norang.ca writes: Pull up an agenda view for the day/week you are interested in viewing then hit '[' to display inactive timestamps. Does that do what you need? Unfortunately, no. It displays [ followed by the *title* of the item, instead of the *comment* that I've put next to the timestamp. It doesn't seem to matter if I put the comment before or after the timestamp. Also, things that I've read in the documentation seems to imply that org-mode only recognizes *one* timestamp per item, whereas I want to be able to have several timestamped comments per item. Hmm yes it will show the headline and not the following text in the agenda view. I'm not sure if there is a way to do what you want currently. org-mode has no trouble with multiple timestamps for the same entry - it'll list it each time it occurs in the agenda view. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done
On Aug 17,2009, at 12:31 PM, Samuel Wales wrote: A long shot: check the value of your after todo state change hook. Sorry. Noob still. What does that mean? -- M ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done
org-after-todo-state-change-hook is a variable defined in `org.el'. -- Myalgic encephalomyelitis causes death (Jason et al. 2006) and severe suffering. Conflicts of interest are destroying research. What people know is wrong. Silence = death. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done
Hi Michael -- On Aug 17,2009, at 12:31 PM, Samuel Wales wrote: A long shot: check the value of your after todo state change hook. Sorry. Noob still. What does that mean? -- M I agree that this is a long shot, but I think he was suggesting that you check the org-after-todo-state-change-hook to see if it's been changed from the default, which is nil. You can check this in emacs this way -- C-h v org-after-todo-state-change-hook enter When I do this in my emacs session I get this: ** org-after-todo-state-change-hook is a variable defined in `org.el'. Its value is nil Documentation: Hook which is run after the state of a TODO item was changed. The new state (a string with a TODO keyword, or nil) is available in the Lisp variable `state'. You can customize this variable. ** The question is whether you also get Its value is nil --John -- John Rakestraw ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done
On Aug 17,2009, at 1:16 PM, Samuel Wales wrote: org-after-todo-state-change-hook is a variable defined in `org.el'. Thank you, John for the detailed explanation. Thank you, Samuel, for this help. The value, alas, is nil. Other ideas? -- M ___ 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] [PATCH] fix bug in org-exp-blocks, removing src code indentation
Hi, Please apply the attached patch which replaces `indent-region' with `indent-code-rigidly' in org-exp-blocks. This fixes the problem of indentation being removed from source-code blocks. Thanks -- Eric diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 6025ce7..8df0ac1 100644 --- a/lisp/org-exp-blocks.el +++ b/lisp/org-exp-blocks.el @@ -203,9 +203,8 @@ specified in BLOCKS which default to the value of (apply func (save-match-data (org-remove-indentation (match-stri (split-string (match-string 3) t t) -;; indent the replaced match -(indent-region (match-beginning 0) (match-end 0) indentation) -)) +;; indent block +(indent-code-rigidly (match-beginning 0) (match-end 0) indentation))) (setf start (save-match-data (match-end 0 (mapcar (lambda (type) (interblock start (point-max) type)) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done
Michael Gilbert m...@gilbert.org wrote: On Aug 17,2009, at 1:16 PM, Samuel Wales wrote: org-after-todo-state-change-hook is a variable defined in `org.el'. Thank you, John for the detailed explanation. Thank you, Samuel, for this help. The value, alas, is nil. Other ideas? So this is a persistent state of affairs? You restart emacs from scratch and it still does it? If that's the case, then one of your initialization files must have been modified - check modification dates, compare against backups - by hook or crook, find what changed. If that still does not produce results, you can bisect your way to the place where the problem appears: start emacs with the -q switch and load .emacs piecemeal: open the .emacs file in a buffer and evaluate it one s-expr at a time by placing the cursor after the closing paren of the s-expr and using C-x C-e (that is bound to eval-last-sexp). Or if you prefer bigger bites, mark a region and use M-x eval-region on it. Try the agenda commands that give you trouble after every evaluation. At the beginning, you are going to get errors, since org-mode will not even have been loaded. At some point, the agenda command is going to succeed and either behave properly or misbehave - but then you know which part of the initialization file is responsible and you can concentrate your efforts on that. You may also find that the problem arises when your .emacs loads another initialization file, in which case you go through the same process on that file. Eventually, you'll find the culprit. HTH, Nick PS. It might be a good idea to post a more detailed description of *exactly* what you are doing and what you see when the misbehavior occurs. Although I read the thread completely, I'm still not quite sure what exactly you are seeing - for example, could it be just the note behavior of the org-log-done variable? (C-h v org-log-done RET for details). Taking a screenshot of emacs and posting that might help as well. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: How to log diary or journal entries
OMG I knew Carsten had added that, but its not in the manual! I just checked, I don't see it in the key list under Agenda. I was looking for it recently, thanks for cluing me in. On Mon, Aug 17, 2009 at 03:08:32PM -0400, Bernt Hansen wrote: Pull up an agenda view for the day/week you are interested in viewing then hit '[' to display inactive timestamps. Does that do what you need? -Bernt ___ 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 -- 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 Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Update breaks custom agenda commands
Occurs here. It seems related to setting variables in clauses. What is the best way to revert the commit? git revert in a local branch? Thanks. On 2009-08-16, Matt Lundin m...@imapmail.org wrote: Hi Carsten, The following commit causes an error when I call org-agenda: , | commit 8c177dc832980bd8cf23fc2ae72b18e0b472b59e | Author: Carsten Dominik carsten.domi...@gmail.com | Date: Fri Aug 14 17:18:14 2009 +0200 | | Avoid text properties on elements in custom variables ` The problem does not occur when I set org-agenda-custom-commands to nil. Here are my custom command settings: --8---cut here---start-8--- (setq org-agenda-custom-commands '((p Printed agenda ((agenda ((org-agenda-ndays 7) (org-agenda-start-on-weekday nil) (org-agenda-time-grid nil) (org-agenda-repeating-timestamp-show-all t) (org-agenda-prefix-format -- %t %s) (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline 'scheduled (agenda ((org-agenda-ndays 1) (org-agenda-sorting-strategy '(time-up tag-up)) (org-agenda-todo-keyword-format [ ]) (org-agenda-scheduled-leaders '( )) (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline)) (org-agenda-prefix-format %t %T %s) )) (agenda ((org-agenda-ndays 1) (org-deadline-warning-days 7) (org-agenda-time-grid nil) (org-agenda-include-diary nil) (org-agenda-todo-keyword-format [ ]) (org-agenda-scheduled-leaders '( )) (org-agenda-overriding-header Deadlines:) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline)) (org-agenda-prefix-format %t %s))) (todo TODO|STARTED|NOW ((org-agenda-sorting-strategy '(tag-up priority-down)) (org-agenda-todo-ignore-with-date t))) (todo WAITING)) ((org-agenda-with-colors nil) (org-agenda-prefix-format %T [ ]) (org-agenda-todo-keyword-format ) (org-agenda-include-all-todo nil) (org-agenda-block-separator ---\n) (org-agenda-remove-tags t) (ps-number-of-columns 2) (ps-print-header nil) (ps-landscape-mode t)) (~/storage/agenda/agenda.pdf)) (q . Searches) (qa Archive files search ((org-agenda-files (file-expand-wildcards ~/mystuff/org/.*.archive (qn Notes files search ((org-agenda-files (file-expand-wildcards ~/mystuff/org/*.notes (qw Website search search ((org-agenda-files (file-expand-wildcards ~/mystuff/website/*.org (n Now ((todo NOW|STARTED) ((org-agenda-todo-ignore-with-date nil (h Habits ((agenda )) ((org-agenda-show-log t) (org-agenda-include-diary nil) (org-agenda-include-all-todo nil) (org-agenda-ndays 1) (org-agenda-start-on-weekday nil) (org-agenda-log-mode-items '(state)) (org-agenda-time-grid nil) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp :DAILY: ;; Today - daily tasks view (d Today ((agenda ((org-agenda-ndays 1) (org-agenda-include-all-todo nil) )) (alltodo ((org-agenda-sorting-strategy '(todo-state-up)) (org-agenda-todo-ignore-with-date t) (y Projects ((agenda ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp * PROJECT))) ((org-agenda-include-diary nil) (org-agenda-include-all-todo nil) (org-agenda-time-grid nil))) (todo PROJECT ((org-agenda-todo-ignore-deadlines-t) (org-agenda-sorting-strategy '(priority-down)) (R Review ((stuck ) (agenda ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline (agenda ((org-agenda-ndays 1) (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline (todo PROJECT ((org-agenda-sorting-strategy '(todo-state-down priority-down (todo NOW|STARTED|TODO ((org-agenda-sorting-strategy '(todo-state-down priority-down (todo WAITING) (todo MAYBE)) ((org-agenda-todo-ignore-with-date t) (org-agenda-todo-ignore-deadlines t) (org-agenda-time-grid nil) (org-agenda-include-all-todo nil) (org-deadline-warning-days 360))) (c Schedule agenda ((org-agenda-ndays 7) (org-agenda-start-on-weekday 1) (org-agenda-time-grid
Re: [Orgmode] org agenda search goes to wrong target location
On 2009-08-03, Carsten Dominik carsten.domi...@gmail.com wrote: I would love to fix this problem, so I would be very grateful if anyone could come up with a testcase that is reproducible.1 Do others experience it? ___ 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] REMEMBER trouble: filled with a link of the current visited file ?
Hi, When I fire remember in order to enter task(s), it generally happens when I am doing another thing and thus, many times I fire it when visiting a file. While it can be ok sometimes, I do not like to have a link to the current visited file into my remember buffer since each time I have to delete it manually. Is there any way I could get rid of this ? Thank you Xavier ___ 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] REMEMBER trouble: filled with a link of the current visited file ?
Hi, When I fire remember in order to enter task(s), it generally happens when I am doing another thing and thus, many times I fire it when visiting a file. While it can be ok sometimes, I do not like to have a link to the current visited file into my remember buffer since each time I have to delete it manually. Is there any way I could get rid of this ? Thank you Xavier ___ 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] TODO keywords into drawers ?
hi, I am relatively new (even if I used it years ago) to orgmode. I extensively use remember to jot down new tasks/notes/... it feets perfectly since it is almost instantaneous. Sometimes, when at work, someone enters my room to speak about a project. When finished, I fire remember and try to sum up our discussion. This is not really a task to do but when reviewing my notes, it can be switched to a task entry. With my current setup, I have to differenciate, when in remember, if it is a task, a note or something else. If I do not, I do not see these entries when reviewing my org files. This is the big hole in my system which makes me not trust my system :/ What I'd like to have in orgmode is a simpler and homogeneous way to do things. * TODO foo bar would be * foo bar :TYPE: TODO :END: a note would be * foo bar :TYPE: NOTE :END: etc. A default entry would have a special entry type -say UNKNOWN- thus making the review much more trustable. What I like in this idea is the homegenous view of any orgmode file and I guess this would make orgmode file parsing a lot easier. We could even go further by storing all orgmode entries meta-data into drawers (tags, timestamps, states, ...) WDYT ? Regards Xavier ___ 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] Update breaks custom agenda commands
On Aug 16, 2009, at 7:31 PM, Matt Lundin wrote: Hi Carsten, The following commit causes an error when I call org-agenda: , | commit 8c177dc832980bd8cf23fc2ae72b18e0b472b59e | Author: Carsten Dominik carsten.domi...@gmail.com | Date: Fri Aug 14 17:18:14 2009 +0200 | | Avoid text properties on elements in custom variables ` Hi Matt, thanks for the report, this is fixed now. - Carsten The problem does not occur when I set org-agenda-custom-commands to nil. Here are my custom command settings: --8---cut here---start-8--- (setq org-agenda-custom-commands '((p Printed agenda ((agenda ((org-agenda-ndays 7) (org-agenda-start-on-weekday nil) (org-agenda-time-grid nil) (org-agenda-repeating-timestamp-show-all t) (org-agenda-prefix-format -- %t %s) (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline 'scheduled (agenda ((org-agenda-ndays 1) (org-agenda-sorting-strategy '(time-up tag-up)) (org-agenda-todo-keyword-format [ ]) (org-agenda-scheduled-leaders '( )) (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline)) (org-agenda-prefix-format %t %T %s) )) (agenda ((org-agenda-ndays 1) (org-deadline-warning-days 7) (org-agenda-time-grid nil) (org-agenda-include-diary nil) (org-agenda-todo-keyword-format [ ]) (org-agenda-scheduled-leaders '( )) (org-agenda-overriding-header Deadlines:) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline)) (org-agenda-prefix-format %t %s))) (todo TODO|STARTED|NOW ((org-agenda-sorting-strategy '(tag-up priority-down)) (org-agenda-todo-ignore-with-date t))) (todo WAITING)) ((org-agenda-with-colors nil) (org-agenda-prefix-format %T [ ]) (org-agenda-todo-keyword-format ) (org-agenda-include-all-todo nil) (org-agenda-block-separator ---\n) (org-agenda-remove-tags t) (ps-number-of-columns 2) (ps-print-header nil) (ps-landscape-mode t)) (~/storage/agenda/agenda.pdf)) (q . Searches) (qa Archive files search ((org-agenda-files (file-expand-wildcards ~/mystuff/ org/.*.archive (qn Notes files search ((org-agenda-files (file-expand-wildcards ~/mystuff/org/ *.notes (qw Website search search ((org-agenda-files (file-expand-wildcards ~/mystuff/website/ *.org (n Now ((todo NOW|STARTED) ((org-agenda-todo-ignore-with-date nil (h Habits ((agenda )) ((org-agenda-show-log t) (org-agenda-include-diary nil) (org-agenda-include-all-todo nil) (org-agenda-ndays 1) (org-agenda-start-on-weekday nil) (org-agenda-log-mode-items '(state)) (org-agenda-time-grid nil) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp :DAILY: ;; Today - daily tasks view (d Today ((agenda ((org-agenda-ndays 1) (org-agenda-include-all-todo nil) )) (alltodo ((org-agenda-sorting-strategy '(todo-state-up)) (org-agenda-todo-ignore-with-date t) (y Projects ((agenda ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp * PROJECT))) ((org-agenda-include-diary nil) (org-agenda-include-all-todo nil) (org-agenda-time-grid nil))) (todo PROJECT ((org-agenda-todo-ignore-deadlines-t) (org-agenda-sorting-strategy '(priority-down)) (R Review ((stuck ) (agenda ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline (agenda ((org-agenda-ndays 1) (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline (todo PROJECT ((org-agenda-sorting-strategy '(todo-state-down priority-down (todo NOW|STARTED|TODO ((org-agenda-sorting-strategy '(todo- state-down priority-down (todo WAITING) (todo MAYBE)) ((org-agenda-todo-ignore-with-date t) (org-agenda-todo-ignore-deadlines t) (org-agenda-time-grid nil) (org-agenda-include-all-todo nil) (org-deadline-warning-days 360))) (c Schedule agenda ((org-agenda-ndays 7) (org-agenda-start-on-weekday 1) (org-agenda-time-grid nil) (org-agenda-prefix-format %12:t )
Re: [Orgmode] [PATCH] fix bug in org-exp-blocks, removing src code indentation
Applied, thanks. - Carsten On Aug 17, 2009, at 9:49 PM, Eric Schulte wrote: Hi, Please apply the attached patch which replaces `indent-region' with `indent-code-rigidly' in org-exp-blocks. This fixes the problem of indentation being removed from source-code blocks. Thanks -- Eric diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 6025ce7..8df0ac1 100644 --- a/lisp/org-exp-blocks.el +++ b/lisp/org-exp-blocks.el @@ -203,9 +203,8 @@ specified in BLOCKS which default to the value of (apply func (save-match-data (org- remove-indentation (match-stri (split-string (match- string 3) t t) -;; indent the replaced match -(indent-region (match-beginning 0) (match-end 0) indentation) -)) +;; indent block +(indent-code-rigidly (match-beginning 0) (match-end 0) indentation))) (setf start (save-match-data (match-end 0 (mapcar (lambda (type) (interblock start (point-max) type)) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Wishlist: see what I did last week in agenda view
On Aug 17, 2009, at 6:55 PM, Andrew Stribblehill wrote: 2009/8/17 Matt Lundin m...@imapmail.org: Andrew Stribblehill a...@wompom.org writes: I am trying to concoct an agenda view in which every item that has a clock entry or timestamp for the past week shows up -- and preferably those for the forthcoming week. This is so I can make a weekly report of what I've done. ... How might I get this? Or if it's not easily possible, does anyone on the list have a recipe for what they do for their weekly work log? Have you tried the agenda log view yet? Simply type l in the agenda. To see an entire week of logged items, you can type w and then navigate through the weeks with the arrow keys. You can control what types of items are visible in the log with the variable org-agenda-log-mode-items. That's great, thanks. It's especially useful with the clock-report addition. Now to make a custom agenda view that sets everything up just so... :) This can be done with custom commands. Set `org-agenda-start-with-log-mode' and `org-agenda-start-with-clockreport-mode' in the options section for the command. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Notes and Clock entries
At Wed, 05 Aug 2009 11:28:40 -0400, Bernt Hansen wrote: Noorul Islam K M gnu...@gmail.com writes: Please take a look at the below org file. Initially I created the TODO item and then clocked in and out. Then inserted a note. Followed by some clock ins and outs. Everything is organized from top to bottom as we enter items. Earlier I remember the clock entries were grouped and always appeared at the top but now it is cluttered. I am using the latest version from git repo. Is this the expected behavior or am I missing something by which I can group all the clock entries into a group at the top or bottom? Also I remember that I was able to hide entire clock entries. Take a look at the variable org-clock-into-drawer. This saves your clock entries in a :LOGBOOK: drawer which you can expand or hide. Mine says this: org-clock-into-drawer's value is t Documentation: Should clocking info be wrapped into a drawer? When t, clocking info will always be inserted into a :CLOCK: drawer. If necessary, the drawer will be created. When nil, the drawer will not be created, but used when present. When an integer and the number of clocking entries in an item reaches or exceeds this number, a drawer will be created. alas with my current version (6.21), it still spreads clock items everywhere. Is it something known ? Should I update my orgmode copy ? Thanks Xavier ___ 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