<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU Texinfo (version 6.7, 23 September 2019),
a documentation system that can produce both online information and a
printed manual from a single source using semantic markup.
Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2001, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Free Software
Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled
"GNU Free Documentation License". -->
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Emacs Editing (GNU Texinfo 6.7)</title>
<meta name="description" content="Emacs Editing (GNU Texinfo 6.7)">
<meta name="keywords" content="Emacs Editing (GNU Texinfo 6.7)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2any">
<link href="index.html" rel="start" title="Top">
<link href="Command-and-Variable-Index.html" rel="index" title="Command and Variable Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Texinfo-Mode.html" rel="up" title="Texinfo Mode">
<link href="Inserting.html" rel="next" title="Inserting">
<link href="Texinfo-Mode-Overview.html" rel="prev" title="Texinfo Mode Overview">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<span id="Emacs-Editing"></span><div class="header">
<p>
Next: <a href="Inserting.html" accesskey="n" rel="next">Inserting</a>, Previous: <a href="Texinfo-Mode-Overview.html" accesskey="p" rel="prev">Texinfo Mode Overview</a>, Up: <a href="Texinfo-Mode.html" accesskey="u" rel="up">Texinfo Mode</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<span id="The-Usual-GNU-Emacs-Editing-Commands"></span><h3 class="section">D.2 The Usual GNU Emacs Editing Commands</h3>
<p>In most cases, the usual Text mode commands work the same in Texinfo
mode as they do in Text mode. Texinfo mode adds new editing commands
and tools to GNU Emacs’ general purpose editing features. The major
difference concerns filling. In Texinfo mode, the paragraph
separation variable and syntax table are redefined so that Texinfo
commands that should be on lines of their own are not inadvertently
included in paragraphs. Thus, the <kbd>M-q</kbd> (<code>fill-paragraph</code>)
command will refill a paragraph but not mix an indexing command on a
line adjacent to it into the paragraph.
</p>
<p>In addition, Texinfo mode sets the <code>page-delimiter</code> variable to
the value of <code>texinfo-chapter-level-regexp</code>; by default, this is
a regular expression matching the commands for chapters and their
equivalents, such as appendices. With this value for the page
delimiter, you can jump from chapter title to chapter title with the
<kbd>C-x ]</kbd> (<code>forward-page</code>) and <kbd>C-x [</kbd>
(<code>backward-page</code>) commands and narrow to a chapter with the
<kbd>C-x n p</kbd> (<code>narrow-to-page</code>) command. (See <a href="../emacs/Pages.html#Pages">Pages</a> in <cite>The GNU Emacs Manual</cite>, for details about the page commands.)
</p>
<p>You may name a Texinfo file however you wish, but the convention is to
end a Texinfo file name with one of the extensions
<samp>.texinfo</samp>, <samp>.texi</samp>, <samp>.txi</samp>, or <samp>.tex</samp>. A longer
extension is preferred, since it is explicit, but a shorter extension
may be necessary for operating systems that limit the length of file
names. GNU Emacs automatically enters Texinfo mode when you visit a
file with a <samp>.texinfo</samp>, <samp>.texi</samp> or <samp>.txi</samp>
extension. Also, Emacs switches to Texinfo mode
when you visit a
file that has ‘<samp>-*-texinfo-*-</samp>’ in its first line. If ever you are
in another mode and wish to switch to Texinfo mode, type <code>M-x
texinfo-mode</code>.
</p>
<p>Like all other Emacs features, you can customize or enhance Texinfo
mode as you wish. In particular, the keybindings are very easy to
change. The keybindings described here are the default or standard
ones.
</p>
<hr>
<div class="header">
<p>
Next: <a href="Inserting.html" accesskey="n" rel="next">Inserting</a>, Previous: <a href="Texinfo-Mode-Overview.html" accesskey="p" rel="prev">Texinfo Mode Overview</a>, Up: <a href="Texinfo-Mode.html" accesskey="u" rel="up">Texinfo Mode</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>