From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Fast tag selection: defining multiple-key shortcutst Date: Wed, 29 Apr 2009 02:04:16 +0100 Message-ID: References: <57AC2FA1761300418C7AB8F3EA493C9702E31992@HQ-EXCH-5.corp.brocade.com> 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 1LyyE5-00017I-Nw for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 21:04:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyyE1-00016u-As for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 21:04:41 -0400 Received: from [199.232.76.173] (port=36979 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyyE1-00016r-4E for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 21:04:37 -0400 Received: from main.gmane.org ([80.91.229.2]:46932 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 1LyyE0-00054s-J4 for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 21:04:36 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LyyDv-0000iP-Rj for emacs-orgmode@gnu.org; Wed, 29 Apr 2009 01:04:31 +0000 Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Apr 2009 01:04:31 +0000 Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Apr 2009 01:04:31 +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 On 2009-04-29 01:37 +0100, Varnit Suri wrote: > Hi all, > > I am just wondering if there 's a way to define two characters (rather > than one) for the fast tag selection. > > Here's what I did: > > (setq org-tag-alist '(("HOME" . ?h) > ("FAMILY" . "fa") > ("MONEY" . "mo") > ("BILLS" . "bi"))) > > So HOME can be inserted using an 'h', but FAMILY using 'fa'. I 'm trying > to do this coz I have way too many tags that start with the same letter, > so multiple characters are more intuitive. > > Any ideas? The current implementation of tag selection works well with a small number of tags. I have 6 tags myself. How many tags do you use? Remember you don't need to use the characters in the tag string. For example you can assign 0-9 for the most used ones. Another solution is to reimplement this using ido i.e. it requires users to type the whole string but uses ido to narrow down the selection quickly. > Thanks, > > Varnit -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.