emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Fast tag selection: defining multiple-key shortcutst
Date: Wed, 29 Apr 2009 02:04:16 +0100	[thread overview]
Message-ID: <m0vdoocltb.fsf@cam.ac.uk> (raw)
In-Reply-To: 57AC2FA1761300418C7AB8F3EA493C9702E31992@HQ-EXCH-5.corp.brocade.com

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 :.

      reply	other threads:[~2009-04-29  1:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29  0:37 Fast tag selection: defining multiple-key shortcutst Varnit Suri
2009-04-29  1:04 ` Leo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0vdoocltb.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).