Lines Matching +refs:switch +refs:to +refs:minibuffer

20 necessarily specific to a type of file or buffer.  For example, Auto
62 (@pxref{Sending Mail}), and Shell mode for buffers used to communicate
68 Take the name of the mode and add @code{-mode} to get the name of the
69 command to select that mode (e.g., @kbd{M-x lisp-mode} enters Lisp
71 to ``turn off'' a major mode; instead you must switch to a different
79 The default value of @code{major-mode} determines the major mode to
84 Customization}), or by adding a line like this to your init file
95 Specialized major modes often change the meanings of certain keys to
97 language modes bind @key{TAB} to indent the current line according to
100 also define special commands of their own, usually bound to key
114 hook}, a customizable list of Lisp functions to run each time the mode
122 @code{prog-mode-hook}, prior to running their own mode hooks. Hook
123 functions can look at the value of the variable @code{major-mode} to
126 Mode hooks are commonly used to enable minor modes (@pxref{Minor
128 file to enable Flyspell minor mode in all text-based major modes
167 (either via @kbd{M-x}, or by binding it to a key and typing that key;
179 This makes it easy to turn on a minor mode from a major mode's mode
187 try to enable or disable the mode by changing the value of the mode
201 Auto Fill mode inserts newlines as you type to prevent lines from
205 Auto Save mode saves the buffer contents periodically to reduce the
210 example, it requotes text typed @kbd{`like this'} to text @t{‘like
233 Outline minor mode provides similar facilities to the major mode
241 Overwrite mode causes ordinary printing characters to replace existing
242 text instead of shoving it to the right. For example, if point is in
244 a @kbd{G} changes it to @samp{FOOGAR}, instead of producing
247 digit---this gives you a way to insert a character instead of
249 @code{overwrite-mode}, is bound to the @key{Insert} key.
260 Visual Line mode performs word wrapping, causing long lines to be
273 Delete Selection mode causes text insertion to first delete the text
278 you are in the minibuffer and completion is active. @xref{Icomplete}.
320 This special text can also be used to enable buffer-local minor modes.
327 all other criteria. There are several methods to specify a major mode
328 using a file-local variable; the simplest is to put the mode name in
337 tells Emacs to use Lisp mode. Note how the semicolon is used to make
345 You can also use file-local variables to specify buffer-local minor
354 Note, however, that it is usually inappropriate to enable minor modes
356 preferences. If you personally want to use a minor mode for a
357 particular file type, it is better to enable the minor mode via a
369 (the rest of the file is used as input to the interpreter).
370 Therefore, Emacs tries to use the interpreter name to choose a mode.
380 @samp{'\"} to specify a list of troff preprocessors.
383 Fourth, Emacs tries to determine the major mode by looking at the
431 needed in Lisp syntax to include a @samp{\} in the string, which must
432 be used to suppress the special meaning of @samp{.} in regexps.) If
443 @code{auto-mode-case-fold} to @code{nil}. On systems with
448 Finally, if Emacs @emph{still} hasn't found a major mode to use, it
449 compares the text at the start of the buffer to the variable
458 If you have changed the major mode of a buffer, you can return to
461 @code{find-file} calls to choose the major mode. It also processes
466 The commands @kbd{C-x C-w} and @code{set-visited-file-name} change to
470 mode, and certain special major modes do not allow the mode to
472 @code{change-major-mode-with-file-name} to @code{nil}.