From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pohlack Subject: Re: Best way to implement Keywords feature Date: Mon, 09 Nov 2009 15:52:22 +0100 Message-ID: <4AF82CA6.8030102@os.inf.tu-dresden.de> References: <7bef1f890911051442h28d45647h4f128a241d4e0116@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7Vbc-00006y-E3 for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 09:52:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7VbX-0008PM-3Y for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 09:52:31 -0500 Received: from [199.232.76.173] (port=47452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VbW-0008P2-Ue for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 09:52:26 -0500 Received: from os.inf.tu-dresden.de ([141.76.48.99]:48536) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7VbW-0001PZ-Fj for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 09:52:26 -0500 In-Reply-To: <7bef1f890911051442h28d45647h4f128a241d4e0116@mail.gmail.com> 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: "Alan E. Davis" , org-mode Alan E. Davis wrote: > In some cases, a single headword entry can relate to a large number of > topics. I have tried dealing with longer tag lists: automatic > adjustment of tags column (on this list a little utility was posted: > org-adjust-tags-column-reset-tags. I THINK that a keyword list may > allow more freedom to cross-index, especially if it is easy to use. > > Can someone suggest a way to implement a keywording system, perhaps with > a custom agenda search? Or have others dealt with this issue in > innovative ways? > > I would appreciate any ideas. I still have the feeling that tags are the way to go. Searching etc. already works with tags. Their disadvantage seems to be that lines get cluttered if many tags are used. Maybe this can be solved with two approaches: * In agendas, one could have a filter for which tags to show / hide. This would be useful otherwise too, as it would allow to hide context tags in already defined agendas. org-agenda-hide-tags-regex For example, all my contexts start with "@", so I would set it to be "^@work$" to hide redundant information in my work agendas, or use "^@" to remove all context information from a specific agenda. * For plain view, could we have a soft newline between tags and content for an item (like in long-lines-mode)? Tags would be shown on a new line (with indentation etc.) but would be stored on the same line in files? For example, the file content ("\" added by me, should be one long line): *** TODO test1 :keyword1:keyword2:keyword3:keyword4:keyword5: \ keyword6:keyword7:keyword8:keyword9:keyword10:keyword11: Is shown like this in org-mode: *** TODO test1 :keyword1:keyword2:keyword3:keyword4:keyword5:keyword6:keyword7: keyword8:keyword9:keyword10:keyword11: Cheers, Martin Pohlack