1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 16:30:46 -08:00
Commit graph

9123 commits

Author SHA1 Message Date
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
Richard M. Stallman
8f9db2b73f (indented_beyond_p): Return the right kind of value. 1998-06-23 20:31:53 +00:00
Richard M. Stallman
956e3c7e0b (sort_args): Discard duplicate options with no args.
(main): With duplicate -d options, use the last one.  Likewise for -t.
Check -d last, by checking for -nl earlier on.
1998-06-23 14:42:40 +00:00
Richard M. Stallman
68c46464e6 (command_loop): Reset executing_macro after
command_loop_2 has returned, in case a throw to exit or top-level
was executed as part of a keyboard macro.
1998-06-23 03:09:24 +00:00
Richard M. Stallman
3ffde7d691 (Fcall_process): Handle third argument BUFFER
consistently when it is an integer or a list.
1998-06-23 03:07:05 +00:00
Kenichi Handa
7c19e8e146 (Fmodify_syntax_entry): Use macro STRING_BYTES to get
byte size of a string.
1998-06-23 00:29:51 +00:00
Andrew Innes
bbb059f390 Include buffer.h, charset.h, and coding.h.
(Vclipboard_coding_system): New variable.
(syms_of_w32select): DEF_VAR it.
(Fw32_set_clipboard_data): Encode string using
Vclipboard_coding_system if necessary.
(Fw32_get_clipboard_data): Decode clipboard contents using
Vclipboard_coding_system if necessary.
1998-06-22 17:43:15 +00:00
Karl Heuer
375fcc095f (print_string): Properly compute number of chars
in multibyte case, before calling strout.
1998-06-22 17:39:25 +00:00
Karl Heuer
735c094c0e (Vinhibit_redisplay, Qinhibit_redisplay): New variables.
(syms_of_xdisp): Set up Lisp var.
(redisplay_internal): Test Vinhibit_redisplay.
1998-06-22 17:35:41 +00:00
Karl Heuer
44e553a3fc (menu_item_eval_property): Bind Qinhibit_redisplay. 1998-06-22 17:34:59 +00:00
Karl Heuer
d74347bc38 (Qinhibit_redisplay): Declared. 1998-06-22 17:33:13 +00:00