[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
VM can display a toolbar that allows you to run VM commands with a single mouse click. By default the toolbar is displayed on the left of the Emacs frame and is only visible if you're running under a window system like X Windows or Microsoft Windows.
To make VM not display the toolbar, set vm-use-toolbar
to nil.
To configure what buttons are displayed on the toolbar, you must
change the value of vm-use-toolbar
. If non-nil
, the value of
vm-use-toolbar
should be a list of symbols and integers, which
specify which buttons appear on the toolbar and the layout of the
buttons. These are the allowed symbols along with the buttons
they represent.
autofile
vm-toolbar-autofile-message
. This command will save the current
message into the folder matched by vm-auto-folder-alist
, if there
is a match.
compose
vm-toolbar-compose-command
. This command is normally just an
alias for the vm-mail
command. If you want the Compose button to
do something else, redefine vm-toolbar-compose-command
using
either fset
or defun
.
delete/undelete
file
vm-toolbar-file-command
. This command is normally just an
alias for the vm-mail
command. If you want the File button to
do something else, redefine vm-toolbar-file-command
using
either fset
or defun
.
getmail
vm-toolbar-getmail-command
. This command is normally just an
alias for the vm-get-new-mail
command. If you want the
Get Mail button to
do something else, redefine vm-toolbar-getmail-command
using
either fset
or defun
.
help
vm-toolbar-helper-command
. This command normally just runs
vm-help
, but it also does context specific things under certain
conditions. If the current message is a MIME message that needs
decoding, the Helper button becomes the Decode MIME button. If the
current folder has an autosave file that appears to be the result
of an Emacs or system crash, the Helper button becomes the Recover
button. Clicking on the Recover button runs recover-file
,
so you can recover your folder from an existing autosave file.
mime
vm-toolbar-mime-command
. This command is normally just an
alias for the vm-decode-mime-message
command.
next
vm-toolbar-next-command
. This command is normally just an
alias for the vm-next-message
command. If you want the Next button to
do something else, redefine vm-toolbar-next-command
using
either fset
or defun
.
previous
vm-toolbar-previous-command
. This command is normally just an
alias for the vm-previous-message
command. If you want the Previous button to
do something else, redefine vm-toolbar-previous-command
using
either fset
or defun
.
print
vm-toolbar-print-command
. This command is normally just an
alias for the vm-print-message
command. If you want the
Print button to
do something else, redefine vm-toolbar-print-command
using
either fset
or defun
.
quit
vm-toolbar-quit-command
. This command is normally just an
alias for the vm-quit
command. If you want the Quit button to
do something else, redefine vm-toolbar-quit-command
using
either fset
or defun
.
reply
vm-toolbar-reply-command
. This command is normally just an
alias for the vm-reply-include-text
command. If you want
the Reply button to
do something else, redefine vm-toolbar-reply-command
using
either fset
or defun
.
visit
vm-toolbar-visit-command
. This command is normally just an
alias for the vm-visit-folder
command. If you want the Visit button to
do something else, redefine vm-toolbar-visit-command
using
either fset
or defun
.
nil
If an positive integer appears in the the vm-use-toolbar
list, it
specifies the number of pixels of blank space to display between
the button that comes before and the button that comes after the
integer.
The variable vm-toolbar-orientation
controls on which side of the
frame the toolbar is displayed. E.g.
(setq vm-toolbar-orientation 'top) |
causes the toolbar to be displayed at the top of the frame. The
top
in the example can be replaced with bottom
,
right
and left
to make the toolbar appear in those
places instead.
VM finds the images for the toolbar in the directory specified by
vm-toolbar-pixmap-directory
. This variable should already be set
properly by whoever installed VM on your system, so you should
not need to set it.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |