emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* date rows in weekly agenda column mode
@ 2008-10-16 21:59 George Pearson
  2008-10-17 13:47 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: George Pearson @ 2008-10-16 21:59 UTC (permalink / raw)
  To: emacs-orgmode

In column view for the weekly agenda, the rows containing the dates for
the upcoming week (e.g. "Friday  17 October 2008") have the same light
grey background as the rows containing the TODO items.  Is there a way
to set a different background (like, say, white) for these date rows?
This would make the date separations more obvious in this display.

I have been poking around in org-faces.el but could not figure out
if anything controlled this background in particular.

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

* Re: date rows in weekly agenda column mode
  2008-10-16 21:59 date rows in weekly agenda column mode George Pearson
@ 2008-10-17 13:47 ` Carsten Dominik
  2008-10-17 14:19   ` George Pearson
  2008-11-14  3:55   ` George Pearson
  0 siblings, 2 replies; 6+ messages in thread
From: Carsten Dominik @ 2008-10-17 13:47 UTC (permalink / raw)
  To: George Pearson; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1163 bytes --]

Hi George,

in my Emacs, these lines have a white background and are therefore  
easily distinguished.  These lines use org-agenda-date and org-agenda- 
date-weekend as their faces, respectively.

Ah, I guess you mean when you are computing summaries in the agenda  
column view?
No, I don't think there is a way to change that.  Maybe there should  
be, I am putting it on my list.

- Carsten

On Oct 16, 2008, at 11:59 PM, George Pearson wrote:

> In column view for the weekly agenda, the rows containing the dates  
> for
> the upcoming week (e.g. "Friday  17 October 2008") have the same light
> grey background as the rows containing the TODO items.  Is there a way
> to set a different background (like, say, white) for these date rows?
> This would make the date separations more obvious in this display.
>
> I have been poking around in org-faces.el but could not figure out
> if anything controlled this background in particular.
>
>
>
>
> _______________________________________________
> 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: 2090 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] 6+ messages in thread

* Re: date rows in weekly agenda column mode
  2008-10-17 13:47 ` Carsten Dominik
@ 2008-10-17 14:19   ` George Pearson
  2008-11-14  3:55   ` George Pearson
  1 sibling, 0 replies; 6+ messages in thread
From: George Pearson @ 2008-10-17 14:19 UTC (permalink / raw)
  To: emacs-orgmode

On 17 Oct 2008 at 15:47, Carsten Dominik wrote:

> in my Emacs, these lines have a white background and are therefore  
> easily distinguished.

Interesting.  The only date line I've seen with a white background
in the column view of a weekly agenda was a Saturday with NO tasks
yet assigned.

In the ordinary (NON-column) weekly agenda, the date rows all have
a white background, but then so do all the other rows.

>  These lines use org-agenda-date and org-agenda-
> date-weekend as their faces, respectively.

Are you saying that these work in an agenda AND in a column view of
an agenda?

I had seen these in org-faces.el, but thought them unrelated, as the
foreground colors appeared to be all blue, and I don't see blue text
for the dates.  But then I don't know elisp, so I perhaps did not
understand the face definitions.

> Ah, I guess you mean when you are computing summaries in the agenda  
> column view?

Yes, the Effort total does appear on the row of interest (with the date).

> No, I don't think there is a way to change that.  Maybe there should  
> be, I am putting it on my list.

Great!

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

* Re: date rows in weekly agenda column mode
  2008-10-17 13:47 ` Carsten Dominik
  2008-10-17 14:19   ` George Pearson
@ 2008-11-14  3:55   ` George Pearson
  2008-11-17 16:50     ` Carsten Dominik
  1 sibling, 1 reply; 6+ messages in thread
From: George Pearson @ 2008-11-14  3:55 UTC (permalink / raw)
  To: emacs-orgmode

Tried to get the white background on these rows by changing the code
myself.  Managed to get the white background, BUT the effort total
has vanished from the row, and so I could use some advice.

Here's what I did:  in the function org-agenda-colview-summarize,
found in org-colview.el, I replaced these two lines:

			 (put-text-property
			 0 (length lsum) 'face 'bold lsum)

with these two:

			 (add-text-properties
			  0 (length lsum) 'face '(:background white) lsum)

Where did I go wrong?

On 17 Oct 2008 at 15:47, Carsten Dominik wrote:

> Hi George,
> 
> in my Emacs, these lines have a white background and are therefore  
> easily distinguished.  These lines use org-agenda-date and org-agenda- 
> date-weekend as their faces, respectively.
> 
> Ah, I guess you mean when you are computing summaries in the agenda  
> column view?
> No, I don't think there is a way to change that.  Maybe there should  
> be, I am putting it on my list.
> 
> - Carsten
> 
> On Oct 16, 2008, at 11:59 PM, George Pearson wrote:
> 
> > In column view for the weekly agenda, the rows containing the dates  
> > for
> > the upcoming week (e.g. "Friday  17 October 2008") have the same light
> > grey background as the rows containing the TODO items.  Is there a way
> > to set a different background (like, say, white) for these date rows?
> > This would make the date separations more obvious in this display.
> >
> > I have been poking around in org-faces.el but could not figure out
> > if anything controlled this background in particular.
> >
> >
> >
> >
> > _______________________________________________
> > 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] 6+ messages in thread

