emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* FR: org-timestamp-up/down jumping configurable number of minutes
@ 2008-03-03 11:06 Adam Spiers
  2008-03-03 12:07 ` Carsten Dominik
  2008-03-03 13:16 ` Carsten Dominik
  0 siblings, 2 replies; 8+ messages in thread
From: Adam Spiers @ 2008-03-03 11:06 UTC (permalink / raw)
  To: org-mode mailing list

I never need to insert timestamps with a granularity of smaller than 5
minutes, and hardly ever smaller than 15 minutes.  So it would be
really nice if when over the minute portion of a timestamp,
org-shiftup/down increased/decreased the minute value in multiples of
5, 15, or whatever other value the user wants to configure.  So for
example, that way I could postpone the start/end of an appointment by
15 minutes with a single key chord.

For backwards compatability, the granularity could still default to 1
if that's the behaviour the majority of people prefer.

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

* Re: FR: org-timestamp-up/down jumping configurable number of minutes
  2008-03-03 11:06 FR: org-timestamp-up/down jumping configurable number of minutes Adam Spiers
@ 2008-03-03 12:07 ` Carsten Dominik
  2008-03-03 13:16 ` Carsten Dominik
  1 sibling, 0 replies; 8+ messages in thread
From: Carsten Dominik @ 2008-03-03 12:07 UTC (permalink / raw)
  To: Adam Spiers; +Cc: org-mode mailing list


On Mar 3, 2008, at 12:06 PM, Adam Spiers wrote:

> I never need to insert timestamps with a granularity of smaller than 5
> minutes, and hardly ever smaller than 15 minutes.  So it would be
> really nice if when over the minute portion of a timestamp,
> org-shiftup/down increased/decreased the minute value in multiples of
> 5, 15, or whatever other value the user wants to configure.  So for
> example, that way I could postpone the start/end of an appointment by
> 15 minutes with a single key chord.
>
> For backwards compatability, the granularity could still default to 1
> if that's the behaviour the majority of people prefer.

This is a good idea.  However, `C-u 15 S-up' also does hel a bit.

Still, we should have this option.

- Carsten

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

* Re: FR: org-timestamp-up/down jumping configurable number of minutes
  2008-03-03 11:06 FR: org-timestamp-up/down jumping configurable number of minutes Adam Spiers
  2008-03-03 12:07 ` Carsten Dominik
@ 2008-03-03 13:16 ` Carsten Dominik
  2008-03-03 13:49   ` Manish
  1 sibling, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2008-03-03 13:16 UTC (permalink / raw)
  To: Adam Spiers; +Cc: org-mode mailing list

In the git repo right now, take a look at the variable
org-time-stamp-rounding-minutes.

- Carsten

On Mar 3, 2008, at 12:06 PM, Adam Spiers wrote:

> I never need to insert timestamps with a granularity of smaller than 5
> minutes, and hardly ever smaller than 15 minutes.  So it would be
> really nice if when over the minute portion of a timestamp,
> org-shiftup/down increased/decreased the minute value in multiples of
> 5, 15, or whatever other value the user wants to configure.  So for
> example, that way I could postpone the start/end of an appointment by
> 15 minutes with a single key chord.
>
> For backwards compatability, the granularity could still default to 1
> if that's the behaviour the majority of people prefer.
>
>
> _______________________________________________
> 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] 8+ messages in thread

* Re: FR: org-timestamp-up/down jumping configurable number of minutes
  2008-03-03 13:16 ` Carsten Dominik
@ 2008-03-03 13:49   ` Manish
  2008-03-03 14:07     ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Manish @ 2008-03-03 13:49 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode mailing list

On Mon, Mar 3, 2008 at 6:46 PM, Carsten Dominik <dominik@science.uva.nl> wrote:
> In the git repo right now, take a look at the variable
>  org-time-stamp-rounding-minutes.
>

Thank you.  However I am not sure how do I set this.  From customize:

These are two values, the first applies when first creating a time stamp.
The second applies when changing it with the commands `S-up' and `S-down'.
When changing the time stamp, this means that it will change in steps
of N minues, as given by the second value.

But the variable allows only one value.  Can you please show an example?

-- Manish

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

