emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "George Pearson" <george@canals.com>
To: emacs-orgmode@gnu.org
Subject: Re: date rows in weekly agenda column mode
Date: Thu, 13 Nov 2008 22:55:43 -0500	[thread overview]
Message-ID: <491CB06F.20338.31D12F6@george.canals.com> (raw)
In-Reply-To: <D14B374D-7440-4258-A2DA-735C7D38BCAD@uva.nl>

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

  parent reply	other threads:[~2008-11-14  3:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-11-17 16:50     ` Carsten Dominik
2008-11-17 19:22       ` George Pearson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=491CB06F.20338.31D12F6@george.canals.com \
    --to=george@canals.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).