bpt/emacs.git
31 years ago* lisp.h (Lisp_Overlay): New tag.
Jim Blandy [Fri, 14 May 1993 14:36:01 +0000 (14:36 +0000)]
* lisp.h (Lisp_Overlay): New tag.
(OVERLAYP): New predicate.
(CHECK_OVERLAY): New type-checker.
(Qoverlayp): New extern declaration.
* buffer.c (Foverlayp): New function.
(Qoverlayp): New atom.
(overlays_at, recenter_overlay_lists): Abort if we encounter an
invalid overlay.
(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
(Fdelete_overlay): Set the overlay's markers to point nowhere.
Use CHECK_OVERLAY instead of signalling a special error.
(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
signalling a special error.
(Foverlay_get): Use CHECK_OVERLAY.
* fns.c (internal_equal): Define this for overlays.
* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
* print.c (print): Give overlays their own print syntax.
* alloc.c (mark_object): Treat overlays like conses.

* buffer.c (Foverlay_get): Return Qnil if the requested property
is missing from the property list.

31 years ago* configure.in: Call AC_STDC_HEADERS.
Jim Blandy [Fri, 14 May 1993 14:27:17 +0000 (14:27 +0000)]
* configure.in: Call AC_STDC_HEADERS.

31 years ago(vc-revert-buffer1): Don't assume that compilation-error-list
Richard M. Stallman [Fri, 14 May 1993 03:57:45 +0000 (03:57 +0000)]
(vc-revert-buffer1): Don't assume that compilation-error-list
is a list; it might be t.

31 years ago(emerge-find-difference-diff): Renamed from emerge-find-difference.
Richard M. Stallman [Thu, 13 May 1993 20:06:18 +0000 (20:06 +0000)]
(emerge-find-difference-diff): Renamed from emerge-find-difference.
(emerge-find-difference): New command.  Now on `.'.
(emerge-diff-ok-lines-regexp): Renamed from emerge-diff-ok-lines.
(emerge-diff3-ok-lines-regexp): Renamed from emerge-diff3-ok-lines.

31 years ago(emerge-setup-fixed-keymaps): Put emerge-abort on C-].
Richard M. Stallman [Thu, 13 May 1993 19:33:20 +0000 (19:33 +0000)]
(emerge-setup-fixed-keymaps): Put emerge-abort on C-].

31 years ago(emerge-count-matches-string): Renamed from count-matches-string.
Richard M. Stallman [Thu, 13 May 1993 19:25:37 +0000 (19:25 +0000)]
(emerge-count-matches-string): Renamed from count-matches-string.
(emerge-command-prefix): Now C-c C-c.
emerge-shadow-key-definition): Deleted.
Callers use substitute-key-definition.
(emerge-recursively-substitute-key-definition): Deleted.
Callers use substitute-key-definition.
(emerge-unselect-hook): Renamed from emerge-unselect-hooks.
(emerge-files-internal): Use file-local-copy to handle remote files.
(emerge-files-with-ancestor-internal): Likewise.
(emerge-remote-file-p): Deleted.
(emerge-abort): New command.
(describe-mode): Deleted.
(emerge-hash-string-into-string): Renamed from hash-string-into-string.
(emerge-unslashify-name): Renamed from unslashify-name.
(emerge-write-and-delete): Don't write-file if file-out is nil.

31 years agoInstall DRW's version 5.
Richard M. Stallman [Thu, 13 May 1993 19:24:38 +0000 (19:24 +0000)]
Install DRW's version 5.

31 years ago(vc-version-diff): Don't move point in current buffer.
Richard M. Stallman [Thu, 13 May 1993 12:05:52 +0000 (12:05 +0000)]
(vc-version-diff): Don't move point in current buffer.

31 years ago(tags-table-including): Take new third arg CORE-ONLY. If non-nil,
Roland McGrath [Thu, 13 May 1993 05:28:14 +0000 (05:28 +0000)]
(tags-table-including): Take new third arg CORE-ONLY.  If non-nil,
ignore files without extant buffers.
(visit-tags-table-buffer): Call tags-table-including first with
CORE-ONLY set, and then afterwards with it clear.

31 years ago* xfaces.c (intern_frame_face): Exchange order of arguments, to
Jim Blandy [Thu, 13 May 1993 04:08:52 +0000 (04:08 +0000)]
* xfaces.c (intern_frame_face): Exchange order of arguments, to
make callers correct.

* xfaces.c (compute_char_face): Notice the next property change
location correctly.

* xfaces.c (face_name_id_number): Return 0 (the default face) if
the name is undefined.

* xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME
is an X frame.

31 years ago* xdisp.c (copy_rope, copy_part_of_rope): Add face argument.
Jim Blandy [Thu, 13 May 1993 04:08:26 +0000 (04:08 +0000)]
* xdisp.c (copy_rope, copy_part_of_rope): Add face argument.
(display_text_line): Initialize current_face to zero.   Apply it
to characters as we write them to the display matrix.
(display_string): Pass the new argument to copy_rope.

* xdisp.c (display_text_line): Handle the locations of face
changes properly.

31 years agoProvide 'menu-bar.
Richard M. Stallman [Thu, 13 May 1993 03:34:18 +0000 (03:34 +0000)]
Provide 'menu-bar.

31 years ago(face-initialize): New function.
Richard M. Stallman [Thu, 13 May 1993 03:24:09 +0000 (03:24 +0000)]
(face-initialize): New function.
All initialization code moved into it.
Call at end of file, if using X frames already.
(x-create-frame-with-faces): Don't use faces if not initialized.

31 years agoDon't put frame-initialize and frame-notice-user-settings on hooks.
Richard M. Stallman [Thu, 13 May 1993 03:23:40 +0000 (03:23 +0000)]
Don't put frame-initialize and frame-notice-user-settings on hooks.
They are now called directly.

31 years ago* textprop.c (Fnext_single_property_change,
Jim Blandy [Thu, 13 May 1993 03:17:03 +0000 (03:17 +0000)]
* textprop.c (Fnext_single_property_change,
Fprevious_single_property_change): Pass arguments to textget in
the right order.

31 years ago(command-line): Call frame-initialize explicitly.
Richard M. Stallman [Thu, 13 May 1993 03:14:39 +0000 (03:14 +0000)]
(command-line): Call frame-initialize explicitly.
Call face-initialize.
(normal-top-level): Call frame-notice-user-settings explicitly.

31 years ago(Setting minor-mode-map-alist):
Richard M. Stallman [Thu, 13 May 1993 03:14:07 +0000 (03:14 +0000)]
(Setting minor-mode-map-alist):
Put the map directly in the alist, not a variable name.

31 years ago(main): Don't require that there be input files if -i switches were given.
Roland McGrath [Thu, 13 May 1993 03:00:51 +0000 (03:00 +0000)]
(main): Don't require that there be input files if -i switches were given.

31 years ago*** empty log message ***
Jim Blandy [Thu, 13 May 1993 01:47:22 +0000 (01:47 +0000)]
*** empty log message ***

31 years ago(child_setup): Omit duplicates from new env array.
Richard M. Stallman [Thu, 13 May 1993 00:21:47 +0000 (00:21 +0000)]
(child_setup): Omit duplicates from new env array.

31 years ago(make_lispy_event): Don't set shift modifier for C-^.
Richard M. Stallman [Thu, 13 May 1993 00:21:23 +0000 (00:21 +0000)]
(make_lispy_event): Don't set shift modifier for C-^.

31 years ago(current_minor_maps): Call Findirect_function, so symbols
Richard M. Stallman [Thu, 13 May 1993 00:20:51 +0000 (00:20 +0000)]
(current_minor_maps): Call Findirect_function, so symbols
can be used in place of actual maps.

31 years ago(display_text_line): Use break; to exit loop at eol.
Richard M. Stallman [Thu, 13 May 1993 00:19:20 +0000 (00:19 +0000)]
(display_text_line): Use break; to exit loop at eol.
Duplicate the short MAKE_GLYPH loop after the main loop.
If no display table, do obey selective_display_ellipses.
(copy_part_of_rope): Arg FROM is now Lisp_Object *.

31 years ago(kbd-macro-query): Fix prompt string.
Richard M. Stallman [Wed, 12 May 1993 23:56:18 +0000 (23:56 +0000)]
(kbd-macro-query): Fix prompt string.

31 years ago(Faccessible_keymaps): Use whatever size the vector has.
Richard M. Stallman [Wed, 12 May 1993 21:58:16 +0000 (21:58 +0000)]
(Faccessible_keymaps): Use whatever size the vector has.
(Fwhere_is_internal): Likewise.
(describe_vector): Likewise.

31 years ago(default-menubar): Make initial value nil.
Richard M. Stallman [Wed, 12 May 1993 21:41:56 +0000 (21:41 +0000)]
(default-menubar): Make initial value nil.
(kill-this-buffer, x-new-frame)
(sensitize-file-and-edit-menus-hook, format-buffers-menu-line)
(buffers-menu-max-size, complex-buffers-menu-p)
(buffers-menu-switch-to-buffer-function, buffer-menu-save-buffer)
(buffer-menu-write-file, build-buffers-menu-internal)
(build-buffers-menu-hook): Functions and variables deleted.

31 years agoImprove doc strings and prompt strings.
Richard M. Stallman [Wed, 12 May 1993 21:30:35 +0000 (21:30 +0000)]
Improve doc strings and prompt strings.
(vc-cancel-version): Ask whether to revert buffer.

31 years ago(comint-filter): Increment opoint only if after insertion point.
Richard M. Stallman [Wed, 12 May 1993 20:32:32 +0000 (20:32 +0000)]
(comint-filter): Increment opoint only if after insertion point.

31 years ago(te-pass-through): Handle meta chars and non-char events.
Richard M. Stallman [Wed, 12 May 1993 18:41:29 +0000 (18:41 +0000)]
(te-pass-through): Handle meta chars and non-char events.
(terminal-map, etc.): Use default bindings, not fillarray.
Make the maps sparse.
(terminal-meta-map): New map; lets us make ESC a prefix key.
(terminal-map): Bind ESC to terminal-meta-map.
(te-more-break-unread): Handle non-char as last-input-char.
(te-filter): Delete code that worked with meta-flag.
(terminal-emulator): Don't look at meta-flag.
(terminal-mode): Don't make meta-flag local.
(te-stty-string): Quote the args that have ^.  Add pass8.

Changes that esr made in the previous version but didn't describe in detail:

Some defvars moved.
Defvars added for many variables.
(te-stty-string): Specify the characters explicitly--not `stty dec'.

31 years ago(Fx_popup_menu): Add a vector of prefix keys for the panes.
Richard M. Stallman [Wed, 12 May 1993 05:17:47 +0000 (05:17 +0000)]
(Fx_popup_menu): Add a vector of prefix keys for the panes.
(keymap_panes): Allocate that vector.
(single_keymap_panes): Fill in that vector.
(xmenu_show): Return a list of events, not just one event.

31 years agoInitial revision
Jim Meyering [Tue, 11 May 1993 23:23:34 +0000 (23:23 +0000)]
Initial revision

31 years ago(vc-diff): Report an error if the buffer isn't registered.
Richard M. Stallman [Tue, 11 May 1993 21:15:54 +0000 (21:15 +0000)]
(vc-diff): Report an error if the buffer isn't registered.
(vc-registration-error): New function.
(vc-next-action, vc-diff, vc-print-log, vc-backend-diff): Use it to
make VC's error messages more uniform.

(vc-directory, vc-revert-buffer1): Quote lambdas with (function ...)
for Emacs 18.
(compilation-old-error-list): Set if undefined, for Emacs 18.

31 years agoRe-arranged stuff to put defsubst accessors at the top
Jim Blandy [Tue, 11 May 1993 19:14:34 +0000 (19:14 +0000)]
Re-arranged stuff to put defsubst accessors at the top

31 years ago* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
Jim Blandy [Tue, 11 May 1993 02:48:07 +0000 (02:48 +0000)]
* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
macro here; that's x-specific.  Just don't pass the second
argument.
* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
use F's default face.

31 years ago* xdisp.c (display_text_line): Make face-handling code conditional
Jim Blandy [Tue, 11 May 1993 02:47:46 +0000 (02:47 +0000)]
* xdisp.c (display_text_line): Make face-handling code conditional
on HAVE_X_WINDOWS macro.  Perhaps this isn't the best approach,
but it'll do for now.

* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
macro here; that's x-specific.  Just don't pass the second
argument.
* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
use F's default face.

31 years ago* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy [Tue, 11 May 1993 01:39:42 +0000 (01:39 +0000)]
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
        filesystem being ro, since Solaris 2.1 doesn't.
        (file-writable-p): Call ro_fsys.
* s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.

31 years ago* systime.h: Use the strategy from getdate.y to include the proper
Jim Blandy [Tue, 11 May 1993 00:07:51 +0000 (00:07 +0000)]
* systime.h: Use the strategy from getdate.y to include the proper
combination of <time.h> and <sys/time.h>.

31 years agoUse pushdef and popdef, instead of saving the macro's value in a
Jim Blandy [Mon, 10 May 1993 23:58:36 +0000 (23:58 +0000)]
Use pushdef and popdef, instead of saving the macro's value in a
variable.

31 years ago* xfns.c (Fx_create_frame): Use an XLFD name for the default font,
Jim Blandy [Mon, 10 May 1993 23:31:01 +0000 (23:31 +0000)]
* xfns.c (Fx_create_frame): Use an XLFD name for the default font,
instead of "9x15" or whatever it was.

31 years ago* configure.in: Sidestep autoconf's quoting of the second argument
Jim Blandy [Mon, 10 May 1993 19:20:56 +0000 (19:20 +0000)]
* configure.in: Sidestep autoconf's quoting of the second argument
of AC_DEFINE, so we can specify the value to put there.  It would
be nice if autoconf provided some way to specify computed values
for macros.

31 years ago(buffer-menu): Don't save a window config.
Richard M. Stallman [Mon, 10 May 1993 16:31:21 +0000 (16:31 +0000)]
(buffer-menu): Don't save a window config.
(Buffer-menu-select): Don't call Buffer-menu-execute.
Don't restore a window config.

31 years ago(byte-recompile-directory): If ARG is non-nil, set it to its prefix
Roland McGrath [Mon, 10 May 1993 00:49:06 +0000 (00:49 +0000)]
(byte-recompile-directory): If ARG is non-nil, set it to its prefix
numeric value.  Test for ARG being zero with eq, not zerop.

31 years ago* s/template.h: Explain the relative significance of the SIGIO and
Jim Blandy [Mon, 10 May 1993 00:35:06 +0000 (00:35 +0000)]
* s/template.h: Explain the relative significance of the SIGIO and
INTERRUPT_INPUT macros.

31 years ago* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
Jim Blandy [Mon, 10 May 1993 00:34:31 +0000 (00:34 +0000)]
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
used by any configuration right now, but he's trying to make it
work.
#include "sunos4-1.h" instead of "bsd4-2.h".
(O_NDELAY): Don't define this.
(SYSTEM_MALLOC): Don't define this, either.
(LD_SWITCH_SYSTEM): Remove the definition for this.

31 years ago* xdisp.c (display_text_line): Apply faces to characters
Jim Blandy [Mon, 10 May 1993 00:26:32 +0000 (00:26 +0000)]
* xdisp.c (display_text_line): Apply faces to characters
according to overlays and text properties; use
compute_char_face and compute_glyph_face to figure out what
face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly.  If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code.  Implement
underlining.  Remove the `font' argument; we have to derive this
from the frame and face anyway.  Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.

* xterm.c (x_destroy_window): Call free_frame_faces.

31 years ago* xfns.c (x_make_gc): After building the GC's for the frame, call
Jim Blandy [Mon, 10 May 1993 00:25:40 +0000 (00:25 +0000)]
* xfns.c (x_make_gc): After building the GC's for the frame, call
init_frame_faces to set up the first two faces.
* xfaces.c (init_frame_faces): Don't just try to copy the default
and mode line faces from some other random frame; instead, consult
the normal_gc and reverse_gc members of the frame, and build the
faces based on their parameters.

31 years ago* xfaces.c (Fmake_face_internal): Do nothing for non-X frames.
Jim Blandy [Mon, 10 May 1993 00:25:17 +0000 (00:25 +0000)]
* xfaces.c (Fmake_face_internal): Do nothing for non-X frames.

* dispextern.h (struct face): Add cached_index member.
* xfaces.c (get_cached_face): Use it to avoid unnecessary
searches of face_vector.

* xfaces.c (intern_face): Renamed from get_display_face.

* xfns.c (x_make_gc): After building the GC's for the frame, call
init_frame_faces to set up the first two faces.
* xfaces.c (init_frame_faces): Don't just try to copy the default
and mode line faces from some other random frame; instead, consult
the normal_gc and reverse_gc members of the frame, and build the
faces based on their parameters.

Adjust the face computation functions to return frame face ID's,
not pointers to display faces; since we call these functions
during display construction, we don't want the display faces yet.
* xfaces.c (intern_frame_face): New function.
(compute_char_face, compute_glyph_face): Apply intern_frame_face
to the computed face, and return the frame face's ID, instead of
calling intern_face and returning a pointer to a display frame.

* xfaces.c: Describe the facial data structures.  It took me a
while to figure them out; perhaps this will save someone else the
trouble.

* xfaces.c (get_display_face): Use face_eql instead of writing it out.

31 years agoArrange to tell redisplay about changes in overlays.
Jim Blandy [Mon, 10 May 1993 00:23:47 +0000 (00:23 +0000)]
Arrange to tell redisplay about changes in overlays.
* xdisp.c (redisplay_region): New function.
* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
overlay has enclosed or left.
(Fdelete_overlay): Call redisplay_region on the area the overlay
used to occupy.
(Foverlay_put): Call redisplay_region on the area the overlay now
occupies; we may have put a face property on it.

* xdisp.c (redisplay): If we're doing a thorough redisplay (all
windows on all frames involved), go ahead and flush the GC cache -
call clear_face_vector.

* xdisp.c (display_text_line): Apply faces to characters
according to overlays and text properties; use
compute_char_face and compute_glyph_face to figure out what
face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly.  If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code.  Implement
underlining.  Remove the `font' argument; we have to derive this
from the frame and face anyway.  Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.

31 years ago* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
Jim Blandy [Mon, 10 May 1993 00:17:55 +0000 (00:17 +0000)]
* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.

31 years ago* keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
Jim Blandy [Mon, 10 May 1993 00:17:31 +0000 (00:17 +0000)]
* keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
returning a non-ascii key sequence unless FIRSTONLY is the symbol
`non-ascii'.

31 years ago* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
Jim Blandy [Mon, 10 May 1993 00:17:08 +0000 (00:17 +0000)]
* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
defined everywhere this file is #included; merge the two
definitions for defined (SIGIO) and ! defined (SIGIO) into one,
which calls reinvoke_input_signal if interrupt_input_pending is
set.
* keyboard.c (reinvoke_input_signal): New function.

* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers.

31 years ago* xdisp.c (display_text_line): Apply faces to characters according
Jim Blandy [Mon, 10 May 1993 00:16:34 +0000 (00:16 +0000)]
* xdisp.c (display_text_line): Apply faces to characters according
to overlays and text properties; use compute_char_face to figure out
what face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly.  If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code.  Implement
underlining.  Remove the `font' argument; we have to derive this
from the frame and face anyway.  Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.

31 years ago* dispextern.h (struct face): Add cached_index member.
Jim Blandy [Mon, 10 May 1993 00:15:58 +0000 (00:15 +0000)]
* dispextern.h (struct face): Add cached_index member.
* xfaces.c (get_cached_face): Use it to avoid unnecessary
searches of face_vector.

31 years ago* config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
Jim Blandy [Mon, 10 May 1993 00:15:35 +0000 (00:15 +0000)]
* config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
instead of AC_OUTPUT.

* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.

31 years agoArrange to tell redisplay about changes in overlays.
Jim Blandy [Mon, 10 May 1993 00:15:02 +0000 (00:15 +0000)]
Arrange to tell redisplay about changes in overlays.
* xdisp.c (redisplay_region): New function.
* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
overlay has enclosed or left.
(Fdelete_overlay): Call redisplay_region on the area the overlay
used to occupy.
(Foverlay_put): Call redisplay_region on the area the overlay now
occupies; we may have put a face property on it.

* buffer.c (Fmove_overlay): Doc fix.

31 years ago* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
Jim Blandy [Mon, 10 May 1993 00:14:09 +0000 (00:14 +0000)]
* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
defined everywhere this file is #included; merge the two
definitions for defined (SIGIO) and ! defined (SIGIO) into one,
which calls reinvoke_input_signal if interrupt_input_pending is
set.
* keyboard.c (reinvoke_input_signal): New function.

31 years ago* Makefile.in (DEFS): Remove this; we have configure build a
Jim Blandy [Mon, 10 May 1993 00:13:32 +0000 (00:13 +0000)]
* Makefile.in (DEFS): Remove this; we have configure build a
config.h file directly, instead of having lots of -D flags.

* Makefile.in (CFLAGS): Don't make this carry DEFS from the
configure script; the coding standards say that CFLAGS should be
left for the user to tweak.

* Makefile.in (LN_S): New variable, edited by top Makefile.
(SUBMAKEFILE): New variable, containing all flags to pass to
recursive makes.

31 years ago* keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t.
Jim Blandy [Mon, 10 May 1993 00:10:08 +0000 (00:10 +0000)]
* keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t.

* keyboard.c (do_mouse_tracking): Now static.

* keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
to return a list of events.  Don't lose any of them.

31 years ago* x-win.el: Since we require faces.el, there's no point in setting
Jim Blandy [Sun, 9 May 1993 23:54:12 +0000 (23:54 +0000)]
* x-win.el: Since we require faces.el, there's no point in setting
frame-creation-function to x-create-frame - just set it directly
to x-create-frame-with-faces.

* x-win.el: (require 'faces), too.  Move (require 'select) to top,
with the other requires.

31 years ago(rmail-output): Undo June 11 1992 change:
Richard M. Stallman [Sun, 9 May 1993 23:53:56 +0000 (23:53 +0000)]
(rmail-output): Undo June 11 1992 change:
Don't try to use Date field in the From.

31 years ago* finder.el: Bind finder-exit to 'q', not 'x'; the former is the
Jim Blandy [Sun, 9 May 1993 23:52:39 +0000 (23:52 +0000)]
* finder.el: Bind finder-exit to 'q', not 'x'; the former is the
conventional way to get out of such a package.
(finder-summary): Use substitute-command-keys.
(finder-mode): Use \\<...> to make sure we get the right keymap.

31 years ago* faces.el: Call internal-set-face-1, not internat-set-face-1.
Jim Blandy [Sun, 9 May 1993 23:48:41 +0000 (23:48 +0000)]
* faces.el: Call internal-set-face-1, not internat-set-face-1.

* faces.el: Don't set frame-creation-function here; x-win.el is
the appropriate place to set it.

* faces.el: Only apply x-initialize-frame-faces to X frames; pass
over terminal frames.

* faces.el: Provide 'faces.

31 years ago* faces.el (read-face-name): Call face-list, not list-faces.
Jim Blandy [Sun, 9 May 1993 23:38:29 +0000 (23:38 +0000)]
* faces.el (read-face-name): Call face-list, not list-faces.

Fail more gracefully if we can't build bold, italic, etc,
versions of the default font.
* faces.el (make-face-bold, make-face-italic,
make-face-bold-italic, make-face-unbold, make-face-unitalic):
Implement NOERROR argument.
(x-initialize-frame-faces): Use the NOERROR argument to the
font manipulation functions to avoid errors while starting up.
Remove initialization of isearch font.
* xfaces.c (internal-x-complain-about-font): Add new frame
argument, so we can check the frame parameters to find the
default font.  Callers changed.

* faces.el (x-create-frame-with-faces): Fix typo.  Dyke out
code to fully qualify the modeline font; we may not be able to
do that correctly.

31 years ago(dabbrev-expand): Delete a search-forward call
Richard M. Stallman [Sun, 9 May 1993 23:18:30 +0000 (23:18 +0000)]
(dabbrev-expand): Delete a search-forward call
after the second replace-match.

31 years ago(find-change-log): If there is a buffer-local value of
Roland McGrath [Sun, 9 May 1993 23:16:19 +0000 (23:16 +0000)]
(find-change-log): If there is a buffer-local value of
change-log-default-name, just return it with no searching.  Previously a if
it was set to a nonexistent file name, we would loop forever.

31 years agoThe GNU coding standards specify that CFLAGS should be left for
Jim Blandy [Sun, 9 May 1993 22:52:15 +0000 (22:52 +0000)]
The GNU coding standards specify that CFLAGS should be left for
users to set.
* Makefile.in (CFLAGS): Let configure determine the default value
for this.  Don't
have it default to DEFS.
(${SUBDIR}): Pass CFLAGS down to submakes, not DEFS.
(lib-src/Makefile, src/Makefile): Edit the default value for
CFLAGS into these files, not DEFS.
* configure.in (CFLAGS): Choose a default value for this - "-g"
normally, or "-g -O" if we're using GCC.  Edit it into the
top-level Makefile.

* configure.in: When scanning the machine and system description
#include files, write their names to conftest.c properly.

* configure.in: In configuration name case for Apallos running
Domainios, set opsys, not opsysfile.

* configure.in: Use the autoconf AC_CONFIG_HEADER macro to produce
src/config.h, instead of AC_OUTPUT; the latter overwrites
src/config.h even when it hasn't changed, puts a makefile-style
comment at the top even though it's C code, and produces a
config.status script which doesn't do the job right.

* configure.in: Add AC_LN_S test, so we can tell whether or not we
can use a symbolic link to get the X Menu library into src.
* Makefile.in (LN_S): New variable.
(src/Makefile): Edit the value of LN_S into this makefile.

31 years ago* Makefile.in (DEFS): Deleted; since we're using AC_CONFIG_HEADER,
Jim Blandy [Sun, 9 May 1993 22:51:16 +0000 (22:51 +0000)]
* Makefile.in (DEFS): Deleted; since we're using AC_CONFIG_HEADER,
this is always just -DHAVE_CONFIG_H.

The GNU coding standards specify that CFLAGS should be left for
users to set.
* Makefile.in (CFLAGS): Let configure determine the default value
for this.  Don't
have it default to DEFS.
(${SUBDIR}): Pass CFLAGS down to submakes, not DEFS.
(lib-src/Makefile, src/Makefile): Edit the default value for
CFLAGS into these files, not DEFS.
* configure.in (CFLAGS): Choose a default value for this - "-g"
normally, or "-g -O" if we're using GCC.  Edit it into the
top-level Makefile.

* configure.in: Add AC_LN_S test, so we can tell whether or not we
can use a symbolic link to get the X Menu library into src.
* Makefile.in (LN_S): New variable.
(src/Makefile): Edit the value of LN_S into this makefile.

31 years ago(query-replace-map): Bind [escape] like "\e".
Richard M. Stallman [Sun, 9 May 1993 18:03:20 +0000 (18:03 +0000)]
(query-replace-map): Bind [escape] like "\e".

31 years agoDoc fix.
Richard M. Stallman [Sun, 9 May 1993 18:02:10 +0000 (18:02 +0000)]
Doc fix.

31 years ago(kbd-macro-query): Use query-replace-map to define answers.
Richard M. Stallman [Sun, 9 May 1993 17:58:55 +0000 (17:58 +0000)]
(kbd-macro-query): Use query-replace-map to define answers.

31 years ago(vc-backend-diff): Handle either string or list.
Richard M. Stallman [Sun, 9 May 1993 14:29:33 +0000 (14:29 +0000)]
(vc-backend-diff): Handle either string or list.

31 years ago(diff-switches): Define var here as well as in diff.el.
Richard M. Stallman [Sun, 9 May 1993 14:27:02 +0000 (14:27 +0000)]
(diff-switches): Define var here as well as in diff.el.

31 years agoComment fix.
Richard M. Stallman [Sun, 9 May 1993 14:26:40 +0000 (14:26 +0000)]
Comment fix.

31 years ago*** empty log message ***
Richard M. Stallman [Sun, 9 May 1993 04:27:47 +0000 (04:27 +0000)]
*** empty log message ***

31 years ago[SCO]: Include time.h.
Richard M. Stallman [Sun, 9 May 1993 04:26:46 +0000 (04:26 +0000)]
[SCO]: Include time.h.

31 years ago(mail-do-fcc): Don't output a newline before From...
Richard M. Stallman [Sun, 9 May 1993 01:16:14 +0000 (01:16 +0000)]
(mail-do-fcc): Don't output a newline before From...

31 years ago(rmail-convert-to-babyl-format): Delete 1 char
Richard M. Stallman [Sun, 9 May 1993 01:14:47 +0000 (01:14 +0000)]
(rmail-convert-to-babyl-format): Delete 1 char
if we see a newline instead of what we expect.

31 years ago(jump-to-register): Allow file name "in" a register.
Richard M. Stallman [Sun, 9 May 1993 00:57:56 +0000 (00:57 +0000)]
(jump-to-register): Allow file name "in" a register.

31 years ago(scroll-bar-drag, scroll-bar-drag-1): New functions.
Richard M. Stallman [Sat, 8 May 1993 23:49:17 +0000 (23:49 +0000)]
(scroll-bar-drag, scroll-bar-drag-1): New functions.
Put scroll-bar-drag on down-mouse-2 in scroll bar.
Leave up-events on mouse-2 unbound.

31 years agoRequire help-macro, not help-screen.
Richard M. Stallman [Sat, 8 May 1993 22:38:37 +0000 (22:38 +0000)]
Require help-macro, not help-screen.

31 years agoProvide help-macro, not help-screen.
Richard M. Stallman [Sat, 8 May 1993 22:38:25 +0000 (22:38 +0000)]
Provide help-macro, not help-screen.

31 years agoDon't add menu bar to minibuffer-only frames.
Richard M. Stallman [Sat, 8 May 1993 16:45:38 +0000 (16:45 +0000)]
Don't add menu bar to minibuffer-only frames.

31 years ago(Fx_get_mouse_event, Fx_mouse_events): Code deleted.
Richard M. Stallman [Sat, 8 May 1993 16:29:04 +0000 (16:29 +0000)]
(Fx_get_mouse_event, Fx_mouse_events): Code deleted.

31 years ago(Vmouse_event): Var deleted.
Richard M. Stallman [Sat, 8 May 1993 16:28:36 +0000 (16:28 +0000)]
(Vmouse_event): Var deleted.
(syms_of_window): Don't make it  Lisp var.

31 years ago(vc-directory-18): cd to the directory in question before the file tree walk.
Richard M. Stallman [Sat, 8 May 1993 16:17:01 +0000 (16:17 +0000)]
(vc-directory-18): cd to the directory in question before the file tree walk.

31 years ago(vc-directory-18): New function.
Richard M. Stallman [Sat, 8 May 1993 16:14:11 +0000 (16:14 +0000)]
(vc-directory-18): New function.
If Emacs 18, make vc-directory alias to this.

31 years ago(read_avail_input): If meta_key is 2, let 8 bits thru.
Richard M. Stallman [Sat, 8 May 1993 14:55:39 +0000 (14:55 +0000)]
(read_avail_input): If meta_key is 2, let 8 bits thru.
(Fset_input_mode): Set meta_key to 2 if META arg isn't t or nil.

31 years ago*** empty log message ***
Eric S. Raymond [Sat, 8 May 1993 09:25:11 +0000 (09:25 +0000)]
*** empty log message ***

31 years ago(calendar-mode-map): Add arrow key bindings.
Richard M. Stallman [Fri, 7 May 1993 17:40:01 +0000 (17:40 +0000)]
(calendar-mode-map): Add arrow key bindings.

31 years ago(rmail-resend): Add `resent' attribute.
Richard M. Stallman [Fri, 7 May 1993 17:34:34 +0000 (17:34 +0000)]
(rmail-resend): Add `resent' attribute.
(rmail-forward): With prefix arg, run rmail-resend.

31 years ago(x_get_arg): Call Fintern, not intern.
Richard M. Stallman [Fri, 7 May 1993 02:55:22 +0000 (02:55 +0000)]
(x_get_arg): Call Fintern, not intern.

31 years ago(flush-lines, keep-lines, how-many):
Richard M. Stallman [Thu, 6 May 1993 22:21:12 +0000 (22:21 +0000)]
(flush-lines, keep-lines, how-many):
Delete spurious `s' from prompt arg to read-from-minibuffer.

31 years agoTypo in last change.
Richard M. Stallman [Thu, 6 May 1993 20:17:22 +0000 (20:17 +0000)]
Typo in last change.

31 years ago(comint-filter): New function.
Richard M. Stallman [Thu, 6 May 1993 19:51:08 +0000 (19:51 +0000)]
(comint-filter): New function.
(comint-exec): Install the filter.

31 years ago*** empty log message ***
Jim Blandy [Thu, 6 May 1993 19:02:36 +0000 (19:02 +0000)]
*** empty log message ***

31 years ago(previous-matching-history-element): If minibuf is empty,
Richard M. Stallman [Thu, 6 May 1993 18:54:32 +0000 (18:54 +0000)]
(previous-matching-history-element): If minibuf is empty,
use the last regexp specified a the default.
(next-matching-history-element): Likewise.

31 years ago(comint-previous-matching-input): Use let* in the interactive.
Richard M. Stallman [Thu, 6 May 1993 18:51:49 +0000 (18:51 +0000)]
(comint-previous-matching-input): Use let* in the interactive.

31 years agoInitial revision
Jim Blandy [Thu, 6 May 1993 18:43:12 +0000 (18:43 +0000)]
Initial revision

31 years agoSupport *-sco3.2v4* as opsystem.
Richard M. Stallman [Thu, 6 May 1993 18:42:47 +0000 (18:42 +0000)]
Support *-sco3.2v4* as opsystem.

31 years agoComment change.
Richard M. Stallman [Thu, 6 May 1993 18:41:14 +0000 (18:41 +0000)]
Comment change.