* Re: FR: org-timestamp-up/down jumping configurable number of minutes
  2008-03-03 13:49   ` Manish
@ 2008-03-03 14:07     ` Carsten Dominik
  2008-03-03 16:24       ` Manish
  0 siblings, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2008-03-03 14:07 UTC (permalink / raw)
  To: Manish; +Cc: org-mode mailing list


On Mar 3, 2008, at 2:49 PM, Manish wrote:

> On Mon, Mar 3, 2008 at 6:46 PM, Carsten Dominik <dominik@science.uva.nl 
> > wrote:
>> In the git repo right now, take a look at the variable
>> org-time-stamp-rounding-minutes.
>>
>
> Thank you.  However I am not sure how do I set this.  From customize:
>
> These are two values, the first applies when first creating a time  
> stamp.
> The second applies when changing it with the commands `S-up' and `S- 
> down'.
> When changing the time stamp, this means that it will change in steps
> of N minues, as given by the second value.
>
> But the variable allows only one value.  Can you please show an  
> example?

Indeed, if you have prior customization on this variable, this is not  
obvious.

I you pull again, I have just made it easy, just pull again, load the
new org.el in a new emace and try to customize the variable.

- Carsten

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

* Re: FR: org-timestamp-up/down jumping configurable number of minutes
  2008-03-03 14:07     ` Carsten Dominik
@ 2008-03-03 16:24       ` Manish
  2008-03-03 16:34         ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Manish @ 2008-03-03 16:24 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode mailing list

On Mon, Mar 3, 2008 at 7:37 PM, Carsten Dominik <dominik@science.uva.nl> wrote:
>
>
>  On Mar 3, 2008, at 2:49 PM, Manish wrote:
>
>  > On Mon, Mar 3, 2008 at 6:46 PM, Carsten Dominik <dominik@science.uva.nl
>  > > wrote:
>  >> In the git repo right now, take a look at the variable
>  >> org-time-stamp-rounding-minutes.
>  >>
>  >
>  > Thank you.  However I am not sure how do I set this.  From customize:
>  >
>  > These are two values, the first applies when first creating a time
>  > stamp.
>  > The second applies when changing it with the commands `S-up' and `S-
>  > down'.
>  > When changing the time stamp, this means that it will change in steps
>  > of N minues, as given by the second value.
>  >
>  > But the variable allows only one value.  Can you please show an
>  > example?
>
>  Indeed, if you have prior customization on this variable, this is not
>  obvious.
>
>  I you pull again, I have just made it easy, just pull again, load the
>  new org.el in a new emace and try to customize the variable.
>

1. I removed all traces of the variable from .emacs
2. Saved .emacs and closed Emacs
3. Set the variable using customize
4. Reloaded .emacs and tested
5. I get `Symbol's value as variable is void:
org-time-stamp-rounding-minutes-when-changing'

What could I be doing wrong?  How can I provide more debug information?

-- Manish

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

* Re: FR: org-timestamp-up/down jumping configurable number of minutes
  2008-03-03 16:24       ` Manish
@ 2008-03-03 16:34         ` Bastien
  2008-03-03 17:02           ` Manish
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2008-03-03 16:34 UTC (permalink / raw)
  To: emacs-orgmode

Manish <mailtomanish.sharma@gmail.com> writes:

> 1. I removed all traces of the variable from .emacs
> 2. Saved .emacs and closed Emacs
> 3. Set the variable using customize
> 4. Reloaded .emacs and tested
> 5. I get `Symbol's value as variable is void:
> org-time-stamp-rounding-minutes-when-changing'

This should be `org-time-stamp-rounding-minutes'.  

I've fixed this in the git repo.

-- 
Bastien

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

* Re: FR: org-timestamp-up/down jumping configurable number of minutes
  2008-03-03 16:34         ` Bastien
@ 2008-03-03 17:02           ` Manish
  0 siblings, 0 replies; 8+ messages in thread
From: Manish @ 2008-03-03 17:02 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

On Mon, Mar 3, 2008 at 10:04 PM, Bastien <bzg@altern.org> wrote:
> Manish <mailtomanish.sharma@gmail.com> writes:
>
>  > 1. I removed all traces of the variable from .emacs
>  > 2. Saved .emacs and closed Emacs
>  > 3. Set the variable using customize
>  > 4. Reloaded .emacs and tested
>  > 5. I get `Symbol's value as variable is void:
>  > org-time-stamp-rounding-minutes-when-changing'
>
>  This should be `org-time-stamp-rounding-minutes'.
>
>  I've fixed this in the git repo.

Thanks, works great now.  You guys rock!

-- Manish

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

end of thread, other threads:[~2008-03-03 17:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-03 11:06 FR: org-timestamp-up/down jumping configurable number of minutes Adam Spiers
2008-03-03 12:07 ` Carsten Dominik
2008-03-03 13:16 ` Carsten Dominik
2008-03-03 13:49   ` Manish
2008-03-03 14:07     ` Carsten Dominik
2008-03-03 16:24       ` Manish
2008-03-03 16:34         ` Bastien
2008-03-03 17:02           ` Manish

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