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

10633 commits

Author SHA1 Message Date
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
Richard M. Stallman
6c0316aea2 (syms_of_buffer) <buffer-file-coding-system>: Doc fix. 1998-05-07 04:02:36 +00:00
Kenichi Handa
7a7ab107f9 (Fcall_process): If we must display received data on
the fly, don't wait until a buffer is filled.
1998-05-07 01:05:36 +00:00
Richard M. Stallman
9d99031fcf (regex_compile): When checking after exactn
for a repetition operator, don't look beyond end of pattern arg.
1998-05-06 20:46:35 +00:00
Richard M. Stallman
8bb697c0d6 (main): Call the syms_of_... and keys_of_... functions
earlier, before init_vms_input and init_display.
1998-05-06 20:44:38 +00:00
Richard M. Stallman
833d591d60 (create_process): Add cast when calling encode_coding
and another when storing buf into new_argv.
1998-05-05 19:33:16 +00:00
Richard M. Stallman
643c73b90b (barf_or_query_if_file_exists): Encode file name.
(Finsert_file_contents): Don't use gap pos to set point
if del_range_byte deleted 0 characters.
1998-05-05 19:32:02 +00:00
Richard M. Stallman
a558a05d61 (Fmake_bool_vector): Clear out extraneous bits at end. 1998-05-05 19:30:33 +00:00
Richard M. Stallman
cb6792d2db (boyer_moore): Check more reliably for ptr[1] being
out of range.  Use pat_end to point at the pattern's end.
1998-05-05 06:25:58 +00:00
Richard M. Stallman
38cf95df42 (encode_coding_iso2022): Don't skip a code following some invalid code. 1998-05-04 22:33:38 +00:00