* Obliterating schedule/deadline repeaters
@ 2008-06-14 0:24 Greg Novak
2008-06-16 16:16 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Greg Novak @ 2008-06-14 0:24 UTC (permalink / raw
To: emacs-orgmode
On the whole I'm happily using org-mode. One thing that I'm unhappy
with is that when I'm looking at the agenda and decide to reschedule a
task that has a repeater, the repeater is obliterated. That is, if
the task is:
* TODO Oil change
SCHEDULED <2008-6-1 +3m>
and I think to myself "I'll do that on Saturday, not on Tuesday" then
hit C-c C-s and put in the new date, the repeater is obliterated.
Ideally, the repeater would just be preserved as-is. Almost as good
is if there's some clue in the minibuffer that the task has a repeater
and I should remember to include it in the new date. As it stands, I
have this in my .emacs file to prevent manual changes to tasks with
repeaters---in that case I just look at the org file and change the
schedule date manually:
(defadvice org-schedule
(around gsn/org-prevent-rescheduling-repeated-tasks activate)
"If the current task has a repeater, prevent rescheduling it to
avoid obliterating the repeater."
(if (org-get-repeat)
(message "*** Can't reschedule this task without obliterating
repeater ***")
ad-do-it))
I'm writing the list to see if there's a way to do this and I was just
dumb when I read the manual. If not, I guess this is a feature
request. I'm using v 6.04c.
Best,
Greg
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Obliterating schedule/deadline repeaters
2008-06-14 0:24 Obliterating schedule/deadline repeaters Greg Novak
@ 2008-06-16 16:16 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-06-16 16:16 UTC (permalink / raw
To: Greg Novak; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 2150 bytes --]
Hi Greg,
due to the way this is coded, it is not easy to fix it in a way that
the repeater is kept. Also, I think it is good if the user does such
changes by hand, to be sure he/she notices that the repeating process
not be correct after such a change. So I am going with your proposal
to issue a warning if org-schedule or org-deadline is called in an
entry that has a repeater.
Personally, I normally would not change the scheduling time stamp at
all in this case, but just add an extra timestamp for saturday to this
entry.
Thanks.
- Carsten
On Jun 14, 2008, at 2:24 AM, Greg Novak wrote:
> On the whole I'm happily using org-mode. One thing that I'm unhappy
> with is that when I'm looking at the agenda and decide to reschedule a
> task that has a repeater, the repeater is obliterated. That is, if
> the task is:
>
> * TODO Oil change
> SCHEDULED <2008-6-1 +3m>
>
> and I think to myself "I'll do that on Saturday, not on Tuesday" then
> hit C-c C-s and put in the new date, the repeater is obliterated.
> Ideally, the repeater would just be preserved as-is. Almost as good
> is if there's some clue in the minibuffer that the task has a repeater
> and I should remember to include it in the new date. As it stands, I
> have this in my .emacs file to prevent manual changes to tasks with
> repeaters---in that case I just look at the org file and change the
> schedule date manually:
>
> (defadvice org-schedule
> (around gsn/org-prevent-rescheduling-repeated-tasks activate)
> "If the current task has a repeater, prevent rescheduling it to
> avoid obliterating the repeater."
> (if (org-get-repeat)
> (message "*** Can't reschedule this task without obliterating
> repeater ***")
> ad-do-it))
>
> I'm writing the list to see if there's a way to do this and I was just
> dumb when I read the manual. If not, I guess this is a feature
> request. I'm using v 6.04c.
>
> Best,
> Greg
>
>
> _______________________________________________
> 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
[-- Attachment #1.2: Type: text/html, Size: 2699 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-16 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-14 0:24 Obliterating schedule/deadline repeaters Greg Novak
2008-06-16 16:16 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.