bpt/emacs.git
21 years ago(define_charset_internal): Rename `supprementary'.
Dave Love [Sun, 6 Oct 2002 21:15:08 +0000 (21:15 +0000)]
(define_charset_internal): Rename `supprementary'.

21 years ago(quail-help): Fix underlining.
Dave Love [Sun, 6 Oct 2002 21:05:42 +0000 (21:05 +0000)]
(quail-help): Fix underlining.

21 years ago(quail-indian-preceding-char-position)
Dave Love [Sun, 6 Oct 2002 20:53:43 +0000 (20:53 +0000)]
(quail-indian-preceding-char-position)
(quail-indian-update-translation, quail-define-inscript-package):
Use characterp, not char-valid-p.

21 years ago("Chinese-GB18030"): Fix more.
Dave Love [Sun, 6 Oct 2002 17:36:27 +0000 (17:36 +0000)]
("Chinese-GB18030"): Fix more.

21 years ago(chinese-gb18030): Fix last change.
Dave Love [Sun, 6 Oct 2002 17:08:15 +0000 (17:08 +0000)]
(chinese-gb18030): Fix last change.

21 years ago*** empty log message ***
Dave Love [Sun, 6 Oct 2002 16:55:31 +0000 (16:55 +0000)]
*** empty log message ***

21 years ago(lisp, shortlisp): Remove latin-N.
Dave Love [Sun, 6 Oct 2002 16:55:14 +0000 (16:55 +0000)]
(lisp, shortlisp): Remove latin-N.

21 years ago(locale-language-names): Add GB18030.
Dave Love [Sun, 6 Oct 2002 16:23:09 +0000 (16:23 +0000)]
(locale-language-names): Add GB18030.

21 years ago(chinese-gb18030, gb18030)
Dave Love [Sun, 6 Oct 2002 16:22:40 +0000 (16:22 +0000)]
(chinese-gb18030, gb18030)
("Chinese-GB18030"): New.

21 years agoDon't require latin-1.
Dave Love [Sun, 6 Oct 2002 16:12:56 +0000 (16:12 +0000)]
Don't require latin-1.

