From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Laboissiere Subject: [PATCH] Better documentation for org-agenda-fontify-priorities Date: Fri, 19 Sep 2008 09:47:49 +0200 Message-ID: <20080919074749.GA8523@pc110.lyon.inserm.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="XsQoSWH+UP9D9v3l" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgahD-0001aE-Kl for emacs-orgmode@gnu.org; Fri, 19 Sep 2008 03:46:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgahB-0001Z1-He for emacs-orgmode@gnu.org; Fri, 19 Sep 2008 03:46:31 -0400 Received: from [199.232.76.173] (port=46934 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgahB-0001Yp-CG for emacs-orgmode@gnu.org; Fri, 19 Sep 2008 03:46:29 -0400 Received: from mx20.gnu.org ([199.232.41.8]:27965) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgahA-0003Jq-SO for emacs-orgmode@gnu.org; Fri, 19 Sep 2008 03:46:28 -0400 Received: from dns.lyon.inserm.fr ([194.57.163.154]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kgah8-0005hP-Sw for emacs-orgmode@gnu.org; Fri, 19 Sep 2008 03:46:27 -0400 Received: from dns.lyon.inserm.fr (localhost.localdomain [127.0.0.1]) by localhost (SrvInserm) with SMTP id 7218AE886DD for ; Fri, 19 Sep 2008 09:46:24 +0200 (CEST) Received: from pc110.lyon.inserm.fr (pc110.lyon.inserm.fr [194.57.165.199]) by dns.lyon.inserm.fr (SrvInserm) with ESMTP id 465BBE8847C for ; Fri, 19 Sep 2008 09:46:24 +0200 (CEST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [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 --XsQoSWH+UP9D9v3l Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="org-agenda-fontify-priorities-doc.patch" --- 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) --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --XsQoSWH+UP9D9v3l--