Jim Blandy
856a73b38b
Changes for correct pgrp behavior; approach suggested by Bob
...
Glickstein <bobg@zindigo.z-code.com>:
* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
and BSDsetpgrp.
(GETPGRP_NO_ARG): Don't #define this.
* emacs.c (main): Don't test GETPGRP_NO_ARG.
* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
1993-06-17 05:04:57 +00:00
Jim Blandy
afd0d2375a
Remove decl for Qvisible.
1993-06-17 05:03:45 +00:00
Jim Blandy
07f76a1466
* keyboard.c (read_key_sequence): If we add events to a key
...
sequence that didn't come from the input stream (e.g. `mode-line'
prefixing a mouse click, or an expansion from function-key-map),
and end up with a sequence that runs off the end of the current
maps, return the entire key sequence, not just the initial portion
which was bound or unbound.
1993-06-17 04:59:35 +00:00
Jim Blandy
5925bf38e1
* config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
...
change.
* sysdep.c (closedir): Only define this if autoconf can't find
HAVE_CLOSEDIR. If we're running under solaris (defined (sun) &&
defined (USG5_4)), then don't free the buffer separately.
1993-06-17 04:59:01 +00:00
Jim Blandy
65aa44ac9b
Changes for correct pgrp behavior; approach suggested by Bob
...
Glickstein <bobg@zindigo.z-code.com>:
* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
and BSDsetpgrp.
(GETPGRP_NO_ARG): Don't #define this.
* emacs.c (main): Don't test GETPGRP_NO_ARG.
* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
* config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
change.
* sysdep.c (closedir): Only define this if autoconf can't find
HAVE_CLOSEDIR. If we're running under solaris (defined (sun) &&
defined (USG5_4)), then don't free the buffer separately.
1993-06-17 04:58:27 +00:00
Richard M. Stallman
8f9dc2ed1c
(scan_lists, Fforward_comment): #if 0 the code
...
to treat two-character comment enders with a special shortcut.
(scan_sexps_forward): Set state.comstart to before the
comment starter, not after.
1993-06-17 04:09:15 +00:00
Jim Blandy
2ad18bfd26
* lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL,
...
CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW,
CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER,
CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT,
CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do
... while (0) around these compound statements to make them
syntactically equivalent to a single statement.
1993-06-17 02:59:54 +00:00
Jim Blandy
7eb9ba4137
* xdisp.c (redisplay_window): No need to subtract one from start
...
before passing it to the set_vertical_scroll_bar_hook.
1993-06-17 02:41:40 +00:00
Jim Blandy
7fded6909e
* fileio.c (Finsert_file_contents): Two new args, BEG and END.
1993-06-17 02:28:19 +00:00
Jim Blandy
75d8f6686c
Don't let the 'B' interactive spec default to buffers viewed in
...
any visible frame.
* buffer.c (Fother_buffer): Pass Qvisible as the second argument
to Fget_buffer_window.
* window.c (Qvisible): New symbol.
(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
ignore non-visible frames.
(Fget_buffer_window): Expand doc string to mention that Qvisible
is an interesting value for FRAME argument.
(syms_of_window): Init and staticpro Qvisible.
* lisp.h (Qvisible): New declaration.
1993-06-17 00:39:37 +00:00
Jim Blandy
a84281e724
* Makefile.in (CPP): New variable, set by the top-level Makefile.
1993-06-16 23:50:05 +00:00
Jim Blandy
e1c9dcf883
Changes for correct pgrp behavior from Bob Glickstein
...
<bobg@zindigo.z-code.com>:
* m/iris4d.h (LIB_STANDARD): Do include -lbsd here.
* s/irix4-0.h (USE_IRIX_BSDPGRP): #define this.
(GETPGRP_NO_ARG): Don't #define this.
* callproc.c [USE_IRIX_BSDPGRP] (Fcall_process): Call BSDsetpgrp
instead of plain setpgrp.
[USE_IRIX_BSDPGRP] (child_setup): Same.
* emacs.c [GETPGRP_NO_ARG] (main, shut_down_emacs): CPP clauses
deleted; this flag isn't needed anymore.
[USE_IRIX_BSDPGRP] (main, shut_down_emacs): Call BSDsetpgrp and
BSDgetpgrp instead of plain setpgrp and getpgrp.
* process.c [USE_IRIX_BSDPGRP] (create_process): Don't call
setpgrp before opening the tty. Call BSDsetpgrp instead of
setpgrp, after opening the tty.
* sysdep.c [USE_IRIX_BSDPGRP] (sys_suspend,
narrow_foreground_group, widen_foreground_group): Call BSDgetpgrp
and BSDsetpgrp instead of getpgrp and setpgrp.
1993-06-16 23:49:54 +00:00
Roland McGrath
83ea6fc2b1
(Finsert_buffer_substring): Doc fix.
1993-06-16 22:37:24 +00:00
Jim Blandy
bbe6a8e991
(LIBS_SYSTEM): Don't attempt to #define this if we already have a
...
definition of LIB_SYSTEM from s/usg5-4.h.
1993-06-16 22:09:24 +00:00
Jim Blandy
73d615812f
* m/delta88k.h (HAVE_GETTIMEOFDAY): Don't #define this; autoconf
...
takes care of that.
1993-06-16 22:07:28 +00:00
Jim Blandy
83cb209c0d
* unexec.c [HPUX] (sbrk): This returns a void *.
1993-06-16 21:42:25 +00:00
Jim Blandy
74da500751
*** empty log message ***
1993-06-16 21:28:28 +00:00
Jim Blandy
79f92720d1
* window.c (check_frame_size): Allow minibuffer-only frames to be
...
one line high.
1993-06-16 21:26:47 +00:00
Jim Blandy
1fb2d074d6
* frame.c (store_frame_param): Fix error message punctuation.
1993-06-16 21:19:06 +00:00
Jim Blandy
b1e920c900
* s/isc3-0.h (memmove): #define this to call safe_bcopy.
1993-06-16 20:52:40 +00:00
Jim Blandy
1b929d2579
* sysdep.c (closedir): Don't free directory buffer if it looks
...
like it and the DIR were malloced together.
1993-06-16 20:31:01 +00:00
Jim Blandy
37fd7901b2
* sysdep.c [ultrix] (init_sys_modes): Don't set LLITOUT; it
...
disables the meta key.
1993-06-16 20:02:58 +00:00
Jim Blandy
bfb7b57017
Bring mumbleclean targets into conformance with GNU coding standards.
...
* Makefile.in (mostlyclean): New target.
(clean): Just call mostlyclean. Get rid of ../etc/DOC too.
(distclean): Use clean to do most of the work.
Get rid of ../etc/DOC-* too.
(realclean): New target.
1993-06-16 16:32:32 +00:00
Jim Blandy
e87f38ef9d
* buffer.c (list_buffers_1): Return the desired point.
...
(Flist_buffers): Put point there in the buffer summary.
1993-06-16 16:29:40 +00:00
Jim Blandy
eebae3dd5c
* xdisp.c (redisplay_window): No need to subtract BEGV to compute
...
the scroll bar handle's end.
1993-06-16 14:13:15 +00:00
Richard M. Stallman
e74fbc701a
Calls to access_keymap updated.
1993-06-16 06:46:27 +00:00
Richard M. Stallman
07a675b77b
(xmenu_show): Store 0 in *ERROR at the beginning.
...
(Fx_popup_menu): Call keymap_panes right in one-keymap case.
1993-06-15 23:17:10 +00:00
Richard M. Stallman
eebaeadde2
(adjust_intervals_for_insertion): By default, copy
...
properties from before the insertion.
1993-06-15 07:48:27 +00:00
Richard M. Stallman
c07aec9773
Make prefix keys work with keymap inheritance
...
by creating an inheritance structure for each subkeymap
that we create in the inheriting keymap.
(access_keymap): New arg NOINHERIT. All calls changed.
(define_as_prefix): New function.
(Fdefine_key): Use them.
1993-06-15 06:26:00 +00:00
Richard M. Stallman
0df8950e08
(set_point): When moving over invis chars,
...
don't screw up at end of buffer.
1993-06-15 05:27:54 +00:00
Jim Blandy
9199fa7f7f
* s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
...
and #define the latter.
1993-06-14 15:35:55 +00:00
Jim Blandy
142be3dd62
* xdisp.c (display_text_line): Use temporary variable.
1993-06-14 15:06:46 +00:00
Richard M. Stallman
0def0403ca
(Fdelete_window): Handle deleting a parent of the selected window.
...
(Fdelete_window): Mostly undo last change which made `frame' a FRAME_PTR.
Don't initialize `frame' in the declaration.
1993-06-14 07:07:05 +00:00
Richard M. Stallman
caf3c43175
(Fset_visited_file_modtime): Don't give the handler
...
the filename as an argument.
1993-06-14 03:49:04 +00:00
Richard M. Stallman
340f92b576
(scan_lists, Fforward_comment): Pass 0 as commentstop arg
...
to scan_sexps_forward.
(scan_sexps_forward, char_quoted): Now static.
(describe_syntax, describe_syntax_1): Now static.
1993-06-13 23:57:33 +00:00
Richard M. Stallman
063fb61f51
(Fprimitive_undo): Rename arg to N to avoid conflict.
1993-06-13 23:15:39 +00:00
Richard M. Stallman
f7ab4e3d35
(shut_down_emacs): New arg STUFF. Stuff input here.
...
(Fkill_emacs, fatal_error_signal): Pass new arg.
(main) [GETPGRP_NO_ARG]: Really pass no arg to getpgrp.
1993-06-13 02:06:51 +00:00
Richard M. Stallman
1cd2d6d402
(x_connection_closed): Pass new arg to shut_down_emacs.
1993-06-13 02:06:17 +00:00
Richard M. Stallman
60fc6069f8
(Ffile_attributes): Give -1 as size if size won't fit.
1993-06-13 01:16:05 +00:00
Richard M. Stallman
381d11a1c5
(term_get_fkeys): Use prior', not previous', for %8/kP.
1993-06-13 00:41:51 +00:00
Richard M. Stallman
51cf6d3791
(Fcopy_file): Pass all the args to the handler.
...
(Fwrite_region): Use call6.
(Frename_file): Look for handler for newname.
(Fadd_name_to_file): Pass arg ok_if_already_exists to handler.
(Fmake_symbolic_link): Likewise.
(Ffile_newer_than_file_p): Check both file names for handler.
1993-06-13 00:07:35 +00:00
Richard M. Stallman
8a2c760a0e
(Fload): Use call5.
1993-06-13 00:01:50 +00:00
Richard M. Stallman
15285f9fa7
(call5, call6): New functions.
...
(call1, call2, call3, call4): Renumber the args.
1993-06-13 00:01:22 +00:00
Richard M. Stallman
3e36c563db
Comment change.
1993-06-12 23:27:32 +00:00
Jim Blandy
4a6fd0de67
Update GPL references - version 2
1993-06-12 22:54:27 +00:00
Jim Blandy
17385adcf7
Updated GPL version to 2.
1993-06-12 22:01:38 +00:00
Jim Blandy
71dfa9f437
Refer to GPL version two.
1993-06-12 21:44:46 +00:00
Richard M. Stallman
f87a68b369
(syms_of_undo): Set up Qinhibit_read_only.
...
(Fprimitive_undo): Sometimes bind inhibit-read-only to t.
1993-06-12 18:10:20 +00:00
Jim Blandy
a6d570c637
* sysdep.c (child_setup_tty): Remove duplicate settings for VQUIT
...
and VINTR.
1993-06-12 17:46:44 +00:00
Jim Blandy
1d7cc616b8
Doc fix.
1993-06-12 17:31:26 +00:00