diff options
| author | Karoly Lorentey | 2005-04-18 13:40:23 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-04-18 13:40:23 +0000 |
| commit | 6ab9dd8034fcd76f5d2e92a91243f8d8be3a8f98 (patch) | |
| tree | a40a6371728d46bdfb26b7090612e0ca70e1c057 /lispref | |
| parent | 91fd98fc1eff12aa5a46142efabababa7daf77bb (diff) | |
| parent | d4127a9a1111805640eaa06e9767a7a6f56351a5 (diff) | |
| download | emacs-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/ChangeLog | 8 | ||||
| -rw-r--r-- | lispref/buffers.texi | 8 | ||||
| -rw-r--r-- | lispref/positions.texi | 19 | ||||
| -rw-r--r-- | lispref/strings.texi | 9 |
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 @@ | |||
| 1 | 2005-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 | |||
| 1 | 2005-04-08 Lute Kamstra <lute@gnu.org> | 9 | 2005-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 | |||
| 1067 | themselves. | 1067 | themselves. |
| 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 |
| 1070 | completely separate. They have different names, different values of | 1070 | completely separate. They have different names, independent values of |
| 1071 | point, different narrowing, different markers and overlays (though | 1071 | point, independent narrowing, independent markers and overlays (though |
| 1072 | inserting or deleting text in either buffer relocates the markers and | 1072 | inserting or deleting text in either buffer relocates the markers and |
| 1073 | overlays for both), different major modes, and different buffer-local | 1073 | overlays for both), independent major modes, and independent |
| 1074 | variables. | 1074 | buffer-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 |
| 1077 | you try to save the indirect buffer, that actually saves the base | 1077 | you 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 | |||
| 15 | often speak of the character ``at'' a position, meaning the character | 15 | often speak of the character ``at'' a position, meaning the character |
| 16 | after that position. | 16 | after 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 |
| 19 | also be represented as @dfn{markers}---special objects that relocate | 19 | can also be represented as @dfn{markers}---special objects that |
| 20 | automatically when text is inserted or deleted so they stay with the | 20 | relocate automatically when text is inserted or deleted so they stay |
| 21 | surrounding characters. Functions that expect an argument to be a | 21 | with the surrounding characters. Functions that expect an argument to |
| 22 | position (an integer), but accept a marker as a substitute, normally | 22 | be a position (an integer), but accept a marker as a substitute, |
| 23 | ignore the marker buffer. Of course, markers used this way usually | 23 | normally ignore which buffer the marker points into; they convert the |
| 24 | point to a position in the buffer that the function operates on, but | 24 | marker to an integer, and use that integer, exactly as if you had |
| 25 | that is entirely the programmer's responsibility. @xref{Markers}. | 25 | passed the integer as the argument, even if the marker points to the |
| 26 | ``wrong'' buffer. A marker that points nowhere cannot convert to an | ||
| 27 | integer; 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 |
| 28 | functions that are used by many cursor-motion commands. | 31 | functions 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. | |||
| 74 | and other modifiers for keyboard input characters. | 74 | and 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 |
| 77 | match regular expressions against strings (@pxref{Regexp Search}). The | 77 | match regular expressions against strings with @code{string-match} |
| 78 | functions @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 |
| 80 | decomposing and modifying strings based on regular expression matching. | 80 | Match}) are useful for decomposing and modifying strings after |
| 81 | matching 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 |
| 83 | in it, as well as the characters themselves. @xref{Text Properties}. | 84 | in it, as well as the characters themselves. @xref{Text Properties}. |