emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] AM/PM support on the agenda timegrid
@ 2010-11-05 19:01 Christopher Allan Webber
  2010-11-06 16:45 ` Christopher Allan Webber
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Allan Webber @ 2010-11-05 19:01 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

I get distracted parsing 24-hour-time into 12-hour AM/PM style time.  So
I added support for AM/PM style time on the agenda timegrid.

git clone git://dustycloud.org/org-mode -b ampm

(Check out the "ampm" branch.)

Then:

#+BEGIN_SRC emacs-lisp
(setq org-agenda-timegrid-use-ampm t)
#+END_SRC

Then just reload the agenda and you're good!

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

* Re: [PATCH] AM/PM support on the agenda timegrid
  2010-11-05 19:01 [PATCH] AM/PM support on the agenda timegrid Christopher Allan Webber
@ 2010-11-06 16:45 ` Christopher Allan Webber
  2010-11-06 19:32   ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Allan Webber @ 2010-11-06 16:45 UTC (permalink / raw)
  To: emacs-orgmode

Based on off-list contact, apparently at least one other person is using
this, so FYI I pushed another commit which resolves an issue where there
was no space between the time and the event.  That's fixed now, things
look correct now like:

Saturday    6 November 2010
               8:00AM........ ----------------
  ccommons:    9:00AM-11:00AM Some weekend work                          :work::
              10:00AM........ ----------------
              12:00PM........ ----------------
               2:00PM........ ----------------
               4:00PM........ ----------------
               6:00PM........ ----------------
               8:00PM........ ----------------

If there's any adjustments I would need to make to get this merged into
master, let me know.

Christopher Allan Webber <cwebber@dustycloud.org> writes:

> Hello all,
>
> I get distracted parsing 24-hour-time into 12-hour AM/PM style time.  So
> I added support for AM/PM style time on the agenda timegrid.
>
> git clone git://dustycloud.org/org-mode -b ampm
>
> (Check out the "ampm" branch.)
>
> Then:
>
> #+BEGIN_SRC emacs-lisp
> (setq org-agenda-timegrid-use-ampm t)
> #+END_SRC
>
> Then just reload the agenda and you're good!
>
>
> _______________________________________________
> 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	[flat|nested] 5+ messages in thread

* Re: [PATCH] AM/PM support on the agenda timegrid
  2010-11-06 16:45 ` Christopher Allan Webber
@ 2010-11-06 19:32   ` Carsten Dominik
  2010-11-06 23:20     ` Christopher Allan Webber
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-11-06 19:32 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: emacs-orgmode

Hi Christopher,

can I convince you to use am and pm instead of AM and PM?  The  
capitals hurt my eyes :)

- Carsten

On Nov 6, 2010, at 12:45 PM, Christopher Allan Webber wrote:

> Based on off-list contact, apparently at least one other person is  
> using
> this, so FYI I pushed another commit which resolves an issue where  
> there
> was no space between the time and the event.  That's fixed now, things
> look correct now like:
>
> Saturday    6 November 2010
>               8:00AM........ ----------------
>  ccommons:    9:00AM-11:00AM Some weekend  
> work                          :work::
>              10:00AM........ ----------------
>              12:00PM........ ----------------
>               2:00PM........ ----------------
>               4:00PM........ ----------------
>               6:00PM........ ----------------
>               8:00PM........ ----------------
>
> If there's any adjustments I would need to make to get this merged  
> into
> master, let me know.
>
> Christopher Allan Webber <cwebber@dustycloud.org> writes:
>
>> Hello all,
>>
>> I get distracted parsing 24-hour-time into 12-hour AM/PM style  
>> time.  So
>> I added support for AM/PM style time on the agenda timegrid.
>>
>> git clone git://dustycloud.org/org-mode -b ampm
>>
>> (Check out the "ampm" branch.)
>>
>> Then:
>>
>> #+BEGIN_SRC emacs-lisp
>> (setq org-agenda-timegrid-use-ampm t)
>> #+END_SRC
>>
>> Then just reload the agenda and you're good!
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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	[flat|nested] 5+ messages in thread

* Re: [PATCH] AM/PM support on the agenda timegrid
  2010-11-06 19:32   ` Carsten Dominik
