emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rafael Laboissiere <rafael@debian.org>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Better documentation for org-agenda-fontify-priorities
Date: Fri, 19 Sep 2008 09:47:49 +0200	[thread overview]
Message-ID: <20080919074749.GA8523@pc110.lyon.inserm.fr> (raw)

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

[I hope this is the appropriate mailing list for submitting patches]

First of all, thanks for your wonderful work in developing and maintaining
org-mode.

I recently tried to custom-set the value of the
org-agenda-fontify-priorities to get better visual cues from the agenda
view.  I was not able to figure out how to do it by looking from the
org-agenda-fontify-priorities's documentation string alone.

Attached below is a patch for agenda-mode.el (applies against Git master)
with a more detailed description of the assoc list keys.

Cheers,

-- 
Rafael

[-- Attachment #2: org-agenda-fontify-priorities-doc.patch --]
[-- Type: text/x-diff, Size: 825 bytes --]

--- org-agenda.el-orig	2008-09-19 07:15:06.000000000 +0200
+++ org-agenda.el	2008-09-19 07:28:47.000000000 +0200
@@ -941,8 +941,11 @@
 (defcustom org-agenda-fontify-priorities t
   "Non-nil means, highlight low and high priorities in agenda.
 When t, the highest priority entries are bold, lowest priority italic.
-This may also be an association list of priority faces.  The face may be
-a names face, or a list like `(:background \"Red\")'."
+This may also be an association list of priority faces, whose
+keys are the character values of `org-highest-priority',
+`org-default-priority', and `org-lowest-priority' (the default values
+are ?A, ?B, and ?C, respectively). The face may be a names face,
+or a list like `(:background \"Red\")'."
   :group 'org-agenda-line-format
   :type '(choice
 	  (const :tag "Never" nil)

[-- Attachment #3: 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

             reply	other threads:[~2008-09-19  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19  7:47 Rafael Laboissiere [this message]
2008-09-19 14:10 ` [PATCH] Better documentation for org-agenda-fontify-priorities Carsten Dominik

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=20080919074749.GA8523@pc110.lyon.inserm.fr \
    --to=rafael@debian.org \
    --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).