Jim Blandy [Tue, 6 Jul 1993 06:18:50 +0000 (06:18 +0000)]
* vc.el (vc-start-entry): Don't call file-name-nondirectory on
FILE before passing it to vc-mode-line. Everyplace else passes
vc-mode-line full filenames, and vc-mode-line now needs the real
file name to decide which version-control system the file is under.
Jim Blandy [Tue, 6 Jul 1993 02:23:22 +0000 (02:23 +0000)]
Compare the values of text properties using EQ, not Fequal.
* intervals.c (intervals_equal): Call EQ, not Fequal.
* textprop.c (interval_has_all_properties, add_properties): Same.
Jim Blandy [Mon, 5 Jul 1993 08:13:50 +0000 (08:13 +0000)]
* textprop.c (validate_interval_range): Don't increment both
*begin and *end if they point to the same thing.
(validate_plist): Call QUIT while scanning LIST.
Jim Blandy [Mon, 5 Jul 1993 07:18:24 +0000 (07:18 +0000)]
* keyboard.c (Vdouble_click_time): Renamed from double_click_time,
and made a Lisp_Object instead of an int.
(make_lispy_event): If Vdouble_click_time is t, impose no time
limit on double-clicks.
(syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT)
Vdouble_click_time (not double_click_time), and adjust doc string
to say that `nil' means no double clicks, and `t' means no time
limit.
Paul Eggert [Mon, 5 Jul 1993 03:20:12 +0000 (03:20 +0000)]
(vc-name): Moved from vc.el; vc-rcs-status now uses it.
(vc-name, vc-backend-deduce): Set both vc-name and vc-backend
properties, to avoid calling vc-registered unnecessarily when
the other property is needed.
(vc-rcs-status): Yield only status of locks; do not try to yield " REV"
if there are no locks, since this cannot be done easily if there are
branches. Use vc-name instead of duplicating its function incorrectly.
Fix off-by-one bug when inserting master header pieces. Read headers
8192 bytes at a time instead of 100. Don't bother to expand-file-name.
(vc-rcs-glean-field): Removed.
(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.
(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.
(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.
(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.
(c-forward-conditional): New function.
(c-up-conditional): Use c-forward-conditional.
(c-backward-conditional): New function.
(c-mode-map): Make bindings for them.