1 1986-05-18 Richard M. Stallman (rms@prep)
3 * alloc.c (malloc_warning_1): Add some advice on
4 the significance of the warning.
6 1986-05-09 Richard M. Stallman (rms@prep)
8 * sysdep.c (get_screen_size):
9 Reject values of TIOCGSIZE if they are ridiculous.
11 1986-05-05 Richard M. Stallman (rms@prep)
13 * process.c (send_process_1):
14 If pipe buffer is full, wait a second and try again.
16 1986-05-02 Richard M. Stallman (rms@prep)
18 * termcap.c (tputs): round rather than truncating
19 when dividing padcount.
21 1986-04-24 Richard M. Stallman (rms@prep)
23 * insdel.c (del_range): args passed to adjust_markers
24 are now properly adjusted for the gap.
26 1986-04-20 Richard M. Stallman (rms@prep)
28 * alloca.c: Declare xmalloc.
30 1986-04-17 Richard M. Stallman (rms@prep)
32 * filelock.c (unlock_buffer): New function to unlock
33 a specified buffer. Use in Fdelete_buffer_internal
34 to avoid lossage if buffer being killed is not current.
36 1986-04-14 Richard M. Stallman (rms@prep)
38 * alloc.c (malloc_warning, Fgarbage_collect):
39 If malloc_warning is called during GC, just save warning
40 in malloc_warn_string. Try again to warn when GC ends.
42 1986-04-12 Richard M. Stallman (rms@prep)
44 * m-celerity.h: Remove spurious effectless #define BSTRINGS
46 1986-04-10 Richard M. Stallman (rms@prep)
48 * xfns.c (Fx_get_default):
49 Avoid doing strlen(value) if value is 0.
51 1986-04-08 Richard M. Stallman (rms@prep)
53 * indent.c (compute_motion):
54 Change unsigned short back to short. unsigned short is plain
55 wrong and causes infinite loops when horizontal scrolling is used.
56 Introduced macros HPOS and VPOS for extracting components of cpos.
57 Alternate HPOS definition for Celerity since casting to (short)
60 1986-04-07 Richard M. Stallman (rms@prep)
62 * dispnew.c (update_screen):
63 Don't zero OPhysScreen and DesiredScreen until after
64 final error check. Omit the error check unless debug_end_pos.
66 1986-04-06 Richard M. Stallman (rms@prep)
69 Was returning garbage if arrived at fail: by goto fail;.
71 1986-03-27 Richard Mlynarik (mly@prep)
74 Typo: `#ifdef defined...' => `#if defined...'
76 1986-03-26 Richard M. Stallman (rms@prep)
78 * doc.c (FSnarf_documentation):
79 Appending the arg to the file name must be done
80 whether or not CANNOT_DUMP.
82 1986-03-25 Richard M. Stallman (rms@prep)
84 * fileio.c (Fsubstitute_in_file_name):
85 // at beginning of filename is meaningful on Apollo.
87 * keyboard.c (command_loop_1):
88 If C_ALLOCA, cause it to garbage collect each time around this loop.
90 * crt0.c: If NEED_ERRNO defined, declare errno.
93 1986-03-25 Richard Mlynarik (mly@prep)
95 * alloc.c (Fmake_symbol):
96 CHECK_STRING the argument.
98 1986-03-24 Richard M. Stallman (rms@prep)
100 * xfns.c (Fx_proc_mouse_event):
101 Use shifts rather than byte addressing to extract from .detail.
103 1986-03-24 Richard Mlynarik (mly@prep)
105 * minibuf.c (do_completion):
106 Only funcall predicate if it is non-nil
107 Make completion of "nil" in obarrays work.
109 1986-03-21 Richard M. Stallman (rms@prep)
111 * fileio.c (Fsubstitute_in_file_name):
112 #if 0 last change (LOGNAME); it makes vax running 5.0 crash.
114 1986-03-20 Richard M. Stallman (rms@prep)
116 * unexec.c (make_hdr): avoid comparing a_bss field with 0.
117 It is unsigned on some machines. Save sbrk (0) in tem.
119 1986-03-19 Richard M. Stallman (rms@prep)
121 * minibuf.c (do_completion):
122 Don't say string is exact match if it fails the predicate.
124 * process.c (create_process):
125 For STRIDE: use FIONBIO to make pipe/pty non-blocking.
126 The fcntl alone failed to do it.
128 * fileio.c (Ffile_directory_p, Ffile_modes):
129 Don't remove trailing slash for stat if path is "/".
131 * process.c (kill_buffer_processes):
132 Pass nil, not 0, to sig_process for current_group arg.
134 1986-03-18 Richard M. Stallman (rms@prep)
136 * process.c (handle_process_output):
137 Avoid error if process's buffer is dead.
139 * eval.c (un_autoload,do_autoload):
140 The Vautoload_queue mechanism was all broken.
142 * fileio.c (Fsubstitute_in_file_name):
143 On USG, if looking for env var USER and not found, use LOGNAME.
145 1986-03-16 Richard M. Stallman (rms@prep)
147 * s-usg*.h, s-unipl*.h:
148 Replace default ADDR_CORRECT with a no-op.
149 Default triggers compiler bug on some systems.
150 Remove same thing from m-stride.h since now redundant there.
152 * keyboard.c (init_keyboard, interrupt_signal):
153 For USG, handle SIGQUIT just like SIGINT.
155 * sysdep.c (init_sys_modes):
156 For HPUX, use C-g for the SIGQUIT char as well as the SIGINT char
157 as using CDEL causes Meta-DEL to send a SIGQUIT!
159 * process.c: On Uniplus, time.h is under sys/, as in bsd.
161 * sysdep.c (reset_sys_modes):
162 Don't use FASYNC if it is not defined.
164 1986-03-15 Richard M. Stallman (rms@prep)
166 * window.c (save_window_restore):
167 Fix logic for handling dead buffers.
168 Don't try to store nil for the mark into the buffer
169 if the buffer is nil.
171 * alloca.s: put #ifndef HAVE_ALLOCA AFTER including config.
173 * ymakefile: always assemble alloca.s if C_ALLOCA isn't set.
175 1986-03-14 Richard M. Stallman (rms@prep)
177 * s-usg5.0.h: Remove LOADER_N_SWITCH.
179 1986-03-14 Richard Mlynarik (mly@prep)
182 Improve doc for bolp, bobp, eolp
184 1986-03-14 Richard M. Stallman (rms@prep)
186 * cm.c (calccost): Refuse to use incremental cursor motion
187 after wrapping on terminals with MagicWrap (xn flag).
189 1986-03-13 Richard M. Stallman (rms@prep)
191 * emacs.c (main): For APOLLO: reserve 4meg with set_sbrk_size.
193 * alloc.c (Fpurecopy): fix typo unsignedint.
195 1986-03-12 Richard M. Stallman (rms@prep)
197 * dired.c (file_name_completion):
198 Allow exact match against an ignored extension.
199 Can thus delete foo.o even if foo.out exists.
201 * s-hpux.h: Turn off HAVE_PTYS since their csh has "sanity
202 checking" and other programs seem to lose with ptys.
204 1986-03-11 Richard M. Stallman (rms@prep)
206 * sysdep.c ({un,}request_sigio and callers):
207 Make alternate names init_sigio and reset_sigio;
208 callers in sysdep.c use those names.
209 In 4.1, change {un,}request_sigio to do sighold/sigrelse;
210 don't change init_sigio and reset_sigio.
212 * m-vax.h: If USG5_2, use -lPW and HAVE_ALLOCA.
214 * alloc.c (Fpurecopy, mark_object): In tests for pureness,
215 always use XUINT and unsigned comparison.
216 * lisp.h (CHECK_IMPURE): Likewise.
218 * doc.c (FSnarf_documentation):
219 If CANNOT_DUMP, find DOC in directory PATH_EXEC.
221 * ymakefile (APOLLO only): set LTERMCAP.
222 * m-apollo.h: Alter VALBITS and GCTYPEBITS.
224 * term.c (delete_chars): Pass num chars to the hook.
225 * term.c (raw_topos), termhooks.h: Add raw_topos_hook.
227 * unexec.c (make_hdr):
228 New compiler switch NO_REMAP means don't change text/data boundary.
230 1986-03-10 Richard M. Stallman (rms@prep)
232 * indent.c, window.c, xdisp.c:
233 Make compute_motion, vmotion and display_text_line
234 all return a pointer to a global structure, not a struct itself.
237 * syntax.c (scan_sexps_forward):
238 Make it return a pointer to a global structure,
239 not a struct itself. Change caller (Fparse_partial_sexp).
241 * s-usg*.h: #define static as nothing.
242 * m-hp200.h: No longer needs to #define static.
244 * unexec.c (adjust_lnnoptrs):
245 Replace dummy defn with one that does the job. Also
246 involves including syms.h and making global vars
247 bias and lnnoptr that are set in make_hdr.
249 1986-03-08 Richard M. Stallman (rms@prep)
251 * editfns.c (init_editfns):
252 Make AMPERSAND_FULL_NAME case start with USER_FULL_NAME.
254 * crt0.c (BOGUS case):
255 Move "start:" from non-tower32 case to unconditional.
258 Put the rounding-to-page-boundaries of section positions
259 within the file into a UMAX conditional. (See Feb 19).
261 1986-03-06 Richard M. Stallman (rms@prep)
263 * ymakefile: Add -k100000 switch to ld, for celerity.
265 * eval.c (funcall_lambda):
266 Change a comma-sequence to a compound statement.
268 1986-03-03 Richard M. Stallman (rms@prep)
271 Install much-changed versions already tested at Athena.
273 * ymakefile: Replace -lc with $(LIBSTD) and define LIBSTD
274 according to a config macro LIB_STANDARD.
275 m-tower32.h must define LIB_STANDARD.
277 * process.c (read_process_output):
278 New subroutine that does the reading and handling of process output.
279 Do so until none is left.
280 (wait_reading_process_input): call new subroutine.
281 (sig_process): If we get a pgrp number, make it negative.
282 Always send signal to pggrp; use killpg if BSD, kill otherwise.
283 (child_signal): Don't deactivate dead processes here.
284 (change_msgs): Deactivate them here, when notification is done.
285 But first, call read_process_output to get any output that's left.
287 * keyboard.c (read_avail_input):
288 (for sysV) Use fcntl, not ioctl, to make read not wait.
290 * alloca.s: put entire file inside #ifndef HAVE_ALLOCA.
292 * sysdep.c (child_setup_tty, init_sys_modes):
293 (for sysV) Set VTIME to zero; with VMIN=1 this means
296 1986-03-02 Richard M. Stallman (rms@prep)
298 * keyboard.c (quit_throw_to_get_char):
299 Before really throwing, clear waiting_for_input
300 so another interrupt won't also try to throw.
301 (get_char): Add error check for getcjmp being zero
302 where it should not be. Put this under DEBUG switch.
304 1986-03-01 Richard M. Stallman (rms@prep)
306 * crt0.c: Defining BOGUS forces use of the vax-tahoe-sequent case.
307 Add a small conditional within it for tower32.
308 Don't allow use of the m68000/m68k code if BOGUS is defined.
310 * sysdep.c (init_sys_modes):
311 For sysV: If want flow control, actively set IXON,
312 and also clear IXANY if that is defined.
315 It was doing completely wrong things to various files.
317 * tparam.c (tgoto): Move buf outside the function
318 and rename as tgoto_buf. In case #define static as nothing.
320 * unexec.c (make_hdr):
321 If macro EXEC_MAGIC is defined, let it specify the magic
322 number for the output file.
324 * xdisp.c (message): Change name `buf' to `message_buf'
325 to avoid name clash when #define static as nothing.
327 * ymakefile: Change DOCSTR to DOC.
329 1986-02-28 Richard M. Stallman (rms@prep)
331 * buffer.c (Fdelete_buffer_internal):
332 Unchain all markers from a buffer being killed.
334 1986-02-27 Richard M. Stallman (rms@prep)
336 * unexec.c, malloc.c:
337 If NBPG is used for getpagesize, multiply it by CLSIZE
338 and define that as 1 if not otherwise defined.
340 1986-02-26 Richard M. Stallman (rms@prep)
343 Detect when fdopen returns 0 given a valid descriptor.
345 * sysdep.c (stuff_char):
346 Declare arg as char, so TIOCSTI does not give wrong address.
348 1986-02-25 Richard M. Stallman (rms@prep)
350 * dispnew.c (update_screen):
351 * xdisp.c (DoDsp, Fredraw_display):
352 Insert checks to abort if screen_height is zero,
353 to detect the memory clobbering bug.
356 For 4.1, include wait.h, not sys/wait.h
357 Use O_NDELAY only if it is defined.
360 Don't HAVE_TIMEVAL. Define open as sys_open and lstat as stat.
361 Define the O_ symbols for open args.
362 Turn off CLASH_DETECTION, for now. Turn off HAVE_TIMEVAL.
364 * sysdep.c (bcopy, bzero, bcmp):
365 Make them really do the work, not try to use memset, memcopy, etc.
367 * sysdep.c (get_system_name):
368 4.1 needs its own definition of this.
370 * sysdep.c (for BSD 4.1):
371 Define sys_open, since 4.1 open takes only two args.
372 Redefine LLITOUT as 0; it loses in 4.1.
373 Define LNOFLSH. Include wait.h, not sys/wait.h.
375 1986-02-24 Richard M. Stallman (rms@prep)
377 * malloc.c: Define getpagesize as macro when not avail as syscall.
379 1986-02-23 Richard M. Stallman (rms@prep)
381 * terminfo.c: Provide a definition of ospeed.
383 1986-02-22 Richard M. Stallman (rms@prep)
385 * alloca.s (hack_sky):
386 Move label hack3; bug was making some floating ops dump core.
388 * dispnew.c (update_screen):
389 Don't free a line twice if it is in both DesiredScreen
390 and OPhysScreen. Can happen if line is copied into
391 DesiredScreen by `scrolling', then lost from PhysScreen
392 by the scrolling that is done.
393 Also remove a debugging check that did not go off
396 1986-02-18 Richard M. Stallman (rms@prep)
398 * indent.c (compute_motion):
399 Change all short to unsigned short. Needed for celerity.
401 * keyboard.c (init_keyboard):
402 Initialize kbd_ptr. Needed for celerity.
404 * unexec.c (make_hdr for celerity):
405 Copy their own header field a_scovfrl from ohdr.
408 Round positions of text and and data sections in output file
411 * crt0.c: Install version for Encore machines.
412 Also for celerity (same as pyramid and orion).
415 Don't use -X for BSD systems that use COFF.
416 On UMAX, give ld the file align.umax (a new file)
417 via the make-macro ALIGNMENT.
419 * align.umax, s-umax.h:
420 Two new files for Encore computers.
422 * lread.c (Vload_path): Make it not static.
423 In sysV, static vars go in a place in memory below my_edata
425 * dispnew.c (make_display_lines):
426 Store all the lines in an array for debugging, to help
427 debug the problem where lines get lost.
429 1986-02-14 Richard M. Stallman (rms@prep)
431 * alloca.s (ns16000):
432 Change non-sequent defn of REGISTER: add a displacement of zero.
434 1986-02-13 Richard M. Stallman (rms@prep)
436 * alloc.c (purecopy, mark_object), lisp.h:
437 Use XUINT, not XINT, in VIRT_ADDR_VARIES checks for pure object.
439 1986-02-11 Richard M. Stallman (rms@prep)
441 * fns.c (Fload_average):
442 Don't use struct nlist if no LOAD_AVE_TYPE.
444 * crt0.c: Add missing semicolon in vax/tahoe/sequent code.
446 1986-02-10 Richard M. Stallman (rms@prep)
448 * crt0.c: Remove duplicate _start for pyramid.
450 1986-02-07 Richard M. Stallman (rms@prep)
452 * sysdep.c (gettimeofday): Define this only if HAVE_TIMEVAL.
455 If USG, don't define LOAD_AVE_... and do define C_ALLOCA.
457 * filelock.c: On USG, include fcntl.h.
458 (lock_file): declare getpwuid external.
460 * window.c (Fmove_to_window_line):
461 If window start is out of restriction,
462 choose a new start here.
465 Modify ns16000 assembler syntax for the sequent machine.
467 * crt0.c: Sequent uses same code as vax except start1
468 takes one extra first arg that it ignores.
469 A new macro BOGUS is defined to allow machines to use the
470 same code and control how many args to ignore.
472 * unexec.c: For sequent machine, handle its incompatible
473 meaning of N_TXTOFF, and use N_ADDRADJ where necessary.
475 1986-02-06 Richard M. Stallman (rms@prep)
477 * sysdep.c (init_sys_modes):
478 Set tty flags ISTRIP, CS8 and PARENB right for Meta key.
481 Define CPP macro as name of cpp to use. Use it for alloca.s.
482 Make LOADER_N_SWITCH control solely the -N.
484 1986-02-06 Richard Mlynarik (mly@prep)
489 1986-02-06 Richard M. Stallman (rms@prep)
491 * indent.c (compute_motion):
492 For tabs, make sure to take remainder of positive #
493 since % can round upward with negative numbers.
495 * bytecode.c (syms_of_bytecode):
496 Fix typo in symbol name "byte-code".
498 * xdisp.c (try_window_id):
499 Use adjusted hpos of bp in computation of ep.
500 Adjustde hpos can be negative after a continuation.
502 * fileio.c (Finsert_file_contents):
503 Was failing to update n as chars were read.
504 Rearrange order of actions to make it more like InsCStr.
505 Call prepare_to_modify_buffer even if no CLASH_DETECTION.
506 Don't make gap if gap is big enough.
508 1986-02-05 Richard M. Stallman (rms@prep)
510 * termcap.c (tgetent):
511 Only use TERMCAP var as termcap entry value
512 if it has a name that matches the specified one.
513 New function name_match to match an entry against a name.
514 Do allow matching the first name in an entry.
516 * indent.c (pos_tab_offset):
517 Take remainder by window-width - 1 (# of effective columns)
518 to fix bug where alternating TAB 1 TAB 1... causes a 1
519 to shift sideways in incremental redisplay in DoDsp.
521 1986-02-04 Richard M. Stallman (rms@prep)
523 * keyboard.c (command_loop_1):
524 Don't do direct output if input is pending.
526 * xterm.h: Find the file Xlib.h in /usr/include/X.
528 1986-02-03 Richard M. Stallman (rms@prep)
530 * process.c (pty): HPUX has different dir for pty-tty devices.
532 * termcap.c: Don't include types.h or file.h.
534 1986-02-02 Richard M. Stallman (rms@prep)
537 Print a marker's corrected position, not its bufpos.
539 * window.c (Fselect_window):
540 If old and new windows show same buffer,
541 make sure new point is inside the clipping region.
543 1986-01-31 Richard M. Stallman (rms@prep)
545 * fns.c (Fload_average):
546 In NLIST_STRUCT case, set nl[1] to 0, not "".
547 Fix KERNEL_FILE and LDAV_SYMBOL for HPUX.
549 1986-01-30 Richard M. Stallman (rms@prep)
551 * m-pyramid.h: Turn on NO_UNION_TYPE.
553 * fns.c: For BSD, include sys/param.h
555 1986-01-29 Richard M. Stallman (rms@prep)
557 * fns.c (Fload_average):
558 Define a few symbols LDAV_SYMBOL and KERNEL_FILE_NAME
559 and NLIST_STRUCT to use later to simplify the code.
561 * s-usg5.2.h: Turn on `subprocesses'.
564 #undef open, read and write at the start.
565 Make sys_read, etc. always available for uses that need
567 (select): several bug fixes for system V.
568 (init_sys_modes, child_setup_tty): Init VTIME to a large #, not 0.
569 Use TCSETA, not TCSETAW (why wait?).
572 (wait_reading_process_output): if don't HAVE_TIMEVAL
573 and no timeout desired, use 100000 seconds, which
574 the select emulator recognizes.
575 When reading data, if a char is buffered in proc_buffered_char,
576 put it at the front of the data read.
577 (kill_buffer_process): ignore processes really already dead.
578 (init_process): initialize proc_buffered_char to -1 (empty).
580 * keyboard.c (fake_suspend):
581 Don't mess with the SIGCLD handler.
582 Use wait_for_termination to detect subshell termination.
583 (read_avail_input, for USG):
584 Use TCSETA, not TCSETAW; no waiting.
586 * term.c (set_terminal_modes): Don't clear screen here.
587 * xdisp.c (Fredraw_display): Clear screen here instead.
589 1986-01-28 Richard M. Stallman (rms@prep)
591 * s-hpux.h: Do #undef SIGIO.
593 * callproc.c, data.c, dispnew.c, emacs.c, keyboard.c,
595 Include signal.h before config so can #undef SIGIO in config.
597 * lread.c (read_escape):
598 Make ?\^? produce 0177.
601 Define SIGCHLD as SIGCLD only if SIGCHLD not already defined.
602 (select): Don't give select_alarmed an initialization.
605 For HPUX, copy the peculiar header fields for debugger info.
607 * keyboard.c (kbd_buffer_get_char): Don't call read_avail_input
608 if kbd_count is nonzero. (Don't know how it can be, but
609 it is observed to happen.)
612 Define SIGCHLD as SIGCLD only if SIGCHLD not already defined.
613 (wait_handling_process_output):Fill in one non-HAVE_TIMEVAL case.
615 1986-01-27 Richard M. Stallman (rms@prep)
617 * sysdep.c (reset_sys_modes):
618 Call unrequest_sigio twice.
619 Make sure FASYNC is clear in old_fcntl_flags.
621 1986-01-26 Richard M. Stallman (rms@prep)
624 Removed case for number as arg, since it has problems
625 in union-type case and it is not documented or used.
628 Fix bugs in the union-type definition.
630 1986-01-24 Richard M. Stallman (rms@prep)
633 Define macros for accessing the `union wait' structure.
635 * keyboard.c (fake_suspend):
636 Set subshell current dir to current buffer's default dir.
638 1986-01-23 Richard M. Stallman (rms@prep)
640 * dispnew.c (Fsit_for):
641 Call gobble_input only if SIGIO exists.
643 * keyboard.c (fake_suspend):
644 Save and restore the SIGCLD handler, if that exists.
646 * process.c (create_process):
647 SKTPAIR-or-not now controls only what to do if cannot use a pty.
648 For USG other than UNIPLUS, instead of sigsetmask (nonexistent),
649 save away and temporarily turn off the SIGCHLD handler.
650 (child_sig): Various USG changes.
652 * sysdep.c (wait_for_termination):
653 Provide case for sysV not UNIPLUS (right for STRIDE at least).
654 * sysdep.c (child_setup_tty):
655 Set the VMIN and VTIME fields.
657 * callint.c (Fcall_interactively):
658 Globalize the variable argfuns, for HPUX's sake.
660 * keyboard.c (fake_suspend):
661 Use execlp, not execl.
663 * sysdep.c (random, srqndom):
664 Add dummy for srandom => srand. Enable both for 4.1 and USG.
666 Remove conditional; let those dummies serve.
669 Use sed to remove blank lines and from xmakefile.
672 Pass alloca.s thru more seds to remove #... lines, etc.
673 Move tparam.o into otherobjs; for HPUX, use terminfo.o instead.
674 No need to conditionalize recipes for xfns.o and xterm.o.
675 No longer need to duplicate the xemacs: line.
676 For HPUX, define LIBBSD. Use that in LIBES.
678 * editfns.c (init_editfns):
679 Handle case of pw == 0 (USER is not a known user).
682 Include config. Make cost and evalcost global.
683 (cmcostinit): Don't pass 0 as string to tgoto (new macro CMCOST).
685 * terminfo.c (new file):
686 Defines a version of tparam for use with terminfo.
688 1986-01-22 Richard M. Stallman (rms@prep)
691 If HPUX, insert time.h instead of sys/time.h.
694 If HPUX, insert time.h instead of sys/time.h.
695 In get_system_name, globalize a static variable `name'.
696 In readdir, globalize `dir' as `dir_static'.
697 Make some system-call imitations "not HPUX".
700 If HPUX, insert time.h instead of sys/time.h.
701 Do them only if HAVE_TIMEVAL.
702 If HAVE_PTYS and HPUX, insert sys/ptyio.h.
703 In function `pty', globalize static var `name' as `ptyname'.
706 (term_init): If TERMINFO, where tbuf is not used,
707 allocate combuf with size 2044.
708 (evalcost): Flush it. Make it extern and use the one in cm.c.
711 Include stat.h before config.h so config can override S_IFLNK on
712 HPUX (where that symbol exists but there are no symbolic links).
713 Do not include time.h; not needed.
715 * xdisp.c (fmodetrunc, decode_mode_spec):
716 Rename local static buffers buf, tbuf and make them global.
717 Static variables go into initialized data space in HPUX.
718 * fns.c (Fload_average):
719 Similar hack for internal static vars initialized, channel, nl.
722 Change condition for defining X_OK to be that X_OK is not defined.
724 * alloc.c (init_alloc_once):
725 Fix erroneous names data_bytes_{un,}used
726 inside the VIRT_ADDR_VARIES conditions.
729 Don't include time.h or resource.h; just #define PRIO_PROCESS.
731 * xdisp.c (redisplay_window):
732 Don't shift window-start to avoid end of buffer
733 unless window contents have changed too.
736 If nothing has changed except minibuffer message,
737 no need to call redisplay_window.
740 Problem: standard sysV has no file ioctl.h.
742 * process.c, keyboard.c, dispnew.c, sysdep.c:
743 Include ioctl.h in BSD, termio.h and/or fcntl.h in sysV.
745 * callproc.c: No longer needs ioctl.h; don't include.
746 * xdisp.c: No longer needs ioctl.h or signal.h; don't include.
749 Include sys/ioctl.h only for BSD. ioctl used only in BSD.
751 1986-01-21 Richard Mlynarik (mly@prep)
753 * keyboard.c (EchoThem):
754 Always display an explicit prompt, even if echo_keystrokes == 0
756 1986-01-21 Richard M. Stallman (rms@prep)
758 * keyboard.c (kbd_buffer_store_char, fake_suspend):
759 Take the STRIDE code for subshell out of kbd_buffer_store_char
760 and call it fake_suspend. Call it from previous place and
761 also from Fsuspend_buffer, on all systems that lack SIGTSTP.
762 Clean the code up a little bit.
765 Don't include sgtty.h; no longer needed.
766 Make use of wait3 depend on existence of WNOHANG.
769 Allow the m- file to override defn of ADDR_CORRECT (m-stride.h does).
770 Have and use pagemask to round data_start in COFF case too.
771 Always define getpagesize as macro, for 4.1 and USG where
772 it is not provided as a system call.
773 This takes care of the STRIDE changes for unexec.
776 Give ld the arg $(STARTFLAGS), and define that based on cpp macro
777 TEXT_START_ADDR when that is defined. This is for systems where
778 the -T switch is necessary.
780 * unexec.c (make_hdr):
781 Make one sun3 fix machine-independent.
782 (Prevent a_bss from being negative).
784 * casefiddle.c (casify_region):
785 New flag value CAPITALIZE_UP which is like CAPITALIZE
786 but changes only the initials. Function upcase_initials_region
787 is an interface to this mode.
789 * abbrev.c (Fexpand_abbrev): Use upcase_initials_region.
791 * process.c (create_process):
792 Install Fish's other new UNIPLUS conditionalization
793 on the hackery for xforkin, etc.
795 1986-01-20 Richard M. Stallman (rms@prep)
798 Optional arg of t means randomize the seed.
799 This change was really made at some previously time;
800 just changed the doc string now.
802 * eval.c (do_autoload):
803 Bind autoload-queue to avoid loss on recursive autoloads.
805 * xdisp.c (try_window_id):
806 If everything on screen below change is whitespace,
807 don't scroll, and return -2.
809 * dispnew.c (update_screen):
810 Rewrite to avoid dependence on distance between
811 the two arrays PhysScreen and DesiredScreen.
813 1986-01-19 Richard M. Stallman (rms@prep)
816 Preinitialize contents of vals, so it won't contain junk
817 to be seen by a GC inside this function.
820 Use error, not Fsignal, to report eval-depth-overflow.
821 Previous calls to Fsignal were buggy.
823 1986-01-17 Richard Mlynarik (mly@prep)
825 * lread.c (init_obarray):
826 Kludge around losing pyramid compiler.
828 1986-01-14 Richard Mlynarik (mly@prep)
830 * window.c (Fdelete_window):
831 When deleting a dummy parent window, don't try to GC buffer stuff.
833 * process.c (list_processes_1):
834 Don't blow out if buffer associated with process is,
835 through some bug I don't understand, killed.
837 * keymap.c (get_keyelt), keyboard.c (Fcommand_execute):
838 Allow (lambda ...) to appear as a key's definition.
840 * m-sun3.h, unexec.c:
841 Sun3 changes from Barry Shein.
843 1986-01-10 Richard Mlynarik (mly@prep)
845 * m-stride.h, s-stride.h, crt0.c, fns.c, keyboard.c, process.c,
847 Changes for STRIDE micro
848 Changes still pending for etc/loadst.c
850 Fsuspend_emacs in keyboard.c is defined to run a subshell under
851 emacs -- perhaps this is a reasonable thing in all wimpy unix
854 1986-01-10 Richard M. Stallman (rms@prep)
856 * dispnew.c (update_line):
857 Don't consider spaces at beginning as special if line is
859 Avoids losing the inverse-video on leading spaces in mode lines
860 on terminals where erasing does not turn on highlightig (vt100?).
863 On UNIPLUS, don't try opening other side.
865 * filelock.c (lock_file_1):
866 If lock file is invalid, delete it and continue.
867 If delete fails, ignore the lock.
869 1986-01-09 Richard Mlynarik (mly@prep)
872 New function check_syntax_table
874 Make Fmodify_syntax_entry take third arg SYNTAX-TABLE,
875 which defaults to current buffer's syntax table.
876 -- doc change in auxdoc.c
878 Rename Fmake_syntax_table FCopy_syntax_table
879 after making it take an arg (default Vstandard_syntax_table)
880 -- retain alias in subr.el
882 1986-01-08 Richard M. Stallman (rms@prep)
884 * sysdep.c, term.c (get_screen_size):
885 New function to get screen size from kernel when possible.
886 In sysdep; called from term_init in term.c.
887 Must test this on Sun and on 4.3.
890 Make doc say it terminates kbd macros.
892 1986-01-07 Richard Mlynarik (mly@prep)
894 * doc.c (Fsubstitute_command_keys):
895 Insert an explanatory message for "\\{unbound-variable}"
897 1986-01-06 Richard Mlynarik (mly@prep)
900 Punt if passed (char) 0.
902 1985-12-31 Richard M. Stallman (rms@prep)
905 Expand error message for keyboard macro case.
907 * dired.c (Ffile_attributes):
908 Fix documentation error about meaning of ctime.
910 1985-12-28 Richard M. Stallman (rms@prep)
912 * callproc.c (Fcall_process):
913 Fix typo in name synch_process_pid.
915 1985-12-27 Richard M. Stallman (rms@prep)
920 * ymakefile (xemacs):
921 If the commands are conditional, the target/dependencies line must
924 1985-12-20 Richard M. Stallman (rms@prep)
926 * print.c (printchar, strout):
927 If output stream is Qt and noninteractive,
928 don't do the usual interactive output stuff.
929 In strout, avoid changing i so do not truncate the output.
931 1985-12-19 Richard M. Stallman (rms@prep)
934 Don't assume args are consecutive; GCPRO each one separately.
936 * insdel.c (make_gap):
937 Was adding k bytes of gap; k is supposed to be
938 new desired amount of gap. Wasted a lot of memory!
940 * alloc.c (malloc_warning):
941 Passing Fprinc to internal_with_output_to_temp_buffer
942 loses since Fprinc needs 2 args. Use intermediate
943 function malloc_warning_1.
945 1985-12-18 Richard M. Stallman (rms@prep)
947 * filelock.c (lock_if_free):
948 kill failing means lock is free only if errno is ESRCH.
950 * fns.c (Fy_or_n_p, Fyes_or_no_p):
951 Call Fdiscard_input if user gives invalid answer.
953 1985-12-17 Richard M. Stallman (rms@prep)
955 * eval.c (apply_lambda):
956 Do debug-on-exit here, because if we return to Feval
957 the stack vector of evaluated args will be deallocated by then.
959 * sysdep.c (wait_for_termination):
960 Add new variable wait_debugging. Set it nonzero to make
961 this function work in a way that works under dbx.
963 * process.c (send_process_1):
964 If not all the data is written, try again to write the rest.
965 Eliminate the alarm stuff, including send_process_alarm.
966 Call report_file_error if write returns negative.
968 1985-12-15 Richard M. Stallman (rms@prep)
970 * alloc.c (init_alloc_once):
971 Stop looping if shift produces 1, as well as if produces 0.
973 1985-12-14 Richard M. Stallman (rms@prep)
975 * editfns.c (Fregion_{beginning,end}):
976 New Lisp primitives, needed for the things that
977 are put on the command history for "r" arguments.
979 * callint.c (Fcall_interactively):
980 If an argument was point or mark, represent it with
981 a suitable expression (point) or (mark) in the
982 command history element. Also adjust for changed
983 calling conventions of quotify_args.
985 * callint.c (quotify_arg):
986 Take one arg; return it if constant, else return
987 a quote-expression for it.
989 * callint.c (quotify_args):
990 Don't exempt the first arg. Use quotify_arg to do the work.
992 1985-12-13 Richard M. Stallman (rms@prep)
994 * fileio.c (Fdo_auto_save):
995 Use message1 to output "Auto-saving..."
996 so do not clobber the old message to be restored at end.
998 1985-12-12 Richard M. Stallman (rms@prep)
1001 After turning on immediate_quit, must do QUIT;
1003 * callproc.c (Fcall_process):
1004 Quitting out of running subproc did not happen immediately.
1005 Added QUIT;s after setting immediate_quit on,
1006 removed those after turning it off (not needed there).
1008 * lread.c (init_read):
1009 Don't put ../lisp on Vload_path if CANNOT_DUMP.
1012 If CANNOT_DUMP, load "loadup.el" as soon as enter editor loop
1013 unless -nl switch is given.
1015 * lread.c (read_list):
1016 Don't use Fsetcdr, since might be changing a cell
1017 in pure space during initial loadup.
1018 Do explicit assign instead.
1021 Define CHECK_IMPURE, to get error if object is pure.
1023 * data.c (Fsetcar, Fsetcdr, Faset):
1024 Use CHECK_IMPURE instead of old error checking code.
1026 * data.c (pure_write_error):
1027 New subroutine, called by CHECK_IMPURE.
1030 Define VIRT_ADDR_VARIES.
1033 We now load things into pure space even if cannot dump,
1034 to speed garbage collection.
1035 Turn on Vpurify_flag unconditionally.
1036 Give pure its full size unconditionally.
1037 Change remaining CANNOT_DUMP and APOLLO conditionals
1038 into VIRT_ADDR_VARIES conditionals.
1040 1985-12-10 Richard M. Stallman (rms@prep)
1043 Don't include files for load-average if load-average not supported.
1046 If CANNOT_DUMP, allocate `pure' very small.
1047 [This has been undone.]
1049 * buffer.c (list_buffers_1):
1050 Use 2 spaces minimum only after buffer name;
1051 go back to 1 space minimum after size and major mode.
1054 Avoid use of O_RDONLY and index, so no need for explicit
1055 dependence on system type.
1058 Delete definition of `index'. Now it's a macro when nec.
1060 * s-usg5.2.h, s-unipl5.2.h:
1061 Define index and rindex as macros.
1063 * dispnew.c (Fsit_for):
1064 Assume select is always available for use.
1066 * buffer.c (Fpop_to_buffer):
1067 Take second arg and pass as second arg to Fdisplay_buffer.
1070 Dump core if bf_p1, bf_p2 don't differ by gap size.
1072 * keyboard.c (Fsuspend_emacs):
1073 * emacs.c (Fkill_emacs):
1074 Both call new subroutine stuff_buffered_input (in keyboard.c)
1075 which stuffs a string's contents plus any unused input Emacs has
1078 1985-12-09 Richard M. Stallman (rms@prep)
1080 * fileio.c (Fdo_auto_save):
1081 Don't auto save a buffer that is not modified
1082 since last real save.
1084 * minibuf.c (minibuffer_completion_help_1):
1085 Use make_number for args to Findent_to.
1086 Omitting make_number always loses on Pyramid, it seems.
1088 1985-12-08 Richard M. Stallman (rms@prep)
1090 * minibuf.c (Fminibuffer_complete_word):
1091 If next char not unique, try adding an actual space.
1092 If do achieve some completion, replace old buffer text
1093 with the completion (in case of different case).
1094 Also a little cleanup.
1096 * minibuf.c (Ftry_completion):
1097 Fix lossage when second completion found is an initial segment of
1100 1985-12-07 Richard M. Stallman (rms@prep)
1102 * xdisp.c (redisplay_window):
1103 Don't use the clause for only-point-has-changed
1104 for the minibuffer; loses when redisplaying to bring
1105 back minibuffer after an echo area message.
1108 Vax code is now used for tahoe machine also.
1110 * alloc.c (init_alloc_once):
1111 For APOLLO, set data_bytes_{free,used} to plausible constant
1114 * eval.c (unautoload):
1115 Declare return type Lisp_Object.
1117 * filelock.c (lock_file):
1118 Check attack with !NULL, not ==.
1120 * keymap.c (describe_command):
1121 Don't apply NULL directly to result of Fkeymapp.
1124 Fix type field assignment in union-type case.
1126 * process.c (Faccept_process_output):
1127 Use XFASTINT around infd field of process.
1129 * search.c (signal_failure):
1130 Returns type Lisp_Object.
1132 * dired.c (Ffile_name_completion):
1133 If arg is null string, return null string immediately.
1134 Idea is don't want to complete "/foo/" into "/foo/bar"
1135 if "bar" is the only file in "/foo/".
1137 * minibuf.c (Ftry_completion):
1138 Handle correctly scmp returning -1.
1141 Make malloc_sbrk_used and malloc_sbrk_unused
1142 not be external if APOLLO.
1144 1985-12-06 Richard M. Stallman (rms@prep)
1146 * emacs.c, keyboard.c, sysdep.c:
1147 Rename InitDsp -> init_sys_modes and RstDsp -> reset_sys_modes.
1150 Call init_keyboard before init_sys_modes
1151 so correct value of interrupt_input is set up.
1152 Fixes the mysterious first C-z bug.
1155 New Lisp variable completion-ignore-case.
1156 Affects Ftry_completion and Fall_completions.
1159 Don't change C variable `noninteractive' if user
1160 sets the Lisp variable `noninteractive'.
1162 1985-12-05 Richard M. Stallman (rms@prep)
1164 * callproc.c (Fcall_process):
1165 Close filefd if about to get error.
1167 * fileio.c (Finsert_file_contents, Fwrite_region):
1168 Set up unwind protect to close file if error happens.
1170 * fileio.c (Fcopy_file):
1171 Close input file if fail to open output file.
1173 * dispnew.c (change_screen_size):
1174 Change name from ChangeScreenSize.
1175 Do set_terminal_window (0); after changing height.
1177 * indent.c (vmotion & callers):
1178 Take window as fifth arg. All callers pass window
1179 being displayed or selected window.
1180 If window is minibuffer, knows that first line starts at
1181 hps = minibuf_prompt_width.
1183 * minibuf.c (read_minibuf{,_string_unwind}):
1184 Save and restore minibuf_prompt_width.
1187 (display_text_line): set minibuf_prompt_width if display the
1189 (various): Pass window being displayed as arg to vmotion.
1190 (various): Compute starting-hpos arg to compute_motion
1191 using minibuf_prompt_width if in minibuf starting at top.
1193 * window.c (Fdisplay_buffer & callers):
1194 Take second arg, non-nil means do not use selected window
1195 even if that already contains specified buffer.
1197 * buffer.c (Fpop_to_buffer):
1198 Pass t as second arg to Fdisplay_buffer.
1200 * buffer.c (list_buffers_1):
1201 Make at least two spaces between all fields on a line.
1203 1985-12-04 Richard M. Stallman (rms@prep)
1206 Define Fx_pop_up_window.
1207 Use make_string, not Fmake_string, in x-get-cut-buffer.
1208 Mysterious change from Martillo in Fx_change_display.
1209 Rename variable mouse-pos to x-mouse-pos.
1212 Changes from Martillo.
1213 Change mouse command to C-c C-m.
1215 * term.c (calculate_costs):
1216 Return immediately if dont_calculate_costs is set.
1218 * lread.c (Fintern, Fintern_soft):
1219 Don't allow a symbol as argument to intern or intern-soft.
1221 1985-12-04 Richard Mlynarik (mly@prep)
1223 * editfns.c (Fsubst_char_in_region):
1226 1985-12-03 Richard M. Stallman (rms@prep)
1228 * fileio.c (Fdo_auto_save):
1229 Always restore old minibuf message if any.
1231 * alloc.c (Fgarbage_collect):
1232 Always restore old minibuf message if any.
1233 Truncate command-history to 30 elements.
1234 Add some register decls.
1236 1985-12-03 Richard Mlynarik (mly@prep)
1239 Suppress "Loading %s... done" if noninteractive
1241 * alloc.c (Fgarbage_collect):
1242 Suppress "garbage collecing..." message if noninteractive.
1244 * regex.c (re_compile_pattern):
1245 Fix error message (double "\"'s for c compiler)
1247 1985-12-03 Richard M. Stallman (rms@prep)
1249 * editfns.c (Fsubst_char_in_region):
1250 If 5th arg is non-nil, don't record for undo.
1252 1985-12-02 Richard M. Stallman (rms@prep)
1254 * unexec.c (copy_sym, make_hdr):
1255 Pass file names to these functions.
1256 Use PERROR properly, with filename as arg.
1258 * window.c (Fdelete_window):
1259 Don't let stretching the siblings delete them.
1261 * window.c (set_window_{height,width}):
1262 Make `nodelete' apply to children as well.
1264 1985-11-28 Richard M. Stallman (rms@prep)
1266 * indent.c (compute_motion):
1267 Omit one register decl if TAHOE_REGISTER_BUG.
1272 1985-11-27 Richard M. Stallman (rms@prep)
1274 * sysdep.c (RstDsp):
1275 Do TIOCSETC before doing fcntl F_SETOWN.
1277 Note: bizarre bug exists: Fsuspend_emacs
1278 in impure temacs under vax 4.2 gets stopped
1279 in that TIOCSETC; but in dumped Emacs, that
1280 does not happen. No idea why. This change
1283 * keymap.c (describe_buffer_bindings):
1284 Avoid passing a null pointer to InsStr.
1287 Many random bug fixes from Martillo.
1290 Bug fixes in Fx_change_display.
1291 New function Fx_set_icon.
1292 Fx_set_bell must take 1 arg, not 0.
1293 Fx_set_window_edges: don't set window size if new size same as old.
1295 * term.c, termchar.h:
1296 Define variable `dont_calculate_cost's:
1297 If set nonzero, `calculate_costs' is not called.
1299 1985-11-25 Richard M. Stallman (rms@prep)
1301 * sysdep.c, keyboard.c:
1302 Clean up USG simulation of FIONREAD.
1303 In keyboard.c, new function read_avail_input reads all
1304 input now in system buffer into kbd_buffer.
1305 get_pending_input is moved to keyboard.c, and works
1306 using read_avail_input when FIONREAD is not defined.
1307 select emulator in sysdep also uses read_avail_input.
1310 Make PERROR do a return, in non-emacs version.
1311 Remove explicit returns following PERRORs.
1312 Replace ERROR with ERROR0, ERROR1 and ERROR2
1313 which pass along message and args to report_error_1.
1314 Make those macros do a return, in non-emacs version.
1316 * process.c (wait_reading_process_output):
1317 If read_kbd is 10 + I, don't read kbd, but don't
1318 return until input has arrived from channel I.
1320 * process.c (Faccept_process_input):
1323 1985-11-24 Richard M. Stallman (rms@prep)
1326 Close output descriptor if get an error.
1328 1985-11-23 Richard M. Stallman (rms@prep)
1330 * termcap.c (tgetstr):
1331 Supply second arg in call to tgetstr1.
1333 1985-11-22 Richard M. Stallman (rms@prep)
1336 Undefine INTERUPT_INPUT. Noninterrupt input should work
1337 properly given LPASS8 and LNOFLUSH.
1339 * dispnew.c, keyboard.c (Fset_input_mode):
1340 Move it from dispnew.c to keyboard.c.
1342 * sysdep.c (InitDsp):
1343 Use LNOFLUSH in BSD.
1346 Call hook before checking curY and curX.
1348 1985-11-22 Richard Mlynarik (mly@prep)
1350 * fileio.c (Frename_file):
1351 Supply third arg to Fcopy_file
1353 1985-11-22 Richard M. Stallman (rms@prep)
1355 * keymap.c (push_text_char_description):
1356 Represent ESC by ^[, not $.
1358 1985-11-20 Richard M. Stallman (rms@prep)
1360 * minibuf.c (read_minibuf):
1361 Make Vminibuffer_help_form do its intended job.
1362 Use alloca to get the space for the prompt.
1364 1985-11-20 Richard Mlynarik (mly@prep)
1366 * callproc.c (Fcall_process_region):
1367 Documentation fix (why isn't this function written in lisp?)
1369 * minibuf.c (read_minibuf)
1372 1985-11-20 Richard M. Stallman (rms@prep)
1374 * tparam.c (tparam):
1375 Don't pass `left' or `up' to strcat if it is null.
1377 * cmds.c (SelfInsert):
1378 Split register arg c into arg c1 and register local c.
1379 Using & on a register argument happens to work on vax.
1381 1985-11-19 Richard M. Stallman (rms@prep)
1383 * xdisp.c (try_window_id):
1384 If change is on top line and display is not starting
1385 at a real line-beginning, give up so real scrolling is done.
1386 Return -1, which now tells redisplay_window not to try
1387 slow redisplay with the same window start.
1389 1985-11-18 Richard M. Stallman (rms@prep)
1392 New file. Use with s-bsd4.2.h?
1394 * data.c (Fsetcar, Fsetcdr, Faset):
1395 Conditionalize checks for existing objects being pure
1398 * alloc.c (mark_object, Fpurecopy):
1399 Conditionalize checks for existing objects being pure
1400 on not CANNOT_DUMP. Don't turn on Vpurify_flag if CANNOT_DUMP.
1402 * emacs.c (Fdump_emacs):
1403 Conditionalize existence of function on not CANNOT_DUMP.
1405 * lread.c (read_list, intern):
1406 Avoid using a conditional expression to compute function to call.
1407 Conditionalize the entire call (pure_cons vs Fcons or
1408 make_pure_string vs make_string).
1410 * syntax.c (scan_sexps_forward (case Sopen)):
1411 Changed around curlevel++->last since Apollo C compiler loses.
1414 Define VALBITS and GCTYPEBITS inside #ifndefs
1415 so config.h can override them.
1417 * fileio.c (Fexpand_file_name, Fsubstitute_in_file_name):
1418 APOLLO conditionals to consider // at start of file name
1422 Make mention of alloca.o be conditional on not APOLLO.
1423 Make -lg conditional likewise.
1425 1985-11-15 Richard M. Stallman (rms@prep)
1427 * ymakefile, read.c:
1428 Rename read.* to lread.* to avoid trouble with
1429 #define read sys_read.
1431 1985-11-14 Richard M. Stallman (rms@prep)
1433 * New files xfns.c, xterm.c for X window system.
1434 xfns contains Lisp subrs for interacting with X.
1435 TrmTERM.c is eliminated.
1438 Make compilation and loading of xterm.o and xfns.o
1439 conditional on HAVE_X_WINDOWS.
1441 * term.c, termhooks.h:
1442 Define fix_screen_hook.
1444 * process.c (wait_handing_process_output):
1445 Call the terminal's fix_screen_hook, if one is set up.
1448 Define and initialize MouseMap, a keymap for mouse commands.
1453 * dispnew.c (init_display):
1454 For X window system terminals, call x_term_init.
1457 Flush Lisp variable buffer-number.
1459 1985-11-13 Richard M. Stallman (rms@prep)
1461 * term.c (term_init):
1462 For c100, do not set TS_set_window if termcap entry gives one
1463 or if the :ti string fails to fix the screen at the top
1464 of the display memory.
1466 * nearly every file changed.
1468 * New macro XSET to set both fields of a Lisp_Object.
1469 Most places where XSETTYPE was used, followed by setting
1470 the pointer field, now use XSET.
1472 * Many uses of wrong_type_argument replaced with use
1473 of CHECK_*, including new CHECK_MARKER.
1475 * Other uses of wrong_type_argument fixed so value
1476 returned gets used in place of the invalid object.
1477 Also, the third argument was deleted.
1479 * New functions xmalloc and xrealloc signal an error
1480 if memory is not available. Many calls to malloc and
1481 realloc are replaced with them.
1483 * Some unused variables' declarations have been flushed.
1484 * Some register declarations have been added.
1487 New functions xmalloc and xrealloc.
1490 (pty): Flush unused variable. Return 0 at end.
1491 (list_processes):New buffer tembuf for sprintf to use.
1492 (send_process_trap): Flush unused arg.
1493 (sig_process): Rename arg `signal' to `signo'.
1496 Avoid `file' as variable name for lint's sake.
1499 Compile stuff_char only if SIGTSTP exists.
1500 Changed conditionals within stuff_char.
1501 Compile wait_without_blocking only if no subprocesses.
1502 Pass one arg (zero) to `wait'.
1503 Include old_fcntl_flags in #ifdef FASYNC condition.
1504 Put old_fcntl_owner inside #ifdef F_SETOWN condition.
1505 Don't compile end_of_text and end_of_data.
1506 Delete definitions of readlink and symlink;
1507 their callers should not exist when system doesn't have symlinks.
1510 Don't give the impression that hooks' values are supposed
1514 Entire file commented out; supposedly not used.
1517 Comment out preserve_my_columns, not used.
1518 Clean up conditionals in Fsleep_for and Fsit_for.
1521 Fix incorrect args to describe_map_tree.
1524 Flush Ffunction_type.
1525 Make Fautoload override an existing autoload definition.
1526 wrong_type_argument: check the user's new value
1527 and get error again unless it fits the predicate.
1530 Comment out Fread_function, not used.
1532 1985-11-12 Richard M. Stallman (rms@prep)
1535 Comment out synkey, which nobody calls.
1538 Define XSET (var, type, ptr) to set both fields of a var.
1539 Use it in DEFSIMPLE.
1540 Remove extern decls of non-ex functions; fix dot -> point.
1541 Remove incorrect decl of staticprolist.
1544 (concat2, nconc2): Add /* ARGSUSED */ for lint.
1547 A few declarations for lint's sake.
1548 Make alias file-readable-p for file-exists-p.
1550 1985-11-11 Richard M. Stallman (rms@prep)
1552 * emacs.c (Fkill_emacs):
1553 Return arg as exit code if arg is numeric even if interactive.
1554 Rearrange code to make it smaller.
1556 * callint.c (Fcall_interactively, case 'v'):
1559 * tparam.c (tparam):
1562 1985-11-10 Richard M. Stallman (rms@prep)
1565 Rename closefile to load_unwind.
1566 New boolvar load-in-progress, set to t while loading, nil otherwise.
1568 * term.c (clear_end_of_line):
1569 Correct first_unused_hpos by chars_wasted, since curX is corrected.
1570 Set chars_wasted to zero if about to erase a standout marker.
1572 * term.c (write_standout_marker):
1573 Do write the end-standout marker even when sg#0.
1575 1985-11-09 Richard M. Stallman (rms@prep)
1577 * term.c (set_scroll_region):
1578 Change parameters given to the `cs' string
1579 to adjust for changed effect of %i.
1581 * tparam.c (tparam):
1582 %i now increments two args, not just one.
1583 Redefine %a somewhat, as will be described in termcap.texinfo.
1585 1985-11-08 Richard Mlynarik (mly@prep)
1587 * emacs.c (Fkill_emacs):
1588 arg default is 0 if noninteractive, nil if interactive
1590 * minibuf.c (Fread_variable):
1591 Only recognize symbols that are user-variable-p.
1593 1985-11-08 Richard M. Stallman (rms@prep)
1595 * sysdep.c (init_display):
1596 Turn on LPASS8 if it is defined.
1597 Gives 8-bit input in CBREAK mode.
1599 1985-11-06 Richard M. Stallman (rms@prep)
1601 * sysdep.c (get_input_pending, select):
1602 Provide alternate code for USG without FIONREAD.
1603 I suspect it does not really work, though.
1605 * fns.c (Fload_average):
1606 If LOAD_AVE_TYPE is not defined, just get an error,
1607 and allow LOAD_AVE_CVT to be undefined as well.
1610 Don't define LOAD_AVE_TYPE or LOAD_AVE_CVT.
1612 1985-11-05 Richard Mlynarik (mly@prep)
1615 Hack deleted buffers.
1617 1985-11-04 Richard M. Stallman (rms@prep)
1619 * syntax.c (describe_syntax_1):
1620 Return type Lisp_Object and value Qnil.
1622 1985-11-04 Richard Mlynarik (mly@prep)
1624 * minibuf.c (Fread_variable):
1625 Choose amongst user-variable-p frobs rather than boundp ones
1627 1985-11-02 Richard M. Stallman (rms@prep)
1629 * window.c (window_scroll):
1630 Get error if try to scroll back when at top.
1632 * window.c (Fscroll_down, Fscroll_up):
1633 Share new subroutine scroll_command to compute amount to scroll by.
1635 1985-11-01 Richard M. Stallman (rms@prep)
1637 * dispnew.c (Fset_input_mode):
1638 Always set interrupt_input to 0 when SIGIO is undefined.
1640 * keyboard.c (gobble_input, input_available_signal, kbd_buffer_store_char):
1641 Make these functions exist only if SIGIO is defined.
1643 1985-10-30 Richard M. Stallman (rms@prep)
1645 * sysdep.c (select):
1646 Use signal, not sigset, since we simulate signal on
1647 all system versions when nec.
1649 * buffer.c (syms_of_buffer, init_buffer_once,
1650 reset_buffer_local_variables):
1651 Define default-abbrev-mode, and init new buffers' abbrev-mode
1652 from it. Move definition of abbrev-mode here from abbrev.c.
1654 * print.c (Fmessage):
1655 Simplify it by using `message' to do the output.
1658 Provide alloca for 3b5.
1660 1985-10-30 Richard Mlynarik (mly@prep)
1662 * editfns.c, print.c (Fmessage):
1663 Move Fmessage from editfns to print
1664 If noninteractive, do not truncate message at all.
1665 If interactive truncate at MScreenWidth (not at 100)
1667 * alloc.c (mark_buffer):
1668 Catch a few places which should have been marked but weren't
1670 * buffer.h, abbrev.c, cmds.c, xdisp.c
1671 abbrev_mode is buffer-local (like all other minor modes)
1673 1985-10-29 Richard M. Stallman (rms@prep)
1675 * sysdep.c (wait_for_termination):
1676 Install case for 4.1 with subprocesses.
1677 Realize that what was thought to be that
1678 was really for no subprocesses; fix it up
1679 to avoid using synch_process_pid since child_sig won't maintain that.
1682 If arg is empty string, just get error;
1683 don't try to open any file.
1685 * eval.c (internal_condition_case):
1686 Before unwinding after throw, remove any backtrace frames,
1687 catches or handlers that are in stack frames that have been exited,
1689 * window.c (save_window_restore):
1690 If saved state uses a dead buffer, don't use Fother_buffer
1691 to find a buffer to use instead, since that can call Fnext_window
1692 and the window hierarchy might be malformed at that time.
1695 Markers are equal if they point at the same place.
1697 1985-10-29 Richard Mlynarik (mly@prep)
1700 Don't print message whilst loading required file.
1702 1985-10-29 Richard M. Stallman (rms@prep)
1704 * syntax.c (scan_lists):
1705 Initialize mathexit.
1707 1985-10-28 Richard M. Stallman (rms@prep)
1709 * process.c (child_sig):
1710 Rename `dead_pid' to `synch_process_pid'.
1711 Remove conditionals around calls to deactivate_process.
1713 * callproc.c (Fcall_process):
1714 In 4.1, store the pid in synch_process_pid.
1716 * sysdep.c (wait_for_termination):
1717 Add case for 4.1 (only with subprocesses)
1718 waiting for synch_process_pid to be zeroed by child_sig.
1721 Add version for the orion machine.
1723 * data.c (arith_error):
1724 In 4.1, do sigrelse to reallow arith error signals.
1726 * read.c (read_escape):
1727 After C-, don't clear meta bit of what follows.
1729 1985-10-27 Richard M. Stallman (rms@prep)
1732 Define SIGN_EXTEND_CHAR for all machines.
1734 1985-10-26 Richard M. Stallman (rms@prep)
1736 * xdisp.c (display_mode_line):
1737 If window is not full width but its parent is,
1738 display the mode line in inverse video.
1740 * cmds.c (SelfInsert):
1741 Call the blink paren hook for syntax class $ also.
1743 * eval.c (Fautoload):
1744 Accept fifth arg, non-nil meaning function will be a macro
1747 * eval.c (Fmacroexpand):
1748 Autoload anything that will be a macro once loaded.
1749 If a symbol's definition is a symbol that is a macro,
1750 expand either one seen.
1752 1985-10-23 Richard M. Stallman (rms@prep)
1755 If TAG is nil, always say it is not found, to avoid
1756 interference with condition-case, which uses nil as catch tag.
1758 * print.c (PRINTPREPARE & uses):
1759 Don't change print_depth in PRINTPREPARE;
1760 those callers for which it matters now do it themselves.
1763 Do QUIT; at the beginning. Also in string and symbol loops.
1765 * window.c (set_window_{height,width}):
1766 In args to recursive calls, use XINT, not XFASTINT.
1767 Perhaps a "too small" window could have negative size.
1769 * window.c (change_window_height):
1770 Fix calls to sizefun and setsizefun to dereference first.
1772 * window.c (save_window_restore):
1773 Make it return a Lisp_Object.
1775 * fns.c (concat & callers):
1776 New arg last_special which if non-0 says don't copy last arg.
1777 Only Fappend supplies it as nonzero.
1779 * keyboard.c (Fsuspend_emacs):
1780 Take already-read input and stuff it.
1782 * fileio.c (Ffile_directory_p, Ffile_modes):
1783 Remove final slash from file name before doing stat.
1784 In 4.2, final slash can cause wrong result
1785 if file is read-protected.
1787 1985-10-22 Richard Mlynarik (mly@prep)
1789 * eval.c (Fcondition_case):
1790 Add some error-checks to condition-case;
1791 prevent core-dump when handler list is illegal.
1793 * keyboard.c (cmd_error):
1794 Do the file-error hack for conditions including file-error,
1795 not just file-error itself.
1797 * callint.c (Fcall_interactively):
1798 Quotify car of command-history in (interactive <list>) case
1799 New function quotify_args to do the work.
1802 typo: wrong_type_arg called with Flistp, not Qlistp
1804 1985-10-22 Richard M. Stallman (rms@mit-prep)
1806 * process.c (Fset_process_buffer, Fstart_process):
1807 Allow a process's buffer to be nil.
1809 1985-10-21 Richard M. Stallman (rms@mit-prep)
1811 * window.c (Fscroll_{left,right}):
1812 Default arg is now window width minus 2.
1814 * search.c (Freplace_match):
1815 If not literal, make \ always an escape.
1816 Thus two \'s are needed for one literal one.
1818 * data.c (wrong_type_argument):
1819 Eliminate third arg from function and its explicit callers.
1821 * window.c (Fpos_visible_in_window_p):
1822 Provide missing tab_offset arg to compute_motion.
1824 * xdisp.c (init_xdisp):
1825 Provide missing 3rd arg to set_window_height.
1827 * fileio.c (e_write):
1828 Make it really return -1 if write doesn't write everything.
1830 * data.c (Fsymbol_{function,value}):
1831 Replace Qvoid_symbol condition with two conditions
1832 Qvoid_{variable,function}. No longer pass boundp or fboundp
1833 as part of the extra info, since would be redundant.
1835 1985-10-18 Richard M. Stallman (rms@mit-prep)
1837 * editfns.c (Fformat):
1838 Remove limit on length of output.
1840 * doprnt.c (doprnt):
1841 Rearrange so can handle %2s, etc.
1843 1985-10-17 Richard M. Stallman (rms@mit-prep)
1846 Define sys_siglist for 4.1, which doesn't provide one.
1847 Use new flag HAVE_PTYS to enable compilation of `pty'
1848 and of some code in `create_process'.
1849 Flist_processes: omit unused third arg to Findent_to.
1850 create_process: Omit some code for ptys unless HAVE_PTYS.
1851 Provide 4.1 alternatives for sigsetmask.
1852 wait_reading_process_input:
1853 If not HAVE_TIMEVAL, provide alternative code using ints.
1854 Handle failure of FIONREAD.
1856 In 4.1, release SIGPIPE and SIGALRM.
1857 sig_process: check current_group for nil or not,
1858 rather than 0 or not.
1859 count_active_processes: get rid of arg `buffer' which was unused.
1860 child_sig: strange hacks with dead_pid for 4.1.
1861 Hold and release SIGCHLD in 4.1.
1862 Do not call deactivate_process in 4.1 (puzzles me).
1865 Omit fcntl.h under 4.1.
1866 get_input_pending: return 0 if input not a tty.
1867 discard_terminal_input: do nothing if batch mode.
1868 stuff_char: err instead of aborting on system V.
1869 init_baud_rate: always set ospeed = 0 if batch mode.
1870 InitDsp: turn ANYP on rather than off. Make lmode global.
1871 In 4.1, turn on LINTRUP if interrupt_input.
1872 child_setup_tty: in 4.1, clear LINTRUP in the child.
1873 tabs_safe_p: always say tabs are safe if batch mode.
1874 RstDsp: In 4.1, turn off LINTRUP if interrupt_input.
1875 setpriority: define as noop for 4.1.
1876 request_sigio: for 4.1, turn on LINTRUP.
1877 unrequest_sigio: for 4.1, turn off LINTRUP.
1879 * read.c (readevalloop, read_list, read_vector, intern):
1880 Dereference expressions of type pointer-to-function before calling.
1882 * read.c (hash_string):
1883 Use unsigned char, not char, for strings.
1885 * read.c (map_obarray):
1886 Expect function to be mapped to return int, not Lisp_Object.
1889 Include lisp.h before undo.h.
1892 Introduce ADDR_CORRECT. Apply it to supplied values
1893 for bss_start and data_start, and to values returned by sbrk.
1894 Use NBPG instead of getpagesize () in BSD4.1.
1895 Use char *'s for ptr and end in copy_text_and_data.
1898 Remove unused fourth arg from recursive calls.
1900 * minibuf.c (Fminibuffer_complete{,_and_exit}):
1901 Copy function value into variable before switching on it.
1902 (Direct way loses on orion).
1905 Define HAVE_SELECT and NONSYSTEM_DIR_LIBRARY where appropriate.
1906 Reorder the flags, and make all the s- files look parallel.
1909 Define new constructs sigfree, sigholdx, sigblockx,
1910 sigunblockx, sigpausex which do one thing in 4.1 and another in
1911 4.2. In 4.1, use SIGTINT as if it were SIGIO.
1913 * keyboard.c (getchar, interrupt_signal):
1914 Don't omit the arg DoDsp or Fdo_auto_save wants.
1916 * keyboard.c: (echo_them, input_available_signal):
1917 Put in hair for 4.1 for interfacing with select emulation.
1919 * keyboard.c (top_level_1):
1920 * macro.c (pop_kbd_macro):
1921 Must have type Lisp_Object, and return a valid one.
1923 * keymap.c (describe_{vector,alist}):
1924 Expect elt_describer to return int, not Lisp_Object.
1925 Dereference that variable before calling it.
1927 * keymap.c (apropos1):
1928 Must have type Lisp_Object, and return a valid one.
1930 * syntax.c (describe_syntax):
1931 Make it return type int, and don't bother about what int.
1933 * search.c (search_buffer):
1934 If fwd, require match to end not beyond search limit.
1936 1985-10-16 Richard M. Stallman (rms@mit-prep)
1939 New vars data-bytes-{used,free} that ref malloc_sbrk{,un}used.
1941 * editfns.c (save_{excursion,restriction}_restore):
1942 Must have type Lisp_Object, and return a valid one.
1944 * editfns.c (format1):
1945 Handle NO_ARG_ARRAY case.
1947 * eval.c (internal_catch, internal_condition_case, unbind_to):
1948 Dereference variables of type pointer-to-function before calling.
1950 * eval.c (Fautoload, call1, call2, call3):
1951 If NO_ARG_ARRAY, don't assume that consecutive args can be
1952 treated as an array. Copy them into another array.
1954 * fileio.c (barf_or_query_if_file_exists):
1957 * fileio.c (Fcopy_file):
1958 Use chmod instead of fchmod on 4.1bsd as well as usg.
1960 * fileio.c (Frename_file, Fmake_symbolic_link, Fadd_name_to_file):
1961 If NO_ARG_ARRAY, don't assume that consecutive args can be
1962 treated as an array. Copy them into another array.
1964 * fileio.c (Frename_file):
1965 In 4.1bsd, use link and unlink, since don't have rename.
1967 * fileio.c (Fmake_symbolic_link):
1968 Eliminate this if S_IFLNK not defined.
1970 * fileio.c (Ffile_symlink_p):
1971 Always return nil if S_IFLNK not defined.
1973 * fileio.c (auto_save_error, auto_save_1):
1974 Must have type Lisp_Object, must really return something.
1976 * fns.c (concat2, nconc2):
1977 If NO_ARG_ARRAY, don't assume that consecutive args can be
1978 treated as an array. Copy them into another array.
1981 Was calling Fload with only 1 arg. Pass 2 extra nil's.
1983 * fns.c (Fload_average):
1984 If FIXUP_KERNEL_SYMBOL_ADDR is defined, must detect
1985 if address of _avenrun is not abs, and fix it up if so.
1987 * indent.c (position_indentation):
1988 Add parens in nested ?...: for clarity.
1991 Add opendir, closedir and readdir, if NONSYSTEM_DIR_LIBRARY.
1994 Add some definitions for case of USG and not COFF.
1995 These define the BSD names for hdr components in terms of pre-BSD names.
1997 * sysdep.c, editfns.c, s-*.c:
1998 Use (new) get_system_name (defined in sysdep) to get system name
1999 in init_editfns. No more need for SYSTEM_NAME and
2002 * sysdep.c (select):
2003 Use not HAVE_SELECT as condition to define this.
2006 Get error instead of croaking if want to send SIGTSTP.
2007 Get compile time error in gobble_input if SIGIO is not defined.
2010 Always include types.h. Omit time.h and resource.h in 4.1.
2012 * dispnew.c (Fsit_for, Fsleep_for):
2013 Rearrange conditionals to use only HAVE_TIMEVAL and (new) HAVE_SELECT.
2016 Flush NO_DIR_LIBRARY case. If NONSYSTEM_DIR_LIBRARY,
2017 use "ndir.h" which will come with Emacs.
2020 Check m68000 flag only if m68k flag is not defined.
2022 * fileio.c (Finsert_file_contents):
2023 Set up for this to be undone.
2025 1985-10-15 Richard M. Stallman (rms@mit-prep)
2027 * syntax.c (Fmodify_syntax_entry):
2028 Use %s rather than %c in interactive string.
2030 * callint.c (Fcall_interactively):
2031 For arg read with code `c', convert as char to a string
2032 for use in prompting for future args.
2034 * keymap.c (describe_{map,map_tree,vector,alist}):
2035 All take additional arg PARTIAL which, if nonzero,
2036 means check each definition for a `suppress-keymap'
2037 property and ignore it if property non-nil.
2039 * keymap.c (describe_bindings):
2040 * doc.c (Fsubstitute_command_keys):
2041 * syntax.c (describe_syntax):
2042 Pass zero or 1 as PARTIAL arg to those functions.
2045 Use PATH_SUPERLOCK as name of superlock file,
2046 and PATH_LOCK as name of lock directory.
2047 * paths.h, paths.h.dist:
2050 * callproc.c (Fcall_process):
2051 Always try opening program before forking.
2053 1985-10-14 Richard M. Stallman (rms@mit-prep)
2056 Now it takes ymakefile, passes it thru cpp to get xmakefile,
2057 then runs `make' on that. ymakefile is the old Makefile.
2058 All comments now are within /*...*/, and #ifdef's are used
2059 to select the flags and libraries to be used.
2062 Define new macro SYSTEM_NAME_DECL which does any global
2063 declarations needed to prepare for using SYSTEM_NAME.
2064 The flag ASSEMBLY is no longer needed to prevent s-*.h
2065 from doing anything besides defining macros.
2068 Use SYSTEM_NAME_DECL.
2071 No longer need to define ASSEMBLY.
2073 * eval.c (apply_lambda, funcall_lambda):
2074 Flush "e support.
2076 1985-10-11 Richard M. Stallman (rms@mit-prep)
2078 * fileio.c (Frename_file):
2079 If fails due to moving across devices, copy and delete old file.
2081 * keymap.c (insert_first_line):
2082 If the first line contains `\[', pass the string thru
2083 substitute-command-keys and try again.
2085 1985-10-10 Richard M. Stallman (rms@mit-prep)
2088 Define new parameter LDFLAGS, and make more use of LIBES.
2089 Have new code to define their values for various systems.
2091 * sysdep.c, s-unipl5.2.h:
2092 Define MAXPATHLEN here if not def by system.
2093 Do not define it in s- files.
2095 * keyboard.c (interrupt_signal):
2096 In system V, cannot actually stop, but do offer to auto-save
2100 Do not include dir.h if including ndir.h.
2102 1985-10-09 Richard M. Stallman (rms@mit-prep)
2104 * fileio.c (Fsubstitute_in_command_name):
2105 Simplify /~ and // if produced as result of variable substitution.
2107 1985-10-08 Richard M. Stallman (rms@mit-prep)
2110 Failed to initialize data type of `len'.
2112 * editfns.c (Fregion_to_string):
2113 Delete it. Put it in mlsupport.el.
2115 * search.c (Fregion_around_match):
2116 Delete it. Put it in mlsupport.el.
2118 * syntax.c (scan_lists):
2119 Fix bug of ignoring the character before a comment-start pair
2120 when parsing backward. Also don't consider /*/ a complete comment.
2122 * dispnew.c (Fsit_for):
2123 Use simulator for select, if not HAVE_TIMEVAL.
2124 * dispnew.c (ChangeScreenSize):
2125 Pass zero as third arg to set_window_{height,width}.
2126 * dispnew.c (update_screen):
2127 Detect failure of ioctl TIOCOUTQ.
2129 Don't use fcntl.h; appears not to be needed.
2132 Handle fact that 4.1 has no symbolic links, just like sysV:
2133 Make conditionals check S_IFLNK rather than USG.
2134 Also, check new flag NONSYSTEM_DIR_LIBRARY which 4.1 will set.
2136 * cm.c (cmcostinit, cmgoto, cmputc):
2137 Make these the names of the functions that do the work
2138 instead of macros going through variables that
2139 might fail to be set up.
2141 1985-10-07 Richard Mlynarik (mly@mit-prep)
2144 No need to escape symbols + and - if not followed by digits
2146 1985-10-07 Richard M. Stallman (rms@mit-prep)
2149 New file containing stuff to handle locking files while
2150 they are being edited.
2152 * buffer.c (Fset_buffer_modified_p):
2153 Lock or unlock the visited file accordingly.
2155 * buffer.c (Fdelete_buffer_internal)
2156 Unlock the visited file.
2158 * fileio.c (Fread_file_contents):
2159 Mark buffer as modified using modify_buffer.
2160 If visiting, unlock old and new visited files.
2162 * fileio.c (Fwrite_region):
2163 Lock file to begin with; unlock on error or when done.
2165 * undo.c (Fundo_more):
2166 Unlock file if undoing makes buffer unmodified.
2168 1985-10-06 Richard M. Stallman (rms@mit-prep)
2170 * dired.c (file_name_completions):
2171 If looking for list of all completions, don't ignore any.
2172 Do this by starting with passcount = 1.
2174 1985-10-05 Richard M. Stallman (rms@mit-prep)
2176 * xdisp.c (message):
2177 Use doprnt instead of sprintf: prevent overflowing buf.
2179 * xdisp.c (decode_mode_spec):
2180 Protect against overflowing tbuf even if strings are clobbered
2181 and have negative length.
2183 1985-10-02 Richard M. Stallman (rms@mit-prep)
2185 * insdel.c (delete_range):
2186 Must immediately relocate markers into deleted text.
2187 Otherwise if an insertion follows they may end up pointing
2188 into the middle of it.
2190 1985-10-01 Richard M. Stallman (rms@mit-prep)
2192 * dispnew.c, xdisp.c, minibuf.c:
2193 cursX and cursY are now origin zero.
2194 last_point_x and last_point_y of a window, likewise.
2196 * term.c (set_scroll_region, term_init, calculate_costs):
2197 New "cS" string, in TS_set_scroll_region_1,
2198 accepts four params suitable for handling aaa's \E[...p cmd.
2200 1985-09-30 Richard M. Stallman (rms@mit-prep)
2202 * xdisp.c (redisplay_window):
2203 Don't clobber the point value of the buffer
2205 Make sure the displayed point value is inside
2206 the buffer bounds; correct it if not.
2208 * term.c (reassert_line_highlight):
2209 Define reassert_line_highlight_hook, and call it.
2211 * dispnew.c (direct_output_for_self_insert):
2212 Call reassert_line_highlight.
2214 1985-09-29 Richard M. Stallman (rms@mit-prep)
2217 Fix one-off bug in Vprint_length; one element too few
2220 * fileio.c (Fread_file_name_internal):
2221 Avoid error when spec'd name has no slashes.
2223 1985-09-28 Richard M. Stallman (rms@mit-prep)
2225 * term.c (clear_to_end, clear_screen):
2226 Set cleared lines to the background highlighting state.
2229 Don't ignore pure doc strings once DOCSTR already parsed.
2231 * read.c (readevalloop & callers):
2232 Eliminate delayflag feature.
2234 * eval.c (do_autoload):
2235 Set up unwind-protect un_autoload and bind
2236 Vautoload_queue non-nil. This will undo all defuns and
2237 provides if the file does not finish loading.
2240 If Vautoload_queue non-nil, record function and old definition
2241 by consing onto Vautoload_qeueue.
2244 If Vautoload_queue is non-nil, record old value of Vfeatures.
2246 1985-09-27 Richard M. Stallman (rms@mit-prep)
2248 * abbrev.c (Fdefine_global_abbrev, Fdefine_mode_abbrev):
2249 Convert name to lower case before defining.
2250 (Since expansion always does that too.)
2252 * buffer.c (init_buffer):
2253 Don't add / to end of wd if it ends in / already.
2254 * buffer.c (init_buffer_once):
2255 Add variable `tem'. Don't call Fcurrent_buffer.
2257 1985-09-26 Richard M. Stallman (rms@mit-prep)
2259 * fileio.c (Fexpand_file_name):
2260 Discard through any slash that precedes a tilde.
2262 1985-09-20 Richard M. Stallman (rms@mit-prep)
2265 In the case of append, don't copy or test the last arg.
2267 1985-09-19 Richard M. Stallman (rms@mit-prep)
2269 * keyboard.c (command_loop_1):
2270 If minibuffer and echo area both in use,
2271 wait 2 sec and redraw minibuffer.
2273 * keyboard.c (cmd_error):
2274 Remove similar feature for errors only.
2276 * read.c (readevalloop and callers):
2277 Don't eval any forms until all forms read.
2279 * dispnew.c (scrolling):
2280 Postpone fixup of free_at_end_vpos
2281 until unchanged_at_bottom is set up.
2284 Remove many variables not really used.
2286 * process.c (count_active_processes):
2287 Fix garbage code to ignore, correctly,
2288 stopped or dead processes.
2290 1985-09-17 Richard M. Stallman (rms@mit-prep)
2292 * Don't use strings.h (not all Unix versions have it).
2293 Declare index explicitly where needed.
2296 Define select, for 4.1.
2299 New flag BSTRING says system has bcopy, etc., functions.
2300 If not, define them in sysdep.c.
2303 Define MAXPATHLEN if system does not.
2304 Pass two args to Fnext_window, as it expects.
2306 * abbrev.c (Fdefine_global_abbrev, Fdefine_local_abbrev):
2307 Always pass Fdefine_abbrev five args.
2309 * term.c (write_chars):
2310 Clear error flag of stdout to recover from 4.2 kernel bug.
2312 * unexec.c (make_hdr):
2313 Remove sun data_start rounding change: round down again.
2315 1985-09-13 Richard M. Stallman (rms@mit-prep)
2317 * minibuf.c (minibuf_completion_help_1):
2318 Always indent at least one space between the two function names on
2321 1985-09-12 Richard M. Stallman (rms@mit-prep)
2323 * syntax.h, syntax.c:
2324 Define new syntax class Spunct, for punctuation.
2325 Acts like whitespace in word and list parsing.
2326 Define all non-whitespace that used to be Swhitespace as
2329 1985-09-11 Richard M. Stallman (rms@mit-prep)
2331 * dired.c (file_name_completions):
2332 Fix bug matching implicit slash after name of dir
2333 against an implicit slash in bestmatch.
2335 1985-09-10 Richard M. Stallman (rms@mit-prep)
2337 * cmds.c (Fnewline):
2338 Barf immediately if buffer read only.
2340 * doc.c (Fsubstitute_command_keys):
2341 If string contains \{VAR}, get value of VAR and describe as
2344 * keymap.c (describe_map_tree):
2345 New function to describe a map and all maps reachable from it.
2347 * keymap.c (describe_bindings):
2348 Describe local bindings first.
2350 * abbrev.c (describe_abbrev):
2351 Direct final newline to same stream as everything else.
2353 1985-09-08 Richard M. Stallman (rms@mit-prep)
2355 * editfns.c, dispnew.c:
2356 Definition of baud-rate moved to dispnew.c.
2359 Functions point{-marker}, point-max{-marker} and
2360 point-min{-marker} defined. Old dot- names still exist
2364 "dot" changed to "point" in just about everything,
2365 including names that contain it, such as SetDot.
2367 * callint.c (Fcall_interactively):
2368 Make elements of command-history be expressions
2369 by quoting each arg that is not self-evaluating.
2371 * eval.c (Fsignal, find_handler_clause):
2372 If debugger returns, return its value from Fsignal.
2374 * All calls to Fsignal:
2375 Do something reasonable if Fsignal returns.
2376 Often, just return what it returned.
2377 `error' still never returns to its caller.
2379 * Signalling Qargs_out_of_range:
2380 Use new functions args_out_of_range and args_out_of_range_3
2381 (in data.c) to do this.
2383 1985-09-07 Richard M. Stallman (rms@mit-prep)
2385 * search.c (compile_pattern & callers):
2386 Must recompile even the same string if translate table is
2387 different. Pass translate table as arg to compile_pattern.
2389 * buffer.c (switch-to-buffer-other-window):
2390 Eliminate this name; it's now defined in files.el.
2392 * window.c (Fget_lru_window):
2393 Give preference to full-width windows.
2394 * window.c (display_buffer):
2395 only split full-width windows.
2397 * search.c (Fstring_match):
2398 Set the search_regs, like buffer searching commands.
2400 1985-09-06 Richard M. Stallman (rms@mit-prep)
2402 * editfns.c (Finsert_before_markers):
2403 User interface to insert_before_markers.
2405 * insdel.c (insert_before_markers):
2406 New function that inserts and moves all markers pointing at
2407 insertion point to point after the inserted text.
2409 * sysdep.c (wait_for_termination):
2410 Cause a SIGCHLD just in case, when termination is detected.
2413 Round data-end-address on Sun up, not down, to segment bdry.
2415 * crt0.c, alloca.s, m-sun2.h:
2416 For sun 2, call hack_sky from _start. hack_sky is new, in alloca.s.
2417 m-sun2.h is a new file, which defines the symbol sun2.
2419 * buffer.c (Fswitch_to_buffer):
2420 Second arg non-nil means don't record buffer on selection history.
2422 * syntax.c (scan_sexps_forward):
2423 Stop properly if end of range comes after a char quote within a string.
2425 1985-09-05 Richard M. Stallman (rms@mit-prep)
2427 * fileio.c (Fread_file_name):
2428 Abbreviate the default dir using ~ if possible.
2430 * search.c (search_buffer):
2431 Notice when re_search_2 returns "failure", in backward search.
2433 * term.c (write_chars):
2434 When using TS_repeat, the count was wrong, and len was not updated.
2436 1985-09-05 Richard M. Stallman (rms@mit-prep)
2438 * process.c (handle_process_output):
2439 Preserve logical ordering of input and output when there is type ahead.
2441 1985-09-05 Richard M. Stallman (rms@mit-prep)
2444 Define executing-kbd-macro as alias for executing-macro.
2445 Eventually old name will be flushed.
2447 1985-09-04 Richard M. Stallman (rms@mit-prep)
2449 * keyboard.c (Fsuspend_emacs):
2450 Put back `kill', accidentally deleted.
2452 * buffer.c: define switch-to-buffer-other-window = pop-to-buffer.
2454 * dispnew.c (update_line):
2455 Simplify handling of nlen == screen_width case
2456 to avoid calling write_chars on -1 chars.
2458 1985-09-02 Richard M. Stallman (rms@mit-prep)
2460 * term.c ((re)set_terminal_modes):
2461 Use the correct hook in each case.
2462 (topos): define topos_hook.
2464 * search.c (search_buffer):
2465 In backwards regexp search, use new `mstop' to re_search_2
2466 to avoid matches that extend forward past starting point.
2468 * editfns.c (init_editfns):
2469 Change #endif to #else; make AMPERSAND_FULL_NAME conditionals right.
2472 Define variable print-length, and refer to it as nec.
2474 1985-08-31 Richard Mlynarik (mly@mit-prep)
2476 * editfns.c (init_editfns)
2477 Try to improve AMPERSAND_FULL_NAME frobbing a little.
2480 Define function user-variable-p, which returns t if first char of
2481 var doc string is "*". Make (interactive "v") use it.
2483 1985-08-31 Richard M. Stallman (rms@mit-prep)
2485 * syntax.c (scan_words):
2486 Always clear immediate_quit on exit.
2488 1985-08-30 Richard M. Stallman (rms@mit-prep)
2490 * process.c (handle_process_output):
2491 Don't use the name `howmany' to avoid possible conflict
2492 with system header files.
2494 * xdisp.c (decode_mode_spec):
2495 Never try to output 100% -- output 99% instead.
2497 1985-08-11 Richard Mlynarik (mly@mit-prep)
2500 Don't define SUN -- "sun" already exists.
2501 Define COMPILER_REGISTER_BUG and use it in a few places in the
2502 source which used to be conditionalized on SUN
2504 * config.h, config.h.dist
2505 Increase pure size (sigh)
2507 * search.c (compile_pattern):
2508 Signal an invalid-regexp error if lose.
2510 1985-08-09 Richard Mlynarik (mly@mit-prep)
2512 * term.c (clear_end_of_line)
2513 Calling cmplus before chars output when terminals lacks clreol
2514 (crl@newton.purdue.edu)
2516 1985-08-06 Richard Mlynarik (mly@mit-prep)
2518 * macros.c (end-kdb-macro):
2519 Barf if not defining a macro.
2522 Interactive for Fdocumentation declaration was wrong, and has been
2523 deleted. (describe-function is what people should be using)
2525 Make where_is_in_buffer take a firstonly arg to speed up
2526 substitute-command-keys. Make it really use its buf argument.
2527 (crl@newton.purdue.edu)
2529 * emacs.c (kill-emacs):
2530 If noninteractive and arg is fixnum, return arg as program return
2533 * search.c (Fsearch_string):
2534 Wasn't initializing translate table based on case-fold-search
2536 * process.c (deactivate_process):
2537 Fix timing screw if SIGCHLD received in middle of deactivation
2538 (by silogic!eggert@ucla-cs.arpa)
2540 1985-08-05 Richard Mlynarik (mly@mit-prep)
2543 Improve doc of {current-}prefix-arg
2545 * minibuf.c (Fread_from_minibuffer):
2546 Thought it accepted maximum of 3 args, not 4.
2548 * sysdep.c (InitDsp):
2549 When you are (sigh) using CBREAK and flow control, C-@
2550 is botched. Some tables are being initialized to zero (i.e. C-@)
2551 when they should be initialized to -1. More debatably, LDECCTQ is
2552 needed for real, bad flow control.
2553 -- silogic!eggert@ucla-cs.arpa
2555 1985-07-21 Richard Mlynarik (mly@mit-prep)
2557 * sysdep.c (tabs_safe_p):
2558 gtty call was missing fd arg.
2560 1985-07-15 Richard M. Stallman (rms@mit-prep)
2562 * xdisp.c, minibuf.c, fileio.c:
2563 Add * to some variables' doc, remove from others.
2565 * term.c (ins_del_lines):
2566 Always go to real hpos 0 before insert or delete.
2568 * buffer.c (init_buffer_once):
2569 Pass correct data type to Fbuffer_flush_undo.
2571 * term.c (write_standout_marker):
2572 Don't output `se' if it's the same as `so'.
2574 * window.c (set_window_height):
2575 Pass correct data type (int) when call self at end.
2576 Similar in set_window_width.
2578 1985-07-14 Richard M. Stallman (rms@mit-prep)
2580 * editfns.c (subst-char-in-region):
2581 * casefiddle.c (operate_on_region):
2582 Don't call modify_region before recording the changes.
2584 * editfns.c (Fgoto_char):
2585 interactively read arg using n, not p.
2587 * undo.c (RecordChange1):
2588 A local and an arg were both named p. Change arg to bufp.
2589 Fixed bug in undoing the undoing of RecordChange (such as Meta-l).
2591 * minibuf.c (read_minibuf):
2592 Postpone incrementing MinibufDepth until point where
2593 can no longer quit before setting up to decrement it on quits.
2595 * fns.c (Fyes_or_no_p):
2596 Use Fsleep_for rather than sleep, to allow immediate quit.
2598 * abbrev.c (expand_abbrev):
2599 Handle case of scan_words returning 0.
2601 * casefiddle.c (operate_on_word):
2602 Handle case of scan_words returning 0.
2604 1985-07-12 Richard M. Stallman (rms@mit-prep)
2606 * xdisp.c (display_string):
2607 Regard display chars as unsigned chars.
2609 1985-07-12 Richard Mlynarik (mly@mit-prep)
2612 Stuff was being added to command-history even if aborted out
2614 1985-07-11 Richard M. Stallman (rms@mit-prep)
2616 * process.c: delete-exited-processes is boolean.
2619 chars_wasted is 0 if no `so' or `se' string;
2620 0100 | nchars if there is a `so' or `se' string.
2621 Should fix lossage with :sg#0:
2623 1985-07-10 Richard M. Stallman (rms@mit-prep)
2626 Rename waiting to waiting_for_input, no longer static.
2627 In get_char, be sure to clear alarm and zero input_available_clear_word
2628 when thrown to from quit_throw_to_get_char.
2631 Crash if waiting_for_input.
2633 * process.c (create_process):
2634 Set up alarm signal handler before requesting alarm.
2636 1985-07-09 Richard M. Stallman (rms@mit-prep)
2638 * process.c (create_process):
2639 Don't let child change Emacs's values of forkin and forkout.
2640 Use a timer interrupt to unhang `close (forkin)'
2641 since it gets wedged if the child exited already.
2643 1985-07-08 Richard M. Stallman (rms@mit-prep)
2645 * xdisp.c (redisplay_window):
2646 It was returning garbage.
2648 * keyboard.c, sysdep.c:
2649 Make stuff_char work correctly assuming its arg
2650 is the character to stuff, and always pass it the character.
2652 1985-07-07 Richard M. Stallman (rms@mit-prep)
2654 * dispnew.c, cm.h, sysdep.c:
2655 ospeed must be short, not int.
2657 * dispnew.c (update_line):
2658 Protect against old being null in call to change_line_highlight.
2660 * dispnew.c (make_display_lines):
2661 Take account of fact that `free' clobbers the area freed.
2663 * buffer.c (SefBfp):
2664 Don't check c->major_mode if c is zero.
2667 EXPLICIT_SIGN_EXTEND controls whether to define XINT using shifts.
2669 1985-07-05 Richard M. Stallman (rms@mit-prep)
2672 Make it REALLY do auto-filling.
2674 * term.c (term_init):
2675 Turn on must_write_spaces for Concepts.
2676 Append \E^G! (i/d char within line) to `ti' string for Concepts.
2678 * dispnew.c (update_line):
2679 If need to do clear-eol but text reaches to right margin,
2680 clear before outputting the last character of text.
2683 Define Wcm.cm_losewrap, which says that reaching right margin
2684 has undefined results. Turn this on for supdup terminals.
2686 1985-07-04 Richard M. Stallman (rms@mit-prep)
2688 * dispnew.c (update_line):
2689 If want to insert chars early in line and delete chars late in line,
2690 do the deletion first.
2692 * dispnew.c (update_screen):
2693 Round outq down, not to nearest second, to get sleep time.
2695 1985-07-03 Richard M. Stallman (rms@mit-prep)
2697 * term.c (term_init):
2698 Was storing "dc" string in wrong place.
2700 * term.c (ins_del_lines):
2701 On telerays, indicate that cursor is left in column 0.
2703 * dispnew.c (line_hash_code):
2704 Make line be null-terminated.
2706 * dispnew.c (direct_output_for_insert):
2707 Make line remain null-terminated.
2709 1985-07-02 Richard M. Stallman,,, (rms@mit-prep)
2711 * window.c (window_loop, case 5):
2712 Change < to > so get-largest-window gets largest, not smallest.
2714 * term.c (ins_del_line):
2715 Don't pass negative length arg to bzero, for chars_wasted.
2717 * editfns.c (init_editfns):
2718 In user full name, discard stuff starting with first comma if any.
2719 Change names of static structure: now user_real_name and
2721 Clean up AMPERSAND_FULL_NAME code a little.
2723 1985-07-01 Richard M. Stallman (rms@mit-prep)
2725 * minibuf.c: (minibuffer-complete-word):
2726 Fix case of Space in filename, where front of minibuffer
2727 gets deleted by completion.
2729 * Gross rewrite of display code. No Gosling code left.
2730 Files fixedpoint.* and display.* and Trm*.* flushed.
2731 New files term.c, scroll.c, termhooks.h, termopts.h,
2732 and termchar.h. Many changes in dispnew.c.
2734 * keyboard.c: make stop_character not static.
2736 1985-06-26 Richard M. Stallman (rms@mit-prep)
2738 * xdisp.c (try_window_id):
2739 If C-k is done at end of next-to-last line,
2740 this fn updates window_end_vpos and cannot leave
2741 window_end_pos nonnegative (it is zero, in fact).
2742 If display is preempted before lines are output,
2743 this is inconsistent. Fix by setting
2744 blank_end_of_window to nonzero.
2746 1985-06-25 Richard M. Stallman (rms@mit-prep)
2748 * cmds.c (Fnewline):
2749 Call the auto fill hook if appropriate.
2751 * xdisp.c (try_window_id):
2752 If dot is found by compute_motion after xp, record that
2753 permanently. If display_text_line sets dot position wrong
2754 (case where like is killed, dot is at eob and that line
2755 is not displayed), detect and set it again in final compute_motion.
2757 * display.c, dispnew.c, sysdep.c, xdisp.c:
2758 Rewrite UpdateScreen (now update_screen),
2759 PrintM (now print_scrolling) and init_display;
2760 all vestiges of Gosling code gone. They are now in dispnew.c.
2761 Some changes in how screen_garbaged is handled;
2762 work now done in Fredraw_display.
2763 Minor changes in InitDsp and in minibuf.
2765 * TrmAmb.c: flushed.
2766 * Trm*.c: tt.t_init routine now passed no arguments.
2768 1985-06-23 Richard M. Stallman (rms@mit-prep)
2770 * display.c: include sys/ioctl.h so conditionals work right.
2772 1985-06-22 Richard M. Stallman (rms@mit-prep)
2774 * doprnt.c: Flush extra increment of fmt for %%.
2776 * search.c (replace-match):
2777 Test of prevc was backwards in determining value for case_action.
2779 * TrmTERM.h (wipeline):
2780 Update curY and curX when ESC S is sent to Teleray.
2781 * TrmTERM.h (TrmTERM):
2782 Turn off use of LF on Teleray.
2784 * process.c (pty): Don't turn on FIONBIO.
2786 1985-06-18 Richard M. Stallman (rms@mit-prep)
2788 * process.c (create_process):
2789 Make pty terminal the controlling terminal of the child.
2791 * fileio.c: Replace %1 with %s in various interactive strings.
2792 I wonder why they said "%1", and whether that ever worked.
2794 * process.c (change_msgs):
2795 Advance dot if at dot is at end; otherwise don't change dot.
2797 * search.c (replace-match):
2798 Fix bug in case preservation by initializing `last' for final loop.
2800 1985-06-17 Richard M. Stallman (rms@mit-prep)
2802 * sysdep.c: New file containing interfaces to system-dependent
2803 kernel entries and libraries.
2805 * aux.c, dsp.c: Files eliminated.
2807 * m-dual68.h: m- file for Duals running unisoft port.
2809 * s-uniplus5.0.h: s- file for unisoft port of sys V rel 0.
2810 * s-uniplus5.2.h: s- file for unisoft port of sys V rel 2.
2812 * syntax.c: Eliminate find-line-comment and find-line-comment-body.
2813 Lisp code should use comment-start-skip to find comments.
2815 1985-06-15 Richard M. Stallman (rms@mit-prep)
2818 Suppress use of ^M on telerays. Know that ins line
2819 leaves cursor in column 0 on telerays.
2820 Don't decrement width for :am: terminals; this is an experiment.
2822 1985-06-14 Richard M. Stallman (rms@mit-prep)
2824 * TrmTERM.c (TrmTERM):
2825 Override termcap's so and sg for telerays (xt is set).
2827 * display.c (hashline):
2828 Don't ignore trailing spaces if tt.t_needspaces is set.
2829 May fix C100 lossage.
2831 * Various files: minor changes for system V.
2833 * disp_extern.h: rename as dispextern.h.
2835 * commands.h (INTERACTIVE):
2836 Be false in batch mode.
2839 New file, containing system-dependent subroutines.
2842 Use new subroutines get_input_pending, stuff_char,
2843 discard_tty_input, in aux.c for now.
2845 * display.c (term_init):
2846 Use new subroutine init_baud_rate; avoid direct use of gtty.
2849 Use new subroutines wait_without_blocking, setpgrp_of_tty,
2850 child_setup_tty, set_exclusive_use.
2852 * keyboard.c (EchoThem):
2853 Process quits only if `waiting' is set.
2855 1985-06-12 Richard Mlynarik (mly@mit-prep)
2857 * minibuf.c, callint.c, read.c, mocklisp.c
2858 New function read-from-minibuffer does all you could ever want.
2859 read-minibuffer, eval-minibuffer, read-string take second optional
2860 initial-contents arg. read-input now a synonym for read-string.
2862 * keymap.c, callint.c, minibuf.c, fns.c, commands.h
2863 Rename MinbufLocalMap to Vminibuffer_local_map, etc
2864 Rename minibuf-local-{,-ns,-completion,must-match}map,
2865 and DefLispVar them (document even!)
2866 => New lisp variables minibuffer-local-map, minibuffer-local-ns-map,
2867 minibuffer-local-completion-map, minibuffer-local-must-match-map.
2869 1985-06-12 Richard M. Stallman (rms@mit-prep)
2872 Supply missing defsubr of keymapp.
2874 1985-06-11 Richard M. Stallman (rms@mit-prep)
2876 * callint.c, editfns.c, doprnt.c:
2877 Use new function doprnt instead of _doprnt.
2879 1985-06-10 Richard M. Stallman (rms@mit-prep)
2881 * TrmC100.c: Do termscript output.
2883 1985-06-10 Richard Mlynarik (mly@mit-prep)
2885 * print.c, lisp.h, buffer.c
2886 New function prin1-to-string.
2887 (Needs an initialization done in buffer.c)
2889 1985-06-10 Richard M. Stallman (rms@mit-prep)
2892 Fix interaction of XTflag with SGnum (telerays):
2893 Don't put SEstr on most lines; special hair
2894 to erase SOstr when necessary.
2897 Clear Vquit_flag in read_key_sequence, not in get_char.
2898 This makes it possible to quit out of y-or-n-p again.
2900 1985-06-10 Richard Mlynarik (mly@mit-prep)
2902 * dired.c (file_name_completion)
2903 Check Vquit_flag each time around and quit if requested.
2905 1985-06-10 Richard M. Stallman (rms@mit-prep)
2907 * minibuf.c: Use Tab for completion, not ESC.
2909 * unexec.c: round bss_start up to page bndry.
2911 1985-06-09 Richard M. Stallman (rms@mit-prep)
2913 * keyboard.c (kbd_buffer_store_char):
2914 Call interrupt_signal for every C-g, even while waiting.
2916 * keyboard.c (input_available_signal):
2917 If C-g seen, ignore rest of chars already available.
2919 * keyboard.c (quit_throw_to_get_char):
2920 Don't clear Vquit_flag. Let Lisp program see quit-flag set.
2922 1985-06-08 Richard M. Stallman (rms@mit-prep)
2925 Make functions called by internal_with_output_to_temp_window
2926 all return Lisp_Object.
2928 * bytecode.c (case Bdup):
2929 PUSH (TOP) loses due to invalid assumption about where
2930 autoincrement gets done.
2932 * read.c (read_vector):
2933 Pass make_pure_vector an int, as it expects, not a Lisp_Object.
2935 1985-06-07 Richard Mlynarik (mly@mit-prep)
2940 1985-06-07 Richard M. Stallman (rms@mit-prep)
2943 HLflags is now a three-way flag: 1 => line has SOstr,
2944 2 => line has SEstr, 0 => line has neither.
2945 State 0 results from clearing screen, ins/del line.
2947 * dispnew.c (preserve_other_columns):
2948 If copying beginning of line from other window,
2949 don't increase length of line beyond last column copied.
2952 Eliminate `executing' flag.
2953 Quit now always sets Vquit_flag; input code tests it.
2955 1985-06-06 Richard Mlynarik (mly@mit-prep)
2957 * doc.c (Fdocumentation):
2958 Handle sparse keymaps (lists whose car is `keymap')
2959 by way of canned string.
2961 1985-06-06 Richard M. Stallman (rms@mit-prep)
2963 * keyboard.c (kbd_buffer_get_char):
2964 Keep doing gobble_input and waiting, until kbd_count becomes nonzero.
2966 1985-06-05 Richard M. Stallman (rms@mit-prep)
2968 * dired.c (file-name-completion, file-name-all-completions):
2969 Make these functions share most of their code.
2970 Use two passes: first try all filenames that don't end in an
2971 "ignored extension" and, if that yields nothing, try all filenames.
2973 * doc.c (Fdocumentation):
2974 Handle keyboard macros (symbols with strings as definitions)
2975 with a canned string.
2977 1985-06-05 Richard Mlynarik (mly@mit-prep)
2979 * dired.c (file-name-completion)
2980 Spazz comparing against completion-ignored-extensions (boole!eggert)
2981 That was no spazz, that was a feature - rms.
2983 1985-06-05 K. Shane Hartman (shane@mit-prep)
2985 * cmds.c (end-of-line): Fix documentation. Claimed it moved to
2988 * buffer.c (fill-column): Fix typo in documentation.
2990 1985-06-04 Richard M. Stallman (rms@mit-prep)
2993 Make Bread_char check for quit before finishing.
2994 A quit is likely to requested during the read_char.
2996 1985-06-04 Richard Mlynarik (mly@mit-prep)
2998 * dired.c (file-name-completion, file-name-all-completions)
2999 Append "/" to names of directories.
3001 1985-06-04 K. Shane Hartman (shane@mit-prep)
3003 * minibuf.c (Vminibuffer_help_form):
3004 Change the lisp name to be minibuffer-help-form rather than
3005 Vminibuffer-help-form.
3007 1985-06-02 Richard M. Stallman (rms@mit-prep)
3010 Eliminate CBREAK_INPUT and FRONT_END_PROCESS;
3011 INTERRUPT_INPUT just controls default for interrupt_input.
3013 * dsp.c, keyboard.c, xdisp.c:
3014 Use variable interrupt_input rather than switch INTERRUPT_INPUT.
3015 Don't change stopc/startc if flow_control is nonzero.
3018 Change OldTchars => old_tchars, etc.
3019 Initialize new tchars from old tchars.
3020 Move setting window to 0 from InitDsp to term_init.
3022 * dispnew.c (set-input-mode):
3023 New function to set interrupt_input and flow_control.
3025 * read.c (read_escape):
3026 \ followed by one or two digits unreads following char.
3028 * TrmTERM.c (flash):
3029 If no bell defined, output C-g.
3031 * minibuf.c (read_minibuf, read_minibuf_unwind):
3032 Define Vminibuffer_help_form.
3033 Bind help_form to that inside minibuf.
3035 * callproc.c, doc.c:
3036 Make Vexec_directory end in a slash.
3038 * process.c (wait_reading_process_input):
3039 Remove debugging trap. It showed that the select had
3040 returned, there was input available, it had not
3041 been read by interrupt level but FASYNC was set.
3044 * keyboard.c (kbd_buffer_get_char):
3045 If wait_reading_process_input returns and kbd_count stil 0,
3046 gobble the buffered input.
3048 1985-06-01 Richard M. Stallman (rms@mit-prep)
3050 * dispnew.c (sit-for):
3051 Gobble any pending input before calling wait_reading_process_input.
3053 * process.c (wait_reading_process_input):
3054 Dump core if `select' says input available and did not
3055 already get a SIGIO interrupt for it.
3058 Detect -batch even when it's the only arg.
3060 * minibuf.c (read_minibuf):
3061 Don't call UpdateScreen if in batch mode.
3064 Use sigsetmask to prevent recursive SIGIO handling
3065 rather than kill, as previous change caused
3066 kbd_buffer_get_char to return -1 mysteriously.
3067 Change kbd_buffer_get_char never to return -1;
3068 kill emacs on eof in batch mode, abort on eof non-batch.
3071 Eliminate dribble_count. fflush (dribble) after each char.
3074 Define Uunmod; record when buffer becomes "modified"
3075 and clear out "modified" if undo past there.
3077 * undo.c (RecordDelete):
3078 Correct the condition for combining with previous delete.
3080 * keyboard.c (kbd_buffer_get_char):
3081 Actually cause SIGIO if have unread input.
3083 * display.c, TrmTERM.c:
3084 Do fflush(termscript) in UpdateScreen, not in TrmTERM.
3086 1985-05-31 Richard M. Stallman (rms@mit-prep)
3088 * TrmVT100.c: Generate termscript output.
3090 * dsp.c: define request_sigio, unrequest_sigio.
3093 Unrequest sigio on entry, rerequest on exit.
3094 Thus, no interrupts during redisplay.
3096 * keyboard.c (detect_input_pending):
3097 Check FIONREAD even if INTERRUPT_INPUT.
3100 Add macros LOAD_AVE_TYPE and LOAD_AVE_CVT
3102 * fns.c (load-average): Use those two.
3103 Makes it work on suns.
3105 * keyboard.c (kbd_buffer_get_char):
3106 #ifndef INTERRUPT_INPUT, always read at least 1 character.
3108 1985-05-30 Richard M. Stallman (rms@mit-prep)
3110 * display.c (UpdateScreen):
3111 Allow preemption at beginning if already input avail.
3113 * keyboard.c (EchoKeys):
3114 If 1st char is help-char, echo it specially verbosely.
3116 * keymap.c (access_keymap):
3117 If nothing in keymap under specified character code,
3118 try converting to lower case and look again.
3120 * data.c (listp, nlistp, eq, null):
3121 Use EQ or NULL rather than old slow comparisons.
3123 * data.c (symbol-function, symbol-value):
3124 Pass Qboundp or Qfboundp as extra info when signal void-symbol.
3126 1985-05-29 Richard M. Stallman (rms@mit-prep)
3128 * fileio.c (add-name-to-file):
3129 If no query or error about new name existing, delete it
3130 to avoid system error later.
3132 * buffer.c (generate-new-buffer):
3133 Remove duplicate declaration of local var `name'.
3136 Assume distribution contains paths.h.dist and config.h.dist.
3137 Copy them into paths.h and config.h if those don't exist;
3138 warn user if those exist but are older.
3141 If -batch mode, just output ^G.
3144 Eliminate "magic" treatment of \0 and \004.
3145 Flush cmevalcost, cmput; use evalcost, put.
3147 * TrmTERM.c: Always set DontSend to zero.
3150 Add pyramid version of alloca, and _longjmp and _setjmp.
3152 * data.c, eval.c, fns.c, read.c, window.c:
3153 To get around Pyramid C compiler bugs:
3154 Eliminate many constructs return FOO = BAR;
3155 Eliminate some cases of calling function computed
3156 by conditional expression.
3158 * dired.c (directory-files):
3159 Avoid making double slash if spec'd directory ends in slash.
3161 * callint.c (case 'b'):
3162 Don't allow a minibuffer to be the default buffer.
3164 1985-05-28 Richard Mlynarik (mly@mit-prep)
3166 * minibuffer.c (read_minibuf)
3167 Added variable enable-recursive-minibuffers
3168 (enable_recursive_minibuffers) so that Real Men may confuse
3169 themselves. (Some commands such as c-h f can also use it) (This
3170 is not quite the right thing for commands to bind to read their
3171 arguments since it enables arbitrary recursiveness, not just one
3175 Wrote generate-new-buffer --- like gentemp for buffer names.
3176 Rewrote create-file-buffer into lisp code in lisp/files.el
3178 1985-05-27 Richard M. Stallman (rms@mit-prep)
3181 Make each machine type use completely separate code.
3182 Put in code for pyramid.
3184 * display.h, Trm.h, disp_extern.h:
3185 Move InverseVideo to Trm.h, rename to inverse_video.
3186 Rename VisibleBell to visible_bell.
3187 Move ScreenLength and ScreenWidth to Trm.h.
3188 Rename ScreenGarbaged to screen_garbaged.
3191 Eliminate VT100_INVERSE. People can do this with setq.
3194 Use new variable FPdebug instead of RDdebug.
3195 Include only Trm.h and fixedpoint.h, not display.h.
3198 IDdebug and RDdebug are mentioned in this file only.
3200 * xdisp.c (decode_mode_spec):
3201 Display "Narrow" after minor modes if buffer has any clipping.
3203 * keyboard.c (command_loop_1):
3204 Kill Emacs on end of file only if not executing a macro.
3206 1985-05-26 Richard M. Stallman (rms@mit-prep)
3209 Move VisibleBell and baud_rate to Trm.h.
3210 Define tt.t_padspeed, minimum speed at which padding needed (pb#).
3212 * Trm*.c, dispnew.c (Ding):
3213 tt.t_flash is always set; it flashes the screen or beeps using `bl='.
3216 Use `IC', `DC', `rp' and `bl' termcap strings when appropriate.
3217 No longer look for nonstandard `nn' or `rn' flags or `ds' string.
3218 Do not assume ^M and ^J can be used unless `cr' or 'do' or `nl'
3220 ?? Make second arg to tputs always number of LINES below cursor
3221 because the termcap documentation says so. Is this right ??
3223 1985-05-24 Richard M. Stallman (rms@mit-prep)
3225 * keymap.c (push_key_description):
3226 Use DEL for 0177, RET for 015, LFD for 012, TAB for 011, SPC for 040.
3228 * search.c (search_buffer):
3229 For n < 0 re-search, test search_regs.end[0] vs startpos, not pos.
3231 * callint.c (call-interactively):
3232 If interactive spec is a list, use num_input_chars
3233 to tell whether it read args from the command input.
3235 * keyboard.c (get_char):
3236 Increment new variable num_input_chars on each call.
3238 * All .h files: make all variable definitions `extern'.
3240 * buffer.c, window.c, xdisp.c, display.c, dispnew.c,
3241 syntax.c, fixedpoint.c: Put in one non-extern definition
3242 for each variable that used to have them only in the .h files.
3245 Refs to Cant1WinOpt should say windows_or_buffers_changed.
3247 * buffer.c (kill-all-local-variables):
3248 Don't clobber a variable currently set up for some other buffer.
3249 Was losing the other buffer's recent setq's if the other
3250 buffer had the same variable local.
3252 1985-05-23 Richard M. Stallman (rms@mit-prep)
3254 * buffer.c (list_buffers_1):
3255 Put back the lost column in the entries
3256 rather than removing it from the header.
3258 1985-05-23 Richard M. Stallman (rms@mit-prep)
3260 * xdisp.c (decode_mode_spec):
3261 Display "Abbrev" if abbrev_mode is set.
3262 Don't clobber past end of tbuf.
3265 kbd_buffer_get_char: If noninteractive, read from stdin.
3266 open-dribble-file: take filename as argument.
3267 command_loop_1: on end of file, call kill-emacs.
3269 1985-05-22 Richard M. Stallman (rms@mit-prep)
3271 * window.c (save_window_restore):
3272 Set windows_or_buffers_changed.
3274 * buffer.c (list_buffers_1):
3275 Print % not R for read-only buffers.
3277 * cmds.c (SelfInsert):
3278 !NULL => NULL testing buffer read onliness for abbrev expansion.
3280 * eval.c (interactive-p):
3281 Return nil if called within expression being evalled
3282 by a built-in C function such as eval-region.
3284 1985-05-22 K. Shane Hartman (shane@mit-prep)
3286 * config.h, TrmXTERM.c, display.c
3287 Change define for XWINDOW to XVSWINDOW because XWINDOW
3288 is defined as a macro in lisp.h.
3290 1985-05-22 Richard M. Stallman (rms@mit-prep)
3292 * print.c (printchar, strout):
3293 Output minibuffer chars to stdout if noninteractive.
3295 * xdisp.c (message, message1):
3296 Noninteractively, output newline if previous output was from print.
3298 * keyboard.c (cmd_error):
3299 If noninteractive, force out error message at end.
3301 * keyboard.c (get_char):
3302 Fix bugs in handling help_char:
3303 do a redisplay after restoring window configuration;
3304 clear NextK after reading a space.
3306 * buffer.c (other-buffer):
3307 Init notsogood to nil so don't return garbage value.
3309 * buffer.c (list_buffers_1):
3310 Put back missing space before each buffer name.
3312 * buffer.c (SetBfp):
3313 New code to dump core when paragraph-start gets its global value
3314 in a buffer in Lisp mode.
3316 * TrmXTERM.c: new file. Used for interface to
3317 MIT's `X' window system.
3319 1985-05-22 Richard Mlynarik (mly@mit-prep)
3321 * buffer.c (list_buffers_1):
3322 made list-buffers print "R" if buffer read-only.
3323 (No change is needed to lisp/buff-menu.el)
3325 1985-05-22 Richard M. Stallman (rms@mit-prep)
3327 * keyboard.c (get_char):
3328 Use (in effect) save-window-excursion to flush the window
3329 made by or for the help-form.
3331 Flush remove_help_window and its DefBoolVar.
3333 Flush obsolete externs for remove_help_window and flushhelp.
3335 * config.h: increase maximum screen dimensions to 300x300.
3336 Define XWINDOW flag (off by default).
3338 * Trm.h: add tt.t_socketinput slot, and t_ReadSocket slot.
3339 * dsp.c, keyboard.c: code for using those slots.
3340 * display.c: install code for XVSWINDOW.
3342 * dispnew.c (sleep-for): flush spurious reference to
3343 nonexistent variable time_limit.
3345 1985-05-21 Richard Mlynarik (mly@mit-prep)
3347 * The documentation for substitute-command-keys was fazed out by
3348 its own hairy heuristics! Moby quoting (past the c compiler, and
3349 then past substitute-command-keys) added.
3350 People should be careful of this. Also, hacks which make
3351 printed documentation out of doc strings need to know about this
3354 1985-05-21 Richard M. Stallman (rms@mit-prep)
3356 * TrmTERM.c, dispnew.c, cm.c:
3357 open-termscript opens a termscript file,
3358 into which are written a copy of all characters (except padding)
3359 sent to the terminal.
3362 Recompute DOCSTR file only if other things have changed.
3364 1985-05-20 Richard M. Stallman (rms@mit-prep)
3366 * keyboard.c (command-execute):
3369 * data.c (car, cdr, car-safe, cdr-safe):
3370 Open code them. Flush carcdr and car_1.
3373 Define do_autoload to autoload a function and barf if that
3374 did not define it. Use this in eval, apply, funcall.
3375 Make Fautoload do nothing if function is already defined.
3376 Open code the loops that trace function definitions of symbols.
3378 1985-05-19 Richard M. Stallman (rms@mit-prep)
3380 * buffer.c, window.c:
3381 Change algorithm for reordering Vbuffer_alist:
3382 select-window now calls record_buffer.
3383 other-buffer now prefers buffers not visible in any window.
3384 bury-buffer, which puts a buffer at the end of the list,
3387 * keyboard.c (get_char):
3388 Make first char of a command go into keybuf
3389 even if it is being reread.
3390 Make all chars go into keybuf if coming from a macro.
3392 * process.c (make_process):
3393 Fix bug where incremented-for-uniqueness name wasn't really used.
3395 1985-05-17 Richard M. Stallman (rms@mit-prep)
3398 Fix bug of reinserting/replacing undone chars
3399 wrapping around wrong at end of undo buffer.
3400 Use tembuf to handle properly a Uchange
3401 of length > half the undo buffer.
3403 1985-05-16 Richard M. Stallman (rms@mit-prep)
3405 * window.c (set-window-start):
3406 accept third arg NOFORCE meaning don't set w->force_start.
3408 * indent.c (compute_motion):
3409 Clear tab_offset when scanning past a newline.
3411 * lisp.h, bytecode.c: define Qbytecode.
3412 * eval.c: fix interactive-p to look past a call to `bytecode'.
3413 Makes interactive-p work in compiled code.
3416 Supply missing taboffset arg to display_text_line from DoDsp.
3417 Fixes bug that inserting a character could shift line sideways.
3420 Remove spurious * in setting terminal_driver.
3423 Remove some obsolete externs for symbols that no longer exist.
3426 Define send-string-to-terminal.
3428 * TrmTERM.c, TrmVT100.c:
3429 Turn on alternate keypad on entry, turn off on exit.
3431 1985-05-16 Richard Mlynarik (mly@mit-prep)
3433 * fileio.c: added optional third arg ok-if-exists to
3434 rename-file, make-symbolic-link, add-name-to-file and copy-file.
3435 If the destrination filename exists, then if ok-if-exists
3436 is non-nil it is silently bashed; else if the function was
3437 called interactively the user is queried as to whether s/he
3438 wants to bash the file; otherwise (ok-if-exists nil, non-interactive)
3439 a file-already-exists error is signalled.
3441 * window.c: made get-window-buffer return nil if get-buffer of
3442 its arg returns nil, rather than erring.
3444 1985-05-14 Richard M. Stallman (rms@mit-prep)
3446 * dispnew.c, display.c:
3447 Function scroll_max_lines_saved returns # lines in common
3448 between PhysScreen and DesiredScreen.
3449 UpdateScreen skips i/d calc on big window, fast screen
3450 when there are too few lines in common.
3452 1985-05-13 Richard M. Stallman (rms@mit-prep)
3455 Fix cursor position calculation for continued tabs.
3456 New tab_offset argument to compute_motion.
3459 Make display of continued tabs work.
3462 Do inc-version in a separate invocation of temacs
3463 to make the dumped xemacs smaller.
3466 Put star in front of XSUBR (fun)->function where it is being called.
3469 Mark buffers when pointers to them are found,
3470 like all other Lisp object types.
3472 * buffer.h, buffer.c:
3473 Created chain `all_buffers' containing all existing buffers
3474 not yet reclaimed by gc, including dead buffers.
3477 Fix up register declarations.
3479 * emacs.c, dsp.c, xdisp.c:
3480 Define -batch switch: do no redisplay, don't change terminal modes.
3481 Lisp variable `noninteractive' is non-nil in this mode.
3484 Made most scanning loops turn on immediate_quit.
3487 Fsignal clears immediate_quit.
3489 1985-05-12 Richard M. Stallman (rms@mit-prep)
3491 * cmds.c: modified `newline' to insert before an existing
3492 newline before dot. This produces better redisplay.
3494 * xdisp.c: fixed bug that modifying buffer displayed in two windows
3495 failed to redisplay both mode lines with stars.
3497 * xdisp.c: try_window_id: if scrolling upward and changed text is empty
3498 scroll up all the lines that fit below bp.
3500 * xdisp.c: introduce num_contin, to display tabs right in contin. lines
3502 * doc.c: define substitute-command-keys, using crl@purdue's code.
3503 Make `documentation' call it.
3505 * eval.c, fns.c, bytecode.c: put in register decls for Lisp_Objects.
3506 Saved 2500 bytes of object code.
3508 1985-05-11 Richard M. Stallman (rms@mit-prep)
3510 * editfns.c: Put in code for & in fullname,
3511 under AMPERSAND_FULL_NAME flag.
3513 * lisp.h: Install NO_UNION_TYPE flag in lisp.h.
3514 This means XMARKBIT can no longer be on left side of =.
3515 New macros XMARK and XUNMARK and XSETMARKBIT are used instead.
3517 * alloc.c, marker.c: use XMARK, XUNMARK, XSETMARKBIT where needed.
3519 * TrmTERM.c: Ignore `xs' termcap flag.
3520 Always use the SEstr on sg >= 0 terminals.
3522 * minibuf.c: Don't allow entry to minibuffer
3523 while minibuffer is selected.
3525 Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007
3526 Free Software Foundation, Inc.
3527 Copying and distribution of this file, with or without modification,
3528 are permitted provided the copyright notice and this notice are preserved.
3530 ;;; arch-tag: 2d2c1086-b0a5-437c-bc58-fb38ce2e0f9b