Richard M. Stallman
3ea2d8b25c
(Fexpand_file_name): Change conditional
...
in previous change from WINDOWSNT to DOS_NT.
1998-05-17 21:37:02 +00:00
Richard M. Stallman
0aa8c4b24d
(insert_1_both, insert_from_string_1, replace_range)
...
(insert_from_buffer_1, adjust_before_replace, adjust_after_replace):
Don't copy text being deleted, if undo is disabled.
1998-05-16 20:34:59 +00:00
Richard M. Stallman
f5321b5c8a
(Fexpand_file_name) [WINDOWSNT]: Be careful not to
...
concatenate the directory prefix and file name to accidentally
create a network share name.
1998-05-16 19:56:07 +00:00
Richard M. Stallman
adc1d5c873
(read_char): If redisplay is preempted,
...
try swallow_events; if that clears input_pending,
finish the redisplay.
(parse_menu_item): Removed unnecessary gcproing.
Fix a test of inmenubar.
1998-05-16 18:30:52 +00:00
Richard M. Stallman
00a9a93524
(readchar): Use readchar_backlog again
...
to read a character byte by byte, if its byte sequence
does not really match the character code.
(unreadchar): Handle readchar_backlog.
(readevalloop, Fread): Initialize readchar_backlog to -1.
1998-05-16 18:30:00 +00:00
Richard M. Stallman
a7e4cdde61
(search_buffer): Set search regs for all success with an empty string.
...
(set_search_regs): Clear out all regs except 0.
1998-05-15 22:23:01 +00:00
Richard M. Stallman
b44c3d59fa
(signal_quit): Add prototype.
1998-05-15 20:55:45 +00:00
Richard M. Stallman
86143765b7
(sys_select): Always wait on interrupt_handle, so that
...
user can break out of `accept-process-input' (for instance) by typing C-g.
1998-05-15 20:55:26 +00:00
Richard M. Stallman
53d6080399
(w32_wnd_proc): Call signal_quit when C-g is received.
1998-05-15 20:53:53 +00:00
Richard M. Stallman
1ce3dc2b2d
(interrupt_handle): New variable.
...
(init_crit): Initialize it.
(delete_crit): Cleanup on exit.
(signal_quit): New function. Signal any threads that are blocked
on a "system" call (provided they have been specially written to
check for this), so the call can fail with EINTR as on Unix.
1998-05-15 20:53:39 +00:00
Richard M. Stallman
df4cb2b7ad
Renamed "struct buffer" to "struct termcap_buffer" to
...
avoid confusing the MSVC debugger.
1998-05-15 00:34:07 +00:00
Geoff Voelker
8331e67615
(w32_ring_bell): Flash window correctly.
1998-05-14 05:16:54 +00:00
Richard M. Stallman
6b3a18963a
(Finsert_file_contents): Don't check non-regular
...
files for a coding: specification.
1998-05-14 03:54:50 +00:00
Eli Zaretskii
360c227503
(init_environment): Set TMPDIR to an existing
...
directory. Abort if none of the usual places is available.
1998-05-13 15:12:18 +00:00
Richard M. Stallman
feb9dc27d7
(Finsert_file_contents): Check that a -*- coding: -*- spec
...
or a local variables list exists, before Vset_auto_coding_function.
1998-05-13 06:47:40 +00:00
Richard M. Stallman
74cf0beb86
(skip_chars): When fetching char after \,
...
don't fail to set c_leading_code.
1998-05-13 06:47:15 +00:00
Richard M. Stallman
669c6673fc
(Fminibuffer_complete_word): Fix the string-comparison loop.
1998-05-13 00:30:55 +00:00
Richard M. Stallman
ba29c3c941
(get_doc_string): New arg UNIBYTE
...
Maybe use make_unibyte_string. All callers changed.
(read_doc_string): Specify 1 for UNIBYTE.
1998-05-12 23:11:10 +00:00
Richard M. Stallman
70697733d4
(Finsert_file_contents): Don't use the fast replace code
...
if coding needs eol conversion.
(Finsert_file_contents) [DOS_NT]: When setting buffer_file_type,
if code conversion is needed, file is not binary.
1998-05-12 23:10:15 +00:00
Richard M. Stallman
fd3613d785
(parse_menu_item): Argument inmenubar < 0 now means
...
parsing a keyboard menu item.
(read_char_minibuf_menu_prompt): Use `parse_menu_item' to understand
new menu item format.
1998-05-12 21:33:59 +00:00
Richard M. Stallman
bb1584c878
(stat, get_long_basename): Fail if filename contains any
...
characters that are illegal in file names.
1998-05-12 21:33:44 +00:00
Richard M. Stallman
7d3159862c
(Fall_completions, Ftry_completion): Compare char sizes, not STRING_BYTES.
1998-05-12 20:15:27 +00:00
Richard M. Stallman
9404446f1e
(assoc_for_completion): Use Fcompare_strings.
...
(test_completion): In obarray, try both unibyte and multibyte strings.
(read_minibuf): Convert unibyte prompt to multi if minibuffer is multi.
(Fdisplay_completion_list): Convert unibyte to strings to multibyte
to conform to the buffer.
1998-05-12 02:48:51 +00:00
Richard M. Stallman
09cacf9c79
(redisplay_window): Handle scroll_step along with
...
scroll_conservatively. Fix 1-off error checking the limit for them.
1998-05-11 16:36:02 +00:00
Richard M. Stallman
88eace34a7
(unlock_file): Encode the file name.
1998-05-11 15:52:28 +00:00
Richard M. Stallman
b69f979760
(Fset_buffer_multibyte): Error if marker is put
...
on buffer's marker-chain while we have temporarily put nil there.
1998-05-11 01:14:36 +00:00
Richard M. Stallman
7693a579bd
(unchain_marker): Abort if the marker is not in its buffer's chain.
...
(buf_bytepos_to_charpos): Fix assignment of `record'
when scanning from below.
Don't create a marker if buffer's marker chain is empty.
1998-05-11 01:11:02 +00:00
Richard M. Stallman
95fb069bc9
Comment change.
1998-05-11 01:08:59 +00:00
Richard M. Stallman
f072a3e84c
(code_convert_region1): Set Vlast_coding_system_used.
...
(code_convert_string1): Likewise.
(Fdecode_coding_region, Fencode_coding_region): Doc fixes.
(Fdecode_coding_string, Fencode_coding_string): Doc fixes.
1998-05-10 21:52:08 +00:00
Richard M. Stallman
6791894163
(Fstart_process): Remove the special case for
...
unibyte, for initializing the process coding systems.
Instead, use the normal multibyte code, but check
BUFFER's value and the default value of enable-multibyte-characters.
(Fopen_network_stream): Likewise.
1998-05-10 19:21:05 +00:00
Richard M. Stallman
6f940ba15d
(TAGS): Specify directory when running etags.
1998-05-10 07:01:15 +00:00
Richard M. Stallman
b77ad57db9
(Fbyte_code): Don't use Bmark.
1998-05-10 01:16:42 +00:00
Richard M. Stallman
14a8902aad
(xstring): Handle unibyte strings.
...
(xchartable, xboolvector): New commands.
1998-05-10 01:13:11 +00:00
Richard M. Stallman
e6b5063973
(redisplay_window): Don't use last_point_x and last_point_y
...
if cursor_in_echo_area.
1998-05-10 00:40:00 +00:00
Richard M. Stallman
406e55df20
(Qbuffer_name_history): New variable.
...
(syms_of_minibuf): Initialize it.
(Fread_buffer): Use that history list.
1998-05-09 23:55:27 +00:00
Richard M. Stallman
5ab13dd02e
(detect_coding_mask): Check also coding-category-binary.
1998-05-09 21:47:17 +00:00
Richard M. Stallman
7c7ca3d217
(scan_lists, scan_sexps_forward): Move complex expressions
...
outside of the switch statement.
1998-05-09 07:39:00 +00:00
Kenichi Handa
9129bcc3bd
Fix previous change.
1998-05-09 01:23:58 +00:00
Richard M. Stallman
4724eab4ec
(Fcall_process): Fix test for when to call Ffind_operation_coding_system.
1998-05-08 05:14:47 +00:00
Richard M. Stallman
c71c19f497
Comment change.
1998-05-08 05:10:29 +00:00
Kenichi Handa
c38bd42839
(compute_motion): Fix, in a different way, the bug of handling
...
wide-column character around right margin.
1998-05-08 04:17:48 +00:00
Richard M. Stallman
33fe7d2059
(compute_motion): Undo both May 7 changes.
1998-05-08 02:28:22 +00:00
Richard M. Stallman
64f6f0d84b
(doprnt1): Cast arg to CHAR_STRING.
1998-05-08 02:20:38 +00:00
Kenichi Handa
4aa5eb5a42
(compute_motion): Fix previous change.
1998-05-08 00:08:09 +00:00
Richard M. Stallman
d131e79c3a
(Freplace_match): Fix the loop for copying text
...
from a string, in handling lastpos and pos.
1998-05-07 23:15:14 +00:00
Richard M. Stallman
f0f95d3101
(Fexpand_file_name) [DOS_NT]: Note when special escape
...
prefix /: is present, and reinsert after name has been expanded.
Only recognize drive specifier at beginning of name.
(Fexpand_file_name): Don't strip trailing slash if newdir is just /.
1998-05-07 23:11:57 +00:00
Richard M. Stallman
a458d45d9e
(Fintern): Properly compare lisp objects.
1998-05-07 20:48:17 +00:00
Richard M. Stallman
899cb8f0f3
(set_internal): Properly compare lisp objects.
...
(Fmakunbound): Likewise.
1998-05-07 20:47:53 +00:00
Eli Zaretskii
02b9b4fd8a
(init_process, syms_of_process): Make definition consistent with
...
prototypes on lisp.h
1998-05-07 07:46:41 +00:00
Kenichi Handa
dbc08868a2
(compute_motion): Fix bug of handling wide-column
...
character around right margin.
1998-05-07 06:41:12 +00:00