aboutsummaryrefslogtreecommitdiffstats
path: root/man/faq.texi
diff options
context:
space:
mode:
authorRomain Francoise <[email protected]>2006-02-08 21:58:41 +0000
committerRomain Francoise <[email protected]>2006-02-08 21:58:41 +0000
commit5f7b8867a3290c4116dbac15bdf2a9e3ddbd89a4 (patch)
treed6677c9212cc0ecfd1a3d5921cab7418c53718e0 /man/faq.texi
parent745cfc57058bf80726961f8e4775b290e308bf7c (diff)
(Top): Remove paragraph about the FAQ being a
transitional document, etc. (Searching for/replacing newlines): New node. (Yanking text in isearch): New node. (Inserting text at the beginning of each line): Rename and make more general, mention `M-;' in Message mode.
Diffstat (limited to 'man/faq.texi')
-rw-r--r--man/faq.texi53
1 files changed, 34 insertions, 19 deletions
diff --git a/man/faq.texi b/man/faq.texi
index 77955d9c1c..734212758d 100644
--- a/man/faq.texi
+++ b/man/faq.texi
@@ -59,12 +59,9 @@ distribution.]
This is the GNU Emacs FAQ, last updated on @today{}.
-The FAQ is maintained as a Texinfo document, allowing us to create HTML,
-Info, and TeX documents from a single source file, and is slowly but
-surely being improved. Please bear with us as we improve on this
-format. This FAQ is maintained as a part of GNU Emacs. If you find
-any errors, or have any suggestions, please use @kbd{M-x report-emacs-bug}
-to report them.
+This FAQ is maintained as a part of GNU Emacs. If you find any errors,
+or have any suggestions, please use @kbd{M-x report-emacs-bug} to report
+them.
@menu
* FAQ notation::
@@ -1177,6 +1174,8 @@ In addition, Emacs 22 now includes the Emacs Lisp Reference Manual
* Highlighting a region::
* Controlling case sensitivity::
* Wrapping words automatically::
+* Searching for/replacing newlines::
+* Yanking text in isearch::
* Spell-checkers::
* Checking TeX and *roff documents::
* Changing load-path::
@@ -1195,7 +1194,7 @@ In addition, Emacs 22 now includes the Emacs Lisp Reference Manual
* Valid X resources::
* Evaluating Emacs Lisp code::
* Changing the length of a Tab::
-* Inserting > at the beginning of each line::
+* Inserting text at the beginning of each line::
* Underlining paragraphs::
* Repeating a command as many times as possible::
* Forcing the cursor to remain in the same column::
@@ -1534,7 +1533,7 @@ including
in your @file{.emacs} file. (Also see @ref{Turning on syntax
highlighting}.)
-@node Controlling case sensitivity, Wrapping words automatically, Highlighting a region, Common requests
+@node Controlling case sensitivity, Searching for/replacing newlines, Highlighting a region, Common requests
@section How do I control Emacs's case-sensitivity when searching/replacing?
@cindex @code{case-fold-search}
@cindex Case sensitivity of searches
@@ -1566,7 +1565,23 @@ mode's hook. For example:
(setq case-fold-search nil)))
@end lisp
-@node Wrapping words automatically, Spell-checkers, Controlling case sensitivity, Common requests
+@node Searching for/replacing newlines, Yanking text in isearch, Controlling case sensitivity, Common requests
+@section How do I input a newline character in isearch or query-replace?
+@cindex Searching for newlines
+@cindex Replacing newlines
+
+Use @kbd{C-q C-j}. For more information, see @inforef{Special Isearch,
+Special Input for Incremental Search, emacs}.
+
+
+@node Yanking text in isearch, Wrapping words automatically, Searching for/replacing newlines, Common requests
+@section How do I copy text from the kill ring into the search string?
+@cindex Yanking text into the search string
+@cindex isearch yanking
+
+Use @kbd{M-y}. @inforef{Isearch Yank, Isearch Yanking, emacs}.
+
+@node Wrapping words automatically, Spell-checkers, Yanking text in isearch, Common requests
@section How do I make Emacs wrap words for me?
@cindex Wrapping word automatically
@cindex Wrapping lines
@@ -2102,7 +2117,7 @@ about them.
@end itemize
-@node Changing the length of a Tab, Inserting > at the beginning of each line, Evaluating Emacs Lisp code, Common requests
+@node Changing the length of a Tab, Inserting text at the beginning of each line, Evaluating Emacs Lisp code, Common requests
@section How do I change Emacs's idea of the @key{TAB} character's length?
@cindex Tab length
@cindex Length of tab character
@@ -2121,8 +2136,9 @@ Do not confuse variable @code{tab-width} with variable
@key{TAB} characters. The latter controls what characters are inserted
when you press the @key{TAB} character in certain modes.
-@node Inserting > at the beginning of each line, Underlining paragraphs, Changing the length of a Tab, Common requests
-@section How do I insert @samp{>} at the beginning of every line?
+@node Inserting text at the beginning of each line, Underlining paragraphs, Changing the length of a Tab, Common requests
+@section How do I insert <some text> at the beginning of every line?
+@cindex Prefixing a region with some text
@cindex Prefix character, inserting in mail/news replies
@cindex Replies to mail/news, inserting a prefix character
@cindex @code{mail-yank-prefix}
@@ -2130,7 +2146,7 @@ when you press the @key{TAB} character in certain modes.
@cindex News replies, inserting a prefix character
To do this to an entire buffer, type @kbd{M-< M-x replace-regexp
-@key{RET} ^ @key{RET} > @key{RET}}.
+@key{RET} ^ @key{RET} your text @key{RET}}.
To do this to a region, use @code{string-insert-rectangle}.
Set the mark (@kbd{C-@key{SPC}}) at the beginning of the first line you
@@ -2139,13 +2155,12 @@ want to prefix, move the cursor to last line to be prefixed, and type
buffer, type @kbd{C-x h M-x string-insert-rectangle @key{RET}}.
If you are trying to prefix a yanked mail message with @samp{>}, you
-might want to set the variable @code{mail-yank-prefix}. Better yet, use
-the Supercite package (@pxref{Supercite}), which provides flexible
-citation for yanked mail and news messages; it is included in Emacs
-since version 19.20. @xref{Changing the included text prefix}, for
-additional information.
+might want to set the variable @code{mail-yank-prefix}. In Message
+buffers, you can even use @kbd{M-;} to cite yanked messages (@kbd{M-;}
+runs the function @code{comment-region}, it is a general-purpose
+mechanism to comment regions).
-@node Underlining paragraphs, Repeating a command as many times as possible, Inserting > at the beginning of each line, Common requests
+@node Underlining paragraphs, Repeating a command as many times as possible, Inserting text at the beginning of each line, Common requests
@section How do I insert @samp{_^H} before each character in a region to get an underlined paragraph?
@cindex Underlining a region of text
@cindex @code{underline-region}