Richard M. Stallman [Sun, 4 Jul 1993 02:21:02 +0000 (02:21 +0000)]
(read_char): After Fgarbage_collect, call redisplay.
(read_key_sequence): When inserting `menu-bar' prefix,
modify the position field to prevent doing so twice.
Do all these forms of event expansion after replayed events also.
Set last_real_key_start before each key.
Use last_real_key_start in criterion for being the first event.
(syms_of_keyboard): Doc fix.
(Vhelp_char): Renamed from help_char.
(Vprefix_help_command): New Lisp variable.
(read_key_sequence): Use that, for help char after prefix key.
(kbd_buffer_get_event): Clear f before calling mouse_position_hook.
Jim Blandy [Sat, 3 Jul 1993 10:17:56 +0000 (10:17 +0000)]
* term/x-win.el: Check the reverseVideo/ReverseVideo resource,
correctly distinguish between "on" and "off" values, and put a
parameter in default-frame-alist.
* frame.el (frame-initialize): Don't call x-get-resource here.
Jim Blandy [Sat, 3 Jul 1993 07:19:24 +0000 (07:19 +0000)]
* s/hpux8.h (random, srandom): No need to define these to be
foo_random and foo_srandom; autoconf should autodetect when the
real random functions are available.
Jim Blandy [Fri, 2 Jul 1993 22:50:40 +0000 (22:50 +0000)]
* textprop.c (set_properties): Add undo records to remove entirely
new properties. Only record old property values for those
properties whose values have changed.
* textprop.c (set_properties): Don't try to make undo records if
OBJECT is a string.
Richard M. Stallman [Fri, 2 Jul 1993 05:21:05 +0000 (05:21 +0000)]
(describe_map_tree): Insert key_heading here.
New arg TITLE.
(describe_buffer_bindings): Corresponding changes.
(shadow_lookup): New function.
(describe_map_2): Call it. SHADOW is now a list of maps.
(describe_vector): Likewise.
(describe_map): SHADOW is now a list of maps.
(describe_map_tree): Likewise.
(describe_buffer_bindings): Build suitable list to pass as SHADOW.
(Faccessible_keymaps): New arg PREFIX. Callers changed.
(describe_map_tree): New arg PREFIX.
(Fdescribe_bindings): New arg PREFIX.
Pass to describe_buffer_bindings along with buffer.
(describe_buffer_bindings): Extract PREFIX and pass along.
Richard M. Stallman [Wed, 30 Jun 1993 22:03:15 +0000 (22:03 +0000)]
(compile-abbreviate-directory): New function.
(compilation-parse-errors): Use that, to visit files with a dirname
more like the one the user specified.
Jim Blandy [Wed, 30 Jun 1993 21:30:25 +0000 (21:30 +0000)]
* xdisp.c (redisplay): If we're not already showing the region,
then don't disable the single-line optimizations just because the
mark isn't where we last displayed it.
Jim Blandy [Wed, 30 Jun 1993 06:27:30 +0000 (06:27 +0000)]
* gud.el: Add history lists to the debugging commands, so we don't
have to retype the filename every invocation.
(gud-gdb-history, gud-sdb-history, gud-dbx-history,
gud-xdb-history): New variables.
(gdb, sdb, dbx, xdb): Use them when reading the argument string.
Jim Blandy [Wed, 30 Jun 1993 04:47:37 +0000 (04:47 +0000)]
* mouse.el (mouse-drag-region-1): Commented out.
(mouse-drag-region): Commented out, and replaced with new version,
which highlights the region as we drag.
(mouse-scroll-delay, mouse-drag-overlay): New variables.
(mouse-scroll-subr): New function.
Jim Blandy [Tue, 29 Jun 1993 23:07:22 +0000 (23:07 +0000)]
* xterm.c: Add CPP tangle from process.c to get definitions for
FD_SET, etcetera.
(XTread_socket): Use those macros when testing for dropped connection.
Jim Blandy [Tue, 29 Jun 1993 22:58:40 +0000 (22:58 +0000)]
* etags.c: #include "config.h" and the alloca CPP tangle before
#including the system headers and getopt.h. AIX requires the
#pragma to come before any actual C code.
Richard M. Stallman [Mon, 28 Jun 1993 19:53:30 +0000 (19:53 +0000)]
(Man-auto-section-alist): Default value nil.
(Man-getpage-in-background): Call Man-default-man-args.
(Man-filter-list): Don't discard overstrike here.
(Man-set-fonts): New function.
(Man-bgproc-sentinel): Call Man-set-fonts.
(Man-version-number): Var deleted.
(Man-version): Command and binding deleted.
(Man-mode): Use Manual, not Man, as official mode name.
Richard M. Stallman [Mon, 28 Jun 1993 04:48:51 +0000 (04:48 +0000)]
(c-forward-conditional): New function.
(c-up-conditional): Use c-forward-conditional.
(c-backward-conditional): New function.
(c-mode-map): Make bindings for them.
Richard M. Stallman [Fri, 25 Jun 1993 06:41:54 +0000 (06:41 +0000)]
Set up autoloads for files `makeinfo' and `texnfo-upd'.
(texinfo-delete-from-print-queue-command): New var.
(texinfo-tex-trailer): New var.
(texinfo-tex-region): Use that.
(texinfo-tex-buffer): Rewritten; use the actual source file.
Binding is now C-c C-t C-b.
(texinfo-texindex): Turned back on.
(texinfo-quit-job): New command, with binding.
(texinfo-delete-from-print-queue): Likewise.
(texinfo-show-structure): Indent each line according to depth.
Require texnfo-upd.
(texinfo-section-types-regexp): Var deleted.
(texinfo-insert-@-with-arg): New function.
(texinfo-insert-@var, etc.): Use that.
(texinfo-insert-@end): New command, now on C-c C-c e.
(texinfo-insert-@end-example): Deleted.
(texinfo-insert-@table): New command, on C-c C-c t.
(texinfo-start-menu-description): New command, on C-c C-c C-d.
(texinfo-mode): No longer set tex-trailer.
Make the @node for the top node start a page.
Use shorter values for tex-end-of-header and tex-start-of-header.
(texinfo-mode-map): Add bindings for makeinfo-buffer, etc.
Delete bindings for texinfo-format-buffer/region.
(texinfo-define-common-keys): New function.
Jim Blandy [Tue, 22 Jun 1993 08:17:36 +0000 (08:17 +0000)]
* keyboard.c (menu_bar_items, read_key_sequence): Use
current_global_map, not global_map; the latter is only meant to be
used for initial_define_key.
* commands.h: Doc fix.
Jim Blandy [Tue, 22 Jun 1993 08:17:26 +0000 (08:17 +0000)]
* keyboard.c (menu_bar_items, read_key_sequence): Use
current_global_map, not global_map; the latter is only meant to be
used for initial_define_key.
* commands.h: Doc fix.
Jim Blandy [Tue, 22 Jun 1993 07:39:26 +0000 (07:39 +0000)]
* buffer.c (list_buffers_1): Make desired_point a lisp object; set
it to nil, unless we find the current buffer.
(Flist_buffers): Don't try to set point in the buffer list unless
list_buffers_1 actually returns an integer. Don't use a full
save_excursion; just save and restore the buffer.
Jim Blandy [Tue, 22 Jun 1993 07:26:44 +0000 (07:26 +0000)]
Separate parameter faces (those created and modified by the user)
from the computed faces (the combinations created by
compute_char_face), so that we don't waste global face id's.
* xterm.h (struct x_display): Replace the fields faces and n_faces
with fields param_faces, n_param_faces, computed_faces,
n_computed_faces, and size_computed_faces.
(FRAME_FACES, FRAME_N_FACES): Replaced by...
(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
FRAME_N_PARAM_FACES): New macros.
* xfaces.c: Doc fixes.
(init_frame_faces): Call new_computed_face to create entries for
the default and mode line faces. Use the FRAME...PARAM_FACES
macros.
(free_frame_faces): Use the FRAME...PARAM_FACES and
FRAME...COMPUTED_FACES macros. Don't use the copy flag; all
parameter faces have real X resources, and all computed faces just
have copies. Free both the parameter and computed face arrays.
(new_computed_face): New function.
(intern_computed_face): Renamed from intern_frame_face; callers
changed. Call new_computed_face.
(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
FRAME...PARAM_FACES macros.
(recompute_basic_faces): Use the FRAME...PARAM_FACES and
FRAME...COMPUTED_FACES macros. Produce the computed faces by
starting with the base faces and merging in the parameter faces.
(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
macros. Just call recompute_basic_faces if the default or mode
line faces have changed.
* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
* dispextern.h (struct face): Remove the copy member. This is no
longer necessary; all computed faces are copies, and no parameter
faces are.
Jim Blandy [Tue, 22 Jun 1993 07:25:42 +0000 (07:25 +0000)]
Separate parameter faces (those created and modified by the user)
from the computed faces (the combinations created by
compute_char_face), so that we don't waste global face id's.
* xterm.h (struct x_display): Replace the fields faces and n_faces
with fields param_faces, n_param_faces, computed_faces,
n_computed_faces, and size_computed_faces.
(FRAME_FACES, FRAME_N_FACES): Replaced by...
(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
FRAME_N_PARAM_FACES): New macros.
* xfaces.c: Doc fixes.
(init_frame_faces): Call new_computed_face to create entries for
the default and mode line faces. Use the FRAME...PARAM_FACES
macros.
(free_frame_faces): Use the FRAME...PARAM_FACES and
FRAME...COMPUTED_FACES macros. Don't use the copy flag; all
parameter faces have real X resources, and all computed faces just
have copies. Free both the parameter and computed face arrays.
(new_computed_face): New function.
(intern_computed_face): Renamed from intern_frame_face; callers
changed. Call new_computed_face.
(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
FRAME...PARAM_FACES macros.
(recompute_basic_faces): Use the FRAME...PARAM_FACES and
FRAME...COMPUTED_FACES macros. Produce the computed faces by
starting with the base faces and merging in the parameter faces.
(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
macros. Just call recompute_basic_faces if the default or mode
line faces have changed.
* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
* dispextern.h (struct face): Remove the copy member. This is no
longer necessary; all computed faces are copies, and no parameter
faces are.
* xfaces.c (face_vector, nfaces, nfaces_allocated): Make these
static.
Jim Blandy [Tue, 22 Jun 1993 07:25:11 +0000 (07:25 +0000)]
Separate parameter faces (those created and modified by the user)
from the computed faces (the combinations created by
compute_char_face), so that we don't waste global face id's.
* xterm.h (struct x_display): Replace the fields faces and n_faces
with fields param_faces, n_param_faces, computed_faces,
n_computed_faces, and size_computed_faces.
(FRAME_FACES, FRAME_N_FACES): Replaced by...
(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
FRAME_N_PARAM_FACES): New macros.
* xfaces.c: Doc fixes.
(init_frame_faces): Call new_computed_face to create entries for
the default and mode line faces. Use the FRAME...PARAM_FACES
macros.
(free_frame_faces): Use the FRAME...PARAM_FACES and
FRAME...COMPUTED_FACES macros. Don't use the copy flag; all
parameter faces have real X resources, and all computed faces just
have copies. Free both the parameter and computed face arrays.
(new_computed_face): New function.
(intern_computed_face): Renamed from intern_frame_face; callers
changed. Call new_computed_face.
(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
FRAME...PARAM_FACES macros.
(recompute_basic_faces): Use the FRAME...PARAM_FACES and
FRAME...COMPUTED_FACES macros. Produce the computed faces by
starting with the base faces and merging in the parameter faces.
(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
macros. Just call recompute_basic_faces if the default or mode
line faces have changed.
* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
* dispextern.h (struct face): Remove the copy member. This is no
longer necessary; all computed faces are copies, and no parameter
faces are.
* xfns.c (Fx_open_connection): Remember to block input while
calling x_load_resources.
* xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem,
not a server-specific bug.