From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Code snippet for bolding or italicizing A/C priority strings Date: Thu, 11 Oct 2007 12:20:37 +0200 Message-ID: <11d73fc8ba30e06924c257b0bd479278@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ifv9l-0008Jd-Nm for emacs-orgmode@gnu.org; Thu, 11 Oct 2007 06:20:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ifv9j-0008Gx-0L for emacs-orgmode@gnu.org; Thu, 11 Oct 2007 06:20:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ifv9i-0008Gq-Ud for emacs-orgmode@gnu.org; Thu, 11 Oct 2007 06:20:38 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ifv9i-0008Uh-La for emacs-orgmode@gnu.org; Thu, 11 Oct 2007 06:20:38 -0400 In-Reply-To: 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: John Wiegley Cc: emacs-orgmode@gnu.org On Oct 10, 2007, at 10:37, John Wiegley wrote: > John Wiegley writes: > >> This code snippet will modify your agenda buffer upon creation so >> that the >> string [#A] is bolded, and [#C] is italicized. It keeps whatever >> color it >> had, it's just now strong or weak based on priority. > > Actually, I'm finding I like having the whole title bolded or > italicized, just > like Gnus does: I have generalized this code to work with modified customized priorities and to do the right thing when changing the priority from the agenda. Thi code will be in 5.12. You can turn it off with `org-agenda-fonfity-priorities', default will be on. Thanks, John! - Carsten