1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 07:30:59 -08:00
Commit graph

9296 commits

Author SHA1 Message Date
Kenichi Handa
519bf1461a (ccl_driver): Report correct CCL program counter on error. 1998-09-22 10:33:09 +00:00
Kenichi Handa
703dc2a895 (single_submenu) [! HAVE_MULTILINGUAL_MENU]: Make
strings unibyte.
(xmenu_show) [! HAVE_MULTILINGUAL_MENU]: Likewise.
1998-09-22 10:33:09 +00:00
Kenichi Handa
24819c4351 (Fcall_interactively): Don't use input method when
reading a character in the case of `c' code letter.
1998-09-22 10:23:40 +00:00
Dave Love
5b2a531650 (Fsave_restriction): Doc fix. 1998-09-21 17:43:14 +00:00
Karl Heuer
cac84ff0a2 (build_load_history): Do add to Vload_history
even when dumping Emacs.
1998-09-21 16:31:46 +00:00
Kenichi Handa
12abd7d10f (CCL_WRITE_CHAR): Don't use bcopy.
(ccl_driver): If BUFFER-MAGNIFICATION of the CCL program is 0,
cause error if the program is going to output some bytes.  When
outputing a string to notify an error, check the case that
DST_BYTES is zero.
1998-09-18 13:10:40 +00:00
Kenichi Handa
9864ebcee4 (ccl_coding_driver): If ccl_driver is interrupted by a
user or the CCL program executed an invalid command, return
CODING_FINISH_INTERRUPT.
(code_convert_region): Pay attention to the converters return
value CODING_FINISH_NORMAL and CODING_FINISH_INTERRUPT.
1998-09-18 13:10:40 +00:00
Kenichi Handa
1ee0bc0950 (CODING_FINISH_INTERRUPT): New macro. 1998-09-18 13:10:40 +00:00
Kenichi Handa
23b20a7066 (adjust_markers_for_replace): Don't adjust a byte
position if it is FROM.
(adjust_markers_for_combining): New function.
(combine_bytes): Call adjust_markers_for_combining instead of
adjust_markers_for_replace.
(adjust_after_replace): Record deletion of combining after bytes
with the correct position.  Don't add combining bytes to the args
given to adjust_point.  Handle correctly the case that there are
both before and after combining bytes.
(replace_range): Likewise.  Record the actual deletion after
recoding deletions of combining bytes.
1998-09-16 07:21:31 +00:00
Kenichi Handa
f2558efddd (code_convert_region): Update beg_unchanged and
end_unchanged after we delete the source text.
1998-09-16 07:21:31 +00:00
Kenichi Handa
457262616e (message_log_check_duplicate): Count byte length of the
latest message correctly.
1998-09-16 07:21:31 +00:00
Karl Heuer
05edf8bd68 (Fmake_local_variable): Doc fix. 1998-09-13 03:58:36 +00:00
Karl Heuer
26a9b1f3b7 (redisplay_internal): Use TEMP_SET_PT_BOTH
instead of SET_PT_BOTH.
(try_window_id, display_text_line): Likewise.
1998-09-13 03:54:01 +00:00
Dave Love
451f7df83b (Fwith_output_to_temp_buffer): Doc fix. 1998-09-10 22:51:33 +00:00
Karl Heuer
5cfc5cbe70 (TIOCSIGSEND): Add #undef.
(bcopy, bcmp, bzero): Add #undef.
1998-09-10 15:59:36 +00:00
Karl Heuer
b519fca5a6 (main): Mention --display and --eval in help. 1998-09-10 15:54:42 +00:00
Karl Heuer
a94a433590 (command_loop_1): When switching to selected window's bfr,
first exit if selected frame is dead (no live frames remain).
(read_key_sequence): Likewise.
1998-09-10 15:47:53 +00:00
Paul Eggert
be09e6e6bf Add a comment to emacs_memftime, explaining why it needs to loop. 1998-09-09 21:33:50 +00:00
Paul Eggert
70ebbe5f81 (emacs_memftime): New function.
(Fformat_time_string): Use it to handle null bytes in formats
correctly.
1998-09-08 03:56:09 +00:00
Kenichi Handa
8bedbe9dc2 (adjust_after_replace): Don't add combining bytes to
the args given to adjust_point.  Handle correctly the case that
there are both before and after combining bytes.
(replace_range): Likewise.
1998-09-08 02:01:59 +00:00
Kenichi Handa
9869520f33 (Fsubst_char_in_region): Call replace_range with the
arg MARKERS 1.
1998-09-08 02:01:59 +00:00
Kenichi Handa
2e45bf1801 (Ffind_charset_region): Optimization for unibyte buffer.
(Ffind_charset_string): For unibyte string, return (ascii).
1998-09-08 02:01:59 +00:00
Karl Heuer
24c129e40e (base64_decode_1, base64_encode_1): New functions.
(Fbase64_decode_string, Fbase64_encode_string): New functions.
(Fbase64_decode_region, Fbase64_encode_region): New functions.
1998-09-07 19:58:05 +00:00
Karl Heuer
f7993597fa (Fwidget_put): Return VALUE instead of garbage. 1998-09-07 17:34:59 +00:00
Karl Heuer
955f3ff914 (error): After enlarging buffer, write to it, not to buf. 1998-09-07 17:31:29 +00:00
Kenichi Handa
b57a7b0bf4 (count_combining_after): Check also preceding bytes at
POS if all characters in STRING are not character head.
1998-09-07 13:39:15 +00:00
Kenichi Handa
8783b77f5b (STRING_CHAR_AND_LENGTH): Return correct value in
ACTUAL_LEN even if LEN is too short to have a valid multibyte
form.
(STRING_CHAR_AND_CHAR_LENGTH): Likewise.
1998-09-07 13:39:15 +00:00
Kenichi Handa
69f7652519 (ccl_coding_driver): Always calculate correct mulibyte
chars in produced byte sequence.
(Ffind_operation_coding_system): Doc-string fixed.
1998-09-07 13:39:15 +00:00
Paul Eggert
177ea5f115 (Fformat_time_string, Fdecode_time, Fcurrent_time_zone):
Don't assume that localtime and gmtime return non-NULL.
1998-09-06 15:49:17 +00:00
Karl Heuer
bf6ab66c9a (Fformat): Detect incomplete format spec at string's end. 1998-09-06 14:40:21 +00:00
Karl Heuer
5e24a1f76c (Fload): Handle case where openp finds a magic file
but it has no `load' handler or that handler calls `load'.
If FOUND != FILE, find FOUND's handler even if inhibited for FILE.
1998-09-06 13:57:32 +00:00
Dave Love
ed218f733e (enable-multibyte-characters): Doc fix. 1998-09-04 14:08:26 +00:00
Geoff Voelker
3c1f9d6603 (allocate_heap): Define NTHEAP_PROBE_BASE by default. 1998-09-02 05:25:38 +00:00
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