# labels # In the following lines change ~/bin/editlabel.pl to the path to your # edtilabel executable script. Also, change index to index,pager if # you want it to be callable from the pager. (I had trouble with the # standard Debian bindings, so I removed the pager menu) #Remember the current editor: set my_editor="$editor" # Define macros # y to append labels # YE to edit labels (enter an Append/Remove/Clean/List/Quit cycle) # YA to append labels (identical to y) # YR to remove labels # YS to show current labels # YC to clean (remove all) labels from a message # YL to list all known labels # to show only messages with a given label macro index y "set editor=\"~/bin/editlabel.pl append\"\n\ \ set editor=\"$my_editor\"\n" "Append label" macro index YE "set editor=\"~/bin/editlabel.pl menu\"\n\ \ set editor=\"$my_editor\"\n" "Edit labels" macro index YA "set editor=\"~/bin/editlabel.pl append\"\n\ \ set editor=\"$my_editor\"\n" "Append labels" macro index YR "set editor=\"~/bin/editlabel.pl remove\"\n\ \ set editor=\"$my_editor\"\n" "Remove labels" macro index YS "set editor=\"~/bin/editlabel.pl show\"\n\ \ set editor=\"$my_editor\"\n" "Show labels" macro index YC "set editor=\"~/bin/editlabel.pl clean\"\n\ \ set editor=\"$my_editor\"\n" "Clean labels" macro index YL "set editor=\"~/bin/editlabel.pl list\"\n\ \ set editor=\"$my_editor\"\n" "List labels" macro index \Cy "~y " "Limit view to label" #show labels in index set index_format="%4C %Z %{%b %d} %-15.15L %?M?(#%03M)&(%4l)? %?y?(%.20Y) ?%s" #display labels in messages unignore X-Label: