← Back to team overview

vm team mailing list archive

Re: [Question #120793]: Can vm folders be like labels of gmail?

 

Question #120793 on VM changed:
https://answers.launchpad.net/vm/+question/120793

    Status: Open => Answered

Arik proposed the following answer:
The short answer: yes!
Longer: VM also has labels. These can be set using `vm-add-message-labels' which is tied to key sequence "l a" (lower L), and can be shown in the summary line using the format string "%L" in `vm-summary-format'. one way would be to have an inbox and an archive, similar to gmail, then setup your `vm-virtual-folder-alist' to contain the selections for these labels applied to "archive" AND "inbox" e.g.

(setq vm-virtual-folder-alist
      '(("usefulllabel"
       (("archive" "inbox")
        (label "usefulllabel")))))

and when you desire messages of a certain label do a "V V <label>
ENTER". In this way, you have the limited sample of new-ish messages
remaining in your inbox (a little bit different here since gmail's inbox
is simply a label), and a "folder" made of messages with "label"
including your inbox. Of course, multiple labels are supported in VM.

This may be a little rough when the archive gets very large, but
recently there was a change in the development version of VM giving
large folders a performance boost so perhaps it not a big issue.
Further, on the performance front, one can make separate archive folders
for subjects that do not intersect, e.g. the "cats" folder and "dogs"
folder where a tag of "German Shepherd" is also tagged with "Large dogs"
but has no cat related properties (aside from being animals).

I hope that answered your question satisfactorily.

Thanks,
~Arik

-- 
You received this question notification because you are a member of VM
development team, which is an answer contact for VM.