diff options
| author | Gerd Moellmann | 2000-10-16 11:43:01 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-10-16 11:43:01 +0000 |
| commit | 1e4d32f80e868ab417c2acf1002e378b03237d7e (patch) | |
| tree | d26277c76258987a5ffe9e7a8332dbb703f3ea7d | |
| parent | 5e0c8a235d7115a5d00fd69210d11583f935979f (diff) | |
| download | emacs-1e4d32f80e868ab417c2acf1002e378b03237d7e.tar.gz emacs-1e4d32f80e868ab417c2acf1002e378b03237d7e.zip | |
*** empty log message ***
| -rw-r--r-- | etc/ChangeLog | 6 | ||||
| -rw-r--r-- | etc/DEBUG | 35 | ||||
| -rw-r--r-- | lispref/nonascii.texi | 30 |
3 files changed, 24 insertions, 47 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 7645f002188..46d1b5be54b 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2000-10-16 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * 3B-MAXMEM, AIX.DUMP, SUN-SUPPORT: Removed. | ||
| 4 | |||
| 5 | * tasks.texi: Updated to the version from /gd/gnuorg. | ||
| 6 | |||
| 1 | 2000-10-13 John Wiegley <johnw@gnu.org> | 7 | 2000-10-13 John Wiegley <johnw@gnu.org> |
| 2 | 8 | ||
| 3 | * NEWS: Added a note about Eshell. | 9 | * NEWS: Added a note about Eshell. |
| @@ -1,5 +1,5 @@ | |||
| 1 | Debugging GNU Emacs | 1 | Debugging GNU Emacs |
| 2 | Copyright (c) 1985 Richard M. Stallman. | 2 | Copyright (c) 1985, 2000 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | Permission is granted to anyone to make or distribute verbatim copies | 4 | Permission is granted to anyone to make or distribute verbatim copies |
| 5 | of this document as received, in any medium, provided that the | 5 | of this document as received, in any medium, provided that the |
| @@ -12,23 +12,6 @@ Copyright (c) 1985 Richard M. Stallman. | |||
| 12 | under the above conditions, provided also that they | 12 | under the above conditions, provided also that they |
| 13 | carry prominent notices stating who last changed them. | 13 | carry prominent notices stating who last changed them. |
| 14 | 14 | ||
| 15 | On 4.2 you will probably find that dbx does not work for | ||
| 16 | debugging GNU Emacs. For one thing, dbx does not keep the | ||
| 17 | inferior process's terminal modes separate from its own. | ||
| 18 | For another, dbx does not put the inferior in a separate | ||
| 19 | process group, which makes trouble when an inferior uses | ||
| 20 | interrupt input, which GNU Emacs must do on 4.2. | ||
| 21 | |||
| 22 | dbx has also been observed to have other problems, | ||
| 23 | such as getting incorrect values for register variables | ||
| 24 | in stack frames other than the innermost one. | ||
| 25 | |||
| 26 | The Emacs distribution now contains GDB, the new source-level | ||
| 27 | debugger for the GNU system. GDB works for debugging Emacs. | ||
| 28 | GDB currently runs on vaxes under 4.2 and on Sun 2 and Sun 3 | ||
| 29 | systems. | ||
| 30 | |||
| 31 | |||
| 32 | ** Some useful techniques | 15 | ** Some useful techniques |
| 33 | 16 | ||
| 34 | `Fsignal' is a very useful place to stop in. | 17 | `Fsignal' is a very useful place to stop in. |
| @@ -50,21 +33,9 @@ to get an opportunity to do the set command. | |||
| 50 | 33 | ||
| 51 | If you are using cbreak input (see the Lisp function set-input-mode), | 34 | If you are using cbreak input (see the Lisp function set-input-mode), |
| 52 | then typing Control-g will cause a SIGINT, which will return control | 35 | then typing Control-g will cause a SIGINT, which will return control |
| 53 | to the debugger immediately unless you have done | 36 | to GDB immediately if you type this command first: |
| 54 | |||
| 55 | ignore 3 (in dbx) | ||
| 56 | or handle 3 nostop noprint (in gdb) | ||
| 57 | |||
| 58 | You will note that most of GNU Emacs is written to avoid | ||
| 59 | declaring a local variable in an inner block, even in | ||
| 60 | cases where using one would be the cleanest thing to do. | ||
| 61 | This is because dbx cannot access any of the variables | ||
| 62 | in a function which has even one variable defined in an | ||
| 63 | inner block. A few functions in GNU Emacs do have variables | ||
| 64 | in inner blocks, only because I wrote them before realizing | ||
| 65 | that dbx had this problem and never rewrote them to avoid it. | ||
| 66 | 37 | ||
| 67 | I believe that GDB does not have such a problem. | 38 | handle 2 stop |
| 68 | 39 | ||
| 69 | 40 | ||
| 70 | ** Examining Lisp object values. | 41 | ** Examining Lisp object values. |
diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi index 7452d931354..52330b090fa 100644 --- a/lispref/nonascii.texi +++ b/lispref/nonascii.texi | |||
| @@ -60,10 +60,10 @@ character are always in the range 160 through 255 (octal 0240 through | |||
| 60 | 0377); these values are @dfn{trailing codes}. | 60 | 0377); these values are @dfn{trailing codes}. |
| 61 | 61 | ||
| 62 | Some sequences of bytes are not valid in multibyte text: for example, | 62 | Some sequences of bytes are not valid in multibyte text: for example, |
| 63 | a single isolated byte in the range 128 through 159 is not allowed. | 63 | a single isolated byte in the range 128 through 159 is not allowed. But |
| 64 | But character codes 128 through 159 can appear in multibyte text, | 64 | character codes 128 through 159 can appear in multibyte text, |
| 65 | represented as two-byte sequences. None of the character codes 128 | 65 | represented as two-byte sequences. All the character codes 128 through |
| 66 | through 255 normally appear in ordinary multibyte text, but they do | 66 | 255 are possible (though slightly abnormal) in multibyte text; they |
| 67 | appear in multibyte buffers and strings when you do explicit encoding | 67 | appear in multibyte buffers and strings when you do explicit encoding |
| 68 | and decoding (@pxref{Explicit Encoding}). | 68 | and decoding (@pxref{Explicit Encoding}). |
| 69 | 69 | ||
| @@ -135,15 +135,15 @@ acceptable because the buffer's representation is a choice made by the | |||
| 135 | user that cannot be overridden automatically. | 135 | user that cannot be overridden automatically. |
| 136 | 136 | ||
| 137 | Converting unibyte text to multibyte text leaves @sc{ascii} characters | 137 | Converting unibyte text to multibyte text leaves @sc{ascii} characters |
| 138 | unchanged, and likewise 128 through 159. It converts the non-@sc{ascii} | 138 | unchanged, and likewise character codes 128 through 159. It converts |
| 139 | codes 160 through 255 by adding the value @code{nonascii-insert-offset} | 139 | the non-@sc{ascii} codes 160 through 255 by adding the value |
| 140 | to each character code. By setting this variable, you specify which | 140 | @code{nonascii-insert-offset} to each character code. By setting this |
| 141 | character set the unibyte characters correspond to (@pxref{Character | 141 | variable, you specify which character set the unibyte characters |
| 142 | Sets}). For example, if @code{nonascii-insert-offset} is 2048, which is | 142 | correspond to (@pxref{Character Sets}). For example, if |
| 143 | @code{(- (make-char 'latin-iso8859-1) 128)}, then the unibyte | 143 | @code{nonascii-insert-offset} is 2048, which is @code{(- (make-char |
| 144 | non-@sc{ascii} characters correspond to Latin 1. If it is 2688, which | 144 | 'latin-iso8859-1) 128)}, then the unibyte non-@sc{ascii} characters |
| 145 | is @code{(- (make-char 'greek-iso8859-7) 128)}, then they correspond to | 145 | correspond to Latin 1. If it is 2688, which is @code{(- (make-char |
| 146 | Greek letters. | 146 | 'greek-iso8859-7) 128)}, then they correspond to Greek letters. |
| 147 | 147 | ||
| 148 | Converting multibyte text to unibyte is simpler: it discards all but | 148 | Converting multibyte text to unibyte is simpler: it discards all but |
| 149 | the low 8 bits of each character code. If @code{nonascii-insert-offset} | 149 | the low 8 bits of each character code. If @code{nonascii-insert-offset} |
| @@ -242,10 +242,10 @@ codes. The valid character codes for unibyte representation range from | |||
| 242 | 0 to 255---the values that can fit in one byte. The valid character | 242 | 0 to 255---the values that can fit in one byte. The valid character |
| 243 | codes for multibyte representation range from 0 to 524287, but not all | 243 | codes for multibyte representation range from 0 to 524287, but not all |
| 244 | values in that range are valid. The values 128 through 255 are not | 244 | values in that range are valid. The values 128 through 255 are not |
| 245 | really proper in multibyte text, but they can occur if you do explicit | 245 | entirely proper in multibyte text, but they can occur if you do explicit |
| 246 | encoding and decoding (@pxref{Explicit Encoding}). Some other character | 246 | encoding and decoding (@pxref{Explicit Encoding}). Some other character |
| 247 | codes cannot occur at all in multibyte text. Only the @sc{ascii} codes | 247 | codes cannot occur at all in multibyte text. Only the @sc{ascii} codes |
| 248 | 0 through 127 are truly legitimate in both representations. | 248 | 0 through 127 are completely legitimate in both representations. |
| 249 | 249 | ||
| 250 | @defun char-valid-p charcode &optional genericp | 250 | @defun char-valid-p charcode &optional genericp |
| 251 | This returns @code{t} if @var{charcode} is valid for either one of the two | 251 | This returns @code{t} if @var{charcode} is valid for either one of the two |