1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
<html lang="en">
<head>
<title>Options - The MH-E Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The MH-E Manual">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Using-This-Manual.html#Using-This-Manual" title="Using This Manual">
<link rel="prev" href="Using-This-Manual.html#Using-This-Manual" title="Using This Manual">
<link rel="next" href="Ranges.html#Ranges" title="Ranges">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This is version 8.0.3 of `The MH-E
Manual', last updated 2006-11-12.
Copyright (C) 1995, 2001, 2002, 2003, 2005, 2006 Free
Software Foundation, Inc.
The MH-E manual is free documentation; you can redistribute it
and/or modify it under the terms of either:
a. the GNU Free Documentation License, Version 1.2 or any later
version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts.
b. the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option)
any later version.
The MH-E manual is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License or GNU Free Documentation License for more
details.
The GNU General Public License and the GNU Free Documentation
License appear as appendices to this document. You may also
request copies by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<p>
<a name="Options"></a>
Next: <a rel="next" accesskey="n" href="Ranges.html#Ranges">Ranges</a>,
Previous: <a rel="previous" accesskey="p" href="Using-This-Manual.html#Using-This-Manual">Using This Manual</a>,
Up: <a rel="up" accesskey="u" href="Using-This-Manual.html#Using-This-Manual">Using This Manual</a>
<hr>
</div>
<h3 class="section">4.1 Options</h3>
<p><a name="index-Emacs_002c-customizing-217"></a><a name="index-Emacs_002c-setting-options-218"></a><a name="index-customizing-MH_002dE-219"></a><a name="index-setting-options-220"></a><a name="index-customize_002doption-221"></a><a name="index-mh_002dlpr_002dcommand_002dformat_002c-example-222"></a>
Many string or integer options are easy to modify using <kbd>M-x
customize-option</kbd>. For example, to modify the option that controls
printing, you would run <kbd>M-x customize-option <RET>
mh-lpr-command-format <RET></kbd>. In the buffer that appears, modify
the string to the right of the variable. For example, you may change
the <samp><span class="command">lpr</span></samp> command with `<samp><span class="samp">nenscript -G -r -2 -i'%s'</span></samp>'. Then
use the `<samp><span class="samp">State</span></samp>' combo box and select `<samp><span class="samp">Save for Future
Sessions</span></samp>'. To read more about <code>mh-lpr-command-format</code>, see
<a href="Printing.html#Printing">Printing</a>.
<p><a name="index-nil-223"></a><a name="index-off_002c-option-224"></a><a name="index-on_002c-option-225"></a><a name="index-option_002c-turning-on-and-off-226"></a><a name="index-t-227"></a><a name="index-customize_002doption-228"></a><a name="index-mh_002dbury_002dshow_002dbuffer_002dflag_002c-example-229"></a>
Options can also hold boolean values. In Emacs Lisp, the boolean
values are <code>nil</code>, which means false, and <code>t</code>, which means
true. The <code>customize-option</code> function makes it easy to change
boolean values; simply click on the toggle button in the customize
buffer to switch between `<samp><span class="samp">on</span></samp>' (<code>t</code>) and `<samp><span class="samp">off</span></samp>'
(<code>nil</code>). For example, try setting <code>mh-bury-show-buffer-flag</code>
to `<samp><span class="samp">off</span></samp>' to keep the MH-Show buffer at the top of the buffer
stack. Use the `<samp><span class="samp">State</span></samp>' combo box and choose `<samp><span class="samp">Set for Current
Session</span></samp>' to see how the option affects the show buffer. Then choose
the `<samp><span class="samp">Erase Customization</span></samp>' menu item to reset the option to the
default, which places the MH-Show buffer at the bottom of the buffer
stack.
<p><a name="index-mh_002dmhl_002dformat_002dfile_002c-example-230"></a>
The text usually says to turn on an option by setting it to a
<em>non-</em><code>nil</code> value, because sometimes values other than
`<samp><span class="samp">on</span></samp>' are meaningful. An example of this is the variable
<code>mh-mhl-format-file</code> (see <a href="Viewing.html#Viewing">Viewing</a>). Other options, such as
hooks, involve a little more Emacs Lisp programming expertise.
<p><a name="index-customization-group_002c-_0040samp_007bmh_007d-231"></a><a name="index-g_t_0040samp_007bmh_007d-customization-group-232"></a><a name="index-customize_002dgroup-233"></a><a name="index-mh_002dcustomize-234"></a>
You can browse all of the MH-E options with the <code>customize-group</code>
function. Try entering <kbd>M-x customize-group <RET> mh
<RET></kbd> to view the top-level options as well as buttons for all of
the MH-E customization groups. Another way to view the MH-E
customization group is to use <kbd>M-x mh-customize <RET></kbd>.
</body></html>
|