From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sun, 03 Jun 2007 15:15:57 -0700 Subject: [sup-talk] new in svn: source labels (IMPORTANT) Message-ID: <1180908278-sup-4457@south> I've just committed a changeset that allows arbitrary labels to be attached to sources, and sets ALL labels for new messages to be the labels from the source. The previous behavior of automagically applying labels to messages based on, e.g., the filename of an mbox source, is no longer the case. What this means for you: if you want any labels to be automatically applied to messages, you need to edit sources.yaml and manually add a "labels" entry to the corresponding source. YAML allows you to specify these in one line by enclosing them in []'s, or to split them out line by line. Examples: labels: [label] or labels: [label1, label2] or labels: - label or labels: - label - label2 Here's a complete example: - !masanjin.net,2006-10-01/Redwood/MBox/Loader uri: mbox:///home/w/Mail/ruby-talk cur_offset: 159154117 usual: true archived: true id: 36 labels: [ruby-talk] If you don't specify a labels: line for a source, it will be assigned the empty set. Sup-add has a new argument for this, and sup-config will ask you for a list of labels, so this only affects existing source.yaml files. -- William