Commit graph

10679 commits

Author SHA1 Message Date
Gerd Moellmann
3139018fdf *** empty log message *** 2000-01-13 12:07:39 +00:00
Gerd Moellmann
2542139e1c (Fplay_sound): Improve doc string. 2000-01-13 12:06:44 +00:00
Richard M. Stallman
83c8f4616a (with-syntax-table): Moved to subr.el. 2000-01-12 03:08:29 +00:00
Richard M. Stallman
719177b33f (specbind): Record buffer-local variables specially,
indicating which buffer's binding was saved.
(unbind_to): Restore buffer-local variables specially
in the proper buffer.

(specbind, unbind_to): Pass new arg to set_internal.
2000-01-11 22:18:47 +00:00
Richard M. Stallman
2829d05f57 (set_internal): New arg BUF.
(Fset): Pass new arg to set_internal.
2000-01-11 22:18:09 +00:00
Richard M. Stallman
c96d71f715 (Fbyte_code): Pass new arg to set_internal. 2000-01-11 22:17:34 +00:00
Richard M. Stallman
5fd6e27432 (set_internal): Enter the new arg. 2000-01-11 22:16:55 +00:00
Gerd Moellmann
1fab1775e0 *** empty log message *** 2000-01-11 22:12:07 +00:00
Gerd Moellmann
24b4d1bc29 Adapt to new strings. 2000-01-11 22:07:09 +00:00
Richard M. Stallman
7e4639db61 (Ftry_completion): Doc fix. 2000-01-11 17:35:53 +00:00
Richard M. Stallman
6f59462e3b *** empty log message *** 2000-01-11 17:35:05 +00:00
Gerd Moellmann
7a85e4dfa3 *** empty log message *** 2000-01-11 13:24:19 +00:00
Gerd Moellmann
e27b53f62f Add last change to doc string. 2000-01-11 13:14:54 +00:00
Gerd Moellmann
fb0dde6c62 (Fclear_this_command_keys): Clear recent_keys
vector, too.
2000-01-11 13:11:14 +00:00
Andreas Schwab
a970dae404 . 2000-01-11 10:26:40 +00:00
Andreas Schwab
4b39528cda (code_convert_region): Initialize total_skip. 2000-01-11 10:20:25 +00:00
Dave Love
c65d14eef1 *** empty log message *** 2000-01-08 15:20:57 +00:00
Gerd Moellmann
834938d20f (Fcompleting_read): Doc fix. 2000-01-07 13:56:00 +00:00
Dave Love
caff32a7cb (Fuser_variable_p): Check customizability too. 2000-01-06 16:37:03 +00:00
Gerd Moellmann
8a26744bb3 *** empty log message *** 2000-01-05 09:17:53 +00:00
Gerd Moellmann
ef539202f1 (C_SWITCH_SYSTEM): Add -I /usr/local/include and
-L /usr/local/lib.
2000-01-05 09:15:33 +00:00
Gerd Moellmann
e0303cd645 *** empty log message *** 2000-01-04 23:09:30 +00:00
Gerd Moellmann
86779fac99 (x_create_im): New function to set IM and IC of a frame.
Check that input style is supported before trying to create an
IC for it.
(x_window): Call x_create_im.
2000-01-04 23:08:36 +00:00
Gerd Moellmann
560a7bd208 *** empty log message *** 2000-01-04 21:32:26 +00:00
Gerd Moellmann
f036834aeb (current_gif_memory_src): New variable.
(gif_load): Record the address of the current memory source
in current_gif_memory_src.
(gif_read_from_memory): Use current_gif_memory_src.
2000-01-04 21:22:24 +00:00
Gerd Moellmann
f9ee84a38c (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give
macros statement form.
2000-01-04 17:14:55 +00:00
Gerd Moellmann
d1299cdeca (struct sound): Renamed from struct sound_file.
(struct sound): Add members `data' and `header_size'.
(enum sound_attr): Add SOUND_DATA.
(current_sound, current_sound_device): Variables renamed from
sound_file and sound_device.
(parse_sound): Parse :data.
(parse_sound): Handle sound data in strings.
(find_sound_type): Function renamed from find_sound_file_type.
(wav_init, au_init): Fail if sound's header_size is smaller than
needed header size.
(wav_play, au_play): Play sounds from string data.
2000-01-04 14:45:08 +00:00
Gerd Moellmann
2e471eb5f3 (Fgarbage_collect): Return number of live and free
strings.

(mark_buffer): Remove code in #if 0.
(gc_sweep): Ditto.
(UNMARK_BALANCE_INTERVALS): Give the macro statement form.
(strings_consed): New variable.
(allocate_string): Set it.
(syms_of_alloc): Add DEFVAR_INT for strings_consed.
(Fmemory_use_counts): Return strings_consed.  Use Flist.

General cleanup in comments etc.  Remove conditional
compilation for `standalone'.

(MARK_STRING, UNMARK_STRING, STRING_MARKED_P):
(GC_STRING_BYTES, GC_STRING_CHARS): New macros.
(DONT_COPY_FLAG): Removed.
(SBLOCK_SIZE, LARGE_STRING_BYTES): New macros.
(struct sdata, struct sblock): New
(struct string_block): Rewritten.
(STRINGS_IN_STRING_BLOCK): New macro.
(oldest_sblock, current_sblock, total_strings, total_free_strings)
(large_sblocks, string_blocks, string_free_list): New variables.
(NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros.
(init_strings): Rewritten.
(allocate_string, allocate_string_data, compact_small_strings)
(free_large_strings, sweep_strings): New functions.
(STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE)
(struct string_block_head, current_string_block)
(first_string_block, large_string_blocks, STRING_FULLSIZE)
(STRING_PAD): Removed.
(make_uninit_multibyte_string, make_pure_string): Rewritten.
(Fgarbage_collect): Don't set mark bit in large strings.
(mark_object): Mark strings differently.  Mark symbol names
differently.
(survives_gc_p): Test marked strings differently.
(gc_sweep): Sweep strings differently, unmark strings in
symbol names.
(compact_strings): Removed.
2000-01-04 12:25:51 +00:00
Gerd Moellmann
f05d7ea229 Add prototype for allocate_string_data.
(struct Lisp_String): Make DATA member `unsigned char *'.
2000-01-04 12:21:48 +00:00
Gerd Moellmann
e5372b9c5e (BASE_PURE_SIZE): Increase to 600000. 2000-01-04 12:21:21 +00:00
Eli Zaretskii
42608ba81d (syms_of_xfaces): defsubr Scolor_gray_p and
Scolor_supported_p even if HAVE_X_WINDOWS is not defined.
2000-01-04 11:56:22 +00:00
Kenichi Handa
9f57b6b4ef (Finsert_file_contents): Signal error if visiting file
in a non-empty buffer.
2000-01-04 08:15:09 +00:00
Kenichi Handa
dd9f0750da *** empty log message *** 2000-01-04 08:14:39 +00:00
Kenichi Handa
3c0f3b1567 *** empty log message *** 2000-01-04 02:42:44 +00:00
Kenichi Handa
c989b7be8f (encode_terminal_code): Fix the previous change. 2000-01-04 01:58:49 +00:00
Kenichi Handa
e0a09e1a04 *** empty log message *** 2000-01-04 01:53:54 +00:00
Gerd Moellmann
44cd3ae58d (NO_EDITRES): Define even if HAVE_LIBXMU. 2000-01-03 21:22:35 +00:00
Gerd Moellmann
ea4fa0af4b (syms_of_xfaces): Change Sface_color_gray_p to
Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p.
2000-01-03 21:20:37 +00:00
Eli Zaretskii
c182a70f74 *** empty log message *** 2000-01-03 17:04:20 +00:00
Eli Zaretskii
fb3842a809 (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No
need to test for MSDOS frames.
2000-01-03 17:02:31 +00:00
Eli Zaretskii
24480d5b08 (unspecified_colors): Remove.
(msdos_stdcolor_idx): Use global variables unspecified_fg and
unspecified_bg.
(msdos_stdcolor_name): Return strings for unspecified fore- and
back-ground colors.
2000-01-03 16:56:40 +00:00
Eli Zaretskii
ef917393c4 (Qunspecified_fg, Qunspecified_bg): Remove.
(syms_of_xfaces): Remove their staticpro's.
(tty_color_name): Return Lisp strings for unspecified fore- and
back-ground colors.
(Finternal_set_lisp_face_attribute): Remove the special treatment
for Qunspecified_{f,b}g.
(realize_default_face): Replace Qunspecified_{f,b}g with a Lisp
string.
2000-01-03 16:52:52 +00:00
Gerd Moellmann
047f434ac5 *** empty log message *** 2000-01-03 14:55:38 +00:00
Gerd Moellmann
13f19968a9 (reseat_at_next_visible_line_start): Position before
newline only if ending up on a newline.
(next_element_from_ellipsis): Return success.  Handle case of
displaying no ellipsis.  Fix case of ellipsis defined in display
table.
(next_element_from_buffer): Return 0 if next_element_from_ellipsis
returns 0.
2000-01-03 14:04:14 +00:00
Eli Zaretskii
d684c67612 *** empty log message *** 2000-01-03 11:58:49 +00:00
Eli Zaretskii
da47150ddc (Fcolor_gray_p): Renamed from face-color-gray-p.
(Fcolor_supported_p): Renamed from face-color-supported-p.
2000-01-03 11:51:33 +00:00
Eli Zaretskii
5fe1d13989 *** empty log message *** 2000-01-02 14:13:48 +00:00
Eli Zaretskii
a61c12d547 (tty_defined_color): Pass frame to tty-color-desc. The
list of colors renamed to tty-defined-color-alist.
(tty_color_name): Pass the frame to tty-color-by-index.
(realize_tty_face): tty-color-alist is now a function which
accepts the frame as argument.
2000-01-02 14:07:32 +00:00
Eli Zaretskii
981e4297b4 (Ftty_display_color_p): Accept an optional argument FRAME. 2000-01-02 14:06:15 +00:00
Eli Zaretskii
816be8b8eb (insert_glyphs): Pass glyph, not &glyph, to
encode_terminal_code.
2000-01-02 14:00:03 +00:00