Mercurial > hg > xemacs-beta
diff src/README @ 245:51092a27c943 r20-5b21
Import from CVS: tag r20-5b21
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:17:54 +0200 |
parents | e45d5e7c476e |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/README Mon Aug 13 10:17:09 2007 +0200 +++ b/src/README Mon Aug 13 10:17:54 2007 +0200 @@ -37,7 +37,7 @@ (primitive types are int, cons, string, and vector). -- References to `XSTRING (obj)->size' get replaced with - `string_length (obj)'. This is currently for cosmetic reasons + `XSTRING_LENGTH (obj)'. This is currently for cosmetic reasons but there may be other reasons in the future. (This change is currently incomplete in the source files.) @@ -58,17 +58,21 @@ Therefore, it's important that functions do something reasonable if an error gets continued. If you want to signal a non- continuable error, the call to Fsignal() gets put inside a - `while (1)' loop. To facilitate this, and also for proper - I18N3 message snarfing, most calls to Fsignal() have been - replaced by calls to signal_error(), signal_simple_error(), - etc. + `while (1)' loop. To facilitate this, and also for proper I18N3 + message snarfing, most calls to Fsignal() have been replaced by + calls to signal_error(), signal_simple_error(), etc. Look at + eval.c for a classification of various error functions. -- Constant strings occurring in source files need to get wrapped in a call to GETTEXT (or if inside of a call to `build_string', change that function to `build_translated_string') if they don't occur in certain places where the I18N3 message snarfer will see them. For a complete discussion of this, see the file - lib-src/make-msgfile.l. + lib-src/make-msgfile.lex. + + NOTE: I18N3 support is not currently working, so the above may + or may not apply. Thus it is not a good idea to add random + GETTEXTs, unless you really know what you are doing. -- Calls to `fprintf (stderr, ...)' and `printf (...)' get replaced with calls to `stderr_out' and `stdout_out'. This is for I18N3