emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joa Ljungvall <emacs@joa.me.uk>
To: emacs-orgmode@gnu.org
Subject: Highlighting in Calendar using mark-diary-entries
Date: Tue, 23 Feb 2016 12:14:10 +0100	[thread overview]
Message-ID: <20160223111410.GC9022@joa.me.uk> (raw)

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

Dear all,

I'm using emacs-org, among other things, to keep track of todos, meetings etc. 
For some time I've been trying to "perfect" a yearly calendar that I have on my 
desktop (see included screenshot). Every date either in my work.org or 
private.org file is marked using diary-mark-entries. However,as you can see, 
almost all days are marked making it somewhat useless. What I would like to do 
is to be able to change the face of a date based on wether it is in work.org or 
private.org. For example, change color if found in one and make if bold if found 
in the other. So if the date is in both files it will be bold with a different 
color.

I have not found any way to tell diary-mark-entries to do this and I have no 
idea how the machinery works that exports my org entries to diary-mark-entries. 
The yearly calendar is made using a modified version of what I found here

http://stackoverflow.com/questions/9547912/emacs-calendar-show-more-than-3-months

Does anyone have an idea? I'm willing to code a bit of elisp if needed but have 
no idea where to start. And quite often there is a solution but I've not yet 
found it...


best regards


Joa 

[-- Attachment #2: desktop.png --]
[-- Type: image/png, Size: 113473 bytes --]

                 reply	other threads:[~2016-02-23 11:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20160223111410.GC9022@joa.me.uk \
    --to=emacs@joa.me.uk \
    --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).