Commit graph

9104 commits

Author SHA1 Message Date
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
Andrew Innes
c1e0668149 (initialize_w32_display): Call init_crit to initialize
interrupt_handle (referenced by sys_select).
1998-06-22 17:33:05 +00:00
Kenichi Handa
55fd504836 (read_process_output): While processing carryover,
check the size of p->decoding_buf.
1998-06-22 00:24:57 +00:00
Eli Zaretskii
52fd88d3c4 (wait_reading_process_input): Recompute timeout each
time through the loop.  Check requeued_events_pending_p and exit
the loop if there is unread keyboard input.
1998-06-21 14:52:08 +00:00
Karl Heuer
ac3b28b194 (Freplace_match): Work by chars, not by bytes,
for scanning the old text, and for inserting new string in buffer.
1998-06-20 22:28:28 +00:00
Karl Heuer
01c752b506 (x_list_fonts): Keep alloca usage simple. 1998-06-20 22:17:48 +00:00
Karl Heuer
94487c4e37 Doc fixes. 1998-06-20 22:06:30 +00:00
Karl Heuer
799fdb040b (strout): Show multibyte message correctly. 1998-06-20 21:49:01 +00:00
Kenichi Handa
9b27b20d21 Comment for CCL_MapMultiple modified.. 1998-06-20 03:01:00 +00:00
Kenichi Handa
8ea691a60b (find_charset_in_str): Do not set the value of
charsets[LEADING_CODE_COMPOSITION].
1998-06-20 03:01:00 +00:00
Kenichi Handa
ca65341ea8 (read_process_output): Handle carryover correctly. 1998-06-20 03:01:00 +00:00
Kenichi Handa
a9a5b0a53c (dumpglyphs): Check the case that FACE_FONT (face) is
NULL.  While displaing cursor with non-default face, if the
variable `font' is NULL, don't set GCFont.
1998-06-20 03:01:00 +00:00
Karl Heuer
33d0a17f04 (syms_of_minibuf): Initialize buffer-name-history. 1998-06-19 16:53:40 +00:00
Karl Heuer
e3a10b5e59 (casify_object): Cope with modifier bits in character. 1998-06-18 04:11:28 +00:00
Geoff Voelker
9d3355d178 (is_unc_volume, open_unc_volume, read_unc_volume,
close_unc_volume, unc_volume_file_attributes): New functions.
(wnet_enum_handle): New variable.
(opendir, readdir, closedir, sys_access, stat): Handle UNC volumes.
1998-06-17 04:22:58 +00:00
Kenichi Handa
09c6077fa6 (x_list_fonts): If SIZE is zero and MAXNAMES is 1, use
XLoadQueryFont instead of XListFonts.
(x_load_fonts): Call x_list_fonts with MAXNAMES 1.
1998-06-16 07:32:05 +00:00
Richard M. Stallman
993824c9b3 (encode_eol): Fix typo that prevented converting to Mac
line endings.  Always update dst_bytes to number of bytes actually copied.
(decode_eol): Fix value of coding->produced when decoding Unix
line endings (in case this function is ever used for that).
1998-06-16 04:50:57 +00:00
Richard M. Stallman
f313ee82af (sys_rename): On some network drives, rename fails with
EACCES instead of EEXIST if target already exists.
1998-06-16 04:33:08 +00:00
Richard M. Stallman
43c158ed15 (message_dolog): GCPRO the oldpoint, oldbegv and oldzv
markers, and old_deactivate_mark.
1998-06-16 04:32:03 +00:00
Kenichi Handa
81a7030d5f (syms_of_fileio): Doc-string of the variable
set-auto-coding-function modified for the change above.
1998-06-15 01:20:26 +00:00