Commit | Line | Data |
---|---|---|
615d0182 DL |
1 | |
2 | 1986-05-18 Richard M. Stallman (rms at prep) | |
3 | ||
4 | * alloc.c (malloc_warning_1): Add some advice on | |
5 | the significance of the warning. | |
6 | ||
7 | 1986-05-09 Richard M. Stallman (rms at prep) | |
8 | ||
9 | * sysdep.c (get_screen_size): | |
10 | Reject values of TIOCGSIZE if they are ridiculous. | |
11 | ||
12 | 1986-05-05 Richard M. Stallman (rms at prep) | |
13 | ||
14 | * process.c (send_process_1): | |
15 | If pipe buffer is full, wait a second and try again. | |
16 | ||
17 | 1986-05-02 Richard M. Stallman (rms at prep) | |
18 | ||
19 | * termcap.c (tputs): round rather than truncating | |
20 | when dividing padcount. | |
21 | ||
22 | 1986-04-24 Richard M. Stallman (rms at prep) | |
23 | ||
24 | * insdel.c (del_range): args passed to adjust_markers | |
25 | are now properly adjusted for the gap. | |
26 | ||
27 | 1986-04-20 Richard M. Stallman (rms at prep) | |
28 | ||
29 | * alloca.c: Declare xmalloc. | |
30 | ||
31 | 1986-04-17 Richard M. Stallman (rms at prep) | |
32 | ||
33 | * filelock.c (unlock_buffer): New function to unlock | |
34 | a specified buffer. Use in Fdelete_buffer_internal | |
35 | to avoid lossage if buffer being killed is not current. | |
36 | ||
37 | 1986-04-14 Richard M. Stallman (rms at prep) | |
38 | ||
39 | * alloc.c (malloc_warning, Fgarbage_collect): | |
40 | If malloc_warning is called during GC, just save warning | |
41 | in malloc_warn_string. Try again to warn when GC ends. | |
42 | ||
43 | 1986-04-12 Richard M. Stallman (rms at prep) | |
44 | ||
45 | * m-celerity.h: Remove spurious effectless #define BSTRINGS | |
46 | ||
47 | 1986-04-10 Richard M. Stallman (rms at prep) | |
48 | ||
49 | * xfns.c (Fx_get_default): | |
50 | Avoid doing strlen(value) if value is 0. | |
51 | ||
52 | 1986-04-08 Richard M. Stallman (rms at prep) | |
53 | ||
54 | * indent.c (compute_motion): | |
55 | Change unsigned short back to short. unsigned short is plain | |
56 | wrong and causes infinite loops when horizontal scrolling is used. | |
57 | Introduced macros HPOS and VPOS for extracting components of cpos. | |
58 | Alternate HPOS definition for Celerity since casting to (short) | |
59 | loses there. | |
60 | ||
61 | 1986-04-07 Richard M. Stallman (rms at prep) | |
62 | ||
63 | * dispnew.c (update_screen): | |
64 | Don't zero OPhysScreen and DesiredScreen until after | |
65 | final error check. Omit the error check unless debug_end_pos. | |
66 | ||
67 | 1986-04-06 Richard M. Stallman (rms at prep) | |
68 | ||
69 | * cm.c (calccost): | |
70 | Was returning garbage if arrived at fail: by goto fail;. | |
71 | ||
72 | 1986-03-27 Richard Mlynarik (mly at prep) | |
73 | ||
74 | * dispnew.c: | |
75 | Typo: `#ifdef defined...' => `#if defined...' | |
76 | ||
77 | 1986-03-26 Richard M. Stallman (rms at prep) | |
78 | ||
79 | * doc.c (FSnarf_documentation): | |
80 | Appending the arg to the file name must be done | |
81 | whether or not CANNOT_DUMP. | |
82 | ||
83 | 1986-03-25 Richard M. Stallman (rms at prep) | |
84 | ||
85 | * fileio.c (Fsubstitute_in_file_name): | |
86 | // at beginning of filename is meaningful on Apollo. | |
87 | ||
88 | * keyboard.c (command_loop_1): | |
89 | If C_ALLOCA, cause it to garbage collect each time around this loop. | |
90 | ||
91 | * crt0.c: If NEED_ERRNO defined, declare errno. | |
92 | * m-7300.h: New file. | |
93 | ||
94 | 1986-03-25 Richard Mlynarik (mly at prep) | |
95 | ||
96 | * alloc.c (Fmake_symbol): | |
97 | CHECK_STRING the argument. | |
98 | ||
99 | 1986-03-24 Richard M. Stallman (rms at prep) | |
100 | ||
101 | * xfns.c (Fx_proc_mouse_event): | |
102 | Use shifts rather than byte addressing to extract from .detail. | |
103 | ||
104 | 1986-03-24 Richard Mlynarik (mly at prep) | |
105 | ||
106 | * minibuf.c (do_completion): | |
107 | Only funcall predicate if it is non-nil | |
108 | Make completion of "nil" in obarrays work. | |
109 | ||
110 | 1986-03-21 Richard M. Stallman (rms at prep) | |
111 | ||
112 | * fileio.c (Fsubstitute_in_file_name): | |
113 | #if 0 last change (LOGNAME); it makes vax running 5.0 crash. | |
114 | ||
115 | 1986-03-20 Richard M. Stallman (rms at prep) | |
116 | ||
117 | * unexec.c (make_hdr): avoid comparing a_bss field with 0. | |
118 | It is unsigned on some machines. Save sbrk (0) in tem. | |
119 | ||
120 | 1986-03-19 Richard M. Stallman (rms at prep) | |
121 | ||
122 | * minibuf.c (do_completion): | |
123 | Don't say string is exact match if it fails the predicate. | |
124 | ||
125 | * process.c (create_process): | |
126 | For STRIDE: use FIONBIO to make pipe/pty non-blocking. | |
127 | The fcntl alone failed to do it. | |
128 | ||
129 | * fileio.c (Ffile_directory_p, Ffile_modes): | |
130 | Don't remove trailing slash for stat if path is "/". | |
131 | ||
132 | * process.c (kill_buffer_processes): | |
133 | Pass nil, not 0, to sig_process for current_group arg. | |
134 | ||
135 | 1986-03-18 Richard M. Stallman (rms at prep) | |
136 | ||
137 | * process.c (handle_process_output): | |
138 | Avoid error if process's buffer is dead. | |
139 | ||
140 | * eval.c (un_autoload,do_autoload): | |
141 | The Vautoload_queue mechanism was all broken. | |
142 | ||
143 | * fileio.c (Fsubstitute_in_file_name): | |
144 | On USG, if looking for env var USER and not found, use LOGNAME. | |
145 | ||
146 | 1986-03-16 Richard M. Stallman (rms at prep) | |
147 | ||
148 | * s-usg*.h, s-unipl*.h: | |
149 | Replace default ADDR_CORRECT with a no-op. | |
150 | Default triggers compiler bug on some systems. | |
151 | Remove same thing from m-stride.h since now redundant there. | |
152 | ||
153 | * keyboard.c (init_keyboard, interrupt_signal): | |
154 | For USG, handle SIGQUIT just like SIGINT. | |
155 | ||
156 | * sysdep.c (init_sys_modes): | |
157 | For HPUX, use C-g for the SIGQUIT char as well as the SIGINT char | |
158 | as using CDEL causes Meta-DEL to send a SIGQUIT! | |
159 | ||
160 | * process.c: On Uniplus, time.h is under sys/, as in bsd. | |
161 | ||
162 | * sysdep.c (reset_sys_modes): | |
163 | Don't use FASYNC if it is not defined. | |
164 | ||
165 | 1986-03-15 Richard M. Stallman (rms at prep) | |
166 | ||
167 | * window.c (save_window_restore): | |
168 | Fix logic for handling dead buffers. | |
169 | Don't try to store nil for the mark into the buffer | |
170 | if the buffer is nil. | |
171 | ||
172 | * alloca.s: put #ifndef HAVE_ALLOCA AFTER including config. | |
173 | ||
174 | * ymakefile: always assemble alloca.s if C_ALLOCA isn't set. | |
175 | ||
176 | 1986-03-14 Richard M. Stallman (rms at prep) | |
177 | ||
178 | * s-usg5.0.h: Remove LOADER_N_SWITCH. | |
179 | ||
180 | 1986-03-14 Richard Mlynarik (mly at prep) | |
181 | ||
182 | * editfns.c | |
183 | Improve doc for bolp, bobp, eolp | |
184 | ||
185 | 1986-03-14 Richard M. Stallman (rms at prep) | |
186 | ||
187 | * cm.c (calccost): Refuse to use incremental cursor motion | |
188 | after wrapping on terminals with MagicWrap (xn flag). | |
189 | ||
190 | 1986-03-13 Richard M. Stallman (rms at prep) | |
191 | ||
192 | * emacs.c (main): For APOLLO: reserve 4meg with set_sbrk_size. | |
193 | ||
194 | * alloc.c (Fpurecopy): fix typo unsignedint. | |
195 | ||
196 | 1986-03-12 Richard M. Stallman (rms at prep) | |
197 | ||
198 | * dired.c (file_name_completion): | |
199 | Allow exact match against an ignored extension. | |
200 | Can thus delete foo.o even if foo.out exists. | |
201 | ||
202 | * s-hpux.h: Turn off HAVE_PTYS since their csh has "sanity | |
203 | checking" and other programs seem to lose with ptys. | |
204 | ||
205 | 1986-03-11 Richard M. Stallman (rms at prep) | |
206 | ||
207 | * sysdep.c ({un,}request_sigio and callers): | |
208 | Make alternate names init_sigio and reset_sigio; | |
209 | callers in sysdep.c use those names. | |
210 | In 4.1, change {un,}request_sigio to do sighold/sigrelse; | |
211 | don't change init_sigio and reset_sigio. | |
212 | ||
213 | * m-vax.h: If USG5_2, use -lPW and HAVE_ALLOCA. | |
214 | ||
215 | * alloc.c (Fpurecopy, mark_object): In tests for pureness, | |
216 | always use XUINT and unsigned comparison. | |
217 | * lisp.h (CHECK_IMPURE): Likewise. | |
218 | ||
219 | * doc.c (FSnarf_documentation): | |
220 | If CANNOT_DUMP, find DOC in directory PATH_EXEC. | |
221 | ||
222 | * ymakefile (APOLLO only): set LTERMCAP. | |
223 | * m-apollo.h: Alter VALBITS and GCTYPEBITS. | |
224 | ||
225 | * term.c (delete_chars): Pass num chars to the hook. | |
226 | * term.c (raw_topos), termhooks.h: Add raw_topos_hook. | |
227 | ||
228 | * unexec.c (make_hdr): | |
229 | New compiler switch NO_REMAP means don't change text/data boundary. | |
230 | ||
231 | 1986-03-10 Richard M. Stallman (rms at prep) | |
232 | ||
233 | * indent.c, window.c, xdisp.c: | |
234 | Make compute_motion, vmotion and display_text_line | |
235 | all return a pointer to a global structure, not a struct itself. | |
236 | Add * to all calls. | |
237 | ||
238 | * syntax.c (scan_sexps_forward): | |
239 | Make it return a pointer to a global structure, | |
240 | not a struct itself. Change caller (Fparse_partial_sexp). | |
241 | ||
242 | * s-usg*: #define static as nothing. | |
243 | * m-hp200.h: No longer needs to #define static. | |
244 | ||
245 | * unexec.c (adjust_lnnoptrs): | |
246 | Replace dummy defn with one that does the job. Also | |
247 | involves including syms.h and making global vars | |
248 | bias and lnnoptr that are set in make_hdr. | |
249 | ||
250 | 1986-03-08 Richard M. Stallman (rms at prep) | |
251 | ||
252 | * editfns.c (init_editfns): | |
253 | Make AMPERSAND_FULL_NAME case start with USER_FULL_NAME. | |
254 | ||
255 | * crt0.c (BOGUS case): | |
256 | Move "start:" from non-tower32 case to unconditional. | |
257 | ||
258 | * unexec.c for COFF: | |
259 | Put the rounding-to-page-boundaries of section positions | |
260 | within the file into a UMAX conditional. (See Feb 19). | |
261 | ||
262 | 1986-03-06 Richard M. Stallman (rms at prep) | |
263 | ||
264 | * ymakefile: Add -k100000 switch to ld, for celerity. | |
265 | ||
266 | * eval.c (funcall_lambda): | |
267 | Change a comma-sequence to a compound statement. | |
268 | ||
269 | 1986-03-03 Richard M. Stallman (rms at prep) | |
270 | ||
271 | * xfns.c, xterm.c: | |
272 | Install much-changed versions already tested at Athena. | |
273 | ||
274 | * ymakefile: Replace -lc with $(LIBSTD) and define LIBSTD | |
275 | according to a config macro LIB_STANDARD. | |
276 | m-tower32.h must define LIB_STANDARD. | |
277 | ||
278 | * process.c (read_process_output): | |
279 | New subroutine that does the reading and handling of process output. | |
280 | Do so until none is left. | |
281 | (wait_reading_process_input): call new subroutine. | |
282 | (sig_process): If we get a pgrp number, make it negative. | |
283 | Always send signal to pggrp; use killpg if BSD, kill otherwise. | |
284 | (child_signal): Don't deactivate dead processes here. | |
285 | (change_msgs): Deactivate them here, when notification is done. | |
286 | But first, call read_process_output to get any output that's left. | |
287 | ||
288 | * keyboard.c (read_avail_input): | |
289 | (for sysV) Use fcntl, not ioctl, to make read not wait. | |
290 | ||
291 | * alloca.s: put entire file inside #ifndef HAVE_ALLOCA. | |
292 | ||
293 | * sysdep.c (child_setup_tty, init_sys_modes): | |
294 | (for sysV) Set VTIME to zero; with VMIN=1 this means | |
295 | no time limit. | |
296 | ||
297 | 1986-03-02 Richard M. Stallman (rms at prep) | |
298 | ||
299 | * keyboard.c (quit_throw_to_get_char): | |
300 | Before really throwing, clear waiting_for_input | |
301 | so another interrupt won't also try to throw. | |
302 | (get_char): Add error check for getcjmp being zero | |
303 | where it should not be. Put this under DEBUG switch. | |
304 | ||
305 | 1986-03-01 Richard M. Stallman (rms at prep) | |
306 | ||
307 | * crt0.c: Defining BOGUS forces use of the vax-tahoe-sequent case. | |
308 | Add a small conditional within it for tower32. | |
309 | Don't allow use of the m68000/m68k code if BOGUS is defined. | |
310 | ||
311 | * sysdep.c (init_sys_modes): | |
312 | For sysV: If want flow control, actively set IXON, | |
313 | and also clear IXANY if that is defined. | |
314 | ||
315 | * sysdep.c (rename): | |
316 | It was doing completely wrong things to various files. | |
317 | ||
318 | * tparam.c (tgoto): Move buf outside the function | |
319 | and rename as tgoto_buf. In case #define static as nothing. | |
320 | ||
321 | * unexec.c (make_hdr): | |
322 | If macro EXEC_MAGIC is defined, let it specify the magic | |
323 | number for the output file. | |
324 | ||
325 | * xdisp.c (message): Change name `buf' to `message_buf' | |
326 | to avoid name clash when #define static as nothing. | |
327 | ||
328 | * ymakefile: Change DOCSTR to DOC. | |
329 | ||
330 | 1986-02-28 Richard M. Stallman (rms at prep) | |
331 | ||
332 | * buffer.c (Fdelete_buffer_internal): | |
333 | Unchain all markers from a buffer being killed. | |
334 | ||
335 | 1986-02-27 Richard M. Stallman (rms at prep) | |
336 | ||
337 | * unexec.c, malloc.c: | |
338 | If NBPG is used for getpagesize, multiply it by CLSIZE | |
339 | and define that as 1 if not otherwise defined. | |
340 | ||
341 | 1986-02-26 Richard M. Stallman (rms at prep) | |
342 | ||
343 | * lread.c (Fload): | |
344 | Detect when fdopen returns 0 given a valid descriptor. | |
345 | ||
346 | * sysdep.c (stuff_char): | |
347 | Declare arg as char, so TIOCSTI does not give wrong address. | |
348 | ||
349 | 1986-02-25 Richard M. Stallman (rms at prep) | |
350 | ||
351 | * dispnew.c (update_screen): | |
352 | * xdisp.c (DoDsp, Fredraw_display): | |
353 | Insert checks to abort if screen_height is zero, | |
354 | to detect the memory clobbering bug. | |
355 | ||
356 | * process.c: | |
357 | For 4.1, include wait.h, not sys/wait.h | |
358 | Use O_NDELAY only if it is defined. | |
359 | ||
360 | * s-bsd4.1.h: | |
361 | Don't HAVE_TIMEVAL. Define open as sys_open and lstat as stat. | |
362 | Define the O_ symbols for open args. | |
363 | Turn off CLASH_DETECTION, for now. Turn off HAVE_TIMEVAL. | |
364 | ||
365 | * sysdep.c (bcopy, bzero, bcmp): | |
366 | Make them really do the work, not try to use memset, memcopy, etc. | |
367 | ||
368 | * sysdep.c (get_system_name): | |
369 | 4.1 needs its own definition of this. | |
370 | ||
371 | * sysdep.c (for BSD 4.1): | |
372 | Define sys_open, since 4.1 open takes only two args. | |
373 | Redefine LLITOUT as 0; it loses in 4.1. | |
374 | Define LNOFLSH. Include wait.h, not sys/wait.h. | |
375 | ||
376 | 1986-02-24 Richard M. Stallman (rms at prep) | |
377 | ||
378 | * malloc.c: Define getpagesize as macro when not avail as syscall. | |
379 | ||
380 | 1986-02-23 Richard M. Stallman (rms at prep) | |
381 | ||
382 | * terminfo.c: Provide a definition of ospeed. | |
383 | ||
384 | 1986-02-22 Richard M. Stallman (rms at prep) | |
385 | ||
386 | * alloca.s (hack_sky): | |
387 | Move label hack3; bug was making some floating ops dump core. | |
388 | ||
389 | * dispnew.c (update_screen): | |
390 | Don't free a line twice if it is in both DesiredScreen | |
391 | and OPhysScreen. Can happen if line is copied into | |
392 | DesiredScreen by `scrolling', then lost from PhysScreen | |
393 | by the scrolling that is done. | |
394 | Also remove a debugging check that did not go off | |
395 | when this bug hit. | |
396 | ||
397 | 1986-02-18 Richard M. Stallman (rms at prep) | |
398 | ||
399 | * indent.c (compute_motion): | |
400 | Change all short to unsigned short. Needed for celerity. | |
401 | ||
402 | * keyboard.c (init_keyboard): | |
403 | Initialize kbd_ptr. Needed for celerity. | |
404 | ||
405 | * unexec.c (make_hdr for celerity): | |
406 | Copy their own header field a_scovfrl from ohdr. | |
407 | ||
408 | * unexec.c for COFF: | |
409 | Round positions of text and and data sections in output file | |
410 | to page boundaries. | |
411 | ||
412 | * crt0.c: Install version for Encore machines. | |
413 | Also for celerity (same as pyramid and orion). | |
414 | ||
415 | * ymakefile: | |
416 | Don't use -X for BSD systems that use COFF. | |
417 | On UMAX, give ld the file align.umax (a new file) | |
418 | via the make-macro ALIGNMENT. | |
419 | ||
420 | * align.umax, s-umax.h: | |
421 | Two new files for Encore computers. | |
422 | ||
423 | * lread.c (Vload_path): Make it not static. | |
424 | In sysV, static vars go in a place in memory below my_edata | |
425 | ||
426 | * dispnew.c (make_display_lines): | |
427 | Store all the lines in an array for debugging, to help | |
428 | debug the problem where lines get lost. | |
429 | ||
430 | 1986-02-14 Richard M. Stallman (rms at prep) | |
431 | ||
432 | * alloca.s (ns16000): | |
433 | Change non-sequent defn of REGISTER: add a displacement of zero. | |
434 | ||
435 | 1986-02-13 Richard M. Stallman (rms at prep) | |
436 | ||
437 | * alloc.c (purecopy, mark_object), lisp.h: | |
438 | Use XUINT, not XINT, in VIRT_ADDR_VARIES checks for pure object. | |
439 | ||
440 | 1986-02-11 Richard M. Stallman (rms at prep) | |
441 | ||
442 | * fns.c (Fload_average): | |
443 | Don't use struct nlist if no LOAD_AVE_TYPE. | |
444 | ||
445 | * crt0.c: Add missing semicolon in vax/tahoe/sequent code. | |
446 | ||
447 | 1986-02-10 Richard M. Stallman (rms at prep) | |
448 | ||
449 | * crt0.c: Remove duplicate _start for pyramid. | |
450 | ||
451 | 1986-02-07 Richard M. Stallman (rms at prep) | |
452 | ||
453 | * sysdep.c (gettimeofday): Define this only if HAVE_TIMEVAL. | |
454 | ||
455 | * m-vax.h: | |
456 | If USG, don't define LOAD_AVE_... and do define C_ALLOCA. | |
457 | ||
458 | * filelock.c: On USG, include fcntl.h. | |
459 | (lock_file): declare getpwuid external. | |
460 | ||
461 | * window.c (Fmove_to_window_line): | |
462 | If window start is out of restriction, | |
463 | choose a new start here. | |
464 | ||
465 | * alloca.s: | |
466 | Modify ns16000 assembler syntax for the sequent machine. | |
467 | ||
468 | * crt0.c: Sequent uses same code as vax except start1 | |
469 | takes one extra first arg that it ignores. | |
470 | A new macro BOGUS is defined to allow machines to use the | |
471 | same code and control how many args to ignore. | |
472 | ||
473 | * unexec.c: For sequent machine, handle its incompatible | |
474 | meaning of N_TXTOFF, and use N_ADDRADJ where necessary. | |
475 | ||
476 | 1986-02-06 Richard M. Stallman (rms at prep) | |
477 | ||
478 | * sysdep.c (init_sys_modes): | |
479 | Set tty flags ISTRIP, CS8 and PARENB right for Meta key. | |
480 | ||
481 | * ymakefile: | |
482 | Define CPP macro as name of cpp to use. Use it for alloca.s. | |
483 | Make LOADER_N_SWITCH control solely the -N. | |
484 | ||
485 | 1986-02-06 Richard Mlynarik (mly at prep) | |
486 | ||
487 | * fns.c (Frequire): | |
488 | Fix documentation | |
489 | ||
490 | 1986-02-06 Richard M. Stallman (rms at prep) | |
491 | ||
492 | * indent.c (compute_motion): | |
493 | For tabs, make sure to take remainder of positive # | |
494 | since % can round upward with negative numbers. | |
495 | ||
496 | * bytecode.c (syms_of_bytecode): | |
497 | Fix typo in symbol name "byte-code". | |
498 | ||
499 | * xdisp.c (try_window_id): | |
500 | Use adjusted hpos of bp in computation of ep. | |
501 | Adjustde hpos can be negative after a continuation. | |
502 | ||
503 | * fileio.c (Finsert_file_contents): | |
504 | Was failing to update n as chars were read. | |
505 | Rearrange order of actions to make it more like InsCStr. | |
506 | Call prepare_to_modify_buffer even if no CLASH_DETECTION. | |
507 | Don't make gap if gap is big enough. | |
508 | ||
509 | 1986-02-05 Richard M. Stallman (rms at prep) | |
510 | ||
511 | * termcap.c (tgetent): | |
512 | Only use TERMCAP var as termcap entry value | |
513 | if it has a name that matches the specified one. | |
514 | New function name_match to match an entry against a name. | |
515 | Do allow matching the first name in an entry. | |
516 | ||
517 | * indent.c (pos_tab_offset): | |
518 | Take remainder by window-width - 1 (# of effective columns) | |
519 | to fix bug where alternating TAB 1 TAB 1... causes a 1 | |
520 | to shift sideways in incremental redisplay in DoDsp. | |
521 | ||
522 | 1986-02-04 Richard M. Stallman (rms at prep) | |
523 | ||
524 | * keyboard.c (command_loop_1): | |
525 | Don't do direct output if input is pending. | |
526 | ||
527 | * xterm.h: Find the file Xlib.h in /usr/include/X. | |
528 | ||
529 | 1986-02-03 Richard M. Stallman (rms at prep) | |
530 | ||
531 | * process.c (pty): HPUX has different dir for pty-tty devices. | |
532 | ||
533 | * termcap.c: Don't include types.h or file.h. | |
534 | ||
535 | 1986-02-02 Richard M. Stallman (rms at prep) | |
536 | ||
537 | * print.c (print): | |
538 | Print a marker's corrected position, not its bufpos. | |
539 | ||
540 | * window.c (Fselect_window): | |
541 | If old and new windows show same buffer, | |
542 | make sure new point is inside the clipping region. | |
543 | ||
544 | 1986-01-31 Richard M. Stallman (rms at prep) | |
545 | ||
546 | * fns.c (Fload_average): | |
547 | In NLIST_STRUCT case, set nl[1] to 0, not "". | |
548 | Fix KERNEL_FILE and LDAV_SYMBOL for HPUX. | |
549 | ||
550 | 1986-01-30 Richard M. Stallman (rms at prep) | |
551 | ||
552 | * m-pyramid.h: Turn on NO_UNION_TYPE. | |
553 | ||
554 | * fns.c: For BSD, include sys/param.h | |
555 | ||
556 | 1986-01-29 Richard M. Stallman (rms at prep) | |
557 | ||
558 | * fns.c (Fload_average): | |
559 | Define a few symbols LDAV_SYMBOL and KERNEL_FILE_NAME | |
560 | and NLIST_STRUCT to use later to simplify the code. | |
561 | ||
562 | * s-usg5.2.h: Turn on `subprocesses'. | |
563 | ||
564 | * sysdep.c: | |
565 | #undef open, read and write at the start. | |
566 | Make sys_read, etc. always available for uses that need | |
567 | a nonaborting read. | |
568 | (select): several bug fixes for system V. | |
569 | (init_sys_modes, child_setup_tty): Init VTIME to a large #, not 0. | |
570 | Use TCSETA, not TCSETAW (why wait?). | |
571 | ||
572 | * process.c: | |
573 | (wait_reading_process_output): if don't HAVE_TIMEVAL | |
574 | and no timeout desired, use 100000 seconds, which | |
575 | the select emulator recognizes. | |
576 | When reading data, if a char is buffered in proc_buffered_char, | |
577 | put it at the front of the data read. | |
578 | (kill_buffer_process): ignore processes really already dead. | |
579 | (init_process): initialize proc_buffered_char to -1 (empty). | |
580 | ||
581 | * keyboard.c (fake_suspend): | |
582 | Don't mess with the SIGCLD handler. | |
583 | Use wait_for_termination to detect subshell termination. | |
584 | (read_avail_input, for USG): | |
585 | Use TCSETA, not TCSETAW; no waiting. | |
586 | ||
587 | * term.c (set_terminal_modes): Don't clear screen here. | |
588 | * xdisp.c (Fredraw_display): Clear screen here instead. | |
589 | ||
590 | 1986-01-28 Richard M. Stallman (rms at prep) | |
591 | ||
592 | * s-hpux.h: Do #undef SIGIO. | |
593 | ||
594 | * callproc.c, data.c, dispnew.c, emacs.c, keyboard.c, | |
595 | process.c, sysdep.c: | |
596 | Include signal.h before config so can #undef SIGIO in config. | |
597 | ||
598 | * lread.c (read_escape): | |
599 | Make ?\^? produce 0177. | |
600 | ||
601 | * sysdep.c: | |
602 | Define SIGCHLD as SIGCLD only if SIGCHLD not already defined. | |
603 | (select): Don't give select_alarmed an initialization. | |
604 | ||
605 | * unexec.c: | |
606 | For HPUX, copy the peculiar header fields for debugger info. | |
607 | ||
608 | * keyboard.c (kbd_buffer_get_char): Don't call read_avail_input | |
609 | if kbd_count is nonzero. (Don't know how it can be, but | |
610 | it is observed to happen.) | |
611 | ||
612 | * process.c: | |
613 | Define SIGCHLD as SIGCLD only if SIGCHLD not already defined. | |
614 | (wait_handling_process_output):Fill in one non-HAVE_TIMEVAL case. | |
615 | ||
616 | 1986-01-27 Richard M. Stallman (rms at prep) | |
617 | ||
618 | * sysdep.c (reset_sys_modes): | |
619 | Call unrequest_sigio twice. | |
620 | Make sure FASYNC is clear in old_fcntl_flags. | |
621 | ||
622 | 1986-01-26 Richard M. Stallman (rms at prep) | |
623 | ||
624 | * fns.c (Frandom): | |
625 | Removed case for number as arg, since it has problems | |
626 | in union-type case and it is not documented or used. | |
627 | ||
628 | * lisp.h (XSET): | |
629 | Fix bugs in the union-type definition. | |
630 | ||
631 | 1986-01-24 Richard M. Stallman (rms at prep) | |
632 | ||
633 | * process.c: | |
634 | Define macros for accessing the `union wait' structure. | |
635 | ||
636 | * keyboard.c (fake_suspend): | |
637 | Set subshell current dir to current buffer's default dir. | |
638 | ||
639 | 1986-01-23 Richard M. Stallman (rms at prep) | |
640 | ||
641 | * dispnew.c (Fsit_for): | |
642 | Call gobble_input only if SIGIO exists. | |
643 | ||
644 | * keyboard.c (fake_suspend): | |
645 | Save and restore the SIGCLD handler, if that exists. | |
646 | ||
647 | * process.c (create_process): | |
648 | SKTPAIR-or-not now controls only what to do if cannot use a pty. | |
649 | For USG other than UNIPLUS, instead of sigsetmask (nonexistent), | |
650 | save away and temporarily turn off the SIGCHLD handler. | |
651 | (child_sig): Various USG changes. | |
652 | ||
653 | * sysdep.c (wait_for_termination): | |
654 | Provide case for sysV not UNIPLUS (right for STRIDE at least). | |
655 | * sysdep.c (child_setup_tty): | |
656 | Set the VMIN and VTIME fields. | |
657 | ||
658 | * callint.c (Fcall_interactively): | |
659 | Globalize the variable argfuns, for HPUX's sake. | |
660 | ||
661 | * keyboard.c (fake_suspend): | |
662 | Use execlp, not execl. | |
663 | ||
664 | * sysdep.c (random, srqndom): | |
665 | Add dummy for srandom => srand. Enable both for 4.1 and USG. | |
666 | * fns.c (Frandom): | |
667 | Remove conditional; let those dummies serve. | |
668 | ||
669 | * Makefile: | |
670 | Use sed to remove blank lines and from xmakefile. | |
671 | ||
672 | * ymakefile: | |
673 | Pass alloca.s thru more seds to remove #... lines, etc. | |
674 | Move tparam.o into otherobjs; for HPUX, use terminfo.o instead. | |
675 | No need to conditionalize recipes for xfns.o and xterm.o. | |
676 | No longer need to duplicate the xemacs: line. | |
677 | For HPUX, define LIBBSD. Use that in LIBES. | |
678 | ||
679 | * editfns.c (init_editfns): | |
680 | Handle case of pw == 0 (USER is not a known user). | |
681 | ||
682 | * cm.c: | |
683 | Include config. Make cost and evalcost global. | |
684 | (cmcostinit): Don't pass 0 as string to tgoto (new macro CMCOST). | |
685 | ||
686 | * terminfo.c (new file): | |
687 | Defines a version of tparam for use with terminfo. | |
688 | ||
689 | 1986-01-22 Richard M. Stallman (rms at prep) | |
690 | ||
691 | * dispnew.c: | |
692 | If HPUX, insert time.h instead of sys/time.h. | |
693 | ||
694 | * sysdep.c: | |
695 | If HPUX, insert time.h instead of sys/time.h. | |
696 | In get_system_name, globalize a static variable `name'. | |
697 | In readdir, globalize `dir' as `dir_static'. | |
698 | Make some system-call imitations "not HPUX". | |
699 | ||
700 | * process.c: | |
701 | If HPUX, insert time.h instead of sys/time.h. | |
702 | Do them only if HAVE_TIMEVAL. | |
703 | If HAVE_PTYS and HPUX, insert sys/ptyio.h. | |
704 | In function `pty', globalize static var `name' as `ptyname'. | |
705 | ||
706 | * term.c: | |
707 | (term_init): If TERMINFO, where tbuf is not used, | |
708 | allocate combuf with size 2044. | |
709 | (evalcost): Flush it. Make it extern and use the one in cm.c. | |
710 | ||
711 | * dired.c: | |
712 | Include stat.h before config.h so config can override S_IFLNK on | |
713 | HPUX (where that symbol exists but there are no symbolic links). | |
714 | Do not include time.h; not needed. | |
715 | ||
716 | * xdisp.c (fmodetrunc, decode_mode_spec): | |
717 | Rename local static buffers buf, tbuf and make them global. | |
718 | Static variables go into initialized data space in HPUX. | |
719 | * fns.c (Fload_average): | |
720 | Similar hack for internal static vars initialized, channel, nl. | |
721 | ||
722 | * lread.c: | |
723 | Change condition for defining X_OK to be that X_OK is not defined. | |
724 | ||
725 | * alloc.c (init_alloc_once): | |
726 | Fix erroneous names data_bytes_{un,}used | |
727 | inside the VIRT_ADDR_VARIES conditions. | |
728 | ||
729 | * emacs.c: | |
730 | Don't include time.h or resource.h; just #define PRIO_PROCESS. | |
731 | ||
732 | * xdisp.c (redisplay_window): | |
733 | Don't shift window-start to avoid end of buffer | |
734 | unless window contents have changed too. | |
735 | ||
736 | * xdisp.c (DoDsp): | |
737 | If nothing has changed except minibuffer message, | |
738 | no need to call redisplay_window. | |
739 | ||
740 | ||
741 | * Problem: standard sysV has no file ioctl.h. | |
742 | ||
743 | * process.c, keyboard.c, dispnew.c, sysdep.c: | |
744 | Include ioctl.h in BSD, termio.h and/or fcntl.h in sysV. | |
745 | ||
746 | * callproc.c: No longer needs ioctl.h; don't include. | |
747 | * xdisp.c: No longer needs ioctl.h or signal.h; don't include. | |
748 | ||
749 | * emacs.c: | |
750 | Include sys/ioctl.h only for BSD. ioctl used only in BSD. | |
751 | ||
752 | 1986-01-21 Richard Mlynarik (mly at prep) | |
753 | ||
754 | * keyboard.c (EchoThem): | |
755 | Always display an explicit prompt, even if echo_keystrokes == 0 | |
756 | ||
757 | 1986-01-21 Richard M. Stallman (rms at prep) | |
758 | ||
759 | * keyboard.c (kbd_buffer_store_char, fake_suspend): | |
760 | Take the STRIDE code for subshell out of kbd_buffer_store_char | |
761 | and call it fake_suspend. Call it from previous place and | |
762 | also from Fsuspend_buffer, on all systems that lack SIGTSTP. | |
763 | Clean the code up a little bit. | |
764 | ||
765 | * process.c: | |
766 | Don't include sgtty.h; no longer needed. | |
767 | Make use of wait3 depend on existence of WNOHANG. | |
768 | ||
769 | * unexec.c: | |
770 | Allow the m- file to override defn of ADDR_CORRECT (m-stride.h does). | |
771 | Have and use pagemask to round data_start in COFF case too. | |
772 | Always define getpagesize as macro, for 4.1 and USG where | |
773 | it is not provided as a system call. | |
774 | This takes care of the STRIDE changes for unexec. | |
775 | ||
776 | * ymakefile: | |
777 | Give ld the arg $(STARTFLAGS), and define that based on cpp macro | |
778 | TEXT_START_ADDR when that is defined. This is for systems where | |
779 | the -T switch is necessary. | |
780 | ||
781 | * unexec.c (make_hdr): | |
782 | Make one sun3 fix machine-independent. | |
783 | (Prevent a_bss from being negative). | |
784 | ||
785 | * casefiddle (casify_region): | |
786 | New flag value CAPITALIZE_UP which is like CAPITALIZE | |
787 | but changes only the initials. Function upcase_initials_region | |
788 | is an interface to this mode. | |
789 | ||
790 | * abbrev.c (Fexpand_abbrev): Use upcase_initials_region. | |
791 | ||
792 | * process.c (create_process): | |
793 | Install Fish's other new UNIPLUS conditionalization | |
794 | on the hackery for xforkin, etc. | |
795 | ||
796 | 1986-01-20 Richard M. Stallman (rms at prep) | |
797 | ||
798 | * fns.c (Frandom): | |
799 | Optional arg of t means randomize the seed. | |
800 | This change was really made at some previously time; | |
801 | just changed the doc string now. | |
802 | ||
803 | * eval.c (do_autoload): | |
804 | Bind autoload-queue to avoid loss on recursive autoloads. | |
805 | ||
806 | * xdisp.c (try_window_id): | |
807 | If everything on screen below change is whitespace, | |
808 | don't scroll, and return -2. | |
809 | ||
810 | * dispnew.c (update_screen): | |
811 | Rewrite to avoid dependence on distance between | |
812 | the two arrays PhysScreen and DesiredScreen. | |
813 | ||
814 | 1986-01-19 Richard M. Stallman (rms at prep) | |
815 | ||
816 | * fns.c (mapcar1): | |
817 | Preinitialize contents of vals, so it won't contain junk | |
818 | to be seen by a GC inside this function. | |
819 | ||
820 | * eval.c (various): | |
821 | Use error, not Fsignal, to report eval-depth-overflow. | |
822 | Previous calls to Fsignal were buggy. | |
823 | ||
824 | 1986-01-17 Richard Mlynarik (mly at prep) | |
825 | ||
826 | * lread.c (init_obarray): | |
827 | Kludge around losing pyramid compiler. | |
828 | ||
829 | 1986-01-14 Richard Mlynarik (mly at prep) | |
830 | ||
831 | * window.c (Fdelete_window): | |
832 | When deleting a dummy parent window, don't try to GC buffer stuff. | |
833 | ||
834 | * process.c (list_processes_1): | |
835 | Don't blow out if buffer associated with process is, | |
836 | through some bug I don't understand, killed. | |
837 | ||
838 | * keymap.c (get_keyelt), keyboard.c (Fcommand_execute): | |
839 | Allow (lambda ...) to appear as a key's definition. | |
840 | ||
841 | * m-sun3.h, unexec.c: | |
842 | Sun3 changes from Barry Shein. | |
843 | ||
844 | 1986-01-10 Richard Mlynarik (mly at prep) | |
845 | ||
846 | * m-stride.h, s-stride.h, crt0.c, fns.c, keyboard.c, process.c, | |
847 | sysdep.c. | |
848 | Changes for STRIDE micro | |
849 | Changes still pending for etc/loadst.c | |
850 | ||
851 | Fsuspend_emacs in keyboard.c is defined to run a subshell under | |
852 | emacs -- perhaps this is a reasonable thing in all wimpy unix | |
853 | versions. | |
854 | ||
855 | 1986-01-10 Richard M. Stallman (rms at prep) | |
856 | ||
857 | * dispnew.c (update_line): | |
858 | Don't consider spaces at beginning as special if line is | |
859 | highlighted. | |
860 | Avoids losing the inverse-video on leading spaces in mode lines | |
861 | on terminals where erasing does not turn on highlightig (vt100?). | |
862 | ||
863 | * process.c (pty): | |
864 | On UNIPLUS, don't try opening other side. | |
865 | ||
866 | * filelock.l (lock_file_1): | |
867 | If lock file is invalid, delete it and continue. | |
868 | If delete fails, ignore the lock. | |
869 | ||
870 | 1986-01-09 Richard Mlynarik (mly at prep) | |
871 | ||
872 | * syntax.c: | |
873 | New function check_syntax_table | |
874 | ||
875 | Make Fmodify_syntax_entry take third arg SYNTAX-TABLE, | |
876 | which defaults to current buffer's syntax table. | |
877 | -- doc change in auxdoc.c | |
878 | ||
879 | Rename Fmake_syntax_table FCopy_syntax_table | |
880 | after making it take an arg (default Vstandard_syntax_table) | |
881 | -- retain alias in subr.el | |
882 | ||
883 | 1986-01-08 Richard M. Stallman (rms at prep) | |
884 | ||
885 | * sysdep.c, term.c (get_screen_size): | |
886 | New function to get screen size from kernel when possible. | |
887 | In sysdep; called from term_init in term.c. | |
888 | Must test this on Sun and on 4.3. | |
889 | ||
890 | * dispnew.c (Fding): | |
891 | Make doc say it terminates kbd macros. | |
892 | ||
893 | 1986-01-07 Richard Mlynarik (mly at prep) | |
894 | ||
895 | * doc.c (Fsubstitute_command_keys): | |
896 | Insert an explanatory message for "\\{unbound-variable}" | |
897 | ||
898 | 1986-01-06 Richard Mlynarik (mly at prep) | |
899 | ||
900 | * termcap.c (tputs): | |
901 | Punt if passed (char) 0. | |
902 | ||
903 | 1985-12-31 Richard M. Stallman (rms at prep) | |
904 | ||
905 | * dispnew.c (Ding): | |
906 | Expand error message for keyboard macro case. | |
907 | ||
908 | * dired.c (Ffile_attributes): | |
909 | Fix documentation error about meaning of ctime. | |
910 | ||
911 | 1985-12-28 Richard M. Stallman (rms at prep) | |
912 | ||
913 | * callproc.c (Fcall_process): | |
914 | Fix typo in name synch_process_pid. | |
915 | ||
916 | 1985-12-27 Richard M. Stallman (rms at prep) | |
917 | ||
918 | * s-unipl5.2.h: | |
919 | Define HAVE_SELECT. | |
920 | ||
921 | * ymakefile (xemacs): | |
922 | If the commands are conditional, the target/dependencies line must | |
923 | be conditional also. | |
924 | ||
925 | 1985-12-20 Richard M. Stallman (rms at prep) | |
926 | ||
927 | * print.c (printchar, strout): | |
928 | If output stream is Qt and noninteractive, | |
929 | don't do the usual interactive output stuff. | |
930 | In strout, avoid changing i so do not truncate the output. | |
931 | ||
932 | 1985-12-19 Richard M. Stallman (rms at prep) | |
933 | ||
934 | * fns.c (merge): | |
935 | Don't assume args are consecutive; GCPRO each one separately. | |
936 | ||
937 | * insdel.c (make_gap): | |
938 | Was adding k bytes of gap; k is supposed to be | |
939 | new desired amount of gap. Wasted a lot of memory! | |
940 | ||
941 | * alloc.c (malloc_warning): | |
942 | Passing Fprinc to internal_with_output_to_temp_buffer | |
943 | loses since Fprinc needs 2 args. Use intermediate | |
944 | function malloc_warning_1. | |
945 | ||
946 | 1985-12-18 Richard M. Stallman (rms at prep) | |
947 | ||
948 | * filelock.c (lock_if_free): | |
949 | kill failing means lock is free only if errno is ESRCH. | |
950 | ||
951 | * fns.c (Fy_or_n_p, Fyes_or_no_p): | |
952 | Call Fdiscard_input if user gives invalid answer. | |
953 | ||
954 | 1985-12-17 Richard M. Stallman (rms at prep) | |
955 | ||
956 | * eval.c (apply_lambda): | |
957 | Do debug-on-exit here, because if we return to Feval | |
958 | the stack vector of evaluated args will be deallocated by then. | |
959 | ||
960 | * sysdep.c (wait_for_termination): | |
961 | Add new variable wait_debugging. Set it nonzero to make | |
962 | this function work in a way that works under dbx. | |
963 | ||
964 | * process.c (send_process_1): | |
965 | If not all the data is written, try again to write the rest. | |
966 | Eliminate the alarm stuff, including send_process_alarm. | |
967 | Call report_file_error if write returns negative. | |
968 | ||
969 | 1985-12-15 Richard M. Stallman (rms at prep) | |
970 | ||
971 | * alloc.c (init_alloc_once): | |
972 | Stop looping if shift produces 1, as well as if produces 0. | |
973 | ||
974 | 1985-12-14 Richard M. Stallman (rms at prep) | |
975 | ||
976 | * editfns.c (Fregion_{beginning,end}): | |
977 | New Lisp primitives, needed for the things that | |
978 | are put on the command history for "r" arguments. | |
979 | ||
980 | * callint.c (Fcall_interactively): | |
981 | If an argument was point or mark, represent it with | |
982 | a suitable expression (point) or (mark) in the | |
983 | command history element. Also adjust for changed | |
984 | calling conventions of quotify_args. | |
985 | ||
986 | * callint.c (quotify_arg): | |
987 | Take one arg; return it if constant, else return | |
988 | a quote-expression for it. | |
989 | ||
990 | * callint.c (quotify_args): | |
991 | Don't exempt the first arg. Use quotify_arg to do the work. | |
992 | ||
993 | 1985-12-13 Richard M. Stallman (rms at prep) | |
994 | ||
995 | * fileio.c (Fdo_auto_save): | |
996 | Use message1 to output "Auto-saving..." | |
997 | so do not clobber the old message to be restored at end. | |
998 | ||
999 | 1985-12-12 Richard M. Stallman (rms at prep) | |
1000 | ||
1001 | * syntax.c: | |
1002 | After turning on immediate_quit, must do QUIT; | |
1003 | ||
1004 | * callproc.c (Fcall_process): | |
1005 | Quitting out of running subproc did not happen immediately. | |
1006 | Added QUIT;s after setting immediate_quit on, | |
1007 | removed those after turning it off (not needed there). | |
1008 | ||
1009 | * lread.c (init_read): | |
1010 | Don't put ../lisp on Vload_path if CANNOT_DUMP. | |
1011 | ||
1012 | * emacs.c (main): | |
1013 | If CANNOT_DUMP, load "loadup.el" as soon as enter editor loop | |
1014 | unless -nl switch is given. | |
1015 | ||
1016 | * lread.c (read_list): | |
1017 | Don't use Fsetcdr, since might be changing a cell | |
1018 | in pure space during initial loadup. | |
1019 | Do explicit assign instead. | |
1020 | ||
1021 | * lisp.h: | |
1022 | Define CHECK_IMPURE, to get error if object is pure. | |
1023 | ||
1024 | * data.c (Fsetcar, Fsetcdr, Faset): | |
1025 | Use CHECK_IMPURE instead of old error checking code. | |
1026 | ||
1027 | * data.c (pure_write_error): | |
1028 | New subroutine, called by CHECK_IMPURE. | |
1029 | ||
1030 | * m-apollo.h: | |
1031 | Define VIRT_ADDR_VARIES. | |
1032 | ||
1033 | * alloc.c: | |
1034 | We now load things into pure space even if cannot dump, | |
1035 | to speed garbage collection. | |
1036 | Turn on Vpurify_flag unconditionally. | |
1037 | Give pure its full size unconditionally. | |
1038 | Change remaining CANNOT_DUMP and APOLLO conditionals | |
1039 | into VIRT_ADDR_VARIES conditionals. | |
1040 | ||
1041 | 1985-12-10 Richard M. Stallman (rms at prep) | |
1042 | ||
1043 | * fns.c: | |
1044 | Don't include files for load-average if load-average not supported. | |
1045 | ||
1046 | * alloc.c: | |
1047 | If CANNOT_DUMP, allocate `pure' very small. | |
1048 | [This has been undone.] | |
1049 | ||
1050 | * buffer.c (list_buffers_1): | |
1051 | Use 2 spaces minimum only after buffer name; | |
1052 | go back to 1 space minimum after size and major mode. | |
1053 | ||
1054 | * termcap.c: | |
1055 | Avoid use of O_RDONLY and index, so no need for explicit | |
1056 | dependence on system type. | |
1057 | ||
1058 | * sysdep.c: | |
1059 | Delete definition of `index'. Now it's a macro when nec. | |
1060 | ||
1061 | * s-usg5.2.h, s-unipl5.2.h: | |
1062 | Define index and rindex as macros. | |
1063 | ||
1064 | * dispnew.c (Fsit_for): | |
1065 | Assume select is always available for use. | |
1066 | ||
1067 | * buffer.c (Fpop_to_buffer): | |
1068 | Take second arg and pass as second arg to Fdisplay_buffer. | |
1069 | ||
1070 | * insdel.c (GapTo): | |
1071 | Dump core if bf_p1, bf_p2 don't differ by gap size. | |
1072 | ||
1073 | * keyboard.c (Fsuspend_emacs): | |
1074 | * emacs.c (Fkill_emacs): | |
1075 | Both call new subroutine stuff_buffered_input (in keyboard.c) | |
1076 | which stuffs a string's contents plus any unused input Emacs has | |
1077 | already read. | |
1078 | ||
1079 | 1985-12-09 Richard M. Stallman (rms at prep) | |
1080 | ||
1081 | * fileio.c (Fdo_auto_save): | |
1082 | Don't auto save a buffer that is not modified | |
1083 | since last real save. | |
1084 | ||
1085 | * minibuf.c (minibuffer_completion_help_1): | |
1086 | Use make_number for args to Findent_to. | |
1087 | Omitting make_number always loses on Pyramid, it seems. | |
1088 | ||
1089 | 1985-12-08 Richard M. Stallman (rms at prep) | |
1090 | ||
1091 | * minibuf.c (Fminibuffer_complete_word): | |
1092 | If next char not unique, try adding an actual space. | |
1093 | If do achieve some completion, replace old buffer text | |
1094 | with the completion (in case of different case). | |
1095 | Also a little cleanup. | |
1096 | ||
1097 | * minibuf.c (Ftry_completion): | |
1098 | Fix lossage when second completion found is an initial segment of | |
1099 | the first one. | |
1100 | ||
1101 | 1985-12-07 Richard M. Stallman (rms at prep) | |
1102 | ||
1103 | * xdisp.c (redisplay_window): | |
1104 | Don't use the clause for only-point-has-changed | |
1105 | for the minibuffer; loses when redisplaying to bring | |
1106 | back minibuffer after an echo area message. | |
1107 | ||
1108 | * crt0.c: | |
1109 | Vax code is now used for tahoe machine also. | |
1110 | ||
1111 | * alloc.c (init_alloc_once): | |
1112 | For APOLLO, set data_bytes_{free,used} to plausible constant | |
1113 | values. | |
1114 | ||
1115 | * eval.c (unautoload): | |
1116 | Declare return type Lisp_Object. | |
1117 | ||
1118 | * filelock.c (lock_file): | |
1119 | Check attack with !NULL, not ==. | |
1120 | ||
1121 | * keymap.c (describe_command): | |
1122 | Don't apply NULL directly to result of Fkeymapp. | |
1123 | ||
1124 | * lisp.h (XSET): | |
1125 | Fix type field assignment in union-type case. | |
1126 | ||
1127 | * process.c (Faccept_process_output): | |
1128 | Use XFASTINT around infd field of process. | |
1129 | ||
1130 | * search.c (signal_failure): | |
1131 | Returns type Lisp_Object. | |
1132 | ||
1133 | * dired.c (Ffile_name_completion): | |
1134 | If arg is null string, return null string immediately. | |
1135 | Idea is don't want to complete "/foo/" into "/foo/bar" | |
1136 | if "bar" is the only file in "/foo/". | |
1137 | ||
1138 | * minibuf.c (Ftry_completion): | |
1139 | Handle correctly scmp returning -1. | |
1140 | ||
1141 | * alloc.c: | |
1142 | Make malloc_sbrk_used and malloc_sbrk_unused | |
1143 | not be external if APOLLO. | |
1144 | ||
1145 | 1985-12-06 Richard M. Stallman (rms at prep) | |
1146 | ||
1147 | * emacs.c, keyboard.c, sysdep.c: | |
1148 | Rename InitDsp -> init_sys_modes and RstDsp -> reset_sys_modes. | |
1149 | ||
1150 | * emacs.c (main): | |
1151 | Call init_keyboard before init_sys_modes | |
1152 | so correct value of interrupt_input is set up. | |
1153 | Fixes the mysterious first C-z bug. | |
1154 | ||
1155 | * minibuf.c: | |
1156 | New Lisp variable completion-ignore-case. | |
1157 | Affects Ftry_completion and Fall_completions. | |
1158 | ||
1159 | * emacs.c (main): | |
1160 | Don't change C variable `noninteractive' if user | |
1161 | sets the Lisp variable `noninteractive'. | |
1162 | ||
1163 | 1985-12-05 Richard M. Stallman (rms at prep) | |
1164 | ||
1165 | * callproc.c (Fcall_process): | |
1166 | Close filefd if about to get error. | |
1167 | ||
1168 | * fileio.c (Finsert_file_contents, Fwrite_region): | |
1169 | Set up unwind protect to close file if error happens. | |
1170 | ||
1171 | * fileio.c (Fcopy_file): | |
1172 | Close input file if fail to open output file. | |
1173 | ||
1174 | * dispnew.c (change_screen_size): | |
1175 | Change name from ChangeScreenSize. | |
1176 | Do set_terminal_window (0); after changing height. | |
1177 | ||
1178 | * indent.c (vmotion & callers): | |
1179 | Take window as fifth arg. All callers pass window | |
1180 | being displayed or selected window. | |
1181 | If window is minibuffer, knows that first line starts at | |
1182 | hps = minibuf_prompt_width. | |
1183 | ||
1184 | * minibuf.c (read_minibuf{,_string_unwind}): | |
1185 | Save and restore minibuf_prompt_width. | |
1186 | ||
1187 | * xdisp.c: | |
1188 | (display_text_line): set minibuf_prompt_width if display the | |
1189 | prompt. | |
1190 | (various): Pass window being displayed as arg to vmotion. | |
1191 | (various): Compute starting-hpos arg to compute_motion | |
1192 | using minibuf_prompt_width if in minibuf starting at top. | |
1193 | ||
1194 | * window.c (Fdisplay_buffer & callers): | |
1195 | Take second arg, non-nil means do not use selected window | |
1196 | even if that already contains specified buffer. | |
1197 | ||
1198 | * buffer.c (Fpop_to_buffer): | |
1199 | Pass t as second arg to Fdisplay_buffer. | |
1200 | ||
1201 | * buffer.c (list_buffers_1): | |
1202 | Make at least two spaces between all fields on a line. | |
1203 | ||
1204 | 1985-12-04 Richard M. Stallman (rms at prep) | |
1205 | ||
1206 | * xfns.c: | |
1207 | Define Fx_pop_up_window. | |
1208 | Use make_string, not Fmake_string, in x-get-cut-buffer. | |
1209 | Mysterious change from Martillo in Fx_change_display. | |
1210 | Rename variable mouse-pos to x-mouse-pos. | |
1211 | ||
1212 | * xterm.c: | |
1213 | Changes from Martillo. | |
1214 | Change mouse command to C-c C-m. | |
1215 | ||
1216 | * term.c (calculate_costs): | |
1217 | Return immediately if dont_calculate_costs is set. | |
1218 | ||
1219 | * lread.c (Fintern, Fintern_soft): | |
1220 | Don't allow a symbol as argument to intern or intern-soft. | |
1221 | ||
1222 | 1985-12-04 Richard Mlynarik (mly at prep) | |
1223 | ||
1224 | * editfns.c (Fsubst_char_in_region): | |
1225 | Typo. | |
1226 | ||
1227 | 1985-12-03 Richard M. Stallman (rms at prep) | |
1228 | ||
1229 | * fileio.c (Fdo_auto_save): | |
1230 | Always restore old minibuf message if any. | |
1231 | ||
1232 | * alloc.c (Fgarbage_collect): | |
1233 | Always restore old minibuf message if any. | |
1234 | Truncate command-history to 30 elements. | |
1235 | Add some register decls. | |
1236 | ||
1237 | 1985-12-03 Richard Mlynarik (mly at prep) | |
1238 | ||
1239 | * lread.c (Fload): | |
1240 | Suppress "Loading %s... done" if noninteractive | |
1241 | ||
1242 | * alloc.c (Fgarbage_collect): | |
1243 | Suppress "garbage collecing..." message if noninteractive. | |
1244 | ||
1245 | * regex.c (re_compile_pattern): | |
1246 | Fix error message (double "\"'s for c compiler) | |
1247 | ||
1248 | 1985-12-03 Richard M. Stallman (rms at prep) | |
1249 | ||
1250 | * editfns.c (Fsubst_char_in_region): | |
1251 | If 5th arg is non-nil, don't record for undo. | |
1252 | ||
1253 | 1985-12-02 Richard M. Stallman (rms at prep) | |
1254 | ||
1255 | * unexec.c (copy_sym, make_hdr): | |
1256 | Pass file names to these functions. | |
1257 | Use PERROR properly, with filename as arg. | |
1258 | ||
1259 | * window.c (Fdelete_window): | |
1260 | Don't let stretching the siblings delete them. | |
1261 | ||
1262 | * window.c (set_window_{height,width}): | |
1263 | Make `nodelete' apply to children as well. | |
1264 | ||
1265 | 1985-11-28 Richard M. Stallman (rms at prep) | |
1266 | ||
1267 | * indent.c (compute_motion): | |
1268 | Omit one register decl if TAHOE_REGISTER_BUG. | |
1269 | ||
1270 | * m-tahoe.h: | |
1271 | New file. | |
1272 | ||
1273 | 1985-11-27 Richard M. Stallman (rms at prep) | |
1274 | ||
1275 | * sysdep.c (RstDsp): | |
1276 | Do TIOCSETC before doing fcntl F_SETOWN. | |
1277 | ||
1278 | Note: bizarre bug exists: Fsuspend_emacs | |
1279 | in impure temacs under vax 4.2 gets stopped | |
1280 | in that TIOCSETC; but in dumped Emacs, that | |
1281 | does not happen. No idea why. This change | |
1282 | did not fix it. | |
1283 | ||
1284 | * keymap.c (describe_buffer_bindings): | |
1285 | Avoid passing a null pointer to InsStr. | |
1286 | ||
1287 | * xterm.c: | |
1288 | Many random bug fixes from Martillo. | |
1289 | ||
1290 | * xfns.c: | |
1291 | Bug fixes in Fx_change_display. | |
1292 | New function Fx_set_icon. | |
1293 | Fx_set_bell must take 1 arg, not 0. | |
1294 | Fx_set_window_edges: don't set window size if new size same as old. | |
1295 | ||
1296 | * term.c, termchar.h: | |
1297 | Define variable `dont_calculate_cost's: | |
1298 | If set nonzero, `calculate_costs' is not called. | |
1299 | ||
1300 | 1985-11-25 Richard M. Stallman (rms at prep) | |
1301 | ||
1302 | * sysdep.c, keyboard.c: | |
1303 | Clean up USG simulation of FIONREAD. | |
1304 | In keyboard.c, new function read_avail_input reads all | |
1305 | input now in system buffer into kbd_buffer. | |
1306 | get_pending_input is moved to keyboard.c, and works | |
1307 | using read_avail_input when FIONREAD is not defined. | |
1308 | select emulator in sysdep also uses read_avail_input. | |
1309 | ||
1310 | * unexec.c: | |
1311 | Make PERROR do a return, in non-emacs version. | |
1312 | Remove explicit returns following PERRORs. | |
1313 | Replace ERROR with ERROR0, ERROR1 and ERROR2 | |
1314 | which pass along message and args to report_error_1. | |
1315 | Make those macros do a return, in non-emacs version. | |
1316 | ||
1317 | * process.c (wait_reading_process_output): | |
1318 | If read_kbd is 10 + I, don't read kbd, but don't | |
1319 | return until input has arrived from channel I. | |
1320 | ||
1321 | * process.c (Faccept_process_input): | |
1322 | New Lisp function. | |
1323 | ||
1324 | 1985-11-24 Richard M. Stallman (rms at prep) | |
1325 | ||
1326 | * unexec.c: | |
1327 | Close output descriptor if get an error. | |
1328 | ||
1329 | 1985-11-23 Richard M. Stallman (rms at prep) | |
1330 | ||
1331 | * termcap.c (tgetstr): | |
1332 | Supply second arg in call to tgetstr1. | |
1333 | ||
1334 | 1985-11-22 Richard M. Stallman (rms at prep) | |
1335 | ||
1336 | * s-bsd4.3.h: | |
1337 | Undefine INTERUPT_INPUT. Noninterrupt input should work | |
1338 | properly given LPASS8 and LNOFLUSH. | |
1339 | ||
1340 | * dispnew.c, keyboard.c (Fset_input_mode): | |
1341 | Move it from dispnew.c to keyboard.c. | |
1342 | ||
1343 | * sysdep.c (InitDsp): | |
1344 | Use LNOFLUSH in BSD. | |
1345 | ||
1346 | * term.c (topos): | |
1347 | Call hook before checking curY and curX. | |
1348 | ||
1349 | 1985-11-22 Richard Mlynarik (mly at prep) | |
1350 | ||
1351 | * fileio.c (Frename_file): | |
1352 | Supply third arg to Fcopy_file | |
1353 | ||
1354 | 1985-11-22 Richard M. Stallman (rms at prep) | |
1355 | ||
1356 | * keymap.c (push_text_char_description): | |
1357 | Represent ESC by ^[, not $. | |
1358 | ||
1359 | 1985-11-20 Richard M. Stallman (rms at prep) | |
1360 | ||
1361 | * minibuf.c (read_minibuf): | |
1362 | Make Vminibuffer_help_form do its intended job. | |
1363 | Use alloca to get the space for the prompt. | |
1364 | ||
1365 | 1985-11-20 Richard Mlynarik (mly at prep) | |
1366 | ||
1367 | * callproc.c (Fcall_process_region): | |
1368 | Documentation fix (why isn't this function written in lisp?) | |
1369 | ||
1370 | * minibuf.c (read_minibuf) | |
1371 | Use MScreenWidth | |
1372 | ||
1373 | 1985-11-20 Richard M. Stallman (rms at prep) | |
1374 | ||
1375 | * tparam.c (tparam): | |
1376 | Don't pass `left' or `up' to strcat if it is null. | |
1377 | ||
1378 | * cmds.c (SelfInsert): | |
1379 | Split register arg c into arg c1 and register local c. | |
1380 | Using & on a register argument happens to work on vax. | |
1381 | ||
1382 | 1985-11-19 Richard M. Stallman (rms at prep) | |
1383 | ||
1384 | * xdisp.c (try_window_id): | |
1385 | If change is on top line and display is not starting | |
1386 | at a real line-beginning, give up so real scrolling is done. | |
1387 | Return -1, which now tells redisplay_window not to try | |
1388 | slow redisplay with the same window start. | |
1389 | ||
1390 | 1985-11-18 Richard M. Stallman (rms at prep) | |
1391 | ||
1392 | * m-apollo.h: | |
1393 | New file. Use with s-bsd4.2.h? | |
1394 | ||
1395 | * data.c (Fsetcar, Fsetcdr, Faset): | |
1396 | Conditionalize checks for existing objects being pure | |
1397 | on CANNOT_DUMP. | |
1398 | ||
1399 | * alloc.c (mark_object, Fpurecopy): | |
1400 | Conditionalize checks for existing objects being pure | |
1401 | on not CANNOT_DUMP. Don't turn on Vpurify_flag if CANNOT_DUMP. | |
1402 | ||
1403 | * emacs.c (Fdump_emacs): | |
1404 | Conditionalize existence of function on not CANNOT_DUMP. | |
1405 | ||
1406 | * lread.c (read_list, intern): | |
1407 | Avoid using a conditional expression to compute function to call. | |
1408 | Conditionalize the entire call (pure_cons vs Fcons or | |
1409 | make_pure_string vs make_string). | |
1410 | ||
1411 | * syntax.c (scan_sexps_forward (case Sopen)): | |
1412 | Changed around curlevel++->last since Apollo C compiler loses. | |
1413 | ||
1414 | * lisp.h: | |
1415 | Define VALBITS and GCTYPEBITS inside #ifndefs | |
1416 | so config.h can override them. | |
1417 | ||
1418 | * fileio.c (Fexpand_file_name, Fsubstitute_in_file_name): | |
1419 | APOLLO conditionals to consider // at start of file name | |
1420 | legitimate. | |
1421 | ||
1422 | * ymakefile: | |
1423 | Make mention of alloca.o be conditional on not APOLLO. | |
1424 | Make -lg conditional likewise. | |
1425 | ||
1426 | 1985-11-15 Richard M. Stallman (rms at prep) | |
1427 | ||
1428 | * ymakefile, read.c: | |
1429 | Rename read.* to lread.* to avoid trouble with | |
1430 | #define read sys_read. | |
1431 | ||
1432 | 1985-11-14 Richard M. Stallman (rms at prep) | |
1433 | ||
1434 | * New files xfns.c, xterm.c for X window system. | |
1435 | xfns contains Lisp subrs for interacting with X. | |
1436 | TrmTERM.c is eliminated. | |
1437 | ||
1438 | * ymakefile: | |
1439 | Make compilation and loading of xterm.o and xfns.o | |
1440 | conditional on HAVE_X_WINDOWS. | |
1441 | ||
1442 | * term.c, termhooks.h: | |
1443 | Define fix_screen_hook. | |
1444 | ||
1445 | * process.c (wait_handing_process_output): | |
1446 | Call the terminal's fix_screen_hook, if one is set up. | |
1447 | ||
1448 | * keymap.c: | |
1449 | Define and initialize MouseMap, a keymap for mouse commands. | |
1450 | ||
1451 | * emacs.c (main): | |
1452 | Call syms_of_xfns. | |
1453 | ||
1454 | * dispnew.c (init_display): | |
1455 | For X window system terminals, call x_term_init. | |
1456 | ||
1457 | * buffer.c: | |
1458 | Flush Lisp variable buffer-number. | |
1459 | ||
1460 | 1985-11-13 Richard M. Stallman (rms at prep) | |
1461 | ||
1462 | * term.c (term_init): | |
1463 | For c100, do not set TS_set_window if termcap entry gives one | |
1464 | or if the :ti string fails to fix the screen at the top | |
1465 | of the display memory. | |
1466 | ||
1467 | * nearly every file changed. | |
1468 | ||
1469 | * New macro XSET to set both fields of a Lisp_Object. | |
1470 | Most places where XSETTYPE was used, followed by setting | |
1471 | the pointer field, now use XSET. | |
1472 | ||
1473 | * Many uses of wrong_type_argument replaced with use | |
1474 | of CHECK_*, including new CHECK_MARKER. | |
1475 | ||
1476 | * Other uses of wrong_type_argument fixed so value | |
1477 | returned gets used in place of the invalid object. | |
1478 | Also, the third argument was deleted. | |
1479 | ||
1480 | * New functions xmalloc and xrealloc signal an error | |
1481 | if memory is not available. Many calls to malloc and | |
1482 | realloc are replaced with them. | |
1483 | ||
1484 | * Some unused variables' declarations have been flushed. | |
1485 | * Some register declarations have been added. | |
1486 | ||
1487 | * alloc.c: | |
1488 | New functions xmalloc and xrealloc. | |
1489 | ||
1490 | * process.c: | |
1491 | (pty): Flush unused variable. Return 0 at end. | |
1492 | (list_processes):New buffer tembuf for sprintf to use. | |
1493 | (send_process_trap): Flush unused arg. | |
1494 | (sig_process): Rename arg `signal' to `signo'. | |
1495 | ||
1496 | * read.c: | |
1497 | Avoid `file' as variable name for lint's sake. | |
1498 | ||
1499 | * sysdep.c: | |
1500 | Compile stuff_char only if SIGTSTP exists. | |
1501 | Changed conditionals within stuff_char. | |
1502 | Compile wait_without_blocking only if no subprocesses. | |
1503 | Pass one arg (zero) to `wait'. | |
1504 | Include old_fcntl_flags in #ifdef FASYNC condition. | |
1505 | Put old_fcntl_owner inside #ifdef F_SETOWN condition. | |
1506 | Don't compile end_of_text and end_of_data. | |
1507 | Delete definitions of readlink and symlink; | |
1508 | their callers should not exist when system doesn't have symlinks. | |
1509 | ||
1510 | * term.c: | |
1511 | Don't give the impression that hooks' values are supposed | |
1512 | to be returned. | |
1513 | ||
1514 | * userid.c: | |
1515 | Entire file commented out; supposedly not used. | |
1516 | ||
1517 | * dispnew.c: | |
1518 | Comment out preserve_my_columns, not used. | |
1519 | Clean up conditionals in Fsleep_for and Fsit_for. | |
1520 | ||
1521 | * doc.c: | |
1522 | Fix incorrect args to describe_map_tree. | |
1523 | ||
1524 | * eval.c: | |
1525 | Flush Ffunction_type. | |
1526 | Make Fautoload override an existing autoload definition. | |
1527 | wrong_type_argument: check the user's new value | |
1528 | and get error again unless it fits the predicate. | |
1529 | ||
1530 | * minibuf.c: | |
1531 | Comment out Fread_function, not used. | |
1532 | ||
1533 | 1985-11-12 Richard M. Stallman (rms at prep) | |
1534 | ||
1535 | * keymap.c: | |
1536 | Comment out synkey, which nobody calls. | |
1537 | ||
1538 | * lisp.h: | |
1539 | Define XSET (var, type, ptr) to set both fields of a var. | |
1540 | Use it in DEFSIMPLE. | |
1541 | Remove extern decls of non-ex functions; fix dot -> point. | |
1542 | Remove incorrect decl of staticprolist. | |
1543 | ||
1544 | * fns.c (Flength): | |
1545 | (concat2, nconc2): Add /* ARGSUSED */ for lint. | |
1546 | ||
1547 | * fileio.c: | |
1548 | A few declarations for lint's sake. | |
1549 | Make alias file-readable-p for file-exists-p. | |
1550 | ||
1551 | 1985-11-11 Richard M. Stallman (rms at prep) | |
1552 | ||
1553 | * emacs.c (Fkill_emacs): | |
1554 | Return arg as exit code if arg is numeric even if interactive. | |
1555 | Rearrange code to make it smaller. | |
1556 | ||
1557 | * callint.c (Fcall_interactively, case 'v'): | |
1558 | Use Fread_variable. | |
1559 | ||
1560 | * tparam.c (tparam): | |
1561 | Rename %s as %f. | |
1562 | ||
1563 | 1985-11-10 Richard M. Stallman (rms at prep) | |
1564 | ||
1565 | * read.c (Fload): | |
1566 | Rename closefile to load_unwind. | |
1567 | New boolvar load-in-progress, set to t while loading, nil otherwise. | |
1568 | ||
1569 | * term.c (clear_end_of_line): | |
1570 | Correct first_unused_hpos by chars_wasted, since curX is corrected. | |
1571 | Set chars_wasted to zero if about to erase a standout marker. | |
1572 | ||
1573 | * term.c (write_standout_marker): | |
1574 | Do write the end-standout marker even when sg#0. | |
1575 | ||
1576 | 1985-11-09 Richard M. Stallman (rms at prep) | |
1577 | ||
1578 | * term.c (set_scroll_region): | |
1579 | Change parameters given to the `cs' string | |
1580 | to adjust for changed effect of %i. | |
1581 | ||
1582 | * tparam.c (tparam): | |
1583 | %i now increments two args, not just one. | |
1584 | Redefine %a somewhat, as will be described in termcap.texinfo. | |
1585 | ||
1586 | 1985-11-08 Richard Mlynarik (mly at prep) | |
1587 | ||
1588 | * emacs.c (Fkill_emacs): | |
1589 | arg default is 0 if noninteractive, nil if interactive | |
1590 | ||
1591 | * minibuf.c (Fread_variable): | |
1592 | Only recognize symbols that are user-variable-p. | |
1593 | ||
1594 | 1985-11-08 Richard M. Stallman (rms at prep) | |
1595 | ||
1596 | * sysdep.c (init_display): | |
1597 | Turn on LPASS8 if it is defined. | |
1598 | Gives 8-bit input in CBREAK mode. | |
1599 | ||
1600 | 1985-11-06 Richard M. Stallman (rms at prep) | |
1601 | ||
1602 | * sysdep.c (get_input_pending, select): | |
1603 | Provide alternate code for USG without FIONREAD. | |
1604 | I suspect it does not really work, though. | |
1605 | ||
1606 | * fns.c (Fload_average): | |
1607 | If LOAD_AVE_TYPE is not defined, just get an error, | |
1608 | and allow LOAD_AVE_CVT to be undefined as well. | |
1609 | ||
1610 | * m-dual.h: | |
1611 | Don't define LOAD_AVE_TYPE or LOAD_AVE_CVT. | |
1612 | ||
1613 | 1985-11-05 Richard Mlynarik (mly at prep) | |
1614 | ||
1615 | * print.c (print): | |
1616 | Hack deleted buffers. | |
1617 | ||
1618 | 1985-11-04 Richard M. Stallman (rms at prep) | |
1619 | ||
1620 | * syntax.c (describe_syntax_1): | |
1621 | Return type Lisp_Object and value Qnil. | |
1622 | ||
1623 | 1985-11-04 Richard Mlynarik (mly at prep) | |
1624 | ||
1625 | * minibuf.c (Fread_variable): | |
1626 | Choose amongst user-variable-p frobs rather than boundp ones | |
1627 | ||
1628 | 1985-11-02 Richard M. Stallman (rms at prep) | |
1629 | ||
1630 | * window.c (window_scroll): | |
1631 | Get error if try to scroll back when at top. | |
1632 | ||
1633 | * window.c (Fscroll_down, Fscroll_up): | |
1634 | Share new subroutine scroll_command to compute amount to scroll by. | |
1635 | ||
1636 | 1985-11-01 Richard M. Stallman (rms at prep) | |
1637 | ||
1638 | * dispnew.c (Fset_input_mode): | |
1639 | Always set interrupt_input to 0 when SIGIO is undefined. | |
1640 | ||
1641 | * keyboard.c (gobble_input, input_available_signal, kbd_buffer_store_char): | |
1642 | Make these functions exist only if SIGIO is defined. | |
1643 | ||
1644 | 1985-10-30 Richard M. Stallman (rms at prep) | |
1645 | ||
1646 | * sysdep.c (select): | |
1647 | Use signal, not sigset, since we simulate signal on | |
1648 | all system versions when nec. | |
1649 | ||
1650 | * buffer.c (syms_of_buffer, init_buffer_once, | |
1651 | reset_buffer_local_variables): | |
1652 | Define default-abbrev-mode, and init new buffers' abbrev-mode | |
1653 | from it. Move definition of abbrev-mode here from abbrev.c. | |
1654 | ||
1655 | * print.c (Fmessage): | |
1656 | Simplify it by using `message' to do the output. | |
1657 | ||
1658 | * alloca.s: | |
1659 | Provide alloca for 3b5. | |
1660 | ||
1661 | 1985-10-30 Richard Mlynarik (mly at prep) | |
1662 | ||
1663 | * editfns.c, print.c (Fmessage): | |
1664 | Move Fmessage from editfns to print | |
1665 | If noninteractive, do not truncate message at all. | |
1666 | If interactive truncate at MScreenWidth (not at 100) | |
1667 | ||
1668 | * alloc.c (mark_buffer): | |
1669 | Catch a few places which should have been marked but weren't | |
1670 | ||
1671 | * buffer.h, abbrev.c, cmds.c, xdisp.c | |
1672 | abbrev_mode is buffer-local (like all other minor modes) | |
1673 | ||
1674 | 1985-10-29 Richard M. Stallman (rms at prep) | |
1675 | ||
1676 | * sysdep.c (wait_for_termination): | |
1677 | Install case for 4.1 with subprocesses. | |
1678 | Realize that what was thought to be that | |
1679 | was really for no subprocesses; fix it up | |
1680 | to avoid using synch_process_pid since child_sig won't maintain that. | |
1681 | ||
1682 | * read.c (Fload): | |
1683 | If arg is empty string, just get error; | |
1684 | don't try to open any file. | |
1685 | ||
1686 | * eval.c (internal_condition_case): | |
1687 | Before unwinding after throw, remove any backtrace frames, | |
1688 | catches or handlers that are in stack frames that have been exited, | |
1689 | ||
1690 | * window.c (save_window_restore): | |
1691 | If saved state uses a dead buffer, don't use Fother_buffer | |
1692 | to find a buffer to use instead, since that can call Fnext_window | |
1693 | and the window hierarchy might be malformed at that time. | |
1694 | ||
1695 | * fns.c (Fequal): | |
1696 | Markers are equal if they point at the same place. | |
1697 | ||
1698 | 1985-10-29 Richard Mlynarik (mly at prep) | |
1699 | ||
1700 | * fns.c (Frequire): | |
1701 | Don't print message whilst loading required file. | |
1702 | ||
1703 | 1985-10-29 Richard M. Stallman (rms at prep) | |
1704 | ||
1705 | * syntax.c (scan_lists): | |
1706 | Initialize mathexit. | |
1707 | ||
1708 | 1985-10-28 Richard M. Stallman (rms at prep) | |
1709 | ||
1710 | * process.c (child_sig): | |
1711 | Rename `dead_pid' to `synch_process_pid'. | |
1712 | Remove conditionals around calls to deactivate_process. | |
1713 | ||
1714 | * callproc.c (Fcall_process): | |
1715 | In 4.1, store the pid in synch_process_pid. | |
1716 | ||
1717 | * sysdep.c (wait_for_termination): | |
1718 | Add case for 4.1 (only with subprocesses) | |
1719 | waiting for synch_process_pid to be zeroed by child_sig. | |
1720 | ||
1721 | * crt0.c: | |
1722 | Add version for the orion machine. | |
1723 | ||
1724 | * data.c (arith_error): | |
1725 | In 4.1, do sigrelse to reallow arith error signals. | |
1726 | ||
1727 | * read.c (read_escape): | |
1728 | After C-, don't clear meta bit of what follows. | |
1729 | ||
1730 | 1985-10-27 Richard M. Stallman (rms at prep) | |
1731 | ||
1732 | * m-*.h: | |
1733 | Define SIGN_EXTEND_CHAR for all machines. | |
1734 | ||
1735 | 1985-10-26 Richard M. Stallman (rms at prep) | |
1736 | ||
1737 | * xdisp.c (display_mode_line): | |
1738 | If window is not full width but its parent is, | |
1739 | display the mode line in inverse video. | |
1740 | ||
1741 | * cmds.c (SelfInsert): | |
1742 | Call the blink paren hook for syntax class $ also. | |
1743 | ||
1744 | * eval.c (Fautoload): | |
1745 | Accept fifth arg, non-nil meaning function will be a macro | |
1746 | once it is loaded. | |
1747 | ||
1748 | * eval.c (Fmacroexpand): | |
1749 | Autoload anything that will be a macro once loaded. | |
1750 | If a symbol's definition is a symbol that is a macro, | |
1751 | expand either one seen. | |
1752 | ||
1753 | 1985-10-23 Richard M. Stallman (rms at prep) | |
1754 | ||
1755 | * eval.c (Fthrow): | |
1756 | If TAG is nil, always say it is not found, to avoid | |
1757 | interference with condition-case, which uses nil as catch tag. | |
1758 | ||
1759 | * print.c (PRINTPREPARE & uses): | |
1760 | Don't change print_depth in PRINTPREPARE; | |
1761 | those callers for which it matters now do it themselves. | |
1762 | ||
1763 | *print.c (print): | |
1764 | Do QUIT; at the beginning. Also in string and symbol loops. | |
1765 | ||
1766 | * window.c (set_window_{height,width}): | |
1767 | In args to recursive calls, use XINT, not XFASTINT. | |
1768 | Perhaps a "too small" window could have negative size. | |
1769 | ||
1770 | * window.c (change_window_height): | |
1771 | Fix calls to sizefun and setsizefun to dereference first. | |
1772 | ||
1773 | * window.c (save_window_restore): | |
1774 | Make it return a Lisp_Object. | |
1775 | ||
1776 | * fns.c (concat & callers): | |
1777 | New arg last_special which if non-0 says don't copy last arg. | |
1778 | Only Fappend supplies it as nonzero. | |
1779 | ||
1780 | * keyboard.c (Fsuspend_emacs): | |
1781 | Take already-read input and stuff it. | |
1782 | ||
1783 | * fileio.c (Ffile_directory_p, Ffile_modes): | |
1784 | Remove final slash from file name before doing stat. | |
1785 | In 4.2, final slash can cause wrong result | |
1786 | if file is read-protected. | |
1787 | ||
1788 | 1985-10-22 Richard Mlynarik (mly at prep) | |
1789 | ||
1790 | * eval.c (Fcondition_case): | |
1791 | Add some error-checks to condition-case; | |
1792 | prevent core-dump when handler list is illegal. | |
1793 | ||
1794 | * keyboard.c (cmd_error): | |
1795 | Do the file-error hack for conditions including file-error, | |
1796 | not just file-error itself. | |
1797 | ||
1798 | * callint.c (Fcall_interactively): | |
1799 | Quotify car of command-history in (interactive <list>) case | |
1800 | New function quotify_args to do the work. | |
1801 | ||
1802 | * fns.c (Fnconc): | |
1803 | typo: wrong_type_arg called with Flistp, not Qlistp | |
1804 | ||
1805 | 1985-10-22 Richard M. Stallman (rms at mit-prep) | |
1806 | ||
1807 | * process.c (Fset_process_buffer, Fstart_process): | |
1808 | Allow a process's buffer to be nil. | |
1809 | ||
1810 | 1985-10-21 Richard M. Stallman (rms at mit-prep) | |
1811 | ||
1812 | * window.c (Fscroll_{left,right}): | |
1813 | Default arg is now window width minus 2. | |
1814 | ||
1815 | * search.c (Freplace_match): | |
1816 | If not literal, make \ always an escape. | |
1817 | Thus two \'s are needed for one literal one. | |
1818 | ||
1819 | * data.c (wrong_type_argument): | |
1820 | Eliminate third arg from function and its explicit callers. | |
1821 | ||
1822 | * window.c (Fpos_visible_in_window_p): | |
1823 | Provide missing tab_offset arg to compute_motion. | |
1824 | ||
1825 | * xdisp.c (init_xdisp): | |
1826 | Provide missing 3rd arg to set_window_height. | |
1827 | ||
1828 | * fileio.c (e_write): | |
1829 | Make it really return -1 if write doesn't write everything. | |
1830 | ||
1831 | * data.c (Fsymbol_{function,value}): | |
1832 | Replace Qvoid_symbol condition with two conditions | |
1833 | Qvoid_{variable,function}. No longer pass boundp or fboundp | |
1834 | as part of the extra info, since would be redundant. | |
1835 | ||
1836 | 1985-10-18 Richard M. Stallman (rms at mit-prep) | |
1837 | ||
1838 | * editfns.c (Fformat): | |
1839 | Remove limit on length of output. | |
1840 | ||
1841 | * doprnt.c (doprnt): | |
1842 | Rearrange so can handle %2s, etc. | |
1843 | ||
1844 | 1985-10-17 Richard M. Stallman (rms at mit-prep) | |
1845 | ||
1846 | * process.c: | |
1847 | Define sys_siglist for 4.1, which doesn't provide one. | |
1848 | Use new flag HAVE_PTYS to enable compilation of `pty' | |
1849 | and of some code in `create_process'. | |
1850 | Flist_processes: omit unused third arg to Findent_to. | |
1851 | create_process: Omit some code for ptys unless HAVE_PTYS. | |
1852 | Provide 4.1 alternatives for sigsetmask. | |
1853 | wait_reading_process_input: | |
1854 | If not HAVE_TIMEVAL, provide alternative code using ints. | |
1855 | Handle failure of FIONREAD. | |
1856 | send_process_trap: | |
1857 | In 4.1, release SIGPIPE and SIGALRM. | |
1858 | sig_process: check current_group for nil or not, | |
1859 | rather than 0 or not. | |
1860 | count_active_processes: get rid of arg `buffer' which was unused. | |
1861 | child_sig: strange hacks with dead_pid for 4.1. | |
1862 | Hold and release SIGCHLD in 4.1. | |
1863 | Do not call deactivate_process in 4.1 (puzzles me). | |
1864 | ||
1865 | * sysdep.c: | |
1866 | Omit fcntl.h under 4.1. | |
1867 | get_input_pending: return 0 if input not a tty. | |
1868 | discard_terminal_input: do nothing if batch mode. | |
1869 | stuff_char: err instead of aborting on system V. | |
1870 | init_baud_rate: always set ospeed = 0 if batch mode. | |
1871 | InitDsp: turn ANYP on rather than off. Make lmode global. | |
1872 | In 4.1, turn on LINTRUP if interrupt_input. | |
1873 | child_setup_tty: in 4.1, clear LINTRUP in the child. | |
1874 | tabs_safe_p: always say tabs are safe if batch mode. | |
1875 | RstDsp: In 4.1, turn off LINTRUP if interrupt_input. | |
1876 | setpriority: define as noop for 4.1. | |
1877 | request_sigio: for 4.1, turn on LINTRUP. | |
1878 | unrequest_sigio: for 4.1, turn off LINTRUP. | |
1879 | ||
1880 | * read.c (readevalloop, read_list, read_vector, intern): | |
1881 | Dereference expressions of type pointer-to-function before calling. | |
1882 | ||
1883 | * read.c (hash_string): | |
1884 | Use unsigned char, not char, for strings. | |
1885 | ||
1886 | * read.c (map_obarray): | |
1887 | Expect function to be mapped to return int, not Lisp_Object. | |
1888 | ||
1889 | * undo.c: | |
1890 | Include lisp.h before undo.h. | |
1891 | ||
1892 | * unexec.c: | |
1893 | Introduce ADDR_CORRECT. Apply it to supplied values | |
1894 | for bss_start and data_start, and to values returned by sbrk. | |
1895 | Use NBPG instead of getpagesize () in BSD4.1. | |
1896 | Use char *'s for ptr and end in copy_text_and_data. | |
1897 | ||
1898 | * print.c (print): | |
1899 | Remove unused fourth arg from recursive calls. | |
1900 | ||
1901 | * minibuf.c (Fminibuffer_complete{,_and_exit}): | |
1902 | Copy function value into variable before switching on it. | |
1903 | (Direct way loses on orion). | |
1904 | ||
1905 | * s-*.h: | |
1906 | Define HAVE_SELECT and NONSYSTEM_DIR_LIBRARY where appropriate. | |
1907 | Reorder the flags, and make all the s- files look parallel. | |
1908 | ||
1909 | * keyboard.c: | |
1910 | Define new constructs sigfree, sigholdx, sigblockx, | |
1911 | sigunblockx, sigpausex which do one thing in 4.1 and another in | |
1912 | 4.2. In 4.1, use SIGTINT as if it were SIGIO. | |
1913 | ||
1914 | * keyboard.c (getchar, interrupt_signal): | |
1915 | Don't omit the arg DoDsp or Fdo_auto_save wants. | |
1916 | ||
1917 | * keyboard.c: (echo_them, input_available_signal): | |
1918 | Put in hair for 4.1 for interfacing with select emulation. | |
1919 | ||
1920 | * keyboard.c (top_level_1): | |
1921 | * macro.c (pop_kbd_macro): | |
1922 | Must have type Lisp_Object, and return a valid one. | |
1923 | ||
1924 | * keymap.c (describe_{vector,alist}): | |
1925 | Expect elt_describer to return int, not Lisp_Object. | |
1926 | Dereference that variable before calling it. | |
1927 | ||
1928 | * keymap.c (apropos1): | |
1929 | Must have type Lisp_Object, and return a valid one. | |
1930 | ||
1931 | * syntax.c (describe_syntax): | |
1932 | Make it return type int, and don't bother about what int. | |
1933 | ||
1934 | * search.c (search_buffer): | |
1935 | If fwd, require match to end not beyond search limit. | |
1936 | ||
1937 | 1985-10-16 Richard M. Stallman (rms at mit-prep) | |
1938 | ||
1939 | * alloc.c: | |
1940 | New vars data-bytes-{used,free} that ref malloc_sbrk{,un}used. | |
1941 | ||
1942 | * editfns.c (save_{excursion,restriction}_restore): | |
1943 | Must have type Lisp_Object, and return a valid one. | |
1944 | ||
1945 | * editfns.c (format1): | |
1946 | Handle NO_ARG_ARRAY case. | |
1947 | ||
1948 | * eval.c (internal_catch, internal_condition_case, unbind_to): | |
1949 | Dereference variables of type pointer-to-function before calling. | |
1950 | ||
1951 | * eval.c (Fautoload, call1, call2, call3): | |
1952 | If NO_ARG_ARRAY, don't assume that consecutive args can be | |
1953 | treated as an array. Copy them into another array. | |
1954 | ||
1955 | * fileio.c (barf_or_query_if_file_exists): | |
1956 | Fix paren error. | |
1957 | ||
1958 | * fileio.c (Fcopy_file): | |
1959 | Use chmod instead of fchmod on 4.1bsd as well as usg. | |
1960 | ||
1961 | * fileio.c (Frename_file, Fmake_symbolic_link, Fadd_name_to_file): | |
1962 | If NO_ARG_ARRAY, don't assume that consecutive args can be | |
1963 | treated as an array. Copy them into another array. | |
1964 | ||
1965 | * fileio.c (Frename_file): | |
1966 | In 4.1bsd, use link and unlink, since don't have rename. | |
1967 | ||
1968 | * fileio.c (Fmake_symbolic_link): | |
1969 | Eliminate this if S_IFLNK not defined. | |
1970 | ||
1971 | * fileio.c (Ffile_symlink_p): | |
1972 | Always return nil if S_IFLNK not defined. | |
1973 | ||
1974 | * fileio.c (auto_save_error, auto_save_1): | |
1975 | Must have type Lisp_Object, must really return something. | |
1976 | ||
1977 | * fns.c (concat2, nconc2): | |
1978 | If NO_ARG_ARRAY, don't assume that consecutive args can be | |
1979 | treated as an array. Copy them into another array. | |
1980 | ||
1981 | * fns.c (Frequire): | |
1982 | Was calling Fload with only 1 arg. Pass 2 extra nil's. | |
1983 | ||
1984 | * fns.c (Fload_average): | |
1985 | If FIXUP_KERNEL_SYMBOL_ADDR is defined, must detect | |
1986 | if address of _avenrun is not abs, and fix it up if so. | |
1987 | ||
1988 | * indent.c (position_indentation): | |
1989 | Add parens in nested ?...: for clarity. | |
1990 | ||
1991 | * sysdep.c: | |
1992 | Add opendir, closedir and readdir, if NONSYSTEM_DIR_LIBRARY. | |
1993 | ||
1994 | * unexec.c: | |
1995 | Add some definitions for case of USG and not COFF. | |
1996 | These define the BSD names for hdr components in terms of pre-BSD names. | |
1997 | ||
1998 | * sysdep.c, editfns.c, s-*.c: | |
1999 | Use (new) get_system_name (defined in sysdep) to get system name | |
2000 | in init_editfns. No more need for SYSTEM_NAME and | |
2001 | SYSTEM_NAME_DECL. | |
2002 | ||
2003 | * sysdep.c (select): | |
2004 | Use not HAVE_SELECT as condition to define this. | |
2005 | ||
2006 | * keyboard.c: | |
2007 | Get error instead of croaking if want to send SIGTSTP. | |
2008 | Get compile time error in gobble_input if SIGIO is not defined. | |
2009 | ||
2010 | * emacs.c: | |
2011 | Always include types.h. Omit time.h and resource.h in 4.1. | |
2012 | ||
2013 | * dispnew.c (Fsit_for, Fsleep_for): | |
2014 | Rearrange conditionals to use only HAVE_TIMEVAL and (new) HAVE_SELECT. | |
2015 | ||
2016 | * dired.c: | |
2017 | Flush NO_DIR_LIBRARY case. If NONSYSTEM_DIR_LIBRARY, | |
2018 | use "ndir.h" which will come with Emacs. | |
2019 | ||
2020 | * alloca.s, crt0.c: | |
2021 | Check m68000 flag only if m68k flag is not defined. | |
2022 | ||
2023 | * fileio.c (Finsert_file_contents): | |
2024 | Set up for this to be undone. | |
2025 | ||
2026 | 1985-10-15 Richard M. Stallman (rms at mit-prep) | |
2027 | ||
2028 | * syntax.c (Fmodify_syntax_entry): | |
2029 | Use %s rather than %c in interactive string. | |
2030 | ||
2031 | * callint.c (Fcall_interactively): | |
2032 | For arg read with code `c', convert as char to a string | |
2033 | for use in prompting for future args. | |
2034 | ||
2035 | * keymap.c (describe_{map,map_tree,vector,alist}): | |
2036 | All take additional arg PARTIAL which, if nonzero, | |
2037 | means check each definition for a `suppress-keymap' | |
2038 | property and ignore it if property non-nil. | |
2039 | ||
2040 | * keymap.c (describe_bindings): | |
2041 | * doc.c (Fsubstitute_command_keys): | |
2042 | * syntax.c (describe_syntax): | |
2043 | Pass zero or 1 as PARTIAL arg to those functions. | |
2044 | ||
2045 | * filelock.c: | |
2046 | Use PATH_SUPERLOCK as name of superlock file, | |
2047 | and PATH_LOCK as name of lock directory. | |
2048 | * paths.h, paths.h.dist: | |
2049 | Define those two. | |
2050 | ||
2051 | * callproc.c (Fcall_process): | |
2052 | Always try opening program before forking. | |
2053 | ||
2054 | 1985-10-14 Richard M. Stallman (rms at mit-prep) | |
2055 | ||
2056 | * Makefile: | |
2057 | Now it takes ymakefile, passes it thru cpp to get xmakefile, | |
2058 | then runs `make' on that. ymakefile is the old Makefile. | |
2059 | All comments now are within /*...*/, and #ifdef's are used | |
2060 | to select the flags and libraries to be used. | |
2061 | ||
2062 | * s-*.h: | |
2063 | Define new macro SYSTEM_NAME_DECL which does any global | |
2064 | declarations needed to prepare for using SYSTEM_NAME. | |
2065 | The flag ASSEMBLY is no longer needed to prevent s-*.h | |
2066 | from doing anything besides defining macros. | |
2067 | ||
2068 | * editfns.c: | |
2069 | Use SYSTEM_NAME_DECL. | |
2070 | ||
2071 | * alloca.s: | |
2072 | No longer need to define ASSEMBLY. | |
2073 | ||
2074 | * eval.c (apply_lambda, funcall_lambda): | |
2075 | Flush "e support. | |
2076 | ||
2077 | 1985-10-11 Richard M. Stallman (rms at mit-prep) | |
2078 | ||
2079 | * fileio.c (Frename_file): | |
2080 | If fails due to moving across devices, copy and delete old file. | |
2081 | ||
2082 | * keymap.c (insert_first_line): | |
2083 | If the first line contains `\[', pass the string thru | |
2084 | substitute-command-keys and try again. | |
2085 | ||
2086 | 1985-10-10 Richard M. Stallman (rms at mit-prep) | |
2087 | ||
2088 | * Makefile: | |
2089 | Define new parameter LDFLAGS, and make more use of LIBES. | |
2090 | Have new code to define their values for various systems. | |
2091 | ||
2092 | * sysdep.c, s-unipl5.2.h: | |
2093 | Define MAXPATHLEN here if not def by system. | |
2094 | Do not define it in s- files. | |
2095 | ||
2096 | * keyboard.c (interrupt_signal): | |
2097 | In system V, cannot actually stop, but do offer to auto-save | |
2098 | or abort. | |
2099 | ||
2100 | * dired.c: | |
2101 | Do not include dir.h if including ndir.h. | |
2102 | ||
2103 | 1985-10-09 Richard M. Stallman (rms at mit-prep) | |
2104 | ||
2105 | * fileio.c (Fsubstitute_in_command_name): | |
2106 | Simplify /~ and // if produced as result of variable substitution. | |
2107 | ||
2108 | 1985-10-08 Richard M. Stallman (rms at mit-prep) | |
2109 | ||
2110 | * fns.c (concat): | |
2111 | Failed to initialize data type of `len'. | |
2112 | ||
2113 | * editfns.c (Fregion_to_string): | |
2114 | Delete it. Put it in mlsupport.el. | |
2115 | ||
2116 | * search.c (Fregion_around_match): | |
2117 | Delete it. Put it in mlsupport.el. | |
2118 | ||
2119 | * syntax.c (scan_lists): | |
2120 | Fix bug of ignoring the character before a comment-start pair | |
2121 | when parsing backward. Also don't consider /*/ a complete comment. | |
2122 | ||
2123 | * dispnew.c (Fsit_for): | |
2124 | Use simulator for select, if not HAVE_TIMEVAL. | |
2125 | * dispnew.c (ChangeScreenSize): | |
2126 | Pass zero as third arg to set_window_{height,width}. | |
2127 | * dispnew.c (update_screen): | |
2128 | Detect failure of ioctl TIOCOUTQ. | |
2129 | * dispnew.c: | |
2130 | Don't use fcntl.h; appears not to be needed. | |
2131 | ||
2132 | * dired.c: | |
2133 | Handle fact that 4.1 has no symbolic links, just like sysV: | |
2134 | Make conditionals check S_IFLNK rather than USG. | |
2135 | Also, check new flag NONSYSTEM_DIR_LIBRARY which 4.1 will set. | |
2136 | ||
2137 | * cm.c (cmcostinit, cmgoto, cmputc): | |
2138 | Make these the names of the functions that do the work | |
2139 | instead of macros going through variables that | |
2140 | might fail to be set up. | |
2141 | ||
2142 | 1985-10-07 Richard Mlynarik (mly at mit-prep) | |
2143 | ||
2144 | * print.c (print) | |
2145 | No need to escape symbols + and - if not followed by digits | |
2146 | ||
2147 | 1985-10-07 Richard M. Stallman (rms at mit-prep) | |
2148 | ||
2149 | * filelock.c: | |
2150 | New file containing stuff to handle locking files while | |
2151 | they are being edited. | |
2152 | ||
2153 | * buffer.c (Fset_buffer_modified_p): | |
2154 | Lock or unlock the visited file accordingly. | |
2155 | ||
2156 | * buffer.c (Fdelete_buffer_internal) | |
2157 | Unlock the visited file. | |
2158 | ||
2159 | * fileio.c (Fread_file_contents): | |
2160 | Mark buffer as modified using modify_buffer. | |
2161 | If visiting, unlock old and new visited files. | |
2162 | ||
2163 | * fileio.c (Fwrite_region): | |
2164 | Lock file to begin with; unlock on error or when done. | |
2165 | ||
2166 | * undo.c (Fundo_more): | |
2167 | Unlock file if undoing makes buffer unmodified. | |
2168 | ||
2169 | 1985-10-06 Richard M. Stallman (rms at mit-prep) | |
2170 | ||
2171 | * dired.c (file_name_completions): | |
2172 | If looking for list of all completions, don't ignore any. | |
2173 | Do this by starting with passcount = 1. | |
2174 | ||
2175 | 1985-10-05 Richard M. Stallman (rms at mit-prep) | |
2176 | ||
2177 | * xdisp.c (message): | |
2178 | Use doprnt instead of sprintf: prevent overflowing buf. | |
2179 | ||
2180 | * xdisp.c (decode_mode_spec): | |
2181 | Protect against overflowing tbuf even if strings are clobbered | |
2182 | and have negative length. | |
2183 | ||
2184 | 1985-10-02 Richard M. Stallman (rms at mit-prep) | |
2185 | ||
2186 | * insdel.c (delete_range): | |
2187 | Must immediately relocate markers into deleted text. | |
2188 | Otherwise if an insertion follows they may end up pointing | |
2189 | into the middle of it. | |
2190 | ||
2191 | 1985-10-01 Richard M. Stallman (rms at mit-prep) | |
2192 | ||
2193 | * dispnew.c, xdisp.c, minibuf.c: | |
2194 | cursX and cursY are now origin zero. | |
2195 | last_point_x and last_point_y of a window, likewise. | |
2196 | ||
2197 | * term.c (set_scroll_region, term_init, calculate_costs): | |
2198 | New "cS" string, in TS_set_scroll_region_1, | |
2199 | accepts four params suitable for handling aaa's \E[...p cmd. | |
2200 | ||
2201 | 1985-09-30 Richard M. Stallman (rms at mit-prep) | |
2202 | ||
2203 | * xdisp.c (redisplay_window): | |
2204 | Don't clobber the point value of the buffer | |
2205 | being redisplayed. | |
2206 | Make sure the displayed point value is inside | |
2207 | the buffer bounds; correct it if not. | |
2208 | ||
2209 | * term.c (reassert_line_highlight): | |
2210 | Define reassert_line_highlight_hook, and call it. | |
2211 | ||
2212 | * dispnew.c (direct_output_for_self_insert): | |
2213 | Call reassert_line_highlight. | |
2214 | ||
2215 | 1985-09-29 Richard M. Stallman (rms at mit-prep) | |
2216 | ||
2217 | * print.c (print): | |
2218 | Fix one-off bug in Vprint_length; one element too few | |
2219 | used to be printed. | |
2220 | ||
2221 | * fileio.c (Fread_file_name_internal): | |
2222 | Avoid error when spec'd name has no slashes. | |
2223 | ||
2224 | 1985-09-28 Richard M. Stallman (rms at mit-prep) | |
2225 | ||
2226 | * term.c (clear_to_end, clear_screen): | |
2227 | Set cleared lines to the background highlighting state. | |
2228 | ||
2229 | * read.c (read1): | |
2230 | Don't ignore pure doc strings once DOCSTR already parsed. | |
2231 | ||
2232 | * read.c (readevalloop & callers): | |
2233 | Eliminate delayflag feature. | |
2234 | ||
2235 | * eval.c (do_autoload): | |
2236 | Set up unwind-protect un_autoload and bind | |
2237 | Vautoload_queue non-nil. This will undo all defuns and | |
2238 | provides if the file does not finish loading. | |
2239 | ||
2240 | * data.c (Fset): | |
2241 | If Vautoload_queue non-nil, record function and old definition | |
2242 | by consing onto Vautoload_qeueue. | |
2243 | ||
2244 | * fns.c (Fprovide): | |
2245 | If Vautoload_queue is non-nil, record old value of Vfeatures. | |
2246 | ||
2247 | 1985-09-27 Richard M. Stallman (rms at mit-prep) | |
2248 | ||
2249 | * abbrev.c (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
2250 | Convert name to lower case before defining. | |
2251 | (Since expansion always does that too.) | |
2252 | ||
2253 | * buffer.c (init_buffer): | |
2254 | Don't add / to end of wd if it ends in / already. | |
2255 | * buffer.c (init_buffer_once): | |
2256 | Add variable `tem'. Don't call Fcurrent_buffer. | |
2257 | ||
2258 | 1985-09-26 Richard M. Stallman (rms at mit-prep) | |
2259 | ||
2260 | * fileio.c (Fexpand_file_name): | |
2261 | Discard through any slash that precedes a tilde. | |
2262 | ||
2263 | 1985-09-20 Richard M. Stallman (rms at mit-prep) | |
2264 | ||
2265 | * fns.c (concat): | |
2266 | In the case of append, don't copy or test the last arg. | |
2267 | ||
2268 | 1985-09-19 Richard M. Stallman (rms at mit-prep) | |
2269 | ||
2270 | * keyboard.c (command_loop_1): | |
2271 | If minibuffer and echo area both in use, | |
2272 | wait 2 sec and redraw minibuffer. | |
2273 | ||
2274 | * keyboard.c (cmd_error): | |
2275 | Remove similar feature for errors only. | |
2276 | ||
2277 | * read.c (readevalloop and callers): | |
2278 | Don't eval any forms until all forms read. | |
2279 | ||
2280 | * dispnew.c (scrolling): | |
2281 | Postpone fixup of free_at_end_vpos | |
2282 | until unchanged_at_bottom is set up. | |
2283 | ||
2284 | * everywhere: | |
2285 | Remove many variables not really used. | |
2286 | ||
2287 | * process.c (count_active_processes): | |
2288 | Fix garbage code to ignore, correctly, | |
2289 | stopped or dead processes. | |
2290 | ||
2291 | 1985-09-17 Richard M. Stallman (rms at mit-prep) | |
2292 | ||
2293 | * Don't use strings.h (not all Unix versions have it). | |
2294 | Declare index explicitly where needed. | |
2295 | ||
2296 | * sysdep.c: | |
2297 | Define select, for 4.1. | |
2298 | ||
2299 | * s-*.h, sysdep.c: | |
2300 | New flag BSTRING says system has bcopy, etc., functions. | |
2301 | If not, define them in sysdep.c. | |
2302 | ||
2303 | * buffer.c: | |
2304 | Define MAXPATHLEN if system does not. | |
2305 | Pass two args to Fnext_window, as it expects. | |
2306 | ||
2307 | * abbrev.c (Fdefine_global_abbrev, Fdefine_local_abbrev): | |
2308 | Always pass Fdefine_abbrev five args. | |
2309 | ||
2310 | * term.c (write_chars): | |
2311 | Clear error flag of stdout to recover from 4.2 kernel bug. | |
2312 | ||
2313 | * unexec.c (make_hdr): | |
2314 | Remove sun data_start rounding change: round down again. | |
2315 | ||
2316 | 1985-09-13 Richard M. Stallman (rms at mit-prep) | |
2317 | ||
2318 | * minibuf.c (minibuf_completion_help_1): | |
2319 | Always indent at least one space between the two function names on | |
2320 | a line. | |
2321 | ||
2322 | 1985-09-12 Richard M. Stallman (rms at mit-prep) | |
2323 | ||
2324 | * syntax.h, syntax.c: | |
2325 | Define new syntax class Spunct, for punctuation. | |
2326 | Acts like whitespace in word and list parsing. | |
2327 | Define all non-whitespace that used to be Swhitespace as | |
2328 | being punctuation. | |
2329 | ||
2330 | 1985-09-11 Richard M. Stallman (rms at mit-prep) | |
2331 | ||
2332 | * dired.c (file_name_completions): | |
2333 | Fix bug matching implicit slash after name of dir | |
2334 | against an implicit slash in bestmatch. | |
2335 | ||
2336 | 1985-09-10 Richard M. Stallman (rms at mit-prep) | |
2337 | ||
2338 | * cmds.c (Fnewline): | |
2339 | Barf immediately if buffer read only. | |
2340 | ||
2341 | * doc.c (Fsubstitute_command_keys): | |
2342 | If string contains \{VAR}, get value of VAR and describe as | |
2343 | keymap. | |
2344 | ||
2345 | * keymap.c (describe_map_tree): | |
2346 | New function to describe a map and all maps reachable from it. | |
2347 | ||
2348 | * keymap.c (describe_bindings): | |
2349 | Describe local bindings first. | |
2350 | ||
2351 | * abbrev.c (describe_abbrev): | |
2352 | Direct final newline to same stream as everything else. | |
2353 | ||
2354 | 1985-09-08 Richard M. Stallman (rms at mit-prep) | |
2355 | ||
2356 | * editfns.c, dispnew.c: | |
2357 | Definition of baud-rate moved to dispnew.c. | |
2358 | ||
2359 | * editfns.c: | |
2360 | Functions point{-marker}, point-max{-marker} and | |
2361 | point-min{-marker} defined. Old dot- names still exist | |
2362 | as aliases. | |
2363 | ||
2364 | * Pervasive: | |
2365 | "dot" changed to "point" in just about everything, | |
2366 | including names that contain it, such as SetDot. | |
2367 | ||
2368 | * callint.c (Fcall_interactively): | |
2369 | Make elements of command-history be expressions | |
2370 | by quoting each arg that is not self-evaluating. | |
2371 | ||
2372 | * eval.c (Fsignal, find_handler_clause): | |
2373 | If debugger returns, return its value from Fsignal. | |
2374 | ||
2375 | * All calls to Fsignal: | |
2376 | Do something reasonable if Fsignal returns. | |
2377 | Often, just return what it returned. | |
2378 | `error' still never returns to its caller. | |
2379 | ||
2380 | * Signalling Qargs_out_of_range: | |
2381 | Use new functions args_out_of_range and args_out_of_range_3 | |
2382 | (in data.c) to do this. | |
2383 | ||
2384 | 1985-09-07 Richard M. Stallman (rms at mit-prep) | |
2385 | ||
2386 | * search.c (compile_pattern & callers): | |
2387 | Must recompile even the same string if translate table is | |
2388 | different. Pass translate table as arg to compile_pattern. | |
2389 | ||
2390 | * buffer.c (switch-to-buffer-other-window): | |
2391 | Eliminate this name; it's now defined in files.el. | |
2392 | ||
2393 | * window.c (Fget_lru_window): | |
2394 | Give preference to full-width windows. | |
2395 | * window.c (display_buffer): | |
2396 | only split full-width windows. | |
2397 | ||
2398 | * search.c (Fstring_match): | |
2399 | Set the search_regs, like buffer searching commands. | |
2400 | ||
2401 | 1985-09-06 Richard M. Stallman (rms at mit-prep) | |
2402 | ||
2403 | * editfns.c (Finsert_before_markers): | |
2404 | User interface to insert_before_markers. | |
2405 | ||
2406 | * insdel.c (insert_before_markers): | |
2407 | New function that inserts and moves all markers pointing at | |
2408 | insertion point to point after the inserted text. | |
2409 | ||
2410 | * sysdep.c (wait_for_termination): | |
2411 | Cause a SIGCHLD just in case, when termination is detected. | |
2412 | ||
2413 | * unexec.c: | |
2414 | Round data-end-address on Sun up, not down, to segment bdry. | |
2415 | ||
2416 | * crt0.c, alloca.s, m-sun2.h: | |
2417 | For sun 2, call hack_sky from _start. hack_sky is new, in alloca.s. | |
2418 | m-sun2.h is a new file, which defines the symbol sun2. | |
2419 | ||
2420 | * buffer.c (Fswitch_to_buffer): | |
2421 | Second arg non-nil means don't record buffer on selection history. | |
2422 | ||
2423 | * syntax.c (scan_sexps_forward): | |
2424 | Stop properly if end of range comes after a char quote within a string. | |
2425 | ||
2426 | 1985-09-05 Richard M. Stallman (rms at mit-prep) | |
2427 | ||
2428 | * fileio.c (Fread_file_name): | |
2429 | Abbreviate the default dir using ~ if possible. | |
2430 | ||
2431 | * search.c (search_buffer): | |
2432 | Notice when re_search_2 returns "failure", in backward search. | |
2433 | ||
2434 | * term.c (write_chars): | |
2435 | When using TS_repeat, the count was wrong, and len was not updated. | |
2436 | ||
2437 | 1985-09-05 Richard M. Stallman (rms at mit-prep) | |
2438 | ||
2439 | * process.c (handle_process_output): | |
2440 | Preserve logical ordering of input and output when there is type ahead. | |
2441 | ||
2442 | 1985-09-05 Richard M. Stallman (rms at mit-prep) | |
2443 | ||
2444 | * macros.c: | |
2445 | Define executing-kbd-macro as alias for executing-macro. | |
2446 | Eventually old name will be flushed. | |
2447 | ||
2448 | 1985-09-04 Richard M. Stallman (rms at mit-prep) | |
2449 | ||
2450 | * keyboard.c (Fsuspend_emacs): | |
2451 | Put back `kill', accidentally deleted. | |
2452 | ||
2453 | * buffer.c: define switch-to-buffer-other-window = pop-to-buffer. | |
2454 | ||
2455 | * dispnew.c (update_line): | |
2456 | Simplify handling of nlen == screen_width case | |
2457 | to avoid calling write_chars on -1 chars. | |
2458 | ||
2459 | 1985-09-02 Richard M. Stallman (rms at mit-prep) | |
2460 | ||
2461 | * term.c ((re)set_terminal_modes): | |
2462 | Use the correct hook in each case. | |
2463 | (topos): define topos_hook. | |
2464 | ||
2465 | * search.c (search_buffer): | |
2466 | In backwards regexp search, use new `mstop' to re_search_2 | |
2467 | to avoid matches that extend forward past starting point. | |
2468 | ||
2469 | * editfns.c (init_editfns): | |
2470 | Change #endif to #else; make AMPERSAND_FULL_NAME conditionals right. | |
2471 | ||
2472 | * print.c (print): | |
2473 | Define variable print-length, and refer to it as nec. | |
2474 | ||
2475 | 1985-08-31 Richard Mlynarik (mly at mit-prep) | |
2476 | ||
2477 | * editfns.c (init_editfns) | |
2478 | Try to improve AMPERSAND_FULL_NAME frobbing a little. | |
2479 | ||
2480 | * eval.c, callint.c | |
2481 | Define function user-variable-p, which returns t if first char of | |
2482 | var doc string is "*". Make (interactive "v") use it. | |
2483 | ||
2484 | 1985-08-31 Richard M. Stallman (rms at mit-prep) | |
2485 | ||
2486 | * syntax.c (scan_words): | |
2487 | Always clear immediate_quit on exit. | |
2488 | ||
2489 | 1985-08-30 Richard M. Stallman (rms at mit-prep) | |
2490 | ||
2491 | * process.c (handle_process_output): | |
2492 | Don't use the name `howmany' to avoid possible conflict | |
2493 | with system header files. | |
2494 | ||
2495 | * xdisp.c (decode_mode_spec): | |
2496 | Never try to output 100% -- output 99% instead. | |
2497 | ||
2498 | 1985-08-11 Richard Mlynarik (mly at mit-prep) | |
2499 | ||
2500 | * m-sun.h | |
2501 | Don't define SUN -- "sun" already exists. | |
2502 | Define COMPILER_REGISTER_BUG and use it in a few places in the | |
2503 | source which used to be conditionalized on SUN | |
2504 | ||
2505 | * config.h, config.h.dist | |
2506 | Increase pure size (sigh) | |
2507 | ||
2508 | * search.c (compile_pattern): | |
2509 | Signal an invalid-regexp error if lose. | |
2510 | ||
2511 | 1985-08-09 Richard Mlynarik (mly at mit-prep) | |
2512 | ||
2513 | * term.c (clear_end_of_line) | |
2514 | Calling cmplus before chars output when terminals lacks clreol | |
2515 | (crl@newton.purdue.edu) | |
2516 | ||
2517 | 1985-08-06 Richard Mlynarik (mly at mit-prep) | |
2518 | ||
2519 | * macros.c (end-kdb-macro): | |
2520 | Barf if not defining a macro. | |
2521 | ||
2522 | * doc.c, keymap.c | |
2523 | Interactive for Fdocumentation declaration was wrong, and has been | |
2524 | deleted. (describe-function is what people should be using) | |
2525 | ||
2526 | Make where_is_in_buffer take a firstonly arg to speed up | |
2527 | substitute-command-keys. Make it really use its buf argument. | |
2528 | (crl@newton.purdue.edu) | |
2529 | ||
2530 | * emacs.c (kill-emacs): | |
2531 | If noninteractive and arg is fixnum, return arg as program return | |
2532 | code by exit(arg) | |
2533 | ||
2534 | * search.c (Fsearch_string): | |
2535 | Wasn't initializing translate table based on case-fold-search | |
2536 | ||
2537 | * process.c (deactivate_process): | |
2538 | Fix timing screw if SIGCHLD received in middle of deactivation | |
2539 | (by silogic!eggert@ucla-cs.arpa) | |
2540 | ||
2541 | 1985-08-05 Richard Mlynarik (mly at mit-prep) | |
2542 | ||
2543 | * callint.c | |
2544 | Improve doc of {current-}prefix-arg | |
2545 | ||
2546 | * minibuf.c (Fread_from_minibuffer): | |
2547 | Thought it accepted maximum of 3 args, not 4. | |
2548 | ||
2549 | * sysdep.c (InitDsp): | |
2550 | When you are (sigh) using CBREAK and flow control, C-@ | |
2551 | is botched. Some tables are being initialized to zero (i.e. C-@) | |
2552 | when they should be initialized to -1. More debatably, LDECCTQ is | |
2553 | needed for real, bad flow control. | |
2554 | -- silogic!eggert@ucla-cs.arpa | |
2555 | ||
2556 | 1985-07-21 Richard Mlynarik (mly at mit-prep) | |
2557 | ||
2558 | * sysdep.c (tabs_safe_p): | |
2559 | gtty call was missing fd arg. | |
2560 | ||
2561 | 1985-07-15 Richard M. Stallman (rms at mit-prep) | |
2562 | ||
2563 | * xdisp.c, minibuf.c, fileio.c: | |
2564 | Add * to some variables' doc, remove from others. | |
2565 | ||
2566 | * term.c (ins_del_lines): | |
2567 | Always go to real hpos 0 before insert or delete. | |
2568 | ||
2569 | * buffer.c (init_buffer_once): | |
2570 | Pass correct data type to Fbuffer_flush_undo. | |
2571 | ||
2572 | * term.c (write_standout_marker): | |
2573 | Don't output `se' if it's the same as `so'. | |
2574 | ||
2575 | * window.c (set_window_height): | |
2576 | Pass correct data type (int) when call self at end. | |
2577 | Similar in set_window_width. | |
2578 | ||
2579 | 1985-07-14 Richard M. Stallman (rms at mit-prep) | |
2580 | ||
2581 | * editfns.c (subst-char-in-region): | |
2582 | * casefiddle.c (operate_on_region): | |
2583 | Don't call modify_region before recording the changes. | |
2584 | ||
2585 | * editfns.c (Fgoto_char): | |
2586 | interactively read arg using n, not p. | |
2587 | ||
2588 | * undo.c (RecordChange1): | |
2589 | A local and an arg were both named p. Change arg to bufp. | |
2590 | Fixed bug in undoing the undoing of RecordChange (such as Meta-l). | |
2591 | ||
2592 | * minibuf.c (read_minibuf): | |
2593 | Postpone incrementing MinibufDepth until point where | |
2594 | can no longer quit before setting up to decrement it on quits. | |
2595 | ||
2596 | * fns.c (Fyes_or_no_p): | |
2597 | Use Fsleep_for rather than sleep, to allow immediate quit. | |
2598 | ||
2599 | * abbrev.c (expand_abbrev): | |
2600 | Handle case of scan_words returning 0. | |
2601 | ||
2602 | * casefiddle.c (operate_on_word): | |
2603 | Handle case of scan_words returning 0. | |
2604 | ||
2605 | 1985-07-12 Richard M. Stallman (rms at mit-prep) | |
2606 | ||
2607 | * xdisp.c (display_string): | |
2608 | Regard display chars as unsigned chars. | |
2609 | ||
2610 | 1985-07-12 Richard Mlynarik (mly at mit-prep) | |
2611 | ||
2612 | * callint.c | |
2613 | Stuff was being added to command-history even if aborted out | |
2614 | ||
2615 | 1985-07-11 Richard M. Stallman (rms at mit-prep) | |
2616 | ||
2617 | * process.c: delete-exited-processes is boolean. | |
2618 | ||
2619 | * term.c: | |
2620 | chars_wasted is 0 if no `so' or `se' string; | |
2621 | 0100 | nchars if there is a `so' or `se' string. | |
2622 | Should fix lossage with :sg#0: | |
2623 | ||
2624 | 1985-07-10 Richard M. Stallman (rms at mit-prep) | |
2625 | ||
2626 | * keyboard.c: | |
2627 | Rename waiting to waiting_for_input, no longer static. | |
2628 | In get_char, be sure to clear alarm and zero input_available_clear_word | |
2629 | when thrown to from quit_throw_to_get_char. | |
2630 | ||
2631 | * eval.c (Fsignal): | |
2632 | Crash if waiting_for_input. | |
2633 | ||
2634 | * process.c (create_process): | |
2635 | Set up alarm signal handler before requesting alarm. | |
2636 | ||
2637 | 1985-07-09 Richard M. Stallman (rms at mit-prep) | |
2638 | ||
2639 | * process.c (create_process): | |
2640 | Don't let child change Emacs's values of forkin and forkout. | |
2641 | Use a timer interrupt to unhang `close (forkin)' | |
2642 | since it gets wedged if the child exited already. | |
2643 | ||
2644 | 1985-07-08 Richard M. Stallman (rms at mit-prep) | |
2645 | ||
2646 | * xdisp.c (redisplay_window): | |
2647 | It was returning garbage. | |
2648 | ||
2649 | * keyboard.c, sysdep.c: | |
2650 | Make stuff_char work correctly assuming its arg | |
2651 | is the character to stuff, and always pass it the character. | |
2652 | ||
2653 | 1985-07-07 Richard M. Stallman (rms at mit-prep) | |
2654 | ||
2655 | * dispnew.c, cm.h, sysdep.c: | |
2656 | ospeed must be short, not int. | |
2657 | ||
2658 | * dispnew.c (update_line): | |
2659 | Protect against old being null in call to change_line_highlight. | |
2660 | ||
2661 | * dispnew.c (make_display_lines): | |
2662 | Take account of fact that `free' clobbers the area freed. | |
2663 | ||
2664 | * buffer.c (SefBfp): | |
2665 | Don't check c->major_mode if c is zero. | |
2666 | ||
2667 | * lisp.h, m-*.h: | |
2668 | EXPLICIT_SIGN_EXTEND controls whether to define XINT using shifts. | |
2669 | ||
2670 | 1985-07-05 Richard M. Stallman (rms at mit-prep) | |
2671 | ||
2672 | * cmds.c (newline): | |
2673 | Make it REALLY do auto-filling. | |
2674 | ||
2675 | * term.c (term_init): | |
2676 | Turn on must_write_spaces for Concepts. | |
2677 | Append \E^G! (i/d char within line) to `ti' string for Concepts. | |
2678 | ||
2679 | * dispnew.c (update_line): | |
2680 | If need to do clear-eol but text reaches to right margin, | |
2681 | clear before outputting the last character of text. | |
2682 | ||
2683 | * cm.h, term.c: | |
2684 | Define Wcm.cm_losewrap, which says that reaching right margin | |
2685 | has undefined results. Turn this on for supdup terminals. | |
2686 | ||
2687 | 1985-07-04 Richard M. Stallman (rms at mit-prep) | |
2688 | ||
2689 | * dispnew.c (update_line): | |
2690 | If want to insert chars early in line and delete chars late in line, | |
2691 | do the deletion first. | |
2692 | ||
2693 | * dispnew.c (update_screen): | |
2694 | Round outq down, not to nearest second, to get sleep time. | |
2695 | ||
2696 | 1985-07-03 Richard M. Stallman (rms at mit-prep) | |
2697 | ||
2698 | * term.c (term_init): | |
2699 | Was storing "dc" string in wrong place. | |
2700 | ||
2701 | * term.c (ins_del_lines): | |
2702 | On telerays, indicate that cursor is left in column 0. | |
2703 | ||
2704 | * dispnew.c (line_hash_code): | |
2705 | Make line be null-terminated. | |
2706 | ||
2707 | * dispnew.c (direct_output_for_insert): | |
2708 | Make line remain null-terminated. | |
2709 | ||
2710 | 1985-07-02 Richard M. Stallman,,, (rms at mit-prep) | |
2711 | ||
2712 | * window.c (window_loop, case 5): | |
2713 | Change < to > so get-largest-window gets largest, not smallest. | |
2714 | ||
2715 | * term.c (ins_del_line): | |
2716 | Don't pass negative length arg to bzero, for chars_wasted. | |
2717 | ||
2718 | * editfns.c (init_editfns): | |
2719 | In user full name, discard stuff starting with first comma if any. | |
2720 | Change names of static structure: now user_real_name and | |
2721 | user_full_name. | |
2722 | Clean up AMPERSAND_FULL_NAME code a little. | |
2723 | ||
2724 | 1985-07-01 Richard M. Stallman (rms at mit-prep) | |
2725 | ||
2726 | * minibuf.c: (minibuffer-complete-word): | |
2727 | Fix case of Space in filename, where front of minibuffer | |
2728 | gets deleted by completion. | |
2729 | ||
2730 | * Gross rewrite of display code. No Gosling code left. | |
2731 | Files fixedpoint.* and display.* and Trm*.* flushed. | |
2732 | New files term.c, scroll.c, termhooks.h, termopts.h, | |
2733 | and termchar.h. Many changes in dispnew.c. | |
2734 | ||
2735 | * keyboard.c: make stop_character not static. | |
2736 | ||
2737 | 1985-06-26 Richard M. Stallman (rms at mit-prep) | |
2738 | ||
2739 | * xdisp.c (try_window_id): | |
2740 | If C-k is done at end of next-to-last line, | |
2741 | this fn updates window_end_vpos and cannot leave | |
2742 | window_end_pos nonnegative (it is zero, in fact). | |
2743 | If display is preempted before lines are output, | |
2744 | this is inconsistent. Fix by setting | |
2745 | blank_end_of_window to nonzero. | |
2746 | ||
2747 | 1985-06-25 Richard M. Stallman (rms at mit-prep) | |
2748 | ||
2749 | * cmds.c (Fnewline): | |
2750 | Call the auto fill hook if appropriate. | |
2751 | ||
2752 | * xdisp.c (try_window_id): | |
2753 | If dot is found by compute_motion after xp, record that | |
2754 | permanently. If display_text_line sets dot position wrong | |
2755 | (case where like is killed, dot is at eob and that line | |
2756 | is not displayed), detect and set it again in final compute_motion. | |
2757 | ||
2758 | * display.c, dispnew.c, sysdep.c, xdisp.c: | |
2759 | Rewrite UpdateScreen (now update_screen), | |
2760 | PrintM (now print_scrolling) and init_display; | |
2761 | all vestiges of Gosling code gone. They are now in dispnew.c. | |
2762 | Some changes in how screen_garbaged is handled; | |
2763 | work now done in Fredraw_display. | |
2764 | Minor changes in InitDsp and in minibuf. | |
2765 | ||
2766 | * TrmAmb.c flushed. | |
2767 | * Trm*.c: tt.t_init routine now passed no arguments. | |
2768 | ||
2769 | 1985-06-23 Richard M. Stallman (rms at mit-prep) | |
2770 | ||
2771 | * display.c: include sys/ioctl.h so conditionals work right. | |
2772 | ||
2773 | 1985-06-22 Richard M. Stallman (rms at mit-prep) | |
2774 | ||
2775 | * doprnt.c: Flush extra increment of fmt for %%. | |
2776 | ||
2777 | * search.c (replace-match): | |
2778 | Test of prevc was backwards in determining value for case_action. | |
2779 | ||
2780 | * TrmTERM.h (wipeline): | |
2781 | Update curY and curX when ESC S is sent to Teleray. | |
2782 | * TrmTERM.h (TrmTERM): | |
2783 | Turn off use of LF on Teleray. | |
2784 | ||
2785 | * process.c (pty): Don't turn on FIONBIO. | |
2786 | ||
2787 | 1985-06-18 Richard M. Stallman (rms at mit-prep) | |
2788 | ||
2789 | * process.c (create_process): | |
2790 | Make pty terminal the controlling terminal of the child. | |
2791 | ||
2792 | * fileio.c: Replace %1 with %s in various interactive strings. | |
2793 | I wonder why they said "%1", and whether that ever worked. | |
2794 | ||
2795 | * process.c (change_msgs): | |
2796 | Advance dot if at dot is at end; otherwise don't change dot. | |
2797 | ||
2798 | * search.c (replace-match): | |
2799 | Fix bug in case preservation by initializing `last' for final loop. | |
2800 | ||
2801 | 1985-06-17 Richard M. Stallman (rms at mit-prep) | |
2802 | ||
2803 | * sysdep.c: New file containing interfaces to system-dependent | |
2804 | kernel entries and libraries. | |
2805 | ||
2806 | * aux.c, dsp.c: Files eliminated. | |
2807 | ||
2808 | * m-dual68.h: m- file for Duals running unisoft port. | |
2809 | ||
2810 | * s-uniplus5.0.h: s- file for unisoft port of sys V rel 0. | |
2811 | * s-uniplus5.2.h: s- file for unisoft port of sys V rel 2. | |
2812 | ||
2813 | * syntax.c: Eliminate find-line-comment and find-line-comment-body. | |
2814 | Lisp code should use comment-start-skip to find comments. | |
2815 | ||
2816 | 1985-06-15 Richard M. Stallman (rms at mit-prep) | |
2817 | ||
2818 | * TrmTERM.c: | |
2819 | Suppress use of ^M on telerays. Know that ins line | |
2820 | leaves cursor in column 0 on telerays. | |
2821 | Don't decrement width for :am: terminals; this is an experiment. | |
2822 | ||
2823 | 1985-06-14 Richard M. Stallman (rms at mit-prep) | |
2824 | ||
2825 | * TrmTERM.c (TrmTERM): | |
2826 | Override termcap's so and sg for telerays (xt is set). | |
2827 | ||
2828 | * display.c (hashline): | |
2829 | Don't ignore trailing spaces if tt.t_needspaces is set. | |
2830 | May fix C100 lossage. | |
2831 | ||
2832 | * Various files: minor changes for system V. | |
2833 | ||
2834 | * disp_extern.h: rename as dispextern.h. | |
2835 | ||
2836 | * commands.h (INTERACTIVE): | |
2837 | Be false in batch mode. | |
2838 | ||
2839 | * aux.c: | |
2840 | New file, containing system-dependent subroutines. | |
2841 | ||
2842 | * keyboard.c: | |
2843 | Use new subroutines get_input_pending, stuff_char, | |
2844 | discard_tty_input, in aux.c for now. | |
2845 | ||
2846 | * display.c (term_init): | |
2847 | Use new subroutine init_baud_rate; avoid direct use of gtty. | |
2848 | ||
2849 | * callproc.c: | |
2850 | Use new subroutines wait_without_blocking, setpgrp_of_tty, | |
2851 | child_setup_tty, set_exclusive_use. | |
2852 | ||
2853 | * keyboard.c (EchoThem): | |
2854 | Process quits only if `waiting' is set. | |
2855 | ||
2856 | 1985-06-12 Richard Mlynarik (mly at mit-prep) | |
2857 | ||
2858 | * minibuf.c, callint.c, read.c, mocklisp.c | |
2859 | New function read-from-minibuffer does all you could ever want. | |
2860 | read-minibuffer, eval-minibuffer, read-string take second optional | |
2861 | initial-contents arg. read-input now a synonym for read-string. | |
2862 | ||
2863 | * keymap.c, callint.c, minibuf.c, fns.c, commands.h | |
2864 | Rename MinbufLocalMap to Vminibuffer_local_map, etc | |
2865 | Rename minibuf-local-{,-ns,-completion,must-match}map, | |
2866 | and DefLispVar them (document even!) | |
2867 | => New lisp variables minibuffer-local-map, minibuffer-local-ns-map, | |
2868 | minibuffer-local-completion-map, minibuffer-local-must-match-map. | |
2869 | ||
2870 | 1985-06-12 Richard M. Stallman (rms at mit-prep) | |
2871 | ||
2872 | * keymap.c: | |
2873 | Supply missing defsubr of keymapp. | |
2874 | ||
2875 | 1985-06-11 Richard M. Stallman (rms at mit-prep) | |
2876 | ||
2877 | * callint.c, editfns.c, doprnt.c: | |
2878 | Use new function doprnt instead of _doprnt. | |
2879 | ||
2880 | 1985-06-10 Richard M. Stallman (rms at mit-prep) | |
2881 | ||
2882 | * TrmC100.c: Do termscript output. | |
2883 | ||
2884 | 1985-06-10 Richard Mlynarik (mly at mit-prep) | |
2885 | ||
2886 | * print.c, lisp.h, buffer.c | |
2887 | New function prin1-to-string. | |
2888 | (Needs an initialization done in buffer.c) | |
2889 | ||
2890 | 1985-06-10 Richard M. Stallman (rms at mit-prep) | |
2891 | ||
2892 | * TrmTERM.c: | |
2893 | Fix interaction of XTflag with SGnum (telerays): | |
2894 | Don't put SEstr on most lines; special hair | |
2895 | to erase SOstr when necessary. | |
2896 | ||
2897 | * keyboard.c: | |
2898 | Clear Vquit_flag in read_key_sequence, not in get_char. | |
2899 | This makes it possible to quit out of y-or-n-p again. | |
2900 | ||
2901 | 1985-06-10 Richard Mlynarik (mly at mit-prep) | |
2902 | ||
2903 | * dired.c (file_name_completion) | |
2904 | Check Vquit_flag each time around and quit if requested. | |
2905 | ||
2906 | 1985-06-10 Richard M. Stallman (rms at mit-prep) | |
2907 | ||
2908 | * minibuf.c: Use Tab for completion, not ESC. | |
2909 | ||
2910 | * unexec.c: round bss_start up to page bndry. | |
2911 | ||
2912 | 1985-06-09 Richard M. Stallman (rms at mit-prep) | |
2913 | ||
2914 | * keyboard.c (kbd_buffer_store_char): | |
2915 | Call interrupt_signal for every C-g, even while waiting. | |
2916 | ||
2917 | * keyboard.c (input_available_signal): | |
2918 | If C-g seen, ignore rest of chars already available. | |
2919 | ||
2920 | * keyboard.c (quit_throw_to_get_char): | |
2921 | Don't clear Vquit_flag. Let Lisp program see quit-flag set. | |
2922 | ||
2923 | 1985-06-08 Richard M. Stallman (rms at mit-prep) | |
2924 | ||
2925 | * various files: | |
2926 | Make functions called by internal_with_output_to_temp_window | |
2927 | all return Lisp_Object. | |
2928 | ||
2929 | * bytecode.c (case Bdup): | |
2930 | PUSH (TOP) loses due to invalid assumption about where | |
2931 | autoincrement gets done. | |
2932 | ||
2933 | * read.c (read_vector): | |
2934 | Pass make_pure_vector an int, as it expects, not a Lisp_Object. | |
2935 | ||
2936 | 1985-06-07 Richard Mlynarik (mly at mit-prep) | |
2937 | ||
2938 | * buffer.c | |
2939 | documentation fixes | |
2940 | ||
2941 | 1985-06-07 Richard M. Stallman (rms at mit-prep) | |
2942 | ||
2943 | * TrmTERM.c: | |
2944 | HLflags is now a three-way flag: 1 => line has SOstr, | |
2945 | 2 => line has SEstr, 0 => line has neither. | |
2946 | State 0 results from clearing screen, ins/del line. | |
2947 | ||
2948 | * dispnew.c (preserve_other_columns): | |
2949 | If copying beginning of line from other window, | |
2950 | don't increase length of line beyond last column copied. | |
2951 | ||
2952 | * keyboard.c: | |
2953 | Eliminate `executing' flag. | |
2954 | Quit now always sets Vquit_flag; input code tests it. | |
2955 | ||
2956 | 1985-06-06 Richard Mlynarik (mly at mit-prep) | |
2957 | ||
2958 | * doc.c (Fdocumentation): | |
2959 | Handle sparse keymaps (lists whose car is `keymap') | |
2960 | by way of canned string. | |
2961 | ||
2962 | 1985-06-06 Richard M. Stallman (rms at mit-prep) | |
2963 | ||
2964 | * keyboard.c (kbd_buffer_get_char): | |
2965 | Keep doing gobble_input and waiting, until kbd_count becomes nonzero. | |
2966 | ||
2967 | 1985-06-05 Richard M. Stallman (rms at mit-prep) | |
2968 | ||
2969 | * dired.c (file-name-completion, file-name-all-completions): | |
2970 | Make these functions share most of their code. | |
2971 | Use two passes: first try all filenames that don't end in an | |
2972 | "ignored extension" and, if that yields nothing, try all filenames. | |
2973 | ||
2974 | * doc.c (Fdocumentation): | |
2975 | Handle keyboard macros (symbols with strings as definitions) | |
2976 | with a canned string. | |
2977 | ||
2978 | 1985-06-05 Richard Mlynarik (mly at mit-prep) | |
2979 | ||
2980 | * dired.c (file-name-completion) | |
2981 | Spazz comparing against completion-ignored-extensions (boole!eggert) | |
2982 | That was no spazz, that was a feature - rms. | |
2983 | ||
2984 | 1985-06-05 K. Shane Hartman (shane at mit-prep) | |
2985 | ||
2986 | * cmds.c (end-of-line): Fix documentation. Claimed it moved to | |
2987 | beginning of line. | |
2988 | ||
2989 | * buffer.c (fill-column): Fix typo in documentation. | |
2990 | ||
2991 | 1985-06-04 Richard M. Stallman (rms at mit-prep) | |
2992 | ||
2993 | * bytecode.c: | |
2994 | Make Bread_char check for quit before finishing. | |
2995 | A quit is likely to requested during the read_char. | |
2996 | ||
2997 | 1985-06-04 Richard Mlynarik (mly at mit-prep) | |
2998 | ||
2999 | * dired.c (file-name-completion, file-name-all-completions) | |
3000 | Append "/" to names of directories. | |
3001 | ||
3002 | 1985-06-04 K. Shane Hartman (shane at mit-prep) | |
3003 | ||
3004 | * minibuf.c (Vminibuffer_help_form): | |
3005 | Change the lisp name to be minibuffer-help-form rather than | |
3006 | Vminibuffer-help-form. | |
3007 | ||
3008 | 1985-06-02 Richard M. Stallman (rms at mit-prep) | |
3009 | ||
3010 | * config.h, s-*.h: | |
3011 | Eliminate CBREAK_INPUT and FRONT_END_PROCESS; | |
3012 | INTERRUPT_INPUT just controls default for interrupt_input. | |
3013 | ||
3014 | * dsp.c, keyboard.c, xdisp.c: | |
3015 | Use variable interrupt_input rather than switch INTERRUPT_INPUT. | |
3016 | Don't change stopc/startc if flow_control is nonzero. | |
3017 | ||
3018 | * dsp.c, display.c: | |
3019 | Change OldTchars => old_tchars, etc. | |
3020 | Initialize new tchars from old tchars. | |
3021 | Move setting window to 0 from InitDsp to term_init. | |
3022 | ||
3023 | * dispnew.c (set-input-mode): | |
3024 | New function to set interrupt_input and flow_control. | |
3025 | ||
3026 | * read.c (read_escape): | |
3027 | \ followed by one or two digits unreads following char. | |
3028 | ||
3029 | * TrmTERM.c (flash): | |
3030 | If no bell defined, output C-g. | |
3031 | ||
3032 | * minibuf.c (read_minibuf, read_minibuf_unwind): | |
3033 | Define Vminibuffer_help_form. | |
3034 | Bind help_form to that inside minibuf. | |
3035 | ||
3036 | * callproc.c, doc.c: | |
3037 | Make Vexec_directory end in a slash. | |
3038 | ||
3039 | * process.c (wait_reading_process_input): | |
3040 | Remove debugging trap. It showed that the select had | |
3041 | returned, there was input available, it had not | |
3042 | been read by interrupt level but FASYNC was set. | |
3043 | (Kernel bug). | |
3044 | ||
3045 | * keyboard.c (kbd_buffer_get_char): | |
3046 | If wait_reading_process_input returns and kbd_count stil 0, | |
3047 | gobble the buffered input. | |
3048 | ||
3049 | 1985-06-01 Richard M. Stallman (rms at mit-prep) | |
3050 | ||
3051 | * dispnew.c (sit-for): | |
3052 | Gobble any pending input before calling wait_reading_process_input. | |
3053 | ||
3054 | * process.c (wait_reading_process_input): | |
3055 | Dump core if `select' says input available and did not | |
3056 | already get a SIGIO interrupt for it. | |
3057 | ||
3058 | * emacs.c (main): | |
3059 | Detect -batch even when it's the only arg. | |
3060 | ||
3061 | * minibuf.c (read_minibuf): | |
3062 | Don't call UpdateScreen if in batch mode. | |
3063 | ||
3064 | * keyboard.c: | |
3065 | Use sigsetmask to prevent recursive SIGIO handling | |
3066 | rather than kill, as previous change caused | |
3067 | kbd_buffer_get_char to return -1 mysteriously. | |
3068 | Change kbd_buffer_get_char never to return -1; | |
3069 | kill emacs on eof in batch mode, abort on eof non-batch. | |
3070 | ||
3071 | * keyboard.c: | |
3072 | Eliminate dribble_count. fflush (dribble) after each char. | |
3073 | ||
3074 | * undo.c, undo.h: | |
3075 | Define Uunmod; record when buffer becomes "modified" | |
3076 | and clear out "modified" if undo past there. | |
3077 | ||
3078 | * undo.c (RecordDelete): | |
3079 | Correct the condition for combining with previous delete. | |
3080 | ||
3081 | * keyboard.c (kbd_buffer_get_char): | |
3082 | Actually cause SIGIO if have unread input. | |
3083 | ||
3084 | * display.c, TrmTERM.c: | |
3085 | Do fflush(termscript) in UpdateScreen, not in TrmTERM. | |
3086 | ||
3087 | 1985-05-31 Richard M. Stallman (rms at mit-prep) | |
3088 | ||
3089 | * TrmVT100.c: Generate termscript output. | |
3090 | ||
3091 | * dsp.c: define request_sigio, unrequest_sigio. | |
3092 | ||
3093 | * xdisp.c (DoDsp): | |
3094 | Unrequest sigio on entry, rerequest on exit. | |
3095 | Thus, no interrupts during redisplay. | |
3096 | ||
3097 | * keyboard.c (detect_input_pending): | |
3098 | Check FIONREAD even if INTERRUPT_INPUT. | |
3099 | ||
3100 | * m-*.h: | |
3101 | Add macros LOAD_AVE_TYPE and LOAD_AVE_CVT | |
3102 | ||
3103 | * fns.c (load-average): Use those two. | |
3104 | Makes it work on suns. | |
3105 | ||
3106 | * keyboard.c (kbd_buffer_get_char): | |
3107 | #ifndef INTERRUPT_INPUT, always read at least 1 character. | |
3108 | ||
3109 | 1985-05-30 Richard M. Stallman (rms at mit-prep) | |
3110 | ||
3111 | * display.c (UpdateScreen): | |
3112 | Allow preemption at beginning if already input avail. | |
3113 | ||
3114 | * keyboard.c (EchoKeys): | |
3115 | If 1st char is help-char, echo it specially verbosely. | |
3116 | ||
3117 | * keymap.c (access_keymap): | |
3118 | If nothing in keymap under specified character code, | |
3119 | try converting to lower case and look again. | |
3120 | ||
3121 | * data.c (listp, nlistp, eq, null): | |
3122 | Use EQ or NULL rather than old slow comparisons. | |
3123 | ||
3124 | * data.c (symbol-function, symbol-value): | |
3125 | Pass Qboundp or Qfboundp as extra info when signal void-symbol. | |
3126 | ||
3127 | 1985-05-29 Richard M. Stallman (rms at mit-prep) | |
3128 | ||
3129 | * fileio.c (add-name-to-file): | |
3130 | If no query or error about new name existing, delete it | |
3131 | to avoid system error later. | |
3132 | ||
3133 | * buffer.c (generate-new-buffer): | |
3134 | Remove duplicate declaration of local var `name'. | |
3135 | ||
3136 | * Makefile: | |
3137 | Assume distribution contains paths.h.dist and config.h.dist. | |
3138 | Copy them into paths.h and config.h if those don't exist; | |
3139 | warn user if those exist but are older. | |
3140 | ||
3141 | * dispnew.c (Ding): | |
3142 | If -batch mode, just output ^G. | |
3143 | ||
3144 | * cm.c (mytgoto): | |
3145 | Eliminate "magic" treatment of \0 and \004. | |
3146 | Flush cmevalcost, cmput; use evalcost, put. | |
3147 | ||
3148 | * TrmTERM.c: Always set DontSend to zero. | |
3149 | ||
3150 | * alloca.s: | |
3151 | Add pyramid version of alloca, and _longjmp and _setjmp. | |
3152 | ||
3153 | * data.c, eval.c, fns.c, read.c, window.c: | |
3154 | To get around Pyramid C compiler bugs: | |
3155 | Eliminate many constructs return FOO = BAR; | |
3156 | Eliminate some cases of calling function computed | |
3157 | by conditional expression. | |
3158 | ||
3159 | * dired.c (directory-files): | |
3160 | Avoid making double slash if spec'd directory ends in slash. | |
3161 | ||
3162 | * callint.c (case 'b'): | |
3163 | Don't allow a minibuffer to be the default buffer. | |
3164 | ||
3165 | 1985-05-28 Richard Mlynarik (mly at mit-prep) | |
3166 | ||
3167 | * minibuffer.c (read_minibuf) | |
3168 | Added variable enable-recursive-minibuffers | |
3169 | (enable_recursive_minibuffers) so that Real Men may confuse | |
3170 | themselves. (Some commands such as c-h f can also use it) (This | |
3171 | is not quite the right thing for commands to bind to read their | |
3172 | arguments since it enables arbitrary recursiveness, not just one | |
3173 | level to read args) | |
3174 | ||
3175 | * buffer.c | |
3176 | Wrote generate-new-buffer --- like gentemp for buffer names. | |
3177 | Rewrote create-file-buffer into lisp code in lisp/files.el | |
3178 | ||
3179 | 1985-05-27 Richard M. Stallman (rms at mit-prep) | |
3180 | ||
3181 | * crt0.c: | |
3182 | Make each machine type use completely separate code. | |
3183 | Put in code for pyramid. | |
3184 | ||
3185 | * display.h, Trm.h, disp_extern.h: | |
3186 | Move InverseVideo to Trm.h, rename to inverse_video. | |
3187 | Rename VisibleBell to visible_bell. | |
3188 | Move ScreenLength and ScreenWidth to Trm.h. | |
3189 | Rename ScreenGarbaged to screen_garbaged. | |
3190 | ||
3191 | * TrmVT100.c: | |
3192 | Eliminate VT100_INVERSE. People can do this with setq. | |
3193 | ||
3194 | * fixedpoint.c: | |
3195 | Use new variable FPdebug instead of RDdebug. | |
3196 | Include only Trm.h and fixedpoint.h, not display.h. | |
3197 | ||
3198 | * display.c: | |
3199 | IDdebug and RDdebug are mentioned in this file only. | |
3200 | ||
3201 | * xdisp.c (decode_mode_spec): | |
3202 | Display "Narrow" after minor modes if buffer has any clipping. | |
3203 | ||
3204 | * keyboard.c (command_loop_1): | |
3205 | Kill Emacs on end of file only if not executing a macro. | |
3206 | ||
3207 | 1985-05-26 Richard M. Stallman (rms at mit-prep) | |
3208 | ||
3209 | * display.h, Trm.h: | |
3210 | Move VisibleBell and baud_rate to Trm.h. | |
3211 | Define tt.t_padspeed, minimum speed at which padding needed (pb#). | |
3212 | ||
3213 | * Trm*.c, dispnew.c (Ding): | |
3214 | tt.t_flash is always set; it flashes the screen or beeps using `bl='. | |
3215 | ||
3216 | * TrmTERM.c: | |
3217 | Use `IC', `DC', `rp' and `bl' termcap strings when appropriate. | |
3218 | No longer look for nonstandard `nn' or `rn' flags or `ds' string. | |
3219 | Do not assume ^M and ^J can be used unless `cr' or 'do' or `nl' | |
3220 | says so. | |
3221 | ?? Make second arg to tputs always number of LINES below cursor | |
3222 | because the termcap documentation says so. Is this right ?? | |
3223 | ||
3224 | 1985-05-24 Richard M. Stallman (rms at mit-prep) | |
3225 | ||
3226 | * keymap.c (push_key_description): | |
3227 | Use DEL for 0177, RET for 015, LFD for 012, TAB for 011, SPC for 040. | |
3228 | ||
3229 | * search.c (search_buffer): | |
3230 | For n < 0 re-search, test search_regs.end[0] vs startpos, not pos. | |
3231 | ||
3232 | * callint.c (call-interactively): | |
3233 | If interactive spec is a list, use num_input_chars | |
3234 | to tell whether it read args from the command input. | |
3235 | ||
3236 | * keyboard.c (get_char): | |
3237 | Increment new variable num_input_chars on each call. | |
3238 | ||
3239 | * All .h files: make all variable definitions `extern'. | |
3240 | ||
3241 | * buffer.c, window.c, xdisp.c, display.c, dispnew.c, | |
3242 | syntax.c, fixedpoint.c: Put in one non-extern definition | |
3243 | for each variable that used to have them only in the .h files. | |
3244 | ||
3245 | * keyboard.c: | |
3246 | Refs to Cant1WinOpt should say windows_or_buffers_changed. | |
3247 | ||
3248 | * buffer.c (kill-all-local-variables): | |
3249 | Don't clobber a variable currently set up for some other buffer. | |
3250 | Was losing the other buffer's recent setq's if the other | |
3251 | buffer had the same variable local. | |
3252 | ||
3253 | 1985-05-23 Richard M. Stallman (rms at mit-prep) | |
3254 | ||
3255 | * buffer.c (list_buffers_1): | |
3256 | Put back the lost column in the entries | |
3257 | rather than removing it from the header. | |
3258 | ||
3259 | 1985-05-23 Richard M. Stallman (rms at mit-prep) | |
3260 | ||
3261 | * xdisp.c (decode_mode_spec): | |
3262 | Display "Abbrev" if abbrev_mode is set. | |
3263 | Don't clobber past end of tbuf. | |
3264 | ||
3265 | * keyboard.c: | |
3266 | kbd_buffer_get_char: If noninteractive, read from stdin. | |
3267 | open-dribble-file: take filename as argument. | |
3268 | command_loop_1: on end of file, call kill-emacs. | |
3269 | ||
3270 | 1985-05-22 Richard M. Stallman (rms at mit-prep) | |
3271 | ||
3272 | * window.c (save_window_restore): | |
3273 | Set windows_or_buffers_changed. | |
3274 | ||
3275 | * buffer.c (list_buffers_1): | |
3276 | Print % not R for read-only buffers. | |
3277 | ||
3278 | * cmds.c (SelfInsert): | |
3279 | !NULL => NULL testing buffer read onliness for abbrev expansion. | |
3280 | ||
3281 | * eval.c (interactive-p): | |
3282 | Return nil if called within expression being evalled | |
3283 | by a built-in C function such as eval-region. | |
3284 | ||
3285 | 1985-05-22 K. Shane Hartman (shane at mit-prep) | |
3286 | ||
3287 | * config.h, TrmXTERM.c, display.c | |
3288 | Change define for XWINDOW to XVSWINDOW because XWINDOW | |
3289 | is defined as a macro in lisp.h. | |
3290 | ||
3291 | 1985-05-22 Richard M. Stallman (rms at mit-prep) | |
3292 | ||
3293 | * print.c (printchar, strout): | |
3294 | Output minibuffer chars to stdout if noninteractive. | |
3295 | ||
3296 | * xdisp.c (message, message1): | |
3297 | Noninteractively, output newline if previous output was from print. | |
3298 | ||
3299 | * keyboard.c (cmd_error): | |
3300 | If noninteractive, force out error message at end. | |
3301 | ||
3302 | * keyboard.c (get_char): | |
3303 | Fix bugs in handling help_char: | |
3304 | do a redisplay after restoring window configuration; | |
3305 | clear NextK after reading a space. | |
3306 | ||
3307 | * buffer.c (other-buffer): | |
3308 | Init notsogood to nil so don't return garbage value. | |
3309 | ||
3310 | * buffer.c (list_buffers_1): | |
3311 | Put back missing space before each buffer name. | |
3312 | ||
3313 | * buffer.c (SetBfp): | |
3314 | New code to dump core when paragraph-start gets its global value | |
3315 | in a buffer in Lisp mode. | |
3316 | ||
3317 | * TrmXTERM.c: new file. Used for interface to | |
3318 | MIT's `X' window system. | |
3319 | ||
3320 | 1985-05-22 Richard Mlynarik (mly at mit-prep) | |
3321 | ||
3322 | * buffer.c (list_buffers_1): | |
3323 | made list-buffers print "R" if buffer read-only. | |
3324 | (No change is needed to lisp/buff-menu.el) | |
3325 | ||
3326 | 1985-05-22 Richard M. Stallman (rms at mit-prep) | |
3327 | ||
3328 | * keyboard.c (get_char): | |
3329 | Use (in effect) save-window-excursion to flush the window | |
3330 | made by or for the help-form. | |
3331 | * minibuf.c: | |
3332 | Flush remove_help_window and its DefBoolVar. | |
3333 | * lisp.h: | |
3334 | Flush obsolete externs for remove_help_window and flushhelp. | |
3335 | ||
3336 | * config.h: increase maximum screen dimensions to 300x300. | |
3337 | Define XWINDOW flag (off by default). | |
3338 | ||
3339 | * Trm.h: add tt.t_socketinput slot, and t_ReadSocket slot. | |
3340 | * dsp.c, keyboard.c: code for using those slots. | |
3341 | * display.c: install code for XVSWINDOW. | |
3342 | ||
3343 | * dispnew.c (sleep-for): flush spurious reference to | |
3344 | nonexistent variable time_limit. | |
3345 | ||
3346 | 1985-05-21 Richard Mlynarik (mly at mit-prep) | |
3347 | ||
3348 | * The documentation for substitute-command-keys was fazed out by | |
3349 | its own hairy heuristics! Moby quoting (past the c compiler, and | |
3350 | then past substitute-command-keys) added. | |
3351 | People should be careful of this. Also, hacks which make | |
3352 | printed documentation out of doc strings need to know about this | |
3353 | cruft. | |
3354 | ||
3355 | 1985-05-21 Richard M. Stallman (rms at mit-prep) | |
3356 | ||
3357 | * TrmTERM.c, dispnew.c, cm.c: | |
3358 | open-termscript opens a termscript file, | |
3359 | into which are written a copy of all characters (except padding) | |
3360 | sent to the terminal. | |
3361 | ||
3362 | * Makefile: | |
3363 | Recompute DOCSTR file only if other things have changed. | |
3364 | ||
3365 | 1985-05-20 Richard M. Stallman (rms at mit-prep) | |
3366 | ||
3367 | * keyboard.c (command-execute): | |
3368 | Use do_autoload. | |
3369 | ||
3370 | * data.c (car, cdr, car-safe, cdr-safe): | |
3371 | Open code them. Flush carcdr and car_1. | |
3372 | ||
3373 | * eval.c: | |
3374 | Define do_autoload to autoload a function and barf if that | |
3375 | did not define it. Use this in eval, apply, funcall. | |
3376 | Make Fautoload do nothing if function is already defined. | |
3377 | Open code the loops that trace function definitions of symbols. | |
3378 | ||
3379 | 1985-05-19 Richard M. Stallman (rms at mit-prep) | |
3380 | ||
3381 | * buffer.c, window.c: | |
3382 | Change algorithm for reordering Vbuffer_alist: | |
3383 | select-window now calls record_buffer. | |
3384 | other-buffer now prefers buffers not visible in any window. | |
3385 | bury-buffer, which puts a buffer at the end of the list, | |
3386 | is now defined. | |
3387 | ||
3388 | * keyboard.c (get_char): | |
3389 | Make first char of a command go into keybuf | |
3390 | even if it is being reread. | |
3391 | Make all chars go into keybuf if coming from a macro. | |
3392 | ||
3393 | * process.c (make_process): | |
3394 | Fix bug where incremented-for-uniqueness name wasn't really used. | |
3395 | ||
3396 | 1985-05-17 Richard M. Stallman (rms at mit-prep) | |
3397 | ||
3398 | * undo.c: | |
3399 | Fix bug of reinserting/replacing undone chars | |
3400 | wrapping around wrong at end of undo buffer. | |
3401 | Use tembuf to handle properly a Uchange | |
3402 | of length > half the undo buffer. | |
3403 | ||
3404 | 1985-05-16 Richard M. Stallman (rms at mit-prep) | |
3405 | ||
3406 | * window.c (set-window-start): | |
3407 | accept third arg NOFORCE meaning don't set w->force_start. | |
3408 | ||
3409 | * indent.c (compute_motion): | |
3410 | Clear tab_offset when scanning past a newline. | |
3411 | ||
3412 | * lisp.h, bytecode.c: define Qbytecode. | |
3413 | * eval.c: fix interactive-p to look past a call to `bytecode'. | |
3414 | Makes interactive-p work in compiled code. | |
3415 | ||
3416 | * xdisp.c: | |
3417 | Supply missing taboffset arg to display_text_line from DoDsp. | |
3418 | Fixes bug that inserting a character could shift line sideways. | |
3419 | ||
3420 | * display.c: | |
3421 | Remove spurious * in setting terminal_driver. | |
3422 | ||
3423 | * lisp.h: | |
3424 | Remove some obsolete externs for symbols that no longer exist. | |
3425 | ||
3426 | * dispnew.c: | |
3427 | Define send-string-to-terminal. | |
3428 | ||
3429 | * TrmTERM.c, TrmVT100.c: | |
3430 | Turn on alternate keypad on entry, turn off on exit. | |
3431 | ||
3432 | 1985-05-16 Richard Mlynarik (mly at mit-prep) | |
3433 | ||
3434 | * fileio.c: added optional third arg ok-if-exists to | |
3435 | rename-file, make-symbolic-link, add-name-to-file and copy-file. | |
3436 | If the destrination filename exists, then if ok-if-exists | |
3437 | is non-nil it is silently bashed; else if the function was | |
3438 | called interactively the user is queried as to whether s/he | |
3439 | wants to bash the file; otherwise (ok-if-exists nil, non-interactive) | |
3440 | a file-already-exists error is signalled. | |
3441 | ||
3442 | * window.c: made get-window-buffer return nil if get-buffer of | |
3443 | its arg returns nil, rather than erring. | |
3444 | ||
3445 | 1985-05-14 Richard M. Stallman (rms at mit-prep) | |
3446 | ||
3447 | * dispnew.c, display.c: | |
3448 | Function scroll_max_lines_saved returns # lines in common | |
3449 | between PhysScreen and DesiredScreen. | |
3450 | UpdateScreen skips i/d calc on big window, fast screen | |
3451 | when there are too few lines in common. | |
3452 | ||
3453 | 1985-05-13 Richard M. Stallman (rms at mit-prep) | |
3454 | ||
3455 | * indent.c: | |
3456 | Fix cursor position calculation for continued tabs. | |
3457 | New tab_offset argument to compute_motion. | |
3458 | ||
3459 | * xdisp.c: | |
3460 | Make display of continued tabs work. | |
3461 | ||
3462 | * Makefile: | |
3463 | Do inc-version in a separate invocation of temacs | |
3464 | to make the dumped xemacs smaller. | |
3465 | ||
3466 | * eval.c: | |
3467 | Put star in front of XSUBR (fun)->function where it is being called. | |
3468 | ||
3469 | * alloc.c: | |
3470 | Mark buffers when pointers to them are found, | |
3471 | like all other Lisp object types. | |
3472 | ||
3473 | * buffer.h, buffer.c: | |
3474 | Created chain `all_buffers' containing all existing buffers | |
3475 | not yet reclaimed by gc, including dead buffers. | |
3476 | ||
3477 | * read.c: | |
3478 | Fix up register declarations. | |
3479 | ||
3480 | * emacs.c, dsp.c, xdisp.c: | |
3481 | Define -batch switch: do no redisplay, don't change terminal modes. | |
3482 | Lisp variable `noninteractive' is non-nil in this mode. | |
3483 | ||
3484 | * syntax.c: | |
3485 | Made most scanning loops turn on immediate_quit. | |
3486 | ||
3487 | * eval.c: | |
3488 | Fsignal clears immediate_quit. | |
3489 | ||
3490 | 1985-05-12 Richard M. Stallman (rms at mit-prep) | |
3491 | cmds.c: modified `newline' to insert before an existing | |
3492 | newline before dot. This produces better redisplay. | |
3493 | xdisp.c: fixed bug that modifying buffer displayed in two windows | |
3494 | failed to redisplay both mode lines with stars. | |
3495 | xdisp.c: try_window_id: if scrolling upward and changed text is empty | |
3496 | scroll up all the lines that fit below bp. | |
3497 | xdisp.c: introduce num_contin, to display tabs right in contin. lines | |
3498 | doc.c: define substitute-command-keys, using crl@purdue's code. | |
3499 | Make `documentation' call it. | |
3500 | eval.c, fns.c, bytecode.c: put in register decls for Lisp_Objects. | |
3501 | saved 2500 bytes of object code. | |
3502 | ||
3503 | 1985-05-11 Richard M. Stallman (rms at mit-prep) | |
3504 | editfns.c: Put in code for & in fullname, | |
3505 | under AMPERSAND_FULL_NAME flag. | |
3506 | lisp.h: Install NO_UNION_TYPE flag in lisp.h. | |
3507 | This means XMARKBIT can no longer be on left side of =. | |
3508 | New macros XMARK and XUNMARK and XSETMARKBIT are used | |
3509 | instead. | |
3510 | alloc.c, marker.c: use XMARK, XUNMARK, XSETMARKBIT where needed. | |
3511 | TrmTERM.c: Ignore `xs' termcap flag. | |
3512 | Always use the SEstr on sg >= 0 terminals. | |
3513 | minibuf.c: Don't allow entry to minibuffer | |
3514 | while minibuffer is selected. | |
3515 | ||
3516 | ||
3517 | \f | |
3518 | Local Variables: | |
3519 | mode: indented-text | |
3520 | eval: (auto-fill-mode 1) | |
3521 | left-margin: 8 | |
3522 | fill-column: 74 | |
3523 | version-control: never | |
3524 | End: |