* Re: date rows in weekly agenda column mode
  2008-11-14  3:55   ` George Pearson
@ 2008-11-17 16:50     ` Carsten Dominik
  2008-11-17 19:22       ` George Pearson
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2008-11-17 16:50 UTC (permalink / raw)
  To: George Pearson; +Cc: emacs-orgmode

Hi George,

you can now customize the face `org-agenda-column-dateline' to your  
liking.

HTH.

- Carsten

On Nov 14, 2008, at 4:55 AM, George Pearson wrote:

> Tried to get the white background on these rows by changing the code
> myself.  Managed to get the white background, BUT the effort total
> has vanished from the row, and so I could use some advice.
>
> Here's what I did:  in the function org-agenda-colview-summarize,
> found in org-colview.el, I replaced these two lines:
>
> 			 (put-text-property
> 			 0 (length lsum) 'face 'bold lsum)
>
> with these two:
>
> 			 (add-text-properties
> 			  0 (length lsum) 'face '(:background white) lsum)
>
> Where did I go wrong?
>
> On 17 Oct 2008 at 15:47, Carsten Dominik wrote:
>
>> Hi George,
>>
>> in my Emacs, these lines have a white background and are therefore
>> easily distinguished.  These lines use org-agenda-date and org- 
>> agenda-
>> date-weekend as their faces, respectively.
>>
>> Ah, I guess you mean when you are computing summaries in the agenda
>> column view?
>> No, I don't think there is a way to change that.  Maybe there should
>> be, I am putting it on my list.
>>
>> - Carsten
>>
>> On Oct 16, 2008, at 11:59 PM, George Pearson wrote:
>>
>>> In column view for the weekly agenda, the rows containing the dates
>>> for
>>> the upcoming week (e.g. "Friday  17 October 2008") have the same  
>>> light
>>> grey background as the rows containing the TODO items.  Is there a  
>>> way
>>> to set a different background (like, say, white) for these date  
>>> rows?
>>> This would make the date separations more obvious in this display.
>>>
>>> I have been poking around in org-faces.el but could not figure out
>>> if anything controlled this background in particular.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
>
>
>
> _______________________________________________
> 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] 6+ messages in thread

* Re: date rows in weekly agenda column mode
  2008-11-17 16:50     ` Carsten Dominik
@ 2008-11-17 19:22       ` George Pearson
  0 siblings, 0 replies; 6+ messages in thread
From: George Pearson @ 2008-11-17 19:22 UTC (permalink / raw)
  To: emacs-orgmode

Thanks, Carsten - works great!

Now it's MUCH easier to see what I'm doing when moving tasks around in
weekly agenga column view.

On 17 Nov 2008 at 17:50, Carsten Dominik wrote:

> Hi George,
> 
> you can now customize the face `org-agenda-column-dateline' to your  
> liking.
> 
> HTH.
> 
> - Carsten
> 
> On Nov 14, 2008, at 4:55 AM, George Pearson wrote:
> 
> > Tried to get the white background on these rows by changing the code
> > myself.  Managed to get the white background, BUT the effort total
> > has vanished from the row, and so I could use some advice.
> >
> > Here's what I did:  in the function org-agenda-colview-summarize,
> > found in org-colview.el, I replaced these two lines:
> >
> > 			 (put-text-property
> > 			 0 (length lsum) 'face 'bold lsum)
> >
> > with these two:
> >
> > 			 (add-text-properties
> > 			  0 (length lsum) 'face '(:background white) lsum)
> >
> > Where did I go wrong?
> >
> > On 17 Oct 2008 at 15:47, Carsten Dominik wrote:
> >
> >> Hi George,
> >>
> >> in my Emacs, these lines have a white background and are therefore
> >> easily distinguished.  These lines use org-agenda-date and org- 
> >> agenda-
> >> date-weekend as their faces, respectively.
> >>
> >> Ah, I guess you mean when you are computing summaries in the agenda
> >> column view?
> >> No, I don't think there is a way to change that.  Maybe there should
> >> be, I am putting it on my list.
> >>
> >> - Carsten
> >>
> >> On Oct 16, 2008, at 11:59 PM, George Pearson wrote:
> >>
> >>> In column view for the weekly agenda, the rows containing the dates
> >>> for
> >>> the upcoming week (e.g. "Friday  17 October 2008") have the same  
> >>> light
> >>> grey background as the rows containing the TODO items.  Is there a  
> >>> way
> >>> to set a different background (like, say, white) for these date  
> >>> rows?
> >>> This would make the date separations more obvious in this display.
> >>>
> >>> I have been poking around in org-faces.el but could not figure out
> >>> if anything controlled this background in particular.
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> >>
> >
> >
> >
> >
> > _______________________________________________
> > 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] 6+ messages in thread

end of thread, other threads:[~2008-11-17 19:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-16 21:59 date rows in weekly agenda column mode George Pearson
2008-10-17 13:47 ` Carsten Dominik
2008-10-17 14:19   ` George Pearson
2008-11-14  3:55   ` George Pearson
2008-11-17 16:50     ` Carsten Dominik
2008-11-17 19:22       ` George Pearson

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