emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Fast tag selection: defining multiple-key shortcutst
@ 2009-04-29  0:37 Varnit Suri
  2009-04-29  1:04 ` Leo
  0 siblings, 1 reply; 2+ messages in thread
From: Varnit Suri @ 2009-04-29  0:37 UTC (permalink / raw)
  To: emacs-orgmode

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?


Thanks,

Varnit
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fast tag selection: defining multiple-key shortcutst
  2009-04-29  0:37 Fast tag selection: defining multiple-key shortcutst Varnit Suri
@ 2009-04-29  1:04 ` Leo
  0 siblings, 0 replies; 2+ messages in thread
From: Leo @ 2009-04-29  1:04 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-29  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-29  0:37 Fast tag selection: defining multiple-key shortcutst Varnit Suri
2009-04-29  1:04 ` Leo

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