4 .TH MARK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 mark \- manipulate message sequences
16 .RB [ \-add " | " \-delete ]
18 .RB [ \-public " | " \-nopublic ]
19 .RB [ \-zero " | " \-nozero ]
26 command manipulates message sequences by adding or deleting
27 message numbers from folder\-specific message sequences, or by listing
28 those sequences and messages.
30 A message sequence is a keyword, just like one of the `reserved'
31 message names, such as `f' or `n' (see mh-sequence(7)). Unlike the
32 `reserved' message names, which have a fixed semantics on
33 a per\-folder basis, the semantics of a message sequence may be
34 defined, modified, and removed by the user. Message sequences are
35 folder\-specific, e.g., the sequence name `seen' in the context
38 need not have any relation whatsoever to the
39 sequence of the same name in a folder of a different name.
41 Three action switches direct the operation of
44 are mutually exclusive: the last occurrence of any of them overrides
45 any previous occurrence of the other two.
51 to add messages to sequences or to
52 create a new sequence. For each sequence named via the
55 argument (which must occur at least once) the messages named via
57 (which defaults to `c' if no
59 are given), are added to the
60 sequence. The messages to be added need not be absent from the sequence.
63 switch is specified, the sequence will be emptied prior
64 to adding the messages. Hence,
67 means that each sequence
68 should be initialized to the indicated messages, while
71 means that each sequence should be appended to by the indicated messages.
77 to delete messages from sequences, and is the dual of
79 For each of the named sequences, the
80 named messages are removed from the sequence. These messages need
81 not be already present in the sequence. If the
84 specified, then all messages in the folder are added to the sequence
85 (first creating the sequence, if necessary) before removing the messages.
89 means that each sequence should contain
90 all messages except those indicated, while
94 that only the indicated messages should be removed from each sequence.
95 As expected, the command
101 deletes the sequence `foo' from the current folder.
103 When creating or modifying sequences, you can specify the switches
107 to force the new or modified sequences to be
108 `public' or `private'. The switch
111 that the sequences should be made `public'. These sequences
112 will then be readable by all
114 users with permission to read the relevant folders. In contrast, the
116 switch indicates that the
117 sequences should be made `private', and will only be accessible by
118 you. If neither of these switches is specified, then existing sequences
119 will maintain their current status, and new sequences will default to
120 `public' if you have write permission for the relevant folder.
123 man page for more details about the difference
124 between `public' and `private' sequences.
130 to list both the sequences defined
131 for the folder and the messages associated with those sequences.
133 will list the name of each sequence given by
136 and the messages associated with that sequence. If the
137 sequence is private, this will also be indicated. If no sequence is
140 switch, then all sequences for this folder
143 switch does not affect the operation of
146 The current restrictions on sequences are:
149 The name used to denote a message sequence must consist of an alphabetic
150 character followed by zero or more alphanumeric characters, and cannot
151 be one of the (reserved) message names `c', `f',
152 `l', `a', `n', `p', or `b'.
155 Only a certain number of sequences may be defined for a given folder.
156 This number is usually limited to 29 (13 on small systems). (The
157 +internal implementation relies on bitmasks, with some bits set aside
161 Message ranges with user\-defined sequence names are restricted to the
162 form `name:n', `name:+n', or `name:-n', and refer
163 to the first or last `n' messages of the sequence `name', respectively.
164 Constructs of the form `name1\-name2' are forbidden for user
170 .ta \w'%etcdir%/ExtraBigFileName 'u
171 ^$HOME/.mmh/profile~^The user profile
174 .SH "PROFILE COMPONENTS"
178 .ta \w'ExtraBigProfileName 'u
179 ^Path:~^To determine the user's mail storage
180 ^Current\-Folder:~^To find the default current folder
184 flist(1), pick(1), mh-sequence(7)
188 .RB ` +folder "' defaults to the current folder"
189 .RB ` \-add "' if " \-sequence " is specified, " \-list " otherwise"
190 .RB ` msgs "' defaults to `c' (or `a' if " \-list " is specified)"
194 If a folder is given, it will become the current folder.
199 to find folders with a given sequence, and
203 to enumerate those messages in the sequence (such as for
204 use by a shell script).