* PATCH Bugfix: repeating SCHEDULED or DEADLINE interface fix
@ 2010-02-11 22:10 Paul Holcomb
2010-02-12 17:31 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Paul Holcomb @ 2010-02-11 22:10 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1: Type: text/plain, Size: 435 bytes --]
If you only have a repeating SCHEDULED item, allow using the
interface to update DEADLINE; also vice-versa.
In other words, allow org-schedule or org-deadline to update normal
timestamps in the existance of other types of repeating timestamps in
the same heading.
--
Paul Holcomb *pholcomb \@ cpoint net*
GPG key fingerprint 2B62 05AE EE74 845A 705F D716 28C4 FE1C 088F CFAC
[-- Attachment #2: org.el-repeat-schedule-deadline.patch --]
[-- Type: text/plain, Size: 1090 bytes --]
lisp/org.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index 9134e1d..640802a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10710,7 +10710,7 @@ scheduling will use the corresponding date."
org-log-redeadline))
(org-remove-timestamp-with-keyword org-deadline-string)
(message "Item no longer has a deadline."))
- (if (org-get-repeat)
+ (if (org-get-repeat org-deadline-string)
(error "Cannot change deadline on task with repeater, please do that by hand")
(org-add-planning-info 'deadline time 'closed)
(when (and old-date org-log-redeadline
@@ -10734,7 +10734,7 @@ scheduling will use the corresponding date."
org-log-reschedule))
(org-remove-timestamp-with-keyword org-scheduled-string)
(message "Item is no longer scheduled."))
- (if (org-get-repeat)
+ (if (org-get-repeat org-scheduled-string)
(error "Cannot reschedule task with repeater, please do that by hand")
(org-add-planning-info 'scheduled time 'closed)
(when (and old-date org-log-reschedule
[-- Attachment #3: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: PATCH Bugfix: repeating SCHEDULED or DEADLINE interface fix
2010-02-11 22:10 PATCH Bugfix: repeating SCHEDULED or DEADLINE interface fix Paul Holcomb
@ 2010-02-12 17:31 ` Carsten Dominik
2010-02-12 18:06 ` Paul Holcomb
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-02-12 17:31 UTC (permalink / raw)
To: pholcomb; +Cc: Org Mode
Applied thanks.
Paul, I don't think I have FSF papers from you. Do you have a general
assignment for Emacs? If not, would you consider signing one for
Emacs or for org-mode? That would allow me to apply patches also
in the future, even if they become longer?
Thanks!
- Carsten
On Feb 11, 2010, at 11:10 PM, Paul Holcomb wrote:
>
> If you only have a repeating SCHEDULED item, allow using the
> interface to update DEADLINE; also vice-versa.
>
> In other words, allow org-schedule or org-deadline to update normal
> timestamps in the existance of other types of repeating timestamps in
> the same heading.
>
> --
> Paul Holcomb *pholcomb \@
> cpoint net*
> GPG key fingerprint 2B62 05AE EE74 845A 705F D716 28C4
> FE1C 088F CFAC
> <org.el-repeat-schedule-
> deadline.patch>_______________________________________________
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH Bugfix: repeating SCHEDULED or DEADLINE interface fix
2010-02-12 17:31 ` Carsten Dominik
@ 2010-02-12 18:06 ` Paul Holcomb
0 siblings, 0 replies; 3+ messages in thread
From: Paul Holcomb @ 2010-02-12 18:06 UTC (permalink / raw)
To: Carsten Dominik
On Fri, Feb 12, 2010 at 06:31:09PM +0100, Carsten Dominik wrote:
> Applied thanks.
>
> Paul, I don't think I have FSF papers from you. Do you have a general
> assignment for Emacs? If not, would you consider signing one for
> Emacs or for org-mode? That would allow me to apply patches also
> in the future, even if they become longer?
I just started looking into this yesterday. :)
--
Paul Holcomb *pholcomb \@ cpoint net*
GPG key fingerprint 2B62 05AE EE74 845A 705F D716 28C4 FE1C 088F CFAC
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-12 18:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 22:10 PATCH Bugfix: repeating SCHEDULED or DEADLINE interface fix Paul Holcomb
2010-02-12 17:31 ` Carsten Dominik
2010-02-12 18:06 ` Paul Holcomb
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).