Jim Blandy [Fri, 11 Jun 1993 16:22:03 +0000 (16:22 +0000)]
Interact properly with shells lacking job control (sh, rc, es...)
* sysdep.c [BSD] (inherited_pgroup): New variable.
(narrow_foreground_group, widen_foreground_group): New functions.
(init_sys_modes): Call narrow_foreground_group.
(reset_sys_modes): Call widen_foreground_group.
* emacs.c [BSD] (inherited_pgroup): Add extern declaration.
[BSD] (main): Set inherited_pgroup, and put ourselves in our own
pgroup.
Jim Blandy [Fri, 11 Jun 1993 11:28:28 +0000 (11:28 +0000)]
* gud.el (gud-last-last-frame): New variable.
(gud-display-frame): Save the frame we displayed in
gud-last-last-frame.
(gud-refresh): Force gud-display-frame to jump to the last frame
displayed, even if it has already done so once.
Jim Blandy [Fri, 11 Jun 1993 06:49:23 +0000 (06:49 +0000)]
* s/isc3-0.h (LIB_X11_LIB): #undef this, to remove the value
inherited from usg5-3.h; ISC doesn't have libX11_s.
(LIBX11_SYSTEM): Link against the static -lc, not -lc_s.
Jim Blandy [Fri, 11 Jun 1993 06:36:45 +0000 (06:36 +0000)]
* configure.in: Pass "-Isrc" to the CPP we run to examine the
s/*.h and m/*.h files. Martin Tomes
<mt00@controls.eurotherm.co.uk> says ISC Unix 3.0.1 needs it.
Jim Blandy [Thu, 10 Jun 1993 13:10:00 +0000 (13:10 +0000)]
* frame.el (frame-initialize): When deleting geometry
specifications from initial-frame-alist, remember that they may
occur more than once, and do, if the -geometry option was
specified as well as a .geometry resource.
Jim Blandy [Thu, 10 Jun 1993 12:52:31 +0000 (12:52 +0000)]
* search.c (Flooking_at, Fstring_match, fast_string_match,
search_buffer): Don't block input while calling searching and
matching functions. These functions may not call malloc under
Emacs anyway, and we need to be able to check for C-g.
Jim Blandy [Thu, 10 Jun 1993 07:17:33 +0000 (07:17 +0000)]
* compile.el (compilation-error-list): When we haven't yet
generated a marker for the source position of an error message,
store (FILENAME . LINE-NUMBER), not ((DIRECTORY . FILE)
LINE-NUMBER). Doc fix.
(next-error, compilation-parse-errors): Adjusted appropriately.
Jim Blandy [Thu, 10 Jun 1993 06:23:04 +0000 (06:23 +0000)]
* filelock.c: Test HAVE_LONG_FILE_NAMES, not SHORT_FILE_NAMES, to
interface nicely with autoconf.
* m/delta.h: Don't #define SHORT_FILE_NAMES; autoconf does this
for us.
Jim Blandy [Thu, 10 Jun 1993 06:05:05 +0000 (06:05 +0000)]
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
(BSD4_4, SVR4, HAVE_SETSID, HAVE_UNIX_DOMAIN): #define these.
(FIRST_PTY_LETTER): This is 'r', not 'p'.
(HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Don't #define these.
(HAVE_TERMIOS): #define these instead.
(XREBINDKEYSYM): Don't #define.
Test THIS_IS_YMAKEFILE instead of MAKING_MAKEFILE.
(sigmask, sigpause): #undef these after #including <signal.h>.
(LD_SWITCH_SYSTEM, START_FILES, LIBS_SYSTEM, LIB_GCC): #define
these to avoid problems with /lib/crt0.o.
(C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): #define these.
Jim Blandy [Wed, 9 Jun 1993 12:45:26 +0000 (12:45 +0000)]
* emacsserver.c (main): When we're passing a `struct sockaddr_un'
to bind or accept, cast the pointer, to avoid warnings on systems
which declare prototypes for this.
* emacsclient.c (main): Same.
Jim Blandy [Wed, 9 Jun 1993 12:41:31 +0000 (12:41 +0000)]
* emacsserver.c (main): When we're passing a `struct sockaddr_un'
to bind or accept, cast the pointer, to avoid warnings on systems
which declare prototypes for this.
Jim Blandy [Wed, 9 Jun 1993 12:39:16 +0000 (12:39 +0000)]
* process.c (sigchld_handler): Add cast, to avoid warnings on Linux.
(Fopen_network_stream): Cast the second argument to connect, to
avoid warnings on any system that provides prototypes for connect.
Jim Blandy [Wed, 9 Jun 1993 09:44:24 +0000 (09:44 +0000)]
* scroll-bar.el (scroll-bar-set-window-start): Remember that the
scroll bar numbers reflect the accessible region of the buffer,
not the entire buffer.
Jim Blandy [Wed, 9 Jun 1993 07:21:28 +0000 (07:21 +0000)]
* xdisp.c (display_text_line): Handle case where line ends in a
continuation character but we never actually displayed any buffer
text (due to minibuffer prompt).
Jim Blandy [Tue, 8 Jun 1993 07:18:40 +0000 (07:18 +0000)]
* configure.in (CFLAGS): Don't set this according to the value of
the GCC shell variable. Instead, consult the machine and system
files for the values of C_OPTIMIZE_SWITCH and C_DEBUG_SWITCH, and
test __GNUC__ while we're at it.
* configure.in: Check to see if the system has -ldnet.
Jim Blandy [Tue, 8 Jun 1993 06:59:37 +0000 (06:59 +0000)]
* ymakefile (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): Remove these;
people shouldn't edit this file to choose optimization and
debugging switches anyway. ../configure will set CFLAGS to an
appropriate default, which they will be able to override.
* Makefile.in (xmakefile): Don't try to turn -g and -O in
CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH. CFLAGS should
be the sole source of such switches, so that setting CFLAGS
controls them completely.
Richard M. Stallman [Tue, 8 Jun 1993 06:12:08 +0000 (06:12 +0000)]
(Fforward_comment): Set point to where scan stops,
thus moving acros whitespace. When moving fwd, treat Sendcomment
as whitespace; likewise for Scomment when moving back.
(scan_sexps_forward): New arg COMMENTSTOP.
(Fparse_partial_sexp): Likewise.