X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fnmh.man;h=92cf8684cf146683e13e80ceb6a538f82769cbf2;hb=e69044f7624abe5cb2cb796d528c0cc5f29515f7;hp=e15f1cdf9da5a4ac636583cca52ca0d361f9abc3;hpb=e3ad41443cfbd096d5a8ca255a300b1542d2b339;p=mmh diff --git a/man/nmh.man b/man/nmh.man index e15f1cd..92cf868 100644 --- a/man/nmh.man +++ b/man/nmh.man @@ -1,4 +1,4 @@ -.TH NMH %manext7% "November 3, 2012" "%nmhversion%" +.TH NMH %manext7% "November 30, 2012" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -149,6 +149,7 @@ Commands which take a message number as an argument \*(lqprev\*(rq, \*(lqcur\*(rq, \*(lqnext\*(rq, or \*(lqlast\*(rq to indicate (respectively) the first, previous, current, next, or last message in the current folder (assuming they are defined). +As a shorthand, \*(lq\&.\*(rq is equivalent to \*(lqcur\*(rq. .PP Commands which take a range of message numbers .RB ( rmm , @@ -194,6 +195,52 @@ The first, previous, next or last messages, if they exist. .PD .PP +Commands that take a folder name +.RB ( inc , +.BR refile , +.BR scan, +\&...) accept the folder name in two formats: \*(lq+folder\*(rq or +\*(lq@folder\*(rq. In both cases, \*(lqfolder\*(rq can be a +\*(lq/\*(rq-separated path, e.g. \*(lqfoo/bar\*(rq. \*(lq+folder\*(rq +specifies a directory path to a folder. If \*(lqfolder\*(rq starts +with \*(lq/\*(rq then it's an absolute path from the root directory. +If it is \*(lq.\*(rq or \*(lq..\*(rq, or starts with \*(lq./\*(rq or +\*(lq../\*(rq, then it's relative to the current working directory. +Otherwise it's relative to mh-profile(5)'s +.RI \*(lq Path \*(rq, +i.e. as given by +.RB ` "mhpath +" `. +\*(lq@folder\*(rq is a shorthand for \*(lq+curfolder/folder\*(rq; it's +a relative path from the current folder. \*(lqcurfolder\*(rq is given +by +.RB ` mhpath `. +For example, assuming a +.B Path +profile component of Mail, +.TP \n(ttu +.PD 0 +.BI "scan " +inbox +scans $HOME/Mail/inbox +.TP +.BI "scan " +work/todo +scans $HOME/Mail/work/todo +.TP +.BI "scan " @todo +scans $HOME/Mail/work/todo, if current folder is +work +.TP +.BI "refile " @../done +refiles to $HOME/Mail/work/done, if the current folder is +work/todo +.TP +.BI "scan " +/tmp +scans /tmp +.TP +.BI "scan " +. +scans the current directory +.TP +.BI "refile " @. +refiles current message to end of current folder. +.PD +.PP There are many other possibilities such as creating multiple folders for different topics, and automatically refiling messages according to subject, source, destination, or content. These are beyond the scope