Kenichi Handa
23017390a5
(Ftranspose_regions): Use BYTE_POS_ADDR to get an
...
address in buffer from byte-position.
1998-09-02 04:51:42 +00:00
Eli Zaretskii
9963e85930
(Vnext_selection_coding_system): New variable.
...
(syms_of_win16select): DEFVAR_LISP it. No need to staticpro
Vselection_coding_system.
(Fw16_set_clipboard_data): Always convert multibyte strings. Use
Vnext_selection_coding_system if non-nil.
(Fw16_get_clipboard_data): Always convert a string that includes
non-ASCII characters. Use Vnext_selection_coding_system if
non-nil.
1998-09-01 13:26:41 +00:00
Kenichi Handa
e1d6d5b93f
(x_load_font): If SIZE is 0, don't use a name x_list_font returns.
1998-09-01 02:25:57 +00:00
Geoff Voelker
490822ffc8
(w32_wnd_proc): Always zero button_state when releasing
...
mouse capture.
1998-09-01 00:30:46 +00:00
Paul Eggert
a897205290
(read1): Don't assume that atof ("-0.0") yields -0.0.
...
Handle leading '-' uniformly for zeros, infinities, and NaNs.
1998-08-31 21:18:28 +00:00
Eli Zaretskii
06da1de199
(IT_cmgoto): When tracking echo area messages with the
...
cursor, save and restore previous cursor position in the
minibuffer.
1998-08-31 15:56:52 +00:00
Kenichi Handa
3b0800187d
(copy_text): If Vnonascii_translation_table is non-nil, try
...
to convert a character less than 160 to multibyte.
(count_size_as_multibyte): Likewise.
1998-08-31 03:50:17 +00:00
Kenichi Handa
bbf12bb32b
(unibyte_char_to_multibyte):
...
Vnonacii_translation_table will convert a 7-bit charcater.
(multibyte_char_to_unibyte): Handle the case that
Vnonacii_translation_table converts a multibyte charcater to a
unibyte charcter of less than 128.
(init_charset_once): Initialize nonascii_insert_offset and
Vnonacii_translation_table.
1998-08-31 03:50:17 +00:00
Kenichi Handa
d4e57bcd5b
(decode_coding): Even if SRC_BYTES is zero, try
...
processing if CODING requires flushing.
(encode_coding): Likewise.
(code_convert_region): Likewise.
(code_convert_string): Likewise.
1998-08-31 03:50:17 +00:00
Kenichi Handa
e0e25273d2
(concat): If Vnonascii_translation_table is non-nil, try
...
to convert a character less than 160 to multibyte.
1998-08-31 03:50:17 +00:00
Kenichi Handa
c63e0d56d5
(dumpglyphs): If Vnonascii_translation_table is non-nil, try
...
to convert a character less than 160 to multibyteL.
1998-08-31 03:50:17 +00:00
Paul Eggert
e64981da92
(arith_driver, float_arith_driver): Compute (- x) by
...
using negation, not subtraction; this makes a difference with
IEEE floating point arithmetic (and also if integer arithmetic
is ones' complement or signed-magnitude!).
1998-08-29 17:57:22 +00:00
Karl Heuer
66cb9c0731
(x_create_bitmap_from_file): Fail immediately if magic.
1998-08-29 15:55:28 +00:00
Kenichi Handa
f78643efc0
(Fchar_bytes): Add \n\ in doc-string.
1998-08-29 01:26:19 +00:00
Paul Eggert
9d0ebf980b
(NOT_USING_MOTIF): New macro.
...
(LD_SWITCH_SYSTEM_TEMACS): Put /usr/dt/lib in the link library
path only if we're not building with Motif.
1998-08-28 23:38:20 +00:00
Kenichi Handa
4a7cf15f47
(adjust_after_replace): Fix the code to recode undo
...
information for the case that `before combining' happens. Remove
text properties which are added to the new text by
offset_intervals.
1998-08-28 12:33:52 +00:00
Kenichi Handa
df2ddb2d28
(code_convert_region1): Remove all text properties of the region.
1998-08-28 12:33:52 +00:00
Kenichi Handa
643044ebfd
(count_size_as_multibyte): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
fcf9683ed5
(Fposition_bytes): If the arg POSITION is out of
...
range, return nil.
(Fbyte_to_position): If the arg BYTEPOS is out of range, return
nil.
1998-08-28 12:22:39 +00:00
Kenichi Handa
9b6a601f87
(Fchar_bytes): Now always return 1.
...
(char_bytes): New function.
1998-08-28 12:22:39 +00:00
Kenichi Handa
3124bc0ed3
(CHAR_BYTES): New macro.
1998-08-28 12:22:39 +00:00
Kenichi Handa
6d0b4facd2
(Faset): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
cc531c4441
(concat): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
b778fdb3a5
(message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
ae9ff118cb
(detect_coding_iso2022): Handle ESC N and ESC O
...
correctly. They are for SS2 and SS3 respectively.
(ccl_coding_driver): Fix previous change.
1998-08-27 07:47:15 +00:00
Paul Eggert
71f8198a32
(fixup_locale): New function. For now, it resets
...
LC_TIME to "C" (reverting the 1998-08-07 change), and also
resets LC_MESSAGES to "C".
(x_term_init): Use it to fix up the locale after setlocale
(LC_ALL, "").
1998-08-27 02:00:35 +00:00
Richard M. Stallman
d24e26b1a9
(selection_data_to_lisp_data): Code-convert selections
...
regardless of enable-multibyte-characters.
(lisp_data_to_selection_data): Likewise for decoding.
1998-08-26 21:15:23 +00:00
Karl Heuer
7c3c78a3c8
(x_calc_absolute_position): Cast argument to XFree, in
...
case it was prototyped the old way.
1998-08-26 20:29:59 +00:00
Kenichi Handa
6f6512e8c0
(x_list_fonts): Work-around for the case XGetAtomName
...
returns a null string. This happens when dxpc 3.7 is being used.
1998-08-25 03:59:40 +00:00
Andreas Schwab
a8b1366533
(input-method-previous-message): Doc fix.
1998-08-24 10:11:57 +00:00
Andreas Schwab
a85a871a33
(file-coding-system-alist, select-safe-coding-system-function): Doc fix.
1998-08-24 10:05:10 +00:00
Kenichi Handa
f46869e46f
(detect_coding_iso2022): Don't check the byte length of
...
succeeding codes (0xa0..0xFF) if the codes follows single shit
code.
1998-08-24 06:42:56 +00:00
Kenichi Handa
25b026986f
(detect_coding_system): If detect_eol_type returns
...
CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED
correctly.
1998-08-21 06:34:13 +00:00
Richard M. Stallman
76ba958178
(Fcall_process): Use malloc for decoding_buf.
1998-08-19 17:44:21 +00:00
Richard M. Stallman
c683d70bd8
(LD_SWITCH_SYSTEM): Delete -dp.
1998-08-19 07:27:13 +00:00
Geoff Voelker
d08e1f6c0d
(SYSTEM_PURESIZE_EXTRA): Increase.
1998-08-19 03:48:17 +00:00
Kenichi Handa
0db078dc2c
(ccl_driver): In case
...
ccl_read_multibyte_character_suspend:, if ccl->last_block is
nonzero, jump to ccl_repeat.
1998-08-19 01:36:48 +00:00
Richard M. Stallman
1ddd1e348a
(tgetst1): Supprt EBCDIC systems.
...
(esctab): Alternate definition if IS_EBCDIC_HOST.
1998-08-18 20:58:45 +00:00
Kenichi Handa
4ccd0d4a7e
If eof is encounterd while processing the
...
last block, don't just finish but processes eol block of the
current CCL program.
(ccl_driver): Add a new jump label ccl_repeat for the above
change.
1998-08-18 13:15:18 +00:00
Kenichi Handa
7b179c2dc2
(ccl_coding_driver): Setup ccl->last_block properly.
...
(setup_coding_system): Correctly setup `valid_codes' member.
1998-08-18 13:15:18 +00:00
Kenichi Handa
1814bd62c5
(write_glyphs): When terminal_coding require flushing,
...
call encode_coding with "" as the SOURCE arg so that ccl_driver
correctly processes eof block of a CCL program.
1998-08-18 13:15:18 +00:00
Richard M. Stallman
b638f32846
(read_char): If not reading a key sequence (MAPS is nil),
...
bind input-method-exit-on-first-char and input-method-use-echo-area
to t.
(read_char): If PREV_EVENT is non-nil, don't run the input method.
(read_key_sequence): Do not bind input-method-function.
1998-08-18 11:12:25 +00:00
Richard M. Stallman
7a983715c8
(Fcall_interactively): Pass new args to Fread_event
...
and Fread_char. Let Fread_char do the prompting.
1998-08-18 11:06:30 +00:00
Richard M. Stallman
c2b705904d
(Ftranspose_regions): Pass 0 as NOMARKERS to replace_range.
1998-08-18 11:05:37 +00:00
Richard M. Stallman
5f65b1b477
(internal_self_insert): Pass 1 as NOMARKERS to replace_range.
1998-08-18 11:05:03 +00:00
Richard M. Stallman
485bf5811d
(Fread_event, Fread_char, Fread_char_exclusive):
...
Update declarations.
1998-08-18 11:04:16 +00:00
Richard M. Stallman
1bcc15674c
(Fmultibyte_char_to_unibyte): New function.
...
(syms_of_charset): defsubr it.
1998-08-18 11:02:54 +00:00
Richard M. Stallman
7ba13c57a2
(Fy_or_n_p): Don't bind input-method-function.
...
Instead, pass 0 as INPUT_METHOD to read_filtered_event.
1998-08-18 09:01:20 +00:00
Richard M. Stallman
bb49a19224
(read_filtered_event): New arg INPUT_METHOD. Calls changed.
...
(Fread_event): New args PROMPT and SUPPRESS-INPUT-METHOD.
(Fread_char, Fread_char_exclusive): Likewise.
1998-08-18 09:00:14 +00:00
Richard M. Stallman
60aa777aec
(replace_range): Rename NOMARKERS arg to MARKERS.
1998-08-18 07:00:00 +00:00