Next: , Previous: , Up: Special Modes   [Contents][Index]


6.2 View Mode

View mode provides for scrolling through a file read-only, terminating the buffer upon reaching the end.

Command: View File

This command reads a file into a new buffer as if by "Visit File", but read-only. Bindings exist for scrolling and backing up in a single key stroke.

Command: View Help (bound to View: ?)

This command shows a help message for View mode.

Command: View Edit File (bound to View: e)

This commands makes a buffer in View mode a normal editing buffer, warning if the file exists in another buffer simultaneously.

Command: View Scroll Down (bound to View: Space)
Hemlock Variable: View Scroll Deleting Buffer (initial value t)

This command scrolls the current window down through its buffer. If the end of the file is visible, then this deletes the buffer if View Scroll Deleting Buffer is set. If the buffer is associated with a Dired buffer, this returns there instead of to the previous buffer.

Command: View Return (bound to View: ^)
Command: View Quit (bound to View: q)

These commands invoke a function that returns to the buffer that created the current buffer in View mode. Sometimes this function does nothing, but it is useful for returning to Dired buffers and similar Hemlock features.

After invoking the viewing return function if there is one, View Quit deletes the buffer that is current when the user invokes it.

Also, bound in View mode are the following commands:

backspace, delete

Scrolls the window up.

<

Goes to the beginning of the buffer.

>

Goes to the end of the buffer.


Next: Process Mode, Previous: Dired Mode, Up: Special Modes   [Contents][Index]