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

10871 commits

Author SHA1 Message Date
Gerd Moellmann
157b72bb60 (Fbyte_code): Remove keyword_symbols_constant_flag. 2000-02-23 10:42:36 +00:00
Kenichi Handa
214f877f4d *** empty log message *** 2000-02-23 00:11:13 +00:00
Kenichi Handa
bd25db0802 (multibyte_syntax_as_symbol): New variable.
(syms_of_syntax): Declare it as a Lisp variable.
(SYNTAX_WITH_MULTIBYTE_CHECK): New macro.
(scan_lists): If both sexpflag and multibyte_syntax_as_symbol are
nonzero, treat all multibyte characters as symbol.
(init_syntax_once): Give syntax `word' to all mutlbiyte
characters.
2000-02-23 00:10:34 +00:00
Eli Zaretskii
130adcb74b (Fdelete_frame): Don't let echo_area_window to remain on a deleted frame. 2000-02-22 10:27:05 +00:00
Gerd Moellmann
17cbbf9537 (x_window_to_frame, x_any_window_to_frame)
(x_non_menubar_window_to_frame): Check the busy-cursor window.
2000-02-21 16:19:41 +00:00
Gerd Moellmann
cb2255b325 (Fmouse_position): GCPRO retval instead of x and y. 2000-02-21 16:17:24 +00:00
Dave Love
beb0bc361f (Vmouse_position_function): New variable.
(Fmouse_position): Use it.
(syms_of_frame): Install it.
2000-02-21 13:50:14 +00:00
Dave Love
65d0af2992 (find_charset_in_str): Fix use of c' instead of c1'. 2000-02-21 10:03:46 +00:00
Gerd Moellmann
1d92afcdb4 (Finsert_file_contents): Unbind the binding of
standard-output done by temp_output_buffer_setup.
2000-02-20 21:54:26 +00:00
Gerd Moellmann
329eed9f6e *** empty log message *** 2000-02-20 16:03:42 +00:00
Gerd Moellmann
620cc5fa30 (Fbyte_code) <Bvarset>: Inline most common case. 2000-02-20 15:55:38 +00:00
Gerd Moellmann
9ab90667d3 (funcall_lambda): Don't bind Qmocklisp_arguments unless
Vmocklisp_arguments is nil.  Inline Fcar and Fcdr.
(specbind, unbind_to): Handle most common case of non-constant
symbol with trivial value specially.
2000-02-20 15:55:07 +00:00
Richard M. Stallman
2d06696fdc *** empty log message *** 2000-02-20 14:31:40 +00:00
Richard M. Stallman
65d0110b85 Comment changes. 2000-02-20 14:30:15 +00:00
Richard M. Stallman
42e975f059 (Fmake_variable_buffer_local): Doc fix.
Init found_for_buffer to 0.
(Fmake_variable_frame_local): If the variable has already
been buffer-local, set the check_frame field.
2000-02-20 14:27:12 +00:00
Eli Zaretskii
1d4311c3a9 *** empty log message *** 2000-02-20 13:06:08 +00:00
Eli Zaretskii
241424da1b (IT_write_glyphs): Allocate a larger screen_buf as data
produced for CODING_MODE_LAST_BLOCK requires.
2000-02-20 13:04:39 +00:00
Dave Love
f2647d044c Amend last change to check for echo-keystrokes being zero, not nil. 2000-02-18 21:34:40 +00:00
Dave Love
2dc95ddd63 *** empty log message *** 2000-02-18 20:11:54 +00:00
Dave Love
39aab67990 (echo_keystrokes): Remove declaration.
(Vecho_keystrokes) New variable.
(read_char, record_menu_key, read_key_sequence): Use it to allow use of
float value.
(syms_of_keyboard): Change Vecho_keystrokes declaration.
2000-02-18 20:10:00 +00:00
Dave Love
f0b645bfc7 Undef feature selection macros before defining. 2000-02-18 19:47:49 +00:00
Gerd Moellmann
f0930f35f1 (let_shadows_buffer_binding_p): Ignore specbindings
for symbols other than the symbol in question.
2000-02-18 13:30:59 +00:00
Dave Love
e3d4de904d (C_DEBUG_SWITCH): Define to allow optimization. 2000-02-17 19:11:45 +00:00
Gerd Moellmann
d621caf7c8 *** empty log message *** 2000-02-17 16:18:09 +00:00
Gerd Moellmann
2313132fd2 (main): Use #if GC_MARK_STACK instead of #ifdef. 2000-02-17 16:17:17 +00:00
Gerd Moellmann
0b3789363d (enum mem_type): Compile unconditionally. 2000-02-17 16:15:06 +00:00
Eli Zaretskii
3b451f7412 (tty_defined_color): Don't return faulire indication
for unspecified-fg and unspecified-bg pseudo-colors.
2000-02-17 15:32:52 +00:00
Gerd Moellmann
1216f5e413 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
(GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
[GC_MARK_STACK]: New defines.
(GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO)
[GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops.
2000-02-17 15:23:58 +00:00
Gerd Moellmann
39ec21eae0 (main) [GC_MARK_STACK]: Initialize stack_base. 2000-02-17 15:22:35 +00:00
Gerd Moellmann
a21260d97c (Fget_buffer_create, Fmake_indirect_buffer): Use
allocate_buffer instead of xmalloc.
2000-02-17 15:21:58 +00:00
Gerd Moellmann
344000084d (mark_object): Don't mark symbol names in pure space.
(gc_sweep): Don't unmark symbol names in pure space.

(toplevel): Include setjmp.h.
(PURE_POINTER_P): New define.
(enum mem_type) [GC_MARK_STACK]: New enumeration.
(Vdead) [GC_MARK_STACK]: New variable.
(lisp_malloc): Add parameter TYPE, call mem_insert if
GC_MARK_STACK is defined.
(allocate_buffer): New function.
(lisp_free) [GC_MARK_STACK]: Call mem_delete.
(free_float) [GC_MARK_STACK]: Set type to Vdead.
(free_cons) [GC_MARK_STACK]: Set car to Vdead.
(stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables.
(MEM_NIL) [GC_MARK_STACK]: New define.
(struct mem_node) [GC_MARK_STACK]: New structure.
(mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup)
(mem_delete_fixup, mem_rotate_left, mem_rotate_right)
(live_string_p, live_cons_p, live_symbol_p, live_float_p)
(live_misc_p, live_vector_p, live_buffer_p, mark_memory)
(mark_stack) [GC_MARK_STACK]: New functions.
(Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack.
(clear_marks): Removed.
(gc_sweep): Set free conses' car, free floats' type, free
symbols' function to Vdead.  Use lisp_free to free buffers.
(init_alloc_once): Initialize Vdead.
(survives_gc_p): Return non-zero for pure objects.

Add comments throughout the file.
2000-02-17 15:21:21 +00:00
Gerd Moellmann
2503c8b1ae (stop_other_atimers): Don't call cancel_atimer because
that unblocks alarms.
2000-02-17 13:15:26 +00:00
Gerd Moellmann
8389e1e25c *** empty log message *** 2000-02-17 09:49:05 +00:00
Gerd Moellmann
cc94f3b24e Remove LISP_FLOAT_TYPE' and standalone'. 2000-02-17 09:45:46 +00:00
Gerd Moellmann
10689a01d9 (make_frame): Set frame initiallly to `garbaged'. 2000-02-17 09:20:23 +00:00
Kenichi Handa
4a09dee02e (decode_mode_spec_coding): Delete superfluous code.
Allocate sufficient memory for eol_str in the case that eoltype is
Lisp_Int.
2000-02-17 08:19:21 +00:00
Kenichi Handa
bfc17d180a *** empty log message *** 2000-02-17 08:15:20 +00:00
Stefan Monnier
2b927d02c8 (Fforward_comment): Undo the previous change, since cc-mode
depends on the previous behavior.
2000-02-17 05:57:38 +00:00
Gerd Moellmann
b49cb76457 (vfork) [!HAVE_VFORK]: Removed. 2000-02-16 00:36:27 +00:00
Gerd Moellmann
99e95407a0 *** empty log message *** 2000-02-15 10:30:58 +00:00
Gerd Moellmann
aace035ecc (BROKEN_PTY_READ_AFTER_EAGAIN): Define. 2000-02-15 10:27:48 +00:00
Gerd Moellmann
3433b6bdab (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]:
Workaround for FreeBSD bug.  Flush output queue after EAGAIN in
write(2).
2000-02-15 10:27:23 +00:00
Richard M. Stallman
27a6c72932 (specbind): For buffer-local value, record the current buffer also.
(unbind_to): Cope with that change.
2000-02-15 09:58:41 +00:00
Richard M. Stallman
1f35ce36c2 (set_internal): Don't make variable buffer-local
if within a let-binding for the same buffer.
(let_shadows_buffer_binding_p): New function.
2000-02-15 09:57:33 +00:00
Richard M. Stallman
6ffd3cf701 *** empty log message *** 2000-02-15 09:56:18 +00:00
Gerd Moellmann
cad5347512 (Fsave_window_excursion): Doc fix. 2000-02-15 09:35:31 +00:00
Stefan Monnier
1aa963c813 (back_comment): Make sure we only consider comment-starters
of the relevant style and return -1 in case of a failure to find the
beginning of the comment.
(Fforward_comment): If back_comment fails, go back to the position just
after the comment-end.
(scan_lists): Add comment describing a very minor bug.
2000-02-15 06:21:26 +00:00
Stefan Monnier
b9b84fd34d (Ftry_completion, Fall_completions): Add a reference to
`completion-regexp-list' in the docstring.
2000-02-14 23:36:15 +00:00
Dave Love
3a28db80b0 (tty_defined_color): Declare color_idx unsigned long. 2000-02-14 18:05:57 +00:00
Stefan Monnier
fb4a568d44 * regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
to Emacs' syntax.  Also fix the comment about set/not-set meanings
since Emacs syntax is not the value 0 any more.
* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
since it's now part of RE_SYNTAX_EMACS.
2000-02-14 17:00:16 +00:00