bpt/emacs.git
31 years agoPut interrupt input blocking in a separate file from xterm.h.
Jim Blandy [Wed, 31 Mar 1993 10:55:33 +0000 (10:55 +0000)]
Put interrupt input blocking in a separate file from xterm.h.
This isn't specific to X, and it allows us to avoid #including
xterm.h in files that don't really have anything to do with X.
* blockinput.h: New file.
* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
(x_input_blocked, x_pending_input): Deleted; there are analogs
in blockinput.h called interrupt_input_blocked and
interrupt_input_pending.
* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
New variables, used by the macros in blockinput.h.
* xterm.c: #include blockinput.h.
(x_input_blocked, x_pending_input): Deleted.
(XTread_socket): Test and set interrupt_input_blocked and
interrupt_input_pending instead of the old variables.
* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
#include blockinput.h.
* eval.c: #include blockinput.h instead of xterm.h.
* keyboard.c: #include blockinput.h.
(input_poll_signal): Just test
interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
x_input_blocked.

Block the processing of interrupt input while we're manipulating the
malloc heap.
* alloc.c: (xfree): New function, to make it easy to free things
safely.
(xmalloc, xrealloc): Block X input while doing the deed.
(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
instead of free.
(uninterrupt_malloc): New function, to install input-blocking
hooks into the GNU malloc routines.
* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
on startup.
* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
Use xmalloc instead of malloc; don't bother to check if out of
memory here.
(Fgarbage_collect): Call xrealloc instead of realloc.
* buffer.c: Use xmalloc and xfree instead of malloc and free;
don't bother to check if out of memory here.
(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
calls to ralloc routines.
* insdel.c: Same.
* lisp.h (xfree): New extern declaration.
* xfaces.c (xfree): Don't #define this to be free; use the
definition in alloc.c.
* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
xmenu.c, xterm.c: Use xfree instead of free.
* hftctl.c: Use xfree and xmalloc instead of free and malloc.
* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
and malloc.
* search.c: Since the regexp routines can malloc, BLOCK_INPUT
while runing them.  #include blockinput.h.
* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
of free and malloc.  BLOCK_INPUT around routines which we know
will call malloc.

ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
these depend on blockinput.h.

31 years ago* xfaces.c: Doc fixes.
Jim Blandy [Wed, 31 Mar 1993 10:47:13 +0000 (10:47 +0000)]
* xfaces.c: Doc fixes.

Put interrupt input blocking in a separate file from xterm.h.
This isn't specific to X, and it allows us to avoid #including
xterm.h in files that don't really have anything to do with X.
* blockinput.h: New file.
* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
(x_input_blocked, x_pending_input): Deleted; there are analogs
in blockinput.h called interrupt_input_blocked and
interrupt_input_pending.
* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
New variables, used by the macros in blockinput.h.
* xterm.c: #include blockinput.h.
(x_input_blocked, x_pending_input): Deleted.
(XTread_socket): Test and set interrupt_input_blocked and
interrupt_input_pending instead of the old variables.
* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
#include blockinput.h.
* eval.c: #include blockinput.h instead of xterm.h.
* keyboard.c: #include blockinput.h.
(input_poll_signal): Just test
interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
x_input_blocked.

Block the processing of interrupt input while we're manipulating the
malloc heap.
* alloc.c: (xfree): New function, to make it easy to free things
safely.
(xmalloc, xrealloc): Block X input while doing the deed.
(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
instead of free.
(uninterrupt_malloc): New function, to install input-blocking
hooks into the GNU malloc routines.
* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
on startup.
* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
Use xmalloc instead of malloc; don't bother to check if out of
memory here.
(Fgarbage_collect): Call xrealloc instead of realloc.
* buffer.c: Use xmalloc and xfree instead of malloc and free;
don't bother to check if out of memory here.
(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
calls to ralloc routines.
* insdel.c: Same.
* lisp.h (xfree): New extern declaration.
* xfaces.c (xfree): Don't #define this to be free; use the
definition in alloc.c.
* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
xmenu.c, xterm.c: Use xfree instead of free.
* hftctl.c: Use xfree and xmalloc instead of free and malloc.
* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
and malloc.
* search.c: Since the regexp routines can malloc, BLOCK_INPUT
while runing them.  #include blockinput.h.
* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
of free and malloc.  BLOCK_INPUT around routines which we know
will call malloc.

ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
these depend on blockinput.h.

31 years agoInitial revision
Jim Blandy [Wed, 31 Mar 1993 08:13:16 +0000 (08:13 +0000)]
Initial revision

31 years ago* keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
Jim Blandy [Wed, 31 Mar 1993 07:19:25 +0000 (07:19 +0000)]
* keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
not trying to create modifier masks using integers which are
unrepresentable as lisp values.

31 years ago(Fwrite_region): Don't fail to set visit_file.
Richard M. Stallman [Wed, 31 Mar 1993 07:05:20 +0000 (07:05 +0000)]
(Fwrite_region): Don't fail to set visit_file.

31 years ago(read_char): Clear Vquit_flag when we return C-g for it.
Richard M. Stallman [Wed, 31 Mar 1993 07:04:46 +0000 (07:04 +0000)]
(read_char): Clear Vquit_flag when we return C-g for it.

31 years agoNew macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
Jim Blandy [Tue, 30 Mar 1993 23:07:47 +0000 (23:07 +0000)]
New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
equivalent of /dev/null, and the suffixes used by executable
files.  This is simple, and helps people porting Emacs to other
operating systems.
* process.h (NULL_DEVICE): Give this a default value.
* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
Use NULL_DEVICE instead of "/dev/null".
* s/vms.h (NULL_DEVICE): #define this.

31 years agoNew macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
Jim Blandy [Tue, 30 Mar 1993 23:05:56 +0000 (23:05 +0000)]
New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
equivalent of /dev/null, and the suffixes used by executable
files.  This is simple, and helps people porting Emacs to other
operating systems.
* process.h (NULL_DEVICE): Give this a default value.
* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
Use NULL_DEVICE instead of "/dev/null".

31 years ago(find-backup-file-name): delete nothing if overflow in number of files to keep.
Noah Friedman [Tue, 30 Mar 1993 22:21:03 +0000 (22:21 +0000)]
(find-backup-file-name): delete nothing if overflow in number of files to keep.

31 years agolisp/\f * Makefile.in (src/paths.h): Don't echo the huge sed command we
Jim Blandy [Tue, 30 Mar 1993 21:31:15 +0000 (21:31 +0000)]
lisp/\f * Makefile.in (src/paths.h): Don't echo the huge sed command we
use to build paths.h.
(lib-src/Makefile, src/Makefile): Similarly.

31 years agoRename int-to-string to number-to-string, since it can handle
Jim Blandy [Tue, 30 Mar 1993 21:21:49 +0000 (21:21 +0000)]
Rename int-to-string to number-to-string, since it can handle
floating-point as well as integer arguments.  subr.el defines the
former as an alias for the latter.
* data.c (Fnumber_to_string): Renamed from Fint_to_string.
(wrong_type_argument): Adjust caller.
(syms_of_data): Adjust defsubr.
* fns.c (concat): Adjust caller.
* lisp.h (Fnumber_to_string): Adjust extern declaration.
* mocklisp.c (Finsert_string): Adjust caller.
* process.c (status_message): Adjust caller.

31 years ago* subr.el (int-to-string): Make this an alias for the subr
Jim Blandy [Tue, 30 Mar 1993 21:12:44 +0000 (21:12 +0000)]
* subr.el (int-to-string): Make this an alias for the subr
number-to-string.

31 years ago* configure: Extend test for working `const' keyword to handle AIX
Jim Blandy [Tue, 30 Mar 1993 20:33:58 +0000 (20:33 +0000)]
* configure: Extend test for working `const' keyword to handle AIX
3.2 cc.

31 years ago(isearch-done): Customize the message about mark.
Richard M. Stallman [Tue, 30 Mar 1993 19:42:10 +0000 (19:42 +0000)]
(isearch-done): Customize the message about mark.

31 years ago(isearch-mode-map): Delete the binding for C-h.
Richard M. Stallman [Tue, 30 Mar 1993 19:38:34 +0000 (19:38 +0000)]
(isearch-mode-map): Delete the binding for C-h.

31 years ago*** empty log message ***
Eric S. Raymond [Tue, 30 Mar 1993 16:22:39 +0000 (16:22 +0000)]
*** empty log message ***

31 years ago(rmail): Don't use mbox as inbox by default.
Richard M. Stallman [Mon, 29 Mar 1993 22:44:46 +0000 (22:44 +0000)]
(rmail): Don't use mbox as inbox by default.

31 years agoPut back removed years in copyright notice.
Richard M. Stallman [Mon, 29 Mar 1993 19:49:43 +0000 (19:49 +0000)]
Put back removed years in copyright notice.

31 years ago(count-lines): Use save-match-data.
Richard M. Stallman [Mon, 29 Mar 1993 19:09:05 +0000 (19:09 +0000)]
(count-lines): Use save-match-data.

31 years agoRemoved author and Adapted-By lines. They're wrong, and they're not
Eric S. Raymond [Mon, 29 Mar 1993 15:48:02 +0000 (15:48 +0000)]
Removed author and Adapted-By lines.  They're wrong, and they're not
in the supposedly up-to-date version on my system.  What was going on
here?

31 years ago(vc-next-action, vc-peint-log, vc-diff, vc-revert-buffer) improved
Eric S. Raymond [Mon, 29 Mar 1993 15:38:31 +0000 (15:38 +0000)]
(vc-next-action, vc-peint-log, vc-diff, vc-revert-buffer) improved
logic for parent buffer finding.

31 years agoProvide mailabbrev, not mail-abbrevs.
Richard M. Stallman [Mon, 29 Mar 1993 08:09:35 +0000 (08:09 +0000)]
Provide mailabbrev, not mail-abbrevs.

31 years ago(make_frame): Init face_alist field.
Richard M. Stallman [Mon, 29 Mar 1993 05:16:56 +0000 (05:16 +0000)]
(make_frame): Init face_alist field.

31 years ago*** empty log message ***
Eric S. Raymond [Mon, 29 Mar 1993 04:58:31 +0000 (04:58 +0000)]
*** empty log message ***

31 years ago(NO_PTY_H): Defined.
Richard M. Stallman [Mon, 29 Mar 1993 04:35:00 +0000 (04:35 +0000)]
(NO_PTY_H): Defined.

31 years ago[NO_PTY_H]: Don't include pty.h.
Richard M. Stallman [Mon, 29 Mar 1993 04:34:46 +0000 (04:34 +0000)]
[NO_PTY_H]: Don't include pty.h.

31 years ago[USG5_4]: Alternate defining of LIBS_SYSTEM,
Richard M. Stallman [Mon, 29 Mar 1993 01:41:58 +0000 (01:41 +0000)]
[USG5_4]: Alternate defining of LIBS_SYSTEM,
LIBX11_SYSTEM, HAVE_RANDOM, BSTRING.

31 years ago(fill-individual-paragraphs): When skipping mail headers, skip to a blank line.
Richard M. Stallman [Sun, 28 Mar 1993 22:56:29 +0000 (22:56 +0000)]
(fill-individual-paragraphs): When skipping mail headers, skip to a blank line.

31 years agoUndo previous change.
Richard M. Stallman [Sun, 28 Mar 1993 22:35:42 +0000 (22:35 +0000)]
Undo previous change.

31 years ago(setenv): Renamed back from putenv.
Richard M. Stallman [Sun, 28 Mar 1993 22:27:23 +0000 (22:27 +0000)]
(setenv): Renamed back from putenv.

31 years agoCancel previous change; this version should be identical to version 1.17.
Richard M. Stallman [Sun, 28 Mar 1993 22:07:36 +0000 (22:07 +0000)]
Cancel previous change; this version should be identical to version 1.17.

31 years ago(regexp-history): New history list.
Richard M. Stallman [Sun, 28 Mar 1993 20:17:39 +0000 (20:17 +0000)]
(regexp-history): New history list.
(occur, flush-lines, keep-lines, how-many): Use it.
(occur): Don't insert previous string in minibuffer gratuitously.
Just use it if input is empty.
Use save-match-data around count-lines.

31 years ago(Fexpand_file_name): Default DEFALT at beginning,
Richard M. Stallman [Sun, 28 Mar 1993 08:29:21 +0000 (08:29 +0000)]
(Fexpand_file_name): Default DEFALT at beginning,
before expanding it.  But avoid unneeded or infinite recursive expand.

(Fwrite_region): Set visit_file after expanding file arg.
Also expand VISIT arg if specified.

31 years ago(command_loop_1): Clear force_start of selected_window
Richard M. Stallman [Sun, 28 Mar 1993 08:27:34 +0000 (08:27 +0000)]
(command_loop_1): Clear force_start of selected_window
after reading each key sequence.

31 years ago*** empty log message ***
Noah Friedman [Sun, 28 Mar 1993 07:32:08 +0000 (07:32 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Noah Friedman [Sun, 28 Mar 1993 07:25:36 +0000 (07:25 +0000)]
*** empty log message ***

31 years agorenamed to env.el; changed setenv to putenv.
Noah Friedman [Sun, 28 Mar 1993 07:13:09 +0000 (07:13 +0000)]
renamed to env.el; changed setenv to putenv.

31 years ago(vc-comment-to-changelog): A useful vc-checkin hook, added.
Eric S. Raymond [Sun, 28 Mar 1993 06:40:46 +0000 (06:40 +0000)]
(vc-comment-to-changelog): A useful vc-checkin hook, added.

(vc-checkout): Now rejects attempts to check out files via FTP.

The `derived buffers' in the mode (the VC log buffer, status buffers,
and most buffer output commands) now know which file buffer was their
parent, and most commands will try to find such a parent buffer when
executed from within a special buffer.

31 years agoFixed typo introduced by last patch.
Eric S. Raymond [Sun, 28 Mar 1993 06:36:19 +0000 (06:36 +0000)]
Fixed typo introduced by last patch.

31 years ago: Added autoload cookie for entry point.
Eric S. Raymond [Sun, 28 Mar 1993 06:24:54 +0000 (06:24 +0000)]
: Added autoload cookie for entry point.

31 years ago(auto-mode-alist): added pairs for .ms, .man, .mk, [Mm]akefile, .lex.
Eric S. Raymond [Sun, 28 Mar 1993 06:24:44 +0000 (06:24 +0000)]
(auto-mode-alist): added pairs for .ms, .man, .mk, [Mm]akefile, .lex.

31 years ago(shrink-window-if-larger-than-buffer) Added doc string. Made argument
Eric S. Raymond [Sun, 28 Mar 1993 06:24:42 +0000 (06:24 +0000)]
(shrink-window-if-larger-than-buffer) Added doc string.  Made argument
optional, because window-buffer does the right thing with nil.

31 years ago(electric-buffer-menu-mode-map): fillarray isn't a valid operation on maps
Eric S. Raymond [Sun, 28 Mar 1993 06:24:33 +0000 (06:24 +0000)]
(electric-buffer-menu-mode-map):  fillarray isn't a valid operation on maps
any more.

31 years ago(struct frame): New field face_alist.
Richard M. Stallman [Sun, 28 Mar 1993 05:24:23 +0000 (05:24 +0000)]
(struct frame): New field face_alist.

31 years ago(struct face): New fields pixmap_h, pixmap_w.
Richard M. Stallman [Sun, 28 Mar 1993 05:23:45 +0000 (05:23 +0000)]
(struct face): New fields pixmap_h, pixmap_w.
Field `font' is now a pointer.

31 years ago(FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE)
Richard M. Stallman [Sun, 28 Mar 1993 05:22:46 +0000 (05:22 +0000)]
(FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE)
(FRAME_MODE_LINE_FACE): New macros.
(struct x_display): New fields faces, n_faces.

31 years ago(Freplace_match): Clean up criterion about converting case.
Richard M. Stallman [Sun, 28 Mar 1993 05:21:24 +0000 (05:21 +0000)]
(Freplace_match): Clean up criterion about converting case.
If old text has any capitalized words, capitalize new text.

31 years ago(main): Call syms_of_xfaces.
Richard M. Stallman [Sun, 28 Mar 1993 05:20:42 +0000 (05:20 +0000)]
(main): Call syms_of_xfaces.

31 years ago*** empty log message ***
Jim Blandy [Sat, 27 Mar 1993 18:32:23 +0000 (18:32 +0000)]
*** empty log message ***

31 years ago(struct buffer): Field `fieldlist' deleted.
Richard M. Stallman [Sat, 27 Mar 1993 18:04:02 +0000 (18:04 +0000)]
(struct buffer): Field `fieldlist' deleted.

(OVERLAY_START, OVERLAY_END, OVERLAY_VALID): New macros.
(OVERLAY_POSITION): Likewise.
(searchbuf): Decl deleted--doesn't belong here.
Delete include of regex.h for VMS.

31 years ago(init_buffer_once, reset_buffer):
Richard M. Stallman [Sat, 27 Mar 1993 18:03:10 +0000 (18:03 +0000)]
(init_buffer_once, reset_buffer):
Delete last vestige of fieldlist slot.
(Fregion_fields): Finally deleted.

(overlays_at, recenter_overlay_lists): New functions.
(Fmake_overlay, Fdelete_overlay, Foverlay_get, Foverlay_put): Likewise.
(Fmove_overlay, Foverlays_at, Fnext_overlay_change): Likewise.
(Foverlay_lists, Foverlay_recenter): Likewise.

31 years ago(try-face-font, find-face, get-face): New aliases.
Richard M. Stallman [Sat, 27 Mar 1993 18:01:28 +0000 (18:01 +0000)]
(try-face-font, find-face, get-face): New aliases.

31 years agomoby rlogin-filter fixes
Noah Friedman [Sat, 27 Mar 1993 08:21:02 +0000 (08:21 +0000)]
moby rlogin-filter fixes

31 years ago(set-case-syntax-delims, set-case-syntax-pair, set-case-syntax):
Richard M. Stallman [Sat, 27 Mar 1993 06:29:16 +0000 (06:29 +0000)]
(set-case-syntax-delims, set-case-syntax-pair, set-case-syntax):
Do not set the standard case table.
Reintroduce arg (now named TABLE) which gives a downcase string to set.

31 years agoAdd autoloads.
Richard M. Stallman [Sat, 27 Mar 1993 06:19:51 +0000 (06:19 +0000)]
Add autoloads.
(set-case-syntax-delims, set-case-syntax-pair, set-case-syntax):
Delete arg STRING--always set the standard case table.
Be more thorough about doing that, and arrange to recompute the
equivalence and canonicalize parts of the table.

31 years ago(Fchar_equal): Don't ignore high bits of character.
Richard M. Stallman [Sat, 27 Mar 1993 04:20:05 +0000 (04:20 +0000)]
(Fchar_equal): Don't ignore high bits of character.

31 years ago(add-hook) Added optional arg to cause hook to be appended rather than
Eric S. Raymond [Sat, 27 Mar 1993 01:58:44 +0000 (01:58 +0000)]
(add-hook) Added optional arg to cause hook to be appended rather than
prepended to the hook list.  This obviates the 23 different hook-bashing
packages in LCD.

(get-word) Added.  Lots of help and default-generator functions in LCD use
it, and it's remarkably difficult to get right, especially given the new
syntax primitives.

31 years ago(printify-buffer) Added, debugged from Roland McGrath's printify-buffer code
Eric S. Raymond [Sat, 27 Mar 1993 01:58:38 +0000 (01:58 +0000)]
(printify-buffer) Added, debugged from Roland McGrath's printify-buffer code
in LCD.

31 years ago(cookie) Enhanced it to handle both LINS files and UNIX fortune files.
Eric S. Raymond [Sat, 27 Mar 1993 01:58:33 +0000 (01:58 +0000)]
(cookie) Enhanced it to handle both LINS files and UNIX fortune files.

31 years ago(fill-rectangle) Added. Inspired by Lynn Slater's insert-box package in LCD,
Eric S. Raymond [Sat, 27 Mar 1993 01:58:26 +0000 (01:58 +0000)]
(fill-rectangle) Added.  Inspired by Lynn Slater's insert-box package in LCD,
but the interface and implementation are different.

31 years ago(enable-and-notify) Added. Inspired by Roland McGrath's LCD package
Eric S. Raymond [Sat, 27 Mar 1993 01:58:24 +0000 (01:58 +0000)]
(enable-and-notify) Added.  Inspired by Roland McGrath's LCD package
enable-me.

31 years ago(Buffer-menu-toggle-read-only) Added, per Rob Austein's suggestion
Eric S. Raymond [Sat, 27 Mar 1993 01:58:22 +0000 (01:58 +0000)]
(Buffer-menu-toggle-read-only)  Added, per Rob Austein's suggestion
in the LCD package bm-toggle.el.

31 years ago(undo-with-space) Added. C-x C-u now bound to this rather than undo.
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.

31 years ago(fill-paragraph, justify-current-line) Now uses the skip-syntax-
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.

31 years ago(local-write-file-hooks): New variable.
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.

31 years ago(psychoanalyze-pinhead) Needed a prefrontal lobotomy. I gave it one.
Eric S. Raymond [Fri, 26 Mar 1993 04:17:45 +0000 (04:17 +0000)]
(psychoanalyze-pinhead) Needed a prefrontal lobotomy.  I gave it one.

31 years agoAdded Commentary.
Eric S. Raymond [Fri, 26 Mar 1993 04:15:05 +0000 (04:15 +0000)]
Added Commentary.

31 years ago* xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3;
Jim Blandy [Thu, 25 Mar 1993 23:27:42 +0000 (23:27 +0000)]
* xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3;
access the display structure directly.

31 years ago(searchbuf): Declare here.
Richard M. Stallman [Thu, 25 Mar 1993 17:56:41 +0000 (17:56 +0000)]
(searchbuf): Declare here.

31 years ago(mark_object): Mark face_alist of a frame.
Richard M. Stallman [Thu, 25 Mar 1993 17:44:56 +0000 (17:44 +0000)]
(mark_object): Mark face_alist of a frame.

31 years ago(Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit.
Richard M. Stallman [Thu, 25 Mar 1993 06:32:43 +0000 (06:32 +0000)]
(Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit.

31 years ago* make-dist: Distribute lisp/term/ChangeLog.
Jim Blandy [Thu, 25 Mar 1993 04:58:09 +0000 (04:58 +0000)]
* make-dist: Distribute lisp/term/ChangeLog.

31 years ago* x-win.el (x-defined-colors): Use x-color-defined-p instead of
Jim Blandy [Thu, 25 Mar 1993 04:39:49 +0000 (04:39 +0000)]
* x-win.el (x-defined-colors): Use x-color-defined-p instead of
x-defined-color.
(x-handle-geometry): Use x-parse-geometry instead of x-geometry.

31 years ago* x-win.el: Update copyright to 1993.
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.

31 years ago* dispnew.c (getenv): Add extern declaration.
Jim Blandy [Thu, 25 Mar 1993 04:17:01 +0000 (04:17 +0000)]
* dispnew.c (getenv): Add extern declaration.

31 years agoFix typo.
Jim Blandy [Thu, 25 Mar 1993 04:08:11 +0000 (04:08 +0000)]
Fix typo.

31 years agoFix typo in source for `configure.tmp.$$.c'.
Jim Blandy [Thu, 25 Mar 1993 03:57:51 +0000 (03:57 +0000)]
Fix typo in source for `configure.tmp.$$.c'.

31 years ago* Makefile.in (C_SWITCH_SYSTEM): New variable.
Jim Blandy [Thu, 25 Mar 1993 03:51:38 +0000 (03:51 +0000)]
* Makefile.in (C_SWITCH_SYSTEM): New variable.
(CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
compiler.

31 years agoArrange for C compilation throughout the tree to get
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.

31 years ago(describe-function): Add blank line above doc string.
Richard M. Stallman [Thu, 25 Mar 1993 03:40:35 +0000 (03:40 +0000)]
(describe-function): Add blank line above doc string.

31 years ago* dispnew.c (init_display): Get display name from environment
Jim Blandy [Thu, 25 Mar 1993 02:54:23 +0000 (02:54 +0000)]
* dispnew.c (init_display): Get display name from environment
properly on VMS as well as Unix.

31 years ago* keymap.c (Fkeymapp): Doc fix.
Jim Blandy [Thu, 25 Mar 1993 02:45:35 +0000 (02:45 +0000)]
* keymap.c (Fkeymapp): Doc fix.

31 years ago* process.c [VMS] (DCL_PROMPT): Remove hack.
Jim Blandy [Thu, 25 Mar 1993 02:27:16 +0000 (02:27 +0000)]
* process.c [VMS] (DCL_PROMPT): Remove hack.
(WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG,
WCOREDUMP, WTERMSIG): New dummy definitions.
(deactivate_process): Add missing semicolon.

31 years agoAdd provide call.
Richard M. Stallman [Thu, 25 Mar 1993 02:21:51 +0000 (02:21 +0000)]
Add provide call.

31 years ago* xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.
Jim Blandy [Thu, 25 Mar 1993 02:16:10 +0000 (02:16 +0000)]
* xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.

31 years ago* xterm.h (x_focus_frame): Add extern keyword to declaration.
Jim Blandy [Thu, 25 Mar 1993 02:12:14 +0000 (02:12 +0000)]
* xterm.h (x_focus_frame): Add extern keyword to declaration.

31 years ago* xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.
Jim Blandy [Thu, 25 Mar 1993 02:11:11 +0000 (02:11 +0000)]
* xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.

31 years ago(lm-last-modified-date) Fixed return bug.
Eric S. Raymond [Thu, 25 Mar 1993 01:57:43 +0000 (01:57 +0000)]
(lm-last-modified-date) Fixed return bug.
(lm-uthor, lm-maintainer) These now return cons pairs, not strings.

31 years agoBrent Benson's patch to support `cd -'.
Eric S. Raymond [Thu, 25 Mar 1993 01:55:24 +0000 (01:55 +0000)]
Brent Benson's patch to support `cd -'.

31 years ago* make-dist: Include the VMS support files in oldXMenu in the
Jim Blandy [Thu, 25 Mar 1993 01:49:59 +0000 (01:49 +0000)]
* make-dist: Include the VMS support files in oldXMenu in the
distribution.

31 years ago(mh-unshar) Added.
Eric S. Raymond [Thu, 25 Mar 1993 01:49:59 +0000 (01:49 +0000)]
(mh-unshar) Added.

31 years agoAdded a (provide 'emacsbug); lisp-mnt.el needs this.
Eric S. Raymond [Thu, 25 Mar 1993 01:47:39 +0000 (01:47 +0000)]
Added a (provide 'emacsbug); lisp-mnt.el needs this.

31 years ago* calendar.el (calendar-standard-time-zone-name,
Jim Blandy [Thu, 25 Mar 1993 01:28:21 +0000 (01:28 +0000)]
* calendar.el (calendar-standard-time-zone-name,
calendar-daylight-time-zone-name): Initialize these at load-time,
as well as calendar-time-zone.

* calendar.el (calendar-time-zone): Fix code which initializes
this.

31 years ago* config.h.in (HAVE_XFREE386): New flag, set by configure script.
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.

31 years ago* configure: Doc fix.
Jim Blandy [Thu, 25 Mar 1993 01:14:34 +0000 (01:14 +0000)]
* configure: Doc fix.

* configure: Fix corrupted config_h_opts.

* configure: Properly report option names in error messages.

* configure: Properly recognize --x-includes and --x-libraries
options.

* configure: Fix syntax errors in code handling XFree386.

31 years agoDefault to clipper-intergraph if system is clix.
Richard M. Stallman [Wed, 24 Mar 1993 22:44:55 +0000 (22:44 +0000)]
Default to clipper-intergraph if system is clix.

31 years ago(push_key_description): Ignore bits above meta_modifier.
Richard M. Stallman [Wed, 24 Mar 1993 10:05:49 +0000 (10:05 +0000)]
(push_key_description): Ignore bits above meta_modifier.

31 years ago*** empty log message ***
Jim Blandy [Wed, 24 Mar 1993 02:48:44 +0000 (02:48 +0000)]
*** empty log message ***

31 years ago* xfns.c (x_make_gc): Don't forget to block X input around the
Jim Blandy [Wed, 24 Mar 1993 01:54:20 +0000 (01:54 +0000)]
* xfns.c (x_make_gc): Don't forget to block X input around the
X calls in this function.

* xfns.c [not HAVE_X11R4] (select_visual): It's v->visualid, not
x->visualid.  x isn't defined.

31 years ago* keyboard.c [POLL_FOR_INPUT] (quit_throw_to_read_char): If
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.