Re: [Orgmode] Re: BUG?: repeat items disappears in agenda
Salutations! > Please post your code, you can always do this, the copyright question > only star when we decide to use it. And even then, 4 lines is very little. Sure, please see it below :-) Dennis Lin >> >> Basically, in org-agenda-get-scheduled, we call >> org-time-string-to-absolute passing in d1 (the day that we're trying >> to get agenda items for.) The problems is that if d1 is today, we >> will get the closest day, which may be in the future, leading to the >> problem. The patch that I've found was to not pass in d1 if todayp is >> true. >> >> I have a 4 line patch implementing this (and I probably should write >> another one to fix a similar problem with deadlines), but I've not >> signed a FSF release, so I don't know if you want me to post my code >> here. Now, this patch is now quite old (it was for 5.08) but it should still apply cleanly. Looking at it, it might be whitespace damaged, and there should be a similar change for the get-deadline. However, I think it gets the idea across (and seems to fix the problem for me.) Dennis Lin --- old/org.el 2007-09-05 03:16:41.0 -0500 +++ new/org.el 2007-09-09 00:50:36.0 -0500 @@ -18676,7 +18676,9 @@ (org-agenda-skip) (setq s (match-string 1) pos (1- (match-beginning 1)) - d2 (org-time-string-to-absolute (match-string 1) d1) + d2 (if todayp + (org-time-string-to-absolute (match-string 1)) + (org-time-string-to-absolute (match-string 1) d1)) diff (- d2 d1)) (setq pastschedp (and todayp (< diff 0))) ;; When to show a scheduled item in the calendar: ___ 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] optimising the selection of alternatives in remember templates
Imagine using remember to write down a note about a telephone call. These days I have a remember template with the most possible customers company name, the most possible customer names and then subjects and the "types". This adds up to a lot of alternatives in the template. For choosing the correct one I have to switch through a lot of alternatives which are uninteresting as soon as I have chosen the first alternative, here the company name. I find the remember templates are an awesome feature! They could be optimised in terms of usability if I could define the alternatives hierarchically like for example (company1 - ((customer name1|customer name2|customer name3) (project name1|project name2|project name3) (incident type1|incident type2|incident type3|))) (company2 - ((customer name4|customer name5|customer name6) (project name1|project name4|project name4) (incident type1|incident type3|incident type4|))) ... This would help speeding up the selection of the correct alternatives in a remember template depending on the selection first made while a customer is just beginnning to talk on the phone. I hope this was clear enough. Rainer ___ 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] one TODO for multiple projects
On Jan 18, 2008 10:45 AM, Erik Colson <[EMAIL PROTECTED]> wrote: > Hi, > > I'm thinking about moving from planner to org-mode. Particularly for the > outline and better file formatting. > I've been reading through the doc and I'm missing a feature of planner. In > planner we can create a todo which can be bound to multiple projects. So if > it is marked completed in one project it is also in the other projects. > > Can this be done in org-mode ? I guess it depends on how you implement a project. The way I do it, it just an outline item and the todo under it belong to it. I can't do what you want. You could use the outline for some arbitrary grouping and associate a todo with project using tags. Maybe others have found other ways. Edd ___ 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: Remember and then refile
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jan 18, 2008, at 9:40 PM, Steven Lumos wrote: > >> Carsten Dominik <[EMAIL PROTECTED]> writes: >>> This will be in 5.19. Thanks for the proposal!. >>> >>> - Carsten >> >> Hi. >> >> Have you considered somehow merging the tree selection and minibuffer >> with completion methods so that both are available simultaneously? > > Could you please be more specific? > > Thanks. > > - Carsten Maybe. :-) Currently, C-u C-c C-c in remember uses this "Select a destination location for the note" mode where you navigate the org tree in the usual way and then RET to select a headline. On the other hand, org-refile uses the minibuffer and you type a headline, with completion and history. So recently I've been thinking it should be possible (though only arguably desirable) to allow both of these modes to be active at once, so movement commands would navigate the tree and typing commands would append to the minibuffer. There are key conflicts that need to be worked out, but I think it could be done. For one example, TAB could do completion if there is text in the minibuffer, and tree navigation otherwise. Steve >> >> >> Steve >> >>> On Jan 7, 2008, at 5:05 PM, Hugo Schmitt wrote: >>> Hello everyone! I know Remember allows one to select where we want to file an entry with C-u C-c C-c, but now that we have org-refile (great!), it would be really nice to be able to call org-refile after the text is inserted on it's default place (mine is the Tasks tree on todo.org) Now, I couldn't find a way to insert this nicely into the code, since that is done via the remember command. Any ideas? Thanks in advance, Hugo ___ 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: Remember and then refile
On Jan 18, 2008, at 9:40 PM, Steven Lumos wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: This will be in 5.19. Thanks for the proposal!. - Carsten Hi. Have you considered somehow merging the tree selection and minibuffer with completion methods so that both are available simultaneously? Could you please be more specific? Thanks. - Carsten Steve On Jan 7, 2008, at 5:05 PM, Hugo Schmitt wrote: Hello everyone! I know Remember allows one to select where we want to file an entry with C-u C-c C-c, but now that we have org-refile (great!), it would be really nice to be able to call org-refile after the text is inserted on it's default place (mine is the Tasks tree on todo.org) Now, I couldn't find a way to insert this nicely into the code, since that is done via the remember command. Any ideas? Thanks in advance, Hugo ___ 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: BUG?: repeat items disappears in agenda
Please post your code, you can always do this, the copyright question only star when we decide to use it. And even then, 4 lines is very little. - Carsten On Jan 18, 2008, at 10:24 PM, Dennis J Lin wrote: Salutations! Please note that I'm sending this from gnus talking to gmane, and this is the first time that I've tried posting anything to gmane (or using gnus), so apologies if the electrons don't exactly align. Wanrong Lin <[EMAIL PROTECTED]> writes: repeat TODO items has changed. Seems it did not. I am not sure whether this is considered a bug, but in short the symptom is this: Suppose I have a repeat task: * TODO [#A] A repeat task test SCHEDULED: <2008-01-15 Tue +1w> And today is Friday, Jan 18. The task will show in my agenda for today. But, if I change the above task to: * TODO [#A] A repeat task test SCHEDULED: <2008-01-14 Mon +1w> It will disappear from my agenda for today. But it still shows up in my agenda for Monday, Jan 14, and Monday, Jan 21. It seems to me that once today's date is closer to the next occurrence of a repeat item than the overdue one, the item will disappear. I've noticed this, and I've actually been carrying a personal patch for this -- (yes, there is a TODO entry to write it up an send it in, which is why I'm writing this...) Basically, in org-agenda-get-scheduled, we call org-time-string-to-absolute passing in d1 (the day that we're trying to get agenda items for.) The problems is that if d1 is today, we will get the closest day, which may be in the future, leading to the problem. The patch that I've found was to not pass in d1 if todayp is true. I have a 4 line patch implementing this (and I probably should write another one to fix a similar problem with deadlines), but I've not signed a FSF release, so I don't know if you want me to post my code here. Dennis Lin ___ 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: BUG?: repeat items disappears in agenda
Salutations! Please note that I'm sending this from gnus talking to gmane, and this is the first time that I've tried posting anything to gmane (or using gnus), so apologies if the electrons don't exactly align. Wanrong Lin <[EMAIL PROTECTED]> writes: > repeat TODO items has changed. Seems it did not. I am not sure whether > this is considered a bug, but in short the symptom is this: > > Suppose I have a repeat task: > > * TODO [#A] A repeat task test > SCHEDULED: <2008-01-15 Tue +1w> > > And today is Friday, Jan 18. The task will show in my agenda for > today. But, if I change the above task to: > > * TODO [#A] A repeat task test > SCHEDULED: <2008-01-14 Mon +1w> > > It will disappear from my agenda for today. But it still shows up in > my agenda for Monday, Jan 14, and Monday, Jan 21. It seems to me that > once today's date is closer to the next occurrence of a repeat item > than the overdue one, the item will disappear. I've noticed this, and I've actually been carrying a personal patch for this -- (yes, there is a TODO entry to write it up an send it in, which is why I'm writing this...) Basically, in org-agenda-get-scheduled, we call org-time-string-to-absolute passing in d1 (the day that we're trying to get agenda items for.) The problems is that if d1 is today, we will get the closest day, which may be in the future, leading to the problem. The patch that I've found was to not pass in d1 if todayp is true. I have a 4 line patch implementing this (and I probably should write another one to fix a similar problem with deadlines), but I've not signed a FSF release, so I don't know if you want me to post my code here. Dennis Lin ___ 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: Remember and then refile
Carsten Dominik <[EMAIL PROTECTED]> writes: > This will be in 5.19. Thanks for the proposal!. > > - Carsten Hi. Have you considered somehow merging the tree selection and minibuffer with completion methods so that both are available simultaneously? Steve > On Jan 7, 2008, at 5:05 PM, Hugo Schmitt wrote: > >> Hello everyone! >> >> I know Remember allows one to select where we want to file an entry >> with C-u C-c C-c, but now that we have org-refile (great!), it would >> be really nice to be able to call org-refile after the text is >> inserted on it's default place (mine is the Tasks tree on todo.org) >> Now, I couldn't find a way to insert this nicely into the code, >> since that is done via the remember command. >> Any ideas? >> >> Thanks in advance, >> Hugo ___ 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] one TODO for multiple projects
Hi, I'm thinking about moving from planner to org-mode. Particularly for the outline and better file formatting. I've been reading through the doc and I'm missing a feature of planner. In planner we can create a todo which can be bound to multiple projects. So if it is marked completed in one project it is also in the other projects. Can this be done in org-mode ? Thanks -- Erik ___ 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] BUG?: repeat items disappears in agenda
Hi, Carsten, I am excited to try out the new features in 5.19, but one thing I tried first is to see whether the "task disappearing" behavior for repeat TODO items has changed. Seems it did not. I am not sure whether this is considered a bug, but in short the symptom is this: Suppose I have a repeat task: * TODO [#A] A repeat task test SCHEDULED: <2008-01-15 Tue +1w> And today is Friday, Jan 18. The task will show in my agenda for today. But, if I change the above task to: * TODO [#A] A repeat task test SCHEDULED: <2008-01-14 Mon +1w> It will disappear from my agenda for today. But it still shows up in my agenda for Monday, Jan 14, and Monday, Jan 21. It seems to me that once today's date is closer to the next occurrence of a repeat item than the overdue one, the item will disappear. I guess this will push me to finish a repeat task ASAP, but still, I am a little bit nervous that something I am suppose to do may disappear from my agenda. Thanks a lot for taking a look of this. Wanrong ___ 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: is org (no longer) in emacs-cvs?
On Jan 7, 2008, at 8:52 PM, Leo wrote: On 2008-01-07 18:12 +, Gijs Hillenius wrote: Hello & happy 2008 to all of you, I'm using a Debian package supplied by Romain Francoise (http://emacs.orebokech.com) to update emacs, using emacs-cvs. For some time now, the org that is shipped says it is org-mode version 5.13i. Which works fine, so, no sound of alarm bells here.. But did I miss Dominic deciding to remove it from cvs? Thx Gijs I'd also like to see org in emacs updated. Done. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: What's the use of Column View?
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jan 17, 2008, at 1:59 AM, Bernt Hansen wrote: > >> I'd _love_ to see my estimate task times and actual times side by side >> in the column view per task. That will help me tune my estimates much >> faster. >> >> This would be very useful for me to check how my estimates are doing >> compared to actual time spent on tasks. Is there some magical >> incantation to do this? :) > > In 5.19 you will be able to use a special read-only column CLOCKSUM that > will contain the total time spent in a subtree. Awesome! Thanks so much Carsten! 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
[Orgmode] Problems with org-remember-use-refile-when-interactive
Hi Carsten. I was just trying out 5.19 and something showed up with the new remember->refile option. You seem to store the text into the *remember* buffer before calling (org-refile). That is a problem for people that have 'org-refile-targets' to set to generate targets from current file. Here is mine, for example: (setq org-refile-targets '((nil . (:maxlevel . 1 So, is there any way that we could change refile targets to the ones from the default file ? (the file where text would be inserted if we only pressed C-c C-c on the remember buffer - specified on org-remember-templates) Regards, Hugo ___ 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] Release: Org-mode version 5.19
Hi, I am releasing version 5.19 of org-mode at http://orgmode.org Enjoy! - Carsten Changes in Version 5.19 ~~~ Overview - Column view can list the clocked times of a subtree. - Storing remember notes can use the `org-refile' interface. - Storing remember notes no longer produced empty lines. - Moving subtrees now folds all siblings of the subtree. - New variable `org-agenda-todo-keyword-format'. - Hack to allow brackets in link descriptions. - Clocking into an entry can enforce a specific TODO state. - EXPORT_FILE_NAME may be an absolute file name with "~". - Bug fixes, lots of them. Details === - A new special column definition lists the sum of all CLOCK entries in a subtree. For example #+COLUMNS: %20ITEM %10Time_Estimate{:} %CLOCKSUM will allow you to compare estimated times (as given in the Time_Estimate property) with the clocked times. This was a request by Bernt Hansen. - Storing remember notes can now use the `org-refile' interface instead of the `org-goto' interface (see the variable `org-remember-use-refile-when-interactive'). Nothing will change if the note is stored immediately after pressing `C-c C-c' in the `*Remember*' buffer. But if you have chosen (e.g. by pressing `C-u C-c C-c') to interactively select the filing location (file and headline), the refile interface will be used instead. I am excited about this change, because the `org-goto' interface is basically a failure, at least for this application. Note that in any case the refile interface has to be configured first by customizing `org-refile-targets'. - Notes inserted with remember now remove any whitespace before and after the note before being pasted, so that there will be no empty lines inserted together with the note. We could invent special syntax in remember templates to allow creating empty lines before a note - is there anyone who'd want this? - Moving subtrees now folds all siblings of the subtree. This is the only reasonably simple way I could find to avoid the reported inconsistencies in the folding state of the outline tree after moving entries. There are reasons to like this new behavior, because it easily visualizes where the tree is located after the move. Still, not everyone might be happy with this. Massive complaining would be needed to make me fix this. - New variable `org-agenda-todo-keyword-format' to specify the width of the TODO keyword field in the agenda display. Use it to get things to line up better. This was a proposal by Rainer Stengele. - If a link description inserted with `C-c C-l' contains brackets, the brackets will now be converted into curly braces. This looks similar enough. Supporting brackets in link descriptions is, for technical reasons too long to explain here, complex. - The new option `org-clock-in-switch-to-state' can be set to a TODO state that will be enforced when the clock is started on an entry. This follows an idea by Sacha Chua. - The EXPORT_FILE_NAME property may now also be an absolute file name, and it may contain abbreviations like "~" for the users home directory. This was requested by Adam Spiers. - Bug fixes, lots of them. ___ 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] Remember and then refile
Can't wait! Thank you very much for all the work on org-mode. -Hugo On Jan 18, 2008 5:47 AM, Carsten Dominik <[EMAIL PROTECTED]> wrote: > This will be in 5.19. Thanks for the proposal!. > > - Carsten > > > On Jan 7, 2008, at 5:05 PM, Hugo Schmitt wrote: > > > Hello everyone! > > I know Remember allows one to select where we want to file an entry with C-u > C-c C-c, but now that we have org-refile (great!), it would be really nice > to be able to call org-refile after the text is inserted on it's default > place (mine is the Tasks tree on todo.org) > Now, I couldn't find a way to insert this nicely into the code, since that > is done via the remember command. > Any ideas? > > Thanks in advance, > Hugo > > > > ___ 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] FR: source code
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jan 16, 2008, at 7:59 PM, Phil Jackson wrote: [...] >> I *personally* still can't decide if this is within org's scope >> though, not to say I wouldn't find it very handy. > > So then am confused what you initial message was about. The feature > your are asking for is then an exporting feature, right? Maybe you > need to restate what exactly you would like to see. Yes, I'm a confused young man. My final answer is: I would like to see syntax highlighted code in a HTML export :) Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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: What's the use of Column View?
On Jan 17, 2008, at 1:59 AM, Bernt Hansen wrote: "Egli Christian (KIRO 41)" <[EMAIL PROTECTED]> writes: There you go! A quick and simple way to get an overview. The power of column view stems from the fact that it lets you quickly and simply define hierarchical structures and then combine them with a tabular overview. Hope this helps Thanks Christian! I haven't played with column view much yet but this is a great application I can use immediately. Since you're posting estimated times on your tasks I'm wondering if there's a way to get the clocked summary times for each task in the column view table as well (same values as C-c C-x C-d display). I'd _love_ to see my estimate task times and actual times side by side in the column view per task. That will help me tune my estimates much faster. This would be very useful for me to check how my estimates are doing compared to actual time spent on tasks. Is there some magical incantation to do this? :) In 5.19 you will be able to use a special read-only column CLOCKSUM that will contain the total time spent in a subtree. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Remember and then refile
This will be in 5.19. Thanks for the proposal!. - Carsten On Jan 7, 2008, at 5:05 PM, Hugo Schmitt wrote: Hello everyone! I know Remember allows one to select where we want to file an entry with C-u C-c C-c, but now that we have org-refile (great!), it would be really nice to be able to call org-refile after the text is inserted on it's default place (mine is the Tasks tree on todo.org) Now, I couldn't find a way to insert this nicely into the code, since that is done via the remember command. Any ideas? Thanks in advance, Hugo ___ 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] FR: source code
On Jan 16, 2008, at 7:59 PM, Phil Jackson wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: On Jan 8, 2008, at 12:22 PM, Phil Jackson wrote: [...] is the lack of a method to 'embed' source code into a document ala: ... [...] It seems to me that there are really two issues here: 1. Font-locking in the buffer 2. Export I guess one problem is that the stuff in BEGIN_EXAMPLE and similar structures is not protected from font-lock a la org-mode. Maybe this is the main issue you are having Phil? How does Muse behave in your examlple? I don't know Muse too well. The code isn't actually font-locked in the buffer itself but is syntax highlighted upon export (in (x)html anyway). Without actually reading the code, I think it just takes the region applies the mode specified by the 'lang' attribute and then uses htmlize.el on it. I *personally* still can't decide if this is within org's scope though, not to say I wouldn't find it very handy. So then am confused what you initial message was about. The feature your are asking for is then an exporting feature, right? Maybe you need to restate what exactly you would like to see. - Carsten Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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] BUG: plain lists inside drawers with org-cycle-include-plain-lists
On Jan 9, 2008, at 11:58 AM, Tom Weissmann wrote: If you set org-cycle-include-plain-lists and then put a plain list inside a drawer, the drawer stops working: :FOO: - Ingredients + Chickpeas + Spinach + Aubergine + Pomegranate dressing :END: The error is ":END: line missing". What happens in this case is that outline-regexp is changed within the dynamic scope of org-cycle, and that includes org-flag-drawer - which needs to use the original version of outline-regexp. Saving outline-regexp and using the orignal version inside org-flag- drawer partly solves the problem I have implemented this partial fix. but the :END: tag is treated as the single child of the last item in the plain list - meaning an extra visibility cycle. This is a general problem with cycling plain lists. Stuff after the final item is considered part of the last item as far as cycling is concerned. The reason for this is that with `org-cycle-include-plain-lists', all that happens is that item lines are consireded as headlines as well. The plain list editing commands on the other hand really look for the end of a plain list, based on line indentation. outline.el internals do not cater for the pssibility that there might be text "after a subtree", and so fixing this issue would involve rewriting parts of outline.el. I don't really know a good way forward on this point. Thanks for your report and the analysis. - Carsten Tom SW Does the name Pavlov ring a bell? ___ Emacs-orgmode mailing list Remember: ___ 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