aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorKaroly Lorentey2005-04-18 13:40:23 +0000
committerKaroly Lorentey2005-04-18 13:40:23 +0000
commit6ab9dd8034fcd76f5d2e92a91243f8d8be3a8f98 (patch)
treea40a6371728d46bdfb26b7090612e0ca70e1c057 /lispref
parent91fd98fc1eff12aa5a46142efabababa7daf77bb (diff)
parentd4127a9a1111805640eaa06e9767a7a6f56351a5 (diff)
downloademacs-6ab9dd8034fcd76f5d2e92a91243f8d8be3a8f98.tar.gz
emacs-6ab9dd8034fcd76f5d2e92a91243f8d8be3a8f98.zip
Merged from miles@gnu.org--gnu-2005 (patch 60-65, 246-265)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-246 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-247 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-248 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-249 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-250 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-251 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-252 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-253 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-254 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-255 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-256 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-257 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-258 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-259 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-260 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-261 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-262 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-263 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-264 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-265 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-60 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-61 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-62 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-63 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-64 (mm-string-to-multibyte): Use Gnus trunk definition. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-65 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-328
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog8
-rw-r--r--lispref/buffers.texi8
-rw-r--r--lispref/positions.texi19
-rw-r--r--lispref/strings.texi9
4 files changed, 28 insertions, 16 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 2d3bd39ccca..39bcba57c42 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,11 @@
12005-04-17 Richard M. Stallman <rms@gnu.org>
2
3 * buffers.texi (Indirect Buffers): Clarify.
4
5 * positions.texi (Positions): Clarify converting marker to integer.
6
7 * strings.texi (String Basics): Mention string-match; clarify.
8
12005-04-08 Lute Kamstra <lute@gnu.org> 92005-04-08 Lute Kamstra <lute@gnu.org>
2 10
3 * modes.texi (Search-based Fontification): Fix cross references. 11 * modes.texi (Search-based Fontification): Fix cross references.
diff --git a/lispref/buffers.texi b/lispref/buffers.texi
index e0ef75ccae8..a0769be23dd 100644
--- a/lispref/buffers.texi
+++ b/lispref/buffers.texi
@@ -1067,11 +1067,11 @@ in the other. This includes the text properties as well as the characters
1067themselves. 1067themselves.
1068 1068
1069 In all other respects, the indirect buffer and its base buffer are 1069 In all other respects, the indirect buffer and its base buffer are
1070completely separate. They have different names, different values of 1070completely separate. They have different names, independent values of
1071point, different narrowing, different markers and overlays (though 1071point, independent narrowing, independent markers and overlays (though
1072inserting or deleting text in either buffer relocates the markers and 1072inserting or deleting text in either buffer relocates the markers and
1073overlays for both), different major modes, and different buffer-local 1073overlays for both), independent major modes, and independent
1074variables. 1074buffer-local variable bindings.
1075 1075
1076 An indirect buffer cannot visit a file, but its base buffer can. If 1076 An indirect buffer cannot visit a file, but its base buffer can. If
1077you try to save the indirect buffer, that actually saves the base 1077you try to save the indirect buffer, that actually saves the base
diff --git a/lispref/positions.texi b/lispref/positions.texi
index 822238a6342..3c1e642e6b4 100644
--- a/lispref/positions.texi
+++ b/lispref/positions.texi
@@ -15,14 +15,17 @@ speak of the character before or after a given position. However, we
15often speak of the character ``at'' a position, meaning the character 15often speak of the character ``at'' a position, meaning the character
16after that position. 16after that position.
17 17
18 Positions are usually represented as integers starting from 1, but can 18 Positions are usually represented as integers starting from 1, but
19also be represented as @dfn{markers}---special objects that relocate 19can also be represented as @dfn{markers}---special objects that
20automatically when text is inserted or deleted so they stay with the 20relocate automatically when text is inserted or deleted so they stay
21surrounding characters. Functions that expect an argument to be a 21with the surrounding characters. Functions that expect an argument to
22position (an integer), but accept a marker as a substitute, normally 22be a position (an integer), but accept a marker as a substitute,
23ignore the marker buffer. Of course, markers used this way usually 23normally ignore which buffer the marker points into; they convert the
24point to a position in the buffer that the function operates on, but 24marker to an integer, and use that integer, exactly as if you had
25that is entirely the programmer's responsibility. @xref{Markers}. 25passed the integer as the argument, even if the marker points to the
26``wrong'' buffer. A marker that points nowhere cannot convert to an
27integer; using it instead of an integer causes an error.
28@xref{Markers}.
26 29
27 See also the ``field'' feature (@pxref{Fields}), which provides 30 See also the ``field'' feature (@pxref{Fields}), which provides
28functions that are used by many cursor-motion commands. 31functions that are used by many cursor-motion commands.
diff --git a/lispref/strings.texi b/lispref/strings.texi
index 30802709311..bfe0f1f7e19 100644
--- a/lispref/strings.texi
+++ b/lispref/strings.texi
@@ -74,10 +74,11 @@ a key sequence, you must use a vector instead of a string.
74and other modifiers for keyboard input characters. 74and other modifiers for keyboard input characters.
75 75
76 Strings are useful for holding regular expressions. You can also 76 Strings are useful for holding regular expressions. You can also
77match regular expressions against strings (@pxref{Regexp Search}). The 77match regular expressions against strings with @code{string-match}
78functions @code{match-string} (@pxref{Simple Match Data}) and 78(@pxref{Regexp Search}). The functions @code{match-string}
79@code{replace-match} (@pxref{Replacing Match}) are useful for 79(@pxref{Simple Match Data}) and @code{replace-match} (@pxref{Replacing
80decomposing and modifying strings based on regular expression matching. 80Match}) are useful for decomposing and modifying strings after
81matching regular expressions against them.
81 82
82 Like a buffer, a string can contain text properties for the characters 83 Like a buffer, a string can contain text properties for the characters
83in it, as well as the characters themselves. @xref{Text Properties}. 84in it, as well as the characters themselves. @xref{Text Properties}.