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