1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 22:11:21 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Kenichi Handa
9dfb82d5cc (dumpglyphs): After calling ccl_driver, set cp->byte1 to
zero for 1-byte font.
1998-07-19 05:17:35 +00:00
Kenichi Handa
8bc49fd1f3 (read_process_output): Even if we read data without
code conversion, calculate character counts.  If we insert the
data into a unibyte buffer, treat the data as unibyte.
1998-07-16 00:14:44 +00:00
Richard M. Stallman
20f6783d3c (Finsert_file_contents): When replacing, in multibyte bfr,
always extend the range to a character boundary.
1998-07-13 22:11:54 +00:00
Andrew Innes
070d1949d1 (add_menu_item): Draw menu items like titles if call_data is 0. 1998-07-13 19:54:15 +00:00
Eli Zaretskii
538d05bb65 (set_clipboard_data, get_clipboard_data, Fw16_set_clipboard_data,
Fw16_get_clipboard_data, Fx_selection_exists_p): Use CF_OEMTEXT instead
of CF_TEXT.
1998-07-13 14:29:35 +00:00
Andrew Innes
0108f679e4 (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
(Fw32_get_clipboard_data): Likewise.
1998-07-12 20:24:23 +00:00
Karl Heuer
0469366f99 (Fcopy_marker): Make return from wrong_type_argument
fall thru into normal case.
1998-07-12 19:13:45 +00:00
Richard M. Stallman
17e7ef1b77 (Fchars_in_region): Coerce markers. 1998-07-12 03:15:53 +00:00
Andrew Innes
e59fe83bff (w32_menu_show): Set widget call_data to 0 if definition is nil.
(add_menu_item): Gray menu entry if widget call_data is 0.
1998-07-11 21:52:17 +00:00
Richard M. Stallman
93e4ce1b88 (Vselection_coding_system):
Renamed from Vclipboard_coding_system.  All uses changed.
(syms_of_xselect): Rename Lisp variable.
1998-07-11 20:42:12 +00:00
Eli Zaretskii
583f5d53e6 (Vclipboard_coding_system): New variable.
(set_clipboard_data, set_clipboard_data): New parameter Raw
determines whether CRLF <-> NL translation needs to be done.  All
callers changed.
(Fw16_set_clipboard_data): Encode the text using
Vclipboard_coding_system, if necessary.
(Fw16_get_clipboard_data): Decode the text using
Vclipboard_coding_system, if necessary.
(syms_of_win16select): DEFVAR Vclipboard_coding_system and
staticpro it.
1998-07-09 14:02:15 +00:00
Kenichi Handa
826bfb8b08 (code_convert_string): Count characters again if we
encounter some invalid code while decoding.
1998-07-09 04:33:00 +00:00
Richard M. Stallman
262c8ceae7 Comment change. 1998-07-09 03:47:06 +00:00
Kenichi Handa
e3ae549a3b (fs_load_font): Typo in comments fixed. 1998-07-09 02:02:33 +00:00
Kenichi Handa
20398ea418 Typo in comments fixed. 1998-07-09 02:02:33 +00:00
Kenichi Handa
85bbb1345a (DECODE_ISO_CHARACTER): While decoding two-byte code,
if the sencond byte is invalid, produce the first byte as is.
1998-07-09 02:02:33 +00:00
Kenichi Handa
061bda8dfd (selection_data_to_lisp_data): Set Vlast_coding_system_used.
(lisp_data_to_selection_data): Likewize.
1998-07-09 02:02:33 +00:00
Kenichi Handa
25aa5d6464 (Fformat): Replace explicit numeric constants with proper macros. 1998-07-08 02:19:14 +00:00
Kenichi Handa
8b542479bb (concat): Replace explicit numeric constants with proper macros. 1998-07-08 02:19:14 +00:00
Richard M. Stallman
f71599f4b4 Whitespace change. 1998-07-06 22:29:52 +00:00
Kenichi Handa
8a73a70484 (Vgeneric_character_list): New variable.
(init_charset_once): Init and staticpro it.
(Fgeneric_character_list): New function.
(syms_of_charset): defsubr it.
1998-07-06 06:33:55 +00:00
Kenichi Handa
4c0fbc0814 (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR -
1), one less than the previous value.
(GENERIC_COMPOSITION_CHAR): New macro.
1998-07-06 06:33:55 +00:00
Kenichi Handa
0da528a909 (Fset_char_table_default): Check only if the charset of
the arg CH is in the valid range or not.  Handle the case that CH
is a generic character for composite characters.
1998-07-06 06:33:55 +00:00
Kenichi Handa
8f2917e4dc (Fformat): Pay attention to the byte combining problem. 1998-07-06 01:47:34 +00:00
Kenichi Handa
2df42e0965 (Finsert_file_contents): Cancel previous change. Setup
the variable coding even if the inserted bytes is zero.
1998-07-06 01:47:34 +00:00
Kenichi Handa
18cc260b22 (concat): Pay attention to the byte combining problem. 1998-07-06 01:47:34 +00:00
Richard M. Stallman
ad0153e46f (read_list): Pass new arg to get_doc_string. 1998-07-05 20:31:37 +00:00
Richard M. Stallman
32caae30ca (get_doc_string): Take both UNIBYTE and DEFINITION as args.
All callers changed.
1998-07-05 20:31:12 +00:00
Richard M. Stallman
c1c4693e69 (Ffile_regular_p) [WINDOWSNT]: Bind
`w32-get-true-file-attributes' to t while calling stat.
(Finsert_file_contents) [WINDOWSNT]: Likewise.
(Fwrite_region): Don't try seeking to end of FILENAME for
appending if not a regular file.
1998-07-03 20:01:02 +00:00
Kenichi Handa
1390393209 (Finsert): Typo in doc-string fixed.
(Finsert_and_inherit, Finsert_before_markers,
Finsert_and_inherit_before_markers):  Likewize.
1998-07-03 04:39:22 +00:00
Kenichi Handa
e921460071 (Finsert_file_contents): Do not set Vlast_coding_system
if inserted bytes is zero.
1998-07-03 04:33:12 +00:00
Richard M. Stallman
a79485afb8 (Faccess_file): Check type of second argument STRING.
(Fread_file_name): Bind minibuffer-completing-file-name to t.
1998-07-02 07:01:56 +00:00
Richard M. Stallman
ccf330a66b (Vminibuffer_completing_file_name): New var.
(syms_of_minibuf): Set up Lisp variable.
(Fminibuffer_complete_word): Test it, instead of checking
specifically for Qread_file_name_internal.
(Fcompleting_read): Likewise.
1998-07-02 07:01:21 +00:00
Richard M. Stallman
c8b14b5fbe [COFF]: New variable coff_offset.
(make_hdr) [MSDOS]: If a_name is a coff-go32-exe executable with a
prepended stub, compute coff_offset.
(make_hdr, copy_sym) [COFF]: Use coff_offset when seeking into temacs.
1998-06-29 22:54:28 +00:00
Richard M. Stallman
3ab0732d83 (Fbyte_to_position): New function.
(syms_of_editfns): defsubr it.
1998-06-29 18:35:52 +00:00
Richard M. Stallman
8a2df9371a (wordify): Fix i_byte even in unibyte case for copy loop.
If input is unibyte, make the output unibyte.
1998-06-29 17:20:52 +00:00
Eli Zaretskii
09ffb8b543 (Fcall_process) [! subprocesses]: Balance parentheses in an if clause. 1998-06-29 13:32:48 +00:00
Richard M. Stallman
16f06ce000 (x_list_fonts): Fix prev change: cast result of alloca. 1998-06-27 04:52:31 +00:00
Richard M. Stallman
4b817373b7 (Fx_list_fonts): Bring arglist into sync with xfns.c.
(x_set_font): Call face-set-after-frame-default.
(Qface_set_after_frame_default): New variable.
(syms_of_w32fns): Initialize it.
1998-06-27 04:44:01 +00:00
Kenichi Handa
64abe701f1 (Qemacs_mule): Extern it. 1998-06-26 04:14:52 +00:00
Kenichi Handa
77c070f379 (init_process): Initilize Vdefault_process_coding_system. 1998-06-26 04:13:40 +00:00
Kenichi Handa
54f7817141 (setup_raw_text_coding_system): New function.
(decode_coding_sjis_big5): Bug for handling invalid code fixed.
1998-06-26 03:29:15 +00:00
Kenichi Handa
e5ff4bc29e (setup_raw_text_coding_system): Extern it. 1998-06-26 03:29:15 +00:00
Kenichi Handa
d5d4ae7193 (Fstart_process): Check process-coding-system-alist
and default-process-coding-system even in unibyte mode.
(create_process): In unibyte mode, suppress character code
conversion.
1998-06-26 03:29:15 +00:00
Kenichi Handa
57515cfea1 (Finsert_file_contents): Call setup_raw_text_coding_system. 1998-06-26 03:29:15 +00:00
Richard M. Stallman
8a2ab0c691 (PRINTFINISH): Convert text to unibyte before
inserting in a unibyte buffer.
1998-06-24 18:32:53 +00:00
Richard M. Stallman
3dd00fc37c (get_doc_string): Adjust declaration. 1998-06-24 18:27:02 +00:00
Richard M. Stallman
6fe9cce5cf (read_list): Pass new arg to get_doc_string. 1998-06-24 18:26:36 +00:00
Richard M. Stallman
e96179b37a (get_doc_string): Take both UNIBYTE and DEFINITION as args.
All callers changed.
1998-06-24 18:26:20 +00:00
Richard M. Stallman
f1df0d6764 (get_doc_string): 2nd arg is now DEFINITION;
if non-nil, read a dynamic function definition.
(read_doc_string): Don't call read here.
1998-06-24 04:11:00 +00:00