21 years ago(use_xim): Initialize.
Dave Love [Sun, 6 Oct 2002 13:29:21 +0000 (13:29 +0000)]
(use_xim): Initialize.
(xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim.
(x_term_init): Maybe set use_xim.

21 years ago(use_xim) [HAVE_X_I18N]: Declare.
Dave Love [Sat, 5 Oct 2002 23:19:04 +0000 (23:19 +0000)]
(use_xim) [HAVE_X_I18N]: Declare.

21 years ago*** empty log message ***
Dave Love [Sat, 5 Oct 2002 19:23:48 +0000 (19:23 +0000)]
*** empty log message ***

21 years ago(language-info-alist): Doc fix.
Dave Love [Sat, 5 Oct 2002 19:23:04 +0000 (19:23 +0000)]
(language-info-alist): Doc fix.

21 years ago("Czech"): Remove unibyte-syntax property.
Dave Love [Sat, 5 Oct 2002 19:21:53 +0000 (19:21 +0000)]
("Czech"): Remove unibyte-syntax property.

21 years ago("Slovak"): Remove unibyte-syntax property.
Dave Love [Sat, 5 Oct 2002 19:19:14 +0000 (19:19 +0000)]
("Slovak"): Remove unibyte-syntax property.

21 years ago("Romanian"): Remove unibyte-syntax property.
Dave Love [Sat, 5 Oct 2002 19:18:47 +0000 (19:18 +0000)]
("Romanian"): Remove unibyte-syntax property.

21 years ago("Greek"): Remove unibyte-syntax property.
Dave Love [Sat, 5 Oct 2002 19:10:39 +0000 (19:10 +0000)]
("Greek"): Remove unibyte-syntax property.
(cp737): New coding system.

21 years agoRemove unibyte-syntax properties.
Dave Love [Sat, 5 Oct 2002 19:06:45 +0000 (19:06 +0000)]
Remove unibyte-syntax properties.
Augment some coding-system properties.

21 years ago(set-language-environment): Check
Dave Love [Sat, 5 Oct 2002 19:04:00 +0000 (19:04 +0000)]
(set-language-environment): Check
for charset property of environment.

21 years ago(DONTCOMPILE): Remove latin-N.el.
Dave Love [Sat, 5 Oct 2002 19:00:51 +0000 (19:00 +0000)]
(DONTCOMPILE): Remove latin-N.el.

21 years ago(set-case-syntax-charset, set-case-syntax-1)
Dave Love [Sat, 5 Oct 2002 18:59:25 +0000 (18:59 +0000)]
(set-case-syntax-charset, set-case-syntax-1)
(set-case-syntax-delims, set-case-syntax-pair, set-case-syntax):
Undo last changes.

21 years agoRemove international/latin-N.el.
Dave Love [Sat, 5 Oct 2002 18:54:28 +0000 (18:54 +0000)]
Remove international/latin-N.el.

21 years ago(unicode-data): Check that
Dave Love [Sat, 5 Oct 2002 18:52:52 +0000 (18:52 +0000)]
(unicode-data): Check that
`unicodedata-file' exists.

21 years agoAdd Latin-1.
Dave Love [Sat, 5 Oct 2002 18:51:37 +0000 (18:51 +0000)]
Add Latin-1.

21 years ago(x_window, x_window): Use use_xim.
Dave Love [Sat, 5 Oct 2002 14:38:51 +0000 (14:38 +0000)]
(x_window, x_window): Use use_xim.

21 years ago(Table of Resources): Add useXIM.
Dave Love [Sat, 5 Oct 2002 14:37:43 +0000 (14:37 +0000)]
(Table of Resources): Add useXIM.

21 years ago(charset-script-alist): Fix script names.
Kenichi Handa [Sat, 5 Oct 2002 01:54:48 +0000 (01:54 +0000)]
(charset-script-alist): Fix script names.

21 years ago*** empty log message ***
Kenichi Handa [Sat, 5 Oct 2002 01:39:38 +0000 (01:39 +0000)]
*** empty log message ***

21 years agoFix coding cookie.
Dave Love [Fri, 4 Oct 2002 21:48:23 +0000 (21:48 +0000)]
Fix coding cookie.

21 years ago*** empty log message ***
Kenichi Handa [Tue, 1 Oct 2002 01:33:41 +0000 (01:33 +0000)]
*** empty log message ***

21 years ago(set-language-environment): Delete unnecessary setup of syntax/case
Kenichi Handa [Tue, 1 Oct 2002 01:33:29 +0000 (01:33 +0000)]
(set-language-environment): Delete unnecessary setup of syntax/case
for unibyte case.

21 years ago(set-case-syntax-set-multibyte): This variable
Kenichi Handa [Tue, 1 Oct 2002 01:33:07 +0000 (01:33 +0000)]
(set-case-syntax-set-multibyte): This variable
deleted.
(set-case-syntax-charset): New variable.
(set-case-syntax-1): New function.
(set-case-syntax-delims, set-case-syntax-pair, set-case-syntax):
Call set-case-syntax-1 on arguments.

21 years agoBind set-case-syntax-charset to iso-8859-15. Never provide latin-9.
Kenichi Handa [Tue, 1 Oct 2002 01:32:44 +0000 (01:32 +0000)]
Bind set-case-syntax-charset to iso-8859-15.  Never provide latin-9.

21 years agoBind set-case-syntax-charset to iso-8859-14. Never provide latin-8.
Kenichi Handa [Tue, 1 Oct 2002 01:32:27 +0000 (01:32 +0000)]
Bind set-case-syntax-charset to iso-8859-14.  Never provide latin-8.

21 years agoBind set-case-syntax-charset to iso-8859-9. Never provide latin-5.
Kenichi Handa [Tue, 1 Oct 2002 01:32:05 +0000 (01:32 +0000)]
Bind set-case-syntax-charset to iso-8859-9.  Never provide latin-5.

21 years agoBind set-case-syntax-charset to iso-8859-4. Never provide latin-4.
Kenichi Handa [Tue, 1 Oct 2002 01:31:47 +0000 (01:31 +0000)]
Bind set-case-syntax-charset to iso-8859-4.  Never provide latin-4.

21 years agoBind set-case-syntax-charset to iso-8859-3. Never provide latin-3.
Kenichi Handa [Tue, 1 Oct 2002 01:31:29 +0000 (01:31 +0000)]
Bind set-case-syntax-charset to iso-8859-3.  Never provide latin-3.

21 years agoBind set-case-syntax-charset to iso-8859-2. Never provide latin-2.
Kenichi Handa [Tue, 1 Oct 2002 01:31:09 +0000 (01:31 +0000)]
Bind set-case-syntax-charset to iso-8859-2.  Never provide latin-2.

21 years agoBind set-case-syntax-charset to iso-8859-1. Never provide latin-1.
Kenichi Handa [Tue, 1 Oct 2002 01:30:52 +0000 (01:30 +0000)]
Bind set-case-syntax-charset to iso-8859-1.  Never provide latin-1.

21 years ago(search_buffer): Fix case-fold-search of multibyte
Kenichi Handa [Tue, 1 Oct 2002 01:30:13 +0000 (01:30 +0000)]
(search_buffer): Fix case-fold-search of multibyte
characters.
(boyer_moore): Rename the last argument to char_high_bits.

21 years ago(describe-face): Describe :fontset property too.
Kenichi Handa [Fri, 27 Sep 2002 04:54:47 +0000 (04:54 +0000)]
(describe-face): Describe :fontset property too.

21 years ago*** empty log message ***
Kenichi Handa [Fri, 27 Sep 2002 04:54:24 +0000 (04:54 +0000)]
*** empty log message ***

21 years ago(generate-fontset-menu): Exclude the defualt fontset.
Kenichi Handa [Fri, 27 Sep 2002 04:54:02 +0000 (04:54 +0000)]
(generate-fontset-menu): Exclude the defualt fontset.

21 years ago(x_new_fontset): If FONTSETNAME specifies the default
Kenichi Handa [Fri, 27 Sep 2002 04:51:34 +0000 (04:51 +0000)]
(x_new_fontset): If FONTSETNAME specifies the default
fontset, return Qt.

21 years ago(set_lface_from_font_name): Reject the default fontset.
Kenichi Handa [Fri, 27 Sep 2002 04:50:58 +0000 (04:50 +0000)]
(set_lface_from_font_name): Reject the default fontset.
(Finternal_set_lisp_face_attribute): Use signal_error for the
error of invalid fontset.

21 years ago(x_set_font): Change the error message of the case that
Kenichi Handa [Fri, 27 Sep 2002 04:50:23 +0000 (04:50 +0000)]
(x_set_font): Change the error message of the case that
x_new_fontset returns Qt.

21 years ago(display_string): Fix for the case of zero width glyph.
Kenichi Handa [Fri, 27 Sep 2002 04:49:47 +0000 (04:49 +0000)]
(display_string): Fix for the case of zero width glyph.

21 years agoFix last change.
Dave Love [Wed, 25 Sep 2002 00:00:33 +0000 (00:00 +0000)]
Fix last change.

21 years agoAdd some non-word syntax cases.
Dave Love [Mon, 23 Sep 2002 22:21:46 +0000 (22:21 +0000)]
Add some non-word syntax cases.

21 years ago*** empty log message ***
Dave Love [Mon, 23 Sep 2002 19:19:34 +0000 (19:19 +0000)]
*** empty log message ***

21 years agoDon't set char width of CJK
Dave Love [Mon, 23 Sep 2002 14:03:06 +0000 (14:03 +0000)]
Don't set char width of CJK
charsets generally.
(korean-ksc5601): Fix ranges with symbol syntax.

21 years ago(re_search_2): Fix previous change.
Kenichi Handa [Thu, 19 Sep 2002 00:40:09 +0000 (00:40 +0000)]
(re_search_2): Fix previous change.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 19 Sep 2002 00:39:45 +0000 (00:39 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Kenichi Handa [Wed, 18 Sep 2002 12:16:12 +0000 (12:16 +0000)]
*** empty log message ***

21 years ago(skip_syntaxes): Fix previous change.
Kenichi Handa [Wed, 18 Sep 2002 12:14:36 +0000 (12:14 +0000)]
(skip_syntaxes): Fix previous change.

21 years ago(skip_syntaxes): Fix previous change.
Kenichi Handa [Wed, 18 Sep 2002 11:59:36 +0000 (11:59 +0000)]
(skip_syntaxes): Fix previous change.

21 years ago(ucs-bengali-to-is13194-alist, ucs-assamese-to-is13194-alist)
Dave Love [Sat, 14 Sep 2002 11:47:38 +0000 (11:47 +0000)]
(ucs-bengali-to-is13194-alist, ucs-assamese-to-is13194-alist)
(ucs-gurmukhi-to-is13194-alist, ucs-gujarati-to-is13194-alist)
(ucs-oriya-to-is13194-alist, ucs-tamil-to-is13194-alist)
(ucs-telugu-to-is13194-alist, ucs-malayalam-to-is13194-alist))):
Remove declarations and let-bind them in re-written top-level loop
over scripts, including ucs-devanagari-to-is13194-alist.

21 years ago(DONTCOMPILE): Add indian.el.
Dave Love [Sat, 14 Sep 2002 11:42:24 +0000 (11:42 +0000)]
(DONTCOMPILE): Add indian.el.

21 years ago(find-coding-systems-for-charsets): Check charset type before
Dave Love [Fri, 13 Sep 2002 23:32:26 +0000 (23:32 +0000)]
(find-coding-systems-for-charsets): Check charset type before
getting :charset-list.

21 years ago(iscii-to-ucs-region): Fix typo.
Dave Love [Fri, 13 Sep 2002 23:25:53 +0000 (23:25 +0000)]
(iscii-to-ucs-region): Fix typo.

21 years ago(charset): Move.
Dave Love [Fri, 13 Sep 2002 23:25:28 +0000 (23:25 +0000)]
(charset): Move.
(language-info-custom-alist): Move.  Alter :set.

21 years ago(skip_chars): Fix previous change.
Kenichi Handa [Fri, 13 Sep 2002 11:22:21 +0000 (11:22 +0000)]
(skip_chars): Fix previous change.
(skip_syntaxes): Fix previous change.

21 years ago(emacs-mule, iso-2022-7bit)
Kenichi Handa [Thu, 12 Sep 2002 08:37:25 +0000 (08:37 +0000)]
(emacs-mule, iso-2022-7bit)
(iso-2022-7bit-ss2, iso-2022-7bit-lock, iso-2022-8bit-ss2)
(compound-text, ctext-no-compositions): Cancel provious change.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 12 Sep 2002 08:36:59 +0000 (08:36 +0000)]
*** empty log message ***

21 years ago(charset): New widget.
Dave Love [Mon, 9 Sep 2002 22:49:04 +0000 (22:49 +0000)]
(charset): New widget.
(language-info-custom-alist): Use it.
(default-input-method): Modify :type.

21 years ago(widget-string-complete): New.
Dave Love [Mon, 9 Sep 2002 22:19:53 +0000 (22:19 +0000)]
(widget-string-complete): New.
(widget-coding-system-prompt-value-history): Deleted.
(coding-system): Use coding-system-value-history.

21 years ago(dev-charseq): Avoid indian-glyph-char.
Dave Love [Sun, 8 Sep 2002 20:36:10 +0000 (20:36 +0000)]
(dev-charseq): Avoid indian-glyph-char.

21 years ago(indian-script-table)
Dave Love [Sun, 8 Sep 2002 20:31:49 +0000 (20:31 +0000)]
(indian-script-table)
(ccl-encode-indian-glyph-font): Deleted.

21 years ago(ucs-devanagari-to-is13194-alist)
Dave Love [Sun, 8 Sep 2002 20:31:05 +0000 (20:31 +0000)]
(ucs-devanagari-to-is13194-alist)
(indian-glyph-char, indian-char-glyph): Deleted.
(is13194-default-repertory): Renamed from
is13194-default-repartory,
(iscii-to-ucs-region): Hoist evals from loop.

21 years ago(language-info-custom-alist): New.
Dave Love [Sun, 8 Sep 2002 19:49:54 +0000 (19:49 +0000)]
(language-info-custom-alist): New.
(input-method-activate-hook, input-method-inactivate-hook)
(input-method-after-insert-chunk-hook)
(input-method-use-echo-area, set-language-environment-hook)
(exit-language-environment-hook): Customize.
(find-coding-systems-for-charsets): Rewritten.
(default-input-method): Add :link.

21 years ago(emacs-mule, iso-2022-7bit)
Dave Love [Sun, 8 Sep 2002 19:47:56 +0000 (19:47 +0000)]
(emacs-mule, iso-2022-7bit)
(iso-2022-7bit-ss2, iso-2022-7bit-lock, iso-2022-8bit-ss2)
(compound-text, ctext-no-compositions): Remove :charset-list.

21 years ago(eight-bit): Add :docstring,
Dave Love [Sun, 8 Sep 2002 00:02:46 +0000 (00:02 +0000)]
(eight-bit): Add :docstring,
:short-name properties.
(cp851): Doc fix.
(unicode-bmp): New.

21 years ago(cp858): New.
Dave Love [Sat, 7 Sep 2002 23:56:18 +0000 (23:56 +0000)]
(cp858): New.
("Turkish"): Add special case rules.

21 years ago(set-case-syntax-pair): Remove check on byte
Dave Love [Sat, 7 Sep 2002 23:54:43 +0000 (23:54 +0000)]
(set-case-syntax-pair): Remove check on byte
lengths.

21 years ago*** empty log message ***
Dave Love [Fri, 6 Sep 2002 17:41:19 +0000 (17:41 +0000)]
*** empty log message ***

21 years agoMake and � a case pair.
Dave Love [Thu, 5 Sep 2002 22:57:13 +0000 (22:57 +0000)]
Make   and � a case pair.

21 years ago*** empty log message ***
Dave Love [Thu, 5 Sep 2002 17:56:01 +0000 (17:56 +0000)]
*** empty log message ***

21 years agoRemoved (now auto-generated).
Dave Love [Thu, 5 Sep 2002 17:55:47 +0000 (17:55 +0000)]
Removed (now auto-generated).

21 years ago(mm-iso-8859-x-to-15-region): Deleted.
Dave Love [Thu, 5 Sep 2002 17:52:26 +0000 (17:52 +0000)]
(mm-iso-8859-x-to-15-region): Deleted.

21 years ago(quoted-printable-decode-region): Use mm-insert-byte.
Dave Love [Thu, 5 Sep 2002 17:50:38 +0000 (17:50 +0000)]
(quoted-printable-decode-region): Use mm-insert-byte.

21 years ago(mm-insert-byte): New.
Dave Love [Thu, 5 Sep 2002 17:50:06 +0000 (17:50 +0000)]
(mm-insert-byte): New.

21 years ago*** empty log message ***
Dave Love [Thu, 5 Sep 2002 17:44:50 +0000 (17:44 +0000)]
*** empty log message ***

21 years ago(message-posting-charset): defvar when compiling.
Dave Love [Thu, 5 Sep 2002 17:43:48 +0000 (17:43 +0000)]
(message-posting-charset): defvar when compiling.
(rfc2047-header-encoding-alist): Add `address-mime' part.
(rfc2047-charset-encoding-alist): Use B for iso-8859-7.  Doc fix.
(rfc2047-q-encoding-alist): Augment header list.
(rfc2047-encodable-p): Use mm-find-mime-charset-region.
(rfc2047-special-chars, rfc2047-non-special-chars): New.
(rfc2047-dissect-region, rfc2047-encode-region, rfc2047-encode):
Rewritten to avoid charset stuff and to take account of rfc2822
tokens.
(rfc2047-encode-message-header): Don't include header name field
in encoding.  Add `address-mime' case and bind
rfc2047-special-chars for `mime' case.

21 years ago(mm-hack-charsets, mm-iso-8859-15-compatible)
Dave Love [Thu, 5 Sep 2002 17:38:15 +0000 (17:38 +0000)]
(mm-hack-charsets, mm-iso-8859-15-compatible)
(mm-iso-8859-x-to-15-table): Deleted.
(mm-find-mime-charset-region): Remove hack-charsets stuff.

21 years ago(AH_BOTTOM): Add Local Variables comment.
Dave Love [Thu, 5 Sep 2002 17:35:48 +0000 (17:35 +0000)]
(AH_BOTTOM): Add Local Variables comment.

21 years agoFix last change.
Dave Love [Thu, 5 Sep 2002 17:11:25 +0000 (17:11 +0000)]
Fix last change.

21 years ago(unexec): Make .got handling not SGI-specific.
Dave Love [Thu, 5 Sep 2002 17:07:41 +0000 (17:07 +0000)]
(unexec): Make .got handling not SGI-specific.

21 years ago(syms_of_syntax) <multibyte-syntax-as-symbol>: Doc fix.
Dave Love [Thu, 5 Sep 2002 17:03:03 +0000 (17:03 +0000)]
(syms_of_syntax) <multibyte-syntax-as-symbol>: Doc fix.

21 years agoUse `ifdef HAVE_ALLOCA_H', not `if HAVE_ALLOCA_H'.
Dave Love [Thu, 5 Sep 2002 17:01:55 +0000 (17:01 +0000)]
Use `ifdef HAVE_ALLOCA_H', not `if HAVE_ALLOCA_H'.

21 years agocomment
Dave Love [Thu, 5 Sep 2002 17:00:46 +0000 (17:00 +0000)]
comment

21 years ago(fontset_add): Return Lisp_Object.
Dave Love [Thu, 5 Sep 2002 16:59:54 +0000 (16:59 +0000)]
(fontset_add): Return Lisp_Object.

21 years ago(Fset_buffer_multibyte, Fset_buffer_multibyte): Fix
Dave Love [Thu, 5 Sep 2002 16:59:44 +0000 (16:59 +0000)]
(Fset_buffer_multibyte, Fset_buffer_multibyte): Fix
type error.

21 years ago(read_key_sequence): Fix type error.
Dave Love [Thu, 5 Sep 2002 16:59:35 +0000 (16:59 +0000)]
(read_key_sequence): Fix type error.

21 years ago*** empty log message ***
Dave Love [Tue, 3 Sep 2002 18:07:51 +0000 (18:07 +0000)]
*** empty log message ***

21 years ago(charset_ordered_list_tick): Declare extern.
Dave Love [Tue, 3 Sep 2002 17:28:19 +0000 (17:28 +0000)]
(charset_ordered_list_tick): Declare extern.

21 years ago*** empty log message ***
Kenichi Handa [Tue, 3 Sep 2002 04:11:28 +0000 (04:11 +0000)]
*** empty log message ***

21 years ago(char_quoted): Use FETCH_CHAR_AS_MULTIBYTE to convert
Kenichi Handa [Tue, 3 Sep 2002 04:10:19 +0000 (04:10 +0000)]
(char_quoted): Use FETCH_CHAR_AS_MULTIBYTE to convert
unibyte chars to multibyte.
(back_comment): Likewise.
(scan_words): Likewise.
(skip_chars): The arg syntaxp is deleted, and the code for
handling syntaxes is moved to skip_syntaxes.  Callers changed.
Fix the case that the multibyteness of STRING and the current
buffer doesn't match.
(skip_syntaxes): New function.
(SYNTAX_WITH_MULTIBYTE_CHECK): Check C by ASCII_CHAR_P, not by
SINGLE_BYTE_CHAR_P.
(Fforward_comment): Use FETCH_CHAR_AS_MULTIBYTE to convert unibyte
chars to multibyte.
(scan_lists): Likewise.
(Fbackward_prefix_chars): Likewise.
(scan_sexps_forward): Likewise.

21 years ago(compile_pattern_1): Don't adjust the multibyteness of
Kenichi Handa [Tue, 3 Sep 2002 04:09:59 +0000 (04:09 +0000)]
(compile_pattern_1): Don't adjust the multibyteness of
the regexp pattern and the matching target.  Set cp->buf.multibyte
to the multibyteness of the regexp pattern.  Set
cp->but.target_multibyte to the multibyteness of the matching
target.
(wordify): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE instead of
FETCH_STRING_CHAR_ADVANCE.
(Freplace_match): Convert unibyte chars to multibyte.

21 years ago* regex.c (RE_TARGET_MULTIBYTE_P): New macro.
Kenichi Handa [Tue, 3 Sep 2002 04:09:40 +0000 (04:09 +0000)]
* regex.c (RE_TARGET_MULTIBYTE_P): New macro.
(GET_CHAR_BEFORE_2): Check target_multibyte, not multibyte.  If
that is zero, convert an eight-bit char to multibyte.
(MAKE_CHAR_MULTIBYTE, CHAR_LEADING_CODE): New dummy new macros for
non-emacs case.
(PATFETCH): Convert an eight-bit char to multibyte.
(HANDLE_UNIBYTE_RANGE): New macro.
(regex_compile): Setup the compiled pattern for multibyte chars
even if the given regex string is unibyte.  Use PATFETCH_RAW
instead of PATFETCH in many places.  To handle `charset'
specification of unibyte, call HANDLE_UNIBYTE_RANGE.   Use bitmap
only for ASCII chars.
(analyse_first) <exactn>: Simplified because the compiled pattern
is multibyte.
<charset_not>: Setup fastmap from bitmap only for ASCII chars.
<charset>: Use CHAR_LEADING_CODE to get leading codes.
<categoryspec>: If multibyte, setup fastmap only for ASCII chars
here.
(re_compile_fastmap) [emacs]: Call analyse_first with the arg
multibyte always 1.
(re_search_2) In emacs, set the locale variable multibyte to 1,
otherwise to 0.  New local variable target_multibyte.  Check it
to decide the multibyteness of STR1 and STR2.  If
target_multibyte is zero, convert unibyte chars to multibyte
before translating and checking fastmap.
(TARGET_CHAR_AND_LENGTH): New macro.
(re_match_2_internal): In emacs, set the locale variable multibyte
to 1, otherwise to 0.  New local variable target_multibyte.  Check
it to decide the multibyteness of STR1 and STR2.  Use
TARGET_CHAR_AND_LENGTH to fetch a character from D.
<charset, charset_not>: If multibyte is nonzero, check fastmap
only for ASCII chars.   Call bcmp_translate with
target_multibyte, not with multibyte.
<begline>: Declare the local variable C as `unsigned'.
(bcmp_translate): Change the last arg name to target_multibyte.