Eric S. Raymond [Sat, 27 Mar 1993 01:58:20 +0000 (01:58 +0000)]
(undo-with-space) Added. C-x C-u now bound to this rather than undo.
This change was inspired by the LCD package undo-with-space by Thomas
Narten, but my code is simpler and uses the 19 event features.
Eric S. Raymond [Sat, 27 Mar 1993 01:58:16 +0000 (01:58 +0000)]
(fill-paragraph, justify-current-line) Now uses the skip-syntax-
forward and backward characters and char-syntax to be smart about
filling syntaxes other than text.
This change was inspired by Richard Caley's fill-para package from LCD,
but the implementation is original.
Richard M. Stallman [Fri, 26 Mar 1993 07:28:20 +0000 (07:28 +0000)]
(local-write-file-hooks): New variable.
(set-visited-file-name): Kill local-write-file-hooks as local var.
(basic-save-buffer): Use local-write-file-hooks.
Jim Blandy [Thu, 25 Mar 1993 04:37:38 +0000 (04:37 +0000)]
* x-win.el: Update copyright to 1993.
* x-win.el: Bind [M-next] to advertised-scroll-other-window instead of
scroll-other-window, and then make advertised-scroll-other-window
an alias for scroll-other-window.
* term/x-win.el: Require select.el.
(x-select-text): Update call to x-set-cut-buffer.
Put `PRIMARY' and `CLIPBOARD' in upper case.
(x-cut-buffer-or-selection-value): Put `PRIMARY' in upper case.
Jim Blandy [Thu, 25 Mar 1993 03:51:20 +0000 (03:51 +0000)]
Arrange for C compilation throughout the tree to get
C_SWITCH_SYSTEM from the configuration files.
* configure: Extract C_SWITCH_SYSTEM from the machine and
system-dependent files, and save it in the top-level Makefile.
* Makefile.in (C_SWITCH_SYSTEM): New flag for configure to edit.
(lib-src/Makefile): Edit C_SWITCH_SYSTEM into lib-src/Makefile.
Jim Blandy [Thu, 25 Mar 1993 01:15:34 +0000 (01:15 +0000)]
* config.h.in (HAVE_XFREE386): New flag, set by configure script.
If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate
for XFree386.
* sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is
#defined.
Jim Blandy [Wed, 24 Mar 1993 01:53:00 +0000 (01:53 +0000)]
* keyboard.c [POLL_FOR_INPUT] (quit_throw_to_read_char): If
we're polling for input, abort; input polling should always be
suppressed while we're waiting for input.
* keyboard.c (interrupt_signal): Remove extern declaration of
Vwindow_system; this is no longer used.
Jim Blandy [Tue, 23 Mar 1993 05:57:11 +0000 (05:57 +0000)]
* config.h.in (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): New flags.
* ymakefile (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): Provide default
values. Include C_SWITCH_X_SITE in CFLAGS, include
LD_SWITCH_X_SITE in LIBX, and pass C_SWITCH_X_SITE to the make
which builds the X Menu library.
Jim Blandy [Tue, 23 Mar 1993 05:53:36 +0000 (05:53 +0000)]
* configure: Add `--x-includes' and `--x-libraries' options. I
think these are dopey, but no less than three alpha testers, at
large sites, have said they have their X files installed in odd
places. Implement them by setting C_SWITCH_X_SITE and
LD_SWITCH_X_SITE in src/config.h.
Jim Blandy [Tue, 23 Mar 1993 05:31:35 +0000 (05:31 +0000)]
* configure: Add `--x-includes' and `--x-libraries' options. I
think these are dopey, but no less than three alpha testers, at
large sites, have said they have their X files installed in odd
places.
Richard M. Stallman [Mon, 22 Mar 1993 23:13:10 +0000 (23:13 +0000)]
(YACC): flag added to c_ext.
(c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
(find_entries): consistently use streq when reasonable.
(find_entries): a .y file is a yacc file.
(get_C_stab): c_ext becomes c_ext&C_PLPL.
(C_entries): logical cplpl means c_ext&C_PLPL.
(C_entries): logical yacc_rules means we are after the first %%.
(C_entries): added logic for yacc files.
(C_entries): ':' case moved to the second switch.
(C_entries): do not examine token if structdef==scolonseen.
(consider_token): structtag set to null string for enum.
(GET_COOKIE): and related macros removed.
(logical): is now int, no more a char.
(reg): define deleted.
(isgood, _gd, notgd): deleted.
(gotone): deleted.
(TOKEN): member linestart removed.
(linepos, prev_linepos, lb1): deleted.
(main): call initbuffer on lbs array instead of lb1.
(init): removed the initialisation of the logical _gd array;
(find_entries): a .sa suffix means assembler file.
(C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
All C state machines rewritten.
(C_entries): complete rewrite.
(condider_token): complete rewrite.
(getline): deleted.
(C_entries): Added the quotednl logical variable.
Used for parsing of #define's spanning multiple lines.
(C_entries): Save the definedef status even when a
newline is met inside a string.
Richard M. Stallman [Sun, 21 Mar 1993 23:04:18 +0000 (23:04 +0000)]
(decode_mode_spec): Handle `%l'.
(display_count_lines): New function.
(redisplay_window): Update base_line_number and base_line_pos fields.
Always update mode line if it's an integer.
Jim Blandy [Sun, 21 Mar 1993 07:24:32 +0000 (07:24 +0000)]
* xfns.c (Fx_open_connection): If we have X11R5, use
XrmSetDatabase to set the display's database. In older versions,
just store the value into x_current_display->db.
* xterm.h (HAVE_X11R5): Define this where appropriate.
Jim Blandy [Sun, 21 Mar 1993 07:04:44 +0000 (07:04 +0000)]
* simple.el (comment-indent-function): New variable, intended to
replace comment-indent-hook.
(comment-indent-hook): Make this default to nil now.
(indent-for-comment): If comment-indent-hook is non-nil, call it
for backward compatibility; otherwise, call
comment-indent-function.
* bytecomp.el: Declare comment-indent-hook an obsolete variable.
Jim Blandy [Sun, 21 Mar 1993 06:53:04 +0000 (06:53 +0000)]
* frame.c (Fhandle_switch_frame): Renamed from Fselect_frame.
Doc changed in anticipation of new purpose.
(Fselect_frame): Just call Fhandle_switch_frame for now.
Jim Blandy [Sun, 21 Mar 1993 05:11:23 +0000 (05:11 +0000)]
Use the `visiblity' parameter to determine the initial state of
the frame, instead of the `iconic-startup' and
`suppress-initial-map'.
* xfns.c (x_icon): Test the Qvisibility parameter against Qicon,
instead of the Qiconic_startup against Qt.
(x_create_frame): Test Qvisibility against Qnil and
Qicon, instead of testing Qsuppress_initial_map and Qvisibility.
(Qicon): New symbol.
(Qiconic_startup, Qsuppress_icon, Qsuppress_initial_map): Removed.
(syms_of_xfns): Adjusted appropriately.
* xfns.c [not HAVE_X11] (x_create_frame): Check Qicon_type,
instead of Qsuppress_icon.
* xfns.c (x_set_visibility): Instead of interpreting only Qt as
`make the frame visible' and everything else as `iconify the
frame', interpret Qicon as `iconify the frame' and everything else
as `make the frame visible.'
* xfns.c (x_get_arg): When the type of the resource is `symbol',
return `true' and `on' as Qt, and `false' and `off' as Qnil.
Jim Blandy [Sat, 20 Mar 1993 23:03:35 +0000 (23:03 +0000)]
* dispnew.c (Fsleep_for): Make this take two arguments SECONDS and
MILLISECONDS, which add, rather than a second argument which says
"treat the first argument as milliseconds."
(Fsit_for): Same thing.
(Fsleep_for_milliseconds): Deleted; this can be done with Fsleep_for.
Jim Blandy [Sat, 20 Mar 1993 20:48:34 +0000 (20:48 +0000)]
* xfns.c (Fx_open_connection): If we have X11R5, use
XrmSetDatabase to set the display's database. In older versions,
just store the value into x_current_display->db.