emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Better documentation for org-agenda-fontify-priorities
@ 2008-09-19  7:47 Rafael Laboissiere
  2008-09-19 14:10 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael Laboissiere @ 2008-09-19  7:47 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: [PATCH] Better documentation for org-agenda-fontify-priorities
  2008-09-19  7:47 [PATCH] Better documentation for org-agenda-fontify-priorities Rafael Laboissiere
@ 2008-09-19 14:10 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-09-19 14:10 UTC (permalink / raw)
  To: Rafael Laboissiere; +Cc: emacs-orgmode

I am taking this patch, thank you very much.

- Carsten

On Sep 19, 2008, at 9:47 AM, Rafael Laboissiere wrote:

> [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
> <org-agenda-fontify-priorities- 
> doc.patch>_______________________________________________
> 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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-19  7:47 [PATCH] Better documentation for org-agenda-fontify-priorities Rafael Laboissiere
2008-09-19 14:10 ` 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).