emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Automatically add a repeater when scheduling
@ 2014-01-15  7:29 Marcelo de Moraes Serpa
  2014-01-15  9:36 ` Sebastien Vauban
  0 siblings, 1 reply; 4+ messages in thread
From: Marcelo de Moraes Serpa @ 2014-01-15  7:29 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

Hey list,

Does org allow automatically adding a repeater (say, +1d) to a schedule
when adding it with C-c C-s?

If not, I think it wouldn't be so hard to monkeypatch the method to do so,
would it?

Thanks,

--
Marcelo.

[-- Attachment #2: Type: text/html, Size: 348 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Automatically add a repeater when scheduling
  2014-01-15  7:29 Automatically add a repeater when scheduling Marcelo de Moraes Serpa
@ 2014-01-15  9:36 ` Sebastien Vauban
  2014-01-15 19:01   ` Marcelo de Moraes Serpa
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastien Vauban @ 2014-01-15  9:36 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Marcelo de Moraes Serpa wrote:
> Does org allow automatically adding a repeater (say, +1d) to a schedule
> when adding it with C-c C-s?

No -- at least, not yet:

  ╭────
  │ C-c C-s runs the command org-schedule, which is an interactive Lisp function in
  │ `org.el'.
  │ 
  │ It is bound to C-c C-s, <menu-bar> <Org> <Dates and Scheduling> <Schedule
  │ Item>.
  │ 
  │ (org-schedule ARG &optional TIME)
  │ 
  │ Insert the SCHEDULED: string with a timestamp to schedule a TODO item.
  │ With one universal prefix argument, remove any scheduling date from the item.
  │ With two universal prefix arguments, prompt for a delay cookie.
  │ With argument TIME, scheduled at the corresponding date.  TIME can
  │ either be an Org date like "2011-07-24" or a delta like "+2d".
  ╰────

You see that C-c C-s is already pretty loaded (with up to two universal
arguments foreseen...).

> If not, I think it wouldn't be so hard to monkeypatch the method to do so,
> would it?

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Automatically add a repeater when scheduling
  2014-01-15  9:36 ` Sebastien Vauban
@ 2014-01-15 19:01   ` Marcelo de Moraes Serpa
  2014-01-20 11:30     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Marcelo de Moraes Serpa @ 2014-01-15 19:01 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: Org Mode

[-- Attachment #1: Type: text/plain, Size: 1828 bytes --]

Thank you.

 This might be a good feature and I might looking into creating a new
version that does this automatically, since I use the current day agenda
view as my next actions list, and use it to automatically carry tasks to
the following day, so the +1d repeater really keeps things clean for my
specific workflow.

The nice thing is that when they are "current", they are put in the right
order (as they are defined in the org file in question), but what bugs me
is that when they are outdated, they are ordered by the oldest to the
newest, it seems.



On Wed, Jan 15, 2014 at 3:36 AM, Sebastien Vauban
<sva-news@mygooglest.com>wrote:

> Marcelo de Moraes Serpa wrote:
> > Does org allow automatically adding a repeater (say, +1d) to a schedule
> > when adding it with C-c C-s?
>
> No -- at least, not yet:
>
>   ╭────
>   │ C-c C-s runs the command org-schedule, which is an interactive Lisp
> function in
>   │ `org.el'.
>   │
>   │ It is bound to C-c C-s, <menu-bar> <Org> <Dates and Scheduling>
> <Schedule
>   │ Item>.
>   │
>   │ (org-schedule ARG &optional TIME)
>   │
>   │ Insert the SCHEDULED: string with a timestamp to schedule a TODO item.
>   │ With one universal prefix argument, remove any scheduling date from
> the item.
>   │ With two universal prefix arguments, prompt for a delay cookie.
>   │ With argument TIME, scheduled at the corresponding date.  TIME can
>   │ either be an Org date like "2011-07-24" or a delta like "+2d".
>   ╰────
>
> You see that C-c C-s is already pretty loaded (with up to two universal
> arguments foreseen...).
>
> > If not, I think it wouldn't be so hard to monkeypatch the method to do
> so,
> > would it?
>
> Best regards,
>   Seb
>
> --
> Sebastien Vauban
>
>
>

[-- Attachment #2: Type: text/html, Size: 2440 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Automatically add a repeater when scheduling
  2014-01-15 19:01   ` Marcelo de Moraes Serpa
@ 2014-01-20 11:30     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2014-01-20 11:30 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Sebastien Vauban, Org Mode

Hi Marcelo,

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> This might be a good feature and I might looking into creating a new
> version that does this automatically, since I use the current day
> agenda view as my next actions list, and use it to automatically
> carry tasks to the following day, so the +1d repeater really keeps
> things clean for my specific workflow.

I've explored this a bit and this is complicated.

The syntax I had in mind is using (+1d) to add a repeater
via `org-read-date', which could be used to add more info
as well.

I'll put this on my "maybe" list anyway and see if I can
come up with something, as I agree this would be useful.

Thanks, 

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-20 11:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-15  7:29 Automatically add a repeater when scheduling Marcelo de Moraes Serpa
2014-01-15  9:36 ` Sebastien Vauban
2014-01-15 19:01   ` Marcelo de Moraes Serpa
2014-01-20 11:30     ` Bastien

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).