@ 2010-11-06 23:20     ` Christopher Allan Webber
  2010-11-12 23:01       ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Allan Webber @ 2010-11-06 23:20 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

And I'm indifferent, am/pm works for me :)

Pushed a patch.

Carsten Dominik <carsten.dominik@gmail.com> writes:

> Hi Christopher,
>
> can I convince you to use am and pm instead of AM and PM?  The
> capitals hurt my eyes :)
>
> - Carsten
>
> On Nov 6, 2010, at 12:45 PM, Christopher Allan Webber wrote:
>
>> Based on off-list contact, apparently at least one other person is
>> using
>> this, so FYI I pushed another commit which resolves an issue where
>> there
>> was no space between the time and the event.  That's fixed now, things
>> look correct now like:
>>
>> Saturday    6 November 2010
>>               8:00AM........ ----------------
>>  ccommons:    9:00AM-11:00AM Some weekend work
>> :work::
>>              10:00AM........ ----------------
>>              12:00PM........ ----------------
>>               2:00PM........ ----------------
>>               4:00PM........ ----------------
>>               6:00PM........ ----------------
>>               8:00PM........ ----------------
>>
>> If there's any adjustments I would need to make to get this merged
>> into
>> master, let me know.
>>
>> Christopher Allan Webber <cwebber@dustycloud.org> writes:
>>
>>> Hello all,
>>>
>>> I get distracted parsing 24-hour-time into 12-hour AM/PM style
>>> time.  So
>>> I added support for AM/PM style time on the agenda timegrid.
>>>
>>> git clone git://dustycloud.org/org-mode -b ampm
>>>
>>> (Check out the "ampm" branch.)
>>>
>>> Then:
>>>
>>> #+BEGIN_SRC emacs-lisp
>>> (setq org-agenda-timegrid-use-ampm t)
>>> #+END_SRC
>>>
>>> Then just reload the agenda and you're good!
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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	[flat|nested] 5+ messages in thread

* Re: [PATCH] AM/PM support on the agenda timegrid
  2010-11-06 23:20     ` Christopher Allan Webber
@ 2010-11-12 23:01       ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2010-11-12 23:01 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: emacs-orgmode


On Nov 6, 2010, at 6:20 PM, Christopher Allan Webber wrote:

> And I'm indifferent, am/pm works for me :)
>
> Pushed a patch.

I could not find that patch in the branch you earlier mentioned.
Anyway, I have installed your patch and made this last change myself.

For future patches, I will be needing a signed FSF copyright  
assignment, please.

Thanks!

- Carsten

>
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> Hi Christopher,
>>
>> can I convince you to use am and pm instead of AM and PM?  The
>> capitals hurt my eyes :)
>>
>> - Carsten
>>
>> On Nov 6, 2010, at 12:45 PM, Christopher Allan Webber wrote:
>>
>>> Based on off-list contact, apparently at least one other person is
>>> using
>>> this, so FYI I pushed another commit which resolves an issue where
>>> there
>>> was no space between the time and the event.  That's fixed now,  
>>> things
>>> look correct now like:
>>>
>>> Saturday    6 November 2010
>>>              8:00AM........ ----------------
>>> ccommons:    9:00AM-11:00AM Some weekend work
>>> :work::
>>>             10:00AM........ ----------------
>>>             12:00PM........ ----------------
>>>              2:00PM........ ----------------
>>>              4:00PM........ ----------------
>>>              6:00PM........ ----------------
>>>              8:00PM........ ----------------
>>>
>>> If there's any adjustments I would need to make to get this merged
>>> into
>>> master, let me know.
>>>
>>> Christopher Allan Webber <cwebber@dustycloud.org> writes:
>>>
>>>> Hello all,
>>>>
>>>> I get distracted parsing 24-hour-time into 12-hour AM/PM style
>>>> time.  So
>>>> I added support for AM/PM style time on the agenda timegrid.
>>>>
>>>> git clone git://dustycloud.org/org-mode -b ampm
>>>>
>>>> (Check out the "ampm" branch.)
>>>>
>>>> Then:
>>>>
>>>> #+BEGIN_SRC emacs-lisp
>>>> (setq org-agenda-timegrid-use-ampm t)
>>>> #+END_SRC
>>>>
>>>> Then just reload the agenda and you're good!
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>> _______________________________________________
>>> 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	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-12 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05 19:01 [PATCH] AM/PM support on the agenda timegrid Christopher Allan Webber
2010-11-06 16:45 ` Christopher Allan Webber
2010-11-06 19:32   ` Carsten Dominik
2010-11-06 23:20     ` Christopher Allan Webber
2010-11-12 23:01       ` Carsten Dominik

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