function call expressions. Each of these expressions will consist of a
function name followed by arguments, all surrounded by parentheses. For
example, to turn on the auto-fill-mode (i.e. break lines automatically
when they become too long) , put the following line in your
function call expressions. Each of these expressions will consist of a
function name followed by arguments, all surrounded by parentheses. For
example, to turn on the auto-fill-mode (i.e. break lines automatically
when they become too long) , put the following line in your
Similarly, to enable the "font-lock mode" which displays your program in
different fonts and colors(@pxref{Modes}), put the following in your
Similarly, to enable the "font-lock mode" which displays your program in
different fonts and colors(@pxref{Modes}), put the following in your
@end menu
@node Setting Variables, Init File, Other Customizations, Other Customizations
@end menu
@node Setting Variables, Init File, Other Customizations, Other Customizations
After you type any of the above commands, you will be prompted for a
variable name in the @dfn{echo area}. Type in the name of the variable,
After you type any of the above commands, you will be prompted for a
variable name in the @dfn{echo area}. Type in the name of the variable,
variable} , you will see that the new value of case-fold-search will be
"nil" and your searches will be case-sensitive. This will be effective
only for that Emacs session. If you want to change the value of a
variable} , you will see that the new value of case-fold-search will be
"nil" and your searches will be case-sensitive. This will be effective
only for that Emacs session. If you want to change the value of a
@cindex init file examples
For customizing Emacs, you need to put Lisp expressions in your
@cindex init file examples
For customizing Emacs, you need to put Lisp expressions in your
-@file{.emacs} file. The following are some useful Lisp expressions. If
-you find any of them useful, just type them in your @file{.emacs} file:
+@file{init.el} file. The following are some useful Lisp expressions. If
+you find any of them useful, just type them in your @file{init.el} file:
This mode will automatically break lines when you type a space so that
the lines don't become too long. The length of the lines is controlled
This mode will automatically break lines when you type a space so that
the lines don't become too long. The length of the lines is controlled
you wish. Look at the documentation for this variable to see its default
value. To change the value to 75 for example, use:
you wish. Look at the documentation for this variable to see its default
value. To change the value to 75 for example, use:
@noindent
If we use "setq" instead of "setq-default" then searches will be
case-sensitive only in the current buffer's local value. In this case the
@noindent
If we use "setq" instead of "setq-default" then searches will be
case-sensitive only in the current buffer's local value. In this case the
helpful and we want to have case-sensitive searches in all buffers, we
have to use "setq-default".
helpful and we want to have case-sensitive searches in all buffers, we
have to use "setq-default".
@item
If you don't want the text to be highlighted when you use commands for
marking regions so as to use the @dfn{kill} and @dfn{yank} commands
@item
If you don't want the text to be highlighted when you use commands for
marking regions so as to use the @dfn{kill} and @dfn{yank} commands
whatever value you wish. For example, if you want 20 buffers to be listed
when you select @b{Buffers} use:
whatever value you wish. For example, if you want 20 buffers to be listed
when you select @b{Buffers} use:
@xref{Init File,,,xemacs,XEmacs User's Manual}. You should also look at
@xref{Init File,,,xemacs,XEmacs User's Manual}. You should also look at
-@file{/usr/local/lib/xemacs-20.0/etc/sample.emacs}, which is a sample
-@file{.emacs} file. It contains some of the commonly desired
+@file{/usr/local/lib/xemacs-VERSION/etc/sample.init.el}, which is a sample
+@file{init.el} file. It contains some of the commonly desired