From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Subject: [PATCH] Headlines Prefixed with a Period in org-scan-tags, Why? Date: Thu, 19 Mar 2009 11:29:06 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkM3i-0007fH-Om for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 13:29:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkM3c-0007Zt-M6 for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 13:29:33 -0400 Received: from [199.232.76.173] (port=55212 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkM3c-0007Zd-E5 for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 13:29:28 -0400 Received: from main.gmane.org ([80.91.229.2]:36342 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkM3b-0002TC-IT for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 13:29:28 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LkM3T-00048S-GI for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 17:29:19 +0000 Received: from c-67-177-235-141.hsd1.co.comcast.net ([67.177.235.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Mar 2009 17:29:19 +0000 Received: from mlists by c-67-177-235-141.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Mar 2009 17:29:19 +0000 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 I'm looking at this code in org-scan-tags (org.el): (concat (if org-tags-match-list-sublevels (make-string (1- level) ?.) "") (org-get-heading)) Which causes items in my agenda buffer to be prefixed with a series of periods. I've been looking around org.el, and org-agenda.el, and don't see any code that relies on those periods being there. If I remove that if expression, the agenda looks the way I'd expect, with no noticeable consequences. Is there any reason the patch below would break something in Org? diff --git a/lisp/org.el b/lisp/org.el index dabf306..b19e3d1 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9969,10 +9969,7 @@ only lines with a TODO keyword are included in the output." ((eq action 'agenda) (setq txt (org-format-agenda-item "" - (concat - (if org-tags-match-list-sublevels - (make-string (1- level) ?.) "") - (org-get-heading)) + (org-get-heading) category ;(org-get-tags-at) tags-list -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US