Next: , Previous: , Up: The Mail Interface   [Contents][Index]


10.11 Convenience Commands for Message and Draft Buffers

This section describes how to switch from a Message or Draft buffer to its associated Headers buffer, or from a Draft buffer to its associated Message buffer. There are also commands for various styles of inserting text from a Message buffer into a Draft buffer.

Command: Goto Headers Buffer (bound to ^ in Message mode and H-^ in Draft mode)

This command, when invoked in a Message or Draft buffer with an associated Headers buffer, places the associated Headers buffer in the current window.

The cursor is moved to the headers line of the associated message.

Command: Goto Message Buffer stuff (bound to H-m in Draft mode)

This command, when invoked in a Draft buffer with an associated Message buffer, places the associated Message buffer in the current window.

Command: Insert Message Region stuff (bound to H-y in appropriate modes)
Hemlock Variable: Message Insertion Prefix (initial value " ")
Hemlock Variable: Message Insertion Column (initial value 75)

This command, when invoked in a Message or News-Message (where it is bound) buffer that has an associated Draft or Post buffer, copies the current active region into the Draft or Post buffer. It is filled using Message Insertion Prefix (which defaults to three spaces) and Message Insertion Column. If an argument is supplied, the filling is inhibited.

Command: Insert Message Buffer stuff (bound to H-y in appropriate modes)
Hemlock Variable: Message Buffer Insertion Prefix (initial value " ")

This command, when invoked in a Draft or Post (where it is bound) buffer with an associated Message or News-Message buffer, or when in a Message (or News-Message) buffer that has an associated Draft buffer, inserts the Message buffer into the Draft (or Post) buffer. Each inserted line is modified by prefixing it with Message Buffer Insertion Prefix (which defaults to four spaces) . If an argument is supplied, the prefixing is inhibited.

Command: Edit Message Buffer stuff (bound to e in Message mode)

This command puts the current Message buffer in Text mode and makes it writable (Message buffers are normally read-only). The pathname of the file which the message is in is associated with the buffer making saving possible. A recursive edit is entered, and the user is allowed to make changes to the message. When the recursive edit is exited, if the buffer is modified, the user is asked if the changes should be saved. The buffer is marked unmodified, and the pathname is disassociated from the buffer. The buffer otherwise returns to its previous state as a Message buffer. If the recursive edit is aborted, the user is not asked to save the file, and the buffer remains changed though it is marked unmodified.


Next: Deleting Messages, Previous: Sending Messages, Up: The Mail Interface   [Contents][Index]