# HG changeset patch # User Dave Love # Date 938623049 0 # Node ID 8f14d08e19f75bdfde55b79ff07bd01d61bbc4ef # Parent ac7e9e5e2ccb23d4971738d969b239f8758600fd # diff -r ac7e9e5e2ccb -r 8f14d08e19f7 lisp/ChangeLog.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/ChangeLog.1 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,3247 @@ +1986-05-05 Richard M. Stallman (rms at prep) + + * isearch.el (isearch): + Fix bug extending a search string in place + in reverse regexp search. + +1986-05-02 Richard M. Stallman (rms at prep) + + * mh-e.el (mh-get-field): Make regexp accept values starting + with non-letters. + +1986-04-30 Richard M. Stallman (rms at prep) + + * rnews.el (news-get-new-news): + Avoid lossage if a news group is subscribed to twice. + +1986-04-29 Richard M. Stallman (rms at prep) + + * page.el (count-lines-page): + Fine end of page properly when it's at end of buffer with no newline. + +1986-04-25 Richard M. Stallman (rms at prep) + + * man.el (manual-entry): + Pass more selective arg to file-name-all-completions. + +1986-04-22 Richard M. Stallman (rms at prep) + + * fill.el (fill-region-as-paragraph): + Avoid infinite loop if have a too-wide word + with a fill prefix containing a space. + +1986-04-16 Richard M. Stallman (rms at prep) + + * term/xterm.el (x-get-default-args): + Handle `reversevideo' last. Test switches with "on", not "On", + since that is what X uses. + +1986-04-14 Richard M. Stallman (rms at prep) + + * compile.el (compile1): Try interrupt-process first + when getting rid of old compilation process. + + * text-mode.el: Set up text-mode-abbrev-table at load time + since all text-related modes use it. + + * loadup.el: Don't change the major mode. Leave as fundamental. + * startup.el: After init file, use initial-major-mode + as major mode to select in *scratch*. + This avoids problems when .emacs wants to set variables globally + that are local in lisp-interaction-mode. + +1986-04-12 Richard M. Stallman (rms at prep) + + * replace.el (perform-replace): + Save and restore the match-data around call to read-char. + Mysterious bug of replacing the wrong characters + was due to display-time-filter running inside read-char. + Also make the C-w option set `replaced' to t, not `done'. + +1986-04-11 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-nuke-pinhead-header): + Deleted code to delete old Date: line, since new one is made + only if had no old one. + +1986-04-10 Richard M. Stallman (rms at prep) + + * rnews.el (news-set-current-certifiable): + Follow symlinks before looking up the attributes. + + * time.el (display-time): + Specify nil for process's buffer ab initio; + avoid C-g timing error. + +1986-04-07 Richard M. Stallman (rms at prep) + + * compile.el (kill-{compilation,grep}): + Use interrupt-process, not kill-process, so make can delete + the output file being produced. + +1986-04-06 Richard M. Stallman (rms at prep) + + * paths.el (sendmail-program): + Always use sendmail if bsd, even if it does not appear to exist. + +1986-04-05 Richard M. Stallman (rms at prep) + + * bytecomp.el (batch-byte-compile): + Use batch-byte-compile-file, not byte-compile-file. + +1986-04-04 Richard M. Stallman (rms at prep) + + * files.el (set-auto-mode): + Bind case-fold-search only over small pieces of code, + not including the major mode function. + + * rmail.el (rmail-nuke-pinhead-header): + Don't kill the line after Date: along with Date:. + +1986-03-31 Richard M. Stallman (rms at prep) + + * man.el: fix stupid error in arg to file-name-all-completions. + +1986-03-28 Richard M. Stallman (rms at prep) + + * info.el (Info-tagify): + When restoring old restriction, bring it inside final buffer size. + +1986-03-27 Richard M. Stallman (rms at prep) + + * rnews.el (news-mode): Run news-mode-hook. + + * rnews.el (news-get-pruned-list-of-files): + Don't discard first two files; . and .. are not first on Apollo. + +1986-03-26 Richard Mlynarik (mly at prep) + + * indent.el (edit-tab-stops): + Go to character 0 so editing happens in right place + +1986-03-24 Richard M. Stallman (rms at prep) + + * mail-utils.el (mail-strip-quoted-names): + Don't strip "foo"@host. + +1986-03-22 Richard M. Stallman (rms at prep) + + * mail-utils.el (rmail-dont-reply-to): + Default names to flush include all starting with "info-". + For user's own name, match only if ends at end of word. + +1986-03-21 Richard M. Stallman (rms at prep) + + * paths.el (mh-progs, mh-lib): Try two alternatives for these. + + * paths.el (rmail-spool-directory): Say $LOGNAME for usg. + +1986-03-20 Richard M. Stallman (rms at prep) + + * rmail.el (rmail): + Move a forward-char so it isn't done if convert is t. + +1986-03-18 Richard M. Stallman (rms at prep) + + * paths.el (news-inews-program): + Add new possibility /usr/lib/news/inews. + + * rmail.el (rmail): + Detect Unix format messages added after last Babyl message + and if so call rmail-convert-to-babyl-format. + + * mail-utils.el (rmail-dont-reply-to): + Use LOGNAME if no USER env variable. + + * paths.el (news-inews-program): + Try various pathnames and use the one that exists. + +1986-03-17 Richard M. Stallman (rms at prep) + + * sendmail.el (mail-do-fc): + Put a newline at front of the message written in the file. + +1986-03-15 Richard M. Stallman (rms at prep) + + * rnews.el: Installed king@kestrel's changes: + Correct reentrance bug, don't bother with groups that + received no new traffic since last read completely, find out + what traffic a group has available much more quickly when + possible, do some completing reads for group names. + + Also adds the 'c' command to copy a message. + +1986-03-15 Bill Rozas (jinx at prep) + + * scheme.el: (scheme-zap-name) Uses expand-file-name to obtain an + absolute pathname. + +1986-03-15 Richard M. Stallman (rms at prep) + + * replace.el (perform-replace): + Hack for preventing loops matching null strings at same place + was also preventing them at successive characters. Fixed. + +1986-03-13 Bill Rozas (jinx at prep) + + * scheme.el: (scheme-zap-name) change it back to fromedit.zap + since that is where scheme expects it and it is too much work to + change scheme right now. This interface is obsolete anyway, but + some people (athena) still use it. + +1986-03-13 Richard M. Stallman (rms at prep) + + * mail-utils.el (mail-strip-quoted-names): + Don't delete <...> and surroundings if there's a comma inside. + +1986-03-12 Richard Mlynarik (mly at prep) + + * shell.el (shell) + If no environment variable SHELL, default to /bin/sh + +1986-03-12 Leonard H. Tower Jr. (tower at prep) + + * rnews.el (news-mail-reply): + didn't work if point was not at (point-min). + added (goto-line (point-min)). + +1986-03-11 Richard M. Stallman (rms at prep) + + * loadup.el: If CANNOT_DUMP, don't copy DOC + to name with version number. + +1986-03-10 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-reply): Delete "re: " only if at front of subject. + + * files.el (basic-save-buffer): + Call expand-file-name; avoid setting default-directory to nil. + + * paths.el: Look for name `hpux', not `hp-ux'. + +1986-03-08 Richard M. Stallman (rms at prep) + + * scheme.el (scheme-zap-name): + Change this to be a temp name in /tmp. + +1986-03-07 Sundar Narasimhan (sundar at prep) + + * rnews.el: fix bug in news-get-new-news. (news-current-news-group + should be nil on startup). + +1986-03-07 Bill Rozas (jinx at prep) + + * scheme.el: autoloads from xscheme.el + + * xscheme.el: New file. Implements inferior-scheme-mode and + related commands. Similar (almost a query replace of) + inferior-lisp-mode in shell.el + +1986-03-07 Richard M. Stallman (rms at prep) + + * options.el: Replace real ctl chars with suitable escapes. + + * telnet.el: Replace real ctl chars with suitable escapes. + Fill long line in a doc string. + +1986-03-05 Richard M. Stallman (rms at prep) + + * scheme.el: Considerable rewrite by jinx, already tested. + + * rmail.el (rmail-quit): + Don't use the summary buffer as the buffer to select. + + * rmail.el (rmail-convert-to-babyl-format): + 1. Position point correctly at end of Unix-fmt message. + 2. Handle failure to find expected end of Babyl-format message. + +1986-03-03 Richard M. Stallman (rms at prep) + + * files.el (revert-buffer): + Don't lock the file being reverted. + + * term/xterm.el: + Install complete rewrite from Athena. + Change it so that if Emacs is not compiled for X + nothing is done except define a few functions. + +1986-03-03 Leonard H. Tower Jr. (tower at prep) + + * rnews.el (news-add-news-group) + Fixed bug that was putting "/"'s in newsgroups names in .newsrc + instead of "."'s. + +1986-03-03 Richard M. Stallman (rms at prep) + + * simple.el (kill-region): + Add to doc string a cross-reference to M-w. + + * loaddefs.el (query-replace{,-regexp}): + Improve documentation of use of Help. + + * emacsbug.el: + Include machine name and system type in initial text. + +1986-03-02 Richard M. Stallman (rms at prep) + + * shell.el (shell-send-input): + Ignore errors happening while trying to hack default-directory. + + * time.el (display-time-filter): + Find start of an output message as NN:, not end as ], + since the ] appears at the end only on 4.2. + + * paths.el: + Make criterion for using sendmail be: if the file sendmail exists. + +1986-03-01 Richard M. Stallman (rms at prep) + + * loadup.el: Change DOCSTR to DOC. + +1986-02-25 Richard M. Stallman (rms at prep) + + * mail-utils.el (mail-strip-quoted-names): + Supply missing brackets around some sets in regexps. + +1986-02-22 Richard M. Stallman (rms at prep) + + * abbrev.el (write-abbrev-file): + Get value of abbrev-file-name from the correct buffer. + + * startup.el (command-line-1): + Use unwind-protect to delete the startup-message + from the buffer. + +1986-02-21 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-parse-inbox-file, rmail-nuke-pinhead-header): + Allow spaces within quotes in sender in unix-style From line. + +1986-02-20 Richard Mlynarik (mly at prep) + + * info.el (Info-validate): + Node-names are case-insensitive, but assoc is case-sensitive + Separate out function Info-validate-tags-table + +1986-02-19 Richard M. Stallman (rms at prep) + + * c-mode.el (indent-c-exp): + Fix indentation of comments, both after text and on separate + lines. Fix indentation of first statement in a block when comment + precedes it. + + * rmail.el (rmail-nuke-pinhead-header): + Keep either the sender or the date or both, whichever is + not otherwise mentioned in the header. + +1986-02-18 Richard M. Stallman (rms at prep) + + * loaddefs.el (auto-mode-alist): ".sty" -> TeX-mode. + +1986-02-10 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-quit): + It was burying the wrong buffer. + +1986-02-09 Richard M. Stallman (rms at prep) + + * lpr.el: + Put "Emacs buffer" at end of job title, not beginning. + +1986-02-07 Richard M. Stallman (rms at prep) + + * paths.el: Add slashes at end of mh-lib and mh-progs. + + * mail-utils.el (rmail-dont-reply-to): + If "foo" is in rmail-dont-reply-to-names, + flush names like bar!foo. + + * simple.el (eval-expression): + Remove the hack to remove `eval-expression from the command + history. It was not working before because of the bug in + interactive-p. Now that it works, it loses because without the + explicit use of eval-expression, the value will not be printed + when the command is redone. + + * info.el: + (Info-goto-node): Use regexps to do all the blank stripping. + (Info-edit-mode): Don't use \\[...] in the doc string. + (Info-menu): Revert most changes in making completion list. + Also, restore original point before calling completing-read. + (Info-find-node): Use new strategy, like the original one + except that if an error happens go back to the previous node. + Faster in the usual case (where no error), and simpler. + Do not allow abbreviations for node names. + If tag table, get immediate error on node not in it. + +1986-02-06 Richard M. Stallman (rms at prep) + + * text-mode.el (text-mode-syntax-table): + Make " and \ punctuation, not whitespace. + +1986-02-06 Richard Mlynarik (mly at prep) + + * info.el (Info-find-node): + Fix braino. + Also, allow abbreviations for node names. + Info-tagify: insert tags in forward order so that + an abbrev finds the textually first possibility rather than the + last. + +1986-02-06 Richard M. Stallman (rms at prep) + + * paths.el: Conditionalize some filenames for hpux. + + * simple.el (backward-delete-char-untabify): + Don't screw up value of point if hit beg of buffer. + +1986-02-05 Richard M. Stallman (rms at prep) + + * mh-e.el (mh-insert-prefix-string): + Fix typo in arg to replace-regexp. + +1986-02-05 Richard Mlynarik (mly at prep) + + * info.el: + Completely rewrite Info-find-node so that it doesn't + blow out on nonexistent nodes/files + + Rewrite Info-goto-node through the Magic of Regular Expressions. + + Make interactive part of Info-menu be byte-compiled and speed up + in various other ways. + +1986-02-05 Richard M. Stallman (rms at prep) + + * tags.el (find-tag): + Push the buffer's old point as a mark. + +1986-02-04 Richard M. Stallman (rms at prep) + + * rmailout.el (rmail-output): + Make sure message output is terminated with a newline. + + * rmailmsc.el (set-rmail-inbox-list): + Update rmail-inbox-list with the new list of inbox files. + +1986-02-03 Richard Mlynarik (mly at prep) + + * info.el (Info-validate) Insert a missing space. + +1986-02-03 Richard M. Stallman (rms at prep) + + * texinfo.el: + Define @smallexample as synonym for @example. + + * shell.el (make-shell): + New &rest arg contains switch args to give the shell. + (shell): Pass -i as a switch arg to make-shell. + + * shell.el: Don't use csh on HP-UX (it has sanity checking). + +1986-02-02 Richard M. Stallman (rms at prep) + + * rmailout.el (rmail-output-to-rmail-file): + If target file is being visited, write msg into its buffer. + + * files.el (append-to-file): + Don't require file to exist. + + * rmail.el (rmail-reformat-message): + Insert new copy of header before the original, not after. + Avoids trouble with marker at the end, if message is all header. + + * rmail.el (rmail-search): + Simplify prompting and make it mention the default if any. + Print message when starting and another when done. + +1986-02-01 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-convert-to-babyl-format, rmail-nuke-pinhead-header): + Accept and preserve a timezone in the Unix style From line. + +1986-01-31 Sundar Narasimhan (sundar at prep) + + * rnews.el (news-quit & news-get-new-news): + remember to update .newsrc file. + +1986-01-31 Richard M. Stallman (rms at prep) + + * tex-mode.el (TeX-region): + Use new variable TeX-command instead of "tex". + +1986-01-30 Richard M. Stallman (rms at prep) + + * mail-utils.el (mail-fetch-field): + New 3rd arg ALL: t means find and concatenate all + fields of the specified type. + + * rmail.el (rmail-reply): + Pass 3rd arg t to mail-fetch-field for To and CC fields. + +1986-01-28 Richard M. Stallman (rms at prep) + + * yow.el (yow): + Use remainder to get random in desired range. + Needed on sysV where you only get 16 bits from random. + Also randomize the seed when yow is loaded. + + * doctor.el (random-range): + Use remainder; the same fix. + +1986-01-27 Richard M. Stallman (rms at prep) + + * rmail.el: Remove defvar for rmail-primary-inbox-list. + +1986-01-25 Richard M. Stallman (rms at prep) + + * mlsupport.el (line-to-top-of-window): + Fix name of function `recenter'. + + * isearch.el (isearch-message): + Don't display the ... when in slow-speed mode. + +1986-01-23 Richard M. Stallman (rms at prep) + + * compile.el (compilation-parse-errors): + Fix several bugs in parsing lint line numbers. + + * mail-utils.el (mail-strip-quoted-names): + Don't delete the comma before a <...> arg that is + being taken out of the <...>. + +1986-01-22 Richard M. Stallman (rms at prep) + + * nroff-mode.el (forward-text-line): + Negative args had several bugs; thorough rewrite fixed them + and made function half as big and faster. + +1986-01-22 Richard Mlynarik (mly at prep) + + * files.el (set-auto-mode): + Set mode correctly for .~i~ backup files. + + * shell.el (inferior-lisp-mode): + Use \\{...} in doc. Fix up initialization of inferior-lisp-mode-map + +1986-01-21 Richard Mlynarik (mly at prep) + + * startup.el (command-line): + Set some `foo' variables to default-`foo' after loading user init + file. + +1986-01-21 Richard M. Stallman (rms at prep) + + * lisp-mode.el (lisp-comment-indent): + If at bol, don't insist on at least 1 col of indent. + + * texinfo.el (texinfo-format-setfilename): + Don't mention directory name in the Info file introductory message. + + * c-mode.el (calculate-c-indent): + Use new variable c-brace-imaginary-offset for statements + inside a brace that isn't firstthing in its line. + + * startup.el (command-line): + Catch errors in init file and continue. + If term-file-prefix is nil, don't load a term file. + + * dired.el (dired-repeat-over-line, dired-get-filename): + Barf right away on a "total" line. + +1986-01-20 Richard M. Stallman (rms at prep) + + * rmailedit.el (rmail-cease-edit): + Set point-min correctly (after the original header). + +1986-01-19 Richard M. Stallman (rms at prep) + + * tags.el (visit-tag-table): + If directory is specified, use file TAGS in that directory. + + * buff-menu.el (Buffer-menu-select): + Divide the entire screen hight to compute window sizes, + since we are going to divide up the entire screen. + + * bytecomp.el (various): + Fix severe errors in handling byte-compile-depth. + Clarified when to use byte-compile-push-constant + vs byte-compile-constant. + +1986-01-18 Richard M. Stallman (rms at prep) + + * doctor.el: Fix typo "symtoms". + +1986-01-10 Richard Mlynarik (mly at prep) + + * mail-utils.el (mail-fetch-field) + regexp-quote the argument. + +1986-01-10 Richard M. Stallman (rms at prep) + + * files.el: + delete-auto-save-files = t. + +1986-01-09 Richard Mlynarik (mly at prep) + + * mail-utils (mail-strip-quoted-names): + Handle multi-line address lists + +1986-01-08 Richard Mlynarik (mly at prep) + + * subr.el (copy-keymap): + New function. + + * loaddefs.el: + Autoload view-mode. + + * nroff.el (electric-nroff-newline): + Clean up and avoid lossage on a line with < 3 chars. + +1986-01-08 Richard M. Stallman (rms at prep) + + * simple.el (transpose-lines): + Create a newline (if nec) to terminate the line being transposed. + + * mailalias.el (expand-mail-aliases): + Notice return within a continued header line as + separating addresses. + +1986-01-07 Richard Mlynarik (mly at prep) + + * tags.el (visit-tags-table): + Barf if given a directory + +1986-01-06 Richard Mlynarik (mly at prep) + + * nroff-mode.el (electric-nroff-mode): + set-minor-mode correctly + +1986-01-02 Richard Mlynarik (mly at prep) + + * info.el (Info-validate): + Catch only real footnote references by using stricter regexp + Allow multiple nodes to have the same `next' pointer as long + as the next's previous points back to one of them. + + * info.el (Info-tagify, Info-validate): + (let ((case-fold-search t)) ...) + for when these functions are used outside info mode + +1985-12-30 Richard M. Stallman (rms at prep) + + * rmailsum.el (rmail-new-summary): + Avoid errors when there are zero messages to summarize. + + * startup.el: + Make first line of greeting one character shorter. + + * chistory.el: + command-history-map may not be sparse. + + * info.el (Info-extract-pointer, Info-previous): + New optional 2nd arg to Info-extract-pointer is used instead + of the 1st arg in any error message. + +1985-12-30 Richard Mlynarik (mly at prep) + + * files.el (backup-buffer): + Don't backup `weird' (non-character or link) files + +1985-12-28 Richard M. Stallman (rms at prep) + + * mailalias.el (expand-mail-aliases): + Go back to line beginning after finding a nonblank line-start + that ends a header field. + + * info.el (Info-follow-reference): + Match [ \n]* after *note when finding all refs. + +1985-12-27 Richard Mlynarik (mly at prep) + + * view.el: + Various: Fix cases of "view" => "View" which were missed. Damn. + +1985-12-27 Richard M. Stallman (rms at prep) + + * simple.el (exchange-dot-and-mark): + Define as an alias. + +1985-12-26 Richard M. Stallman (rms at prep) + + * rmailsum.el (rmail-summary-mode): + Run rmail-summary-mode-hook. + +1985-12-20 Richard M. Stallman (rms at prep) + + * files.el (after-find-file): + If noninteractive, don't print message and don't + turn on auto-saving. + + * simple.el (describe-no-warranty): + Use describe-copying as subroutine so start search + from beginning of buffer each time. + + * term/xterm.el: + Select interrupt-driven input when talking to X. + +1985-12-19 Richard M. Stallman (rms at prep) + + * files.el: + Provide dummy definitions of {un,}lock-buffer + if they don't have definitions. + + Define a function ignore. + +1985-12-19 Richard Mlynarik (mly at prep) + + * rnews.el (news-set-mode-line): + Fix fencepost. + +1985-12-19 Richard M. Stallman (rms at prep) + + * sendmail.el (mail-do-fcc): + Insert a blank line after each message in the CC file. + + * fill.el (fill-region): + It was not loking at the prefix arg! + + * loaddefs.el, nroff-mode.el: + Add autoload for nroff-mode. Change its doc string a little. + +1985-12-18 Richard M. Stallman (rms at prep) + + * texinfo.el (texinfo-format-buffer): + Remove directory from Info file name as it appears in node + headers. + + * userlock.el (ask-user-about-lock): + Handle `p' response properly. + Was looping and asking again. + + * x-mouse.el (x-mouse-set-mark): + Don't use save-excursion; save only point, not the mark. + + * bg-mouse.el: + Some bug fixes from jr; some documentation cleanups. + + * doctor.el (doctor-desire): + Was using nonexistent function list*. + Make it use append instead. + + * rmail.el (rmail-expunge): + Discard summary lines for messages that change numbers. + + * rmailsum.el (rmail-make-basic-summary-line): + save-excursion around finding the From: line. + + * doctor.el (doctor-read-token): + Don't use forward-to-word. + + * simple.el (describe-copying): + Move point to beginning of the file. + +1985-12-17 Richard M. Stallman (rms at prep) + + * startup.el (command-line-1): + Make startup message more concise; mention C-h t. + +1985-12-17 Richard Mlynarik (mly at prep) + + * simple.el (goto-line): + Accept either prefix arg or prompt in minibuffer + +1985-12-17 Richard M. Stallman (rms at prep) + + * simple.el (help-for-help): + Make help-for-help message be documentation of help-for-help + so it goes into DOCSTR; gets rid of 1k of impure. + Mention C-w and C-n in these messages. + + * mim-mode.el (mim-mode): + Make mim-mode-map a sparse keymap. + + * shell.el: + Make shell-mode-map a sparse keymap. + +1985-12-16 Richard M. Stallman (rms at prep) + + * info.el (Info-summary): + Add scroll capability if user types Space. + + * files.el (set-visited-file-name): + Work properly in case of arg = nil or = "". + + * debug.el (debugger-frame{,-clear}) + Bind off read-only flag to change buffer. + +1985-12-14 Richard M. Stallman (rms at prep) + + * various: + Change uses of copy-sequence on keymaps to copy-alist. + Use run-hooks for all hooks. + + * simple.el (variable-at-point): + Strip leading singlequotes before variable name. + + * rmailsum.el (rmail-summary-undelete): + Rename rmail-summary-undelete-backward to this + and make it undelete current message if that's deleted. + Also win if no message to undelete. + + Flush the M-u command. + + * outline.el (outline-mode): + Make lines starting with * separate paragraphs. + +1985-12-13 Richard M. Stallman (rms at prep) + + * shell.el (run-lisp): + Switch to the Lisp buffer that make-shell returns. + + * rmailedit.el (rmail-cease-edit): + Make sure edited message text ends in a newline. + Adjust the rmail-msgend pointer of the message to the new end. + Make sure bfr isn't read-only while deleting old cached summary line. + + * rmail.el: + Replace every real ^_ with a \ escape sequence. + Make rmail-save always expunge. Skipping it if + buffer isn't modified was a good try, but I think + it makes things unpredictable; whether buffer is + modified in Rmail doesn't always correlate with + what the user is thinking about. + + * abbrev.el (prepare-abbrev-list-buffer, list-abbrevs, + edit-abbrevs): + Some cleanups. prepare-... now does all the work and + returns the buffer for the caller to select or display. + + * subr.el: + Rename feep to beep, a more traditional name. + +1985-12-12 Richard M. Stallman (rms at prep) + + * abbrev.el (edit-abbrevs-mode): + New function, used to make C-h m work right in that mode. + + * text-mode.el, c-mode.el, lisp-mode.el: + Make major mode functions use run-hooks. + + * subr.el (run-hooks): + New function; takes list of hook symbols and run each one. + + * simple.el (shell-command-on-region): + Don't print message or display output if quit or error. + + * loadup.el: + At end, on machines that cannot dump, eval top-level + to run the normal command-line arg processing. + + * term/xterm.el: + Set term-setup-hook. Was using wrong name. + Convert arg to x-set-border-width to an int before calling. + + * rmail.el (rmail-display-label, rmail-set-message-counters): + save-excursion must go outside save-restriction. + + * rmail.el (rmail-reply): + Do save-excursion. + +1985-12-11 Richard Mlynarik (mly at prep) + + * isearch.el (isearch-search): + Don't feep after every single character added to a failing regexp + isearch. + + * subr.el: + (fset 'feep 'ding) to preserve purity of language. + +1985-12-11 Richard M. Stallman (rms at prep) + + * simple.el (set-variable): + Must bind minibuffer-help-form, not help-form. + Also arrange for most of code to be compiled. + +1985-12-10 Richard M. Stallman (rms at prep) + + * rmail.el (rmail): + If file already visited, don't disturb it, + just select it. + + * simple.el, subr.el, unused.el: + Move general purpose subroutines from simple.el + to new file subr.el. Some editing commands that + are not on any keys and not otherwise used + are moved to unused.el. + + * loadup.el: + Load subr.elc first thing. + + * subr.el (copy-alist): + New function, copies alist links and pairs. + Many uses of copy-sequence should call this instead. + + * rmailsum.el (rmail-summary-exit): + Bury the summary buffer. + + * rmailsum.el (rmail-summary-goto-msg): + Erase the - in the summary line meaning message is unseen. + + * rmailout.el (rmail-output-to-rmail-file): + Don't delete message if output was not done. + + * files.el (switch-to-buffer-other-window): + Pass t as new second arg to pop-to-buffer. + + * indent.el (insert-tab): + If indent-tabs-mode = nil, insert spaces instead. + + * debug.el (debug): + Combine two unwind-protect's into one. + Set debug-on-next-call at outermost level + after the unwind-protect. + The variable to request doing that is now called + debug-step-after-exit. + +1985-12-09 Richard Mlynarik (mly at prep) + + * rmail.el (rmail-save): + Don't do possibly lengthy expunge if buffer not modified + + * loaddefs.el: + (fset 'TeX-mode 'tex-mode) + +1985-12-08 Richard M. Stallman (rms at prep) + + * files.el (normal-mode): + New command to choose major mode automatically. + + * inc-vers.el: Renamed from inc-version.el + for file name length reasons. + + * term/*.el: terminal-specific files found here now. + term-*.el have been renamed to term/*.el. + Changed makedist to handle this subdirectory. + + * paths.el: + New variable term-file-prefix which now is "term/". + + * startup.el (command_line): + Use term-file-prefix to compute file name to load. + + * bytecomp.el (byte-compile-file): + Put output-buffer into Emacs-Lisp mode. + Fixes lossage observed for autoloads by people + who have set default-major-mode. + +1985-12-08 Richard Mlynarik (mly at prep) + + * debug.el (debug): + Bind debug-on-quit to nil within the debugger. + + * info.el (Info-find-node): + Must search for "Node: Foo" not " Foo" or else would + lose when there was a "Node: Bar Foo" + + * dired.el (dired-copy-file): + interactive "F" not "s" + + * man.el (manual-entry): + Allow user to specify "chdir(3)" to get entry from section + 3 of the manual. + +1985-12-07 Richard M. Stallman (rms at prep) + + * loaddefs.el: + Remove duplicate autoload for convert-mocklisp-buffer. + Add autoload for doctor. + + * simple.el (shell-command-on-region): + Don't muck with the mark if called noninteractively. + + * tags.el (visit-tag-table): + Really provide TAGS as default file name. + + * info.el: + (Info-validate-node-name): Don't complain about nodes in other files. + (Info-menu-sequence): fix typo in function name. + + * rmail.el: + (rmail-save): new function; `s' and `q' commands now expunge. + (rmail-set-attribute): Don't lose if buffer wasn't narrowed. + (rmail-undelete-previous-message): + Try current message first, then back up till deleted msg + is found. + M-u command removed as u now does its job. + + * bytecomp.el (byte-compile-file): + Use get-buffer-create for making the temp buffers. Really! + +1985-12-06 Richard M. Stallman (rms at prep) + + * simple.el (set-comment-column): + Don't use this line's comment to set the comment column. + + * bytecomp.el (byte-compile-lambda): + Don't treat (interactive) as having an expression be compiled. + Recompile all 40 files affected; reduces Emacs pure code about 4k. + + * info.el: + (Info-select-node): was searching unboundedly for "execute:". + (Info-follow-reference): Was called Info-footnote. + Also, handle presence of spaces and newlines in ref names. + (Info-extract-menu-node-name): Handle presence of spaces and + newlines in the node name. + (Info-menu): Handle presence of spaces and newlines in item + names. + + * texinfo.el: + @ifinfo and @end ifinfo must use texinfo-discard-command. + Handle @page (by ignoring it). + + * rmailkwd.el (rmail-next-labeled-message): + Be consistent about `label' vs `labels'. + +1985-12-05 Richard M. Stallman (rms at prep) + + * mh-e.el: + Eliminate region-around-match and region-string. + +1985-12-05 Richard Mlynarik (mly at prep) + + * rmail.el (rmail-search): + Say if search failed. + + * compile.el (compile1): + Rename compilation-error-format to compilation-error-message + Add third arg (for mode-name) to compile1 and callers (grep) + + Use value of compilation-error-regexp from current buffer + in the *compilation* buffer, thus allowing buffers to have local + compilation-error-regexp variables. + + (provide 'compile) + +1985-12-05 Richard M. Stallman (rms at prep) + + * files.el (recover-file): + New command. + + * isearch.el (isearch, isearch-search): + Call isearch-message from isearch-search; + do not call before the usual call to isearch-search. + +1985-12-05 Richard Mlynarik (mly at prep) + + * abbrev.el, chistory.el, debug.el, doctor.el, indent.el, info.el, sendmail.el: + Fix initialization of mode-maps + + * sendmail.el (mail-position-on-field): + Make this work + +1985-12-05 Richard M. Stallman (rms at prep) + + * dired.el: + Change "mark" to "flag" in function names and documentation. + + * buff-menu.el (Buffer-menu-buffer): + End of buffer name marked by tab or two spaces. + +1985-12-04 Richard M. Stallman (rms at prep) + + * startup.el (normal-top-level): + Run new hook term-setup-hook after doing command switches. + + * startup.el (command-line-1): + Run the term-setup-hook now, if no switches, + so it is done before the initial message. + + * term-xterm.el: + Set term-setup-hook. + x-extract-number: Subtract 1 from any negative arg. + + * x-mouse.el (x-mouse-mode): + Change name from just mouse-mode. Fix paren error. + Change key for this to C-c C-m. + + * x-mouse.el (x-select-window): + Was neglecting to actually select the window. + + * x-mouse.el: + Define constant names for button keys: + names like x-button-c-m-left. + + * rnews.el (news-mode): + Don't make news-group-article-assoc buffer-local. + Making it so causes rnews not to work; I don't know why. + + * outline.el (flag-lines-in-region): + Pass fifth arg t to subst-char-in-region, for no undo. + +1985-12-03 Richard M. Stallman (rms at prep) + + * simple.el (prefix-arg-internal and callers): + Regularize reading of negative prefix arguments. + Do the right thing for each possible input digit or - + with each kind of existing value of prefix-arg. + + * simple.el (repeat-complex-command): + If command to be repeated does not match first elt of command + history, add it to the command history. + +1985-12-03 Richard Mlynarik (mly at prep) + + * bytecomp.el (byte-compile-file-form): + Reduce noninteractive message verbosity + + * ebuff-menu.el: + Standardize initialization of Electric-buffer-menu-mode-map + make digits, meta-digits and "-" be numeric args + (put 'Electric-buffer-menu-undefined 'suppress-keymap t) + + * electric.el (Electric-command-loop): + Set up this-command and last-command-char in command loop + + * simple.el (prefix-arg-internal, negative-argument): + Fix problem with negative-arguments and unreading + +1985-12-03 Richard M. Stallman (rms at prep) + + * texinfo.el (texinfo-format-buffer): + Define @' and @` to convert to ' and ` + but suppressing conversion into ". + +1985-11-28 Richard M. Stallman (rms at prep) + + * rnews.el: + Remove stray "<" character introduced by mly. + (news-move-to-group): give error message if no new group to move + to. + (news-next-message): with arg of 1 or -1, keep doing + news-next-group or news-previous-group till reach nonempty group. + + * x-mouse.el: + Change define-key args from chars to strings. + + * view.el: + Fix bug in defvar of view-mode-map. + +1985-11-27 Richard M. Stallman (rms at prep) + + * files.el (find-file-no-select): + Call find-file-not-found-hook if non nil + when detect a file-error. + + * buff-menu.el (Buffer-menu-buffer): + Simplify finding end of buffer name; + don't get confused if buffer name ends with digits. + +1985-11-27 Richard Mlynarik (mly at prep) + + * rnews.el: (news-mode, news-set-mode-line): + Get rid of news-mode-group-string. + + * rnews.el (news-unsubscribe-internal): + Fix confirmation message. + +1985-11-26 Richard Mlynarik (mly at prep) + + * view.el: + Define c-x o + Rename interactive functions from view-* to View-* to improve m-x + completion. + defvar, rather than defconst, view-mode-map + Take old-emacs-version-compatibility out of view-file + + * helper.el (Helper-describe-mode, Helper-describe-bindings) + Fix bit-rot + Hack C-l in Helper-help-scroller. + +1985-11-25 Richard M. Stallman (rms at prep) + + * isearch.el (isearch-search): + Remove call to isearch-message. + + * rnews.el: + Flush old news-next-message. + Rename old news-forward-message to that name. + +1985-11-24 Richard M. Stallman (rms at prep) + + * rnews.el: + Turn off use of numeric backup versions in news mode. + +1985-11-22 Richard M. Stallman (rms at prep) + + * rnews.el: + Fix incorrect syntax for meta chars in define-key args. + +1985-11-22 Richard Mlynarik (mly at prep) + + * term-supdup.el: + New file. + Defines supdup-contol-map, supdup-control-meta-map + for characters which don't exist in ascii. + Uses 0237 (m-c-_) as control escape -- this is what the supdup server + uses. + +1985-11-22 Richard M. Stallman (rms at prep) + + * outline.el: + Change text to body in function names and documentation. + Rename M-H, M-S and M-s to C-c C-h, C-c C-s and C-c C-i. + Goes with new manual chapter. + +1985-11-21 Richard M. Stallman (rms at prep) + + * sendmail.el: + Don't die in old Emacses that don't have + delete-auto-save-file-if-necessary. + +1985-11-21 Richard Mlynarik (mly at prep) + + * abbrev.el (quietry-read-abbrev-file): + Fix typo. Fix documentation of edit-abbrevs. + + * options.el: + Initialize Edit-options-map when loaded. + Make edit-options-1 inline. + + * term-xterm.el: + Fix documentation for x-switches + +1985-11-20 Richard Mlynarik (mly at prep) + + * files.el, sendmail.el: + New function delete-auto-save-file-if-necessary + Make basic-save-file, mail-send call it + + * startup.el (command-line-1): + Reformat to make all extraneous bs fit in 80 columns + + * lisp-mode.el (calculate-lisp-indent): + Check for boundp lisp-indent-hook, not fboundp. + + * lisp.el, lisp-mode.el + Move eval-last-sexp, eval-defun from lisp.el to lisp-mode.el since + all their usages occur in the latter file. + + * rnews.el + Use `mail-header-separator' + + * term-xterm.el: + Define x-handle-switch-1 to modularize discarding of + args from command-line-args. + + * startup.el (command-line-1): + Check for command-switch-alist before checking for builtin + switches. + + * bytecomp.el, term-xterm.el, tex-start.el + Switches look for `command-line-args' rather than `args' + +1985-11-20 Richard M. Stallman (rms at prep) + + * x-mouse.el: + Thorough rewrite and cleanup. + + * rnews.el: + Install new version from sundar. + Rename news-go-to-* to news-select-*. + Rename news-move-to-message to news-forward-message. + Make news-{next,previous}-message take argument. + Rename news-unsubscribe-group to news-unsubscribe-current-group. + Rename news-unsubscribe-any-group to news-unsubscribe-group. + Rename N and P and J commands to M-n, M-p, M-j. + Flush + and - commands. Rename s command to o. + +1985-11-19 Richard M. Stallman (rms at prep) + + * texinfo.el: + Fix all texinfo-end property functions to call + texinfo-discard-command instead of texinfo-discard-line. + Give @ the syntax of escape character. + + * rmail.el (rmail-mode): + Turn off auto-saving for rmail files. + + * simple.el (describe-no-warranty): + New function; C-h C-w. + + * startup.el: + Mention existence of C-h C-w. + + * shell.el (make-shell): + Don't select the buffer being created; return it as value. + +1985-11-18 Richard Mlynarik (mly at prep) + + * bytecomp.el (batch-byte-compile): + Print a message for the log before terminating self. + + * simple.el (set-variable): + Fix thinko in help-form, and include current value. + + * info.el (Info-find-node): + If can't find node, say which node in error message + + * rmailedit.el (rmail-edit-mode): + Improve documentation greatly, fix typo. + +1985-11-15 Richard M. Stallman (rms at prep) + + * c-mode.el (indent-c-exp): + Handle case of several lines inside a set of parentheses. + Handle case of continuation line following parentheses that span + lines. + + * replace.el (perform-replace): + Reject match that is null string at end of previous replacement. + + * startup.el: + Define command-switch-alist to provide hooks + for X window system (or other things) to define new switches. + +1985-11-14 Richard Mlynarik (mly at prep) + + * info.el + Make "." be beginning-of-buffer + +1985-11-13 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-get-new-mail): + Treat movemail case more like renaming case, + so if rmail dies leaving a .newmail file + the next use of rmail will read in and delete that .newmail. + + * rmail.el (rmail-mode, rmail, rmail-quit): + Eliminate rmail-buffer-save. Make q go to the other-buffer. + +1985-11-12 Richard Mlynarik (mly at prep) + + * bytecomp.el (batch-byte-compile): + Fix paren error. + + * files.el (after-find-file): + Accurately report the case in which a file exists but is not + readable. + + * rmail.el (rmail-search): + Rewrote this function. Now only searches within messages -- will + not match across message boundaries. + +1985-11-08 Richard Mlynarik (mly at prep) + + * startup.el (command-line): + If noninteractive, don't load "term-*" + noninteractive => -q [Change this if you think it is a bad + idea rms -- every use of -batch I make is followed by -q...] + +1985-11-07 Richard Mlynarik (mly at prep) + + * files.el (after-find-file): + If get error hacking mode or local-vars, say what sort of error + +1985-11-06 Richard Mlynarik (mly at prep) + + * bytecomp.el (byte-compile-lambda): + Compile non-string `interactive' frobs + +1985-11-05 Richard M. Stallman (rms at prep) + + * sendmail.el (sendmail-send-it): + Remove "n" that was randomly inserted. + Use new variable sendmail-program as name of file to run + (defined in paths.el). + +1985-11-05 Richard Mlynarik (mly at prep) + + * rmailsum.el (rmail-new-summary): + Don't use create-file-buffer for summary buffer! + + * rmailsum.el (rmail-make-summary-line-1): + Fix bug computing new summary line + + * debug.el (debug): + Make recursive calls to the debugger work. + Make debugger buffer read-only + + * sendmail.el (mail-send, sendmail-send-it): + Move some stuff from sendmail-send-it to mail-send + Delete auto-save #%*mail* file if `delete-auto-save-files' + + * electric.el (Electric-command-loop): + condition-case for `beginning-of-buffer' + +1985-11-05 Richard M. Stallman (rms at prep) + + * rmail.el, rmailsum.el, rmailkwd.el: + Move definition of rmail-last-multi-labels from rmailkwd to rmail. + Make rmail-summary-by-labels use it as default and set it. + +1985-11-04 Richard Mlynarik (mly at prep) + + * yow.el, loaddefs.el: + Function yow. Depends on file emacs/etc/yow.lines + +1985-11-04 Richard M. Stallman (rms at prep) + + * texinfo.el: + Remove definition of `@points' + Make texinfo-parse-arg-discard on a command with a whole-line arg + discard the whole line including the final newline. + As a result, texinfo-discard-line no longer works after + texinfo-parse-line-arg; make all such callers use + texinfo-parse-arg-discard. + + * rmail.el: + Rename rmail-find to rmail-search and put on M-s. + Move `h' to C-M-h as well. + Move `l' to C-M-l as well. + Move old C-M-l to C-M-r. + + * rmailkwd.el: + Make rmail-next-labeled-message keep its own default + rmail-last-multi-labels, instead of using rmail-last-label. + +1985-11-01 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-parse-file-inboxes): + Must do save-excursion outside the save-restriction. + +1985-10-31 Richard M. Stallman (rms at prep) + + * rmail.el: + (rmail-mode) don't default rmail-inbox-list here. + (rmail): Default rmail-inbox-list to rmail-primary-inbox-list + only if primary Rmail file. + rmail-primary-inbox-list now in loaddefs.el. + +1985-10-31 Richard Mlynarik (mly at prep) + + * rmailsum.el (rmail-make-summary-line-1): + Fix case in which old summary line was being deleted. + Some more bugs seem to remain in this code... + + * dired.el: + Both "e" and "f" are `dired-find-file' + +1985-10-30 Richard Mlynarik (mly at prep) + + * bytecomp.el (batch-byte-compile): + If an argument is a directory, then do a byte-recompile-directory + on it. + + * abbrev.el (abbrev-mode): + flag that abbrev-mode is on by set-minor-mode + (automagic indication in src/xdisp.c flushed) + + Use interactive "f" and "F" to replace "s" in a couple places. + +1985-10-29 Richard M. Stallman (rms at prep) + + * debug.el (debug): + Don't die in kill-buffer of *Backtrace* while exiting + if it's already killed. + + * simple.el ({append,prepend,copy}-to-buffer): + Use interactive type B, not s, for buffer name. + +1985-10-29 Richard Mlynarik (mly at prep) + + * startup.el (command-line-1): + "-l" switch loads wrt load-path, rather than wrt default-directory + +1985-10-29 Richard M. Stallman (rms at prep) + + * isearch.el (isearch): + Redisplay echo area with ... before searching, + or without ... when about to wait for input. + + * simple.el (blink-matching-open): + Don't ever complain that a math char is mismatched. + +1985-10-28 Richard M. Stallman (rms at prep) + + * rmail.el, rmailsum.el, rmailkwd.el, rmailmsc.el, + rmailout.el, rmailedit.el: + Install thoroughly rewritten rmail with many new features. + + * debug.el (debug, debugger-mode): + Avoid lossage with random default major mode: + debugger-mode: use lisp-mode syntax table. + debug: turn on debugger-mode before doing forward-sexp. + +1985-10-26 Richard M. Stallman (rms at prep) + + * simple.el: + Define C-c globally as a prefix character. + + * files.el (backup-buffer): + Catch errors in deleting old backup versions; + one deletion failure does not stop other deletions. + + * files.el (hack-local-variables): + Comparing against "end" was supposed to ignore case + but it failed to do so. + +1985-10-25 Richard M. Stallman (rms at prep) + + * userlock.el: + Change responses to "p" for "proceed" and "q" for "quit". + +1985-10-23 Richard Mlynarik (mly at prep) + + * mouseinit.el + Delete this file. Put its contents in files + term-bg.el, term-bgnv.el, term-bgrv.el, term-bbn.el + (Perhaps there should be a subdirectory emacs/lisp/term/ ??) + +1985-10-23 Richard M. Stallman (rms at prep) + + * time.el (display-time): + Set up process with no associated buffer. + +1985-10-22 Richard Mlynarik (mly at prep) + + * debugger.el (debug): + Bind variable `debugger-value' instead of `value' + + * userlock.el: + Give `file-locked' error-conditions and error-message props + +1985-10-21 Richard M. Stallman (rms at mit-prep) + + * c-mode.el (c-comment-indent): + Since this is for indent-for-comment, + it should use comment-column rather than indenting like code. + + * shell.el (shell-send-input): + Detect when arg of cd or pushd is ended with a semicolon. + +1985-10-21 Richard Mlynarik (mly at mit-prep) + + * sendmail.el (mail-do-fcc): + Do cretinous unix ">" `quoting' of "\nFrom " strings + (this isn't transparent, but it's what other stupid programs expect) + + * mailalias.el (expand-mail-aliases): + Hack case-fold-search as appropriate + +1985-10-21 Richard M. Stallman (rms at mit-prep) + + * sendmail.el (mail-do-fcc): + New function that finds Fcc: fields and writes to spec'd files + in Unix mail format. + Var mail-archive-file-name holds nil or name to initialize + every message with an Fcc to. Defined here and in loaddefs. + + * sendmail.el (sendmail-send-it): + Use a temp buffer to avoid hair in un-changing user's buffer. + Kill temp and error buffers on exit, always. + If any Fcc is present, call mail-do-fcc. + +1985-10-20 Richard M. Stallman (rms at mit-prep) + + * mailalias.el: + New file containing build-mail-aliases (called if nec + from mail-setup) and expand-mail-aliases (called if nec + from sendmail-send-it) that read ~/.mailrc, make an + alist of mail aliases in mail-aliases, and expand them + inside the buffer in a message being sent. + + * sendmail.el (mail-setup): + Call build-mail-aliases if ~/.mailrc exists. + + * sendmail.el (sendmail-send-it): + Call expand-mail-aliases if any aliases are defined. + + * loaddefs.el: + Define mail-aliases: initially t, meaning ~/.mailrc + has not been looked at yet. + Define mail-header-separator. + Make define-mail-alias autoload from mailaliases. + Move rmail-delete-after-output from rmail.el. + Flush rmail-mmdf-inbox-list and rmail-make-summary-line-function. + + * mail-utils (mail-strip-quoted-names): + Delete leading and trailing whitespace. + +1985-10-19 Richard M. Stallman (rms at mit-prep) + + * sendmail.el: + Use new var mail-header-separator in place of constant --text... + (mail-setup): fill the To and Cc text inserted. + Assume <...> constructs were handled by mail-strip-quoted-names. + (mail-fill-yanked-message): Add this and put on C-c q. + (mail-mode): Set up mail-mode-map when file is loaded. + Run text-mode-hook before mail-mode-hook. + (mail-send-and-exit): Assume bury-buffer exists. + (sendmail-send-it): Put in a Sender: if From: is specified. + If empty Subject: is removed, put it back in afterward. + + * debug.el (debug): + Save match-data on entry, and do store-match-data on exit. + + * mail-utils: + mail-string-delete: Make arg END exclusive. + mail-strip-quoted-names: flush spaces before stuff being flushed. + Compensate for change to mail-string-delete. + Use fact that string-match sets match-end. + rmail-dont-reply-to: flush extra spaces, comms after deleted name. + Compensate for change to mail-string-delete. + Use fact that string-match sets match-end. + +1985-10-18 Richard Mlynarik (mly at mit-prep) + + * startup.el (command-line): + load "term-$TERM" after loading user's init file, so that + changes made to load-path will affect load . + +1985-10-18 Richard M. Stallman (rms at mit-prep) + + * mlsupport.el (move-dot-to-x-y): + Add a definition of this. Takes args in origin 1. + + * shell.el (shell-send-eof): + Rename delete-char-or-send-eof to this, + and make it always only send eof. + +1985-10-17 Richard M. Stallman (rms at mit-prep) + + * replace.el (how-many): + Start count at 0, not 1. Ignore matches of null + string that don't move point. + +1985-10-17 Richard Mlynarik (mly at mit-prep) + + * rnews.el: (news-save-item-in-file) + Append to file, rather than overwriting. + + * isearch.el + Eliminate confused attempts at indicating that long isearch was + `in progress' + +1985-10-15 Richard M. Stallman (rms at mit-prep) + + * info.el: + Use C-c C-c to exit Info-edit. + + * shell.el: + Move the mode-specific commands onto C-c prefix. + + * picture.el: + Move all C-c commands to other C-c subcommands. + + * echistory.el, ebuff-menu.el: + Change C-c command to C-c C-c. + + * rmailedit.el: + Move C-] command to C-c C-], C-c command to C-c C-c. + + * files.el (find-backup-file-name): + Change termination of numeric backup file names back to `~'. + + * dired.el (dired-clean-directory & subroutines): + Adapt for change from .NN to .~NN~ in numeric backup file names. + + * simple.el (suppress-keymap): + Put negative-argument on '-'. + Put non-nil suppress-keymap properties on the + commands that are used in suppressing a keymap. + +1985-10-15 Richard Mlynarik (mly at mit-prep) + + * bytecomp.el (byte-compile-find-vars-1) + Fix paren error. + +1985-10-15 Richard M. Stallman (rms at mit-prep) + + * paths.el: + New file containing defs of vars containing names of + files or directories that Emacs wants to refer to. + Collected for convenience of customization. + + * rnews.el, mh-e.el, loaddefs.el: + Comment out or remove stuff now in paths.el. + + * spell.el: + Remove explicit directory names from programs run in subforks. + + * lpr.el (print-region-1): + Remove explicit directory names from programs run in subforks. + +1985-10-14 Richard M. Stallman (rms at mit-prep) + + * bytecomp.el (byte-compile-find-vars): + Change many nested ifs to one cond. + + * mlsupport.el: + Replace all uses of "e with macros. + +1985-10-13 Richard M. Stallman (rms at mit-prep) + + * texinfo.el: + Define @dots{} and @copyright{}. + Define indexing commands to generate each index as a menu + sorted alphabetically. + +1985-10-12 Richard M. Stallman (rms at mit-prep) + + * mh-e.el: + Don't mess with track-eol. + Define mh-insert-message-buffer, as C-c y while editing message. + New reply option `i'. + +1985-10-11 Richard M. Stallman (rms at mit-prep) + + * info.el (Info-edit-map): + Use C-c to exit from editing, not C-z. + + * files.el (hack-local-variables): + Ignore case in checking for End:. + Allow backslashes to quote in local variable names. + +1985-10-10 Richard M. Stallman (rms at mit-prep) + + * c-mode.el: + Make require-final-newline be t in C mode. + + * tex-mode.el (TeX-mode): + Make comment-start-skip check that % is not quoted with \. + + * simple.el (indent-for-comment): + Save result of first search for a comment starter, + rather than searching again after reindenting. + +1985-10-09 Richard M. Stallman (rms at mit-prep) + + * tags.el (find-tag): + Make M-, find the next such tag, if used after M-. + + * files.el (find-backup-file-name): + Make numeric backup names end in # rather than ~ + so they arenot automatically deleted when two days old. + + * nroff-mode.el (nroff-mode): + Make all .-commands separate paragraphs. + + * dired.el (dired-rename-file): + Use code F to read the file name. + + * shell.el (shell-send-input): + Use three new variables shell-{cd,pushd,popd}-regexp + to match the command names "cd", "pushd" and "popd". + + * tex-mode.el (TeX-flash-$): + Don't look for "match" for a $ quoted with a \. + + * c-mode.el (indent-c-exp): + Call c-backward-to-start-of-if only for statements + and only when they start with "else". + +1985-10-08 Richard M. Stallman (rms at mit-prep) + + * mlsupport.el: + Define region-to-string and region-around-match. + + * simple.el ({beginning,end}-of-buffer): + Warn people not to use in Lisp code. + +1985-10-07 Richard M. Stallman (rms at mit-prep) + + * userlock.el: + New file containing function ask-user-about-lock (autoloading), + called when trying to modify a function another has locked. + + * files.el (find-alternate-file): + Unlock the old file before finding new file. + Relock the old one if old buffer is not killed. + + * files.el (set-visited-file-name): + Unlock old name and relock new one (if should be locked). + + * replace.el (perform-replace): + Do substitute-command-keys on the help message. + +1985-10-07 Richard Mlynarik (mly at mit-prep) + + * simple.el (eval-expression): + Put "(foo bar)" rather than "(eval-expression (quote (foo bar)))" + on the command history if called interactively. + + * simple.el (repeat-complex-command): + Define commands next-complex-command and previous-complex-command + for use in repeat-complex-command editing. + +1985-10-05 Richard M. Stallman (rms at mit-prep) + + * debug.el (debug): + Bind debug-on-error to nil over entire invocation of debugger. + + * everywhere: + Change dot to point. + + * Many major mode commands: + Use \{..} in documentation string. + Initialize the local map when the file is loaded, + not when mode is invoked. + + +1985-10-04 Richard M. Stallman (rms at mit-prep) + + * indent.el (indent-relative-maybe): + New function to do indent-relative but not if prev line + has no indentation. Used as the indent-line-function + in indented-text-mode (text-mode.el). + + * bytecomp.el (byte-compile-cond): + Correct handling of final cond-clause with only one element. + + * simple.el (read-quoted-char): + Avoid clearing quit-flag if not 1st input char. + No longer any reason to quit explicitly. + + * simple.el (quit): + Flush this function. Keep keyboard-quit. + + * view.el (view-scroll-lines-forward): + Count screen lines. Preserve overlap if scroll by full length + of the window. + +1985-10-03 Richard Mlynarik (mly at mit-prep) + + * simple.el + Functions quit, keyboard-quit + + * isearch.el: + "I-searching: foo..." in the middle of possibly lengthy + search + + * files.el (set-auto-mode): + Don't hack auto-mode-alist at all if -*- mode -*- is specified. + +1985-10-02 Richard M. Stallman (rms at mit-prep) + + * mh-e.el: + Put *'s in doc of user option vars. + New variable mh-use-mhl; in mh-show, causes mhl to be invoked. + Fix some mode lines: add %-, remove %p, move %[ and %]. + Remove spurious setting of mark when saving a position will do + (in mh-get-new-mail, mh-make-mode-line, mh-pick-body, mh-exec-cmd) + Flush erroneous & from some refs to command names. + Define mh-exec-lib-cmd-output. + + * tex-mode.el: + Rename TeX-make-barr into barrier-for-TeX, and remove it from M-$. + Rename quotestartp to TeX-quotestartp. + Rename count-$s to TeX-count-$-occurrences, and make it take + two args (FROM and TO). + + * compile.el (compilation-find-errors): + Search for compilation-error-regexp, which matches the + ENTIRE filename/linenumber, not just the stuff between the two. + The rest of the code had to change to fit. + New subroutine compilation-grab-filename. + + * files.el (find-backup-file-name): + Put ~ before and after version numbers of backup files. + + * files.el (backup-buffer): + Ask only once, to delete all the excess backup versions. + +1985-09-29 Richard M. Stallman (rms at mit-prep) + + * backquote.el: + New file, containing a list constructor macro. + + * tex-mode.el: + New file, containing TeX-mode. + +1985-09-28 Richard M. Stallman (rms at mit-prep) + + * abbrev.el (add-abbrev, inverse-add-abbrev): + Convert the abbrev to lower case before defining. + + * files.el (set-auto-modes): + Strip backup suffix from file name before scanning auto-mode-list. + Remove tilde-terminated entries from auto-mode-list. + + * dired.el: + Add command `.', dired-clean-directory, plus subroutines. + + * files.el (backup-buffer, save-file): + Replace backup-buffer with new version backup definition. + Rename save-file as basic-save-file, and add a new save-file + that calls the old one but also takes args to control backup. + Several new variables to control making of backups. + +1985-09-27 Richard M. Stallman (rms at mit-prep) + + * dired.el (dired-mode): + Define n and p like C-n and C-p. + +1985-09-24 Richard M. Stallman (rms at mit-prep) + + * loaddefs.el, text-mode.el: + Use non-saved-text-mode for files on /tmp. + + * rmailsum.el (rmail-summary-goto-msg): + Do check for msg # on line at beginning of line, not at point. + +1985-09-21 Richard M. Stallman (rms at mit-prep) + + * files.el (find-file-noselect): + Do erase-buffer in case reusing existing buffer. + +1985-09-18 Richard M. Stallman (rms at mit-prep) + + * nroff-mode.el: + New file, extensively rewritten from submission by N. Ziring. + Not tested yet (I don't know how to use nroff). + +1985-09-13 Richard M. Stallman (rms at mit-prep) + + * simple.el (what-cursor-position): + Use single-key-description to show the character after point. + +1985-09-12 Richard M. Stallman (rms at mit-prep) + + * text-mode.el, c-mode.el: + No need to define syntax of [, ], {, } since fundamental mode + now makes them paren-syntax. Define C operators as punctuation + rather than whitespace. + + * texinfo.el: + Change syntax for @xref and @pxref to use braces. + Change syntax for @node to read entire line + (new function texinfo-format-parse-line-args for that). + Change paragraph-separate, etc., so only directives without + braces separate paragraphs. When formatting, discard all of the + file up to the @setfilename. + + * rmailedit.el (rmail-edit-mode): + Remove spurious quote before text-mode-hook. + +1985-09-11 Richard M. Stallman (rms at mit-prep) + + * dired.el (dired-do-deletions): + Print a message reporting any deletion failures. + + * dired.el (dired-add-entry): + Pass "-d" switch to "ls". + +1985-09-10 Richard M. Stallman (rms at mit-prep) + + * text-mode-el, lisp-mode.el, c-mode.el, buff-menu.el: + Initialize all keymaps at load time. + Use new \{...} construct for documenting them. + + * simple.el (shell-command-on-region): + Don't request redisplay during reading of output. + That feature stimulates kernel bugs. + +1985-09-08 Richard M. Stallman (rms at mit-prep) + + * simple.el (edit-and-eval-command): + Assume arg is expression already, since now + elements of command-history are expressions. + + * simple.el (error): + Just keep signalling if user tries to continue. + +1985-09-07 Richard M. Stallman (rms at mit-prep) + + * dired.el: + Normally put cursor at beginning of filename. + New functions dired-next-line and dired-previous-line + to do vertical motion followed by positioning. + dired-repeat-over-lines hacked likewise. + Most action functions changed to work independent + of and without effect on cursor position within line. + + * dired.el (dired-view-file): + If file is directory, dired it. + + * dired.el (dired-other-window): + Use switch-to-buffer-other-window if that exists. + + * files.el (switch-to-buffer-other-window): + Define this function in Lisp. All other + "...-other-window" functions should use it to do selection. + + * fill.el (fill-region-as-paragraph): + Convert newline to space before flushing excess spaces. + + * mlsupport.el: + Deleted ml-forward-word and ml-backward-word + since mlconvert no longer generates them. + +1985-09-06 Richard M. Stallman (rms at mit-prep) + + * files.el (revert-buffer): + Don't query for reverting read-only buffers. + + * time.el (display-time-filter): + If we have lots of tims received at once, quickly discard all but + last few. + + * files.el (after-find-file): + Check for write permission there, and print messages there. + after-find-file now expects an arg which is t if file does + not actually exist; it prints (New file) messages too. + + * lisp-mode.el (indent-sexp): + If skip a newline, clear quoted flag in the state. + +1985-09-05 Richard M. Stallman (rms at mit-prep) + + * tags.el (visit-tag-table[-...]): + Rename to visit-tags-table[-...]. + +1985-09-05 Richard M. Stallman (rms at mit-prep) + + * mh-e.el (mh-letter-mode): + Have separate map mh-letter-mode-map so Don't clobber text-mode-map. + Use C-c rather than C-x for local prefix commands. + + * simple.el (shell-command-on-region): + If current buffer is *Shell Command Output*, avoid being confused + by an old pair of region ends, since often region is empty + and doesn't matter anyway. + +1985-09-03 Richard M. Stallman (rms at mit-prep) + + * spell.el (spell-word): + Check word before point, if point is not in or next to a word. + + * tags.el (find-tag): + Don't read tag name if given prefix arg. + +1985-09-03 Richard Mlynarik (mly at mit-prep) + + * macros.el (kbd-macro-query) + Barf if not defining or executing keyboard macro. + +1985-09-02 Richard M. Stallman (rms at mit-prep) + + * rmail.el (rmail-expunge): + If all mesages thru current one get expunged, show message 1. + + * debug.el (debug): + Bind debug-on-error and print-length to avoid various + kinds of infinite loops or recursions. + +1985-09-01 Richard M. Stallman (rms at mit-prep) + + * term-vt100.el: + Always define ESC O so arrows work. Eliminate ESC [ hacks + entirely. + + * term-vt200.el: + Always define ESC O so keypad works. Rename the function + to use for defining ESC [, and give it appropriate documentation. + + * lisp.el (move-past-close-and-reindent): + Handle correctly case where ) passed is not at beg of line + except indentation, or where there are white lines preceding it too. + +1985-08-31 Richard M. Stallman (rms at mit-prep) + + * chistory.el (repeat-matching-complex-command): + Arg to edit-and-eval-command is now a list, as it should be. + +1985-08-31 Richard Mlynarik (mly at mit-prep) + + * simple.el (delete-indentation) + Don't err if on first line of buffer. + +1985-08-30 Richard M. Stallman (rms at mit-prep) + + * ledit.el (ledit-setup): + Don't refer to lisp-mode-map in setting up ledit-mode-map. + +1985-08-26 Richard Mlynarik (mly at mit-prep) + + * shell.el + Sending empty line of input at the end of a buffer that is an + interaction with a promptless shell program copied previous input + rather than sending an empty line. + (by silogic!eggert@ucla-cs) + +1985-08-20 Richard Mlynarik (mly at mit-prep) + + * dired.el, files.el, sendmail.el, compile.el + Make *-other-window really do other window even if pop-up-windows + is set to nil. + +1985-08-17 Richard Mlynarik (mly at mit-prep) + + * c-mode.el (c-indent-line) + Make "^[ \t]*#" indent to 0 (if not in string or comment) + + * startup.el (command-line) + (or (getenv "USER") (getenv "LOGNAME")) for USG compatibility + (consider it a standard) + + * lpr.el + Typo (``format1'' for ``format'') + +1985-08-12 Richard Mlynarik (mly at mit-prep) + + * buff-menu.el (Buffer-menu-buffer) + Win more often on `too-long' buffer names. + +1985-08-11 Richard Mlynarik (mly at mit-prep) + + * make narrow-to-page be disabled by default. + + * rmail.el (rmail-insert-inbox-text) + Hack case that /usr/spool/mail/user is a directory + +1985-08-10 Richard Mlynarik (mly at mit-prep) + + * isearch.el (isearch) + Make isearch work in regexp case + +1985-08-09 Richard Mlynarik (mly at mit-prep) + + * c-mode.el (c-comment-indent) + Return a valid value when used within a comment. + (such as when inenting when comment-multi-line is non-nil) + Associated changes to + c-indent-line, c-calculate-indent-within-comment + + * debug.el (debug): + Use buffer "*Backtrace*", not " *Backtrace*" so that users can + reselect it trivially. + Kill the buffer on exit so that users aren't tempted to lose + weirdly. + Rename "args" "debugger-args" so that common var isn't lambda-bound. + + Make "-" be negative-argument in debugger-mode-map + + * rnews.el (news-convert-format): + Don't lose on empty messages. + + * term-vt100.el, term-vt200.el + Make "application mode" arrow keys ("\eOA"... "\eOD") do the right + thing. + +1985-08-06 Richard Mlynarik (mly at mit-prep) + + * c-mode.el + calculate-c-indent was ignoring parse-start arg + + Inserted jdf@prep.mit.edu's `else' indentation code + Make C-j be reindent-then-newline-and-indent to take advantage + of this. + + * simple.el + Added function reindent-then-newline-and-indent + + * rnews.el + Fix typo and supply function news-show-all-headers + + * startup.el + Make the value of args be the remaining command-line + arguments after the "-e" function name when the "-e" function + is called. + Make "-f" be the same as "-e" --- it's in the manual. + + * bytecomp.el + Added batch-byte-compile written by crl@newton.purdue.edu + + * isearch.el + Typing C-s/C-r at start of isearch wasn't displaying search + string until it had completed the search. + + * indent.el (indent-relative) + Losing when indentation point was beneath non-whitespace + + * c-mode.el (indent-c-exp): + Replace "2" with "c-continued-statement-offset" + Add (message "...") + + * mlsupport.el + Fix typo in ml-current-indent + Make kill-to-end-of-line work + + * mlconvert.el + Hack "(forward-word)" => "(forward-word 1)" + +1985-08-05 Richard Mlynarik (mly at mit-prep) + + * c-mode.el + Variable "c-continued-statement-indent" should have been + "c-continued-statement-offset" as in the documentation and manual + + * rmail.el (rmail-find): + Hack default of last search string, hack reverse search + (-ve prefix arg) + Make "-" be negative-argument + +1985-07-23 Richard Mlynarik (mly at mit-prep) + + * shell.el (shell-send-input): + cd/pushd hackery wasn't substitute-in/expand-file-name'ing + (ie "cd $es" was losing) + +1985-07-16 Richard Mlynarik (mly at mit-prep) + + * view.el: + Add "c-x ]" and "c-x [" page-movement commands + "c-x /" "c-x j" register save/jump + + Speed up more losingly slow calls to substitute-command-keys by + conditional substitution of constant string. + (view-helpful-message, view-undefined, view-mode-command-loop) + + * mail-utils.el + rmail-dont-reply-to was losing on multi-line fields. + + * simple.el + delete-blank-lines was deleting too much if on an isolated blank line. + +1985-07-12 Richard M. Stallman (rms at mit-prep) + + * mh-e.el: + Replace C-h command with DEL so Help is still available. + get-string was erroneously used for read-string. + +1985-07-10 Richard M. Stallman (rms at mit-prep) + + * simple.el (function-called-at-dot): + Don't scan more than 1000 characters back for containing + open-paren. + + * simple.el (goto-line): + Read arg using minibuffer. + + * simple.el (zap-to-char): + Don't leave dot on the far side of the terminating character. + +1985-07-10 Richard Mlynarik (mly at mit-prep) + + * ebuff-menu.el (Electric-buffer-menu-undefined) + Don't call substritute-command-keys if keybindings are default, + with resultant couple-of-orders-of-magnitude speedup. + RMS: this is what my changes to Fsubstitute_command_keys in doc.c + were supposed to do. + +1985-07-09 Richard M. Stallman (rms at mit-prep) + + * isearch.el (isearch): + Do not preserve window-start if had switched to the small window. + + * dissociate.el: + Pause after each screen. Avoid forward-char past end of buffer. + Make positive arg mean go by chars, negative mean by words. + + * lpr.el: + Define lpr-region and print-region. Autoload in loaddefs. + +1985-07-08 Richard M. Stallman (rms at mit-prep) + + * compile.el (compile1): + Put buffer in Fundamental mode, in case default-major-mode + is something else. + + * mh-e.el: + backup-before-writing -> make-backup-files. + mh-clean-message-header: kill only one line, not 2. + + * ledit.el (ledit-from-lisp-mode): + Call ledit-mode-hook. + + * rmail.el (rmail-mode-1): + Include %M in the mode-line-format. + + * abbrev.el: Document meaning of negative arg to add-...-abbrev. + + * loaddefs.el: C-x - and C-x C-h had the wrong definitions. + + * debug.el: Document the `r' command. + +1985-07-07 Richard M. Stallman (rms at mit-prep) + + * view.el, buff-menu.el, ebuff-menu.el, echistory.el: + Do not redefine C-z. Allow it to exit from Emacs. + +1985-07-06 Richard M. Stallman (rms at mit-prep) + + * page.el (forward-page): + Avoid setting the mark. + + * c-mode.el (calculate-c-indent, indent-c-exp): + Don't subtract c-brace-offset when c-indent-level is used. + +1985-07-05 Richard M. Stallman (rms at mit-prep) + + * indent.el: + Put tab-to-tab-stop on Meta-i. + +1985-07-04 Richard M. Stallman (rms at mit-prep) + + * files.el (hack-local-variables): + Local variable list must start within last page of file + and within last 3000 characters; there need not be a page + boundary in the last 3000 characters, or anywhere near the + end, however. + + * mlconvert.el: + Convert backup-before-writing and unlink-checkpoint-files. + + * files.el: + Rename backup-before-writing to make-backup-files. + Rename auto-save-visited-filename to auto-save-visited-file-name. + +1985-07-03 Richard M. Stallman (rms at mit-prep) + + * dired.el (dired-revert): + Avoid error if point is at a non-file line. + + * abbrev.el (expand-region-abbrevs): + Record end of region as distance from dot-max, so it + remains correct as abbrevs are expanded. + + * startup.el (command-line-1): + Quote the backslash in the regexp for line-number specs. + +1985-07-02 Richard M. Stallman (rms at mit-prep) + + * c-mode.el (c-indent-line): + * lisp-mode.el (indent-code-rigidly): + C-u Tab in C mode: do indent lines starting + in middle of a comment, but don't indent preprocessor lines. + Involves new arg NOCHANGE-REGEXP to indent-code-rigidly. + + * rmail.el (rmail-show-message): + Don't print a blank message, in case where no message to print. + + * c-mode.el (calculate-c-indent): + Use new variable c-continued-statement-indent to determine + extra indentation in lines not starting new statements. + +1985-07-01 Richard M. Stallman (rms at mit-prep) + + * man.el: Catch the error if one of the directories searched + does not exist. + +1985-06-24 Richard M. Stallman (rms at mit-prep) + + * simple.el (help-map): + Define C-h b as describe-bindings and C-h s as describe-syntax. + Update documentation of help and help-for-help prompts for this. + +1985-06-22 Richard M. Stallman (rms at mit-prep) + + * compile.el (compilation-sentinel): + Advance dot if dot is at end of buffer. + +1985-06-22 K. Shane Hartman (shane at mit-prep) + + * rmailedit.el: + New file. The guts of rmail edit mode. + + * rmailsum.el: + New file. The guts of rmail summary mode. + + * rmail.el: + Massage it a bit to reduce the size. Put edit, summary stuff in + separate files and autoload from rmail. (provide 'rmail). + + * helper.el (Helper-help-scroller): + If there is already a *Help* window. Don't make another. + +1985-06-22 Richard M. Stallman (rms at mit-prep) + + * simple.el (set-variable): + New function. + +1985-06-18 K. Shane Hartman (shane at mit-prep) + + * rmail.el: + Massively rehacked. Better label support. Message selection, + deletion and expunging by dispatch. Toggle rmail and original + headers. etc... + +1985-06-18 Richard M. Stallman (rms at mit-prep) + + * shell.el: + Create variable explicit-shell-file-name that overrides + ESHELL and SHELL environment vars. + + * isearch.el (isearch, nonincremental-search): + Use explicit "%s" when calling message so %'s in message + are not special. + + * bytecomp.el (byte-compile-file-form): + Display name of function being compiled in echo area. + * bytecomp.el (byte-compile-find-vars-1): + Expand macros in order to find all the vars. + +1985-06-17 Richard M. Stallman (rms at mit-prep) + + * compile.el (compile1.el): + If *compilation* is current buffer, put point at end. + + * simple.el (indent-for-comment, kill-comment, set-comment-column, + indent-new-comment-line): use comment-start-skip to find comments. + Don't use find-comment-line any more. + + * lisp-mode.el, c-mode.el, scheme.el, mim-mode.el: + Define comment-start-skip so it does not match the null string. + + * c-mode.el (electric-c-terminator): + Don't use find-line-comment--use parse-partial-sexp to + check for line ending in a comment. + + * startup.el (command-line-1): + Define +nnn line-number specs. + Use precomputed help string for speed instead of + substitute-command-keys when the precomputed string is correct. + + * bytecomp.el (byte-compile-concat): + concat with one arg is not a no-op. + +1985-06-16 K. Shane Hartman (shane at mit-prep) + + * sendmail (mail-mode): + Mention that C-c y will yank current message in rmail whether + replying or not. + + * mail-utils (rmail-dont-reply-to): + If rmail-dont-reply-to-names is nil, make it be (getenv "USER"). + +1985-06-15 Richard M. Stallman (rms at mit-prep) + + * simple.el, lisp-mode.el, c-mode.el, scheme.el: + comment-indent-hook now called with no args, with point + at beginning of existing comment or at end of line. + mim-mode's comment-indent-hook seems to need no change. + +1985-06-14 K. Shane Hartman (shane at mit-prep) + + * loaddefs.el (rmail-dont-reply-to-names): + Misleading documentation said `list' of names. Its really a + regular expression. Make it nil by default. Also, add defconst + for `rmail-spool-directory'. + + * mail-utils.el (rmail-dont-reply-to): + Check for nilness of rmail-dont-reply-to-names and skip strip + loop if so. + + * loaddefs.el: Elisp -> Emacs-Lisp. + + * echistory.el, chistory.el: Elisp -> Emacs-Lisp. + + * rmail.el: + Various functions - If message counters aren't set, set them. + Expunge unsets them. Make expunge give running count in + minibuffer messages. + +1985-06-14 Richard M. Stallman (rms at mit-prep) + + * lisp-mode.el, startup.el, loadup.el: + Avoid problem with term "elisp". + Rename elisp-interaction-FOO to lisp-interaction-FOO, + rename all other elisp-FOO to emacs-lisp-FOO. + +1985-06-14 K. Shane Hartman (shane at mit-prep) + + * rmail.el (rmail-mode-1): + Use %b instead of %17b in mode-line-format to leave more room for + attributes (some of us like time in the modeline). + + * rmail.el: + Make rmail-summary-goto-msg barf if the summary is invalid (e.g. + after `e' or `g') and tell user to make a new one, leaving them in + the rmail window which is right place to do it. + + * rmail.el: + Add commands for user to set attributes. rlk called these + keywords and duplicated code (the only `attributes' were + "deleted" and "answered"). I don't think the distinction is worth + it. Add command for summarizing by attribute. Make + `rmail-new-summary' support it. + + * rmail.el (rmail-show-message): search instead of re-search. + + * rmail.el (rmail-output-to-mail-file): Yechh. Cleaned it up. + + * rmail.el (rmail-summary-mode): + Add functions for scrolling current message from summary. After + rlk, only make them bullet proof. Add quit from rmail. + + * rmail.el (rmail-new-summary): + Reuse old summary buffers when possible. After rlk, only his way + of doing it was brain damaged. + + * rmail.el: + rmail-last-message was off by 1. Fix it and put it on key `>'. + (bug noted by rlk). Make rmail-edit run text-mode-hook. rlk also + had it run `rmail-edit-mode-hook' but this is silly because function + claims to be like text-mode except for two keys. + + * rmail.el (rmail-insert-inbox-text): + Chomper wasn't deleting ~/.newmail after moving mail from + /usr/spool/mail/. Make it do the right thing. Use new variable + rmail-spool-directory (default "/usr/spool/mail/") to determine + if movemail should be called (some people use "/spool/mail/"). + Probably should move defvar to loaddefs when released. + + * simple.el: Flush `blink-matching-paren-ding' and code. + + * add-log.el: Flush `add-log-entry-to-log-in-buffer'. + + * loaddefs.el: + Changes to reflect partitioning of command history stuff. + Flush autoload of report-emacs-bug, leave the file emacsbug.el for + arpanet sites to use if they want. + + * echistory.el: (require 'chistory) + + * chistory.el: + Move list-command-history and command-history-mode here. Purpose + of this file is just to look at the history. Also contains + unrelated (to listing) but useful `repeat-matching-complex-command'. + + * simple.el (repeat-complex-command): + Replaced its definition with `repeat-edit-nth-complex-command' from + chistory.el, edit form in minibuffer instead of asking for + confirmation. Add new function `edit-and-eval-command' which it + uses. + +1985-06-13 K. Shane Hartman (shane at mit-prep) + + * rmail.el (rmail-insert-inbox-text): + Expand file name "movemail" in exec-directory for call-process. + The only reason it worked here before is because exec-directory is + in most people's shell paths. + No, this directory is added automatically to the path + used by call-process. It should have worked before. - RMS + + * loaddefs.el: C-z -> C-c in documentation for mail. + autoload report-emacs-bug from emacsbug.el. + + * emacsbug.el: New file. Reports bugs with version info. + + * helper.el (Helper-describe-bindings): + Make it describe local bindings faster by binding global map to + nil so describe-bindings is faked out. + + * lisp-mode.el: First form of prog1 is distinguished. + + * loaddefs.el: autoload functions from chistory.el and echistory.el. + + * chistory.el: + New file containing two alternatives to `repeat-complex-command' + which put the form in the minibuffer instead of asking for + confirmation. + + * echistory.el: + Finished it. Split off two useful but unrelated commands into + chistory.el. Made command-history-mode unable to redo expressions + because there is no sensible way to pick buffer to do it in: now + its just for looking at the history produced by + list-command-history or after electric-command-history throws. + + * electric.el: Allow specification of prompt to + Electric-command-loop. Interpret nil max-height argument to + Electric-pop-up-window as license to grab as much of the screen as + necessary if buffer wont fit; also fix fencepost neglect to + account for modeline in height computations. + +1985-06-12 Richard Mlynarik (mly at mit-prep) + + * rmail (rmail-insert-inbox-text) + file-name-directory includes a trailing "/" + +1985-06-12 K. Shane Hartman (shane at mit-prep) + + * shell.el (inferior-lisp-mode): + Call lisp-mode-hook AFTER shell-mode-hook. + + * rmail.el (rmail-get-attribute-string): + Did not account for empty attribute string. Neglected to include + leading `,' for rmail-display-message-attributes. Unbound + variable dot-max-save - I guessed that it was really supposed to + be dot-min before the widen (the start of the user visible header) + so I bound it and renamed it dot-min-save. + + * ebuff-menu.el: + New variable after-electric-buffer-menu called after select if + non-nil. Bind goal-column to nil while running. + + * add-log.el: + New function add-log-entry-to-log-in-buffer. Use when adding + multiple entries to the ChangeLog. Bound to ESC-*. Made it share + code with add-change-log-entry (former calls latter). + +1985-06-12 Richard M. Stallman (rms at mit-prep) + + * rmail.el (rmail-get-attribute-string): + Rewritten by rlk to be smaller and more general. + +1985-06-11 K. Shane Hartman (shane at mit-prep) + + * ebuff-menu.el: Make M-C-v scroll-other-window instead of + scroll-down. Make M-v scroll-down. + + * ebuff-menu.el, echistory.el: Made them use electric. + + * electric.el: + New module for packages that retain control until some event + occurs. Command loop and window maker. + +1985-06-10 K. Shane Hartman (shane at mit-prep) + + * echistory.el: + Made it use helper.el. Remove kill-ring-save stuff pending use of + new winning prin1-to-string for minibuffer hacking. + + * view.el: Made it use helper.el. + + * helper.el: + New module for packages which want to do help without giving up + control. + +1985-06-10 Richard M. Stallman (rms at mit-prep) + + * sendmail.el: + Switch to C-c as prefix instead of C-z. + +1985-06-09 Richard M. Stallman (rms at mit-prep) + + * simple.el: + Rename kill-ring-save to copy-region-as-kill. + Old name still works. + + * tags.el (visit-tag-table-buffer): + Give error unless tag table starts with a formfeed + as it should. + + * sendmail.el: + Install C-z w as mail-signature. + Fix bug of reinserting --text...-- in wrong place + when a null subject was deleted. + + * macros.el (kbd-macro-query): + Don't ask for input when macro is being defined. + When macro is executing, make prompt really appear. + In loaddefs, put this on C-x q. + +1985-06-09 K. Shane Hartman (shane at mit-prep) + + * dired.el: + Fix bugs in dired introduced by use of auto-save-file-name-p. Dont + call it if it isn't fbound (just look for `#'). Add second arg to + dired-get-filename which says just return nil (no error) if there + is no filename on line. Rename dired-mark-backup-and-temp-files + to be dired-mark-backup-and-auto-save-files. + +1985-06-08 K. Shane Hartman (shane at mit-prep) + + * ebuff-menu.el (electric-buffer-list): + Lost if # lines < window-min-height and there was only one window. + Make it win! + + * echistory.el: + New file - implements command history interface (electric and + plain jane listing). Waiting for opinions before I put it in + loaddefs. + + * ebuff-menu.el (electric-buffer-list): + Went to char select after Buffer-menu-execute, which can kill + lines. So set mark at select before execute and go to mark before + select. Winnage. + + * buff-menu.el: + Stomp all kinds of roaches. Buffer-menu-do-kills was doing re-search + when it wanted to do search (no harm, but faster). Fix fencepost + error, when it killed a buffer line, it neglected to move back, + thereby sitting on potential `K' which was missed. Wrap + save-excursion around kill-buffer, it seems that kill-buffer changes + something when it asks about mod file (dont ask me ...). + Buffer-menu-do-saves was searching for "\n.S", it meant re-search. + Teach Buffer-menu-unmark how to handle `%' and `*' at same time. + + * files.el (find-file-no-select): + Don't run dired if value of new variable find-file-run-dired is + nil. t by default. + +1985-06-07 K. Shane Hartman (shane at mit-prep) + + * options.el (list-options): Use substitute-command-keys. + + * loaddefs.el (view-file, view-buffer, electric-buffer-list): + Mention view-hook. Mention electric-buffer-menu-mode-hook. + + * ebuff-menu.el: + Restrict dot to actual buffer description line. Document some + functions. Make electric-buffer-menu-describe-mode interactive. + Make C-g shutup when it exits, advertise it as exit char. + Restrict help so that window configuration lossage is impossible + (could lose if went into full blown help). Add function for + describing help options. Add `v' command for viewing buffer and + returning to the Electric Buffer List. + + * loaddefs.el: autoload edit-picture. + + * picture.el: New "Major" mode for editing pictures and tables. + + * view.el: + Fix bug with non-file-buffer names. Use buffer name instead in + these cases. New variable view-hook. + +1985-06-06 Richard Mlynarik (mly at mit-prep) + + * view.el: + (provide 'view) + defined unadvertized c-m-a, c-m-e, c-m-b, c-m-f + at end of buffer says how to exit. + +1985-06-06 K. Shane Hartman (shane at mit-prep) + + * view.el: + Restrict quit to q, C-c, C-z. Fill keymaps with new function + view-undefined which dings and tells you how to quit or get help. + Add eval-expression but don't advertise it. + + * indent.el (edit-tab-stops-note-changes): + Make *Tab Stops* buffer go away when changes are installed by + switching to edit-tab-stops-buffer and burying *Tab Stops*. + +1985-06-06 Richard M. Stallman (rms at mit-prep) + + * fill.el: + New function fill-individual-paragraphs. + + * dired.el: + Rename dired-mark-temp-files to dired-mark-auto-save-files, + and make it use auto-save-file-name-p. + + * bytecode.el (byte-recompile-directory): + Use auto-save-file-name-p. Provide default definition of same. + + * files.el: + Define auto-save-file-name-p. + +1985-06-04 Richard Mlynarik (mly at mit-prep) + + * sendmail.el (sendmail-send-it): + Somewhat gratuitously deleting empty subject lines. + /usr/lib/sendmail seems smart enough (!) to hack this itself + +1985-06-04 K. Shane Hartman (shane at mit-prep) + + * info.el (Info-find-node, Info-exit): + Use expansion of filename in error message on file not found in + Info-find-node. Bury the current buffer in Info-exit because you + can say C-h i if you want to look at it again. + + * simple.el (goal-column): + Use \\[...] to refer to set-goal-column in variable documentation. + + * simple.el (function-called-at-dot, variable-at-dot): + Eliminate redundant testing of nil'ness of obj in and clauses. + + * simple.el (describe-variable): + Bind enable-recursive-minibuffers so can use C-h v. It would be + nice if instead could enable JUST C-h v (or C-h f for + describe-function). + + * aton.el (occur-menu): + Bogus message in minibuffer claimed C-z expanded menu entry. + Use substitute-command-keys to get the right key. Move to the + first line if rebuild-summary, else the next line. Make the + occur menu buffer read-only. + +1985-06-03 K. Shane Hartman (shane at mit-prep) + + * mim-mode.el: + Fix bugs related to moving across atoms in other packages (i.e. + with trailers). + +1985-06-03 Richard M. Stallman (rms at mit-prep) + + * c-mode.el (indent-c-exp, calculate-c-indent): + Fix indentation of line following a #-directive in C-M-Q, + by doing essentially what calculate-c-indent does. + New subroutine c-backward-to-start-of-if. + + * isearch.el: + Don't allow reverse search to match a string straddling the + initial value of dot. + + * simple.el (read-quoted-char): + Handle quitting correctly (really quit unless first input char). + Echo with spaces between chars and dash after + even if have prompt string. + +1985-06-03 K. Shane Hartman (shane at mit-prep) + + * mim-mode.el, medit.el: + Clean up the documentation, use \\[...] where appropriate. + Change a few names. Flush binding of uppercase letters in keymaps. + + * shell.el (run-lisp): + Make it put the *lisp* buffer in inferior-lisp-mode as + claimed in NEWS. + +1985-06-02 Richard M. Stallman (rms at mit-prep) + + * rnews.el (news-get-pruned-list-of-files): + Sort final list of files numerically. + + * simple.el, time.el, loadst.el (Info-directory): + Process exec-directory using expand-file-name + so as not to depend on whether it ends in /. + + * simple.el: define turn-on-auto-fill. + +1985-06-01 K. Shane Hartman (shane at mit-prep) + + * loaddefs.el: Update documentation for rmail. + + * lisp-mode.el (calculate-lisp-indent): + Asked (fboundp 'lisp-indent-hook). Right question is boundp. + + * scheme-mode.el (calculate-scheme-indent): Ditto. + + * compile.el (next-error): Missed a \\[...]. + + * buff-menu.el: + Use \\[...]. Disambiguate documentation of q command (read as if + you marked buffers with > instead of m, now mention mark `>' and + what command you use to make one). + + * loaddefs.el: + Put \ in front of \[ where needed. ' next-error in autoload + definition. Fix typo in electric-buffer-list documentation (also fix + in ebuff-menu). + +1985-06-01 Richard M. Stallman (rms at mit-prep) + + * Many files: put in \\[...] where appropriate. + +1985-06-01 K. Shane Hartman (shane at mit-prep) + + * shell.el (run-lisp): + Make it interactive since loaddefs claims it is. + +1985-06-01 Richard M. Stallman (rms at mit-prep) + + * isearch.el: + Fix quit logic since condition signaled is `quit' now. + Don't reprint echo area if have buffered ^G to handle. + +1985-05-31 K. Shane Hartman (shane at mit-prep) + + * c-mode.el (c-backward-to-noncomment): + Still failed to terminate in some cases (after many #include's and + #defines, comments at beginning of file). Now stop if looking at # + and dot <= lim. It guarantees termination but does it leave dot + at right place for indenter? + +1985-05-31 Richard M. Stallman (rms at mit-prep) + + * simple.el (help-for-help): + Lookup in help-map explicitly; calling help-command no longer works. + + * mlconvert.el (fixup-mlisp-syntax): + Skip strings and comments properly. Handle \ in char constants. + + * mlconvert.el (fixup-mlisp-symbols): + Skip strings, comments, char constants. + Find symbols even if they have no letters in them. + + * mlsupport.el: Insert symbol-value call in use-local-map. + Handle key codes > 127 in local-bind-to-key. + Write ml-modify-syntax-entry. + +1985-05-30 Richard Mlynarik (mly at mit-prep) + + * sendmail.el + Typo made sendmail-send-it lose when mail-interactive + + * simple.el + Aborting out of octal read in read-quoted-char restarts + "from the top." + + * startup.el + Catch another place where \\[..] was needed + Don't insert copyright info if noninteractive + +1985-05-30 K. Shane Hartman (shane at mit-prep) + + * lisp-mode.el (lisp-send-defun): + Make it interactive since it's on a key. Also, indent lambda like + defun. + + * view.el: + Improve documentation. Add isearch, previous and next + line (useful in conjunction with recenter and argument). Flush + repeat last command because it really does not repeat all commands. + Make space quit in help scrolling if no more to scroll. + +1985-05-30 Richard M. Stallman (rms at mit-prep) + + * simple.el: + Use \\[...] in doc strings when appropriate. + + * simple.el (blink-matching-paren): + Avoid error when (dot) - (dot-min) < 2. + + * simple.el (help-command): + Function help-command flushed. C-h now defined as + prefix character. + + * startup.el: + Use substitute-command-keys in printing startup message. + + * simple.el: + Define advertised-undo == undo, to force startup msg + to say C-x u rather than C-_. + +1985-05-29 Richard M. Stallman (rms at mit-prep) + + * rmail.el: + Add C-r command (rmail-edit-current-message) and its commands. + Separated out part of rmail-mode as rmail-mode-1. + + * Rename some files so all .el & .elc file names are <= 14 chars. + syntax-check-mim.el => mim-syntax.el (change in mim-mode.el too). + new-version-level.el => grow-vers.el. + scheme-mode.el => scheme.el + compare-windows.el => compare-w.el + electric-buffer-list.el => ebuff-menu.el + +1985-05-28 Richard Mlynarik (mly at mit-prep) + + * simple.el (describe-function) + bind enable-recursive-minibuffers to read fn name + (useful when typing c-h f after m-esc) + + * files.el + made create-file-buffer a lisp function (was in src/buffer.c) + + * electric-buffer-menu-mode.el + If the first character typed is a space then quit, ie return to + previous window/buffer configuration + +1985-05-27 Richard M. Stallman (rms at mit-prep) + + * fill.el (fill-region-as-paragraph): + It was filling to width (1- fill-column) + except on the last line of a paragraph. + Also make it not delete excess spaces in paragraph indentation, + delete fill prefixes before checking for excess spaces. + +1985-05-25 K. Shane Hartman (shane at mit-prep) + + * c-mode.el: + c-backward-to-noncomment failed to terminate on LF after #include + at beginning of buffer. Make it stop if it sees bobp in such cases. + + * isearch.el: + isearch was doing (push-mark odot) inside save-window-excursion, + which loses. Move to outside of save-window-excursion. + +1985-05-24 K. Shane Hartman (shane at mit-prep) + + * loaddefs.el: + Update documentation strings for dired, byte-recompile-directory. + Correct some typos and spelling errors. + +1985-05-24 Richard M. Stallman (rms at mit-prep) + + * add-log.el: + Don't make double blank line when adding to existing entry. + +1985-05-23 Richard M. Stallman (rms at mit-prep) + + * sendmail.el (mail-yank-original): + Arg other than C-u is # columns to indent. + + * lisp-mode.el: + Provide default definition of lisp-send-defun, to just get an error. + + * shell.el: rename lisp to run-lisp. + * loaddefs.el: make run-lisp autoloading. + +1985-05-23 Richard Mlynarik (mly at mit-prep) + + * files.el + FOO! Local-variables weren't working since hack-local-variables + was searching for "\n^L" not "\n\^L" + + * lisp-mode.el, loadup.el, startup.el + renamed lisp-interaction-mode to elisp-interaction-mode + Made elisp-mode call elisp-mode-hook, elisp-interaction-mode call + elisp-interaction-mode-hook. This will break people's init files! + + * loaddefs.el + made ".lisp" suffixes get lisp mode. Toto, I don't think we're + using fourteen-character filenames anymore. + Autoload scheme-mode + + * scheme-mode.el + installed scheme-mode, courtesy MIT scheme people. + + * lisp-mode.el + made mode doc strings use \[...] substitute-command-keys technology + +1985-05-23 Richard M. Stallman (rms at mit-prep) + + * lisp-mode.el: + Renamed lisp-mode to elisp-mode and external-lisp-mode to lisp-mode. + Renamed ...-map variables likewise. + + * loaddefs.el: + Made ".el" files use elisp-mode; ".scm" files use scheme-mode. + +1985-05-22 Richard M. Stallman (rms at mit-prep) + + * tags.el (visit-tag-table): + If tags file has changed since last read in, offer to read it again. + +1985-05-22 Richard Mlynarik (mly at mit-prep) + + * nrnews.el + Foo. A distinct lack of communication here. + Fairly radical surgery --- many bug fixes and clarifications, + quite different from rnews.el Sigh + +1985-05-22 K. Shane Hartman (shane at mit-prep) + + * view.el + Add new flavor of help. ?, h still give list of + commands. C-h understands m, c, k options. Make + help commands use pop up window with scroll on space. + + * loaddefs.el + Minor change for documentation of view-file and + view-buffer because C-h does not describe mode now. + +1985-05-22 Richard M. Stallman (rms at mit-prep) + + * rnews.el: + news-go-to-news-group: don't get confusing error if arg is nil. + Print messages describing change of groups here, not in callers. + Accept interactive string arg. + news-next-group: combine with news-move-to-group. + Change so arg N means go forward N groups. + Don't print any messages. + news-previous-group: call news-next-group. + Don't print any messages. + news-move-to-message: simplify by using news-previous-group. + Also, most messages were spurious. + news-goto-news-group: it had duplicate definitions. + Flushed both of them; use news-go-to-news-group instead. + various: standardized elipses in messages. + Use error rather than message where appropriate. + +1985-05-21 Richard Mlynarik (mly at mit-prep) + + * mlsupport: + Fixs assorted typos where variable "bufname" was changed to "name" + + * view.el + Make M-<, M-> work. Fix documentation strings to work with the + combination of lisp quoting and substitute-command-keys quoting. + + * electric-buffer-list.el + Call Buffer-menu-execute before selecting. (Why doesn't standard + buffer-menu-mode do this?) Flush "x", "1" and "2" commands + + * buff-menu.el: + Call bury-buffer after selecting new buffer. + Make things work when pop-up-windows is nil. + +1985-05-21 K. Shane Hartman (shane at mit-prep) + + * view.el: + Flush skip commands since they dont make much sense. Make searches, + goto-line's center display at point found with dot at beginning of + line. Use mark ring and provide mark manipulation commands. C-l + is recenter. Improve documentation. + +1985-05-21 Richard M. Stallman (rms at mit-prep) + + * loadup.el: + Copy DOCSTR rather than renaming it. + + * sendmail.el (mail-yank-original): + If have numeric arg, don't delete header fields and don't indent. + +1985-05-20 Richard M. Stallman (rms at mit-prep) + + * rmail.el (rmail-get-new-mail): + Pass the proper arg to delete-file. + Don't always say "no new mail has arrived". + + * sendmail.el (mail-send-and-exit): + Bury the *mail* buffer. + +1985-05-19 Richard Mlynarik (mly at mit-prep) + + * view.el, dired.el + typos in viewing stuff + + * simple.el, isearch.el + Added prompt argument to read-quoted-char; improved isearch + input echoing when reading quoted char. + + * sendmail.el, loaddefs.el + added send-mail-function; initially sendmail-send-it + (also, mail-yank-ignored-headers had a typo) + + * rmail.el (rmail-get-new-mail, convert-to-babyl-format, ...) + loaddefs.el + Remodularize inbox parsing. Add support(?) for mmdf inboxes. + Note that I can't seem to define definitive documentation of + what this format is; however the code installed seems to work + for all cases encountered + +1985-05-19 Richard M. Stallman (rms at mit-prep) + + * rmail.el (rmail-get-new-mail): + Pass the proper arg to delete-file. + + * view.el: + Change to use recursive-edit for its command loop. + Define < and > commands. + + * files.el (backup-buffer): + Get error if about to rename a directory. + +1985-05-18 K. Shane Hartman (shane at mit-prep) + + * view.el, more-mode.el: Latter flushed in favor of former. + view-mode preserves concept of more-mode but uses + non-standard command loop so that viewed buffer is unchanged + on exit from mode. + + * dired.el, loaddefs.el: Changed to use view.el. Change + documentation of dired-listing-switches to note importance of + excluding 'F' option. + +1985-05-17 Richard M. Stallman (rms at mit-prep) + + * isearch.el: + Preserve window-start on exit from save-window-excursion + +1985-05-16 Richard M. Stallman (rms at mit-prep) + + * rmail.el: correct read-only suppression in rmail-new-summary. + +1985-05-16 K. Shane Hartman (shane at mit-prep) + + * loaddefs.el: Autoload more-mode, more-file, more-buffer. + + * more-mode.el: New tourist mode for files. + + * dired.el: Put more-file on v-iew in dired. + Returns to dired when user quits more. + +1985-05-16 Richard Mlynarik (mly at mit-prep) + + * simple.el: make i run info + + * sundry changes to go with changes in src/fileio.c making + copy-file, rename-file, add-name take an optional third argument. + The only autoloaded system code this breaks is rmail --- + a condition-case for wrong-number-of-arguments kludge was installed + there in two places to make things work until everybody is running + an emacs which takes the extra arg (marked "** KLUDGE **".) Remember + to remove the kludge at that time! + Mods to files.el, loadup.el, rmail.el + + * added autoloading function electic-buffer-list + + * buff-menu.el: make splitting screen between > 2 buffers work + +1985-05-16 K. Shane Hartman (shane at mit-prep) + + * dired.el: Put dired-rename-file, dired-copy file-on keys. Make + them change buffer if appropriate. Put dired-mark-backup-files, + dired-mark-temp-files on keys. Eliminate possibility of looping + at last line in dired-repeat-over-filenames. + +1985-05-15 K. Shane Hartman (shane at mit-grape-nehi) + + * dired.el: Fix bug in dired-noselect which caused dired of / to + get buffer name of /default/directory// with contents of /. + +1985-05-13 Richard M. Stallman (rms at mit-prep) + + * isearch.el: Add crl's slow isearch code, plus changes: + use variable isearch-slow-speed to control whether to use it. + Also fix ^W inside reverse isearch with nonempty search string. + + * loadup.el: Flush the "inc" switch. + + * inc-version.el: Kill Emacs at the end. + + * simple.el: fixed overflow problem in what-cursor-position. + + * startup.el: Don't print a help message if noninteractive. + +1985-05-13 K. Shane Hartman (shane at mit-ajax) + + * replace.el: Add ?^ to list of special characters in query + replace loop so that replacing continues after moving back to + previous. + + * add-log.el: add prefix arg to add-change-log-entry so will + prompt for information if desired. If there is an entry for today, + make sure login-name is same before using it, else make new entry. + Use auto-fill-mode. + +1985-05-12 Richard M. Stallman (rms at mit-prep) + + * lisp-mode.el: defined lisp-mode-commands, lisp-mode-variables. + Added external-lisp-mode. + Made doc strings mention mode hook variables. + + * shell.el: defined functions `lisp' and `inferior-lisp-mode'. + Renamed shell-send-defun... to lisp-send-defun... + and made them use process "lisp", buffer *lisp*. + + * text-mode.el: made indented-text-mode not call text-mode. + Made doc strings mention mode hook variables. + + * c-mode.el: Made doc strings mention mode hook variables. + + * add-log.el + Change format used for change log entries. + Select indented-text-mode for the change log file. + +1985-05-12 Shane (shane at mit-ajax) + simple.el: suppress matching close paren if preceded + by char syntax \. + mim-mode.el: flush private paren blinker in favor of default. + add-log.el: change mode-string to mode-name so reflected in + mode-line. change \\W to \\sW when looking for place to add. + +1985-05-12 Richard M. Stallman (rms at mit-prep) + simple.el: modified open-line to insert newlines before + an existing one before dot. This makes better redisplay. + dired.el: Installed Shane's changes that allow user to choose + switches to use. + +1985-05-11 Richard M. Stallman (rms at mit-prep) + rmail.el: if given file name as argument, + correctly displays one message of that file + but does not try to get new mail. + simple.el: Fix what-line bug: line # too high by 1 if not at bol. + Put in blink-matching-paren-distance, + and check for wrong kinds of parens matching. + time.el: Put in display-time-day-and-date flag, + to display day and date in addition to the time. + startup.el: Call lisp-interaction-mode-hook if defined. + Set current buffer variables from defaults + in case user's init file has changed them. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 lisp/ChangeLog.2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/ChangeLog.2 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,3995 @@ +1988-09-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * Version 18.52 released. + + * fortran.el (fortran-split-line): Add space before continuation-char. + +1988-08-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * mh-e.el: New version from Larus. + +1988-08-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * view.el (view-mode): Initially view-scroll-size is nil. + (view-scroll-size): If it's nil, return (view-window-size). + +1988-08-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fill.el (justify-current-line): Skip fill-prefix before whitespace. + + * spell.el (spell-region): Change minibuffer prompt. + +1988-08-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * add-log.el (add-change-log-entry): Log filename is now an arg; + prompt for it with `interactive'. + (add-change-log-entry-other-window): Always use default log filename + and never prompt for anything. + +1988-08-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * simula.el: New version from obh. + + * add-log.el (add-change-log-entry): New arg OTHER-WINDOW. + (add-change-log-entry-other-window): New fn. + * loaddefs.el: Autoload that fn and put on C-x 4 a. + +1988-08-11 Chris Hanson (cph at kleph) + + * xscheme.el (xscheme-cd): New function to guarantee that `cd' + happens in Scheme process buffer. + +1988-08-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * life.el, saveconf.el, doctex.el: New files. + + * files.el (create-file-buffer): Avoid empty buffer name for root dir. + * dired.el (dired-find-buffer): Let create-file-buffer do more work. + (dired-noselect): Use directory-file-name, file-name-as-directory. + +1988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * server.el (server-process-filter): Handle +NNN to specify linenum. + (server-visit-files): Arg is now alist of (FILENAME . LINENUM). + + * server.el (server-visit-files): criterion for revert is if either + buffer or file has changed. + + * abbrev.el: Doc fix. + * files.el: + +1988-08-03 Robert J. Chassell (bob at frosted-flakes.ai.mit.edu) + + * texinfo.el: Changed fill-colum from 75 to 72. The larger + fill-column causes numerous overfull hboxes in TeX when you are + writing Emacs Lisp code that will be formatted as a Texinfo example. + +1988-07-31 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * rmailsum.el (rmail-new-summary): Always go to line for current msg. + (rmail-summary-exit): Delete just current window, and that + only if Rmail was already in another window. + +1988-07-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * tags.el: provide 'tags. + +1988-07-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * info.el (Info-follow-reference): Handle extra newlines, tabs or + spaces inside of cross-references. + + * outline.el: doc fix. + +1988-07-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * loaddefs.el: autoload texinfo-format-region. + +1988-07-22 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * simple.el (transpose-subr-1): Error if regions overlap. + + * dired.el (dired-flag-file-deleted): Directories no longer special. + * dired.el (dired-do-deletions): If deleting a dir, run `rmdir'. + +1988-07-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ftp.el (ftp-find-file-or-directory): Typo in arg name. + +1988-07-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * c-fill.el: New file. + + * compile.el (compilation-error-regexp): Exclude colon from filename. + +1988-07-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * view.el: `h' ran undefined command; make it like `?'. + +1988-07-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * spell.el (spell-region): Run spell-filter to alter the text + before actual checking. + +1988-07-15 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * rmailsum.el (rmail-make-basic-summary-line): If sender is self, + show recipient instead, with `to:'. + +1988-07-13 Richard Stallman (rms at wheat-chex.ai.mit.edu) + + * files.el (auto-save-file-name-p): doc fix. + +1988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * paths.el (rmail-spool-directory): Handle RTU like sysV. + +1988-07-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * compile.el (compile1): use set-buffer, not switch-to-buffer. + + * startup.el (command-line): strip hyphens one by one from TERM type. + +1988-07-05 Chris Hanson (cph at kleph) + + * texinfmt.el: Add support for @defun and related commands. + +1988-07-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * loadup.el: Avoid setting the global variable `name'. + +1988-07-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * rmail.el (rmail-make-in-reply-to-field): Use doublequotes, not + parens, around sender name in rfc822 mode. + + * info.el (Info-read-subfile): Don't lose if subfile header isn't + same length as main file header. + +1988-07-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * shell.el (shell-send-input): Put bound on search for prompt. + +1988-07-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * autoinsert.el: New file. + + * text-mode.el (center-region): Don't let end-of-region + become wrong when insertion/deletion is done. + + * info.el (Info-find-node): Typo in regexp. + (Info-following-node-name): At open paren, continue to close. + + * tags.el (list-tags): Terminate scan on end-of-buffer. + +1988-06-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * loaddefs.el (auto-mode-alist): C mode for `.cc'. + +1988-06-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * paths.el (rmail-spool-directory): Treat unisoft like usg. + + * texinfo.el (texinfo-show-structure): New function. + (texinfo-insert-*): Several new functions. + (texinfo-mode-map): New keymap. + + * dired.el: provide 'dired. + +1988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * files.el (hack-local-variables): Ignore `eval' if running as root. + +1988-06-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * nroff-mode.el (nroff-brace-table): Add G1 vs G2. + +1988-06-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * spell.el (spell-region, spell-string): Fix typo `spell-cmd'. + +1988-06-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lpr.el (lpr-command): New variable holds the shell command to + print a file (normally "lpr"). + +1988-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * rnewspost.el (news-inews): run news-inews-hook. + + * rmail.el (rmail-show-message): run rmail-show-message-hook. + +1988-06-12 Richard Stallman (rms at gluteus.ai.mit.edu) + + * keypad.el: Additional conventional chars added in the comments. + + * text-mode.el: erroneously installed text-mode-syntax-table + in current buffer. + +1988-06-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): Err if fill-prefix is + too long for the fill-column. + + * texinfmt.el (texinfo-format-{region,buffer-1}): Make sure buffer + ends in a newline. + +1988-06-07 Chris Hanson (cph at kleph) + + * xscheme.el (xscheme-process-filter-alist): add escape sequence + which instructs Emacs to change the working directory of the + Scheme process buffer. This change is required for Scheme runtime + library version 14. + +1988-06-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sendmail.el (mail-do-fcc): avoid insert-buffer (too high level). + +1988-05-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * outline.el: Must put `\(...\)' around outline-regexp + when prepending `^'. + +1988-05-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fortran.el, hanoi.el, helper.el, info.el, mlconvert.el, modula2.el, + rmail.el, sendmail.el, sort.el, underline.el: doc fixes. + * loaddefs.el: autoload doc fixes. + +1988-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * help.el (print-help-return-message): Handle pop-up-windows = nil. + + * nroff-mode.el (nroff-brace-table): Add more pairs, for some mm macros + (nroff-comment-indent): Recognize ' like period. + (nroff-mode): .SK and .OP separate pages. + + * shell.el (lisp-send-defun): Install new, corrected no-process check. + +1988-05-27 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * c-mode.el (electric-c-terminator): Tests to distinguish labels + from other uses of colon failed if inserting at end of buffer. + +1988-05-24 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * texinfmt.el (texinfo-parse-expanded-arg): like texinfo-parse-line-arg + but expand commands inside the arg. + (texinfo-index): Use that. + (@end ifinfo): Discard terminating newline. + +1988-05-23 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * files.el (file-name-sans-versions): VMS version can be sep. by `.'. + Also delete mysterious line that removes `$__$'. + +1988-05-22 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * gdb.el (gdb-filter-accumulate-marker): Empty gdb-filter-accumulate + since its contents are now in STRING. + + * rnews.el (news-get-pruned-list-of-files): catch errors for + read-protected directories. + +1988-05-20 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * meese.el: Bind off buffer-read-only while changing buffer. + Don't add protect-innocence-hook twice. + + * sendmail.el (mail-do-fcc): If fcc file is in a buffer, append there. + +1988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * bibtex.el (bibtex-mode): Delete some keys that were vt100 keypad. + (bibtex-DEAthesis): Delete this and its key definition. + (bibtex-sun-*): Insert functions. + +1988-05-15 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * loaddefs.el: Doc fix. + +1988-05-12 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * tex-mode.el (TeX-region): Pass nil to make-shell as startfile arg. + +1988-05-11 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * shell.el (make-shell): If PROGRAM is nil, default like M-x shell. + + * tex-mode.el (TeX-region): Used eliminated fn. expand-directory-name. + +1988-05-10 Richard Stallman (rms at corn-chex.ai.mit.edu) + + * shell.el (lisp-send-defun): Undo last change. + + * loaddefs.el (rmail-primary-inbox-list): Doc fix. + +1988-05-08 Richard Stallman (rms at lucky-charms.ai.mit.edu) + + * man.el (manual-entry): Handle section names > 1 letter. + + * paths.el (manual-formatted-*): Add alternative for Xenix. + +1988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * Version 18.51 released. + + * vms-patch.el (vms-suspend-resume-hook): New fn to find a file + after Emacs is resumed on VMS. + (vms-suspend-hook): Don't suspend if logical name DONT_SUSPEND_EMACS + + * server.el (server-start): Don't say "restarting" the first time. + + * files.el (revert-buffer): Avoid wta error if autosave turned off. + +1988-05-03 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * icon.el: New file. + +1988-05-02 Brian Fox (bfox at rice-krispies.ai.mit.edu) + + * replace.el (perform-replace): Make `y' do what SPC does, `n' do + what DEL does, and `q' do what ESC does. The original set of keys + still work. + +1988-05-01 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * gdb.el (gdb-filter-insert): Save and restore prev. current buffer. + (gdb-filter-accumulate-marker): set-buffer should not be done here. + +1988-04-28 Chris Hanson (cph at kleph) + + * xscheme.el: Force use of pipes for communication with inferior + Scheme. This avoids bugs in PTY implementations on various + systems. + +1988-04-25 Chris Hanson (cph at kleph) + + * scheme.el: Add indentation for `with-values'. + +1988-04-22 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * shell.el (shell-send-input, lisp-send-defun): Err right away + if shell no process. + + * text-mode.el (center-line): doc fix. + +1988-04-21 Richard Stallman (rms at corn-chex.ai.mit.edu) + + * texinfmt.el (texinfo-format-region): Select the output buffer + at the beginning. Copy the @setfilename command as well as + the specified region. At end, put point at top. + Accept @bye only at beg of line. + +1988-04-20 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * informat.el (Info-validate): Change message for Next's Previous. + Now the word "invalid" must be included in the message string + if it is wanted. + +1988-04-19 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * cl-indent.el (common-lisp-indent-hook): Handle ` like '. + + * gdb.el: Completely rewritten filtering mechanism (by cph). + Should look the same to the user. + +1988-04-18 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * startup.el (command-line): Treat `_' in term-type name like `-'. + + * term/apollo.el: New file, loads vt100.el. + + * dired.el (dired-mode): Allow no arg--to put any old dir into + dired mode. Make it interactive. + + * simple.el (indent-for-comment): If comment-start-skip has \(...\), + the delimiter starts where the end of the first pair matches. + + * tex-mode.el (TeX-common-initialization): Add a \(...\) to + comment-start-skip so its end is always at start of delimiter. + +1988-04-14 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * paragraph.el (forward-paragraph): Bug in pragraph-ignore-fill-prefix. + + * terminal.el (te-sentinel): Delete whitespace at end of buffer + before inserting the message. + + * debug.el (debug): Bind executing-macro to nil; avoid lossage + if enter debugger while kbd macro is running. + + * rmailout.el (rmail-output-to-rmail-file): + Error if output file is same as current file. + + * rmailout.el (rmail-output): Don't die if rmail-last-file is nil. + +1988-04-13 Leonard H. Tower Jr. (tower at rice-krispies.ai.mit.edu) + + * rnews.el: fixed mis-documentation. + +1988-04-13 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * dired.el (dired-readin): Print msg on startup and when done. + + * spell.el (spell-command): New var; command to use to invoke + the spell program. + + * terminal.el (terminal-emulator): Choose default shell like shell.el. + Use /bin/sh for changing env. + (te-parse-program-and-args): Use shell-file-name for globbing. + + * dired.el (dired-rename-file): Include old file name in prompt. + + * cal.el (calendar): Convert any nonnull arg to a number. + +1988-04-12 Chris Hanson (cph at kleph) + + * xscheme.el: Change to print ";No value" when the value of an + expression is undefined. + +1988-04-10 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * kermit.el: New file. + + * tex-mode.el (TeX-common-initialization): Make TeX-command, etc., + local here rather than in both callers. + Provide 'tex-mode. + (TeX-start-shell): Make keymap only once, and reuse it. + Pass 'nostartfile, not "/dev/null", to `make-shell'. + (set-buffer-directory): Use file-name-as-directory. Don't use... + (expand-directory-name): function deleted. + + * simple.el (indent-for-comment): If comment-start-skip matches a + string with nonfinal whitespace, the comment delimiter starts + after that whitespace (for indentation purposes). + Don't modify the buffer if existing indent is correct. + + * cmacexp.el (c-macro-expand): Use cpp to expand macros in the region. + * c-mode.el: Autoload that. + + * texinfmt.el (texinfo-format-scan): Guts of texinfo-format-buffer-1 + split into a new function. + Delete handling of C-q, which is not used in Texinfo nowadays. + (texinfo-format-region): New function to format a region. + +1988-04-09 Leonard H. Tower Jr. (tower at frosted-flakes.ai.mit.edu) + + * rnewspost.el (news-post-news, news-reply) No longer re-inits + *post-news* buffer, if buffer-modified-p. + +1988-04-09 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * spook.el (shuffle-vector): Rewrite by phr. + + * undigest.el (undigestify-rmail-message): Put space before `unseen'. + + * ada.el, c-mode.el, lisp-mode.el, mim-mode.el, modula2.el, prolog.el, + scheme.el: Make paragraph-ignore-fill-prefix locally t in these modes. + * paragraph.el (forward-paragraph): Ignore fill-prefix if + Make paragraph-ignore-fill-prefix is non-nil. + +1988-04-08 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * man.el, loaddefs.el: Doc fix. + +1988-04-06 Robert J. Chassell (bob at frosted-flakes.ai.mit.edu) + + * loaddefs.el: added `.texinfo' to the less common extensions + section of the auto-mode-alist so that emacs chooses the correct + mode for files with this extension. + +1988-04-01 Richard M. Stallman (rms at wilson) + + * gdb.el (gdb): Specify -cd option to GDB so GDB will use + the same path for the dir as the user is using in Emacs. + +1988-03-24 Richard M. Stallman (rms at wilson) + + * spook.el: New file. + + * nroff-mode.el (forward-text-line): either . or ' starts a request. + (nroff-mode): In paragraph-{start,separate}, ditto. + (electric-nroff-newline): Don't insert extra newlines. + +1988-03-23 Richard M. Stallman (rms at wilson) + + * x-mouse.el: Change unshifted clicks for x11. + Bind all up-clicks to no-op. + + * term/x-win.el (command-switch-alist): Ignore all X's switches + in x11. + Don't test fboundness of `x-change-display'. + On x11, don't set-input-mode or set term-setup-hook. + x-switches feature now broken. + + * term/x11-win.el: Delete this file since X11 is now + a subcase of X. + +1988-03-20 Richard M. Stallman (rms at wilson) + + * rmailkwd.el (rmail-next-labeled-message): Allow space + before the label name (since now they are supposed to be there). + + * paths.el (rmail-primary-inbox-list): Don't define it here. + * loaddefs.el: Define it here but set it to nil. + * rmail.el (rmail): If it's nil, compute the default here. + Now we decide $LOGNAME vs $USER at run time, not build time. + + * lisp-mode.el (lisp-indent-line): + Single-semicolon comment lines should be indented at comment col. + + * cl-indent.el (lisp-indent-do): Smarter version from Kevin Layer. + + * cl.el (setf): Simplify code produced; don't use `apply' + and, if handler isn't a macro, don't bind any temp vars. + + * cl.el: Make and doc strings and error messages use GNU style. + +1988-03-19 Richard M. Stallman (rms at wilson) + + * hideif.el: New version from liberte@b.cs.uiuc.edu. + + * VMS-oriented bug fixes from David Gentzel. + + * texinfmt.el (texinfo-format-setfilename): expand the filename. + (texinfo-do-itemize): Don't indent an empty line. + (texinfo-format-printindex): On VMS, use texinfo-sort-region to sort. + (texinfo-sort-{region,startkeyfun}): New functions. + + * sort.el: provide 'sort. + + * sendmail.el (mail): Doc fix. + + * help.el (help-with-tutorial): Use expanded file name for making bfr. + + * info.el (Info-find-node): Remove versions from file name. + * informat.el (Info-split): Remove versions from file name. + + * bytecomp.el (byte-compile-file, byte-recompile-directory): + Remove versions from name of file to write. Good on VMS. + (batch-byte-compile): Likewise. + +1988-03-18 Chris Hanson (cph at kleph) + + * term/x11-win.el (command-switch-alist): Option "-rn" mistakenly + omitted from this list. + +1988-03-18 Richard M. Stallman (rms at wilson) + + * modula2.el: Changes from Michael Schmidt: + Better prompting in m2-for. Variables for program name for + compilation and for linking. Don't assume executable name + comes from module name. m2-toggle knows about .md and .mi files. + + * rmail.el (rmail): Default for C-o is now `xmail'; + rmail-last-rmail-file now defaults independently to `XMAIL'. + + * lisp-mode.el (lisp-mode): Define C-c C-l as M-x run-lisp. + + * paths.el (rmail-primary-inbox-list): Use rmail-spool-directory + as a basis for value of this; avoid redundant decisions. + + * rnews.el (news-update-message-read): typo, cdadr => news-cdadr. + + * gdb.el (gdb): expand `path'; start-process loses if + default-directory is not absolute. + + * tags.el (find-tag-tag): Create this function again + to hold shared arg-reading code for find-tag and find-tag-other-window. + (find-tag, find-tag-other-window): Use find-tag-tag. + + * shell.el (inferior-lisp-mode): lisp-mode-variables needs an arg. + Also improve the doc string. + * chistory.el (Command-history-setup): Likewise. + +1988-02-11 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * Version 18.50 released. + + * tex-mode.el (tex-mode): Use the default if file has no tex commands. + + * term/vt200.el: Delete vt200-enable-arrows; leave the standard + name enable-arrow-keys. + + * version.el (emacs-build-system): Store system name on which + Emacs was built. + * version.el (emacs-version): Print that system name. + + * vip.el: Install version 3.5 sent by author. + + * man.el (nuke-nroff-bs): New regexp for footers on hpux. + +1988-02-10 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * simple.el (fundamental-mode): Delete fundamental-mode-map. + +1988-02-08 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * paths.el (rmail-primary-inbox-list): Check separately for which + directory and which envvar. + +1988-02-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * loaddefs.el: Autoload `gdb'. + + * gdb.el: New file, interface to GDB. From Schelter, + but rewritten to use the new GDB -fullname feature + and the new Emacs overlay-arrow-position feature. + + * dbx.el: New file (Masanobu's version, + changed to use overlay-arrow-string). + +1988-02-04 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * mh-e.el: Version 3.4o from Larus. + +1988-01-31 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * term/vt125.el, term/vt240.el: New files: + Just load vt100.el or vt200.el. + +1988-01-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * tags.el (find-tag-tag): Deleted. + * tags.el (find-tag-default): New function returns default tag + based on buffer text, or nil. + Fix several bugs such as handling of quote-characters, + and case of before or after a list or near unbalanced paren. + + * tags.el (find-tag): Use find-tag-default and show default in the + prompt while reading the tag. + +1988-01-24 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * undigest.el (undigestify-rmail-message): Accept "Apparently-To". + +1988-01-22 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * edt.el (edt-bind-gold-keypad): New fn so that calls to + define-keypad-key are deferred till edt-mode is turned on. + +1988-01-21 Richard Stallman (rms at frosted-flakes) + + * simple.el (kill-line): doc fix. + +1988-01-20 Richard Stallman (rms at frosted-flakes) + + * rmail.el (rmail-get-new-mail): If save fails, recount messages. + * rmail.el (rmail-revert): Handle revert-buffer; recount messages. + * rmail.el (rmail-variables): Set up to use this. + * rmail.el (rmail-convert-file): Babyl-mode conversion code + moved here from `rmail'. + + * files.el (revert-buffer): Return t if did revert. + +1988-01-19 Richard Stallman (rms at frosted-flakes) + + * sendmail.el (mail-send-and-exit): Don't delete the window + unless an rmail-mode buffer is in the next window. + +1988-01-19 Chris Hanson (cph at sugar-smacks) + + * xscheme.el: Extensive changes including better documentation, a + new major mode `scheme-debugger-mode', and a new format for the + modeline when using the Scheme interface. + + The major mode `scheme-debugger-mode' is used when Scheme is + running one of the character-driven debugger interfaces. It is + like Scheme mode except that evaluation is disabled, and + characters that are normally self-inserting instead are + transmitted to the Scheme process. + + The modeline is changed so that information about the state of the + Scheme process is shown only in buffers whose major mode is + `scheme-mode' or one of the related Scheme major modes. + Information about the state of the read-eval-print loop is shown + only in the Scheme process buffer. + + All of these changes are upwards compatible with versions of + Scheme which ran using the previous interface. However, some of + the features will not be enabled in older Scheme systems. Newer + versions of Scheme (specifically, those newer than release 6.1.1) + require the new interface for correct operation. They will not + work correctly with older version of this interface. + + * scheme.el: Minor changes to support "xscheme.el" changes. + Mostly this involved adding hooks to existing facilities. + +1988-01-19 Richard Stallman (rms at frosted-flakes) + + * c-mode.el (indent-c-exp): Use new state-element from + parse-partial-sexp to handle case of (...newline...) {... + +1988-01-17 Richard Stallman (rms at frosted-flakes) + + * rmail.el (rmail-display-labels): Preserve buffer bounds correctly. + Remove extra spaces from the string before displaying it. + + * rmail.el (rmail-insert-inbox-text): message only if file exists. + * rmail.el (rmail-get-new-mail): Don't save if was no new mail. + +1988-01-15 Richard Stallman (rms at frosted-flakes) + + * info.el (Info-search): Two bugs in indirect files: + Failed to search the indirect table right, and failed + to recover if nothing found. + +1988-01-14 Richard Stallman (rms at frosted-flakes) + + * loaddefs.el: Make search-... into user variables. + +1988-01-11 Richard Stallman (rms at frosted-flakes) + + * rmail.el (rmail-display-label): Put a space before each label + name if there wasn't one already. Turns out valid BABYL format + requires a space there. + + * rmailkwd.el (rmail-set-label): Expect and write spaces before labels. + Eliminate the loop to delete such spaces. + + * rmail.el (rmail-set-attribute): Expect and write spaces before labels. + * rmailsum.el (rmail-summary-by-labels): Expect spaces. + + * info.el (Info-find-node): If filename starts with ./, + interpret relative to current directory. + +1988-01-10 Richard Stallman (rms at frosted-flakes) + + * undigest.el: If it fails, delete ALL of the temporary copy. + +1988-01-06 Richard Stallman (rms at frosted-flakes) + + * paths.el (mh-dir, mh-lib): Add two new alternatives to test for. + (For HPUX). + * paths.el (manual-formatted-dirlist) [HPUX]: + Add a completely new alternative value. + +1988-01-05 Richard Stallman (rms at frosted-flakes) + + * simple.el (indent-new-comment-line): In a comment, look back + for a line with a nonempty comment and indent the comment text + like it. + + * lpr.el (print-buffer-1): Use `untabify' to expand tabs, + not the `expand' program. Fix other bugs with tab-width != 8. + +1987-12-26 Richard Stallman (rms at frosted-flakes) + + * c-mode.el (electric-c-terminator, c-indent-line): + Don't recognize `case' unless space or tab follows. + +1987-12-23 Richard Mlynarik (mly at peduncle) + + * loaddefs.el: + Update terminal-emualator documentation. (This wasn't done + after the last edit.) + + * terminal.el: + Split out te-stty-string from function terminal-emulator. + Run "sh" if no env var SHELL. + Add nonstandard (though useful) NF and LP termcap flags. + Fix terminal-emulator documentation. Some comments. + +1987-12-22 Richard Stallman (rms at frosted-flakes) + + * rnews.el (news-get-pruned-list-of-files): Don't die on + unreadable directory. + +1987-12-21 Richard Stallman (rms at frosted-flakes) + + * window.el (split-widow-{vertically,horizontally}): + Make the arg optional. + +1987-12-09 Richard Stallman (rms at frosted-flakes) + + * picture.el (picture-clear-rectangle): Delete spurious arg. + +1987-12-08 Richard Stallman (rms at frosted-flakes) + + * rmailout.el (rmail-output): Don't crash if msg has no From. + + * dabbrev.el (dabbrev-expand): Don't print messages. + + * isearch.el (nonincremental-search): Put onto command-history. + + * simple.el (kill-region): Doc fix. + +1987-12-06 Richard Stallman (rms at frosted-flakes) + + * compile.el (compilation-error-regexp): Last alternative + could match spuriously; change `.*' to ` *'. Change may be wrong; + nobody knows which program makes error messages this should match. + + * terminal.el: Many fixes: some new termcap entries and fix bugs + in others. + + Terminal width and height may be specified. + Scrolling is now the default. Enabling or disabling scrolling + during use does not really work because it is necessary to change + the termcap entry. + + Do `stty new dec' at startup. Without this, you get printing + terminal echoing which looks very strange with DEL as the erase + char. This may lose on sysV, but the need can't be ignored. + + One known bug remains a mystery: when running `ex', the empty-line + command fails to overprint the colon with the text that is + printed. The output Emacs receives contains a crlf in place of a cr. + + * startup.el (command-line-1): Don't insert the startup-message + in a buffer other than *scratch*. Fixes bug with (rmail) in .emacs. + + * files.el (save-buffer): Don't make a backup if arg is 0. + Clean up documentation. + + * tags.el (tags-query-replace): Handle prefix arg like query-replace. + + * replace.el ({keep,flush}-lines): Handle matches split across lines. + +1987-12-05 Richard Stallman (rms at frosted-flakes) + + * xscheme.el (xscheme-start-process): Put xscheme-mode-string + into mode-line-process. + * xscheme.el (add-to-global-mode-string): Function eliminated. + + * startup.el: New var window-setup-hook; works like term-setup-hook. + * term/x-win.el: Set window-setup-hook instead of term-setup-hook. + term-setup-hook now for users only. + +1987-12-04 Richard Stallman (rms at frosted-flakes) + + * tags.el (find-tag): Better error message when no tag found + for substring. + + * lisp-mode.el (emacs-lisp-mode-syntax-table): New variable. + Initialize this instead of lisp-mode-syntax-table. + * lisp-mode.el (lisp-mode-variables): New arg; if non-nil, + initialize lisp-mode-syntax-table unless already done, + and install it. + * lisp-mode.el (*-mode): Pass an arg to lisp-mode-variables. + + * lisp-mode.el (eval-last-sexp): Use emacs-lisp-mode-syntax-table. + * lisp-mode.el (eval-print-last-sexp): + * debug.el (debugger-mode): + * chistory.el (Command-history-setup): + * options.el (Edit-options-mode): + +1987-12-01 Richard Stallman (rms at frosted-flakes) + + * lisp-mode.el (calculate-lisp-indent): Typo for case within a string. + Indent first arg of ordinary function directly under the function + name. Remove a call to parse-partial-sexp that always did + nothing. + +1987-11-25 Richard Stallman (rms at frosted-flakes) + + * rmail.el (rmail): Widen and goto beginning before checking format. + +1987-11-22 Richard Stallman (rms at frosted-flakes) + + * page.el (mark-page): Be more careful about where exactly + to put the buffer boundaries. Widen before searching for a page. + +1987-11-19 Richard Stallman (rms at frosted-flakes) + + * startup.el (command-line-1): Don't (goto-line 0). + + * replace.el (occur-mode): Doc fix. + +1987-11-11 Richard Stallman (rms at frosted-flakes) + + * dired.el (dired-find-file{,-other-window}): No need to + check for a line saying it is a directory, because find-file + does that in a better way. + * dired.el (dired-view-file): Use file-directory-p to + decide whether to call dired. + + * rmail.el (rmail): If buffer already existed and find-file + reverts it, recompute the message tables. + +1987-11-03 Richard Stallman (rms at frosted-flakes) + + * files.el (hack-local-variables): If selective-display + is set, next local-variables line starts with either \n or ^M. + +1987-10-31 Richard Stallman (rms at sugar-smacks) + + * mh-e.el (push): Renamed to mh-push. + + * mailalias.el (define-mail-alias): Fix bug when there was + multiple whitespace. + +1987-10-29 Richard Stallman (rms at frosted-flakes) + + * simple.el (repeat-complex-command, next-complex-command): + Rename `arg' to `repeat-complex-command-arg'. + +1987-10-15 Leonard H. Tower Jr. (tower at frosted-flakes) + + * rnewspost.el (news-inews): + commented out -n and -t args in news-inews. + +1987-10-07 Richard Stallman (rms at frosted-flakes) + + * tex-mode.el (TeX-start-shell): Copy the local map + before changing it: don't clobber shell-mode's map. + + * rmail.el (rmail-insert-inbox-text): Print the "getting..." + message for all files. + +1987-10-02 Richard Stallman (rms at frosted-flakes) + + * rnews.el: Rename // to news-/. Rename cadr, etc. to news-cadr, etc. + Rename push to news-push and supply a definition for it. + +1987-09-30 Richard Stallman (rms at frosted-flakes) + + * compile.el (compile1): Save the compilation process + across the sit-for. + +1987-09-16 Richard M. Stallman (rms at prep) + + * Version 18.49 released. + + * debug.el (debugger-mode): mode-class special. + + * buff-menu.el: Typo putting mode-class on `Buffer-menu-mode'. + + * c-mode.el (electric-c-brace): set insertpos after + calling newline, since newline might do an auto-fill. + +1987-09-12 Richard Mlynarik (mly at prep) + + * loaddefs.el, mail-utils.el (rmail-dont-reply-to): + Add new variable `rmail-default-dont-reply-to-names' which is used + (together with the user's name) as the default value of + rmail-dont-reply-to-names. This variable replaces the wired-in + constant "info-" in `rmail-dont-reply-to' and is intended to be + used in the site-init.el file -- eg "all-ai\\>\\|[0-9]ai\\>\\|info-" + +1987-09-10 Richard M. Stallman (rms at prep) + + * debug.el (debug): bind default-major-mode normally when + creating the backtrace buffer. + + * rmailsum.el (rmail-summary-goto-msg): Avoid error on empty buf. + +1987-09-07 Richard Mlynarik (mly at prep) + + * rmailsum (rmail-new-summary): Fix scope of `new-summary-line-count' + + * lisp-mode.el (calculate-lisp-indent): + Don't fail on first line of defun. + +1987-08-30 Richard M. Stallman (rms at prep) + + * Version 18.48 released. + + * backquote.el: Rename push to bq-push, and likewise for + caar, cadr and cdar. Delete cddr. + Definitions for the common-lisp functions + were different from those in cl.el and could interfere. + +1987-08-19 Richard Mlynarik (mly at prep) + + * lisp-mode.el (lisp-indent-hook): Fix braino. + +1987-08-14 Richard M. Stallman (rms at prep) + + * loaddefs.el (auto-mode-alist): Recognize .emacs file + with either Unix or VMS syntax. + + * sun-mouse-fns.el: Renamed to sun-fns.el. + * sun-mouse.el, term/sun.el: Rename references too. + + * shell.el (lisp-send-defun-and-go): + Call to lisp-send-defun requires an arg. + +1987-07-31 Leonard H. Tower Jr. (tower at prep) + + * rnewspost.el (news-setup) commented out Posting-Front-End to + save USENET bytes + +1987-07-29 Richard Mlynarik (mly at prep) + + * simple.el (negative-argument): + Pass explicit ?- to prefix-arg-internal rather than relying on + value of last-command-char (broke when this command wasn't + assigned to the "-" key) + + * loaddefs.el: Autoload common-lisp-indent-hook. + + * cl-indent.el: + New file which understands common lisp special forms and + has hairy indentation-specification templates. + (setq lisp-indent-hook 'common-lisp-indent-hook) + to enable it. + + * lisp-mode.el (lisp-indent-hook): + No need to do save-excursion. + Deal with case of car of form being a list (which used to be + handled by calculate-lisp-indent) + + * lisp-mode.el (calculate-lisp-indent): + Call indent-hook even if looking-at a list. + Needed for correct indentation of pleblisp FLET, etc. + +1987-07-26 Richard M. Stallman (rms at prep) + + * rmailsum.el (rmail-new-summary): Avoid error on empty summary. + + * sendmail.el (mail): Doc fix. + + * c-mode.el (c-backward-to-noncomment): Last change broke it totally. + +1987-07-25 Richard M. Stallman (rms at prep) + + * paths.el (term-file-prefix): Make it "[.term]" on VMS + + * mlconvert.el: Add a few simple translations. + + * tags.el (visit-tags-table): Reset tag-table-files. + +1987-07-18 Richard M. Stallman (rms at prep) + + * lpr.el (print-region-1): Make program name conditional on + system-type; use "lp" on sysV. + + * keypad.el: Use help-for-help on the `?' key. + Provide a default for the `D' key. Change syntax for the + control-letters from ^ to `C-'. + + * simple.el (delete-indentation): Do nothing if have arg + and on last line of buffer. + + * mailalias.el (define-mail-alias): Call build-mail-aliases + if that has not yet been done. + + * mailalias.el (build-mail-aliases): If no newline at eof, invent one. + + * helper.el (Helper-help): Downcase the char before looking in map. + + * informat.el (Info-tagify): The check for a split file + searched for the wrong string. + +1987-06-30 Richard Mlynarik (mly at prep) + + * info.el (Info-menu): + If interactive and point is within a menu item, + make that item the default for completing-read. + + * man.el (nuke-nroff-bs): + Split this function out from manual-entry for users who need to + remove stupid control-h characters from text. + + * mh-e.el: Version 3.4m from Larus. + Bug fixes plus draft folders. + +1987-06-29 Richard M. Stallman (rms at prep) + + * vms-patch.el (make-legal-file-name): New function converts any + string to a similar string that's a legal VMS filename. + + * picture.el: provide 'picture. + + * blackbox.el (bb-init-board): + Use (logand (random) 7) instead of remainder by 8. + +1987-06-25 Richard M. Stallman (rms at prep) + + * replace.el (perform-replace): Don't exit on no-op comma. + +1987-06-23 Richard M. Stallman (rms at prep) + + * c-mode.el (electric-c-terminator): Bug if auto-fill + while doing an auto-newline. (insertpos off by 1). + + * files.el (set-visited-file-name): + Downcase buffer name uniformly on VMS. + +1987-06-22 Richard M. Stallman (rms at prep) + + * c-mode.el (c-backward-to-noncomment): + Don't loop on lines starting in ` #'. + +1987-06-18 Richard M. Stallman (rms at prep) + + * files.el (set-visited-file-name): + Downcase the new buffer name on VMS. + +1987-06-17 Richard M. Stallman (rms at prep) + + * view.el (View-scroll-lines-forward): + If end of buffer is visible, exit view mode. + +1987-06-15 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-get-new-mail): + If file has changed on disk and is read in again, + count its messages again. + +1987-06-10 Richard M. Stallman (rms at prep) + + * Version 18.47 released. + + * startup.el (command-line): Old test for su failed. + Now assume su if (user-login-name) != (getenv "USER"). + +1987-06-08 Richard M. Stallman (rms at prep) + + * version 18.46 released. + + * isearch.el (isearch): Typo (3 should be 2) in getting old + start-point in reverse regexp search made more liberal. + +1987-06-08 Chris Hanson (cph at prep) + + * scheme.el (scheme-mode-syntax-table): Typo. + +1987-06-04 Richard M. Stallman (rms at prep) + + * telnet.el: Doc fix. + +1987-05-31 Richard M. Stallman (rms at prep) + + * version 18.45. + + * informat.el (Info-split): Bind case-fold-search to t. + +1987-05-29 Richard M. Stallman (rms at prep) + + * lisp-mode.el: Add some comments. + + * replace.el (list-matching-lines): If run on *Occur* buffer, + find nothing, rather than getting infinite loop. + +1987-05-28 Richard M. Stallman (rms at prep) + + * simple.el (backward-delete-char-untabify): + Use insert-char to insert the spaces. Wins for large tab-width. + +1987-05-28 Chris Hanson (cph at prep) + + * xscheme.el (xscheme-send-current-line): Send the line to Scheme + AFTER writing the newline which acknowledges the command. + Otherwise the process-mark can end up in the wrong place. + +1987-05-28 Richard M. Stallman (rms at prep) + + * texinfmt.el (texinfo-format-printindex): Pass -d to `sort'. + This makes entry `Foo' precede `Foo Bar'. + + * vms-patch.el (create-file-buffer): New VMS-override definition + downcases the file name. + +1987-05-27 Richard M. Stallman (rms at prep) + + * informat.el (Info-split): Put newlines at end of split files. + + * dabbrev.el (dabbrev-expand): Preserve case in the replacement + if that's enabled and the replacement is either all lower case + or capitalized. + (dabbrevs-search): Don't distinguish possible replacements + that match except for case, if new 3rd arg NOCASE is set. + + * ftp.el (various): Ignore errors in accept-process-output. + +1987-05-25 Richard M. Stallman (rms at prep) + + * sun-mouse-fns.el (mouse-scroll-proportional): + Scroll proportional to current restrictions. + * sun-mouse-fns.el (enable-mouse-in-buffer-list): + Make mouse do something on *Buffer List*. + +1987-05-23 Richard M. Stallman (rms at prep) + + * shell.el (kill-output-from-shell): Save final unfinished line. + +1987-05-21 Richard M. Stallman (rms at prep) + + * c-mode.el (calculate-c-indent, indent-c-exp): + When using c-continued-statement-offset, if line starts + with an open-brace, add c-continued-brace-offset. + +1987-05-20 Richard M. Stallman (rms at prep) + + * isearch.el (isearch): When splitting window, any hscroll + stays with the text it applied to. + +1987-05-19 Chris Hanson (cph at prep) + + * scheme.el (scheme-indent-specform): + Do not handle first two distinguished forms specially. All + distinguished forms are indented at double scheme-body-indent. + + * scheme.el: + Conditionalize MIT-Scheme specific indentation with a flag + `scheme-mit-dialect'. Users of other dialects can set this to + false to disable that indentation. + +1987-05-16 Richard M. Stallman (rms at prep) + + * rmailsum.el (rmail-summary-scroll-msg-{up,down}): + Simplify, and make ...-down use scroll-other-window + so it avoids changing the selected window. + + * tex-mode.el (TeX-common-initialization): Don't give \ + any special syntax. + + * dired.el (dired-compress): Fix typo in call to `message'. + + * rmailsum.el (rmail-make-basic-summary-line): + When searching for header field names, insist they appear + at beginning of line. + + * subr.el (one-window-p): If ARG was nil it was + really less-than-three-windows-p. + * sendmail.el, electric.el, ehelp.el, rmail.el: + Delete temporary duplicate definitions of one-window-p. + +1987-05-13 Richard M. Stallman (rms at prep) + + * sendmail.el (mail-setup): New parameter mail-default-reply-to: + if non-nil, insert it as a Reply-to field. + + * dired.el (dired-unflag): Doc fix. + + * simple.el (blink-matching-open): + Don't use last-input-char; look in the buffer to determine + which closeparen is present. + +1987-05-12 Richard M. Stallman (rms at prep) + + * loadefs.el (sentence-end): Treat `}' like `)'. + + * buff-menu.el (buffer-menu-mode): + Run buffer-menu-mode-hook. + + * modula2.el (m2-newline): Define this missing function. + + * server.el (server-done): Write MH backup with write-region. + loaddefs.el: Autoload server-start, not server-edit. + (server-start): Change documentation: this is the main entry. + + * startup.el (command-line): If running under `su', + use user's original login name to get init file. + Otherwise use $HOME. + +1987-05-11 Richard M. Stallman (rms at prep) + + * isearch.el (isearch): When splitting window for slow search + with temp window at the top, prevent scrolling in main window. + + * term/vt200.el: Correct mapping of Insert key. + + * loaddefs.el (run-scheme): Add an autoload. + +1987-04-29 Richard Mlynarik (mly at prep) + + * abbrevlist.el (list-one-abbrev-list): Use value returned by sort. + (Michael Prange <8704291816.AA13767@prep.ai.mit.edu>) + +1987-04-29 Leonard H. Tower Jr. (tower at prep) + + * loaddefs.el + Updated rnews documentation and added autoload of news-post-news. + +1987-04-28 Leonard H. Tower Jr. (tower at prep) + + * rnewspost.el (news-post-news, news-reply) + Fixed news-show-all-headers bug when *news* buffer was on an + article that no longer has a file in the news spool directory + tree. Also made both work from almost any buffer in any mode. + (Dave Steiner <8704230309.AA03452@topaz.rutgers.edu>) + +1987-04-28 Richard Mlynarik (mly at prep) + + * files.el (save-buffer): + When saving a large file, print a message. + + * terminal.el (te-newline, te-set-window-start): + Don't set-window-start unless + (eq (selected-window) (get-buffer-window (current-buffer))) + + * startup.el (command-line): -batch => -no-init-file + +1987-04-23 Leonard H. Tower Jr. (tower at prep) + + * rnewspost.el; rnews.el: + added (require 'rnews) and (provide 'rnews), respectively. + +1987-04-23 Chris Hanson (cph at prep) + + * scheme.el: + * xscheme.el: + Install new versions of these files to correspond to CScheme + release 5. The old `xscheme.el' will not work correctly with the + new CScheme release. The new `scheme.el' implements the Scheme + standard syntax more correctly. + +1987-04-23 Richard Mlynarik (mly at prep) + + * loaddefs.el: + Autoload `run-prolog'. ".pl" files are in prolog-mode. + + * prolog.el: Fix to prolog-indent-level. + (Masanobu UMEDA <8704201111.AA10940@flab.flab.fujitsu.junet>) + + * vip.el: Fixes from Masahiko Sato; Version 2.8 + (ms@sail.stanford.edu <8704231017.AA11075@nttlab.ntt.junet>) + +1987-04-15 Paul Rubin (phr at prep) + + * version 18.44 released. + +1987-04-14 Richard Mlynarik (mly at prep) + + * mailalias.el (build-mail-aliases): + Don't treat "alt" as "alias" (delimit "[ \t]+" not "[ \t]*") + (sjk <8704140433.AA00840@cancun.ads.arpa>) + +1987-04-13 Richard Mlynarik (mly at prep) + + * loaddefs.el ((query-)replace-regexp documentation): + Use \=\ in doc strings now that \< is special in + substitute-command-keys. + +1987-04-11 Richard Mlynarik (mly at prep) + + * server.el: (various): + Changes suggested by rlk@athena.mit.edu + (<8704032045.AA00797@CHOWPEENTULK.MIT.EDU>) + + * loaddefs.el: + Autoload server-edit rather than server-start. + [This was later taken out.] + + * dired.el (dired-compress, dired-uncompress): + Add "(Un)compressing ... done" messages. + + * view.el (view-mode-command-loop): + Restore local map of correct buffer, even if user has switched + buffers. + (jason <19933.545094826@violet.berkeley.edu>) + + * lisp.el (lisp-complete-symbol): + Skip over `quote' syntax chars to find real start of symbol. + (douglis <8704102143.AA16318@sloth.Berkeley.EDU>) + +1987-04-10 Richard Mlynarik (mly at prep) + + * mailalias.el: + build-mail-aliases: Hack "\\\n" continuation lines. + define-mail-alias: Addresses sent to the mailer should be + separated by ", ", not " "!! + +1987-04-08 Richard Mlynarik (mly at prep) + + * rfc822.el (rfc822-addresses): + Don't loop trying to report that ";" is an invalid address. + +1987-04-06 Richard Mlynarik (mly at prep) + + * sun-mouse.el: (sm::window-xy): + Agree with `new' args to next-window. + (peck@sun.com <8704032106.AA12845@denali.sun.com>) + +1987-04-03 Richard Mlynarik (mly at prep) + + * term/vt200.el: Fix typo. + +1987-04-02 Richard Mlynarik (mly at prep) + + * startup.el (command-line): + Default init file is "$HOME/.emacs", not "~$USER/.emacs" + +1987-03-31 Richard Mlynarik (mly at prep) + + * edt.el: Fix typo. + + * mh-e.el (mh-send-letter): + "-unique" => "-nopush. + (larus <8703311804.AA05788@paris.Berkeley.EDU>) + + * shell.el: Minor doc fixes. + + * rmail.el (rmail-get-new-mail): + Handle errors competently. (Don't attempt to + handle them, rather than botching the job) + + * rmail.el (rmail-insert-inbox-text): + Put ".newmail" file in same directory as rmail-file-name + rather than in $HOME. This allows one to read things in + even when out of space on one filesystem. + Use expand-file-name rather than (concat file "/...") + for system-independence. + Collect and report errors from `movemail' (rather than + saying "(There is no new mail)"!) + + * rmail.el: + rms' changes of the 5th of March never made it in. + rmail-undelete-previous-message, rmail-next-undeleted-message: + Don't call rmail-show-msg if message is already current. + Avoids scrolling. + +1987-03-22 Richard M. Stallman (rms at prep) + + * Version 18.41 released. + + * vip.el (vip-mode): Add this function, which loaddefs.el expected. + * vip.el (change-mode): Eliminate emacs-mode-line-format; + use change-mode-line when reentering emacs-mode. + + * prolog.el (prolog-mode-variables): comment-column=48. + * prolog.el (prolog-consult-region): New arg COMPILE (prefix). + Before the region, send one of prolog-{consult,compile}-string. + After, send prolog-eof-string or else real eof. + Get region bounds using interactive r. + * prolog.el (prolog-consult-region-and-go): Similar. + + * info.el (Info-find-node): Don't call Info-mode + if already in that mode. Avoids wiping out local variables + such as Info-current-file. + +1987-03-21 Richard M. Stallman (rms at prep) + + * term/sun.el: Define sun-esc-bracket as nil: + don't redefine M-[ by default. + + * informat.el (Info-validate): Don't get error while + checking for an indirect info file. + +1987-03-20 Richard M. Stallman (rms at prep) + + * dired.el (dired-{un,}compress): Don't specify path + for programs compress and uncompress. + +1987-03-19 Richard Mlynarik (mly at prep) + + * disassemble.el (disassemble-1): + Let print-escape-newlines t around constant printing. + + * terminal.el (terminal-emulator): + Quote shell arg as "TERMCAP=foo" not TERMCAP="foo" + +1987-03-19 Richard M. Stallman (rms at prep) + + * vip.el (string-tail, change-mode-line): + Use string manipulation; flush the temp buffer " *working-space*". + +1987-03-18 Richard M. Stallman (rms at prep) + + * Version 18.40 released. + + * files.el (after-find-file): Use directory-file-name where needed. + +1987-03-18 Richard Mlynarik (mly at prep) + + * ftp.el (ftp-find-file-or-directory): Paren error. + +1987-03-17 Richard M. Stallman (rms at prep) + + * server.el (server-visit-buffers): Don't revert a buffer + automatically if the file does not currently exist. + + * mh-e.el (mh-list-to-string, mh-page-digest{,-backwards}): + Fixes from Larus. + + * server.el (server-start): Kill old server before + clearing out its records. Delete any old server socket + unconditionally. Mark server process as kill-without-query. + + * files.el (recover-file): Don't try to list directory on vms. + +1987-03-14 Richard M. Stallman (rms at prep) + + * Version 18.39 released. + +1987-03-13 Richard M. Stallman (rms at prep) + + * dired.el: New commands dired-{un,}compress, + dired-byte-compile, dired-ch{mod,own,grp} and subroutine + dired-redisplay. From Jim Cottrell, rbj@icst-cmr.arpa. + They are all put on keys. + + * sun-{mouse,mouse-fns,cursors}.el, term/sun.el: + New and replacement files from peck@sun.com. + +1987-03-12 Richard M. Stallman (rms at prep) + + * server.el (server-visit-files): Before trying + find-file-noselect, check for existing buffer, and if it + isn't modified, revert it unconditionally. + + * mh-e.el (mh-send-letter): Considerable rewrite by Larus; + don't know why. + +1987-03-11 Chris Hanson (cph at prep) + + * sort.el (sort-subr): fix typo in sorting of lists: in case where + `sortcar' is not available, and arguments are numbers, was using + `cdr' to extract second argument to `sort' (rather than `car'). + +1987-03-11 Richard M. Stallman (rms at prep) + + * tex-mode.el (TeX-comment-indent): In column 0, + don't require indenting at least to column 1. + + * vip.el: New version from Sato; handles the EX commands. + + * server.el: New version frm peck@sun, supporting + multiple clients. + +1987-03-10 Richard M. Stallman (rms at prep) + + * outline.el (hide-region-body): Exit loop cleanly + no matter which stage reaches eob. + +1987-03-09 Richard M. Stallman (rms at prep) + + * files.el (hack-local-variables): New optional arg FORCE. + If it's nil, and `inhibit-local-variables' is non-nil, + then query before installing the file's local variables. + * files.el (normal-mode): Pass non-nil FORCE to + hack-local-variables if we were called from find-file. + + * shell.el (shell-send-input): Fix typo in condition-case syntax. + + * shell.el (make-shell): Make a TERMCAP env var + for term type "emacs" to give the screen width. + +1987-03-08 Richard M. Stallman (rms at prep) + + * info.el (Info-mode): Make variables Info-current-*, + Info-tag-table-marker and Info-history local in Info-mode. + +1987-03-06 Richard Mlynarik (mly at prep) + + * ftp.el: Paren error. + +1987-03-05 Richard M. Stallman (rms at prep) + + * sort.el (sort-reorder-buffer): Fix typo `end'->`last' + in insertion of the spacing after the last sort record. + + * rmail.el (rmail-undelete-previous-message): + Don't call rmail-show-msg if message is already current. + Avoids scrolling. + + * rmail.el (rmail-next-undeleted-message): Likewise. + +1987-03-04 Richard M. Stallman (rms at prep) + + * loaddefs.el (auto-mode-alist): Add .article and .letter + as text-mode, for rn. + + * ftp.el (ftp-list-directory): New command. + * ftp.el (ftp-find-file-or-directory): + Guts of ftp-find-file are now here. 3rd arg is t for a file, + nil for listing a directory. + + * mailalias.el (expand-mail-aliases): Correct handling of + aliases whose expansions use other aliases, and aliases + that are self-referent. + + * c-mode.el (calculate-c-indent): Line at beg of buffer + needs no indentation. + +1987-03-03 Richard M. Stallman (rms at prep) + + * shell.el (shell): New series of variables `explicit-FOO-args' + specify args to use when running program FOO as a shell. + Supply system-dependent default for explicit-csh-args. + + * mailalias.el (expand-mail-aliases): + Fix typo: use build-mail-aliases to gobble redefined mail aliases. + + * loaddefs.el (dired-listing-switches): Doc fix. + +1987-03-02 Richard Mlynarik (mly at prep) + + * Version 18.38 released. + + * shell.el (make-shell): + Use the "env" program. + This both simplifies and shortens the code, and makes it + environment-implementation-independent. + +1987-03-02 Chris Hanson (cph at prep) + + * page.el (what-page): Reported wrong page number if invoked + exactly to the right of a page-delimiter. + +1987-02-28 Richard M. Stallman (rms at prep) + + * loaddefs.el (mode-line-modified): + New variable for string that indicates modifiedness in mode line. + + * rmail.el (rmail-mode-1): If mode-line-modified is bound, + change it rather than mode-line-format. + * rmailedit.el (rmail-edit-mode): same thing. + +1987-02-27 Richard M. Stallman (rms at prep) + + * info.el (Info-follow-reference): Combine multiple spaces + in node name before searching. Also helps with newline and + spaces. + + * texinfmt.el (texinfo-format-buffer-1): + Discard everything after the @bye. + +1987-02-26 Paul Rubin (phr at prep) + + * texinfmt.el (texinfo-format-emph): + Function was accidentally misnamed `texinfo-format'. + +1987-02-26 Richard M. Stallman (rms at prep) + + * x-mouse.el (x-help, x-buffer-menu): + Install definitions of these commands, possible now that + xmenu.c is installed. + +1987-02-24 Richard M. Stallman (rms at prep) + + * edt.el (update-mode-line): New function forces mode line update. + * edt.el (backup-mode, advance-mode): Call update-mode-line. + Also include a space at front of the word that's displayed. + function-map => function-keymap. + * edt.el: fix calls to define-keypad-key. + * edt.el: fix typo `delete-previous-character'. + +1987-02-22 Richard M. Stallman (rms at prep) + + * texinfmt.el: Define @cite, @emph and @strong. + +1987-02-19 Richard Mlynarik (mly at prep) + + * subr.el: + (fset 'set-window-buffer 'show-buffer) => + (fset 'show-buffer 'set-window-buffer) + +1987-02-19 Richard M. Stallman (rms at prep) + + * view.el (view-mode): No longer interactive. + Much easier than fixing the problems that happen if it is + used wrong. + + * files.el (find-alternate-file): Don't offer save if read-only. + +1987-02-18 Chris Hanson (cph at prep) + + * simple.el (do-auto-fill): Do not `save-excursion' if + do-auto-fill should have exactly the same effect as doing + indent-new-comment-line. Otherwise if a fill-prefix or + comment-start is inserted, point will be left at the beginning + rather than the end of the inserted prefix. + +1987-02-18 Richard M. Stallman (rms at prep) + + * abbrev.el (abbrev-mode): Update the mode line. + * simple.el (overwrite-mode): Update the mode line. + + * term/vt100.el: If there are already keymaps on \e[ amd \eO, + use them for the CSI-map and SS3-map. + + * texinfmt.el (texinfo-format-center): @center was missing. + + * isearch.el (isearch): If DEL is not special, + it terminates the search as a random control character. + +1987-02-16 Richard M. Stallman (rms at prep) + + * dabbrev.el: Missing quote in arg to make-variable-buffer-local. + + * man.el (manual-entry): + Use insert-man-file instead of insert-file-contents. + + * tex-mode.el (TeX-show-print-queue): Start tex shell + if not already done. + + * tex-mode.el (TeX-mode): bound search for % at eol. + +1987-02-15 Richard M. Stallman (rms at prep) + + * loaddefs.el (completion-ignored-extensions): Add .bin again; + scheme is said to use it. + +1987-02-13 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-insert-inbox-text): Do expand-file-name + on names of inbox files. + + * loaddefs.el: Add autoload for server-start. + +1987-02-09 Richard Mlynarik (mly at prep) + + * Version 18.37 released. + + * rmail.el (rmail-mode-1): + Don't rely on mode-line-format being consp. + +1987-02-08 Richard M. Stallman (rms at prep) + + * shell.el (inferior-lisp-program): New variable is used + as program name when starting inferior Lisp. + + * shell.el (lisp-send-defun): Write the text to a temp file, + then send a string saying to load the file. + inferior-lisp-load-command controls generation of that string. + Prefix arg means bring *lisp* buffer onto the screen + and scroll it to the end. + inferior-lisp-prompt controls recognition of when prompt + arrives, indicating no more output coming so scrolling may be done. + + * server.el (server-start): Make "Server" appear in mode line + while actual server operation is going on. + Do process-kill-without-query also. + + * server.el (various): Call the buffer " *server*", not "*server*". + + * server.el (server-sentinel): Considerable cleanup. + Don't ever switch-to-buffer on *server*. Do all parsing in it + and finding of files without changing displayed buffers; + only then display one buffer that merits it. + Eliminate variable old-server-edit-buffer. + + * files.el (save-abbrevs): Default value is nil. + * abbrev.el (read-abbrev-file): Set save-abbrevs to t. + + * shell.el (make-shell): Change process-environment + to specify EMACS=t, TERM=switch and no TERMCAP. + + * debug.el (debug): Bind print-escape-newlines to t + while printing the backtrace. + + * subr.el (run-hooks): Each hook value may be a list of functions + as well as a single function. + + * files.el (after-find-file): Wait only after serious messages, + not "(New file)" or "File is read-only". And don't redisplay + when waiting. + + * mlconvert.el (convert-mocklisp-buffer): + Generate mocklisp-style defuns, not Lisp-style, + for dummy function ml-foo. Indent the body. + +1987-02-08 Daniel LaLiberte (liberte at b.cs.uiuc.edu) + + * mlconvert.el (convert-mocklisp-buffer): + Insert the starting comment and the `require' after + encapsulating non-defuns into defuns. + + * mlconvert.el (fix-mlisp-syntax): Detect and fix the + ^LETTER syntax. + +1987-02-07 Richard M. Stallman (rms at prep) + + * mlconvert.el (convert-mocklisp-buffer): + Treat | as alphabetic char. Convert syntax before + converting non-defuns to defuns. + +1987-02-05 Richard Mlynarik (mly at prep) + + * ftp.el (ftp-find-file): + Ignore `125's from server. + +1987-02-03 Richard Mlynarik (mly at prep) + + * simple.el (auto-fill-mode): + Update mode-line after changing minor mode. + +1987-02-03 Richard M. Stallman (rms at prep) + + * mh-e.el (mh-insert-prefix-string): + Use explicit loop by lines. + +1987-02-01 Richard M. Stallman (rms at prep) + + * loaddefs.el: purecopy many strings found in initial var values. + Garbage collect in middle of file to reduce storage required + for loading. Remove ".bin" from completion-ignored-extensions + on Unix since only Symbolics customers would benefit from its presence. + Symbolics killed the MIT AI lab; don't do business with them. + + * view.el (view-file): Kill the buffer at the end if it was + created just for this and was not modified. + + * userlock.el (ask-user-about-supercession-help): + Suggest use of revert-buffer. + + * help.el (print-help-return-message): Don't count minibuffer window + when deciding whether there is only one window. Calls one-window-p. + * subr.el (one-window-p): New function. + * subr.el: Rename some args to reduce number of symbols. + + * electric.el (Electric-pop-up-window): + * ehelp.el (with-electric-help): + * rmail.el (rmail-forward): + * sendmail.el (mail-send-and-exit): Don't count minibuffer window + when deciding whether there is only one window. + These are done by definining subroutine one-window-p in a way that + works in old versions of Emacs. + +1987-01-30 Richard Mlynarik (mly at prep) + + * loaddefs.el (completion-ignored-extensions): + Add ".lbin" + + * mail-utils.el, loaddefs.el (mail-use-rfc822): Doc typo. + +1987-01-29 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-set-message-counters): + * rmail.el (rmail-count-new-messages): + Don't bind cursor-in-echo-area. + + * debug.el (debug-on-entry): Doc fix. + + * files.el (rename-auto-save-file): Don't rename if new and old + names are the same. + +1987-01-28 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-mode-1): Don't set mode-line-buffer-identification. + +1987-01-26 Richard M. Stallman (rms at prep) + + * simple.el (set-variable): Use documentation-property + instead of get, for getting variable documentation. + +1987-01-25 Richard Mlynarik (mly at prep) + + * debug.el (debug): + Bind cursor-in-echo-area. + +1987-01-23 Richard M. Stallman (rms at prep) + + * isearch.el (isearch): In reverse search, wrapping is to end + of buffer, not beginning. + + * man.el (manual-entry): Take 1st char of `section' as a + substring, not as a char, to pass to `concat'. + + * loaddefs.el (completion-ignored-extensions): + Add ".glo", ".idx" and ".lot". + +1987-01-22 Chris Hanson (cph at prep) + + * shell.el (shell): Do not pass -T flag to `/bin/sh', only to + `/bin/csh'. + +1987-01-22 Richard M. Stallman (rms at prep) + + * scribe.el (scribe-mode): Doc fix. + * loaddefs.el (scribe-mode): Doc fix. + + * tex-mode.el (tex-mode): Change tex vs latex discrimination + to avoid a slow regexp. + +1987-01-22 Richard Mlynarik (mly at prep) + + * files.el (find-file-noselect): + Call expand-file-name earlier so it is correct in case of errors, + file-not-found, etc. + +1987-01-21 Richard Mlynarik (mly at prep) + + * yow.el, flame.el, doctor.el: + Change calls to (random) (lisp reader doesn't read octal "07777") + +1987-01-21 Richard M. Stallman (rms at prep) + + * Version 18.36 released. + +1987-01-21 Richard M. Stallman (rms at prep) + + * bytecomp.el (byte-compile-setq-default): New function for + special handling needed because setq-default has an unevalled arg. + + * c-mode.el (calculate-c-indent): When finding first statement + inside brace-group, `case' is not special unless a colon appears. + + * macros.el (kbd-macro-query): Make C-l call `recenter'. + + * bytecomp.el (byte-compile-setq): Make setq with no args + generate a value. + + * bytecomp.el (byte-compile-cond): Notice unconditional clauses + and optimize the code generated. + +1987-01-20 Richard M. Stallman (rms at prep) + + * bytecomp.el (byte-compile-if): Correct test for else-less if's. + + * sun-mouse.el: Delete code to handle resize-blips + since they are unnecessary and no longer generated. + + * sort.el (sort-columns): Pass -t\n instead of -b to `sort'. + +1987-01-19 Richard M. Stallman (rms at prep) + + * loaddefs.el (auto-mode-alist): Recognize .lsp as Lisp mode. + +1987-01-16 Richard Mlynarik (mly at prep) + + * rmail.el (rmail-count-new-messages), + rmailout.el (rmail-output-to-rmail-file): + Add optional arg `nomsg' to former, which latter supplies, + so that rmail doesn't report counting one appended message. + +1987-01-15 Richard M. Stallman (rms at prep) + + * shell.el (shell): Flush hpux kludge to use "sh" instead of + SHELL, and install another kludge to pass -T if on hpux. + +1987-01-15 Richard Mlynarik (mly at prep) + + * time.el (display-time-filter): + Never eat anything larger than your own head. + +1987-01-15 Richard M. Stallman (rms at prep) + + * files.el (after-find-file): Sit for 2 sec after warning msg. + +1987-01-15 Richard Mlynarik (mly at prep) + + * rmail.el (rmail-get-new-mail): + (or (verify-visited-file-modtime (current-buffer)) + (find-file (buffer-file-name))) + + * simple.el (append-next-kill): + Make this work when not (interactive-p) + +1987-01-14 Richard Mlynarik (mly at prep) + + * terminal.el: + Can't send ^d chars (004) through the cretinous so-called ptys + written by the mindless so-called hackers responsible for un*x + (the Operating System of the Future.) + +1987-01-12 Richard Mlynarik (mly at prep) + + * files.el (basic-save-buffer): + Typo. + +1987-01-11 Richard Mlynarik (mly at prep) + + * ebuff-menu (electric-buffer-list): + Typo. + + * buff-menu.el (Buffer-menu-select): + If the buffer to select is also marked with ">" only make one + window for it. + + * terminal.el (te-filter): + Save/restore point from te-saved-point to minimise the lossage + vandals can inflict. + +1987-01-09 Richard M. Stallman (rms at prep) + + * tex-mode.el: New version from Gildea. + Many changes. + +1987-01-09 Richard Mlynarik (mly at prep) + + * novice.el (disabled-command-hook): + cursor-in-echo-area. + +1987-01-09 Richard M. Stallman (rms at prep) + + * mh-e.el (mh-send-letter, mh-fully-kill-draft): + Two minor fixes from Larus. + + * files.el (basic-save-buffer): After prompting for + filename for non-file buffer, turn on auto-save. + +1987-01-08 Richard Mlynarik (mly at prep) + + * files.el (set-visited-filename): + (kill-local-variable 'revert-buffer-function) + + * hanoi.el (hanoi0), yow.el, flame.el (psychoanalyze-{pinhead,flamer}): + Quit if luser types a char rather than inhibiting redisplay for 20 + minutes! + +1987-01-08 Richard M. Stallman (rms at prep) + + * sort.el (sort-columns): Fix typo in variable name. + Also check for presence of tabs and get error. + +1987-01-07 Richard M. Stallman (rms at prep) + + * vi.el: New version from wu@crys.wisc.edu. + All function and variable names start with `vi'. + Some missing vi capabilities now emulated. + + * sun-mouse.el (set-screen-size-and-rdis): + was using x as screen height and y as width; exchange. + +1987-01-06 Richard Mlynarik (mly at prep) + + * term/x-win.el: + Set suspend-hook to get an error. + +1987-01-06 Richard M. Stallman (rms at prep) + + * mh-e.el (mh-write-msg-to-file): Generate buffer " *mh-temp*" + if it is missing. + +1987-01-06 Richard Mlynarik (mly at prep) + + * rmailmsc.el (set-rmail-inbox-list): + More informative prompt. + +1987-01-05 Richard M. Stallman (rms at prep) + + * paths.el: Prefer Berkeley-style formatted manual directories + (/usr/mat/cat1...) to ATT-style ones. Pyramid has trouble + if it uses ATT dirs in BSD universe. + + * vi.el: New version from wu@crys.wisc.edu. + + * Version 18.35 released. + +1987-01-04 Richard M. Stallman (rms at prep) + + * picture.el: Fix typo in define-key for C-c<. + +1987-01-04 Richard Mlynarik (mly at prep) + + * prolog.el: + Don't modify current buffer's syntax-table when loading this file. + +1987-01-03 Richard M. Stallman (rms at prep) + + * x-mouse.el: Define names for the button-up events. + +1986-12-31 Richard M. Stallman (rms at prep) + + * bytecomp.el (byte-compile-function-form): + Was miscompiling (function SYMBOL) by failing to quote SYMBOL. + +1986-12-28 Richard Mlynarik (mly at prep) + + * userlock.el: + Bind cursor-in-echo-area for read-char. + +1986-12-24 Richard Mlynarik (mly at prep) + + * terminal.el: + Lots of things changed. + Have to start a shell just to call stty since emacs + won't set things up correctly!!! (We end up sometimes + execing 5 programs to start up...) + Emulator terminal-type capabilities extended somewhat + and `command-set' made somewhat emacs-oid in order to make + termscript files easier to understand. + +1986-12-23 Richard M. Stallman (rms at prep) + + * macros.el (insert-kbd-macro): Only look for global key bindings + since we don't know how to record local ones properly + (and in general there is no way to do it). + + * bytecomp.el (byte-compile-find-vars-1): + Cons up and return a macroexpanded version of the form + being scanned. + Don't look inside a call to `function' or `condition-case'. + For catch, look only at first argument. + + * bytecomp.el (byte-compile-find-vars): + Return (MACROEXPANDEDFORM . VARSUSED). + + * bytecomp.el (byte-compile-top-level): + Use the macroexpanded form returned by byte-compile-find-vars + for subsequent compilation. Thus, each macro call is expanded + only once. + +1986-12-22 Richard M. Stallman (rms at prep) + + * subr.el: Delete nth and copy-keymap (now in fns.c and keymap.c). + +1986-12-22 Richard Mlynarik (mly at prep) + + * texinfmt.el (batch-texinfo-format): + Was printing message about source file rather than output file. + +1986-12-22 Richard M. Stallman (rms at prep) + + * subr.el: Remove `delete-backward-char-untabify', + insert `backward-'delete-char'. + +1986-12-22 Richard Mlynarik (mly at prep) + + * simple.el (undo): + Was missing local var `modified' + + * subr.el: + Make `set-window-buffer' synonym for obfuscatory `show-buffer' + Make 'delete-backward-char-untabify' a synonym for + `backward-delete-char-untabify' -- the non-conventional naming of + the latter confuses people + +1986-12-20 Richard Mlynarik (mly at prep) + + * loaddefs.el: + Add autoload for sort-regexp-fields. + + * sort.el: + Rename skip-fields -> sort-skip-fields to avoid name-conflict + +1986-12-20 Richard M. Stallman (rms at prep) + + * isearch.el (isearch): Print message "" only if don't set mark. + * isearch.el (isearch-message): Put cursor in echo area instead of + ellipsis. + * isearch.el (isearch-search): use one string-match to check + for all errors that mean "incomplete input". + + * files.el (rename-auto-save-file): + Alter auto save file name of current buffer, and rename + any existing auto save file. + + * files.el (set-visited-file-name): Use rename-auto-save-file + if auto save mode is already on. + + * simple.el (undo): If undo-mode clears modified, + delete any auto-save file. + +1986-12-20 Richard Mlynarik (mly at prep) + + * fortran.el: + Allow fortran-comment-indent-char to be a string of length 1, + since that is what is documented in the printed v18 manuals. + + * terminal.el: + Print a help message when emulator starts. + Fix a bug in te-escape-help. + + * subr.el (read-quoted-char): + Document PROMPT arg. + +1986-12-19 Richard M. Stallman (rms at prep) + + * lisp.el (lisp-complete-symbol): + Don't put pre-completion text on kill ring. + +1986-12-19 Richard Mlynarik (mly at prep) + + * ftp.el (read-ftp-user-password): + Change prompting for user-name + +1986-12-18 Richard M. Stallman (rms at prep) + + * files.el (recover-file): Supply missing arg in call to error. + + * isearch.el: If search-slow-window-lines is negative, put the + search window at the top. Always bind window-min-height to 1. + + * isearch.el: When extending a reverse non-regexp search + must not extend past barrier (same idea as below for regexps). + +1986-12-17 Richard M. Stallman (rms at prep) + + * isearch.el: Combine code for search-repeat-char and + search-reverse-char into one cond clause. + If search direction is changing, don't greb prev search-string. + Otherwise, do grab it if search-string is currently empty. + + * isearch.el: When extending a reverse regexp search string, + criterion for extending current match was one off, and also + now won't go into the area beyond where last C-r was typed. + + * replace.el (perform-replace): If user types C-l, + clear screen, redisplay, and ask again. + + * isearch.el: In regexp isearch, when a ?, * or | is input, + back up start of search. New local variable `barrier' is + position of original command or of last C-s or C-r; it + is saved by isearch-push-state. + +1986-12-15 Richard Mlynarik (mly at prep) + + * fortran.el: + Initialise fortran-mode-abbrev-table correctly. + + * fortran.el: + fortran-comment-indent-char should be a character (a fixnum), not + a string of length one. + + * rmail.el: + Add support for delta-from-UT timezone specs ("EST" = "-0500") + Add support for four-character timezone specifications such as NZST + [This is actually a bit suspect, since four-character timezone + specs violate the rfc822 date format -- one should be using a spec + like "+1000" instead] + +1986-12-12 Richard M. Stallman (rms at prep) + + * loaddefs.el: Delete incorrect entry for .mss in auto-mode-alist, + so correct entry is visible. + + * rmail.el (rmail): Initialize rmail-last-{rmail-,}file here + rather than when rmail.el is loaded. + + * Version 18.33 released. + + * rnewspost.el: require sendmail. + + * loaddefs.el: Autoload scribe-mode and use for ".mss" files. + Autoload modula-2-mode and prolog-mode as well. + + * sendmail.el (mail-mode): Set buffer-offer-save. + + * files.el (save-some-buffers): If user says `n' to "Save + abbrevs?", clear abbrevs-changed so won't ask again. + + * files.el (buffer-offer-save): New variable, local in all buffers. + * files.el (save-some-buffers): New 2nd arg EXITING. + If non-nil, offer to save any nonempty modified buffer + in which `buffer-offer-save' is non-nil. + + * sup-mouse.el: New file to handle mouse commands on + supdup terminals. + +1986-12-11 Chris Hanson (cph at prep) + + * man.el: Fix bug in regexp used to nuke footers in hp-ux. + +1986-12-11 Richard M. Stallman (rms at prep) + + * keypad.el: Fix typo "kill-linee". + +1986-12-11 Richard Mlynarik (mly at prep) + + * isearch.el (isearch): + Never set search-last-string to "" + +1986-12-10 Richard M. Stallman (rms at prep) + + * help.el (help-for-help): Once long help text is on screen, + bind cursor-in-echo-area to t for reading subsequent chars. + + * sort.el (sort-columns): Fix typo (col-beg1 was col-beg + and likewise for col-end1). + +1986-12-09 Richard Mlynarik (mly at prep) + + * terminal.el, ehelp.el: + New files. + "terminal" still needs a small amount of documentation. + +1986-12-06 Richard M. Stallman (rms at prep) + + * Version 18.32 released. + + * scribe.el: New file containing scribe-mode. + * server.el: New file containing server-start + (makes existing Emacs process serve as "the editor" for + other programs that want to invoke an editor subprocess.) + +1986-12-05 Richard M. Stallman (rms at prep) + + * subr.el (substitute-key-definition): [MLY] + The definitions are in the cdr's of alist elts, not the cars. + + * mh-e.el: 3.4h from Larus. + + * rmail.el (rmail-get-new-mail): + Never bind make-backup-files to t if it was nil before. + + * keypad.el (function-key-sequence): + * macros.el (insert-kbd-macro): + * vi.el: + Pass local map argument to where-is-internal. + + * c-mode.el (c-backward-to-noncomment): Skip ^L like newline. + + * c-mode.el (calculate-c-indent): + When checking for continued previous lines, after skipping one, + use c-backward-to-noncomment to find next real text. + When classifying top-level lines, ignore page breaks; + lines ending in } are not continued lines. + + * rmailkwd.el (rmail-set-label): + Delete whitespace only next to commas. + + * rmailkwd.el (rmail-nuke-whitespace): Delete this function. + + * sendmail.el (mail-do-fcc): Delete the entire line of an fcc + including the newline after it. Was failing to do so + if the line had a space or tab at the end. + + * c-mode.el (c-indent-line): Don't think that "else_..." + is the keyword "else". + + * rmail.el (rmail-search): For reverse search, use + re-search-forward to filter messages; then, once a message is found, + use re-search-backward to position point within it. + + * rmail.el (rmail-expunge): Don't bomb if rmail file is empty. + * rmail.el (rmail-show-message): If showing message number zero, + don't beep, and set point at beginning of it. + * rmail.el (rmail-set-message-counters): If no messages, set + rmail-current-message to 0. + +1986-12-04 Richard Mlynarik (mly at prep) + + * ftp.el (ftp-sentinel): + Catch time taken/transfer-rate information. + +1986-12-02 Richard M. Stallman (rms at prep) + + * float.el (float-to-string): Don't infinite-loop if arg is zero. + + * float.el (float-regexp): Accept numbers lacking digits before + the point. Accept numbers with a point and no digits after it. + Don't get confused by matching just part of the input. + + * float.el (string-to-float): Detect if loading-0s + gets to equal the length of digit-string. + +1986-12-02 Richard Mlynarik (mly at prep) + + * float.el (extract-match): + Convert to new re-register regime + +1986-12-01 Richard Mlynarik (mly at prep) + + * mailalias.el (expand-mail-aliases): + Check for case of (eq mail-aliases t) -- can happen if mail-mode + is entered without calling mail-setup (eg when trying to recover + an autosaved mail file) + +1986-11-26 Richard Mlynarik (mly at prep) + + * loaddefs.el: + mode-line-format should contain (-3 . "%p") rather than "%3p" + + * terminal.el: + Use the "env" program + +1986-11-26 Richard M. Stallman (rms at prep) + + * compile.el (compile1, compilation_sentinel): + Don't make *compilation* read-only. + + * simple.el (next-complex-command): fix one-off about + largest allowed value of ARG. If attempting to move + past beginning or end of history, move to the first or + last element and then signal an error. + + * terminal.el: New file, like shell-mode modified to + simulate a display terminal for the inferior. + +1986-11-25 Richard M. Stallman (rms at prep) + + * outline.el (outline-mode): outline-regexp must match at start + of line to be a paragraph start. + + * simple.el ({beginning,end}-of-buffer): + When buffer-size is large, divide before multiplying + to avoid overflow. + + * mailalias.el (expand-mail-aliases): + Re-expand the expansions for compatibility with Berkeley mail. + + * ftp.el: New file for visiting remote files using FTP. + +1986-11-24 Richard M. Stallman (rms at prep) + + * files.el (find-file-noselect): Due to change in + insert-file-contents, need not set buffer-file-name if error. + + * paths.el: Correct manual-formatted-dirlist for USG systems. + + * man.el: Use new subroutine insert-man-file to insert files + uncompressing if nec. Also uncompact compacted files. + Detect sysV footers. Detect headers when section contains a + letter (as in 3n). Delete the vars already moved to paths.el. + + * disass.el: new name for disassemble.el to avoid USG truncation. + loaddefs.el changed for this. + +1986-11-24 Chris Hanson (cph at prep) + + * term/supdup.el: Add code for hp-ux which has no binding for the + TERMCAP environment variable. + +1986-11-23 Richard M. Stallman (rms at prep) + + * version 18.31 released. + + * x-mouse.el: New mouse-command keys are C-x C-@. + +1986-11-22 Richard Mlynarik (mly at prep) + + * bytecomp.el (byte-recompile-directory): + Use third arg to `directory-files' + +1986-11-22 Richard M. Stallman (rms at prep) + + * subr.el: Defvars for global-map, ctl-x-map, esc-map + and mouse-map, just so they get doc strings. + +1986-11-21 Richard M. Stallman (rms at prep) + + * bytecomp.el (byte-compile-file): Bind vms-stmlf-recfm to t + around writing the output file. + +1986-11-21 Leonard H. Tower Jr. (tower at prep) + + * rnews.el, rnewspost.el (caesar-region, news-caesar-buffer-body) + Added former from phr, rename latter and modified it to work with + former. Changed key-bindings for rename. This gets rid of the + interface (which also is ugly) to the UNIX "tr" command. + +1986-11-21 Richard M. Stallman (rms at prep) + + * mh-e.el (mh-display-msg): + Pass non-nil 2nd arg to insert-file-contents + +1986-11-20 Richard M. Stallman (rms at prep) + + * vip.el (vip-find-char): Use search-forward instead of + * yow.el (snarf-yows): scan-buffer. A few other local + * man.el (manual-entry): simplifications. + + * bytecomp.el: Don't open-code scan-buffer. + +1986-11-20 Richard Mlynarik (mly at prep) + + * helper.el: + Flush Helper-major-mode, Helper-mode-name: + there is a much simpler way of doing this + (see new Helper-describe-mode) + Make it work for Helper-return-blurb to be buffer-local + (this is better than binding it dynamically) + + * ebuffer-menu.el, echistory.el, view.el: + Flush references to Helper-{major-mode,mode-name} + +1986-11-19 Richard M. Stallman (rms at prep) + + * indent.el: Make tab-stop-list a user variable. + + * rmail.el: Undo previous change to rmail-show-message. + +1986-11-18 Richard Mlynarik (mly at prep) + + * prolog.el (end-of-prolog-clause): + Typo + + * ebuff-menu.el: + Make "n" and "p" synonymous with "\C-n" and "\C-p" + + * rmail.el (rmail-show-message): + With no interactive argument, just move to beginning of current + message (like ".") rather than to message 1. + +1986-11-16 Richard M. Stallman (rms at prep) + + * startup.el: expect window-system to be a symbol, not a string, + and concatenate "-win" instead of "-windows" to keep + file names short. + + * term/x-win.el: New name for term/X-windows.el + needed due to change in dispnew.c re window-systems. + +1986-11-16 Leonard H. Tower Jr. (tower at prep) + + * rnews.el (news-ignored-headers) + removed Organization:, so it's visible to readers. + +1986-11-14 Richard M. Stallman (rms at prep) + + * Emacs version 18.30 * + + * rmail.el (rmail-forward): + Use mail-other-window unless there is only one window visible. + Use of `mail' instead in the case of multiple windows on the + screen makes it a nuisance to get back to Rmail. + + * outline.el (outline-regexp): ^L starts a header line. + +1986-11-13 Richard M. Stallman (rms at prep) + + * fill.el (fill-region-as-paragraph): + If 1st line starts with fill prefix, exclude that fill + prefix from the preprocessing before actual filling. + Fixes failure to preserve initial whitespace after a fill prefix. + +1986-11-11 Leonard H. Tower Jr. (tower at prep) + + * rnews.el (news-show-all-headers) + Added code to replace previously deleted (news-get-back). + + * emacsbug.el (report-emacs-bug): + Got rid of redundant "on system-name (system-type)" now that + (emacs-version) outputs it. + +1986-11-10 Richard Mlynarik (mly at prep) + + * dired.el (dired-mode): + (run-hooks 'dired-mode-hook) + +1986-11-09 Richard Mlynarik (mly at prep) + + * files.el (set-visited-file-name): + (kill-local-variable 'write-file-hooks) + +1986-11-09 Richard M. Stallman (rms at prep) + + * simple.el (push-mark): Print nothing if minibuffer active. + +1986-11-08 Richard M. Stallman (rms at prep) + + * rnews.el (news-set-mode-line): + Don't change mode-line-format; instead change mode-line-process + and mode-line-buffer-identification. + Delete unused function `strcpyn'. + + * echistory.el (electric-command-history): + Delete no-op `let'. + + * compile.el (compile1): Flush v17 compatibility code to sett + mode-line-format. + * info.el (Info-set-mode-line, Info-edit): Ditto. + * shell.el (shell-mode, inferior-lisp-mode): Ditto. + * telnet.el (telnet-mode): Ditto. + + * c-mode.el (calculate-c-indent): When deciding whether + a line is a continuation, ignore label-lines. + Also ignore preceding lines that end in commas. Consequence: + if the preceding line is a continuation, our line + is indented just like it (as a continuation of the same thing). + + * loadup.el: look for new file "site-load.el" to preload + libraries before the DOC file is read. + +1986-11-07 Richard M. Stallman (rms at prep) + + * novice.el (disabled-command-hook): + Catch errors in `documentation' in case doc file is missing. + + * keypad.el (function-key-sequence): + Use cons, not list, to make the definition to search for. + +1986-11-07 Richard Mlynarik (mly at prep) + + * sort.el (sort-build-lists): + Delete CPH's change. + This had already been fixed in a different way. + +1986-11-07 Richard M. Stallman (rms at prep) + + * c-mode.el (calculate-c-indent): + A line ending in singlequote-colon now does not make the + following line be considered a continuation. + +1986-11-07 Chris Hanson (cph at prep) + + * sort.el (sort-build-lists): + Was not initializing point to the beginning of the region. As a + result, if one tried to sort a region where point was at the end + and mark at the beginning, nothing would happen. + +1986-11-06 Richard M. Stallman (rms at prep) + + * subr.el (indent-to-column): New alias for indent-to. + +1986-11-06 Leonard H. Tower Jr. (tower at prep) + + * rnewspost.el + Finish bringing posting and followups (mostly) up to the News 2.11 + revision of RFC 850 (exceptions noted in rnewspost.el's header). + Added function news-reply-yank-original, to be used in lieu of + mail-yank-original. + +1986-11-06 Richard M. Stallman (rms at prep) + + * version.el (emacs-version): + Include host name and system type. + + * rmail.el: rmail-edit-current-message moved from C-r to w. + Doc string of rmail-mode changed. + + * loaddefs.el (auto-mode-alist, completion-ignored-extensions): + Ignore ".blg" and ".bbl". Know modes for ".bbl" and ".bib". + Rearrange auto-mode-alist with frequently used elts first. + + * files.el (find-file-noselect): + Eliminate incorrect nested or-for-effect within or-for-effect. + Bug was it didn't offer to reread a changed file. + +1986-11-05 Leonard H. Tower Jr. (tower at prep) + + * rnewspost.el (news-reply) + Fixed bug when point was outside of header on invocation. + Added References: header line per RFC850. + +1986-11-05 Richard M. Stallman (rms at prep) + + * files.el (file-name-sans-versions): + Fix one more typo in name of argument variable. + +1986-11-05 Richard Mlynarik (mly at prep) + + * mh-e.el: + Version 3.4d from Larus + +1986-11-05 Richard M. Stallman (rms at prep) + + * novice.el (disabled-command-hook): + Clean up the message in the case of coming from M-x ... + +1986-11-04 Richard M. Stallman (rms at prep) + + * various files (dired-mode, Edit-options-mode, rmail-mode, + rmail-summary-mode, rmail-edit-mode, Buffer-menu-mode): + Give these symbols `special' as a `mode-class' property. + + * dired.el (dired-mode): Take out local value for + default-major-mode. The mode-class property now makes sure + new buffers are not made in dired-mode. + +1986-11-04 Leonard H. Tower Jr. (tower at prep) + + * rnews.el + Add several C-C C-F C-letter fields in RFC 850. + +1986-11-04 Richard Mlynarik (mly at prep) + + * paragraphs.el (various): + (interactive "*") needed in some places. + +1986-11-03 Richard M. Stallman (rms at prep) + + * help.el (variable-at-point): + Catch all errors anywhere within. Fixes bug when + `C-h v' was done with point after an `('. + +1986-11-02 Richard Mlynarik (mly at prep) + + * files.el (backup-buffer): + "neq" isn't defined -- use /= + +1986-11-01 Richard Mlynarik (mly at prep) + + * simple.el (open-line): + interactive "*" + + * rmail.el (rmail-variables): + rmail-keywords should be buffer-local + + * undigest.el: + Another broken-un*x-mailer-compensation fix from rlk. + + * file.el (file-name-sans-version): + Fix typo in VMS case. + +1986-10-30 Richard Mlynarik (mly at prep) + + * xscheme.el: + defvar scheme-program-name, not defconst + + * keypad.el (setup-terminal-keypad): + Use correct format for indirect keymap entries. + +1986-10-29 Leonard H. Tower Jr. (tower at prep) + + * rnews.el, rnewspost.el: + Created later from parts of former to speed up initial rnews load + (also debugging time). Added autoloads as appropriate. The mail and + posting commands are most often not used in an rnews session. + +1986-10-29 Richard Mlynarik (mly at prep) + + * startup.el (command-line): + VMS sys$login:.emacs + +1986-10-29 Leonard H. Tower Jr. (tower at prep) + + * rnews.el (news-inews): + Added save-excursion call. Got bury-buffer at right nesting level. + Got rid of unneeded code. + + * rnews.el (news-rotate-buffer-body): + Added and modified this function written by paul@media-lab.mit.edu. + Bound it to C-c C-r in both news and post-news modes. + + * rnews.el: + Message text cleanup. + +1986-10-29 Richard Mlynarik (mly at prep) + + * help.el (view-lossage): + Use (goto-char (point-min)), not (beginning-of-buffer)) + + * electric.el (shrink-window-if-larger-than-buffer): + New function. Perhaps this should be in subr.el? + + * tags.el (find-tag): + If arg is "" and interactive, put computed tag into + command-history so that repeat-complex-command works. + + * subr.el (momentary-string-display): + Avoid losing due to file-locking. + + * files.el (auto-save-mode): + Print a confirming message if interactive. + +1986-10-28 Richard Mlynarik (mly at prep) + + * undigestify.el: + Compensate for broken MH digests + + * tex-mode.el (TeX-region): + Call csh with -f flag + + * rmail.el (rmail-forward): + Use mail, not mail-other-window. + +1986-10-27 Richard Mlynarik (mly at prep) + + * nroff-mode (electric-nroff-mode): + Fix bugs. + + * electric.el, ebuff-menu.el, echistory.el: + Do the `space to flush' before calling Electric-command-loop + Delete the space to flush in electric-command-history. + + * tex-mode.el: + defconst -> defvar + +1986-10-26 Richard Mlynarik (mly at prep) + + * sendmail.el: + (provide 'sendmail) + + * files.el (basic-save-buffer): + Set file modes appropriately in file-precious-flag case. + +1986-10-22 Richard Mlynarik (mly at prep) + + * Rename term/xterm.el => term/X-windows.el + + * startup.el (command-line): + If the variable window-system is non-nil, load + (concat term-file-prefix window-system "-windows") + rather than (concat term-file-prefix (getenv "TERM")) + + * files.el (basic-save-buffer): + Fix write-file-hooks. + + * tex-mode.el (TeX-region): + Ensure newline before trailer (from gildea) + +1986-10-21 Richard Mlynarik (mly at prep) + + * rmailedit.el (rmail-cease-edit): + Don't add edited attribute unless changes were actually made. + + * term/xterm.el (x-handle-switch): + command-line-args => command-line-args-left (yet again) + +1986-10-20 Richard Mlynarik (mly at prep) + + * sort.el: + Work if (point) > (mark) + + * vip.el (vi-change-mode-line): + +1986-10-18 Richard Mlynarik (mly at prep) + + * add-log.el (add-change-log-entry): + If file specified is a directory, then use `ChangeLog' in that + directory. + + * sendmail.el (mail-send-and-exit): + Don't kill selected-window, if given a prefix arg. + + * files.el (normal-mode): + Don't clobber value of major-mode set by way of default-major-mode. + +1986-10-17 Richard Mlynarik (mly at prep) + + * help.el, picture.el, simple.el, tags.el, vi.el: + Doc/spelling fixes from sjk + + * rmailsum.el: + use new mode-line technology + + * rmail.el (rmail-reply): + Handle resent-reply-to better. + +1986-10-15 Richard Mlynarik (mly at prep) + + * edt.el: + (require 'keypad) + + * dired.el (dired-mode): + Don't lose finding files from dired when default-major-mode is + nil. + +1986-10-14 Richard Mlynarik (mly at prep) + + * texinfmt.el: + Support for @include from schaefer%andy.bgsu.edu@CSNET-RELAY.ARPA + + * dabbrev.el (dabbrev-expand): + Give useful error message. Use save-excursion. + Allow both symbol-constituent and word-constituent chars in the + expansion. + + * files.el (save-buffers-kill-emacs): + Make arg optional. + +1986-10-12 Richard Mlynarik (mly at prep) + + * macros.el (name-last-kbd-macro): + Insert omitted argument in error message. + + * userlock.el (ask-user-about-lock-help): + Improve help message. + +1986-10-11 Richard Mlynarik (mly at prep) + + * files.el (find-backup-file-name): + Call make-backup-file-name rather than appending "~" + + * lisp-mode.el: + Make `|' have `"' syntax for |WeIrD SymbolS| + +1986-10-10 Richard Mlynarik (mly at prep) + + * edt.el, vi.el: + typo. + +1986-10-08 Richard Mlynarik (mly at prep) + + * bytecomp.el (byte-compile-function-form): + Handle "(function symbol)" + + * sendmail.el (mail-position-on-field): + Return nil if field wasn't there and we did add (the + non-`soft' case) + +1986-10-07 Richard Mlynarik (mly at prep) + + * shell.el: + Split off shell-set-directory from shell-send-input. + + * dabbrev.el (dabbrev-expand): + Fix bugs. Check whether last-command was a dabbrev-expand. + Undo-boundary. + +1986-10-04 Richard Mlynarik (mly at prep) + + * info.el (Info-find-node): + Bug in case of nodename "*" + + * info.el (Info-search): + Hair plus: make search work with split subfiles. + Also, push position on node history if searching puts us in a + different node. + + * debug.el (debug): + New match-data format. + + * info.el (Info-goto-node): + Adjust to new regexp-register scheme. + + * info.el (Info-read-subfile): + Node delimiter is \n\^_, not just \^_ + + * texinfmt.el (batch-texinfo-format): + Wasn't updated when Info-validate was given a required arg. + + * informat.el (Info-validate, Info-tagify): + Warn that don't know how to hack indirect files. + + * texinfmt.el, informat.el (batch-{texinfo-format,info-validate}): + First elt of command-line-args-left shouldn't be skipped. + +1986-10-02 Richard Mlynarik (mly at prep) + + * info.el (Info-find-node): + Tag-table position match-data was being clobbered by intervening + search for "(indirect)" + +1986-10-02 Richard M. Stallman (rms at prep) + + * texinfmt.el: define @smallbook and @tex ... @end tex. + +1986-10-01 Richard M. Stallman (rms at prep) + + * lisp.el (lisp-complete-symbol): fix stupid bugs + affecting printing completion lists. + + * loaddefs.el: Improve doc of isearch functions. + + * texinfmt.el: Define commands chapheading, (sub)*heading + to format in the Info file like chapter and (sub)*section. + + * macros.el (name-last-kbd-macro): + Supply (interactive). + + * macros.el (insert-kbd-macro): Fix a few bugs. + +1986-09-29 Richard M. Stallman (rms at prep) + + * subr.el (momentary-string-display): + Use insert-before-markers to insert the string so that + the right cursor position is displayed. + +1986-09-27 Richard M. Stallman (rms at prep) + + * vip.el: renamed from vi1.el. Many cleanup changes. + Entry point is now vip-mode, autoloaded from loaddefs.el. + +1986-09-26 Richard Mlynarik (mly at prep) + + * files.el (recover-file, find-file-noselect): + Add nowarn arg to find-file-noselect, so that recover-file doesn't + warn one that one should consider doing m-x recover file. + + * subr.el (mod): + Synonym for "%" + + * files.el (recover-file): + Call expand-file-name. + + Also, get an error if user specifies an auto-save filename. + (Would be able to do something useful if there were a way + to get back the original filename from the auto-save filename) + +1986-09-25 Richard M. Stallman (rms at prep) + + * man.el (manual-entry): If formatted man file name ends + in .Z, uncompress it. + + * macros.el (name-last-kbd-macro): + Now in Lisp code and autoloaded. + Get an error if name has a definition that's not a kbd macro. + +1986-09-25 Richard Mlynarik (mly at prep) + + * replace.el (perform-replace): + Make ? (as well as C-h) give help for query-replace(-regexp) + +1986-09-24 Richard Mlynarik (mly at prep) + + * simple.el (set-mark): + set-mark is in lisp code now (from editfns.c) + + * bytecomp.el: + Don't compile (mark) specially -- lisp code shouldn't + call this function very freqently. + + * startup.el (command-line-1): + (let ((load-path (cons default-directory load-path))) (load ...)) + so that the "-load" switch can specify a file relative to $cwd + now that $cwd isn't a component of emacs' default load-path. + + * man.el (manual-entry) + HPUX dain bramage. + +1986-09-23 Richard M. Stallman (rms at prep) + + * help.el: New file containing help commands + formerly in simple.el. Installed in loadup.el + and ../src/ymakefile. + + * help.el: Move calls to print-help-return-message + inside the with-output-to-temp-buffer constructs. + Outside, they saw the window state after displaying + the buffer and printed the wrong stuff. + + * help.el (print-help-return-message): + If the help buffer is already visible, do nothing + since it is impossible to bring back the old contents + of that buffer in this case. + + If given an argument, apply that argument to the message + (and return the result) instead of calling `message' with it. + +1986-09-23 Richard Mlynarik (mly at prep) + + * files.el (revert-buffer) + Pass noconfirm arg to revert-buffer-function + dired.el (dired-revert) Ignore extra arg. + + * tags.el (visit-tags-table-buffer) + noconfirm revert-buffer + +1986-09-23 Richard M. Stallman (rms at prep) + + * rmail.el: Define "x" like "e" for consistency with Dired. + + * buff-menu.el (Buffer-menu-other-window): + New function on "o" command, acts like "o" in Dired. + * buff-menu.el (Buffer-menu-this-window): + New function on "f" command, acts like "f" in Dired. + * buff-menu.el (Buffer-menu-mode): + Update doc for these changes and C-d change. + + * mh-e.el: Version 3.4a from Larus. + +1986-09-23 Richard Mlynarik (mly at prep) + + * doctor.el: + Heroine isn't a drug. + + * ebuff-menu.el (electric-buffer-list) + If no buffers are marked with ">" just select the selected buffer + and don't change the window configuration or any other buffers. + If more than one buffer is selected, split the screen up between + those buffers. + Remove after-electric-buffer-menu. "kill" -> "delete" + + * buff-menu.el + Use "D" rather than "K" for buffers to be deleted for + consistency with rmail and dired and others. + + Rename "kill" -> "delete" for both function-names and documentation. + + Define C-d as Buffer-menu-delete-backwards. (also in ebuff-menu) + + Save space: Merge buffer-menu-{execute,do-saves,do-kills} + +1986-09-22 Richard M. Stallman (rms at prep) + + * macros.el (insert-kbd-macro): New function to insert + Lisp code to define a kbd macro as it is now defined. + * macros.el ({write,append}-kbd-macro): Commands deleted. + * loaddef.el: change autoloads for above changes. + + * simple.el (callers of print-help-return-message): + Calling this function is now the last thing done in each caller. + +1986-09-22 Richard Mlynarik (mly at prep) + + * loaddefs.el + Fix some defvars/defconsts whose doc-string didn't start on the + same line (yuck). Split some of these into a defvar nil followed + by a setq. + +1986-09-21 Richard M. Stallman (rms at prep) + + * loaddefs.el (auto-mode-alist): + Don't use non-saved-text-mode now that it is deleted. + +1986-09-21 Richard Mlynarik (mly at prep) + + * disassemble.el, fortran.el + Use insert-char. + + * fortran.el (fortran-electric-line-number)): + "self-insert-command", not "self-insert" + + * fortran.el (fortran-window-create): + Just bind window-min-width, don't set it. + + * fortran.el (fortran-abbrev-start): + Don't mark buffer as modified after ";?" + fortran-abbrev-help -- do "message...done" + + * files.el (revert-buffer) + Check to see if (file-exists-p buffer-auto-save-file-name) + even if (recent-auto-save-p) before offering to revert from it. + + * text-mode.el: + Remove non-saved-text-mode + + * *-mode.el + Fix some initializations of syntax-tables so that user + can override them. + +1986-09-21 Richard M. Stallman (rms at prep) + + * files.el (recover-file, list-directory): + Don't say /bin/ls; let search path be searched for ls. + +1986-09-20 Richard M. Stallman (rms at prep) + + * lisp.el (lisp-complete-symbol): New command does + completion on a symbol name in the buffer. + + * fortran.el: New file defining fortran-mode, + which is autoloaded from loaddefs. + + * abbrevlist.el: New file defining list-one-abbrev-table, + a function now used by fortran-mode but not Fortran-specific. + +1986-09-19 Richard M. Stallman (rms at prep) + + * subr.el (momentary-string-display): New function + to display a string momentarily in the buffer. + + * loadup.el: Load loaddefs before simple and files + because loaddefs makes more garbage. + + * loaddefs.el: Include defvar of ctl-x-4-map + needed now that this is loaded before files.el. + +1986-09-17 Richard Mlynarik (mly at prep) + + * hanoi.el + Vital improvements + +1986-09-17 Richard M. Stallman (rms at prep) + + * loaddefs.el: disable C-x p. + * loaddefs.el: autoload set-gosmacs-bindings. + * gosmacs.el: renamed from gosling.el with many changes + (saves old bindings and can restore them as they were). + +1986-09-17 Richard Mlynarik (mly at prep) + + * replace.el (occur) + Use variable list-matching-lines-default-context-lines if + no prefix arg specified. + If nlines arg is -ve, include that many lines of preceding + context, no lines of following context. + Use markers instead of line-numbers. + In occur-mode-goto-occurrence, warn about deleted buffer. + +1986-09-16 Richard M. Stallman (rms at prep) + + * simple.el (indent-for-comment): + Delete only the spaces before the beginning of the comment starter + in case the comment starter contains a leading space. + + * abbrev.el (edit-abbrevs-map): Define C-c C-c like C-x C-s. + + * texinfmt.el: define @r as noop. + + * simple.el (print-help-return-message): New function. + Use before doing with-output-to-temp-buffer, and it + prints an echo area message about how to restore + current screen configuration from the configuration + that will obtain after the with-output-to-temp-buffer. + + * simple.el (describe-{key,mode,function,variable}): + * simple.el (view-lossage, command-apropos): + Ca;; print-help-return-message. + +1986-09-15 Richard M. Stallman (rms at prep) + + * sendmail.el (sendmail-send-it): + Don't require newline before header-separator; + search for regexp and use `^'. + + * mh-e.el: Version 3.4 from Larus. + Uses `interactive' properly to read the arguments. + +1986-09-14 Richard Mlynarik (mly at prep) + + * files.el (normal-mode) + Use shorter error message, so more fits on screen. + +1986-09-14 Richard M. Stallman (rms at prep) + + * loadup.el: On VMS, dump under name temacs.dump only. + + * vms-patch.el (make-auto-save-file-name): + Append "$" at end as well as "_$" at front. + + * files.el (cd): Don't do file-name-as-directory on VMS. + +1986-09-13 Richard M. Stallman (rms at prep) + + * bytecomp.el (byte-compile-file): + Don't bomb on defvar with no initial value argument. + + * texinfmt.el (texinfo-format-buffer): + Tagify and maybe even split automatically if buffer is big enough. + Non-nil arg inhibits this. + + * informat.el (Info-tagify): + Don't leave buffer narrowed if it wasn't narrowed to start with. + + * simple.el (comment-column, fill-prefix): + Make them buffer-local and fix documentation. + * loaddefs.el: make indent-tabs-mode buffer-local. + +1986-09-12 Richard M. Stallman (rms at prep) + + * dired.el (dired-add-entry): Go to beginning of line + before adding the entry. + +1986-09-12 Richard Mlynarik (mly at prep) + + * mlsupport.el: + Define ml-substr (used to be in mocklisp.c) + +1986-09-12 Richard M. Stallman (rms at prep) + + * time.el: Don't just clobber global-mode-string. + Instead, add 'display-time-string as an element + and update the time by changing value of that variable. + + * rmail.el (rmail-mode-1): Change only part of mode-line-format + Instead set mode-line-buffer-identification. + + * rmail.el (rmail-show-message): Use mode-line-process to + display the message numbers and labels. + +1986-09-11 Richard Mlynarik (mly at prep) + + * compile.el (compilation-sentinel) + Ignore buffer-read-only. + +1986-09-10 Richard M. Stallman (rms at prep) + + * picture.el: Convert `Picture' to `picture' in all symbols. + + * subr.el: Define old names send-string and send-region + as aliases for new names process-send-... + +1986-09-09 Richard M. Stallman (rms at prep) + + * time.el (display-time): variable display-time-interval + specifies seconds between updates. + + * loaddefs.el: Put \-newline in doc strings that lacked it. + +1986-09-08 Richard M. Stallman (rms at prep) + + * simple.el: Give C-c's keymap a name, mode-specific-map. + + * options.el (list-options): Use user-variable-p to filter + the variables and documentation-property to get the strings. + +1986-09-06 Richard M. Stallman (rms at prep) + + * tex-mode.el (tex-region): + Handle case where specified region extends before header. + +1986-09-04 Leonard H. Tower Jr. (tower at prep) + + * rnews.el (news-inews) + added -h to call of inews to insert all header fields. + +1986-09-04 Richard M. Stallman (rms at prep) + + * files.el (save-buffers-kill-emacs): + Prefix arg means save with no query. + + * files.el (backup-buffer): Fix uses of % in message about %backup%. + +1986-09-03 Leonard H. Tower Jr. (tower at prep) + + * rnews.el (news-reply-mode-map) + Change mail-x field bindings from C-c x to C-c C-f C-x to agree + with sendmail.el . + + * sendmail.el (mail-mode-map) + Change mail-x field bindings from C-c C-f x to C-c C-f C-x to + agree with ../etc/NEWS . + +1986-09-01 Richard M. Stallman (rms at prep) + + * info.el (Info-find-node, Info-read-subfile): + Now knows how to deal with indirect info files. + * info.el: Info-current-file is now the primary + place that records which info file is in the *info* buffer, + and it is updated as soon as a new file is correctly read. + * info.el: New var Info-current-subfile records which + subfile is in the *info* buffer, or is nil for an Info file + that doesn't have subfiles or if no subfile read in yet. + + * informat.el (Info-split): New function to split + an Info file into a bunch of subfiles. It edits the original + file into an indirect file. + + * info.el, loaddefs.el: + Autoloads for informat.el moved from info.el to loaddefs.el. + +1986-08-31 Richard M. Stallman (rms at prep) + + * page.el (mark-page): + * paragraphs.el (mark-paragraph): + * x-mouse.el (x-mouse-set-mark): + Use push-mark and inhibit the message, instead of set-mark. + + * mh-e.el (mh-position-on-field, mh-exec-lib-cmd-output, + mh-exec-cmd-output): use push-mark instead of set-mark. + + * simple.el (push-mark): optional 2nd arg NOMSG inhibits message. + + * ebuff-menu.el (electric-buffer-list): + Was using the mark for internal purposes. + Use an anonymous marker instead. + + * bytecomp.el: Stop using the byte-set-mark opcode. + + * replace.el (occur): Put the *Occur* buffer in Occur mode. + Remember line number of each occurrence in occur-pos-list + Occur mode defines C-c C-c as occur-mode-goto-occurrence, + which uses that list to move the cursor in the original buffer + (which is saved in occur-buffer). + + * aton.el (occur-menu: File deleted; occur-menu is subsumed by occur. + + * isearch.el (isearch): repeating the search in either direction + must set success to t to produce correct echo area text. + + * edt.el: New file. Autoloadable entry is edt-emulation-on. + + * keypad.el (function-key-sequence): New function + finds which key sequence leads to a slot in function-keymap. + +1986-08-30 Richard M. Stallman (rms at prep) + + * files.el (backup-buffer): Use "%backup%~", not "%backup%", + if cannot write the backup in the usual place. + + * sort.el (sort-columns): Sort into reverse order + if have prefix arg. Args are now the same as for + sort-lines, etc. + +1986-08-28 Richard Mlynarik (mly at prep) + + * c-mode.el (electric-c-{brace,terminator}) + c-indent-line takes no args. + +1986-08-28 Richard M. Stallman (rms at prep) + + * files.el (backup-buffer): file-precious-flag forces copying. + + * loaddefs.el: Autoload plain-TeX-mode and LaTeX-mode. + Define aliases for them. Fix doc for TeX-mode. + +1986-08-26 Leonard H. Tower Jr. (tower at prep) + + * rnews.el: + Added autoload of rmail-output and bound it to C-o in + news-mode-map. Also needed defvar of rmail-last-file. + + * rmailout.el (rmail-output): + Made rmail-mode specific code dependent on rmail-mode being + major-mode. + +1986-08-25 Richard M. Stallman (rms at prep) + + * view.el (view-mode): + Bind mode-line-buffer-identification; + in new versions don't change mode-line-format. + + * dired.el (dired-mode): + * info.el (Info-set-mode-line): + * x-menu.el (x-menu-mode): + Don't change mode-line-format. + Use mode-line-buffer-identification instead. + * ebuff-menu.el (electric-buffer-menu-mode): + Likewise, and also copy the mode-line-format + and replace `mode-name in it with "Buffers". + + * info.el (Info-edit): Restore normal mode line + by killing the local variables used by Info to change it. + + * echistory.el (electric-command-history): + In newer Emacs versions, don't alter mode-line-format. + + * compile.el (compile1, compilation-sentinel): + * shell.el (shell-mode, inferior-lisp-mode): + * xscheme.el (inferior-scheme-mode): + * telnet.el (telnet-mode): + If minor-mode-alist is bound, put the %s or process status + into mode-line-process instead of changing mode-line-format. + + * sort.el: New file contains buffer-sorting commands. + Autoload them in loaddefs.el. + + * files.el (backup-buffer): Obey new variable + backup-by-copying-when-mismatch. + + * loaddefs.el: Set default-mode-line-format to use + the new list and symbol constructs. Define minor-mode-alist. + + * rnews.el (news-set-minor-modes): + Store the string in news-minor-modes, and set minor-modes + only if minor-mode-alist is unbound (Emacs versions < 18.16). + * rnews.el (news-mode): In newer Emacses, set mode-name + so it displays news-minor-mode. + + * nroff-mode.el (nroff-mode): + If minor-mode-alist bound, add an entry for nroff-electric-mode + to it, and don't call set-minor-mode. + + * simple.el (overwrite-mode, auto-fill-mode): + * abbrev.el (abbrev-mode): + Don't call set-minor-mode. + + * simple.el (set-minor-mode): Delete this function. + + * bytecomp.el (byte-compile-file): + Put backslash-newline at front of doc string when that is safe. + * bytecomp.el (old-file-newer-than-file-p): + Deleted this; built-in file-newer-than-file-p is well established. + +1986-08-24 Richard M. Stallman (rms at prep) + + * term/xterm.el: Install some changes from rlk. + -ib switch and InternalBorder default are handled. + Set variable x-processed-defaults when defaults are processed. + Use require to load x-mouse. + Use message to say why suspend-emacs is disabled. + + * x-mouse.el: Install some changes from rlk. + + * x-menu.el: New file that handles menus on X window system. + + * buff-menu.el (buffer-menu): Put point on third line + initially (this line describes the buffer that had been selected). + + * files.el (create-file-buffer): + Delete the variable ask-about-buffer-names + and simplify this function. + +1986-08-23 Richard M. Stallman (rms at prep) + + * files.el (basic-save-buffer): + When changing visited name, don't try to rename old auto-save file + if it does not exist. + + * c-mode.el (c-indent-command): New definition of TAB, + uses c-indent-line as a subroutine. Handling of prefix arg + and indenting an entire expression rigidly is now in this fn. + + * c-mode.el (c-tab-always-indent): If nil, TAB inserts a tab + if not in the initial whitespace of the line. + + * c-mode.el (calculate-c-indent): + For statements: if prev line ends in `:', this line is still + a continuation if the `:' follows a non-symbol-constituent char. + For top level: look at previous line that starts in column 0 + to determine whether this line is at top level or in arg decls. + Also notice if line is a continuation. + + * novice.el (disabled-command-hook): + If the 'disabled property is a string, include it in the message. + +1986-08-21 Richard M. Stallman (rms at prep) + + * bytecomp.el (byte-compile-interactive-p): + Remove superfluous compilation of 'nil causing stack overflow. + + * compile.el (compilation-parse-errors): + Count lines from the previous error message, not from line 1. + +1986-08-21 Richard Mlynarik (mly at prep) + + * debug.el (debug, debugger-eval-expression): + Evaluate the expression in the context of the buffer + current when the debugger was entered. + +1986-08-21 Richard M. Stallman (rms at prep) + + * files.el (after-find-file): Print no message + rather than printing a null message. + +1986-08-20 Richard M. Stallman (rms at prep) + + * files.el (set-auto-mode): On VMS, turn on case-fold-search + while matching auto-mode-alist elements. + +1986-08-20 Richard M. Stallman (rms at prep) + + * debug.el (debug): Don't try to restore the match data + if it refers to a dead buffer. + + * startup.el (command-line-1): + -i FILE or -insert FILE means insert contents of file into buffer. + +1986-08-19 Richard M. Stallman (rms at prep) + + * simple.el (describe-variable): + Use `documentation-property' instead of `get' to get + the `variable-documentation' property. + + * userlock.el: correct spelling "supercession" -> "supersession". + + * files.el (basic-save-file): + If file-precious-flag is non-nil, rename the old file + before saving, and if saving fails, rename the old file back. + + * rmail.el (rmail-get-new-mail): + Do not make a backup file if the rmail file was just visited + and hasn't been changed aside from reading the new mail. + This preserves the old backup file. + * rmail.el (rmail-expunge-and-save): New name for rmail-save. + * rmail.el (rmail-mode): Turn on file-precious-flag. + + * dired.el: Define `g' as revert-buffer in dired-mode. + + * c-mode.el (c-mode): Give `&' and `|' "punctuation" syntax. + +1986-08-18 Richard Mlynarik (mly at prep) + + * files.el (find-backup-file-name): + Don't blow up if (eq version-control 'never) + + * files.el (set-visited-file-name): + Use `buffer-auto-save-file-name' not `auto-save-file-name' which + is unbound and unused. + +1986-08-17 Richard M. Stallman (rms at prep) + + * compile.el (compilation-sentinel): + Don't get error if *compilation* has been killed. + Include current date/time in message inserted in buffer. + +1986-08-17 Richard Mlynarik (mly at prep) + + * files.el (basic-save-buffer) + Fix paren error + +1986-08-16 Richard M. Stallman (rms at prep) + + * files.el (find-file-noselect): + Change find-file-not-found-hook to find-file-not-found-hooks + and make it a list of functions to call until one of them + returns non-nil. + * files.el (normal-mode, after-find-file): + Change find-file-hook to find-file-hooks, a list of functions to + call. Call it from after-find-file, not from normal-mode. + * files.el (revert-buffer): + Restore old point before calling after-find-file. + * files.el (basic-save-buffer): + Change write-file-hook to write-file-hooks, a list of functions + to run until one returns t. In that case, skip writing the file + the usual way. + + * tags.el (visit-tag-table-buffer): + Get proper error for empty tag table file; + realize that char-after returns nil in that case. + Also move error check after auto-revert. + +1986-08-16 Richard Mlynarik (mly at prep) + + * subr.el + Move copy-alist to c code, moved nth from c code. + +1986-08-16 Richard M. Stallman (rms at prep) + + * files.el (normal-mode): initially call fundamental-mode + to reinitialize everything. + + * files.el (hack-local-variables): + Don't consider suffix as including any leading spaces. + +1986-08-16 Richard Mlynarik (mly at prep) + + * informat.el, texinfmt.el + Detect and complain about duplicate node-names + +1986-08-16 Richard M. Stallman (rms at prep) + + * mh-e.el: 3.3j from Larus. Changes C-c C-g prefix to C-c C-f. + +1986-08-15 Richard M. Stallman (rms at prep) + + * isearch.el: + Default for regexp searches is now search-last-regexp. + Rename isearch-slow... vars to search-slow... + C-s or C-r in failing search wraps around buffer and tries again. + New local var `wrapped' records this has happened. + Display `Wrapped' in echo area at such times. + Record value of `wrapped' on the search state stack. + Display shorter string for incomplete regexps. + Incomplete regexp no longer implies "failure" of search. + Clean up isearch-search considerably. + isearch-message computes message in lower case, + then case-converts the first char. + + * loaddefs.el: New variable search-last-regexp; + default string for isearch-regexp. + Rename isearch-... vars to search-... + + * simple.el (next-line, kill-line): + * lisp.el (end-of-defun): + * picture.el (Picture-clear-line): + * replace.el (keep-lines): + * indent.el (indent-relative): + Use forward-line, not scan-buffer. + * fill.el (justify-current-line): Use search-backward + not scan-buffer to check whether the line has a space in it. + + * files.el (set-visited-file-name): + Rename the auto-save file if appropriate. + (make-auto-save-file-name, auto-save-file-name-p): + Auto save file for foo is now #foo#. + (make-backup-file-name, backup-file-name-p): + New functions, used in appropriate places. + + * dired.el (dired-flag-backup-files): + Use backup-file-name-p. + + * sendmail.el (mail-mode): + Fix documentation of key bindings. + +1986-08-15 Richard Mlynarik (mly at prep) + + * man.el (manual-entry) + Compensate for Sun wankerism. + If would be nice if there were something a little + more fine-grained than `system-type' for testing for + these cases... + +1986-08-15 Richard M. Stallman (rms at prep) + + * startup.el (command-line): No longer necessary to set + ctl-arrow from default-ctl-arrow, etc., after init file is run + due to changed behavior of those variables. + + * info.el (Info-edit): + * rmailedit.el (rmail-edit-mode): + Change default-mode-line-format to (default-value 'mode-line-format). + +1986-08-14 Richard Mlynarik (mly at prep) + + * man.el (manual-entry): + Speed up `\b'-hacking. + +1986-08-14 Richard M. Stallman (rms at prep) + + * sendmail.el: Change key bindings. + C-c becomes C-c C- or C-c C-f . + + * mh-e.el (mh-position-on-field): + mh-header-end -> mh-goto-header-end. + + * novice.el (disabled-command-hook): + Print only the first paragraph of the command's documentation. + [Test this, once new narrow-to-region doc is installed.] + + * rmailsum.el (rmail-make-basic-summary-line): + Don't accept a time zone as a month. + +1986-08-13 Richard M. Stallman (rms at prep) + + * mh-e.el: New version 3.3i, moving mode-specific commands + to C-c prefix. + + * tex-mode.el: many new features incl. LaTeX mode + and some C-c commands. + + * indent.el (indent-relative): + Fix lossage if point to indent under was inside a tab. + + * bytecomp.el (byte-compile-substring): + Fix dumb error. + + * info.el: Autoload Info-validate. Fix bug in autoload Info-tagify. + +1986-08-12 Richard Mlynarik (mly at prep) + + * rmailedit.el (rmail-cease-edit, rmail-attributes) + Add label (well, `attribute,' really) "edited" to message. + + * mlsupport.el (auto-execute) + Fix from bap@g.cs.cmu.edu + +1986-08-11 Richard Mlynarik (mly at prep) + + * bytecomp.el (byte-compile-form) + Compile references to t and nil as constants rather then variable + references. + + * bytecomp.el (byte-compile-no-args, ..., byte-compile-three-args) + If called with wrong-number-of-args, do a normal function call + and get an error at runtime. + + * bytecomp.el (byte-compile-file-form) + Process (require ...) at compile-time + + * informat.el, info.el, loaddefs.el + Move Info-validate and friends into new file informat.el + Add batch-info-validate + + * texinfmt.el, loaddefs.el + Add batch-texinfo-format + + * startup.el + Add synonym switches "-funcall" "-load" "-user" "-no-init-file" + for cryptic "-f" "-l" "-u" "-q" + + * mlsupport.el + Make various turds know that inhibit-command-line has gone. + + * bytecomp.el (batch-byte-compile), tex-start.el + Because of RMS's change "Mon Jul 7 14:01:51 1986" + must use variable command-line-args-left rather than command-line-args. + + Actually, I see no circumstances under which a switch -could- be + interested in any command-line-args before the mention of itself, + and so think that rebinding command-line-args as appropriate was + correct (if perhaps a little confusing to the person who requested + that RMS' change be made) + +1986-08-10 Richard Mlynarik (mly at prep) + + * info.el (Info-validate) + re-search for \\*, not * + +1986-08-07 Richard Mlynarik (mly at prep) + + * rfc822.el, loaddefs.el, mail-utils.el + Hairy address parser, used only if mail-use-rfc822 is non-nil + (It is nil by default, so if one doesn't like or need the hair of + this file, then one is never troubled by it) + + * disassemble.el, loaddefs.el + Code from doug@csli.stanford.edu modified by mly. + RMS -- if this is too random to be in the GNU Emacs + distribution, please tell me so. + + * bytecomp.el + Compile eql same as eq. + +1986-07-30 Richard M. Stallman (rms at prep) + + * outline.el (many functions): + New variable outline-regexp controls what is a heading line. + It must match at the beginning of a line. Length of matched text + gives the depth of heading within the tree. + + * term/xterm.el (x-get-default-args): + Process reversevideo option just once. (Twice is noop.) + +1986-07-28 Richard M. Stallman (rms at prep) + + * term/vt100.el, term/vt200.el: + Move (require 'keypad) to top to avoid error. + +1986-07-18 Leonard H. Tower Jr. (tower at prep) + + * rnews.el: (news-add-news-group) + handle unsubscribed groups better + + * rnews.el: (news-{next,previous}-group) + now skip groups with no new messages + +1986-07-17 Richard M. Stallman (rms at prep) + + * mh-e.el: Install version 3.3h from Larus. + +1986-07-15 Richard M. Stallman (rms at prep) + + * shell.el (shell-send-input): + If get error trying to change directory, call + shell-set-directory-error-hook with no args. + +1986-07-12 Richard M. Stallman (rms at prep) + + * tags.el (list-tags, tags-apropos): Call output buffer *Tags List*. + + * c-mode.el (calculate-c-indent): + Better handling of case where first statement at current level + starts on same line as a case..: or label. New local var + colon-line-end. + +1986-07-07 Richard M. Stallman (rms at prep) + + * startup.el (command-line-1): rename argument variable + command-line-args to command-line-args-left. Don't rebind + command-line-args. + +1986-06-21 Richard M. Stallman (rms at prep) + + * mh-e.el: Version 3.3g from Larus. + +1986-06-19 Richard M. Stallman (rms at prep) + + * isearch.el (isearch): Use slow terminal mode + only if current window is > 4 times the slow-terminal lines high. + +1986-06-17 Richard M. Stallman (rms at prep) + + * nroff-mode.el: Add elements to nrofff-brace-table. + +1986-06-16 Richard M. Stallman (rms at prep) + + * mlconvert.el (convert-mocklisp-buffer): + Proper handling of `!' function, via new function ml-not. + Proper handling of non-defuns, by putting them inside a + dummy defun and calling that function. + +1986-06-14 Richard M. Stallman (rms at prep) + + * mh-e.el : Install 3.3f from Larus. + +1986-06-12 Richard M. Stallman (rms at prep) + + * startup.el (command-line): + Rename default init file to default.el. + Don't look for suffixes on .emacs file. + + * keypad.el: New file that defines a standard keypad mode. + * term/vt*.el: Rewrite completely to use keypad.el. + +1986-06-11 Richard M. Stallman (rms at prep) + + * abbrev.el (abbrev-prefix-mark): + Insert a - at the beginning of the abbrev. + expand-abbrev will now delete such -'s. + + * userlock.el (ask-user-about-supercession): + Ask user what to do if he is modifying a buffer whose + file is changed on disk. + +1986-06-10 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-reply): For the in-reply-to, + try to get the sender's full name from within parentheses. + + * outline.el: pervasive changes; new features, changed keys. + + * files.el (backup-bufer): + If cannot write backup under normal name, write it in ~/%backup%. + Preserve the last-modified time when backing up by copying. + +1986-06-09 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-expunge): Preserve point unless expunging + the current message. + + * bytecomp.el (file-newer-than-file-p): + Since this is a primitive in version 18, define it + only if not defined. + +1986-06-08 Richard M. Stallman (rms at prep) + + * files.el (load-file, load-library): two new commands. + + * startup.el (command-line): Eliminate inhibit-command-line + since one can just set command-line-args to nil. + + * term/xterm.el: No need to handle -d switch + since main() handles it now. + + * tags.el: Display name of file being processed. + + * mh-e.el: Install version 3.3 from Larus. + + * replace.el, loaddefs.el (perform-replace): + perform-replace does not print "done"; its callers do. + + * startup.el (command-line): + Rename file default-profile to .emacs-df; + load it always, unless inhibit-default-init is set to t. + + * telnet.el: Switch to C-c prefix for mode-specific commands. + + * startup.el (command-line): Use just first word of + terminal name to make per-terminal library file name. + + * loadup.el: Change name of installed docstr file to + DOC-mm.nn.oo from DOC.mm.nn.oo. + + * files.el (file-name-sans-versions): New system-dependent + function to remove backup or version suffixes from filename. + +1986-06-07 Richard M. Stallman (rms at prep) + + * c-mode.el (electric-c-terminator): + Check for point being inside a multi-line string or comment + and do nothing. For colon, check for more than one word + before it on the line (with first one not "case") and do nothing. + + * c-mode.el: Don't rebind Linefeed. + + * c-mode.el (calculate-c-indent): + If previous line ends in ") {", skip back to matching "(" + and use that line's indentation as the brace's column. + +1986-06-06 Richard M. Stallman (rms at prep) + + * nroff-mode.el (nroff-comment-indent, nroff-mode): + Define a comment syntax. Install comment-indenter + as supplied by gildea, but change it not to use + insert-before-markers, to avoid display anomalies. + + * files.el (find-file-noselect): Tell revert-buffer not to query. + * files.el (revert-buffer): Second arg non-nil means no query. + + * files.el (after-find-file): Warn if auto-save file + exists and is newer than the file visited. + + * files.el (find-alternate-file): + Allow replacing a non-file buffer, as long as not modified. + + * files.el (recover-file): + Initially show a directory listing of real and auto-save files. + Only find the file if user says yes. + Print better messages. + + * simple.el (goto-line): Use new interactive code N. + + * subr.el (substitute-key-definition): New function. + Replaces all bindings to one function in one map + with another function. + + * xterm.el: Use substitute-key-definition to get rid of keys + that do suspend-emacs. + +1986-06-05 Richard M. Stallman (rms at prep) + + * simple.el (fundamental-mode): + Provide a fundamental-mode-map in case user does local-set-key. + + * picture.el (picture-mode): + New key bindings for setting insert motion direction: + C-c <, C-c >, C-c ^ and C-c . instead of M- chars. + + * rmail.el (rmail-reply): When putting From into In-reply-to, + stop at any newline. + + * mail-utils.el (mail-strip-quoted-names): + Consider newlines like other whitespace for <...> hacks. + + * bytecomp.el (byte-compile-cond{,-1}): + Handling of singleton clauses that are not last. + Handling of cond with no clauses. + + * startup.el (command-line): Switch to *scratch* before + running initial-major-mode, and do this only if *scratch* exists. + + * compare-w.el: Simplify the handling of `size': + always reduce size not to exceed the amount of space + left in either buffer. + +1986-06-04 Richard M. Stallman (rms at prep) + + * man.el (manual-entry): Use new variables manual-program, + manual-formatted-dir-prefix and manual-formatted-dirlist, + defined in paths.el. + + * time.el (display-time): + Don't expand-file-name of "loadst". Let start-process search + the exec-path for it. + + * texinfmt.el (texinfo-discard-line): + Allow and discard spaces at end of line. + + * texinfo.el: + Split most of this into new file texinfmt.el. + + * replace.el (perform-replace): + Bind help-form only while the read-char is done; + don't interfere with recursive edits. + +1986-05-29 Richard M. Stallman (rms at prep) + + * info.el (Info-validate): If file is valid, + erase the buffer of problems found previously. + Non-re search was used by mistake to search for regexps; fix. + + * nroff-mode.el (electric-nroff-newline): + Leave point between the open-directive and the close-directive, + as it was supposed to do. + Add some directive-pairs to nroff-brace-table. + +1986-05-28 Richard M. Stallman (rms at prep) + + * telnet.el (telnet-initial-filter): + If host nonexistent, kill the telnet buffer and get error. + +1986-05-25 Richard M. Stallman (rms at prep) + + * rmail.el (rmail-search): Don't find a match in the current message. + +1986-05-19 Richard M. Stallman (rms at prep) + + * mh-e.el (mh-get-new-mail): Handle error messages reeived from `inc'. + +1986-05-15 Richard M. Stallman (rms at prep) + + * files.el (save-buffer): Switch meanings of one-C-u and two-C-u + in the code, so they match the documentation. + +See ChangeLog.1 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 lisp/ChangeLog.3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/ChangeLog.3 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,12617 @@ +1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.10 released. + +1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/bobcat.el: Just load term/keyswap.el. + + * term/vt200.el: Just load term/vt100.el. + * term/apollo.el: Just load term/vt100.el. + * term/vt102.el, term/vt125.el, term/vt201.el, term/vt220.el, + term/vt240.el, term/vt300.el, term/vt320.el, term/vt400.el, + term/vt420.el: New files. Just load vt100.el. + + * term/lk201.el: New file. + * term/vt100.el: Use term/lk201.el. + + * term/vt100.el (vt100-wide-mode): Add missing arg in set-frame-width. + +1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (command-line-1): Pass arg to other-window. + + * files.el (find-file-run-dired): Doc fix. + (find-file-read-only): Return the buffer. + (find-file-read-only-other-window): Likewise. + (find-file-read-only-other-frame): Likewise. + + * timer.el (cancel-function-timers): Renamed from spurious duplicate + definition of cancel-timer. + + * add-log.el (find-change-log): Use file-chase-links. + + * files.el (file-chase-links): New function. + (backup-buffer): Use file-chase-links. + (file-chase-links): Handle leading .. in symlink target. + + * c-mode.el (c-up-conditional): Handle commented-out #-cmds properly. + + * window.el (split-window-vertically): Return the new window. + + * paths.el (gnus-local-organization): Initially nil. + + * isearch.el (isearch-search): Take note of isearch-case-fold-search + initial value. + + * lisp-mode.el (indent-sexp): Even if outer-loop-done is t, + still move down one line. + + * files.el (auto-mode-alist): Fix syntax for sgml mode. + + * man.el (Man-mode-map): Bind m to manual-entry. + (Man-notify-when-ready): Make arg name consistent. + Use delete-other-window. + (Man-mode): Use buffer-disable-undo, not old name. + + * faces.el (x-resolve-font-name): Allow symbol as FACE arg. + Allow t as FRAME arg. + + * sendmail.el (send-mail-function): Use defvar. not defconst. + + * mouse.el (x-fixed-font-alist): Specify field 7, not field 6. + +1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso8859-1.el: File deleted. + * superyank.el: File deleted. + + * vc.el (vc-steal-lock, vc-insert-headers): Fix question whitespace. + (vc-finish-logentry): Use delete-windows-on. + + * add-log.el (find-log-file): Use source file's truename dir. + + * mh-e.el: Version 3.8.1 from Gildea. + + * loaddefs.el (-key): repeat-complex-command moved to C-x ESC ESC. + + * hexl.el: Doc fixes. + (hexl-char-after-point): Get rid of mistakenly free variables. + + * info.el (Info-insert-dir): Ignore duplicate directories. + + * paths.el (Info-default-directory-list): Take out ../../info. + Avoid duplication. + (manual-formatted-dirlist, manual-formatted-dir-prefix): Deleted. + + * subr.el (baud-rate): Doc fix. + + * add-log.el (find-change-log): Chase symlinks multiple levels. + + * rmailsum.el (rmail-new-summary): Set rmail-summary-buffer + to nil at beginning; set it for real after summary is set up. + +1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (find-alternate-file): Hide truename and inode number + temporarily, like the visited file name. + + * iso8859-1.el: Pass just the downcase table to set-case-... + +1993-05-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * find-dired.el (find-dired-sentinel): Write a line describing death. + Set mode-line-process to record exit status. + Delete the process. + +1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (frame-initialize): Handle reverseVideo resource. + * faces.el (x-create-frame-with-faces): Handle reverseVideo resource. + + * iso-insert.el, iso-ascii.el, iso-swed.el: Provide same name as file. + + * ange-ftp.el (ange-ftp-dired-compress-file): + Use dired-compress-file, not dired-compress-filename. + + * completion.el: Pervasive changes to use Emacs 19 features + and conform to Emacs conventions. + +1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.9 released. + +1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * term/x-win.el: Check for a geometry resource, and apply it to the + initial frame. + +1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * isearch.el (isearch-forward): Remove the claim that + isearch-whitespace-chars matches any string of whitespace. + +1993-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * completion.el: Comment out handling of shell-send-input. + Delete the "local thinking machines" definitions at the end + since they caused compilation failure. + + * cl.el (cl-member): Renamed from member. + + * time.el (display-time-day-and-date): Use defvar, not defconst. + + * subr.el (listify-key-sequence): Avoid the constant ?\M-\200. + + * files.el (find-file-noselect): Expand buffer-file-truename + before copying it to anything else. + + * dired.el (dired-other-frame): New function, with binding. + + * compile.el: Make C-x ` binding just once. + + * help.el (finder-by-keyword): Autoload from `finder', not `finder.el'. + + * nroff-mode.el (nroff-mode): Don't leave nroff-electric-mode void. + + * byte-opt.el (byte-optimize-divide): + Don't optimize to less than two arguments. + + * hexl.el (hexlify-command, dehexlify-command): Use exec-directory. + + * rmailsort.el: New version from Umeda. + (timezone-make-date-sortable): Make autoload for this. + (rmail-sort-by-recipient): Downcase the strings for sorting. + (rmail-sort-by-recipient): Likewise. + (rmail-sort-by-lines): Renamed from rmail-sort-by-size-lines. + Use numbers to sort by. + (rmail-summary-...): New functions. Bind in rmail-summary-mode-map. + (rmail-sort-from-summary): New function. + (rmail-sort-messages): Don't bother checking major mode. + Put message bounds in sort list, not its text. + Choose string< or < as predicate. + Reorder messages by exchanging them, with inhibit-quit bound. + (rmail-fetch-field): Start by widening. + (rmail-sortable-date-strng): Deleted. + (rmail-make-date-sortable): New function, used instead. + + * paths.el (gnus-local-organization): Renamed from ...-your-... + (gnus-local-domain): Likewise. + +1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * faces.el (x-resolve-font-name): If PATTERN is nil, return the + frame's face. + (set-face-font): Only use x-resolve-font-name if FONT is a string. + Copying a faces shouldn't resolve the font. + + * paths.el (Info-default-directory-list): Add + configure-info-directory to this list. + +1993-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * scroll-bar.el (scroll-bar-mode): Make default value t. + + * help-macro.el (make-help-screen): Handle mouse events. + Be smart about window configurations--when and whether to restore. + + * info.el (Info-follow-nearest-node): Omit 4th arg to Info-get-token. + + * sgml-mode.el (sgml-validate): compile1 renamed to compile-internal. + (sgml-mode): Add autoload cookie. + * files.el (auto-mode-alist): Recognize .sgm, .sgml, .dtd. + + * files.el (auto-mode-alist): Treat .H and .hh as C++ files. + + * mouse.el (mouse-set-mark): Activate the mark. + Don't bounce the cursor if Transient Mark mode. + (mouse-save-then-kill): Pass explicit args to kill-ring-save. + (mouse-kill-ring-save): Likewise. + + * mail-utils.el (mail-strip-quoted-names): + Catch errors from forward-sexp. + + * comint.el (comint-filter): Restore buffer-read-only in proper buffer. + + * ispell.el: Provide `ispell'. + + * ange-ftp.el (ange-ftp-set-buffer-mode): Do nothing unless + visited name is an ange ftp magic name. + + * advice.el: New version from Chalupsky. + +1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-unmark-all-files): Read arg as a string. + + * rmailsum.el (rmail-summary-mark-deleted): Check for end of buffer. + Pass t as NOWARN when calling rmail-summary-goto-msg. + + * dired-aux.el (dired-compress-file): Test the return value + of dired-check-process properly. + Fix use of nonexistent var `name'. + + * info.el (Info-edit, Info-last-search, Info-enable-edit): + Correct case in `Info-mode-map'. + + * rmail.el (rmail-bury): Fix call to set-window-buffer. + + * loaddefs.el: copy-to-register now on C-x r s. + +1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el: Pass x-command-line-resources to x-open-connection. + (x-command-line-resources): New variable. + (x-handle-rn-switch): New function. + (command-switch-alist): Add -rn. + +1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * term/x-win.el (command-switch-alist, x-switch-definitions): Treat + `-i' like `-itype', as in Emacs 18. + +1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.8 released. + + * startup.el (command-line-1): Don't handle `-i'. We're + abandoning the `insert file' meaning in favor of the `use a + bitmapped icon' meaning. + + * faces.el (set-face-font): Call x-resolve-font-name on the font + before including it in the face. + (x-resolve-font-name): New function. + + * iso-syntax.el: Make downcase into a proper case table before + passing it to set-standard-case-table. + + * disp-table.el (standard-display-european): Doc fix. Make + it autoload. Make it respond to prefix arg like a minor mode. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (x-select-text): New arg PUSH. + (x-switch-definitions): Represent -r as `reverse' option. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (find-file-read-only-other-window): + Use find-file-other-window. + + * paths.el (Info-default-directory-list): Add ../../info. + + * info.el (Info-suffix-list): Fix duplicate .z to .info.z. + + * faces.el (x-create-frame-with-faces): Handle `reverse' as parameter. + * frame.el (frame-initialize): Likewise. + + * dired.el (dired-flag-backup-files): Speedup: + check explicitly for ~ at end of line. + (dired-flag-auto-save-files): Similar change. + + * register.el (jump-to-register): + Don't fail if frame-configuration-p is unbound. + + * files.el (cd): Set cd-path to a list. + + * simple.el (kill-new): Pass t as 2nd arg to interprogram-cut-function. + * select.el (x-set-cut-buffer): New arg PUSH. + +1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * disp-table.el (standard-display-default): New function. + (standard-display-european): New command. + + * loaddefs.el: Bind [?\M-\C-\ ] to mark-sexp. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (shell-command): Don't activate mark even momentarily. + +1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * case-table.el, disp-table.el, finder.el, iso-ascii.el, + iso-insert.el, iso-swed.el, iso-syntax.el, iso8859-1.el, + swedish.el: Change "i14n" keyword to "i18n". + * finder.el (finder-compile-keywords): Replacement unnecessary. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-mode): Doc fix. + +1993-05-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * lucid.el (switch-to-other-buffer): Build the list of acceptable + buffers properly. + + * faces.el (make-face): Change interactive spec to 'S'. + +1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-raw-send-cmd): Allow quitting + during accept-process-output. + + * finder.el (finder-known-keywords): Use i18n, not i14n. + (finder-compile-keywords): Substitute i18n for i14n. + Turn off undo in *finder-scratch*. Ignore file names + starting with =. + (finder-mode, finder-current-item): Rename headmark to finder-headmark. + (finder-list-matches, finder-list-keywords): Likewise. + + * iso8859-1.el: Call set-case-..., not standard-case-... + +1993-05-23 Paul Eggert (eggert@twinsun.com) + + * calendar.el (calendar-daylight-savings-starts, + calendar-daylight-savings-ends): Default to nil if the locale + never has DST. + +1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.7 released. + +1993-05-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * vc.el (vc-comment-to-change-log): Don't take FILE argument, since + vc-update-change-log doesn't support it anyway. + Don't bind default-directory. Instead pass second arg to + file-relative-name. + (vc-update-change-log): Use find-change-log instead of hardcoding. + +1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * cl.el (cl-floor, cl-ceiling, cl-truncate, cl-round): Renamed + from floor, ceiling, truncate, and round; the old names conflict + with built-in functions. + +1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el (gud-def): Fix inclusion of the define-key. + (gdb, sdb, dbx): Change bindings from letters to control chars. + (gud-common-init): Add save-excursion. + (gud-display-line): Don't mess with buffer-read-only. + (gud-filter): Set output-after-point *after* deleting old prompt. + Likewise for `moving'. + + * subr.el (event-modifiers): Doc fix. + + * help.el (describe-key, describe-key-briefly): + Discard the click or drag that follows a down event. + + * levents.el (event-modifiers): Function deleted. + (read-command-event): For switch-frame event, call select-frame. + +1993-05-22 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * rlogin.el (rlogin-filter): Yet another rewrite which handles + unusual values of scroll-step in a winning way by window-start + frobnication. + +1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (pending-undo-list): Var declared. + + * apropos.el (apropos-print-matches): Bind tem. + +1993-05-21 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * holidays.el: Update reference to the papers in S-P&E. + (filter-visible-calendar-holidays): Test for nil date. + + * cal-mayan.el: Update reference to the papers in S-P&E. + + * cal-french.el: Update reference to the papers in S-P&E. + +1993-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * apropos.el (apropos-match-keys): Handle modern keymap structure. + + * simple.el (transient-mark-mode): Doc fix. + + * outline.el (outline-minor-mode): Make permanent local in all buffers. + Give the command a doc string, and make it autoload. + + * lisp-mode.el (lisp-body-indent): Add doc. + +1993-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * texinfo.el (texinfo-section-types-regexp): Define here. + + * delsel.el: Provide delsel. + (keyboard-quit): Definition deleted. + (minibuffer-keyboard-quit): If Delete Selection mode is off, + do abort even if mark is active. + +1993-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + Some time-handling patches from Paul Eggert: + * calendar.el (calendar-current-time-zone): New function. + (calendar-time-zone, calendar-standard-time-zone-name, + calendar-daylight-time-zone-name): Use it instead of current-time-zone. + * sendmail.el (mail-do-fcc): Use the same absolute time for both + current-time-string and current-time-zone. Adjust to new format + returned by current-time-zone. + + * xfaces.el (face-equal): Doc fix. + +1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * delsel.el: Renamed from pending-del.el. + Functions and variables renamed to ...delete-selection... + from ...pending-delete... + Bind all minibuffer keymaps alike. + + * outline.el (outline-heading-end-regexp): Fix typo. + (outline-minor-mode-map): New variable. + (minor-mode-map-alist): Add new entry. + (outline-minor-mode): Work with above change. + Do not set outline-regexp or outline-header-end-regexp. + +1993-05-19 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (hebrew-calendar-yahrzeit): Correct error from S-P&E + paper in test for Adar I 30 date of death for yahrzeit in a + non-leap year when Shevat 29 must be used. + +1993-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * files.el (set-auto-mode): If the buffer's file name is nil, + don't try to compare it against the entries in auto-mode-alist. + +1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ispell.el (ispell-command-loop): Make an undo boundary. + + * isearch.el (isearch-mode-map): Use vector, not string, to bind + printing characters. + +1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * select.el (xselect-convert-to-class): Just return "Emacs" here. + That's what the class will always be. + +1993-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loaddefs.el: Add bindings for C-SPC and C-/, like C-@ and C-_. + +1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * startup.el (normal-top-level, command-line, command-line-1): + Don't call the frame and face initialization functions unless + they're bound. + + * frame.el (frame-notice-user-settings): Don't make + frame-initial-frame unbound; just set it to nil. + * startup.el (command-line-1): Call frame-notice-user-settings + before displaying the startup message. + + * server.el (server-switch-hook): New hook. + (server-process-filter): Call it. + + * bibtex.el (bibtex-string): Use \" instead of "" to get a double + quote inside a string. + * vms-patch.el (print-region-function): Same. + +1993-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-yank-original): In Transient Mark mode, + don't get error and don't activate the mark. + + * isearch.el (isearch-mode-map): Extend the dense keymap to 256 chars. + +1993-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * trace.el, advice.el: New files. + + * bytecomp.el (byte-compile-file): Don't write output if error. + + * sendmail.el (mail-setup): Leave point before signature, not after. + + * rmailsort.el (rmail-sortable-date-string): Handle date in format + produced by current-time-string. + + * simple.el (keyboard-quit): Run deactivate-mark-hook. + (kill-ring-save): If quit happens while cursor is bounced, + make it appear like a command-level quit. + + * loaddefs.el: Add bindings for C-digits, C-M-digits, C-- and C-M--. + + * isearch.el (isearch-mode): Set deactivate-mark. + + * menu-bar.el (fill-region, kill-region, delete-region) + (kill-ring-save): Use mark-active as enable condition. + (undo): Add an enable condition. + +1993-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * texinfo.el (texinfo-chapter-level-regexp): Copied here. + +1993-05-17 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * gnus.el (gnus-info-directory): Variable removed. + (gnus-info-find-node): Don't use it. + +1993-05-16 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * gnus.el, gnuspost.el, gnusmail.el, gnusmisc.el + * nntp.el, nnspool.el, mhspool.el: Version 3.15 from Umeda. + + * frame.el (toggle-scroll-bar): Renamed from toggle-vertical-scroll... + +1993-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * texinfo.el: Don't require tex-mode or texnfo-upd. + (texinfo-mode-map): Binding for " deleted. + (texinfo-tex-print): Require tex-mode here. + (texinfo-tex-region): Likewise. + (texinfo-tex-region): Update name of tex-set-buffer-directory. + + * tex-mode.el (tex-insert-quote): Doc fix. + + * vc.el: Don't require sendmail, compile, or dired. + + * simple.el (push-mark): Always activate the mark + if not in Transient Mark mode. + + * c-mode.el (mark-c-function): Activate the mark. + + * ispell.el (ispell): Deactivate mark before the Ispell run. + (ispell-point): Delete the sit-for; it was confusing. + (ispell): Don't use save-excursion; just restore current buffer. + (ispell-next): Don't save-excursion or save-window-excursion. + (ispell-point): Don't save-excursion. + (ispell-window-configuration): New variable. + (ispell-show-choices): Set it if not nil. + (ispell-next): Initialize to nil. Restore at end. + + * simple.el (yank, yank-pop): Don't activate the mark. + + * lisp.el (mark-sexp, mark-defun): Activate the mark. + * page.el (mark-page): Activate the mark. + * paragraphs.el (mark-paragraph, mark-end-of-sentence): Likewise. + + * simple.el (mark-whole-buffer, mark-word): Activate the mark. + (push-mark): Optional arg ACTIVATE. + (set-mark-command): Use that. + + * faces.el (face-initialize): Do make the modeline face. + (x-initialize-frame-faces): Explicitly invert `modeline' face. + (x-create-frame-with-faces): Simplify; do nothing special + with `default' or `modeline' face. + +1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * version.el (emacs-version): Alpha release 19.6. + +1993-05-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el: Rename `primary-selection' to `region'. + + * mouse.el (mouse-set-region): Call set-mark to activate mark. + + * isearch.el (isearch-done): Don't activate mark. + + * simple.el (push-mark): Don't activate the mark. + (set-mark-command): Explicitly do so here. + When popping, don't mind if mark is inactive. + (pop-mark): Deactivate mark. Don't mind if it's inactive. + (yank-pop): Don't mind if mark is inactive. + (keyboard-quit): Deactivate the mark. + (kill-ring-save): When bouncing cursor, + bounce the mark too, so highlighted area does not change. + + * bytecomp.el (byte-compile-track-mouse): New function. + This is a kludge; track-mouse must be compiled better. + + * simple.el (transient-mark-mode): New command. + + * mouse.el (mouse-drag-region): New command, on down-mouse-1. + + * map-ynp.el (map-y-or-n-p): Show the answers in the echo area. + + * faces.el (face-initialize): Turn off `modeline' face. + Set region-face. + (invert-face): Really do use the default colors. + (x-initialize-frame-faces): Always try "gray" color for + primary-selection; always invert if that fails. + Similar changes for highlight, secondary-selection. + + * menu-bar.el: Fix up the edit commands. Add fill-region. + +1993-05-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-mode): New command. Use for initialization. + + * faces.el (make-face): Add interactive spec. + (set-default-font): Deleted. + + * isearch.el (isearch-mode-map): Handle any length vector in keymap. + (isearch-char-to-string): Handle non-character events properly. + +1993-05-14 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * subr.el (overlay-start, overlay-end, overlay-buffer): Removed. + + * vc.el (vc-version-diff): Match parens. + +1993-05-14 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-revert-buffer1): Don't assume that compilation-error-list + is a list; it might be t. + +1993-05-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emerge.el: Installed version 5 from drw. + Merged in previous FSF changes, plus new changes: + (emerge-count-matches-string): Renamed from count-matches-string. + (emerge-command-prefix): Now C-c C-c. + (emerge-shadow-key-definition): Deleted. + Callers use substitute-key-definition. + (emerge-recursively-substitute-key-definition): Deleted. + Callers use substitute-key-definition. + (emerge-unselect-hook): Renamed from emerge-unselect-hooks. + (emerge-files-internal): Use file-local-copy to handle remote files. + (emerge-files-with-ancestor-internal): Likewise. + (emerge-remote-file-p): Deleted. + (emerge-abort): New command. + (describe-mode): Deleted. + (emerge-hash-string-into-string): Renamed from hash-string-into-string. + (emerge-unslashify-name): Renamed from unslashify-name. + (emerge-write-and-delete): Don't write-file if file-out is nil. + (emerge-setup-fixed-keymaps): Put emerge-abort on C-]. + (emerge-find-difference-diff): Renamed from emerge-find-difference. + (emerge-find-difference): New command. Now on `.'. + (emerge-diff-ok-lines-regexp): Renamed from emerge-diff-ok-lines. + (emerge-diff3-ok-lines-regexp): Renamed from emerge-diff3-ok-lines. + +1993-05-13 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-version-diff): Don't move point in current buffer. + +1993-05-13 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (tags-table-including): Take new third arg CORE-ONLY. + If non-nil, ignore files without extant buffers. + (visit-tags-table-buffer): Call tags-table-including first with + CORE-ONLY set, and then afterwards with it clear. + +1993-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el: Require menu-bar.el. + * menu-bar.el: Provide 'menu-bar. + + * compile.el (Setting minor-mode-map-alist): + Put the map directly in the alist, not a variable name. + * vc.el: Likewise. + + * macros.el (kbd-macro-query): Fix prompt string. + + * loadup.el: Preload mouse, scroll-bar and select if have multi-frames. + + * vc.el: Improve doc strings and prompt strings. + (vc-cancel-version): Ask whether to revert buffer. + + * lmenu.el (default-menubar): Make initial value nil. + (kill-this-buffer, x-new-frame) + (sensitize-file-and-edit-menus-hook, format-buffers-menu-line) + (buffers-menu-max-size, complex-buffers-menu-p) + (buffers-menu-switch-to-buffer-function, buffer-menu-save-buffer) + (buffer-menu-write-file, build-buffers-menu-internal) + (build-buffers-menu-hook): Functions and variables deleted. + + * faces.el (face-initialize): New function. + All initialization code moved into it. + Call at end of file, if using X frames already. + (x-create-frame-with-faces): Don't use faces if not initialized. + + * startup.el (command-line): Call frame-initialize explicitly. + Call face-initialize. + (normal-top-level): Call frame-notice-user-settings explicitly. + * frame.el: Do not put those functions on hooks. + + * terminal.el (te-pass-through): Handle meta chars and non-char events. + (terminal-map, etc.): Use default bindings, not fillarray. + Make the maps sparse. + (terminal-meta-map): New map; lets us make ESC a prefix key. + (terminal-map): Bind ESC to terminal-meta-map. + (te-more-break-unread): Handle non-char as last-input-char. + (te-filter): Delete code that worked with meta-flag. + (terminal-emulator): Don't look at meta-flag. + (terminal-mode): Don't make meta-flag local. + (te-stty-string): Quote the args that have ^. Add pass8. + +1993-05-08 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-diff): Report an error if the buffer isn't registered. + (vc-registration-error): New function. + (vc-next-action, vc-diff, vc-print-log, vc-backend-diff): Use it to + make VC's error messages more uniform. + + * vc.el (vc-directory, vc-revert-buffer1): Quote lambdas with + (function ...) for Emacs 18. + (compilation-old-error-list): Set if undefined, for Emacs 18. + +1993-05-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * faces.el: Re-arranged to put accessors at the top. + +1993-05-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buff-menu.el (Buffer-menu-quit): New function, now on q. + (buffer-menu): Update list of options. + Don't save a window config. + (Buffer-menu-select): Don't call Buffer-menu-execute. + Don't restore a window config. + (Buffer-menu-mode-map): Buffer-menu-select now on v. + +1993-05-10 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * bytecomp.el (byte-recompile-directory): If ARG is non-nil, set + it to its prefix numeric value. Test for ARG being zero with eq, + not zerop. + +1993-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailout.el (rmail-output): Undo June 11 1992 change: + Don't try to use Date field in the From. + + * faces.el: Rename all references to try-face-font to + internal-try-face-font, so we don't need lucid.el. + + * faces.el (read-face-name): Call face-list, not list-faces. + + Fail more gracefully if we can't build bold, italic, etc, + versions of the default font. + * faces.el (make-face-bold, make-face-italic, + make-face-bold-italic, make-face-unbold, make-face-unitalic): + Implement NOERROR argument. + (x-initialize-frame-faces): Use the NOERROR argument to the + font manipulation functions to avoid errors while starting up. + Remove initialization of isearch font. + * xfaces.c (internal-x-complain-about-font): Add new frame + argument, so we can check the frame parameters to find the + default font. Callers changed. + + * faces.el (x-create-frame-with-faces): Fix typo. Dyke out + code to fully qualify the modeline font; we may not be able to + do that correctly. + +1993-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dabbrev.el (dabbrev-expand): Delete a search-forward call + after the second replace-match. + +1993-05-09 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * add-log.el (find-change-log): If there is a buffer-local value of + change-log-default-name, just return it with no searching. + Previously if it was set to a nonexistent file name, we would + loop forever. + +1993-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * replace.el (query-replace-map): Bind [escape] like "\e". + + * macros.el (kbd-macro-query): Use query-replace-map to define answers. + + * vc.el (diff-switches): Define var here as well as in diff.el. + (vc-backend-diff): Handle either string or list. + + * comint.el (comint-filter): Increment opoint only if after + insertion point. + +1993-05-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * faces.el: Call internal-set-face-1, not internat-set-face-1. + + * faces.el: Don't set frame-creation-function here; term/x-win.el is + the appropriate place to set it. + + * faces.el: Only apply x-initialize-frame-faces to X frames; pass + over terminal frames. + + * faces.el: Provide 'faces. + +1993-05-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/x-win.el: Since we require faces.el, there's no point in setting + frame-creation-function to x-create-frame - just set it directly + to x-create-frame-with-faces. + +1993-05-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-do-fcc): Don't output a newline before From... + + * rmail.el (rmail-convert-to-babyl-format): Delete 1 char + if we see a newline instead of what we expect. + + * register.el (jump-to-register): Allow file name "in" a register. + + * scroll-bar.el (scroll-bar-drag, scroll-bar-drag-1): New functions. + Put scroll-bar-drag on down-mouse-2 in scroll bar. + Leave up-events on mouse-2 unbound. + + * help-macro.el: Provide help-macro, not help-screen. + * help.el: Require help-macro, not help-screen. + + * menu-bar.el: Don't add menu bar to minibuffer-only frames. + +1993-05-07 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-directory-18): New function. + If Emacs 18, make vc-directory alias to this. + +1993-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loaddefs.el: Bind M-right and M-left to forward-word, backward-word. + Unbind M-up and M-down. + + * calendar.el (calendar-mode-map): Add arrow key bindings. + + * rmail.el (rmail-resend): Add `resent' attribute. + (rmail-forward): With prefix arg, run rmail-resend. + +1993-05-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/x-win.el: (require 'faces), too. Move (require 'select) to top, + with the other requires. + +1993-05-06 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * finder.el: Bind finder-exit to 'q', not 'x'; the former is the + conventional way to get out of such a package. + (finder-summary): Use substitute-command-keys. + (finder-mode): Use \\<...> to make sure we get the right keymap. + +1993-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * replace.el (flush-lines, keep-lines, how-many): + Delete spurious `s' from prompt arg to read-from-minibuffer. + + * comint.el (comint-filter): New function. + (comint-exec): Install the filter. + + * simple.el (previous-matching-history-element): If minibuf is empty, + use the last regexp specified a the default. + (next-matching-history-element): Likewise. + + * comint.el (comint-previous-matching-input): New command, on M-r. + (comint-next-matching-input): New command, on M-s. + (comint-previous-similar-input): Commented out. + (comint-next-similar-input): Likewise. + (comint-previous-input-matching): Deleted. + (comint-last-input-match): Var commented out. + (comint-mode): Don't make comint-last-input-match local. + +1993-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (auto-mode-alist): Delete the entries for makefile-mode. + + * asm-mode.el: Doc fix. + + * man.el: Rename functions and variables `man-*' to `Man-*'. + (manual-entry): Make prompt string clearer. + + * simple.el (blink-matching-paren-distance): Change default to 12,000. + +1993-05-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (minor-mode-map-alist): Don't use it if it's void. + (vc-cancel-version): Doc fix. + (vc-backend-diff): Use diff-switches, not vc-diff-options. + (vc-diff-options): Variable deleted. + +1993-05-03 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: Update reference to the papers in S-P&E. + (calendar-print-astro-day-number): Correct spelling error in + message string. + +1993-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help.el (help-for-help): Use lower case letters for help options. + + * rect.el (string-rectangle): Renamed from fill-rectangle. + (string-rectangle-line): Renamed from fill-rectangle-line. + +1993-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-dired-prefix-map): New keymap. + Use it in minor-mode-map-alist for vc-dired-mode. + + * vc-hooks.el (vc-mode-line): Don't alter key bindings. + (vc-toggle-read-only): Put on C-x C-q unconditionally. + (vc-mode): Add permanent-local property. + +1993-04-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (find-file-noselect): On VMS, always set buffer-file-name + to the truename. + + * vc.el (vc-revert-buffer1): Fix format of compilation-error-list. + + * files.el (find-file-noselect): Do set buffer-file-name + to the truename, when find-file-visit-truename. + +1993-04-29 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * yow.el (yow): Fix interactive spec. + + * files.el (insert-directory): Undo change of March 23; + dereferencing links is inappropriate for dired. + + * edebug.el (edebug-display): Call the `mark' function with the + FORCE argument non-nil, so that we don't get an error if the mark + isn't set yet. + + * edebug.el (global-edebug-prefix, global-edebug-map): Add + autoload cookies for these, so they are present when Emacs starts + up. + + * edebug.el (global-edebug-map): Bind `C-x X d' to edebug-defun in + this map; we can't bind it to `C-x x', as the installation + instructions suggest, because that conflicts with + copy-to-register. + +1993-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * complete.el: New file. + + * vc.el (vc-match-substring): Renamed from match-substring. + (vc-parse-buffer): Use new name. + + * shell.el (shell-prompt-pattern): Undo last change. + + * files.el (file-truename): Redo esr's change. + + * loaddefs.el: Put arrow key bindings back to the ordinary Emacs cmds. + * simple.el (up-arrow, down-arrow, left-arrow, right-arrow): Deleted. + + * simple.el (kill-line, next-line-add-newlines): Doc fix. + (kill-whole-line): Doc fix. + (kill-forward-chars, kill-forward-chars): Reinsert as before. + + * simple.el: Change defalias to define-function. + +1993-04-28 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * vc.el (vc-revert-buffer1): + Ignore non-marker elts of compilation-error-list. + + * compile.el: Add compilation-minor-mode to minor-mode-alist and + minor-mode-map-alist. + (compilation-minor-mode): New defvar. + (compilation-minor-mode-map): New defvar; keymap with the bindings + from compilation-mode-map except SPC and DEL. + (compilation-mode-map): Construct this keymap to inherit from + compilation-minor-mode-map. + (compilation-setup): New function, code broken out of compilation-mode. + (compilation-mode): Call it. + (compilation-minor-mode): New function to toggle + compilation-minor-mode; if setting it, call compilation-setup. + +1993-04-28 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * bibtex.el: Installed Aaron Larson's new bibtex.el. See the + header comment for details. + +1993-04-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * gnuspost.el (gnus-inews-organization): + If ORGANIZATION is "", set it to nil. + +1993-04-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * files.el (file-truename): Undo last change. + +1993-04-27 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * files.el (file-truename): Do the right thing when $HOME = "". + + * simple.el (hscroll-step): New variable. + (hscroll-point-visible): New function. + (left-arrow, right-arrow): These use hscroll-point-visible for + better auto- scrolling behavior. + + * picture.el: Completed the package entry point's name change from + edit-picture to picture-mode. + (move-to-column-force, picture-end-of-line): When movement is + completed, scroll horizontally if necessary to make point visible. + (picture-beginning-of-line): New function. + (picture-mode-map): Use substitute-key-definition. + + * gud.el (gud-format-command): Fix %f expansion to send ondly the + basename of files to gdb. + +1993-04-27 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * disp-table.el (describe-display-table): Don't use the term + "rope"; we're using vectors of characters now. + (standard-display-8bit, standard-display-ascii): Set the element + of the display table to a vector, not an integer; the latter + doesn't mean anything. + + * mouse.el (mouse-buffer-menu): Don't right-justify the buffer + name; this doesn't look nice if we use a proportional font. + + * sendmail.el (mail-setup): Don't insert "--\n" before the + signature. If they want it, they can put it in their .signature + file. + + * lucid.el: Comment out fset of set-screen-width properly. + + * lucid.el: (provide 'lucid). + + * lucid.el: (switch-to-other-buffer): Avoid buffers whose names + start with a space. + +1993-04-26 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (find-tag-interactive): New function to read args. + (find-tag-noselect, find-tag, find-tag-other-window) + (find-tag-other-frame, find-tag-regexp): Use it. + (find-tag, find-tag-other-window): + Take new arg REGEXP-P, pass to find-tag-noselect. + (find-tag-regexp): Call either find-tag-other-window or find-tag, + rather than find-tag-noselect and switch-to-buffer[-other-window]. + (tags-location-stack): New defvar. + (find-tag-noselect): If NEXT-P is '-, pop location off + tags-location-stack. + +1993-04-26 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * cmacexp.el: Installed Francesco Potorti's enhanced and + cleaned-up version, see its commentary for details. + + * tex-mode.el: Doc fixes. Also a few teaks to pacify the + byte-compiler. + + * terminal.el: Some defvars moved. + Defvars added for many variables. + (te-stty-string): Specify the characters explicitly--not `stty dec'. + +1993-04-26 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * files.el (cd): Handle leading "~" like an absolute filename. + + * dired.el: Changed fsets to defaliases. + +1993-04-25 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * comint.el (comint-mod): Nuked. A call to ring-mod replaces it. + (comint-mem): Nuked. A call to member replaces it. + + * ring.el: Rewritten. A poor choice of representation made the + old code excessively complex. The new version is smaller and + faster. The interface is unchanged, except that ring-remove now + accepts an optional numeric argument specifying the element to + remove. + + * gud.el: Set no-byte-compile local variable t to work around a + byte-compiler bug. + (gud-def, global-map): Move C-x C-a commands to global map. Restore + original C-x SPC global binding. + + * vc.el (vc-diff): Get proper error message when you run this with + no prefix arg on an empty buffer. + (vc-directory): Better directory format --- replace the user and + group IDs with locking-user (if any). + (vc-finish-logentry, vc-next-comment, vc-previous-comment): Replace + *VC-comment-buffer* with a ring vector. + +1993-04-25 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * simple.el (down-arrow): New function. Uses + next-line-add-newlines to suppress addition of new lines at end of + buffer. + (up-arrow): Alias of previous-line, added for consistency. + These changes complete terminal-type-independent support for arrow + keys. + + * tex-mode.el (tex-compilation-parse-errors): Added. At the + moment, this would have to be applied manually. It's not worth + trying to integrate this with the rest of the mode more tightly + until we decide whether and how compile's interface is going to + change away from a closed subsystem. + + * files.el (cd): Changed to use to resolve relative cd calls. + (cd-absolute): Added. This is actually the old cd code with a + changed doc string. + (parse-colon-path): Added. Path-to-string exploder --- may be + useful elsewhere. + + * ring.el: Added and fixed documentation. + (ring-rotate): Nuked. It was (a) unused, and (b) totally broken + (as in, any attempt to use it died with a type error, and when I + patched it to fix that I found its algorithm was broken). + (ring-ref): Added doc string. + +1993-04-25 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * bytecomp.el (meta-flag): Declare this an obsolete variable. + + * subr.el (listify-key-sequence): Use a character constant to + decide which bits to flip, not an integer constant. + +1993-04-24 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * shell.el (shell-prompt-pattern): Add `;' as potential prompt + delimiter (for `es' and `rc' shells most particularly). + +1993-04-23 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * isearch.el: Replaced all fsets with defaliases. + +1993-04-23 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * bytecomp.el (define-function): Changed name back to defaliases + to get things in a known-good state. The unload patch had been + half-applied, leading to lossage. + + * register.el, gnuspost.el, find-dired.el, cust-print.el, + two-column.el, tar-mode.el, shell.el, lselect.el, select.el, + ispell.el, life.el, picture.el, rmail.el, mim-mode.el, replace.el, + tex-mode.el, frame.el, lucid.el, subr.el: + All fsets changed to defaliases. + + * edt.el: Some fsets changed to defaliases. + + * telnet.el: Commentary added. + (telnet): Doc fix. + (rsh): Added entry point for rsh to remote host, per suggestion by + Michael McNamara . No change to any other code. + + * info.el (Info-find-node, Info-insert-subfile): Do the right + thing if info files have been compressed or gzipped. This is + saving me lots of disk space. + + * simple.el: All fsets changed to defaliases. + (kill-forward-chars, kill-backward-chars): Deleted. These were + internal subroutines used by delete-char and delete-backward-char + before those functions were moved into the C kernel. Now nothing + uses them. + (kill-line): Added kill-whole-line variable. Defaults to nil; a + non-nil value causes a kill-line at the beginning of a line to + kill the newline as well as the line. I find it very convenient. + Emulates Unipress' &kill-lines-magic variable. + (next-line): Added next-line-add-newlines variable. If nil, + next-line will not insert newlines when invoked at the end of a + buffer. This obviates three LCD packages. + (left-arrow, right-arrow): New functions. These do backward-char + and forward-char first. If line truncation is on, they then scroll + left or right as necessary to make sure point is visible. + + * loaddefs.el: All fsets changes to defaliases. + (global-map): Changed bindings of [left] and [right] to left-arrow and + right-arrow respectively. + +1993-04-22 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-binary-file-name-regexp): + Match .z and .z-part-?? files. + +1993-04-21 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * makefile.el: Rewritten and simplified, commentary added. It now + will usually detect when the makefile target or macro lists need + to be rebuilt and do it automatically; in particular, this means + you no longer have to deal with an annoying wait at find-time. + +1993-04-19 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * vc.el (vc-revert-buffer1): Typo fix in last change. + + * shell.el (shell-mode): isation/ization (doc fix). + + * shell.el (shell-mode): Capitalize mode name. + + * vc.el (vc-comment-to-change-log): Restored interactive spec. + Why was it removed? Why does the only log entry mentioning this + function contain no actual information? + + * vc.el (vc-revert-buffer1): + Completely rewrote compilation reparsing code. + + * files.el (find-file-noselect): Never set SAME-TRUENAME to a + buffer whose buffer-file-name is nil. + + * files.el (set-auto-mode): If the buffer begins with "#!", look + for -*- in the first two lines, not just the first one. + +1993-04-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-do-fcc): Make a numeric time zone indicator + with current-time-zone--don't run `date'. + +1993-04-16 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile, byte-compile-keep-pending) + (byte-compile-file-form-defmumble): Generate define-function + rather than fset, to install definitions for defun, defmacro, etc. + + * loadhist.el: New file. + + * tar-mode.el: Add defvars to pacify the byte compiler, at RMS's + request. + + * diff.el (diff-parse-differences): Small robustification --- + don't lose if we call this with compilation-parsing-end nil + +1993-04-16 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * electric.el (shrink-window-if-larger-than-buffer): + Moved to window.el. + +1993-04-16 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * comint.el (comint-match-partial-pathname): Move "---" range in + character class in regular expressions to the end of the character + class; this way, it meets the POSIX regexp specs. + + * files.el (abbreviate-file-name): If abbreviated-home-dir ends + with a slash, don't remove the corresponding slash from filename + when we collapse the home directory to ~. + +1993-04-16 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * rlogin.el: Add autoload cookies for all defvars. + (rlogin-process-connection-type): New variable. + (rlogin): Use it to determine process-connection-type. + (rlogin): Set process mark to point-max, not point-min. + (rlogin-with-args): Put `+' inside \(\) pair in string-match. + (rlogin-password): Take optional arg `proc' for use by rlogin-filter. + Write docstring. Call new winning version of comint-read-noecho + instead of doing reading by hand. + (rlogin-mode): Wrote docstring. + (rlogin-filter): Completely rewritten to be more efficient. + +1993-04-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * resume.el (resume-suspend-hook): Renamed from empty-args-file. + Add autoload cookie. + (resume-emacs-args-buffer): Renamed. + (resume-write-buffer-to-file): Renamed. + + * two-column.el (tc-dissociate): Renamed from tc-kill-association. + Move binding to C-x 6 d. + +1993-04-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (update-file-autoloads, update-directory-autoloads): + If called interactively, save generated-autoload-file when done. + +1993-04-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * makefile.el (makefile-mode): Fix typo in autoload cookie. + + * isearch.el: Doc fixes. + +1993-04-14 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * gud.el (gud-mode): Created C-c synonym bindings in the GUD + buffer's local map. + + (gud-key-prefix): Changed to C-x C-a. + +1993-04-14 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * help-macro.el: Name changed from help-screen.el to fit in a + 14-character limit. + + * sun-curs.el: Name changed from sun-cursors.el to protect the + innocents. + +1993-04-14 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * finder.el: Rewritten. The Finder is now a major mode with the + ability to browse package commentary sections and a completely + point-and-shoot interface similar to Dired's. + + * window.el (shrink-window-if-larger-than-buffer): Moved from + electric.el to windows.el, minor bug fix. This is to avoid code + duplication between vc.el, electric.el, and finder.el. + + (ctl-x-map): Added C-x - and C-x + as experimental bindings for + shrink-window-if-larger-than-buffer and balance-windows + respectively. Since shrink-window-if-larger-than-buffer has to + live here anyhow, let users use it to manage screen space. + + * lisp-mnt.el (lm-commentary-region): Gone. + (lm-commentary): New function, replacing lm-commentary-region. + +1993-04-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * bytecomp.el: The `suspend-hooks' variable is obsolete now, and + `suspend-hook' is the right name. + +1993-04-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/sun-mouse.el (suspend-emacstool): Run suspend-hook, not + suspend-hooks. + +1993-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rot13.el (rot13-display-table): Use `vector', not `make-rope'. + + * disp-table.el: Use `vector', not `make-rope'. + + * rot13.el (rot13-other-window): Add autoload. + +1993-04-12 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * comint.el (comint-process-echoes): New variable. + (comint-mode): Make it buffer-local. + (comint-send-input): Delete text from process mark to point if + variable `comint-process-echoes' is non-`nil', since it is assumed + process will re-echo the text. + +1993-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * disp-table.el: Use `vector', not `make-rope'. + + * rot13.el (rot13-other-window): Add autoload. + (rot13-display-table): Use `vector', not `make-rope'. + +1993-04-10 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * gud.el (gdb, sdb, dbx): Improved prompting a la grep. + + * comint.el: Clean up cmu* uses in header comments. + +1993-04-10 Jim Blandy (jimb@mole.gnu.ai.mit.edu) + + * subr.el (overlay-start, overlay-end, overlay-buffer): New + defsubsts. + +1993-04-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * paragraphs.el (sentence-end, forward-sentence): Doc fixes. + + * finder.el (finder-by-keyword): Build an alist to pass to + completing-read, instead of building an invalid obarray. + + * finder.el (finder-by-keyword): If the user quits or enters the + empty string in response to the keyword prompt, restore the old + window configuration properly. + +1993-04-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * paragraphs.el (sentence-end, forward-sentence): Doc fixes. + +1993-04-09 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * emerge.el (emerge-with-ancestor): Applied Donald Erway's fix + patch, which included the following explanatory comment: "D.Erway + - This used to just do emerge-get-diff3-group on 2, then on + 3. This was incorrect, since the file 3 info for a diff can + preceed the file 2 info for that same diff. So we save and restore + point to overcome this." + +1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * subr.el (overlay-start, overlay-end, overlay-buffer): New + defsubsts. + + * finder.el (finder-by-keyword): Build an alist to pass to + completing-read, instead of building an invalid obarray. + + * finder.el (finder-by-keyword): If the user quits or enters the + empty string in response to the keyword prompt, restore the old + window configuration properly. + +1993-04-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): Doc fix. + +1993-04-08 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * gud.el: Massive changes, amounting nearly to a rewrite. The new + features include auto-configuring support for SVr4, more commands, + and a full minor-mode implementation that binds all GUD commands + not just in the GUD interaction mode, but in C buffers visited by + GUD. The common prefix of GUD commands is now C-x X, like + electric-debug mode. + + * vc-hooks.el (vc-mode): name change. This looks better in keymap + listings and conforms to the naming conventions used by other + packages. + + * vc.el (vc-directory. vc-start-entry, vc-next-action, + vc-next-action-on-file): The vc-directory listing is now in an + augmented Dired mode that supports vc-next-action on all marked + files. + + * dired.el (dired-noselect, dired-internal-noselect, + dired-insert-directory): Enhancements to support passing dired a + DIRNAME argument consisting of a directory-name car and a + list-of-files cdr. This is needed to support VC's augmented + dired, which wants a filtered file display that recurses (showing + all version-controlled files in subdirectories as well as the + top-level ones). + + * menu-bar.el: Added and corrected library headers. + +1993-04-08 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * menu-bar.el: entered into RCS + + * lucid.el: Add copyright notice. + +1993-04-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compile-internal): Initialize the process-mark. + + * compile.el (compilation-error-regexp-alist): + Tighten first regexp so that it + requires a colon or open-paren before the line number, not just + whitespace. + + * compile.el (compilation-parse-errors): Remove debugging setq. + + * compile.el (compilation-filter): New function. + (compile-internal): Make it the process's filter. + + * compile.el (compilation-error-regexp-alist): + Fixed MIPS CC regexp to match file + names longer than one char. + (compilation-parse-errors): Error if compilation-error-regexp-alist is nil. + +1993-04-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el: New file. + + * fill.el (fill-nonuniform-paragraphs): New command. + +1993-04-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compile-internal): Initialize the process-mark. + +1993-04-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Tighten first + regexp so that it requires a colon or open-paren before the line + number, not just whitespace. + +1993-04-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (find-file-noselect): + Verify other buffers' file numbers are still valid. + +1993-04-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-filter): New function. + (compile-internal): Make it the process's filter. + + * compile.el (compilation-error-regexp-alist): Fixed MIPS CC + regexp to match file names longer than one char. + (compilation-parse-errors): Error if + compilation-error-regexp-alist is nil. + +1993-04-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tabify.el (untabify): Don't really change where restriction starts. + +1993-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-pop-to-buffer): Adjust count-lines val for last line. + +1993-04-05 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * add-log.el (find-change-log): New function. + (add-change-log-entry): FILE-NAME frobnicating code moved there; + call it. + * vc.el (vc-comment-to-change-log): + Renamed from vc-comment-to-changelog. + Take optional arg and pass it to find-change-log. + Added docstring and interactive spec. + +1993-04-05 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): + Merged HP-UX 7.0 fc regexp with the + GNU format regexp: just allowing blanks to terminate the line number + makes that one handle the HP case. Merged MIPS RISC CC regexp with + Apollo cc regexp: make "s optional, and don't anchor to bol. + + * compile.el (compilation-error-regexp-alist): + Changed MIPS RISC CC regexp (last one) to + be anchored at bol, and to never match multiple lines. + +1993-04-03 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * man.el, assoc.el: Installed Barry Warsaw's new and much more + featureful man page browser. + + * finder.el, help-screen.el, faces.el: Added or corrected + documentation headers + +1993-04-03 Noah Friedman (friedman@geech.gnu.ai.mit.edu) + + * comint.el: New comint-read-noecho. + +1993-04-02 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * chistory.el (repeat-history-command): Bug fix. Someone forgot a car. + +1993-04-02 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * mpuz.el (mpuz-try-letter): Use read-char to read digit. + Use message directly also. Use downcase. + (mpuz-read-map): Deleted. + + * dired.el (dired-unmark-all-files): Read the arg as just a char. + +1993-04-01 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * lisp-mode.el (eval-defun): Rename argument to avoid collision. + (eval-last-sexp): Likewise. + +1993-03-31 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (etags-tags-completion-table): Rewritten with a mondo + regexp. + +1993-03-31 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * timer.el (timer-program): New defconst. + (run-at-time): Use timer-program as the name of the program the + subprocess should run, and search for it in exec-directory, rather + than checking the entire exec path. + +1993-03-31 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * simple.el (indent-for-comment): Use skip-syntax-backward in place of + skip-chars-backward. + Correctly set INDENT to the return value of comment-indent-function. + + * etags.el (etags-tags-completion-table): Use skip-syntax-backward + instead of skip-chars-backward. + + * view.el (view-exit): Use local map view-old-local-map, + not (current-local-map). + (view-buffer-other-window): Remove spurious backslashes from + interactive spec. + + * map-ynp.el (map-y-or-n-p): Make bindings of user-defined keys be + each a vector containing the user's binding, rather than 'user. Check + (vectorp DEF) and call the vector's elt, rather than checking (eq 'user + DEF) and calling something completely random. + + * novice.el (enable-command): Remove spurious assignment of free + variable `foo'. + + * help.el (describe-function): For Lisp functions, write a + prototype call before the docstring, instead of an argument + description after it. + +1993-03-30 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * files.el (find-backup-file-name): Delete nothing if overflow + in number of versions to keep. + +1993-03-30 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * subr.el (int-to-string): Make this an alias for the subr + number-to-string. + +1993-03-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch.el (isearch-mode-map): Delete the binding for C-h. + (isearch-done): Customize the message about mark. + +1993-03-30 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * comint.el (comint-read-noecho): Rewritten to provide some simple + editing ability and be able to abort when called from a process + filter. Re-arranged and updated docstring. + +1993-03-30 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * ring.el: Changed summary line. + +1993-03-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el: New file. + +1993-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail): Don't use mbox as inbox by default. + + * simple.el (count-lines): Use save-match-data. + + * buff-menu.el: Put back removed years in copyright notice. + +1993-03-29 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * vc.el (vc-next-action, vc-print-log, vc-diff, vc-revert-buffer): + Improved logic for parent buffer finding. + + (vc-cancel-version): bug fix. + +1993-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mailabbrev.el: Provide mailabbrev, not mail-abbrevs. + +1993-03-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fill.el (fill-individual-paragraphs): When skipping mail headers, + skip to a blank line. + + * env.el (setenv): Renamed back from putenv. + + * replace.el (regexp-history): New history list. + (occur, flush-lines, keep-lines, how-many): Use it. + (occur): Don't insert previous string in minibuffer gratuitously. + Just use it if input is empty. + Use save-match-data around count-lines. + +1993-03-28 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * setenv.el: Renamed to env.el. Provide `env', not `setenv'. + (setenv): Renamed to `putenv', which is the more proper complement + of `getenv'. `setenv' retained as an alias. + Make VALUE parameter optional; if not set, remove VARIABLE from + process-environment. + + * rlogin.el (rlogin): If given a prefix argument and an rlogin + session for HOST is already running, start a new rlogin process + rather than switching to the existing one. Added docstring. + Bound `proc' in let*. + (rlogin-explicit-args, rlogin-password-paranoia): New variables. + (rlogin-filter): Prompt for passwords in minibuffer if + rlogin-password-paranoia is set. + (rlogin-with-args, rlogin-password): New functions. + +1993-03-28 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * vc.el (vc-comment-to-changelog): A useful vc-checkin hook, added. + (vc-checkout): Now rejects attempts to check out files via FTP. + + * vc.el: The `derived buffers' in the mode (the VC log buffer, + status buffers, and most buffer output commands) now know which + file buffer was their parent, and most commands will try to find + such a parent buffer when executed from within a special buffer. + + * makefile.el: Added autoload cookie for entry point. + + * files.el (auto-mode-alist): added pairs for .ms, .man, .mk, + [Mm]akefile, .lex. + + * electric.el: (shrink-window-if-larger-than-buffer) Added doc + string. Made argument optional, because window-buffer does the + right thing with nil. + + * ebuff-menu.el (electric-buffer-menu-mode-map): fillarray isn't a + valid operation on maps any more. + +1993-03-27 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * refer.el: Installed. + +1993-03-27 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * lucid.el (try-face-font, find-face, get-face): New aliases. + +1993-03-27 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * abbrevlist.el, old-inf-lisp.el, old-screen.el old-shell.el, + oshell.el: Removed. + +1993-03-27 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * rlogin.el: Updated copyright year and added autoload cookies. + (rlogin): Set process marker to beginning of buffer. + (rlogin-filter): Use unwind-protect to restore match-data. Use + insert-before-markers instead of insert to keep input and output + from getting garbled. Delete spurious ?\C-m chars in output + instead of replacing them with ?\ . + +1993-03-27 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * case-table.el: Add autoloads. + (set-case-syntax-delims, set-case-syntax-pair, set-case-syntax): + Rename arg STRING to TABLE. Do not set the standard case table. + +1993-03-26 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * loaddefs.el: Commented out function-key-error definition and + uses in the global keymaps. RMS and jimb objected to the amount + of space these took up in the keybinding listings. + +1993-03-27 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * lpr.el (printify-buffer): Added, debugged from Roland McGrath's + printify-buffer code in LCD. + + * cookie.el (cookie): Enhanced it to handle both LINS files and + UNIX fortune files. + + * rect.el (fill-rectangle): Added. Inspired by Lynn Slater's + insert-box package in LCD, but the interface and implementation + are different. + + * loaddefs.el (ctl-x-map): Added binding for fill-rectangle. + + * buff-menu.el (Buffer-menu-toggle-read-only): Added, per Rob + Austein's suggestion in the LCD package bm-toggle.el. + + * subr.el (add-hook): Added optional arg to cause hook to be + appended rather than prepended to the hook list. This obviates + the 23 different hook-bashing packages in LCD. + + * subr.el (current-word): Added. Lots of help and default-generator + functions in LCD use it, and it's remarkably difficult to get + right, especially given the new syntax primitives. + +1993-03-26 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * files.el (local-write-file-hooks): New variable. + (set-visited-file-name): Kill local-write-file-hooks as local var. + (basic-save-buffer): Use local-write-file-hooks. + +1993-03-26 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * files.el (local-write-file-hooks): New variable. + (set-visited-file-name): Kill local-write-file-hooks as local var. + (basic-save-buffer): Use local-write-file-hooks. + +1993-03-26 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * yow.el (psychoanalyze-pinhead): Needed a prefrontal lobotomy. I + gave it one. + + * two-column.el: Added Commentary. + +1993-03-25 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * help.el (describe-function): Add blank line above doc string. + + * uncompress.el: Add provide call. + +1993-03-25 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * lisp-mnt.el (lm-last-modified-date): Fixed return bug. + + (lm-author, lm-maintainer): These now return cons pairs, not strings. + + * shell.el: Brent Benson's patch to support `cd -'. + + * mh-e.el (mh-unshar): Added. + + * emacsbug.el: Added a (provide 'emacsbug); lisp-mnt.el needs this. + +1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * term/x-win.el (x-defined-colors): Use x-color-defined-p instead of + x-defined-color. + (x-handle-geometry): Use x-parse-geometry instead of x-geometry. + +1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * calendar.el (calendar-standard-time-zone-name, + calendar-daylight-time-zone-name): Initialize these at load-time, + as well as calendar-time-zone. + + * calendar.el (calendar-time-zone): Fix code which initializes + this. + +1993-03-24 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * term/x-win.el: Bind M-next to an alias scroll-other-window-1 + to get better doc string output. + +1993-03-23 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * compile.el: Fix library headers. + +1993-03-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * files.el (insert-directory): Do chase symlinks before passing + the directory name to ls. + +1993-03-23 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * buff-menu.el: Incorporated changes from Bob Weiner's enhanced + buff-menu from the LCD archive. + +1993-03-23 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * replace.el (query-replace-map): Define backspace like delete. + +1993-03-22 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * cookie.el: Created. This file contains what was formerly the + guts of spook.el, lightly hacked to support more than one + simultaneous cookie database. + + * spook.el, yow.el: Modified to use cookie.el. Total code in + the three files cookie.el, yow.el and spook.el is less than the + old spook.el + yow.el. + + * time.el, timer.el, uncompress.el, underline.el, view.el, vip.el, + xscheme.el: Added or corrected Commentary section. This finishes + my pass over the lisp libraries; I'll teach the finder about + these commentary sections soon. + +1993-03-22 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * term/x-win.el (x-win-suspend-error): + suspend-hook renamed from suspend-hooks. + +1993-03-22 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * help.el, register.el, replace.el, reposition.el, rfc822.el, + rlogin.el, rot13.el, scribe.el, scroll-bar.el, sendmail.el, + setenv.el, sgml-mode.el, simple.el, simula.el, sort.el, spell.el, + spook.el, studly.el, tabify.el, text-mode.el: Added or corrected + Commentary headers. + +1993-03-22 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * diary-insert.el: Change the name to diary-ins.el. + * calendar.el: Change all autoload references to diary-ins. + +1993-03-22 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * help.el: Don't load help-screen at run time if compiled. + +1993-03-22 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * man.el, mlconvert.el, mlsupport.el, modula2.el, mouse.el, + mpuz.el, netunam.el, novice.el, nroff-mode.el, options.el, + outline.el, page.el, paragraphs.el, picture.el, prolog.el, + rect.el: Added or corrected Commentary sections. + +1993-03-22 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * abbrev.el, ada.el, add-log.el, array.el, autoinsert.el, + autoload.el, awk-mode.el, bib-mode.el, bibtex.el, buff-menu.el, + bytecomp.el, c++-mode.el, c-mode.el, cl-indent.el, cmacexp.el, + cmulisp.el, cmuscheme.el, comint.el, compare-w.el, compile.el, + debug.el, diff.el, dired-aux.el, dired.el, disass.el, + dissociate.el, doctor.el, ebuff-menu.el, edebug.el, ehelp.el, + emacsbug.el, emerge.el, files.el, fill.el, fortran.el, gosmacs.el, + hanoi.el, hexl.el, hideif.el, icon.el, indent.el, iso-insert.el, + iso-swed.el, iso-syntax.el, iso8859-1.el, ispell.el, kermit.el, + ledit.el, life.el, lisp-mode.el, lisp.el, lpr.el, macros.el, + mail-utils.el, mailalias.el, makefile.el, makesum.el, mim-mode.el, + modula2.el, nroff-mode.el, perl-mode.el, prolog.el, scheme.el, + sgml-mode.el, tex-mode.el: + Added or corrected Commentary sections. There's more of this + coming; soon, the package finder will be able to browse Commentary + sections, and I want almost all packages to have useful ones. + +1993-03-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help.el: Don't load help-screen at run time if compiled. + + * simple.el (line-number-mode): New function and variable. + + * loaddefs.el (default-mode-line-format-default): Use %l. + +1993-03-21 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * time.el (display-time): Doc fix. + + * isearch.el (isearch-switch-frame-handler): Call + handle-switch-frame instead of select-frame; it has been renamed. + + * simple.el (comment-indent-function): New variable, intended to + replace comment-indent-hook. + (comment-indent-hook): Make this default to nil now. + (indent-for-comment): If comment-indent-hook is non-nil, call it + for backward compatibility; otherwise, call + comment-indent-function. + * bytecomp.el: Declare comment-indent-hook an obsolete variable. + +1993-03-20 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * time.el (display-time): Doc fix. + + * lucid.el: Alias lower-screen and raise-screen to lower-frame and + raise-frame, the new names for those functions. + +1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * bush.el: Deleted. + + * finder.el: Make sure that when new keywords are compiled, we see them + immediately. + +1993-03-19 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * tex-mode.el (tex-send-command): Fix the command sent so that no + blank is inserted when replacing the asterisk with the file name. + +1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * vt100-led.el, bg-mouse.el, sup-mouse.el, sun-mouse.el: + moved to term directory. + +1993-03-18 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * Makefile: created. This exists mainly so developers elsewhere + can unlock the lisp files to accept an update tar, then relock + them without locking the few that should stay writeable. + + * solar.el, ange-ftp.el: Corrected Keywords header + + * ftp.el: Nuked (actually, moved to =ftp.el). + ange-ftp.el replaces this. + +1993-03-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * solar.el (solar-time-string): Round the time properly. + +1993-03-18 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * abbrev.el, abbrevlist.el, add-log.el, apropos.el, array.el, + autoload.el, awk-mode.el, cal-french.el, cal-mayan.el, + calendar.el, cmulisp.el, cmuscheme.el, comint.el, compile.el, + completion.el, cust-print.el, dabbrev.el, debug.el, diary.el, + diff.el, disass.el, edebug.el, edmacro.el, emacsbug.el, finder.el, + inf-lisp.el, ispell.el, life.el, lisp.el, lunar.el, macros.el, + netunam.el, old-shell.el, scribe.el, spell.el, sun-cursors.el, + terminal.el, unrmail.el, vms-pmail.el: + Add or correct Keywords headers for finder. + +1993-03-18 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * frame.el (make-frame): Renamed from new-frame. + (new-frame): Alias for make-frame. + +1993-03-18 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * frame.el (make-frame): Renamed from new-frame. + (new-frame): Alias for make-frame. + +1993-03-18 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * tex-mode.el (tex-send-command): Fix the command sent so that no + blank is inserted when replacing the asterisk with the file name. + +1993-03-18 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * term/wyse50.el: (function-key-map) Nuke code no longer bound to keys. + + * term/tvi970.el: (function-key-map) + As many key cookies as possible renamed to fit the new conventions + documented in lisp/term/README. + + * term/vt100.el, term/news.el: (function-key-map) + Fix things so that bindings are added to the keymap already created by + terminal initialization. + +1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * help-screen.el: Installed, following release. Now package + writers can easily implement help screens resembling Emacs's + own on-line help system. + + * help.el: help-for-help now uses make-help-screen from help-screen.el. + +1993-03-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * finder-inf.el: Deleted the RCS file. + +1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * isearch.el, lselect.el, select.el, scroll-bar.el, texinfo.el, + pending-del.el, profile.el, texinfmt.el, ls-lisp.el, meese.el, + isearch.el, tmenu.el, lmenu.el, rmailsum.el, unrmail.el, + hippie.el, lmenu.el, rmailmsc.el, rlogin.el, mhspool.el, + lisp-mode.el, novice.el, mouse.el, vms-pmail.el, vc-hooks.el, + levents.el, iso8859-1.el, isearch.el, hippie.el, find-gc.el, + cust-print.el, find-dired.el, etags.el, electric.el, dired.el, + dired-aux.el, cust-print.el, cmuscheme.el, cmulisp.el, cl.el, + case-table.el, byte-run.el, ange-ftp.el, backquote.el: + Added or corrected library header comments. + +1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * finder.el (finder-compile-keywords): Treat nil in a path + argument as $PWD. + + (finder-by-keyword): Handle LFD as input gracefully. + +1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * vc-hooks.el: Increment version number to match vc.el's. + + * vc.el (vc-header-strings): Name changed to vc-header-alist, to match + the docs. + + (vc-finish-logentry, vc-next-comment, vc-previous-comment, + vc-comment-search-forward, vc-comment-search-backward) The VC comment + ring is now a separate buffer from *VC-log*; editing of old comments + is no longer destructive. + +1993-03-16 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-version-diff): Use (message ...), not (message (format + ...)). (vc-backend-checkout, vc-backend-assign-name): Correct + bogus messages. + + * vc-hooks.el: Merge today's change by eric with everybody else's + change (from 1992/08/04 through 1993/02/24). + +1993-03-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-from-buffer): Put buffer containing + compiled code in binary overwrite mode. + + * simple.el (quoted-insert): In overwrite mode, don't read digits + as an octal character code. In binary overwrite mode, overwrite + the characters instead of inserting them. + (overwrite-mode-textual, overwrite-mode-binary): New symbols, for + use in the mode line. + (overwrite-mode): Doc fix. Use force-mode-line-update. + (binary-overwrite-mode): New function. + * loaddefs.el (minor-mode-alist): Make the mode line element for + overwrite-mode be the symbol `overwrite-mode'. + +1993-03-16 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * vc.el, vc-hooks.el: the macro vc-error-occurred has to move from + vc.el to vc-hooks.el for C-x C-f of a nonexistent file to work. + +1993-03-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * calendar.el (calendar-time-zone): Initialize this when + calendar.el loads, not in the defvar. + +1993-03-15 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * register.el (view-register): Neglect not to avoid failing to + properly display all the possible sorts of things one might find + in a buffer. + + Make frame configurations start with a distinctive symbol. + * frame.el (current-frame-configuration): Return a list as before, + but starting with `frame-configuration'. + (set-frame-configuration): Check that CONFIGURATION is a list + starting with `frame-configuration', strip it off, and do as before. + (frame-configuration-p): New function. + * register.el (jump-to-register): Use frame-configuration-p, + instead of catching an error in set-frame-configuration. Really now. + + * indent.el (indent-region, indent-region-function): Doc fix. + + * indent.el (indent-line-function): Doc fix. + +1993-03-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * sort.el (sort-float-fields, sort-numeric-fields): Use + string-to-number, not string-to-float or string-to-int. + + * sort.el (sort-float-fields): Make this autoloaded. + + * sort.el (sort-numeric-fields): Doc fix. + +1993-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lselect.el, select.el: New files. + + * term/x-win.el: Require select.el. + (x-select-text): Update call to x-set-cut-buffer. + Put `PRIMARY' and `CLIPBOARD' in upper case. + (x-cut-buffer-or-selection-value): Put `PRIMARY' in upper case. + + * lucid.el, lmenu.el, levents.el: New files. + Much of lmenu.el comes from Lucid. + +1993-03-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailsum.el (rmail-summary-next-msg): Call display-buffer. + (rmail-summary-previous-all, rmail-summary-next-all): Likewise. + (rmail-summary-rmail-update): Do nothing if rmail buffer not visible. + (rmail-summary-mode-map): Don't bind C-n, C-p. Use ordinary move cmds. + +1993-03-12 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * term/x-win.el: Added library headers. + +1993-03-12 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * loaddefs.el (global-map): Fixed a typo in the binding of + [kp-backtab]. + + * term/x-win.el: Added library headers back in. Didn't touch + any key bindings or code, and won't without making sure there + won't be any repeat of the bad-patch brouhaha. + +1993-03-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el: Cancel previous change, since it discarded + earlier necessary changes. + +1993-03-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el: Cancel previous change, since it discarded + earlier necessary changes. + +1993-03-11 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * term/vt100.el: + Added headers, commented out code the duplicates startup effects. + + * term/x-win.el: Added headers, removed function bindings. + + * term/wyse50.el: Added headers, changed some keycap names. + + * term/tvi970.el: Added headers, changes some keycap names. + + * term/sun.el: Added headers, removed function-key bindings. + + * term/news.el: Added headers, changed a few cookie names. + + * term/keyswap.el: Initial revision + +1993-03-11 Jim Blandy (jimb@mole.gnu.ai.mit.edu) + + * term/x-win.el: Disable suspending under X windows by setting + suspend-hooks, not suspend-hook. The latter is an obsolete name. + Use add-hook instead of setting suspend-hooks directly. + +1993-03-11 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + A boatload of changes to terminal support and terminal capability + initialization that make it a lot smarter, with a more uniform + and featureful interface across many different keyboard types. + + * term.c (fkey_table): has been expanded to handle the entire + intersection of the capability sets defined by X keysyms and + terminfo. That is, every keysym for which there is a natural + equivalent in terminfo is now bound to that by the startup code. + + * loaddefs.el (global-map): Natural default keybindings set up for + almost all supported keysyms other than function keys. All + other keysyms are now default-bound to a function which explains + that the key is not bound to anything, then raises an error. + + * term/READ.ME: terminal package conventions and standard keysym + cookies are now documented here. + + * term/AT386.el: new package installed. Handles IBM-AT style + console keyboards with style and flair. + + * term/new-at386.el: removed, it was obsolescent. + + * term/apollo.el: nuked and linked to vt100.el. All it formerly + did was load vt100.el. + + * term/bobcat.el: copied and linked to `keyswap.el'. + + * term/keyswap.el: the old bobcat.el with headers and docs. This + is available for other terminal packages to call. + + * term/news.el: cleaned up, headers added. + + * term/sun.el: headers added, [again] changed to [redo]. This + package is a hairball and should probably be scrapped if we + can find or built abetter one. + + * term/tvi970.el: headers added, [enter] changed to [kp-enter]. + + * term/vt100.el: headers added, cleanup, explicit function-key + enable is no longer necessary. + + * term/vt200.el: nuked. It's now a link to vt100.el. This is possible + because all the things handled differently on the vt200 are + mined out of termcap by 19's initialization before either + package is loaded. + + * term/wyse50.el: cleaned up, headers added, various cookie names + changed, function bindings removed. + + * term/x-win.el: cleaned up, headers added. Some bindings of keycap + cookies to functions were removed; all that stuff is handled + terminal-independently in loaddefs now. + + Other changes: + + * help.el: added binding and menu line for new `P' package-finder + command. Won't actually take effect till the next Emacs build. + + * vc.el (vc-backend-checkin): Fixed bizarre POM-dependent bug + introduced into VC by a bad patch. This was one for the + books....badly corrupted vc-checkin code somehow mostly functioned + for three days. The Code That Would Not Die... + +1993-03-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (command-line-1): Fix copyright year. + +1993-03-10 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * diary-insert.el (insert-anniversary-diary-entry, + insert-block-diary-entry): Fix calendar-date-display-form used. + +1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * files.el (basic-save-buffer): If file-precious-flag is set, and + we write the buffer to a temp file and then rename it, don't + neglect to set the new file's modes properly. + +1993-03-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (function-key-map): + Map key symbols backspace, return... into ASCII chars. + Likewise their Meta versions. + Also add `ascii-character' properties. + +1993-03-09 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * term/at386.el: Removed. The new terminal initialization stuff + makes it superfluous. I wrote it, so I should know. :-) + + * vc.el: Installed version 5, the new baseline. This version + merges my changes with Paul Eggert's. + +1993-03-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * timer.el (run-at-time): Allow an integer as TIME. + (cancel-timer): New function. + + * c-mode.el (c-beginning-of-statement): If next to a comment, + use sentence motion. + + * map-ynp.el (map-y-or-n-p): Use query-replace-map. + + * replace.el (query-replace-map): New keymap. + (perform-replace): Use query-replace-map. + (query-replace, query-replace-regexp, map-query-replace-regexp): + (replace-string, replace-regexp): Don't print `done' if unread chars. + + * help.el (command-apropos): Print echo area message iff found symbols. + + * rmailsum.el (rmail-update-summary): New function. + (rmail-new-summary): New arg redo-form. Considerable rewrite + of how and when buffers are selected. + (rmail-summary-mode): New local vars rmail-summary-redo, + revert-buffer-function, post-command-hook, rmail-current-message. + (rmail-summary-expunge): Use rmail-update-summary. + (rmail-summary-get-new-mail): Likewise. + (rmail-summary-expunge-and-save): Likewise. + (rmail-summary-input): Don't update summary at all. + (rmail-summary-reply): Do the work inside save-window-excursion, + then switch to the mail buffer. + (rmail-summary-retry-failure): Likewise. + (rmail-summary-edit-current-message): Delete spurious autoload. + (rmail-summary-summary): Function deleted. + Use plain rmail-summary on h and C-M-h. + (rmail-summary-rmail-update): New function. + + * rmail.el (rmail-delete-forward): Go to summary buf to change D mark. + Always do the motion in the rmail buffer; let that handle summary. + (rmail-undelete-previous-message): Likewise. + (rmail-select-summary): New macro. + (rmail-show-message): Use rmail-select-summary. + (rmail-get-new-mail): Likewise. + (rmail-expunge): Likewise. + + * pending-del.el: New file. + +1993-03-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (posn-timestamp, posn-col-row, posn-point, posn-window): + (event-end, event-start, mouse-movement-p): Moved from mouse.el. + * mouse.el: Functions moved to subr.el. + +1993-03-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (event-basic-type): New function. + + * isearch.el: Renamed from isearch-mode.el. + + * isearch-mode.el (isearch-other-meta-char): Call listify-key-sequence. + (isearch-unread): Don't call it here. + (isearch-mode-map): Bind the ASCII-equivalent function keys. + +1993-03-07 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-update-change-log): Check that ChangeLog is writable + before starting the expensive rcs2log process. + Use call-process instead of shell-command to invoke rcs2log; + this avoids undesired shell escapes and is more robust about errors. + Put mark at point-min, so that the new insertion is in the region. + (vc-checkin-hook): Fix `runs-hooks' typo. + (vc-checkout-writeable-buffer-hook): New var. + (vc-next-action): Fix bug: initial checkin was botched when C-x v v + was applied to a new file while vc-initial-comment was non-nil. + (vc-register): Don't barf when registering a new, empty buffer. + (vc-directory): The `No files are currently registered' + message was wrongly worded, because sometimes the message talks + about locked files, not registered files. + (vc-file-tree-walk): Change (apply 'funcall ...) to (apply + ...), since the 'funcall is redundant. + When traversing a directory tree, message + "Traversing directory XXX" so that the user can see what progress is + being made. Traversal can take a long time. Omit first argument, + since it is always the current directory. All callers changed. + (vc-file-tree-walk-internal): New function. + (vc-do-command, vc-diff, vc-version-diff, vc-backend-diff): + Remove redundant calls to `format'. + (vc-diff): Remove unused variable `old'. + (vc-version-diff): When recursively generating a difference + listing, don't append the latest output unless diff was actually run; + otherwise, you'll get the output from the previous file by mistake. + +1993-03-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (function-key-map): + Map key symbols backspace, return... into ASCII chars. + +1993-03-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-mode): Don't make a pre-command-hook. + + * vc.el (vc-revert-buffer1): Use mark-marker; don't alter mark-active. + + * subr.el (event-modifiers): New function. + (eventp): New function. + +1993-03-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-unread): Find last list element by hand. + + * info.el (Info-forward-node): Properly go to first menu item. + (Info-insert-dir): Bind temp wider, around use. + + * term/x-win.el (function-key-map): + Map key symbols backspace, return... into ASCII chars. + Likewise their Meta versions. + Also add `ascii-character' properties. + + * simple.el (set-mark): Activate the mark. + (mark): Handle region-active. New optional arg FORCE. + (exchange-point-and-mark, push_mark): Pass FORCE. + (set-mark-command): Likewise. + + * terminal.el (te-escape-extended-command-unread): Handle any key seq. + + * emerge.el (emerge-show-file-name): Handle any kind of event. + + * fortran.el (fortran-abbrev-start): Handle any kind of event. + (fortran-window-create-momentarily): Likewise. + + * ehelp.el (electric-help-command-loop): Handle any kind of event. + + * ebuff-menu.el (electric-buffer-list): Handle any kind of event. + (Electric-buffer-menu-exit): Handle any key sequence. + + * info.el (Info-summary): Handle any event + when flushing the display. + + * simula.el (simula-electric-label): Handle any event + when flushing the display. + + * subr.el (momentary-string-display): Handle any event + when flushing the display. + + * comint.el (comint-dynamic-list-completions): Handle any event + when flushing the display. + + * subr.el (listify-key-sequence): New function. + * simple.el (prefix-arg-internal): Use listify-key-sequence. + + * isearch-mode.el (isearch-unread): Handle multiple args. + For Emacs 19, use listify-key-sequence. + If not Emacs 19, assume they are a meta sequence. + (isearch-other-meta-char): Pass the whole key sequence. + (isearch-other-control-char): Make this alias for ...-meta-char. + + * rmail.el (rmail-bury): Record Rmail buffer to bury it later. + +1993-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * disp-table.el: Add autoload comments. + (rope-to-vector): Deleted. + (describe-display-table): Don't use rope-to-vector. + + * compare-w.el (compare-windows): Use compare-buffer-substrings. + +1993-03-05 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/x-win.el: Disable suspending under X windows by setting + suspend-hooks, not suspend-hook. The latter is an obsolete name. + Use add-hook instead of setting suspend-hooks directly. + + * bytecomp.el: Declare suspend-hook to be an obsolete variable. + +1993-03-05 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (hebrew-calendar-yahrzeit): Change reference to + nonexistent function last-month-of-hebrew-year to the correct + function hebrew-calendar-last-month-of-year. + + * cal-mayan.el (calendar-mayan-haab-on-or-before, + calendar-mayan-tzolkin-on-or-before): Change `mod' to `%'. + + * cal-mayan.el (calendar-next-tzolkin-date): Delete bogus second + defun. + +1993-03-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * simple.el (kill-ring-save): Doc fix. + + * sun-mouse.el (suspend-emacstool): Run suspend-hooks, not + suspend-hook. + + * resume.el: Doc fix. + + * simple.el (yank, yank-pop): Always return nil; don't rely on + exchange-point-and-mark to return nil. + * fill.el (justify-current-line): Return nil, to be sure to + conform with documentation. + +1993-03-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (write-file): Handle directory name as arg. + + * rmail.el: Major changes from Bob Weiner + Handle some Emacs 18 function names to run in 18. + This is to facilitate working with Weiner. + (rmail-reply-prefix): New variable. + (rmail-reply): Use that variable to add to subject. + (rmail-retry-failure): Change binding to M-m. + (rmail-forward): Look for >From as well as for From. + Handle case where neither is found. + (rmail-last-regexp): New variable. + (rmail-mode): Make rmail-last-regexp local. + (rmail): Don't update rmail-mode data for old buffer + if it's not in rmail mode. + Error if in Rmail Edit mode. + (rmail-bury): New command, plus key binding. + (rmail-summary-by-topic): New key binding. + (rmail-insert-inbox-text): Check for pop case earlier. + (rmail-convert-to-babyl-format): Handle Content-Length field. + (rmail-maybe-display-summary): New function. + (rmail-redisplay-summary): New user option. + (rmail-undelete-previous-message, rmail-delete-forward): + (rmail-get-new-mail, rmail-show-message): Update summary buffer if any. + Call rmail-maybe-display-summary to put it back on screen. + (rmail-only-expunge): Renamed from rmail-expunge. + (rmail-expunge): New function. + (rmail-message-recipients-p, rmail-message-regexp-p): New functions. + (rmail-summary-exists, rmail-summary-displayed): New functions. + +1993-03-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cl.el (defsetf): Use eval-and-compile for self-update-fn. + + * add-log.el (add-change-log-entry): Never move past second hdr line. + +1993-03-02 Jim Blandy (jimb@mole.gnu.ai.mit.edu) + + * term/x-win.el (x-switch-definitions): Use the proper names for + the scroll bar parameters. + + Use the term `scroll bar', instead of `scrollbar'. + * term/x-win.el, frame.el, mouse.el: Terminology changed. + * scrollbar.el: Renamed to scroll-bar.el. + + * term/x-win.el: Require `scroll-bar', not `scrollbar'. + +1993-03-02 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * frame.el (new-frame): Doc fix. + + * info.el (Info-directory-list): Doc fix; it is set according to + INFOPATH, not INFODIR. + + * info.el (Info-find-node): Don't try to set the info buffer's + directory according to Info-directory; that variable doesn't exist + any more. Instead, let Info-insert-dir set the current directory. + (Info-insert-dir): Properly check for upper- and lower-case forms + of "dir", with and without ".info" extension. Set the buffer's + default-directory to the directory containing the first dir file + we find, and cache it in Info-dir-contents-directory. + (Info-dir-contents-directory): New variable, to cache the + directory we decided to use as the merged directory's + default-directory. + + * term/x-win.el (x-switch-definitions): Use the proper names for + the scroll bar parameters. + +1993-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el: Doc fixes. + (set-pointer-color): Renamed to set-mouse-color. + (set-border-color): New function. + + * info.el (Info-insert-dir): Make menu items in Top node + pointing each of the other nodes. + + * rmail.el (rmail-get-new-mail): Reset read-only after find-file. + +1993-03-01 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * simple.el (kill-region): If the buffer is read-only, call + `barf-if-buffer-read-only' instead of just `ding', to get the + appropriate error condition and message. + + * hexl.el (hexl-mode-map): When initializing, remember that the + argument to key-binding is a key sequence, not a single key. + + * mouse.el (mouse-split-window-vertically): If the user clicks too + close to the top or bottom of a window, split at the closest + reasonable line. Give a helpful error message if the window is + too small to be split anywhere. + (mouse-split-window-horizontally): Similar changes. + +1993-02-28 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * simple.el (insert-buffer): Make sure this returns nil. + + * simple.el (quoted-insert): Use insert-char, instead of writing + out the loop. + + * etags.el (find-tag-other-window): If another window is already + displaying the tag's buffer, explicitly set that window's point to + the tag's position. + + Use the term `scroll bar', instead of `scrollbar'. + * term/x-win.el, frame.el, mouse.el: Terminology changed. + * scrollbar.el: Renamed to scroll-bar.el. + +1993-02-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (auto-raise-mode): Renamed from toggle-auto-raise. + (auto-lower-mode): Renamed from toggle-auto-lower. + +1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * timer.el (run-at-time): Doc fix. + + * autoload.el (generate-file-autoloads): Add another + save-excursion so that point is before the generated autoloads + after we scan the file. + +1993-02-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): Find end of first paragraph + from after the header line. + + * subr.el (walk-windows): Doc fix. + + * register.el (point-to-register): Make arg ARG optional. + (window-configuration-to-register): Likewise. + (frame-configuration-to-register): Likewise. + +1993-02-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * term/x-win.el (scroll-bar-mode, scroll-bar-mode): Move these + functions to scrolbar.el. + * scrollbar.el (scroll-bar-mode, scroll-bar-mode): Here they are. + Make scroll-bar-mode set the {vertical,horizontal}-scrollbars + parameters in default-frame-alist, and modify all extant screens + using the correct parameter names. + +1993-02-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc-hooks.el (vc-find-file-hook): Discard vc status of file + if we will actually have to create the buffer. + +1993-02-22 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * gud.el (gud-break): With a prefix argument, set a temporary + breakpoint. + (gud-apply-from-source): New argument ARGS, to pass to FUNC. Now + it's really like `apply'. + (gud-set-break): Add another argument to this method. + Document it in the section describing how the methods are supposed + to be used. + (gud-gdb-set-break): New argument TEMP; if non-nil, set a + temporary breakpoint. + (gud-sdb-set-break, gud-dbx-set-break): New argument TEMP. Ignore + it, since I don't know how to set a temporary breakpoint in these + debuggers. + + * subr.el (string-to-int): Make this an alias for + string-to-number. + +1993-02-21 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * two-column.el: Add autoloads for the functions defined in + tc-mode-map. + +1993-02-21 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * info.el (Info-insert-dir): New function. + (Info-find-node): Use Info-insert-dir to visit dir file. + + * mlsupport.el (esc-map, ctl-x-map): Define as functions. + +1993-02-20 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * apropos.el (super-apropos-check-doc-file): + Look for DOC file in proper directory. + + * files.el (insert-directory): Doc fix. + +1993-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help.el (describe-function): + Print the arglist if the function is bytecode or a list. + +1993-02-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * files.el (revert-buffer): Reverse the sense of the first + argument, but leave interactive usage the same. + * vc.el (vc-resynch-window): Call vc-revert-buffer1 with the newly + appropriate arguments. This seems to be the only file which was + adjusted for the new meaning of the revert-buffer arguments. + +1993-02-17 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): + If no buffer was visiting FILE when we started, + kill the buffer we create. + +1993-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-backward-regexp): + New arg no-recursive-edit, always non-nil for interactive call. + Rename first arg, and set it right in interactive call. + (isearch-forward-regexp): Likewise. + (isearch-forward, isearch-backward): Likewise no-recursive-edit. + +1993-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (frame-initialize): Fix error syntax. + (toggle-horizontal-scroll-bar): Likewise. + (toggle-horizontal-scroll-bar): Renamed from set-horizontal-bar + (toggle-vertical-scroll-bar): Likewise. + (toggle-auto-lower, toggle-auto-raise): Likewise. + (set-foreground-color, set-background-color): + Renamed from set-frame-{fore,back}ground. + +1993-02-15 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * informat.el (Info-tagify): Change the regular expression which + recognizes node names to work properly with Emacs 19's regexp + semantics. + +1993-02-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (find-file-hooks): Delete permanent-local property. + (find-file-not-found-hooks): Likewise. + + * bytecomp.el (byte-compile-lambda): + Test of byte-compile-compatibility was backwards. + +1993-02-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * gosmacs.el: Bind M-h to delete-previous-word, not + backward-kill-word; the latter has different prefix semantics. + + * frame.el: Clean up initialization code. + (initial-frame-alist): Doc fix. + (minibuffer-frame-alist): New default value, with a reasonable height. + (filtered-frame-list, minibuffer-frame-list): New functions. + (frame-initialize): Use minibuffer-frame-list, instead of writing + it out. + (frame-notice-user-settings): Thoroughly rearranged. + Notice changes to default-frame-alist as well as initial-frame-alist. + Properly handle requests to make the initial frame into a + minibufferless or minibuffer-only frame. + Create a minibuffer-only frame if the initial frame should lack a + minibuffer and there are no other minibuffer frames created by the + user's initialization file. + Fix any frames using the initial frame as a surrogate minibuffer + frame. + Restore the current buffer after creating and deleting all these + frames. + + * frame.el (set-default-font, set-frame-background, + set-frame-foreground, set-cursor-color, set-pointer-color, + set-auto-raise, set-auto-lower, set-vertical-bar, + set-horizontal-bar): Give these docstrings. + (set-auto-raise, set-auto-lower, set-vertical-bar, + set-horizontal-bar): Make these toggle or look at the prefix + argument, like minor modes. + + * frame.el (set-vertical-bar): Use the proper parameter symbol. + (set-horizontal-bar): Signal an error indicating that horizontal + scrollbars are not implemented. + + * lisp-mode.el (lisp-fill-paragraph): New function. + (shared-lisp-mode-map): Bind M-q to lisp-fill-paragraph. + +1993-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * flow-ctrl.el (enable-flow-control...): Renamed from evade... + (enable-flow-control): Add autoload. + +1993-02-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gosmacs.el (set-gosmacs-bindings): Fix binding of \eh. + +1993-02-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * gosmacs.el: Require 'mlsupport, to get definition of + backward-kill-word. + +1993-02-10 Stephen A. Wood (saw@cebaf.gov) + + * fortran.el (fortran-prepare-abbrev-list-buffer): Put quote in + front of first argument to `insert-abbrev-table-description'. + + * fortran.el (fortran-is-in-string-p): Fixed incorrect behaviour + when in first statement of a buffer. + +1993-02-08 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): Undo Jan 25 change. It worked + for buffers in indented-text-mode, but lost for change-log-mode, + which is what matters. + +1993-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-forget-errors): Just set + compilation-directory-stack to nil; no need to loop through it. + (next-error): For a non-numeric prefix arg, pass nil for + compile-reinitialize-errors's FIND-AT-LEAST arg. + (next-error): When getting marker for error source location, be + sure to examine buffer local value of compilation-old-error-list + before switching to source file buffer. + +1993-02-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * rmailout.el (rmail-output, rmail-output-to-mail-file): Reverse + the order of the arguments and make COUNT optional, for backward + compatibility's sake. + + * cl.el (cl-version): Mark as no longer in beta test. + +1993-02-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * subr.el (mod): Add back this alias for %. + +1993-02-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sort.el (sort-build-lists): Record the key as pair of positions; + don't copy string from buffer. + (sort-subr): Use compare-buffer-substrings. + +1993-02-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-setup): Use fill-region-as-paragraph + for To field; handle the CC just like the To. + + * rmailsum.el: Big rewrite from weiner@pts.mot.com. + +1993-02-05 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * comint.el (make-comint): Added docstring. + +1993-02-05 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * simple.el: Restore nuked information in minibuffer history bindings. + Use intelligent method of disabling completion-oriented bindings. + +1993-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el: Once again, go back to ordinary next-history-element + for M-n in minibuf, even for completion. + +1993-02-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sort.el (sort-subr): Doc fixes. + + * sendmail.el (mail-do-fcc): Allow dash in timezone name. + +1993-02-01 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * texinfo.el (texinfo-mode): Make page-delimiter buffer-local, and + set it according to texinfo-chapter-level-regexp. + + * simple.el (kill-region): If the buffer is read-only, do beep, + but also put the region in the kill ring. Doc fix. + +1993-01-31 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * mailabbrev.el (mail-abbrev-end-of-buffer): + Changed interactive spec from "P" to "p". + +1993-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cmacexp.el (c-macro-expand): Use expanded name to write or delete. + Send two eofs. + +1993-01-28 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * simple.el (next-complete-history-element): Restore point after + replacing the buffer text with the appropriate history element. + +1993-01-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el: Don't use the completion-oriented history commands. + * paths.el (sendmail-program): Try /usr/ucblib/sendmail. + +1993-01-26 Jim Blandy (jimb@mole.gnu.ai.mit.edu) + + * term/x-win.el: x-selection-value has been renamed to x-selection. + x-own-selection has been renamed to x-set-selection, and the order + of its arguments has been reversed, for consistency with other + lisp functions like put and aset. + * term/x-win.el (x-select-text): Adjusted. + (x-cut-buffer-or-selection-value): Check the primary selection, + using x-selection, instead of checking the cut buffer again. + + * term/x-win.el: Doc fix. + +1993-01-25 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * frame.el (frame-notice-user-settings): Use new name + frame-live-p, instead of live-frame-p. + + x-selection-value has been renamed to x-selection. + x-own-selection has been renamed to x-set-selection, and the order + of its arguments has been reversed, for consistency with other + lisp functions like put and aset. + * term/x-win.el (x-select-text): Adjusted. + (x-cut-buffer-or-selection-value): Check the primary selection, + using x-selection, instead of checking the cut buffer again. + + * disass.el (disassemble): Add autoload cookie for this. + * bytecomp.el (byte-decompile-bytecode): Add an autoload for this. + + compiled-function-p has been renamed to byte-code-function-p. + * subr.el: Define compiled-function-p as an alias for it. + * bytecomp.el: Register compiled-function-p as obsolete. + * bytecomp.el, byte-opt.el, disass.el, help.el, map-ynp.el: Change + uses. + + * subr.el (numberp): Remove fset which made this an alias for + integerp; now numberp also recognizes floats. + +1993-01-25 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (tags-query-replace): C-t. + + * add-log.el (add-change-log-entry): Restrict PARAGRAPH-END to + being on the first page. + + * simple.el (next-complete-history-element): Use only buffer + contents before point to match history elements. + +1993-01-25 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * simple.el ({next,previous}-complete-history-element): New functions. + Bind them to M-n/M-p and next/prior in minibuffer completion maps. + +1993-01-24 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + unread-command-event has been replaced by unread-command-events. + * simple.el (prefix-arg-internal): Use this to push back all + key sequences for processing by the main command loop, instead of + trying to simulate its behavior ourselves. + * bytecomp.el: Document unread-command-event as an obsolete + variable, although nothing but the GNU Emacs 19 sources use it. + Adjust obsolescence message for unread-command-char. + * comint.el (comint-dynamic-list-completions): Change uses of + unread-command-event to work with unread-command-events. + * ebuff-menu.el (electric-buffer-list, Electric-buffer-menu-exit): + Same. + * edebug.el (edebug-outside-excursion): Same. + * ehelp.el (electric-help-command-loop): Same. + * electric.el (Electric-command-loop): Same. + * emerge.el (emerge-show-file-name): Same. + * fortran.el (fortran-abbrev-start, + fortran-window-create-momentarily): Same. + * gnus.el (gnus-Subject-next-article): Same. + * info.el (Info-summary): Same. + * isearch-mode.el (isearch-update, isearch-unread): Same. + * map-ynp.el (map-y-or-n-p): Same. + * mlsupport.el (push-back-character): Same. + * replace.el (perform-replace): Same. + * simula.el (simula-electric-label): Same. + * subr.el (read-quoted-char, momentary-string-display): Same. + * sun-mouse.el (mouse-second-hit): Same. + * terminal.el (te-escape-extended-command-unread): Same. + * vip.el (vip-escape-to-emacs, vip-prefix-arg-value, + vip-prefix-arg-com): Same. + + * simple.el (quoted-insert): Doc fix. + +1993-01-23 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * mouse.el (mouse-save-then-kill): Instead of deleting the text + whenever the text of the region happens to be the same as the + front of the kill-ring, delete it only when the front of the kill + ring is identical to the last text we put there, and point and the + mouse click are at the same position. + + * mouse.el (mouse-save-then-kill): If the undo list is disabled, + don't build an undo record. + + * mouse.el (mouse-save-then-kill): If we're deleting the text, + kill from point to the mouse click, not from point to mark; mark + and the mouse click may not be the same. If they're not, this + screws up the undo record we create, corrupting the undo list + pretty nastily. + +1993-01-22 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/x-win.el: Doc fix. + + * mouse.el (mouse-set-font): Account for the fact that + x-popup-menu returns nil if no selection is made. + + * mouse.el (mouse-buffer-menu, mouse-set-font): Bind these to the + down-going events. + (mouse-split-window-vertically): Move the binding for this down + out of the commented-out scrollbar section, so it is on S-mouse-2 + on the mode line. + +1993-01-21 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * c-mode.el (c-fill-paragraph): Fix the regular expressions used + for finding paragraph beginnings and endings so that they think + lines containing only whitespace and asterisks are paragraph + separators/starters. + + * add-log.el (add-change-log-entry): If we've just started a new + date, limit the searches to within the current date, not the first + paragraph; the latter extends into the previous date. + +1993-01-21 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (tags-loop-scan): Set default value to an error form. + + * etags.el (visit-tags-table-buffer): When propagating a change of + name after file-find-noselect, refer to tags-file-name, not the + undefined var FILE. + +1993-01-20 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * c-mode.el (c-fill-paragraph): When modifying the + paragraph-separate regexp, don't let it match paragraph starts. + +1993-01-19 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): + Error if called with 'same and no current table. + +1993-01-19 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * mouse.el (event-end): Work on click events, too. + (mouse-split-window-vertically): Use event-end and + posn-col-row, instead of mouse-coords, which is obsolete. + + * mouse.el: Comment out the scrollbar commands until we make them work. + + * mouse.el: Comment out jla's experimental things. What are these + doing in the distribution source anyway? + + * mouse.el: Bind the help menu to C-down-mouse-2, instead of + C-mouse-2; this way, you can use the mouse-up event to make the + menu selection. + (help-apropos-map, help-keys-map, help-manual-map, help-misc-map, + help-modes-map, help-admin-map): Give the menu names for these + keymaps using make-sparse-keymap's optional argument, rather than + constructing them by hand. + + * scrollbar.el: (require 'mouse) + (scrollbar-set-window-start, scrollbar-scroll-down, + scrollbar-scroll-up): Use event-end, from mouse.el. + +1993-01-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * x-mouse.el: Deleted; it was the interface to the Emacs 18-style + mouse interface, which doesn't exist anymore. + +1993-01-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * c-mode.el (c-switch-label-regexp): New constant. + (electric-c-terminator, c-indent-line, indent-c-exp): Use it to + correctly recognize default labels in switch statements. + +1993-01-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * shell.el (shell): Doc fix. + +1993-01-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * files.el (switch-to-buffer-other-frame): Pass t to pop-to-buffer. + +1993-01-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * scrollbar.el: New file. + * term/x-win.el: Require 'scrollbar. + +1993-01-13 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * solar.el (solar-time-string): Round the time properly. + +1993-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-save-then-kill): When deleting, avoid delay + and don't set the mark. Replace obsolete fn event-point. + (mouse-kill): Replace obsolete fn event-point. + +1993-01-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * page-ext.el (next-page): Correctly handle negative page count. + +1993-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (kill-append): Doc fix. + +1993-01-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * frame.el (frame-notice-user-settings): Don't try to delete the + initial frame if the user took care of that. + +1993-01-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (mail-unsent-separator): Add `-- begin message --'. + + * dired.el (dired-regexp-history): New history list. + (dired-read-regexp): Use that history list. Take just one arg. + * dired-aux.el (dired-mark-read-regexp): Give dired-read-regexp 1 arg. + +1993-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * upd-copyr.el (update-copyright): Doc fix. + +1993-01-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): Search for existing ChangeLog + in parent dir and its parents. + +1993-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * timer.el (run-at-time): Use a pipe to talk to the timer process. + +1993-01-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * simple.el (set-goal-column): Make this disabled by default. + +1993-01-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-send): + Don't clear modified or delete autosave if visiting a file. + +1993-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * hippie.el: New file. + +1993-01-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * apropos.el (apropos-match-keys): Handle non-chars as keys. + +1993-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * compile.el (compilation-sentinel): Change buffer-read-only with let. + +1992-12-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-buffer-menu): Select the window clicked on. + +1992-12-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): + Notice when ENTRY is equal to FILE-NAME, + not the hard-wired string "ChangeLog". + Added missing regexp-quote's in same-day entry search. + Search only in the first paragraph for a similar entry to add to. + +1992-12-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (abbreviated-home-dir): New variable. + (abbreviate-file-name): Properly convert abbreviated homedir to ~. + +1992-12-24 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): + When picking a table and using tags-table-list, + skip over nonexistent files in the list. + + * etags.el (etags-verify-tags-table): + Use eq instead of = in case char-after returns nil. + +1992-12-21 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): + Don't look in list for tags-file-name if nil. + + * etags.el: Many comments added and docstrings fixed. + (tags-table-list): Elt of nil is not special. + (tags-expand-table-name): Value of nil is not special. + (tags-next-table): Removed arg RESET; no caller used it. + (visit-tags-table-buffer): Don't need to do tags-expand-table-name + in or form. When table is invalid, only set tags-file-name to nil + globally if its global value contained the losing table file name. + (find-tag-tag): Return a string, not a list. + (find-tag-noselect, find-tag, find-tag-other-window, + find-tag-other-frame): Changed callers. + (etags-recognize-tags-table): Call etags-verify-tags-table, rather than + duplicating its functionality. + (visit-tags-table-buffer): When CONT is 'same, set it to nil after the + cond. We want the normal list frobbing to take place in this case. + (find-tag-other-window): Save and restore window-point around call to + find-tag-noselect. + +1992-12-21 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * subr.el (ignore): + Use defun instead of fset to define; the byte compiler is smart + enough now not to compile this trivial function into slow byte code. + +1992-12-21 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * c-mode.el (c-fill-paragraph): Calculating the proper fill-prefix + shouldn't change the buffer text. Make it not. If we're in the + blank space before another comment, fill that one as a comment, + not as normal text. + +1992-12-20 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * simple.el (kill-region): Change interactive spec to signal an + error if the buffer is read-only, and remove the code to do a + copy-region-as-kill if the buffer is read-only. + +1992-12-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loadup.el: Display load-path at start. + +1992-12-19 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * sendmail.el (mail-position-on-field): `end' is guaranteed to be + at the beginning of the header separator; don't skip back to the + end of the previous line. + + * loadup.el: Dump under the name `emacs', not `xemacs'. + + * compile.el (compilation-error-regexp-alist): Tightened up + BSD/GNU regexp to insist that line number end with a colon or + close-paren. + +1992-12-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * rmail.el (rmail-unix-mail-delimiter): Not all time zone names + end with "T". Accept any sequence of three or four alphabetic + characters. + + * simple.el (set-mark-command): Clarify doc string. + + * simple.el (prefix-arg-internal): Don't apply string-to-char to + get the first element of the key sequence - it might be a vector. + +1992-12-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * c-mode.el (c-fill-paragraph): When guessing the fill prefix, + don't ever grab any actual text. + +1992-12-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * compile.el (compilation-error-regexp-alist): Add regexp for the + MIPS CC distributed with Ultrix. + +1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * paths.el (Info-default-directory-list): The info files are + supposed to be in /usr/local/info these days. Add it to the list + of directories to search. + +1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * vc.el (vc-do-command): Set the default directory of the *vc* + buffer to the directory containing FILE. + +1992-12-09 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * info.el (Info-{first,second,third,fourth,fifth}-menu-item): Removed. + (Info-nth-menu-item): New function; bound to 1..9. + +1992-12-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + The find-file-name-handler function in ../src/fileio.c is now + callable from lisp; use it instead of writing out its code. + * dired-aux.el (dired-compress-file): Just that. + * dired.el (dired-uncache): Just that. + * files.el (file-local-copy, file-truename, + file-name-sans-versions, make-directory, save-buffers-kill-emacs): + Just that. + * ls-lisp.el (insert-directory): Just that. + + * ange-ftp.el (ange-ftp-unhandled-file-name-directory): New + function. Set ange-ftp's `unhandled-file-name-property' to its + name. + +1992-12-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * lpr.el (lpr-switches, lpr-command): Make these defvars, not + defconsts. + +1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * c-mode.el (c-fill-paragraph): When trying to make sure that the + comment ender isn't on its own line, don't signal an error if + there is no comment ender. + +1992-12-03 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * sendmail.el (mail-self-blind, mail-interactive, + mail-yank-ignored-headers): Make these defvars, not defconsts. + Otherwise, they wipe out the user's customizations when we + autoload sendmail.el. + +1992-12-01 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * hanoi.el (hanoi): If pole-spacing is odd, round down, not up. + To see if the window is wide enough, just check if one half of a + ring will fit inside pole-spacing. + +1992-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): + Expand file-name again after chasing links. + +1992-11-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-next-action): Undo previous change. + +1992-11-19 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * vc.el (vc-next-action): Pass t as NOQUERY argument to + vc-resynch-window here too. This means that all uses of + vc-resynch-window pass t; I'm going to wait until I understand the + situation better before I rip out the NOQUERY argument + altogether. + + * vc.el (vc-revert-buffer1): Try to preserve the position of mark + as well as point. + (vc-position-context, vc-find-position-by-context): New functions + to help with that, made out of the old innards of vc-revert-buffer1. + +1992-11-18 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * fortran.el: New version of version 1.30 (!) from Stephen A. Wood + + +1992-11-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * fortran.el: New version (1.30) from "Stephen A. Wood" + + + * subr.el (lambda): Doc fix. + +1992-11-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * simple.el (comment-column): Doc fix. + +1992-11-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * paths.el (rmail-spool-directory): Add dgux-unix to the list of + systems which put their mail in "/usr/mail". + + * lpr.el (lpr-command, lpr-switches): Removed strings starting + with \newline; this file is loaded in loaddefs.el, and doesn't + need to follow that convention. + + * lpr.el (lpr-command): Add dgux-unix to the list of systems which + want "lp". + +1992-11-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * bytecomp.el: Declare unread-command-char an obsolete variable. + * vip.el (vip-escape-to-emacs, vip-prefix-arg-value, + vip-prefix-arg-com): Use unread-command-event instead of + unread-command-char; respect its new semantics. + * simula.el (simula-electric-label): Same. + * comint.el (comint-dynamic-list-completions): Same. + * ebuff-menu.el (electric-buffer-list, Electric-buffer-menu-exit): + Same. + * ehelp.el (electric-help-command-loop): Same. + * electric.el (Electric-command-loop): Same. + * emerge.el (emerge-show-file-name): Same. + * fortran.el (fortran-abbrev-start, fortran-window-create-momentarily): + Same. + * gnus.el (gnus-Subject-next-article): Same. + * info.el (Info-summary): Same. + * isearch-mode.el (isearch-update, isearch-unread): Same. + * map-ynp.el (map-y-or-n-p): Same. + * mlsupport.el (push-back-character): Same. + * replace.el (perform-replace): Same. + * simple.el (prefix-arg-internal): Same. + * subr.el (read-quoted-char, momentary-string-display): Same. + * sun-mouse.el (mouse-second-hit): Same. + * terminal.el (te-escape-extended-command-unread): Same. + + * emerge.el (emerge-file-names): Use `temp-buffer-show-function', + not `temp-buffer-show-hook'. + (emerge-combine-versions-edit): Fix misarranged cond expression; + the t is an `else' clause, not a function call in the preceeding + clause. + + * simula.el (simula-calculate-indent): Call backward-word with the + appropriate argument. + + * vip.el (vip-delete-char, vip-delete-backward-char, ex-delete): + Don't pass nil as a fourth argument to vip-append-to-register; it + takes only three. + (vip-mark-point, ex-mark): Pass required second argument to + point-to-register. + + * bytecomp.el: (require 'backquote). + + * subr.el (lambda): Don't use backquotes in lambda's definition. + + * disass.el (byte-compile): Specify that the 'byte-compile feature + is provided in the file "bytecomp". + +1992-11-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ange-ftp.el (ange-ftp-repaint-buffer): Give this a non-hacky + definition using (message nil). + (ange-ftp-read-passwd, ange-ftp-process-filter): Uncomment out the + calls to ange-ftp-repaint-buffer. + +1992-11-11 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * c-mode.el (c-style-alist): Add quotes around C++ style name. + +1992-11-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * rect.el (operate-on-rectangle): Use move-to-column's FORCE + argument instead of implementing it ourselves. + (rectangle-coerce-tab): No longer used; deleted. + + * rect.el (open-rectangle): Leave point at the upper corner of the + rectangle just opened, in imitation of open-line. Fix doc typo. + (open-rectangle-line): Use skip-chars-backward's LIM argument to + leave spaces before the line segment's beginning undisturbed. + + * rect.el: Provide 'rect. + +1992-11-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-cancel-version): Use yes-or-no-p. + +1992-11-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (after-init-hook): Doc fix. + +1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * isearch.el (isearch-frames-exist): This isn't what we want - + replaced by... + (isearch-gnu-emacs-events): non-nil if should expect events in the + style generated by GNU Emacs 19. Set if set-frame-height is + fboundp; this is true on any GNU Emacs 19, whether or not it was + compiled with multiple frame support. + (isearch-mode-map): Test isearch-gnu-emacs-events instead of + isearch-frames-exist to see if we should bind switch-frame events. + (isearch-update): Test isearch-gnu-emacs-events instead of + isearch-frames-exist to see if unread-command-char's quiescent + value is nil or -1. + + * simple.el (previous-line): Doc fix. + +1992-11-05 Stephen A. Wood (saw@cebaf.gov) + + * fortran.el version 1.28.8 + (fortran-indent-to-column): Make turning of lines that begin with + `fortran-continuation-string' into properly formated continuation + lines work for fortran TAB mode. + + * fortran.el version 1.28.7a + Cleaned up some doc strings. + + (fortran-abbrev-help, fortran-prepare-abbrev-list-buffer): Use + `insert-abbrev-table-description' and make buffer in abbrevs-mode. + + * fortran.el version 1.28.7 + Many changes since version 1.28.3. Added auto-fill-mode, support + for some Fortran 90 statements. Adjust comments to conform to new + gnu conventions. + + (fortran-mode): Fix `comment-line-start-skip' by changing \\1 to + \\2 and include cpp statements in matching. Changes for auto fill. + + (fortran-auto-fill-mode, fortran-do-auto-fill, + fortran-break-line): New functions to implement auto fill. + + (fortran-indent-line, fortran-reindent-then-newline-and-indent): + Added auto fill support. + + (find-comment-start-skip, is-in-fortran-string-p): New functions. + + (fortran-electric-line-number): Works better in overwrite mode. + + (fortran-indent-comment, fortran-indent-line, + fortran-indent-to-column): Use find-comment-start-skip instead of + searching for `comment-start-skip'. + + (fortran-mode, calculate-fortran-indent): Added indentation + for fortran 90 statements. + + (fortran-next-statement, fortran-previous-statement): Bug fixes. + + (fortran-mode, calculate-fortran-indent, + fortran-setup-tab-format-style, fortran-setup-fixed-format-style): + `fortran-comment-line-column' meaning changed. Now defaults to 0. + +1992-11-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el: (command-switch-alist, x-switch-definitions): + -ib was used for two things. Use -itype for icon type. + +1992-11-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (command-switch-alist, x-switch-definitions): + -ib was used for two things. Use -itype for icon type. + +1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/x-win.el: Moved functions to support selections and cut + buffers out from amidst the X initialization code. + + * simple.el (kill-line): Don't shift point before doing the + delete. + + * startup.el (normal-top-level): Don't worry about setting + default-directory to PWD if PWD is shorter. And, if PWD isn't + accurate, delete it. + +1992-11-03 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * compile.el (compile-internal): Use NAME-OF-MODE in the prompt + when offering to kill an existing process. + + * autoload.el (make-autoload): When creating an autoload + invocation for a macro, pass (list 'quote 'macro) as the sixth + argument, not just t. autoload's sixth argument is now a type + instead of just a boolean value, so we should use a value which + reflects that. + + * cl.el: New version - 3.0 - from Cesar Quiroz. + + * etags.el (find-tag-noselect): Doc fix. + +1992-11-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rect.el (insert-rectangle): Put mark at upper left corner. + + * dired-aux.el (dired-mark-confirm): For `compress', + say `Compress or uncompress'. + (dired-map-over-marks-check): Likewise. + +1992-11-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-search): Handle all sorts of errors + from regexp search. + +1992-10-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (make-directory): Renamed from make-directory-path. + Optional argument says whether to create parent dirs. + Invoke file-name handler here. + (after-find-file): Delete code that offers to create dir. + Instead, just print a message. + + * bytecomp.el (byte-compile-lambda): + Don't compile the interactive spec if it is a call to `list'. + +1992-10-30 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ange-ftp.el: Tighten the regular expression used in + file-name-handler-alist to recognized ange-ftp filenames; the + slash, username and hostname must be at the start of the filename, + not just anywhere in the filename. + +1992-10-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tabify.el: Doc fix. + +1992-10-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-admin): Pass t as noquery arg to vc-resynch-window. + + * paths.el (manual-program): Always use /usr/ucb/man if that exists. + +1992-10-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fortran.el (fortran-tab-mode): Add defvar. + (fortran-analyze-file-format): Bind i. + (fortran-tab-mode-string): Add defvar. + (fortran-tab-mode): Use `arg' as variable, not as function. + (fortran-prepare-abbrev-list-buffer): New function. + (fortran-abbrev-help): Call that. + (fortran-window-create): Use screen-width, not frame-width. + + * info.el: Rename buffer-flush-undo to buffer-disable-undo. + (Info-goto-emacs-key-command-node): Fix typo. + (Info-menu-item-sequence): Commented out. + (Info-follow-nearest-node): Use new event format. + Select the window clicked on. + + * vc.el (vc-log-file, vc-log-version): Declared. + + * simple.el (shell-command-on-region): + Use region-beginning and region-end, in interactive spec. + +1992-10-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-edit-string): + Bind cursor-in-echo-area only around read-char/allocate-event. + +1992-10-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc-hooks.el (vc-prefix-map): Put vc-diff on = and vc-directory on d. + + * vc.el (vc-resynch-window): New arg NOQUERY. + Pass it to vc-revert-buffer1. + (vc-checkout, vc-finish-logentry, vc-revert-buffer, vc-finish-steal): + Supply t as NOQUERY arg for vc-resynch-window. + (vc-next-action): + Don't revert workfile from master if buffer is modified. + +1992-10-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (set-visited-file-name): Change the auto save file name. + + * macros.el (insert-kbd-macro): Replace nonprinting chars with escapes. + If arg is empty, use last macro as default. + + * sendmail.el (mail-aliases): Doc fix. + + * help.el (describe-function): Print `an autoloaded', not `a ...'. + + * simple.el (goal-column): Don't put the defvar inside the + make-variable-buffer-local. + +1992-10-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-chown-program): + Treat silicon-graphics-unix like usg-unix-v. + + * rmail.el (rmail-mode-map): Delete binding of M-r (use global one). + + * lpr.el (lpr-command): + Treat hpux and silicon-graphics-unix like usg-unix-v. + + * rmailout.el (rmail-output-to-rmail-file): Call abbreviate-file-name. + + * files.el: Doc fixes. + +1992-10-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (comment-region): Do move to next line, in neg arg case. + + * isearch-mode.el (isearch-mode-map): Make the top-level keymap dense. + Explicitly bind control characters at that level. + + * files.el (file-truename): Check for root by seeing if + directory-file-name returns same as DIR. + Look for a file-truename handler for the file name. + * vc-hooks (vc-registered): Look for a vc-registered handler. + But only if file-name-handler-alist is bound. + * ange-ftp.el: Add dummy handlers for file-truename and vc-registered. + (ange-ftp-add-vms-host, ange-ftp-add-dl-dir, ange-ftp-add-mts-host): + (ange-ftp-add-dumb-unix-host): + Use default-directory, not dired-directory. + (ange-ftp-allow-child-lookup): Eliminate dired-local-variables-file. + + * mailalias.el (mail-aliases): Add definition here. + +1992-10-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): Add condition-case around + the body, so at worst we return nil. + +1992-10-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paragraphs.el (kill-sentence, backward-kill-sentence): + (kill-paragraph, backward-kill-paragraph): + Don't change point before calling kill-region. + + * sendmail.el (mail-setup): + Call build-mail-aliases, not mail-abbrev-setup. + (sendmail-send-it): Call expand-mail-aliases. + + * mailalias.el: Doc fixes. + + * mailabbrev.el: Delete version 18 compatibility stuff. + (mail-abbrevs, build-mail-abbrevs, rebuild-mail-abbrevs): + (merge-mail-abbrevs): Renamed `mail-aliases' to `mail-abbrevs'. + (mail-abbrev-end-of-buffer): Renamed from abbrev-hacking-end-of-buffer. + (mail-abbrev-next-line): Renamed from abbrev-hacking-next-line. + + * isearch-mode.el (isearch-mode-map): Use sparse keymaps. + Start printing-char loop at SPC. + + * rmailsort.el (rmail-sort-messages): + Give up right away if not Rmail mode. + +1992-10-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * replace.el (occur): Always search entire buffer. + +1992-10-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * mouse.el (mouse-tear-off-window): New function. + +1992-10-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-set-region): New command. Bind drag-mouse-1 to it. + +1992-10-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * telnet.el (telnet): Wait for telnet output before sending `open'. + +1992-10-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * files.el (file-truename): The variable ~ should be considered an + absolute pathname; handle it correctly. Concatenate the directory + onto the filename in the correct order. + +1992-10-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-mode-map): Bind t in top-level map + and in the submap for meta keys. Don't bind the individual chars. + +1992-10-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): When trying to pick table, call + tags-expand-table-name on alternatives that might be nil. + (tags-table-files): Don't call visit-tags-table-buffer; assume we + are there. + +1992-10-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * picture.el (edit-picture): Run picture-mode-hook. + +1992-10-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * dired-aux.el (dired-compress-file): Change references to + `from-file' to use `file'; the former only works because + dired-compress-file is only called by dired-compress, which binds + from-file. + + * rmail.el (rmail-mode): Make this autoload; we might find a file + whose first line local variables want to put it in RMAIL mode; + that ought to work. + +1992-10-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-last-input-match): defvar moved up. + + * files.el (buffer-file-number): New variable. + (find-file-noselect): Record the file's filenum and devnum. + Notify if any buffer has the same values. + (basic-save-buffer): Save new filenum and devnum. + For file-precious-flag, pass real name as VISIT arg of write-region. + (set-visited-file-name): Likewise. + Clear buffer-file-{number,truename} if now visiting no file. + +1992-10-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (mail-unsent-separator): Handle "Message text follows". + + * files.el (hack-one-local-variables): New subroutine. + (hack-local-variables-prop-line): New function. + (hack-local-variables): Use them both. + (ignored-local-variables): New variable. + + * files.el (file-truename): New function. + (find-file-noselect): Look for buffer with same truename. + Warn about it; optionally find it. Set buffer-file-truename. + (set-visited-file-name): Set buffer-file-truename. + (buffer-file-truename): New var, permanent local in all buffers. + (find-file-visit-truename, find-file-compare-truenames): New options. + +1992-10-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (mail-unsent-separator): Allow "original message" as + alternative. Allow extra dashes and spaces. + (rmail-retry-failure): Ignore case while searching for unsent sep. + + * add-log.el (add-log-current-defun): In normal C case, + start with beginning-of-line. + In last (fallback) case, start with end-of-line. + (add-log-current-defun-header-regexp): In first alternative + within the parens, don't allow space as last character. + + * cust-print.el (custom-prin1-chars): + Var defined, and renamed from prin1-chars. + (circle-tree, circle-table): Define vars. + (cust-print-vector, cust-print-list): Rename level to circle-level. + (cust-print-top-level): Likewise. + (circle-level): Var defined. + + * cmuscheme.el (inferior-scheme-filter-regexp): + Move definition of this var up before first use. + (scheme-buffer): Define variable. + + * cmulisp.el (cmulisp-mode): Eliminate compatibility code calling + lisp-mode-variables with no arg. + (cmulisp-mode-map): Use shared-lisp-mode-map as tail. + (cmulisp-args-to-list): Fix typo in recursive call. + (cmulisp-buffer): Define variable. + + * files.el (hack-local-variables): Ignore attempts to bind + enable-local-eval. + +1992-10-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cust-print.el: CP:: changed to cust-print- in all names. + Lots of doc fixes. + +1992-10-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): Catch errors checking for DEFUN. + +1992-10-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-steal-lock): Use mail-setup, and do like `mail'. + Supply vc-finish-steal as an action on sending. + (vc-finish-steal): Delete the code to send the message. + (vc-backend-steal): Put filename after options in rcs commands. + Delete the workfile after the rcs -M -u. + +1992-10-05 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * rmail.el (rmail-first-unseen-message): Don't show the message, + just return its number, if there was an unseen message. + (rmail): Check for unseen messages before calling + rmail-get-new-mail. After getting the new mail, call + rmail-show-message to show the pre-existing unseen message, or if + that is nil, the current message, which rmail-get-new-mail sets to + the first new message. + +1992-10-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-ring-advance-edit): Delete spurious `)'. + + * info.el (Info-restore-point): Delete duplicate definition. + +1992-10-05 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * vc.el (vc-backend-checkin): + Change buffers to get local value of vc-checkin-switches. + + * vc.el (vc-backend-checkin): + Use apply on vc-do-command: vc-checkin-switches is a + list. + +1992-10-05 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * vc.el (vc-checkin-switches): New defvar. + (vc-backend-checkin): Pass vc-checkin-switches to prog. + +1992-10-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ls-lisp.el (insert-directory): Renamed from dired-ls. + All other functions renamed to start with ls-lisp. + + * ls-lisp.el: New file from Kremer. + +1992-10-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fill.el (fill-paragraph): Don't actually change point before + calling fill-region-as-paragraph. + (fill-region-as-paragraph): Save point on undo list at start. + +1992-10-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (insert-buffer): Before reading arg, barf if read-only. + +1992-10-03 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * mouse.el: Begin adapting this to the new event format. + (event-window, event-point, mouse-coords, mouse-timestamp): + Removed. + (event-start, event-end, posn-window, posn-point, posn-col-row, + posn-timestamp): New accessors; these are defsubsts. + (mouse-delete-window, mouse-delete-other-windows, + mouse-split-window-vertically, mouse-set-point): Rewritten to use + the new accessors. + + * mouse.el: Remove hack of binding down-mouse-1. + + * mouse.el (mouse-movement-p): Add docstring for this. + +1992-10-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (open-line): Shield undo from the hack to insert at pt-1. + +1992-10-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * man.el (nuke-nroff-bs): 4 lines after header was 1 too many. + Likewise for 10 before the header. + +1992-10-01 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): Save (match-beginning 0) + in a variable, so the looking-at call doesn't clobber its value + when we want to use it to back up before the error we discard. + Make sure compilation-error-list is at least two elts long before + checking its first two elts for being in the same file. + +1992-09-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (kill-word): Don't change point before calling kill-region. + (delete-indentation): Don't go beyond eob, comparing with fill-prefix. + +1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * gud.el (gud-last-frame): Added defvar for this. + +1992-09-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * info.el (Info-follow-nearest-node): Handle line breaks after *note. + Fix interactive spec. Doc fix. Put on mouse-3. + +1992-09-30 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): After we get enough errors + to stop early, toss the last one (which is for a different file), + so we don't lose the same way on the next run. + +1992-09-29 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): When we reach + FIND-AT-LEAST errors, keep going until we have seen all the + consecutive errors in the same file. + +1992-09-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-send-and-exit): Do other-buffer before bury-buffer. + + * rmail.el (mail-unsent-separator): Add another alternative. + +1992-09-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value): + Use x-get-cut-buffer and x-set-cut-buffer, instead of expecting + x-selection-value to manipulate the cut buffers. + + * term/x-win.el (x-cut-buffer-or-selection-value): Treat + selections whose value is the empty string like unset selections. + This allows us to truncate cut buffers to the empty string (if the + text is too large, say) without causing + interprogram-paste-function to wipe out the latest kill. + + * gud.el: When we send a command to the debugger via gud-call, + it's annoying to see the command and the new prompt in the + debugger interaction buffer; nuke the command and the old prompt. + (gud-delete-prompt-marker): New variable, with extensive documentation. + (gud-mode): Make gud-delete-prompt-marker buffer-local, and + initialize it. + (gud-filter-insert): If gud-delete-prompt-marker is set, delete + the prompt, and clear gud-delete-prompt-marker. + (gud-call): Arrange for the last prompt printed to get deleted, by + setting gud-delete-prompt-char. + + * gud.el (gud-def): Doc fix. + (gud-gdb-marker-filter, gud-sdb-marker-filter, + gud-dbx-marker-filter): Rename the argument `s' or `str' to + `string', and change all uses; these definitions were referring to + `string', which is unbound in the lexical context, but which + happens to end up being bound to the right thing by the caller, + gud-filter. + (sdb): Set comint-prompt-regexp, not comint-prompt-pattern; the + latter doesn't exist. + (gud-dbx-debugger-setup): Use the argument `f', not the variable + `file', which happens to be bound in the caller. + (gud-filter-insert): The variable `start' is never used. The + variable `moving' is unnecessary. The variable `old-buffer' and + the unwind-protect form are unneeded, since save-excursion can do + their work. The binding of output-after-point should be done after + switching to the process's buffer, not in whatever random buffer + happens to be current when the process filter is called. There's + no need to set the process mark if we've just inserted at its + location using insert-before-markers. + (gud-read-address): Don't bother setting the variable `result'; it + is never used. + +1992-09-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-kill-ftp-process): Delete spurious ". + + * files.el (file-relative-name-1): New function split out. + (file-relative-name): Use it. + + * timer.el (timer-process-sentinel): Don't set timer-scratch. + + * ws-mode.el (ws-mark-word): Use forward-word, with an arg, + instead of backward-word. + (wordstar-mode): Move after definition of keymap. + (ws-move-block): Just two args for kill-region. + + * vc.el (vc-rename-file): Use OLD, not FILE which is unbound. + + * two-column.el: Use frame-width instead of screen-width. + +1992-09-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * map-ynp.el: Use (function ...) around lambdas, so it works in v18. + +1992-09-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * vc.el (vc-update-change-log): Use file-relative-name. + +1992-09-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * files.el (file-relative-name): + Rewritten so unrelativizable file names win. + +1992-09-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * files.el (file-relative-name): Don't lose when DIRECTORY is nil. + + * files.el (file-relative-name): New function. + +1992-09-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * vc.el (vc-checkin-hook): New user hook variable. + (vc-log-after-operation-hook): New internal defvar. + (vc-checkin): Set vc-log-after-operation-hook to 'vc-checkin-hook. + (vc-finish-logentry): (run-hooks vc-log-after-operation-hook) at end. + + (vc-update-change-log): When doing all visited files, remove directory + names from file names that are in default-directory. + + * vc.el (vc-update-change-log): + Use shell-command, not shell-command-on-region. + Take optional args to pass to script. + Add fancy interactive spec: C-u for current file only; + M-0 for all visited. + +1992-09-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * find-dired.el: New version from sk. + Changed copyright owner to FSF, and updated year. + (find-grep-dired): Use ! -type d, not -type f. + +1992-09-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * vc-hooks.el (vc-toggle-read-only): Doc fix. + (vc-mode-line): Add interactive spec. + +1992-09-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * two-column.el (tc-window-width, tc-separator, tc-other): + Add permanent-local property. + (tc-two-columns): Renamed from tc-split. + (tc-split): Renamed from tc-unmerge. Put it on C-x 6 s. + Use make-local-variable on tc-separator. + + * spook.el (spook): Make it autoload. + + * gomoku.el (gomoku): Make it autoload. + + * mpuz.el: Fix setup of mpuz-read-map not to depend on keymap format. + (mpuz): Renamed from mult-puzzle. Make it autoload. + + * setenv.el (setenv): Doc fix. Make it autoload. + + * diff.el (diff): Don't print echo area message. + (diff-parse-differences): Always add `done' to message, at end. + New local num-loci-found counts the loci. + + * mouse.el (mouse-split-window-vertically): Use @. + (mouse-split-window-horizontally): New command. + Use S-mouse-2 for them. + (mouse-delete-window): Put on mode-line mouse-3. + (mouse-save-then-kill): New command, on mouse-3. + (mouse-delete-other-windows): Use @. Now on mode-line mouse-1. + (mouse-scroll-down, mouse-scroll-up): Use e, get line from event. + (mouse-scroll-move-cursor): Likewise. + (mouse-scroll-left, mouse-scroll-right): Likewise for column. + (mouse-scroll-move-cursor-horizontally): Likewise. + +1992-09-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (after-find-file): New arg NOAUTO. + (revert-buffer, recover-file): Pass t for that arg. + +1992-09-23 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * cal-mayan.el (calendar-print-mayan-date): Fix conversion in + output message. + +1992-09-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (calculate-c-indent): When testing for function-start line, + always match the first paren if have more than one. + +1992-09-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vms-pmail.el: New file. + + * texinfo.el (texinfo-mode): Capitalize the mode name string. + + * mail-extr.el (mail-undo-backslash-quoting): Renamed from undo-... + (mail-safe-move-sexp): Renamed from safe-... + (mail-variant-method): Renamed from variant-method. + + * tq.el: Doc fixes. Make tq-create autoload. + + * keypad.el: File deleted (obsolete). + + * setenv.el (setenv): Add interactive spec. Use \\` for string beg. + Improve error message. + + * isearch-mode.el (isearch-other-meta-char): Use isearch-unread. + Support `edit' as search-exit-option. + + * recompile-startup.el: File deleted. + + * at386.el: Deleted from here; latest version moved into term. + + * c-mode.el (calculate-c-indent): When checking for DEFUN macro, + stop moving down if reach eob. + +1992-09-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * prompt.el: File deleted. + + * find-dired.el (start-process-shell-command): Deleted. + + * diff.el (diff-switches): Default is now -c. + (diff-parse-differences): Use line beg as location of message. + + * c-mode.el (calculate-c-indent): When checking for DEFUN macro, + stop moving down at line with # or /. + (c-fill-paragraph): Set first-line whenever we find a comment start + on the current line. Protect text before the comment start + by excluding it from the region and adding spaces to bring back + proper indentation of that point. + +1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-generate-anonymous-password): Default now t. + ??? This file is waiting for papers from several people. + + * vms-patch.el (vms-command-line-again): New function. + (vms-pmail-setup): Autoload added here. + (vms-suspend-resume-hook): Handle envvars EMACS_COMMAND_ARGS and + EMACS_FILE_LINE. + + * dired.el (dired-view-file, dired-up-directory): Test that + dired-subdir-alist has more than one element, to use dired-goto-subdir. + (dired-goto-file, dired-clean-up-after-deletion): Likewise. + (dired-mark): Likewise, before dired-get-subdir. + (dired-subdir-max): Likewise, before dired-next-subdir. + + * isearch-mode.el (isearch-done): Do push on ring if ring is empty. + (isearch-edit-string): Get default from search ring. + Don't set the default here. + (search-last-string, search-last-regexp): Vars deleted. + (search-highlight): No longer a user option. + + * subr.el (baud-rate): Defined. + (substitute-key-definition): Understand today's keymap format. + New arg OLDMAP. Operate recursively on prefix keys. + + * rmail.el (rmail-insert-inbox-text): Make the inbox file empty here + if we rename it with rename-file here. + (rmail-get-new-mail): Always try deleting the files in delete-files. + +1992-09-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lisp-mode.el (eval-last-sexp): Narrow before reading + so don't read past point. + + * isearch-mode.el (isearch-mode): Change back to (baud-rate). + + * rmail.el (rmail-get-new-mail): Truncate inbox file if we + fail to delete it, or if it's not in the ordinary mail spool dir. + +1992-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (calculate-c-indent): When checking for DEFUN macro, + stop moving down at line with open-brace or close-brace. + + * ange-ftp.el (ange-ftp-file-name-as-directory): Fix typo. + +1992-09-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * gud.el (gud-mode-map): Bind gud-refresh to C-c C-l, not C-c l; + the latter is reserved for the user's purposes. + +1992-09-16 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * isearch-mode.el (isearch-ring-advance-edit): added missing + closing paren to end of this function. + +1992-09-16 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * rmail.el (rmail-insert-inbox-text): Avoid "Getting mail from" + message for zero-length files. + +1992-09-15 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * term/x-win.el: Bind M-next to scroll-other-window. + + * etags.el (visit-tags-table-buffer): Only return nil if (null + tags-table-list-pointer) when CONT is t, not anything non-nil. + + * etags.el (tags-apropos): Pass arg to tags-apropos-function. + + * mailabbrev.el: Delete comment about needing papers. We have them. + + * etags.el (tags-apropos): Start FIRST-TIME as t, not nil. + Set it to nil inside the loop. + +1992-09-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (previous-history-element): Doc fix. + + * isearch-mode.el (isearch-event-data-type): + Renamed from isearch-events-exist. + (isearch-frames-exist): Set properly in Emacs 18. + (isearch-mode): Use baud-rate as variable, not function. + (isearch-abort): Use nil as 2nd arg to `signal'. + (isearch-ring-advance-edit, isearch-ring-retreat-edit): Fns deleted. + (isearch-ring-adjust-edit): Fns deleted. + (isearch-done): Add new string to ring unless matches newest elt. + Don't update the yank pointers. + (isearch-repeat): Always use newest elt of ring. + (isearch-mode): Set *search-ring-yank-pointer to nil. + (isearch-edit-string): Set cursor-in-echo-area to nil after read-char. + Use read-from-minibuffer and specify a ring as history. + (*search-ring-yank-pointer): Value now integer or nil. + (isearch-ring-adjust1): Modify yank pointer usage accordingly. + +1992-09-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * dabbrev.el: Change provide to 'dabbrev from 'dabbrevs. + + * etags.el (find-tag-noselect, next-file, list-tags, tags-apropos): + Call visit-tags-table-buffer with nil, not 'reset. + (tags-expand-table-name): New function. + (tags-table-list-member): New function. + (tags-next-table): New function. + (visit-tags-file): Folded into visit-tags-table-buffer. + (tags-table-list-started-at): New defvar. + (visit-tags-table-buffer): Rewritten. No longer groks 'reset arg. + For 'same, just expand tags-file-name. + For t, use tags-next-table, and skip over nonexistent files. + Use tags-table-list-member to search lists. + Set tags-table-list-started-at. + (visit-tags-table): Use (visit-tags-table-buffer 'same) in place of + visit-tags-file. + (tags-table-parent-pointer-list): Doc fix. + (tags-table-including): New function, subr of visit-tags-table-buffer. + +1992-09-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * gud.el (gdb, sdb, dbx): Use C-c C-r ("resume") for continuing, + instead of C-c C-c. C-c C-c should be comint-interrupt-subjob; + it's important to have that available, and the C-c C-c binding is + consistent with all the other comint-derived modes. + +1992-09-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch-mode.el: Add global key bindings. + (isearch-mode-map): Use only define-key, not aset. + Don't try using length of keymap. + (isearch-update): Handle unread-command-char properly for Emacs 19. + (isearch-switch-frame-handler): Use select-frame to switch frames. + (isearch-pre-command-hook): Commented out. + (search-upper-case): Renamed from search-caps-disable-folding. + +1992-09-14 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (visit-tags-file): Return t iff tags file exists. + (visit-tags-table): Error if file doesn't exist. + (tags-next-table): New function, code broken out from + visit-tags-table-buffer. + (visit-tags-table-buffer): Use it. + Skip over nonexistent files in the tags-table-list. + (find-tag-in-order): When (not FIRST-SEARCH), call + visit-tags-table-buffer with 'same, not nil. + + * etags.el (visit-tags-file): Check for file being a directory here. + (visit-tags-table-buffer): Not here. + (visit-tags-table): Or here. + +1992-09-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-retry-failure): Bind off mail-signature and + mail-setup-hook. + (rmail-forward): Likewise. + + * loaddefs.el: Added autoloads for dabbrev. (That section got lost.) + + * simple.el (repeat-complex-command): Get rid of strings added + to command-history by read-from-minibuffer. + Don't bind minibuffer-history-variable here. + (previous-matching-history-element): Read argument manually, + with a special history list. Delete this command from command-history. + Fix arithmetic for counting N. + (next-matching-history-element): Likewise. + (minibuffer-history-search-history): New variable. + + * simple.el (read-expression-map): New keymap, w/ lisp-complete-symbol. + (eval-expression, edit-and-eval-command): Use read-expression-map. + (repeat-complex-command): Likewise. + +1992-09-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * compile.el: Fix first lines of doc strings. + (compilation-sentinel): Use local value of compilation-finish-function. + (compilation-num-errors-found): New variable. + (compilation-parse-errors): Use that, not `nfound'. + * diff.el (diff-parse-differences): Likewise. + + * lisp-mode.el (save-match-data): Define indentation. + + * files.el (file-local-copy): New function, replaces diff-prepare. + + * subr.el (save-match-data): New macro. + * files.el (insert-directory): Use that macro. + (file-name-sans-versions): Likewise. + * dired-aux.el (dired-compress-file): Likewise. + * diff.el (diff-old-file, diff-new-file): Vars declared. + (diff-old-temp-file, diff-new-temp-file): Vars declared. + (dired-add-entry): Pass t as wildcard arg to insert-directory. + (diff): Use compilation-finish-function to delete temp files. + + * comint.el (comint-mode): Reinsert kill-all-local-variables. + Delete kludges to preserve comint-ptyp and comint-input-ring. + (comint-ptyp): Move declaration before uses. Make permanent. + (comint-input-ring): Make permanent. + (comint-input-ring-index): Declare it. + + * bytecomp.el (byte-compile-report-error): + Set byte-compiler-have-errors. + (byte-compile-file): Don't kill ` *Compiler Input*' buffer if error. + Put input and output buffers in local vars when made. + Make two separate save-excursion forms, excluding the call + to byte-compile-from-buffer. + + * dired.el (dired-uncache): New function. + (dired-revert, dired-insert-old-subdirs): Use it. + (dired-view-file): Undo previous change. + +1992-09-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * mouse.el: Change uses of 'K' interactive spec to 'e'. + +1992-09-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * diff.el (diff): Call diff-prepare. If we do have temporary files, + tell diff to override their names in the listing; delete them at end. + (diff-prepare): New function. + + * files.el (file-name-sans-versions): Support file-name-handler-alist. + New arg KEEP-BACKUP-VERSION means don't delete backup versions. + + * dired.el (dired-display-file, dired-find-file-other-window): + (dired-view-file, dired-find-file): Call file-name-sans-versions + to remove non-backup version numbers. + + * dired-aux.el (dired-compress-file): New function. + (dired-compress): Call that, to compress and determine new name. + + * files.el (insert-directory): New function; based on dired-ls. + Supports file-name-handler-alist. + (insert-directory-program): New variable. + * dired-aux.el (dired-add-entry, dired-insert-subdir-doinsert): + Use insert-directory. + * dired.el (dired-readin-insert): Use insert-directory. + (dired-ls, dired-ls-program): Deleted. + +1992-09-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * autoload.el (update-file-autoloads): Use beginning of specified line. + + * loaddefs.el: Sort alphabetically by file name. + + * files.el (backup-buffer): If backup file to copy into exists + and is not writable, try deleting it. + + * ange-ftp.el: New version from Andrew Norman. + Modified to use file-name-handler-alist. + Get rid of the dummy shell mode. + Rename many variables used free to start with ange-ftp. + Don't do anything special for revert-buffer. + +1992-09-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (x-fixed-font-alist): New variable. + (mouse-set-font): New function, now on C-mouse-3. + + * term/x-win.el (scroll-bar-mode): New function (and variable too). + + * dired.el (dired-next-subdir, dired-subdir-index): Moved here + * dired-aux.el: From here. + * dired.el (dired-build-subdir-alist): Don't print msg after each dir. + Clarify final message. + + * files.el (auto-mode-alist): Recognize ChangeLog.N as change-log-mode. + Move *.N pattern for nroff mode after ChangeLog.N. + +1992-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): Use eq instead of = when one + side might be nil. + +1992-09-09 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.el (frame-notice-user-settings): In situations where we + have to delete the existing frame and create a new one, redirect + the dying frame's focus to the new frame, so that characters typed + ahead won't get lost. + + * frame.el (frame-notice-user-settings): Explicitly include + default-frame-alist in the frame parameter lists; it was nil + before the .emacs file was loaded, and now we have to make sure it + takes effect. + + * subr.el (keyboard-translate): keyboard-translate-table is a C + variable; it's never unbound. Assume it's bound, and create a new + string if its current value is a non-array, or if the current + array is too short to handle FROM or TO. + +1992-09-08 Joseph Arceneaux (jla@geech.gnu.ai.mit.edu) + + * mailabbrev.el (sendmail-pre-abbrev-expand-hook): Changed the + structure of this function: Don't check to call + mail-resolve-all-aliases unless we are actually in a header field + where an abbrev should be expanded. + +1992-09-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (c-fill-paragraph): Fix the cases where point is before + or after the comment. This uses new var comment-start-place. + +1992-09-04 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * rmail.el (rmail-unix-mail-delimiter): Expand this to recognize + time zones after the date too. Re-arranged some of the whitespace + matching, to facilitate factoring out the time zone regexp. + (rmail-nuke-pinhead-header): Deal with the timezone matched in + either position. + +1992-09-04 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * server.el: Add provide. + +1992-09-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (calculate-c-indent): Delete stray setq of tem. + (c-fill-paragraph): If line contains any comment, treat as comment. + + * add-log.el (change-log-mode): Match start of word at start of line. + * page.el (forward-page): Handle page delim that matches null string. + + * rmail.el (rmail-mode): Doc fix. + + * shell.el (shell): Doc fix. + + * sendmail.el (mail-do-fcc): Copy code from Emacs 18 to add time zone. + +1992-09-03 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * rmail.el (rmail-unix-mail-delimiter): Split this up and comment + its various components so it looks a bit less like three lines of + garbage. + +1992-09-02 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compile-goto-error): Move to bol before looking for + the error. + +1992-09-02 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * c-mode.el (c-auto-newline): Added backslashed before quotes in + docstring. + +1992-09-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lpr.el (lpr-command): Make this autoload. + + * fill.el (justify-current-line): Fix escape syntax of regexp constant. + +1992-08-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (enable-local-eval): Default value is `maybe'. + (hack-local-variables): Ask just once about `eval:', not each time. + +1992-08-31 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * loadup.el: Don't delete old DOC-M.N.O file if it doesn't exist. + +1992-08-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loadup.el: Delete old DOC-M.N.O file before copying to it. + + * c-mode.el (calculate-c-indent): Recognize the Emacs DEFUN macro. + Do condition-case around sexp functions when checking for + function arg decls. + (c-fill-paragraph): Detect comment starting after code on current line. + Exclude everything before line where comment starts. + + * add-log.el (add-log-current-defun): Fix test for LOCATION + in range, for instace of DEFUN macro. + + * simple.el (open-line): Fix fill-prefix case. + + * loaddefs.el: Swap bindings of C-x a i l and C-x a i g. + The former is now for mode abbrevs and the latter for global. + +1992-08-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el: Add bindings for down-mouse-1, drag-mouse-1, + S-mouse-3, C-mouse-1. + Add real keybindings for scroll bar commands. + (help-menu-map): New tree of menu-maps, on C-mouse-2. + (mouse-buffer-menu): New function. + +1992-08-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (calculate-c-indent): If taking indent from prev stmt + and it starts with an {, subtract c-brace-offset. + +1992-08-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): Recognize Emacs DEFUN properly. + +1992-08-24 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * rnewspost.el (news-setup): Don't use kill-line; that puts + trash in the kill ring; instead, use delete-region. + + * mouse.el (mouse-kill, mouse-set-point): Remember that + event-point does not always return a number; it may return + `mode-line' or `vertical-line'. + + * simple.el (prefix-arg-internal): Make sure that the key + sequence is a string before comparing it against "0" and "9". + +1992-08-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * etags.el (etags-recognize-tags-table): Don't print message. + +1992-08-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el: Doc fixes. + +1992-08-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * sendmail.el (mail-signature-file): Undo the previous change - + replace this with mail-signature. The manual has already gone to + the printer. + (mail-setup): Use mail-signature, rather than mail-signature-file. + (mail-signature): Use "~/.signature", rather than + mail-signature-file. + (mail): Doc fix. + +1992-08-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail): Bind enable-local-variables, not inhibit... + + * sendmail.el (mail-setup): Don't use mail-signature-file + if nonexistent. Insert just one newline if no signature. + +1992-08-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-next-undeleted-message): No error at eob, + just message. (This reverses the previous change.) + +1992-08-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * sendmail.el (mail-signature): Variable replaced with... + (mail-signature-file): This, since this is the way all the + other lisp packages do it, and it's how people always say they + want it on the mailing lists. + (mail-setup, mail-signature): Adjusted accordingly. + (mail): Doc fix. + +1992-08-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sort.el (sort-subr): No progress messages if sorting less than 50k. + +1992-08-17 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * solar.el (sunrise-sunset): Get various values set properly when + there is (or isn't) a double prefix arg. + +1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * timer.el (run-at-time, timer-process-filter): The character + used to separate the time from the token in input to the timer + subprocess used to be ?\001, which is not human-readable. + Make it ?@, which is. + +1992-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * info.el (Info-find-node): Be more flexible about format of + tags table. + +1992-08-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unrmail.el: New file. + +1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * hideif.el (hide-ifdef-mode): Made this function autoload. + (hide-ifdef-initially, hide-ifdef-read-only, + hide-ifdef-lines): Make these variables autoload. + +1992-08-12 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (grep-regexp-alist): New defvar. + (grep): Pass grep-regexp-alist to compile-internal. + + * etags.el (find-tag-noselect): If NEXT-P, + (visit-tags-table-buffer 'same) first. + + * add-log.el: Add (provide 'add-log). + +1992-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (change-log-mode): Make it autoload. + +1992-08-12 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.el (initial-frame-alist): Change the initial frame + alist from ((minibuffer . nil)), which asks for no minibuffer, + to ((minibuffer . t)), which asks for a minibuffer. + + * term/x-win.el: Don't call set-input-mode from here; it's + already taken care of in x_term_init, which is called from + Fx_open_connection. Rah. + +1992-08-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * calendar.el, diary.el, diary-insert.el, holidays.el, + cal-french.el cal-mayan.el, solar.el, lunar.el: Installed the + latest update of this calendar stuff from that calendar guy, Ed + Reingold. Entries for his changes have been inserted in this + file, ordered by date amongst the rest of the changes. + * diary-add.el: This has become diary-insert.el. + * calendar.el (generate-calendar-window, + update-calendar-mode-line, calendar-set-mode-line): Replace uses + of screen-width with frame-width. + * diary.el (simple-diary-entry, fancy-diary-entry): Same. + +1992-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (eval-expression): Doc fix. + +1992-08-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): Protect against "Unbalanced + parens" error from down-list. + +1992-08-10 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.el (set-screen-width, set-screen-height): Make the + docstring say that these are obsolete. + (screen-width, screen-height, set-screen-width, + set-screen-height): Apply make-obsolete to these. + +1992-08-10 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-mode): Update mode line. + + * calendar.el (calendar-read-date): New function. + (calendar-goto-date): Use it. + + * holidays.el (holidays): Optional prefix arg causes prompting for + month and year. + + * calendar.el (calendar-interval): Fix doc string. + + * calendar.el (calendar): Changed use of prefix arg--now it causes + prompting for the month and year. + (regenerate-calendar-window): Renamed generate-calendar-window. + Changed optional argument from an offset from the current month to + a month, year pair. + (redraw-calendar, calendar-current-month, scroll-calendar-left, + calendar-other-month): Change calls from regenerate-calendar-window + to generate-calendar-window. + +1992-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-revert-buffer): Use yes-or-no-p. Doc fix. + + * Reinstalled a loaddefs.el backup dated Aug 4. + The installed copy seems to be a very old version. + +1992-08-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.el (set-screen-width, set-screen-height): Changed these + from fset aliases to actual functions, since they aren't supposed + to take a frame argument, while set-frame-{width,height} do. + +1992-08-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): Handle ansidecl DEFUN macros. + (change-log-mode): Doc fix. + + * add-log.el (add-log-current-defun): Use an intelligent regexps + instead of many looking-at calls. Use memq instead of (or (eq x a) + (eq x b)). Stupidity reigns. + +1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.el (set-frame-width, set-frame-height): Functions deleted + *again*. Where did these come from? + + * bytecomp.el: Merged changes up to version 2.08 of the + Zawinski-Furuseth compiler. Added a comment above the declaration + of byte-compile-version indicating this, to assist future patchers. + (byte-compile-warnings): Doc fix. + (byte-recompile-directory): Ignore CVS subdirectories, as well as + RCS dirs. + * byte-opt.el: Correctly extract the components of a compiled + function object. + + * bytecomp.el (byte-compile-warnings): Have this default to t, + since Zawinski says everyone likes the warnings about unbound + variables. + + * appt.el (appt-issue-message, appt-message-warning-time, + appt-audible, appt-visible, appt-display-mode-line, + appt-msg-window, appt-display-duration, appt-display-diary): Added + ;;;###autoload cookies for these variables, since they are options + for the user to set. + * tex-mode.el (tex-shell-file-name, tex-directory, tex-offer-save, + tex-run-command, latex-run-command, latex-block-names, + slitex-run-command, tex-bibtex-command, tex-dvi-print-command, + tex-alt-dvi-print-command, tex-dvi-view-command, + tex-show-queue-command, tex-default-mode, tex-open-quote, + tex-close-quote): Same. + +1992-08-06 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): Use eq instead of = when one + side might be nil. + + * compile.el (compilation-mode-map): Change + compilation-previous/next-file bindings to M-{ and M-}. + +1992-08-05 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * cl.el (*cl-valid-named-list-accessors*, *cl-valid-nth-offsets*, + byte-compile-named-accessors): Deleted. + (first, second, ... tenth, rest): Define these with defsubst, to + get the same effect. + (byte-compile-ca*d*r): Deleted. + (caar, cadr, ..., cddddr): Define these using defsubst. + + * Installed changes from Zawinski-Furuseth 2.04 to 2.07: + * byte-run.el (dont-compile): Doc fix. + (make-obsolete-variable): New function. + * bytecomp.el (byte-compile-log-1): Added new optional argument, + FILL; if it is non-nil, reformat the error message. + (byte-compile-warn): Use that flag. + (byte-recompile-directory): Offer to recompile subdirectories. If + prefix argument is zero, create .elc files for those .el files + which lack them, without asking. + (byte-compile-output-form, byte-compile-output-docform): Disable + print-gensym while writing the form. + (byte-compile-form): Warn if t or nil are called as functions. + (byte-compile-variable-ref): Check for, and warn about, obsolete + variable uses. + (byte-set-marker, byte-string=, byte-string<, byte-setcar, + byte-setcdr, byte-rem): Define these with byte-defop-compiler19, + not plain byte-defop-compiler. + (auto-fill-hook, blink-paren-hook, lisp-indent-hook, + temp-buffer-show-hook, inhibit-local-variables): Declare these + variables to be obsolete. + * byte-opt.el (byte-optimize-apply): If the last argument to apply + is a constant list, and we therefore decide to turn this into a + funcall, then don't forget to quote all the elements of the + constant list. + + * inf-lisp.el (inferior-lisp-filter-regexp, inferior-lisp-program, + inferior-lisp-load-command, inferior-lisp-prompt, + inferior-lisp-mode-hook, inferior-lisp): Added ;;;###autoload + cookies for these. + + * bytecomp.el (byte-compile-warnings): When choosing the default + value for this variable, don't forget to apply delq to a COPY of + byte-compile-warning-types, so we don't nuke the `free-vars' flag + altogether. + +1992-08-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-search): Fix typo (premature ref to reversep). + Choice of amount to increment n by was backwards. + (rmail-search-backwards): Setting of reversep was backwards. + +1992-08-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-next-file): Use FILE instead of "This" + in error for moving too far. + +1992-08-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-mode-map): Set to nil at load time. + + * lint.el: File deleted. + +1992-08-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): Write progress messages + on all regexp matches, not just errors. + +1992-08-04 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * view.el (view-mode): teach this how to use help-char. + + * info.el (Info-mode): scroll-up, scroll-down now do the right + thing for preorder browsing when the beginning/end of the node + is visible. RET now goes to the next preorder node. These + changes make sequential reading of info subtrees easier. + +1992-08-04 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * appt.el (appt-make-list): Add ;;;###autoload cookie for this + function. + + * vc-hooks.el: Removed autoloads; this task is better performed by + the autoload cookies. + * vc.el (vc-next-action, vc-register, vc-diff, vc-insert-headers, + vc-directory, vc-create-snapshot, vc-retrieve-snapshot, + vc-print-log, vc-revert-buffer, vc-cancel-version, + vc-update-change-log): Added the ;;;###autoload cookies to these + functions, since they get bound to keys in the global keymap. + * loadup.el: Load vc-hooks.el. + +1992-08-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compile-error-at-point): New function. + (compilation-next-error): Use it. + (compile-file-of-error): New function. + (compilation-next-file, compilation-previous-file): New functions. + (compilation-mode-map): Bind C-x [ and C-x ] to them. + +1992-08-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (next-error): Call compile-reinitialize-errors with + 3rd arg of ARGP-1, not ARGP. + (compile-reinitialize-errors): Don't need to parse if + compilation-parsing-end is past LIMIT-SEARCH. + (compilation-next-error): Rewritten to use compile-reinitialize-errors + limiting args. + (compile-reinitialize-errors): Don't parse at all if + compilation-parsing-end is at (point-max). + + * loaddefs.el (complete-tag): Define here to always error; loading + etags will redefine it. + + * etags.el (complete-tag): Error if no tags table loaded. + +1992-08-03 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * ebuff-menu.el, echistory.el, help.el, hexl.el: teach these packages + to use help-char, and add the appropriate magic to doc strings. + +1992-08-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el (gud-def): If KEY is nil, don't make a binding. + +1992-08-03 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el (print-diary-entries): Rewrote to work for either + simple or fancy diary display. + (add-diary-heading): Deleted--incorporated into print-diary-entries. + * calendar.el (print-diary-entries-hook): Change default value. + +1992-08-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * add-log.el (change-log-mode): Doc fix. + + * map-ynp.el (map-y-or-n-p): Use key-description for USER-KEYS. + +1992-08-03 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * simple.el (current-kill): Reinstate interprogram-paste feature. + It doesn't seem to be wedged for me, and I can't find out how it is + wedged unless it's enabled. + + * terminal.el (terminal-map, terminal-escape-map, + terminal-more-break-map): Apply fillarray to the cadr of the map, + not to the map itself; dense keymaps are no longer vectors. + * ehelp.el (electric-help-map): Same here. + + * bytecomp.el (byte-compile-file): Don't catch errors here. + (displaying-byte-compile-warnings): Catch them here. This way, + errors get caught no matter which compilation entry point we use; + anyplace that can report warnings, also catches errors. + + * sun-cursors.el: Require 'cl, for the sake of the push macro. + (sc::pic-ins-at-mouse): Call move-to-column with the FORCE + argument true, instead of calling an unknown function named + `move-to-column-force'. + + * medit.el (medit-zap-define-to-mdl): Fix interactive spec. + (medit-zap-define-to-mdl): Change `medit-save-defun' to + `medit-save-define'. + (medit-save-region, medit-save-buffer, medit-zap-define-to-mdl): + Changed `medit-go-to-mdl' to `medit-goto-mdl'. Did anyone ever + try this code? + +1992-08-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el: Fix message syntax. + (comint-previous-similar-input): Use error, not message. + + * files.el (save-some-buffers): Use C-r, not v, to look at a buffer. + Use view-buffer and a recursive edit to do it. + + * view.el: Delete key bindings for C-x v and C-x 4 v. + (View-scroll-lines-forward, view-helpful-message): + Use view-exit, not exit-recursive-edit. + + * map-ynp.el: Fix prompt. + + * dired.el (dired-why): Don't use save-excursion. + (dired-change-marks): New command. + (dired-mode-map): Put dired-change-marks on c. + Put dired-do-kill-lines on k. + + * dired-aux.el: Require dired.el for compilation. + (dired-bunch-files): Was duplicating PENDING in apply calls. Fixed. + (dired-do-shell-command, dired-run-shell-command): + Delete arg IN-BACKGROUND; rely on including & at end of command. + (dired-run-shell-command): Return nil. + (dired-do-shell-command): Accept COMMAND as arg; use minibuf + within `interactive'. + (dired-create-files, dired-handle-overwrite): + Rename overwrite-confirmed to dired-overwrite-confirmed. + (dired-do-kill-lines): Handle prefix arg as number of lines to kill. + (dired-kill-line-or-subdir): Deleted. + +1992-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mailabbrev.el [from jwz] (mail-interactive-insert-alias): Do + mail-aliases-setup if necessary before completing for interactive. + (build-mail-aliases): Changed parsing regexp. + + * compile.el (compilation-parse-errors): Take 2nd arg FIND-AT-LEAST. + If non-nil, stop after parsing that many new errors. + (compilation-parse-errors-function): Document 2nd arg. + (compile-reinitialize-errors): Take optional 3rd arg; pass to parser. + (next-error): Pass repeat count to compile-reinitialize-errors. + * diff.el (diff-parse-differences): Take same new arg. + + * reposition.el (C-l): Fix typo. + +1992-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el: ring-* functions deleted--get them from ring.el. + + * ring.el (ring-mod): Renamed from comint-mod. + Provide `ring', not history'. + (make-ring, ring-p): Add autoloads. + * history.el: Link deleted. + + * c-mode.el (c-up-conditional): New function. + + * add-log.el (add-log-current-defun): In C and Lisp, verify the defun + really starts at or before the original point. + +1992-08-01 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * mailalias.el: Provide 'mailalias. + * mailpost.el: Require 'mailalias and 'sendmail, since we use + expand-mail-aliases and mail-do-fcc. + + * mail-extr.el (mail-extract-address-components, variant-method): + Use buffer-disable-undo instead of buffer-flush-undo; the latter + is obsolete. + + * lpr.el (print-region-new-buffer): Added arguments START and END; + this used to use dynamic scope, but it makes things less readable. + (print-region-1): Always call this with two arguments, not + sometimes two and sometimes none. + + * lint.el: Require 'compile. + (compilation-convert-lint): Call set-buffer with only one argument. + + * life.el: Move the definitions of the macros out of the require + clause; the new compiler seems to handle the macros correctly. + (life): Add an autoload cookie for this. + (life-display-generation): If the sit-for returns before the + timeout has elapsed, exit the life loop. + + * ledit.el (ledit-setup): Use shared-lisp-mode-map, instead of + lisp-mode-commands. + + * kermit.el (kermit-send-input-cr): comint-send-input doesn't + accept any arguments. Instead of applying comint-send-input to + "\r", call comint-send-input on no arguments, and then use + comint-send-string to send the carriage return. + (kermit-clean-filter): Call re-search-backward, not + re-search-backware. + (kermit-clean-on): Remove extra quote from doc string. + + * informat.el (batch-info-validate): Don't pass any arguments to + Info-tagify; it doesn't want any. + + * hideif.el (hif-endif-to-ifdef): Fix munged comment which was + interfering with parsing. + + * hexl.el (hexl-next-line): Fixed up malformed let binding. + + * bytecomp.el (byte-compile-file): Catch errors that occur during + compilation, and record them in the compilation log. This allows + us to find the name of the guilty file when we get a "invalid read + syntax" error or some such. + + * gud.el: Require `etags', not `tags'. + (sdb): Move interactive spec to top of function, just under doc string. + (gud-read-address, send-gud-command): Use the point and point-max + function instead of dot and dot-max; the latter two are obsolete. + + * gnus.el (gnus-Group-mode, gnus-Subject-mode, + gnus-Subject-rmail-digest, gnus-Article-mode, + gnus-output-to-rmail, gnus-output-to-file): Use + buffer-disable-undo, instead of buffer-flush-undo; the latter is + an obsolete name. + + * simple.el: Bind the `next' and `prior' function keys to + next-history-element and previous-history-element in the + minibuffer maps. Clean up binding code. + + * two-column.el: Doc fixes. + + * loaddefs.el (function-keymap): Definition deleted; this has been + superceded by function-key-map. + + * gomoku.el (gomoku-mode-map): Use function key symbols, instead + of the keypad.el facilities. + + * edt.el: Converted to use the new function key events instead of + keypad.el. Don't require keypad. Change global key bindings. + (advance-direction, backup-direction): Bind the function key + symbols directly in the global map, not in function-keymap. + (edt-emulation-on): Doc fix. This function will now work when + called simply from .emacs; it doesn't need to be run after the + terminal-dependent file has been loaded. + + * cl.el (byte-compile-named-list-accessors, byte-compile-ca*d*r): + Changed these to work correctly with the Zawinski-Furuseth byte + compiler. + +1992-07-31 Robert J. Chassell (bob@churchy.gnu.ai.mit.edu) + + * loaddefs.el: New keybinding, `C-x r y', for `yank-rectangle'. + +1992-07-31 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-string-spread): New function. + (calendar-mode-line-format): Redefine it. + (calendar-set-mode-line): Rewrite using new function. + (update-calendar-mode-line): Rewrite using new function. + +1992-07-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (command-line-1): Mention info in startup message. + +1992-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * byte-opt.el (byte-optimize-plus): Don't entirely eliminate the call. + (byte-optimize-minus): Likewise. + (byte-optimize-multiply,(byte-optimize-divide): Likewise. + +1992-07-30 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compile-goto-error): Set compilation-error-list to + the one we want, not the one before it. + (next-error): Use the ARGP-1th, not ARGPth cdr of + compilation-error-list. + +1992-07-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * bytecomp.el (byte-compile-warnings): By default, do not display + warnings about references free variables. + +1992-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail): Get rid of the multiple mail buffer feature. + +1992-07-29 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (general-holidays, hebrew-holidays, local-holidays, + christian-holidays, islamic-holidays, solar-holidays, other-holidays): + New variables. + (calendar-holidays): Use them to define the default value. + + +1992-07-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-mode-map): comint-previous-similar-input now M-r. + (comint-previous-similar-input): + Initialize comint-input-ring-index if nil. + (comint-previous-input-matching): Report ordinary error if fail. + Initialize comint-input-ring-index if nil. + (comint-next-similar-input): New command, on M-s. + (comint-previous-input): Always delete what was already given + for the next input. Initialize comint-input-ring-index if nil. + (comint-send-input): Set comint-input-ring-index to nil. + + * field.el, cmushell.el: Files deleted. + + * co-isearch.el: File deleted; comint should have M-r and M-s + like the minibuffer, instead. + +1992-07-29 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * diff.el: Everything but diff and diff-backup removed. + (diff-regexp-alist): New defvar. + (diff-parse-differences): New defun. + (diff): Use compile-internal. + Take optional arg SWITCHES; interactively, prompt if prefix arg. + (diff-backup): Take same new arg. + Make this autoload. + + * compile.el (compilation-parse-errors): No message when we stop + at LIMIT-SEARCH. + (compile-reinitialize-errors): Don't short-circuit if passed + a non-nil LIMIT-SEARCH. + (compilation-next-error): New; bound to M-n. + (compilation-previous-error): New; bound to M-p. + +1992-07-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-mode-map): Bind SPC, DEL, M-n, M-p. + +1992-07-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * texinfo.el (texinfo-mode-map): Move M-} and M-{ to C-c prefix. + + * simple.el (delete-indentation): Delete fill prefix from after join. + +1992-07-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p-help): Remove. + (map-y-or-n-p): Take new arg ACTION-ALIST. + Compute help string fully instead of using map-y-or-n-p-help. + * files.el (save-some-buffers): Pass new arg to map-y-or-n-p, so + `v' displays the buffer. Change save-excursion to + save-window-excursion; it was only there to restore the current + buffer, and now display-buffer might change windows. + + * compile.el (compilation-parse-errors): Fix M-t-o on `found-desired'. + (compilation-error-list): Doc fix. + (compile-internal): Document to return the buffer. + (next-error): Simplify code to set NEXT-ERRORS from + compilation-error-list and ARGP. + (compile-goto-error): Rewrote searching so it finds the error that + point is in or after; the error need not start at bol. + Restore current buffer after calling other-window. + +1992-07-28 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * holidays.el (calendar-holiday-function-sexp): + New function. + *calendar.el (calendar-holidays): Describe it and use it for daylight + savings. + + * calendar.el, cal-mayan.el, cal-french.el: Change names of all + calendar-goto-next- or calendar-goto-previous- commands to + eliminate the word "goto". + + Change names of all cursor-to-***-calendar-date commands to + calendar-print-***-date. + + * diary.el (sort-diary-entries): New function. + +1992-07-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (backup-extract-version): Copied from Emacs 18. + (find-backup-file-name): Use that. + + * dired-aux.el (dired-clean-directory): Moved here. + (dired-map-dired-file-lines, dired-collect-file-versions): + (dired-trample-file-versions): Likewise. + * dired.el: Moved from here. + (dired-clean-directory): Auto load added. + + * add-log.el (add-change-log-entry): Chase symlinks. + +1992-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el (gdb, dbx, sdb): Change C-c LETTER commands to C-c C-LETTER. + + * add-log.el (add-log-current-defun): Handle C macros. + Handle the DEFUN macro used in Emacs C sources. + +1992-07-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): Take arg LIMIT-SEARCH; + if non-nil stop parsing when we pass that location. + (compilation-parse-errors-function): Document arg. + (compile-reinitialize-errors): Take optional 2nd arg; pass to parser. + (compile-goto-error): Pass (point) to compile-reinitialize-errors. + + * compile.el (compile-goto-error): Doc fix. + + * etags.el (find-tag): Fixed prompt. + (tag-exact-match-p): Rewritten (again). + + * startup.el (command-line): Load site-start here. + (normal-top-level): Not here. + + * etags.el: Remove M-? binding; move M-TAB binding to after defun. + +1992-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * completion.el: Moved to external-lisp. + + * diff.el (diff-rcs, diff-sccs): Deleted. + +1992-07-27 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * tar-mode.el (tar-subfile-save-buffer): whoever changed + current-time forgot to check for breakage. Added code to print + the seconds parts of a (current-time) value as 11 octal digits + (yes, this is nontrivial). + +1992-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (next-history-element): Fix error messages. + (previous-matching-history-element): Likewise. + + * help.el (describe-function): Don't give the file name + in the case of an autoloaded function. + + * lisp-mode.el (emacs-lisp-mode-map, lisp-interaction-mode-map): + Add M-TAB as lisp-complete-symbol. + * loaddefs.el: Delete binding of M-TAB. + * etags.el: Add binding of M-TAB. + +1992-07-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (tags-exact-match-p): Rewritten. + (tags-with-syntax): New macro. + +1992-07-26 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-cursor-to-date): Change `current-day' to + `starred-day'. + (calendar-star-date): Create and set buffer local var `starred-day'. + (calendar-mode): Don't create buffer local vars current-month, + current-day, current-year. + (regenerate-calendar-window, calendar-current-date): Don't set + buffer local vars current-month, current-day, current-year. + (calendar, redraw-calendar, scroll-calendar-left, + calendar-other-month, calendar-goto-date, calendar-goto-hebrew-date, + calendar-goto-julian-date, calendar-goto-islamic-date, + calendar-goto-iso-date): Use `calendar-current-date' instead of + buffer local vars current-month, current-day, current-year. + +1992-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * diff.el (diff-backup): New function. + (diff-last-backup-file): Renamed from dired-last-backup-file. + * dired-aux.el (dired-backup-diff): Use diff-backup. + (dired-last-backup-file): Moved and renamed. + * dired.el, dired-aux.el (dired-diff, dired-backup-diff): Doc fixes. + + * help.el (command-apropos): Fix call to apropos for new arg. + + * finder.el (finder-by-keyword): Rewrite to read args in `interactive' + and use with-output-to-temp-buffer. + + * startup.el (normal-top-level): Load site-start if it exists. + + * add-log.el (add-log-current-defun): In C, when moving back over arg + decls, stop at beg of buffer. + (add-change-log-entry): Likewise for blank lines at end of buffer. + + * picture.el (picture-mode-old-major-mode): Declared. + (picture-mode-old-mode-name, picture-mode-old-local-map): Likewise. + (picture-mode-map): Don't use aset directly; use define-key. + + * saveconf.el: File deleted. + + * rmail.el (rmail-search): Accept repeat count. + (rmail-search-backwards): New command, on M-r. + + * simple.el (previous-matching-history-element): New command. On M-r. + (next-matching-history-element): New command. On M-s. + +1992-07-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (c-beginning-of-statement): If in string or comment, + move by sentences. + + * compile.el (compile-history): New variable. + (compile): Specify history list copile-history, with + compile-command as initial contents. + (grep): Specify constant "grep -n" as initial input, + and history list grep-history. + (grep-command): Variable deleted. + + * replace.el (query-replace-read-args): New function. + It reads two args using query-replace-history. + (query-replace, query-replace-regexp, replace-string): + (replace-regexp): Use query-replace-read-args. + (map-query-replace-regexp): Read args using query-replace-history. + (perform-replace): Add local binding for `char'. + + * dired.el: Don't check for version 18. + (dired-file-version-alist): New defvar. + Use this instead of file-version-assoc-list. + (dired-shrink-to-fit): Default is always t. + (dired-internal-do-deletions): remove-directory => delete-directory. + + * abbrev.el (define-abbrevs): Bind name, hook, exp, count. + + * replace.el (perform-replace): Fix typo: match-after => match-again. + (map-query-replace-regexp): Delete duplicate definition. + + * subr.el (defun-inline): Commented out. + + * comint.el (comint-input-ring*): Renamed from input-ring*. + (ring-remove, ring-rotate): use setcar, not set-car. + * co-isearch.el: input-ring* renamed to comint-input-ring*. + + * tex-mode.el: Don't require comint. + * comint.el (make-comint): Make this autoload. + + * case-table.el (describe-buffer-case-table): Move the describe-vector + inside the let. + + * c++-mode.el (indent-c++-exp): Fix typo "innerloop-done". + Make last-depth local. + +1992-07-23 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * flow-ctrl.el: fixed set-input-mode call broken by new third + arg for meta control. + +1992-07-23 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (cursor-to-islamic-calendar-date, + cursor-to-hebrew-calendar-date): Add phrase "until sunset" to message. + + * calendar.el (calendar-goto-astro-day-number, + calendar-print-astro-day-number): New functions. + (calendar-mode): Put them on keys and describe them. + * diary.el (diary-astro-day-number): New function. + + * diary.el (diary-julian-date): New function. + +1992-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (current-kill): Ignore the interprogram paste feature; + it is wedged. + + * paths.el (mh-lib, mh-prog): Add more alternatives. + +1992-07-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emerge.el (emerge-startup-hook, emerge-quit-hook): + Renamed from ...-hooks. + + * dired.el (dired-display-file): New command, on C-o. + + * files.el (ctl-x-4-map): display-buffer is now C-x 4 C-o. + +1992-07-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): Look for a tags table + containing buffer-file-name's tags. + +1992-07-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (last-tag): New defvar. + (find-tag-noselect): Set and use it. + +1992-07-22 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * edebug.el, gnus.el, gnusmail.el, gnusmisc.el, gnuspost.el, + hideif.el, isearch-mode.el, mh-e.el, mhspool.el, netunam.el, + nnspool.el, nntp.el, scheme.el, xscheme.el: Removed RCS "$Header" + and "$Log" files; K. Richard Pixley says they + cause trouble with patches. + +1992-07-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (find-tag-noselect): Properly return + find-tag-in-order's value. + +1992-07-22 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * bytecomp.el: Removed relative jump instructions. + (byte-rel-goto-ops): Variable deleted. + (byte-compile-lapcode): Code to recognize potential relative jumps + and patch the PC into relative jumps removed. + * byte-opt.el (disassemble-offset, byte-decompile-bytecode-1): + Support for relative jumps removed. + +1992-07-22 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * Removed all Last-Modified headers. + +1992-07-21 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * files.el (trim-versions-without-asking): Non-nil, non-t value + suppresses all trimming of excess backups. This is so we can make + the @!%$@ question at save time go away.... + +1992-07-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (kill-ring-save): Display only if interactive-p. + + * c-mode.el (c-backslash-region): New command. + (c-append-backslash, c-delete-backslash): New functions. + * c++-mode.el (c++-macroize-region, backslashify-current-line): + Deleted. + (c++-comment-region, c++-uncomment-region): Deleted. + comment-region works just fine. + (c++-beginning-of-defun, c++-end-defun, c++-indent-defun): Deleted. + (c++-point-bol): Renamed from point-bol. + (c++-within-string-p): Renamed from within-string-p. + (c++-count-char-in-string): Renamed from count-char-in-string. + (fill-c++-comment): Renamed from fill-C-comment. + (c++-insert-header): Deleted. + +1992-07-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * inf-lisp.el: When creating inferior-lisp-mode-map, use + shared-lisp-mode-map, instead of calling the function + lisp-mode-commands; that doesn't exist any more. + (inferior-lisp-args-to-list): Recurse, rather than + calling tea-args-to-list, which doesn't exist. + (inferior-lisp-mode): Always call lisp-mode-variables with one + argument; there's no longer any need to adapt to different + versions of Emacs. + +1992-07-21 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-set-mode-line): New function. + (list-yahrzeit-dates): Use it for mode line. + * diary.el (simple-diary-display, fancy-diary-display): Use it for + mode line. + * diary.el (show-all-diary-entries): Use default mode line. + * lunar.el (calendar-phases-of-moon): Use it for mode line. + * holiday.el (list-calendar-holidays, calendar-cursor-holidays): + Use it for mode line. + +1992-07-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-remember-hidden): Fix typo in `following-char'. + + * add-log.el (add-change-log-entry): Avoid spurious whitespace + when making new entry. Delete excess blank lines. + Really don't use "ChangeLog" as the file name in the entry. + Always put a space after the colon. + (add-log-current-defun): Verify the defun actually contains point. + Handle the lines of a C function before the open brace. + + * rmail.el (rmail-undelete-previous-message): Don't catch errors. + + * simple.el (end-of-buffer): If buffer end is on screen, don't scroll. + + * c-mode.el (set-c-style): Deleted the first version of this function. + It was badly written. + Modified the remaining version by adding new argument GLOBAL + and setting the parameters locally if GLOBAL is nil. + +1992-07-21 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * Turfed r2bibtex.el. Refbib.el turns out to be a newer version + of the same package. + + * Installed co-isearch.el, new gud.el (1.19) + +1992-07-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * frame.el (get-frame): Renamed to get-other-frame; get-frame + sounds like a parallel to get-buffer or get-process. + + * c-mode.el (set-c-style): Remove the extraneous copy of this + function. + + * c++-mode.el (within-string-p): Use `%', not `mod', as the name + of the modulus function. + + * frame.el (frame-height, frame-width): Fixed several confusions + here. + + * blackbox.el: When building blackbox-mode-map, locally rebind all + keys to which the movement commands are bound to blackbox's + movement functions. Define the insert and kp-enter keys. + +1992-07-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * blackbox.el (blackbox): Doc fix. + (bb-outside-box): For some reason, this function was replaced by + the comment ";; blackbox.el ends here" + + * dired.el (dired): Doc fix. + +1992-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-send-and-exit): Just switch windows + if the next window is in Rmail mode. + +1992-07-20 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * simple.el (set-variable): If VAR has a `variable-interactive' + property, use it as an interactive spec to prompt for VAL. + * etags.el (tags-file-name): Give it a variable-interactive property. + + * etags.el (tags-table-format-hooks): Remove ctags-recognize-tags-table + * ctags.el: Removed. + (visit-tags-table): Don't call abbreviate-file-name. + (visit-tags-file): If find-file-noselect changed the file name, + propagate the change to tags-file-name and tags-table-list. + + * startup.el (command-line): Fixed typo in comment. + +1992-07-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-warnings): Include the full + documentation given in the comments at the top of the file in this + variable's docstring. + +1992-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-mark): Use prefix-numeric-value. + + * simple.el (kill-ring-save): Say "saved", not "killed", in messages. + Let message do the formatting. + + * fill.el (fill-individual-paragraphs): If MAILP, skip indented headers + and blank lines. + + * register.el (window-configuration-to-register): New function. + (frame-configuration-to-register): New function. + * loaddefs.el: Put them on C-x r w, C-x r f. + * window.el (window-config-to-register, register-to-window-config): + Deleted, along with keybindings C-x 6 and C-x 7. + +1992-07-19 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * cal-mayan.el: New file. The only functions visible to the + outside world are calendar-goto-mayan-date, + calendar-next-haab-date, calendar-previous-haab-date, + calendar-next-tzolkin-date, calendar-previous-tzolkin-date, + calendar-next-calendar-round-date, + calendar-previous-calendar-round-date, + diary-mayan-date, and cursor-to-mayan-calendar-date. + * diary.el: Autoload diary-mayan-date. + * calendar.el: Autoload the 7 "goto" functions. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + + * cal-french.el (french-calendar-month-name-array): Add accents to + month names. + (cursor-to-french-calendar-date): Add accents. + + * cal-french.el (calendar-goto-french-date): New function. + * calendar.el: Autoload it. + (calendar-mode-map): Put it on a key. + (calendar-mode): Describe it. + + * cal-french.el (diary-french-date): Moved from diary.el and fixed + accent. + * diary.el: Move dairy-french-date to cal-french.el and autoload it. + + * diary-insert.el: Move all diary inserting commands from diary.el + * diary.el: Move all diary inserting commands to diary-insert.el + * calendar.el: Change autoloads for all diary inserting commands + from diary.el to diary-insert.el. + + * calendar.el: Put ";;;###autoload" before calendar function and + before list-yahrzeit-dates function. + * holiday.el: Put ";;;###autoload" before holiday function. + * diary.el: Put ";;;###autoload" before diary function. + + * cal-french.el: New file. All French Revolutionary calendar + code from calendar.el has been moved here. + + * calendar.el: All French Revolutionary calendar code moved to a + new file, cal-french.el. Autoload cursor-to-french-calendar-date. + + * diary.el (list-sexp-diary-entries): Add mention of + diary-sunrise-sunset, diary-lunar-phase, and diary-sabbath-candles + to doc string. + + * calendar.el (list-yahrzeit-dates): Prompt for date of death if + not called from the calendar window. This function should now be + known to the outside world. + + * calendar.el (diary-file): Add mention of diary-sunrise-sunset, + diary-lunar-phase, and diary-sabbath-candles to doc string. + +1992-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bytecomp.el (compile-defun): Use displaying-byte-compile-warnings. + (byte-compile-warn): Don't display the warning now, just log it. + + * files.el (auto-mode-alist): Recognize .texi. + + * rmail.el (rmail-delete-forward): Removed the feature + of moving back if there's nowhere to go forward. + +1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): Call abbreviate-file-name on + the argument before setting tags-file-name. + + * files.el (automount-dir-prefix): New variable. + (abbreviate-file-name): Remove the automount prefix here, rather + than in find-file-noselect. Use automount-dir-prefix. + (find-file-noselect): Don't remove the automount prefix here; let + abbreviate-file-name take care of it. + +1992-07-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * Keywords added for [n-z]*.el. Finder now under construction. + +1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * rmail.el (rmail-insert-inbox-text): Generate an alternate name + to use for tofile by appending a `+' to file, not a `~'; files + ending with the latter may be deleted accidentally when space is + low. + +1992-07-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * Keywords added for [a-m]*.el. The keyword categories will + probably need some tuning, but at least this will suffice + for testing the finder code. + + * makefile.el, two-column.el, sgml-mode.el, resume.el, + mail-extr.el: Installed. + +1992-07-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Changed all copying notices to GPL version 2. + +1992-07-16 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * Finished decorating the library files with new standard headers. + +1992-07-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * disass.el: Require `byte-compile', not 'bytecomp'. + + * bytecomp.el (byte-compile-file): Correct parens in interactive + form so that it returns a list containing the filename and the + prefix argument, not just the prefix argument by itself. + + * bytecomp.el (byte-compile-file): Changed reference to + byte-compile-report-call-tree to use display-call-tree. + + * bytecomp.el (byte-recompile-directory, byte-compile-file, + batch-byte-compile, byte-compile, compile-defun, + display-call-tree): Added autoload cookies for these functions. + +1992-07-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el: Major rewrite with many new features. + * ctags.el: New file; goes with new etags.el. + +1992-07-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * byte-run.el (defsubst): Removed extra closing paren at the end + of this function. + +1992-07-16 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * At RMS's request, all occurrences of `elisp' changed to `Emacs Lisp'. + + * New library headers for [fghijklmn]*.el. First steps towards + keyword-based code finder via Keywords header. + +1992-07-15 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * New library headers for [opqrst]*.el. Ghod, this is boring. + +1992-07-15 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * lunar.el: New file. The only functions known to outside world + are calendar-phases-of-moon, diary-phases-of-moon, and + phases-of-moon. + + * calendar.el (calendar-mode): Put calendar-phases-of-moon on a key + and describe it. + + * diary.el: Autoload diary-lunar-phase. + +1992-07-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loaddefs.el: Added C-x a, C-x r and C-x n as prefixes. + Removed old C-x a, C-x g, C-x j, C-x n, C-x p, C-x r, C-x x, C-x w. + Also C-x /, C-x C-a, C-x C-h, C-x +, C-x -. + Added bindings for function keys insert-line, delete-line, delete-char. + + * bytecomp.el: Deleted support for running compiler in Emacs 18. + Spell "Emacs 18" properly. + (byte-compile-version): FSF 2.1. + (byte-compiler-valid-options): Deleted. + (byte-compile-single-version): Always return nil. + (byte-compiler-version-cond): Always return the argument. + + * loaddefs.el: Key bindings moved here. + * simple.el: From here. + +1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * byte-opt.el (byte-boolean-vars): Rebuilt for Emacs 19. + + * screen.el: Renamed to frame.el. The term is no longer `screen', + but `frame'. All variables and functions renamed. + * x-menu.el, window.el, sup-mouse.el, sun-mouse.el, subr.el, + startup.el, sendmail.el, register.el, prompt.el, mlconvert.el, + loadup.el, ispell.el, isearch.el, holidays.el, fortran.el, + files.el, etags.el, emerge.el, electric.el, edebug.el, dired.el, + diary.el, csharp.el, compile.el, comint.el, calendar.el, + buff-mune.el, bg-mouse.el, appt.el, abbrevlist.el, term/x-win.el, + term/wyse50.el, term/vt200.el, term/vt100.el: All uses changed. + * screen.el (screen-height, screen-width, set-screen-height, + set-screen-width): Defined as aliases for frame-height, + frame-width, set-frame-height, and set-frame-width. + (set-frame-height, set-frame-width): Functions deleted; they are + defined in frame.c. + +1992-07-14 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * [uvwxy]*.el: Added headers for new Emacs Lisp documentation + conventions. + +1992-07-14 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-mode): Change key bindings for all + functions to make them consistent with Version 19 requirements. + +1992-07-13 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * comint.el: minor changes to comments to reflect the fact that + comint has won its war and replaced shell mode. + +1992-07-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailsort.el: Change copyright to FSF; update permission notice. + + * byte-run.el: Delete compatibility definition of make-byte-code. + (byte-compiler-options): Commented out. + (proclaim-inline, proclaim-notinline): Commented out. + + * byte-opt.el: Change several doc strings to comments. + They had the wrong format anyway. + Delete the `require' and the test for wrong compiler version. + + * disass.el: Require just bytecomp, not byte-opt. + + * bytecomp.el (emacs-lisp-file-regexp): + Renamed from elisp-source-file-re. All uses changed. + (byte-compile-dest-file): Don't use that var. + (compile-defun): Renamed from elisp-compile-defun. + (byte-compile-report-ops): Define unconditionally. + It's a bad idea to make function definitions of moderate size + conditional on anything. + (byte-compile-and-load-file): Commented out. + (byte-compiler-valid-options): + Renamed from byte-compiler-legal-options. + (byte-compile-overwrite-file): Variable deleted. + (byte-compile-file): Don't use that var. + (byte-compile-compatibility): + Renamed from byte-compile-emacs18-compatibility. + (byte-compile-generate-emacs19-bytecodes): Variable deleted. + Use byte-compile-compatibility instead. + (byte-compiler-options-handler): Deleted. + (byte-compile-body-do-effect, byte-compile-form-do-effect): + Use defsubst, not proclaim-inline. + + * byte-opt.el: Renamed from byte-optimize.el. + * byte-run.el: Renamed from bytecomp-runtime.el. + * bytecomp.el, loadup.el: References to those files fixed. + + * bytecomp.el: Style corrected in calls to error. + Many doc strings corrected in style. + + * Repeated the following changes: + * bytecomp.el (byte-compile-file): Don't put file name in minibuffer. + (byte-compile-buffer): Function commented out. + +1992-07-13 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * loaddefs.el (completion-ignored-extensions): nconc together + list of common extensions and list of unix or vms-specific ones. + +1992-07-13 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * simple.el (kill-region): The variable `undo-high-threshold' has + been renamed to `undo-strong-limit'. Change its use here. + +1992-07-13 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (exit-calendar): Bury buffers instead of killing them. + + (european-calendar-display-form, american-calendar-display-form): + Make comma after day name conditional so it's available for more + general use. + (calendar-date-string): Make dayname nil instead of the empty string. + (cursor-to-julian-calendar-date, cursor-to-islamic-calendar-date, + cursor-to-hebrew-calendar-date, list-yahrzeit-dates): Use nodayname + form of display. + + * diary.el (diary-islamic-date, diary-hebrew-date, + insert-diary-entry, insert-anniversary-diary-entry, + insert-block-diary-entry, insert-cyclic-diary-entry, + insert-hebrew-diary-entry, insert-islamic-diary-entry): Use + nodayname form of display. + +1992-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (calculate-c-indent): Don't indent as argdecl + after apparent function decl inside a comment. + +1992-07-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * bytecomp.el: Replaced with Jamie Zawinksi's byte compiler. + * byte-optimize.el, bytecomp-runtime.el: New files, supporting + bytecomp.el. + * loadup.el: Load bytecomp-runtime into the dumped Emacs. + * disass.el: New version of the disassembler, to fit with the new + compiler. + + * mouse.el (mouse-select-buffer-line): Removed extraneous setting + of the variable `the-buffer'; it's never used elsewhere. + + * mouse.el (mouse-kill): Don't set the mark; pass point and the + click's position to kill-region directly. + +1992-07-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * abbrev.el (write-abbrev-file): Removed extraneous interactive spec. + + * screen.el (current-screen-configuration, + set-screen-configuration): New functions. + + * buff-menu.el (buffer-menu): Make ARG an optional argument. + + * screen.el (iconify): Call the function `make-screen-visible' + instead of `deiconify-screen'; the latter no longer exists. + + * files.el (find-backup-file-name): Replace the reference to + `backup-extract-version' with a literal `function' form. This + eliminates the use of dynamic binding, and allows us to remove + backup-extract-version, which doesn't really want to be its own + function. + (backup-extract-version): Function removed. + + * help.el (help-with-tutorial): Zap the value of + `buffer-auto-save-file-name', not `auto-save-file-name'. + + * loadup.el: Don't forget to garbage-collect after loading each + file. Yes, some of the files are small enough that it won't make + much of a difference, but there's no reason not to garbage collect + here (other parts of the build process are much slower), and these + files might grow. + + * startup.el (command-line): Comment out the code which chooses a + default value for split-window-keep-point; let's see if we can live + without this option. + +1992-07-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * terminal.el (te-set-escape-char): Improve messages. + +1992-07-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * etags.el (find-tag): Don't set tags-loop-form. + +1992-07-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-do-fcc): Call rmail-set-message-counters. + +1992-07-06 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * etags.el (visit-tags-table): Remove automounter prefixes before + setting tags-file-name. + +1992-07-06 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * Moved gdb.el to =gdb.el. The autoload generation for + loaddefs.el was getting screwed up by the conflicting autoloads + generated from gdb.el and gud.el. In any case gdb.el is obsolete; + we're using the gdb entry point of gud.el now. + + * Installed tq.el. + +1992-07-06 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * tex-mode.el (tex-file): Fix reference to tex-offer-save. + +1992-07-05 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * tex-mode.el: Require comint instead of oshell. + (tex-start-shell): Use comint, not oshell. + (tex-filter): Deleted function; no filter is now longer needed. + + * tex-mode.el (tex-run-command, latex-run-command, slitex-run-command, + tex-bibtex-run-command, tex-dvi-print-command, + tex-alt-dvi-print-command, tex-dvi-view-command): Change doc strings + to reflect the fact that `*' will be replaced by the file name. + (tex-send-command): New function to interact with comint subshell and + replace `*' by the file name. + (tex-file, tex-region, tex-print, tex-view, tex-bibtex-file, + tex-show-print-queue): Use tex-send-command to send commands. + + * tex-mode.el (tex-offer-save): New variable. + (tex-file): Offer to save buffers if tex-offer-save is t (default). + + * tex-mode.el (latex-block-names, standard-latex-block-names): New + variables. + (tex-latex-block): Use them to do completing-read for block name. + + * tex-mode.el (tex-last-temp-file): New variable to remember file + name for clean up. + (tex-shell-sentinel): New function--clean up when tex process dies. + (tex-delete-last-temp-files): New function to do the cleanup. + Add this function to kill-emacs-hook. + (tex-region): Do clean up of files from last invocation. + + * tex-mode.el (tex-insert-quote): Make it barf on read-only buffers. + + * tex-mode.el (tex-terminate-paragraph): Make it barf on read-only + buffers. + + * tex-mode.el (tex-insert-braces): Make it barf on read-only buffers. + + * tex-mode.el (tex-close-latex-block): Change void var `ERR' to `nil'. + + * tex-mode.el (tex-print): Use alternative printer when given prefix + arg. + + * tex-mode.el (tex-mode-load-hook): New variable. + Run-hooks on it. + +1992-07-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-in-progress): New variable. + Add it to minor-mode-alist. + (compile-internal): Cons the new process onto it. + (compilation-sentinel): Remove the dead process from it. + +1992-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tex-mode.el: New version from reingold. + + * files.el (save-buffers-kill-emacs): Consider open net connections + as possibly requiring a query. + +1992-07-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (recover-file): Pass -L option to ls, if file is link. + +1992-07-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * files.el (ctl-x-4-map): Bind `C-x 4 o' to display-buffer. + + * buff-menu.el (Buffer-menu-switch-other-window): New function, + bound to C-o in Buffer-menu-mode-map. + +1992-07-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cmutex.el: Deleted, following recommendation of reingold. + +1992-06-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * startup.el (command-line-1): Signal an error if the argument to + the `-insert' option isn't a string. + +1992-06-28 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * completion.el (completion-separator-self-insert-autofilling): + Changed references to `auto-fill-hook' to `auto-fill-function'. + * mh-e.el (mh-letter-mode): Same thing. + * texinfo-upd.el (texinfo-update-node, + texinfo-sequential-node-update): Same thing. + +1992-06-28 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * solar.el: New file. + The only functions known to outside world are calendar-sunrise-sunset, + diary-sunrise-sunset, diary-sabbath-candles, sunrise-sunset, and + calendar-holiday-function-solar-equinoxes-solstices. + + * calendar.el (calendar-holidays): Add equinoxes and solstices. + (calendar-mode-map): Add key for sunrise/sunset. + Add a new variables calendar-time-display-form, calendar-latitude, + calendar-longitude, calendar-location-name, calendar-time-zone, + calendar-standard-time-zone-name, calendar-daylight-time-zone-name, + calendar-daylight-savings-starts, calendar-daylight-savings-ends. + Add autoload of calendar-sunrise-sunset. + (calendar-mode): Add description of sunrise/sunset capability. + (calendar-version): Changed to 5. + + * diary.el: Autoload diary-sunrise-sunset and diary-sabbath-candles. + + * holidays.el: Autoload + calendar-holiday-function-solar-equinoxes-solstices. + +1992-06-27 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * info.el: Bindings for Info-goto-emacs-command-node and + Info-goto-emacs-key-command-node in help-map moved from here... + * help.el: to here. + + * compile.el (compile-internal): Make the buffer read-only, to + remind people that they probably don't want to mess with it. + (compilation-sentinel): Make the buffer temporarily writable, so + we can insert the termination message. + + * help.el, indent.el, paragraphs.el, isearch.el, replace.el: + Deleted autoload cookies from these files; they are all loaded + into Emacs by loadup.el. + * loaddefs.el: Removed autoload sections for the above files. + + * loaddefs.el: Put autoload sections in alphabetical order by file + name. + + * replace.el (perform-replace): Remember the match data from the + real occurrence found, and restore it before executing the + command. This preserves the match data across various other + matching we do, and protects it from mungement while we're waiting + for input. + + * loaddefs.el: Bind [M-right], [M-left], [M-up], and [M-down] to + backward-sexp, forward-sexp, backward-list, and forward-list. + +1992-06-26 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * holidays.el (calendar-holiday-list): Protect holiday evaluation from + bogus holidays on list. + +1992-06-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (outline-flag-region): Bind buffer-read-only to nil. + +1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * calendar.el, diary.el, holidays.el: Merged new versions from Ed + Reingold. + * calendar.el (mark-holidays-in-calendar, + all-hebrew-calendar-holidays, all-christian-calendar-holidays, + all-islamic-calendar-holidays, list-diary-entries-hook, + diary-display-hook, nongregorian-diary-listing-hook, + nongregorian-diary-marking-hook, diary-list-include-blanks): Added + autoload cookie for these; Reingold's distribution suggests that + these variables are ones that you are especially likely to want to + customize. + * holiday.el (holidays): Added autoload cookie for this. + +1992-06-25 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el (diary-rosh-hodesh): Change mod to % in two places. + +1992-06-24 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * holidays.el (calendar-holiday-function-fixed, + calendar-holiday-function-float. calendar-holiday-function-julian, + calendar-holiday-function-islamic, calendar-holiday-function-hebrew): + Correct documentation strings. + + * holidays.el (calendar-holiday-function-greek-orthodox-easter): + New function. + + * calendar.el (calendar-holidays): Add Greek Orthodox Easter to + all Christian holidays list. + + * calendar.el: + calendar-load-hook: New variable; use it with run-hooks. + calendar: Describe use of calendar-load-hook. + +1992-06-23 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * autoload.el: The docstring is the third element of a `defun' + form, not the second. + +1992-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): Don't assume any indentation + for a one-line paragraph. + + * dired.el: Complete rewrite, mostly by sk@thp.uni-koeln.de. + * dired-aux.el: Other parts of dired. + + * files.el (enable-local-eval): Renamed from `ignore-local-eval'; + now has values like `enable-local-variables'. + (hack-local-variables): Test `enable-local-eval' properly. + +1992-06-22 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * autoload.el (generate-file-autoloads): Do attach a + `doc-string-elt' property to `defun', `defvar', `defconst', and + `defmacro'; since the files with ";;;autoload" cookies in them are + never loaded into the dumped Emacs - otherwise, why would you be + autoloading them?. + +1992-06-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): + Handle fill-prefix wider than fill-column. + Ensure we keep at least one word on each line. + Also don't break after a period followed by just one space. + +1992-06-21 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * screen.el (ctl-x-5-map): Removed declaration and initialization + of this here; it's done in subr.el, alongside ctl-x-4-map. + + * autoload.el (generate-file-autoloads): If FILE is in the same + directory as the current buffer's file, or a subdirectory thereof, + change FILE to be a path relative to the current buffer's file. + This will allow `update-autoloads-here' to find a section's file + even if the Emacs tree has been moved, as it would be when + installed on a different system. + +1992-06-19 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * upd-copyr.el (update-copyright): Grok abbreviated years. + +1992-06-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * lisp-mode.el (indent-sexp): The local variable `last-point' was + being asked to do double-duty - `calculate-lisp-indent' needs to + be given a location guaranteed to be outside of the current + s-expression, but the outer loop (according to the change made Dec + 21 1989) needs to know where point was at the top of the loop. + Added variable `starting-point' for `calculate-lisp-indent' to + use. + + * lisp-mode.el (indent-sexp): Change the `while' loop to an `if', + using `make-list' and `-' instead of `(list nil)' and `1+'. + +1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * edebug.el (edebug-debug): Added autoload cookie for this. + + * etags.el (find-tag-other-frame): New function. Bind it to + `C-x 5 .'. + +1992-06-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * compile.el (compilation-error-regexp-alist): Tightened up the + regular expressions designed to match lint pass 2 and lint pass 3 + error messages. These were too loose; they were matching the + "grep exited 00:06:20" messages at the end of the buffer. + +1992-06-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * upd-copyr.el (update-copyright): Do nothing if + inhibit-update-copyright is non-nil. If the user answers "no", set + that to t locally. + (inhibit-update-copyright): New defvar. + +1992-06-15 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mailabbrev.el: New version from jwz. + +1992-06-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * compile.el (compilation-enter-directory-regexp, + compilation-leave-directory-regexp): In strings, replace uses of + "\\\(" or "\\\)" with "\\(" or "\\)". + (compilation-error-regexp-alist): Remember to include newlines in + all the complemented character sets; none of these should match + across a newline. + +1992-06-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * isearch-mode.el (isearch-forward): Remove sentence from doc + string claiming that the key bindings are controlled by variables + named `search-FOO-char'. That was true of the old isearch.el, but + now the keymap `isearch-mode-map' controls special characters in + isearch-mode. + + * blackbox.el (blackbox): Added ;;;###autoload cookie. + + * add-log.el (change-log-mode): Integrated some code from the + `change-log-mode' function in `text-mode.el'. Docstring now + mentions that it prevents numeric backups, and sets `left-margin' + and `fill-column'. Code now actually sets `left-margin' and + `fill-column', as advertised. + * text-mode.el (change-log-mode): Function deleted, since it's + been superceded by the one in add-log.el. + +1992-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnus.el (gnus-start-news-server): Criterion for using the local + news spool is now that gnus-nntp-server is "::". + +1992-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnus.el (gnus-nntp-server): Eval gnus-default-nntp-server only + if bound. + +1992-06-12 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * isearch-mode.el: New package, which will probably supercede + isearch.el. + (isearch-mode-map, isearch-mode-meta-map): When initializing + these, remember that vectors are no longer keymaps. + (isearch-update): unread-command-char is no longer -1 when + there is no unread character - it's nil. + + * simple.el (interprogram-paste-function): Add the stipulation + that the function this points to should return nil if Emacs sent + the most recent string for interprogram pasting; the function + should never return the same string Emacs posted with + `interprogram-cut-function'. + * term/x-win.el (x-last-selected-text): New variable. + (x-select-text): Set it, so we can check later against returning + it. + (x-cut-buffer-or-selection-value): Check it, to make sure we don't + return our own text. + +1992-06-12 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * simple.el (current-kill): Fixed misnamed parameter and + reorganized code slightly. + +1992-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailout.el (rmail-output): Get date using mail-fetch-field. + +1992-06-10 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compile-internal): Do buffer-disable-undo here. + (compilation-mode): Not here. + +1992-06-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * simple.el (rotate-yank-pointer): Move the guts of this to + current-kill, and get rid of the optional DO-NOT-MOVE argument. + (current-kill): Rotate the yank pointer here. + +1992-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * subr.el (one-window-p): Rename argument ARG to NOMINI, so + that the docstring will agree with the argument list generated + by make-docfile.c. + + * simple.el (kill-region): Undo May 20th change - add back + Roland McGrath's hack of June 17, 1991, which allows + kill-region to work on read-only buffers - in read-only + buffers, it acts just like copy-region-as-kill. + +1992-06-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * electric.el (Electric-command-loop): Set last-command after each cmd. + + * server.el (server-buffer-clients): Add permanent-local property. + +1992-06-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * csharp.el (c-find-nesting): Renamed from csharp-find-nesting. + Add autoload. + All other functions in this file renamed to start with c-find-nesting. + +1992-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.el (split-window-keep-point): Make it t by default. + +1992-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (delete-blank-lines): Handle special case near eob. + +1992-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (universal-argument): Don't call describe-arg. + Pass t as 2nd arg to read-key-sequence. + (prefix-arg-internal): Likewise. + +1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * startup.el (command-line): Run after-init-hook. + Renamed pre-init-hook to before-init-hook for consistency with + e.g., before-change-function. + (after-init-hook): New defvar. + * screen.el: Use before-init-hook instead of pre-init-hook. + +1992-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el: Doc fix. + +1992-06-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * info.el (Info-enable-edit): Now a user option. + +1992-06-03 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-signature): Suppress move to end of buffer if + we gave a prefix argument (requested by Bob Chassell). + +1992-06-03 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): Match the file name followed + by a colon in an existing entry. + To find a blank line, search for one containing only whitespace, + not two consecutive newlines. + When adding to an existing entry, open a line and indent. + +1992-06-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * add-log.el (change-log-mode): Set version-control to 'never + locally. Set adaptive-fill-regexp. Make paragraph-separate + match date lines. + + * bytecomp.el (byte-compile-file): Don't put file name in minibuffer. + (byte-compile-buffer): Function commented out. + + * lisp-mode.el (lisp-indent-line): Keep point unchanged in ;;; + line. + +1992-06-02 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): If the visited file is in + the directory tree under the directory containing the change + log file, insert the path to it from there, rather than just + the file name. Also removed setq of random variable + `formatted-revision'. + +1992-06-02 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * yow.el: Somehow, the semicolons introducing the comment on the + first line disappeared. Put them back. + +1992-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (eval-current-buffer): Add as alias for eval-buffer. + + * calendar.el (calendar): Add an autoload. + * cal.el: File deleted. + +1992-06-02 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * add-log.el: Fixed copyright years to not use a range. + (change-log-mode): Added docstring. + (add-change-log-entry): Put a space between the file name and + "(function name):". Put a colon after the file name if we have + found no function name. + +1992-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * edebug.el (edebug-eval-buffer): New function. + Install it in place of eval-buffer if eval-buffer is defined. + (edebug-eval-current-buffer): Define this, not eval-current-buffer. + Use fset to install it in place of eval-current-buffer. + ??? mlconvert.el needs fixing too. + + * ispell.el: Add some autoloads. + (ispell-word): Accept prefix arg, meaning do ispell-next. + +1992-06-01 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * simple.el (current-kill): Name the variable which holds the + value from other programs to be pasted interprogram-paste, not + interprogram-cut. + + * files.el: Bind find-file-other-screen to C-x 5 C-f as well as + C-x 5 f, for symmetry with C-x C-f. + +1992-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * asm-mode.el (asm-mode-map): Don't override RET. + + * teco.el: Rename `teco:' to `teco-' in all symbols. + (teco-command): Make it autoload. + + * edebug.el (edebug-defun): Make it autoload. + + * hexl.el (hexl-save-buffer): Return t. + (hexl-mode): Put hexl-save-buffer in write-contents-hooks. + (hexl-mode-map): Put the 1k page commands on C-x [ and C-x ]. + + * diff.el: Doc fix. + + * fill.el (fill-region-as-paragraph): Treat } like closeparen. + If a fill prefix is specified globally, always use that one. + + * flow-ctrl.el (evade-flow-control-memstr=): Renamed from memstr=. + +1992-05-31 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * bibtex.el: merged in alarson's changes + + * simula.el: replaced Bj|rn Hessen's version with Hans Henrik + Eriksen's improved version (both of them wanted it this way). + +1992-05-31 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * subr.el (lambda): Added docstring. + +1992-05-31 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * gdb.el nuked --- subsumed by gdb entry point of gud.el + + * dbx.el nuked --- subsumed by dbx entry point of gud.el + + * session.el nuked --- saveconf.el is better + + * add-log.el now contains the add-log-new.el changes which merge + consecutive entries by the same user on the same day and try to + auto-generate both the file key and function changed fields --- the + old version still exists in the ~n~ files if this loses, but + the code looks good. + +1992-05-30 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * profile.el: installed + + * cus-print.el: installed + +1992-05-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * startup.el (normal-top-level): Call abbreviate-file-name instead + of writing out its code. + + * comint.el: Merged with Olin Shivers' comint version 2.03. + (comint-version): Changed accordingly. + (comint-previous-input-matching): Bind this to c-m-r, rather + than c-c c-r. + (comint-exec-hook): Make this variable buffer-local. + (comint-exec): Put the code which feeds the startfile to the + inferior inside the let which binds ``proc'', as suggested by + the indentation. + (comint-read-noecho): New optional argument STARS, which + causes input to be echoed with '*' characters on the prompt + line. + (send-invisible): Change prompt from "Enter non-echoed text: " + to "Non-echoed text: ". This conforms with the convention + used by existing prompts, and gives more room to type stuff. + + * comint.el (comint-last-input-start): New varible. In + particular, this helps support subprocesses that insist on echoing + their input. Added comments to porting guide indicating that + this should probably not be used for implementing history stuff. + (comint-mode): Create and initialize comint-last-input-start as a + buffer-local var. + (comint-send-input): Set comint-last-input-start when we send the + input. + Porting documentation at end of file adjusted to describe the + differences between the old shell mode's last-input-start variable + and comint-last-input-start. + * telnet.el (telnet-send-input): If telnet-remote-echos is + non-nil, use comint-last-input-start and comint-last-input-end to + delete the input we just sent. + +1992-05-29 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * simple.el (append-to-buffer): When called interactively, default + to (other-buffer nil t). This way, it will offer to insert into + the buffer in the other window. + +1992-05-27 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * term/x-win.el (x-cut-buffer-or-selection-value): New function. + Set interprogram-paste-function to use it. + (x-select-text): For backwards compatibility, set cut buffer 0 as + well as claiming ownership of the other selections. + +1992-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (indent-new-comment-line): Change handling of + comment-multi-line (which is effectively obsolete now). + +1992-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (set-selective-display): Keep vpos of point constant. + +1992-05-24 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (list-yahrzeit-dates): New function. + (hebrew-calendar-yahrzeit): Moved from diary.el. + + * diary.el (hebrew-calendar-yahrzeit): Moved to calendar.el. + diary-ordinal-suffix: Give correct suffix for 111, 112, 113, 211, + 212, 213, etc. + +1992-05-21 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * mouse.el: Emulate the Emacs 18 mouse button bindings for now. + (mouse-yank-at-click): New function. + + * term/x-win.el (x-select-text): Don't bother to check if the + window system is X; if it isn't, then this function would never + have been defined, let alone called. Is this right, Joe? + + * simple.el (interprogram-paste-function): New hook, for getting + the current pasting text from the window system. + (kill-ring): Doc fix, encouraging people to use the functions + below instead of manipulating the kill ring directly, since the + functions correctly deal with interprogram cutting and pasting. + (kill-new): New function. + (kill-append): Added doc string. Be sure to call the + interprogram-cut-function on the new string. + (current-kill): New function. + (rotate-yank-pointer): New optional argument do-not-move, to + support vi.el and vip.el's style of ring access. + (kill-region, copy-region-as-kill): Call kill-new, instead of + writing out all the logic. + (yank-pop): Use current-kill, rather than assuming that + kill-ring-yank-pointer points to the text you should use. + (yank): Use current-kill, instead of calling rotate-yank-pointer + and then fetching through the kill-ring-yank-pointer. + * vi.el (vi-put-before): Instead of figuring out the index into + the kill-ring and fetching directly, call current-kill. + * vip.el (vip-put-back, vip-Put-back, ex-copy): Use current-kill, + don't access the kill ring directly. + * term/x-win.el: Set interprogram-paste-function to + 'x-selection-value. + * sun-fns.el (mouse-yank-at-point): Instead of rotating the yank + pointer one spot and then accessing the kill ring directly, just + call the function current-kill with an argument of one. + + * simple.el (kill-ring-save): Blink to the other end of the saved + region, if it's on the screen, or print out the text if it's not, + instead of printing the number of characters saved. Nobody cares + how many characters were saved, and it's hard to interpret + intuitively. + + * screen.el (ctl-x-3-map): Renamed to ctl-x-5-map, and now bound + to C-x 5, not C-x 3. This makes a nicer analogy with C-x 4. + Moving split-window-horizontally to C-x 3 also makes a nicer + analogy with C-x 2. + * files.el, sendmail.el, subr.el: Uses of ctl-x-3-map here + renamed. + * window.el: Binding of split-window-horizontally moved from C-x 5 + to C-x 3. + +1992-05-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * simple.el (kill-region): This used to forgo actually deleting + the region if the buffer was read-only, meaning that the command + would silently copy the region to the kill ring, but leave the + buffer unmodified. Now it tries to delete the region, even if the + buffer is read-only; go ahead and get the error. + +1992-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (one-window-p): If arg is t, completely avoid minibuffer. + +1992-05-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * version.el (version): New alias for emacs-version. + +1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * startup.el (normal-top-level): Typo: s/getev/getenv/. + +1992-05-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * subr.el (lambda): Define this as a macro which wraps the lambda + expression in a (function ...) quoter. This means that you don't + need to write out the cursed ``function'' any more. It might be + cleaner to simply change the way the interpreter and compiler + treat lambda. + + * loadup.el: Disable undo recording in scratch while we load all + the files; re-enable them before we dump. + +1992-05-12 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * startup.el (normal-top-level): If (getenv "PWD") or (getenv + "HOME") refer to the same directory as default-directory, change + default-directory to the shortest of the three. + + * disass.el (disassemble-internal): Use indirect-function instead + of just looping. + +1992-05-12 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * simple.el (kill-region): Call the interprogram-cut-function if + it's non-nil. + + * term/x-win.el (x-select-text): New function for selecting text, + asserts both PRIMARY and CLIPBOARD selections. + +1992-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ftp.el (ftp-command): Correctly ignore lines without status codes. + + * fill.el (fill-individual-paragraphs): Choice of two modes, + controlled by fill-individual-varying-indent. + +1992-05-05 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * files.el (save-some-buffers): Use save-excursion around whole + fn, rather than several inside. + +1992-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * terminal.el (terminal-emulator): Use process-enironment, not env. + Get rid of code that used start-subprocess. + +1992-05-03 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * mailabbrev.el (mail-abbrevs-v18-munge-map): Use define-key + instead of making up an extra alist and nconcing it onto the keymap. + +1992-05-02 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (generate-calendar-month): Center heading over each + month. + +1992-04-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * loaddefs.el: Moved (put 'narrow-to-page 'disabled t)... + * page.el: To here. + +1992-04-28 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * mh-e.el (mh-signature-file-name): New variable. + (mh-insert-signature): Use it. + +1992-04-27 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * mailabbrev.el: New version from jwz. + +1992-04-26 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * loaddefs.el: Removed (put 'narrow-to-region 'disabled t). + It is done in simple.el. + +1992-04-25 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * dired.el (dired-mode): Make the modeline display the entire path + of the directory, not just the buffer name. + +1992-04-24 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * flame.el: Add "flame-" prefix to internal functions, to conform + with the naming conventions of the rest of Emacs. + +1992-04-21 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * doctor.el (doctor-svo): Deleted second expression from top let + binding; it used to read "(let ((foo sent)) ...)"; let + bindings can only have one expression. + + * flame.el: We might as well (provide 'flame). + +1992-04-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * startup.el (normal-top-level): Don't change default-directory to + (getenv "PWD") unless they actually refer to the same directory. + + * rmail.el (rmail-unix-mail-delimiter): Doc fix. + +1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * rmail.el (rmail-unix-mail-delimiter): Don't bother giving this a + docstring; move it to a comment. + +1992-04-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cmacexp.el: Doc fix. + +1992-04-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * simple.el (reindent-then-newline-and-indent, + newline-and-indent): Call the newline function instead of saying + (insert ?\n), so that auto fill mode will break lines correctly. + + * upd-copyr.el (update-copyright): Used to not change the + copyright version when user elected to update the copyright year, + but would change it when user decided not to update. Now doesn't + do anything unless user gives permission, and when the user does + give permission, does everything. + + * rmail.el (rmail-unix-mail-delimiter): New variable. + (rmail-convert-to-babyl-format): Use it to recognize the start of + an mbox message. + (rmail-nuke-pinhead-header): Same. + +1992-04-15 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-find-buffer): Optional non-nil arg says + to try to find some buffer other than the current one. + +1992-04-10 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * holidays.el (calendar-cursor-holidays): Signal error when cursor + is not on a date. + +1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * doctex.el, gdb.el, mh-e.el, vip.el: Use + point{,-min,-max,-marker} functions instead of + dot{,-min,-max,-marker}. + +1992-04-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * mailabbrev.el (mail-abbrev-expand-hook): Rewritten so it won't + loop if a single address doesn't fit within fill-column. + +1992-04-05 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * mailabbrev.el (sendmail-v18-self-insert-command): Just pass arg + to sendmail-pre-abbrev-expand-hook. + (sendmail-pre-abbrev-expand-hook): Take optional arg; if non-nil, + call self-insert-command with it, and don't do expand-abbrev; just + +1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * lpr.el (lpr-command): Make this variable settable. + +1992-04-03 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * files.el (revert-buffer): Reverse the sense of the prefix + argument; by default, do not offer to revert from the auto-save + file. + +1992-04-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (write-contents-hooks): New variable. + (basic-save-buffer): Use write-contents-hooks like write-file-hooks. + +1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * bytecomp.el (byte-compile-let, byte-compile-let*): Signal an + error message if a binding has more than one value form. + + * sendmail.el (mail-position-on-field): Search for the mail header + separator only occurring at the beginning of a line. Insert new + headers correctly even if there are no other headers. + + * loadup.el: When finding pointers to doc strings, place the doc + file in ../etc, not ../share-lib. It's been renamed. + +1992-03-24 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mailabbrev.el: New version from jwz. + + * mailabbrev.el (mail-abbrev-expand-hook): If an address in the + expansion begins with a /, turn it into an FCC header. + + * mailabbrev.el: Major rehacking. Should work in 18 and 19. + +1992-03-23 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * simple.el (copy-region-as-kill): Doc fix. + +1992-03-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Moved provide clauses to bottom of every elisp file that + contains one. + + * simple.el (undo): Don't print the "Undo!" message if we're in + the minibuffer. + +1992-03-16 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * upd-copyr.el (update-copyright): Don't update the GPL version or + replace the notice if the user said not to update the copyright. + +1992-03-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * sendmail.el (mail-fcc): New function. + (mail-mode-map): Bind C-c C-f C-f to mail-fcc. + + * sendmail.el (mail-position-on-field): Recognize the + mail-header-separator string, even when it's at the beginning of + the buffer. + +1992-03-11 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Doc fix. + +1992-03-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * upd-copyr.el (update-copyright): Take two new optional args, to + ask the user whether to update, and whether to replace the year. + When asking the user, narrow it down to things that look like GPL + notices. + (ask-to-update-copyright): New function, meant to be put on + write-file-hooks. + +1992-03-05 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-mode-hook): New variable. + (compilation-mode): Run it. + (compilation-search-path): Made user variable, added autoload cookie. + (compilaton-window-height): Added autoload cookie. + +1992-02-27 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * hack-local-variables: Don't take a FORCE argument; it's as easy + to bind enable-local-variables to t for a while as it is to pass + an extra argument, and it's cleaner. + * normal-mode: Instead of passing the FORCE argument, bind + enable-local-variables. + + * set-auto-mode: Don't check for the -*- mode tag if + enable-local-variables is nil. + + * loaddefs.el (auto-mode-alist): There's no reason for this + definition and initialization to be here; moved it to... + * files.el: Here. + +1992-02-21 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * telnet.el (read-password): Let the quit character terminate + password entry. + +1992-02-07 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * info.el: Doc fix. + +1992-01-27 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * simple.el (universal-argument): Read key sequences, not single + keys. Renamed `c-u' to `factor'. Describe the argument in the + minibuffer as it is read. + (prefix-arg-internal): Same changes here. Renamed CHAR argument + KEY, to reflect the fact that it can now be an event sequence. + (describe-arg): New function (actually, uncommented). + (digit-argument, negative): Call prefix-arg-internal with a + string for KEY argument, not a character. + + * simple.el (digit-argument): Strip off high bit of + last-command-char. + +1992-01-17 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * term/tvi970.el: New file. + +1992-01-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * screen.el: Don't automatically bind C-z to iconify; this is + inappropriate on terminals. + * term/x-win.el: Bind C-z to iconify here. + +1992-01-15 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * term/wyse50.el: Rewritten to use function-key-map. + + * simple.el: Include bindings for [up], [down], [left], and [right]. + +1992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * setenv.el: New file. + + * simple.el (x-select-kill): Variable removed. + (interprogram-cut-function): New variable. + (copy-region-as-kill): Use it. + + * term/new-at386.el: Rewritten to use function-key-map. + +1992-01-10 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * flow-ctrl.el: installed. + +1992-01-08 Jim Blandy (jimb at occs.cs.oberlin.edu) + + * simple.el (temporary-goal-column): Added missing closing paren. + +1991-12-25 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * mail-utils.el (mail-strip-quoted-names): Return nil if given nil. + +1991-12-23 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * debug.el (cancel-debug-on-entry): Complete over debugged functions. + +1991-12-21 Jim Blandy (jimb at occs.cs.oberlin.edu) + + * at386.el: Moved to term/at386.el, changed to use + function-key-map. + +1991-12-20 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * term/news.el, term/vt100.el: Converted to use function-key-map + instead of old keypad.el. + * term/sun.el: Console key sequences converted to use + function-key-map; emacstool bindings left alone. + +1991-12-16 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * mailabbrev.el: New file. + * sendmail.el (mail-setup): Delete code for mail-aliases. + Call mail-aliases-setup instead. + (sendmail-send-it): Delete code for mail-aliases. + (build-mail-aliases, expand-mail-aliases): Autoloads deleted. + +1991-12-14 Eric S. Raymond (eric at mole.gnu.ai.mit.edu) + + * etags.el (find-tag-noselect): fixed subtle bug due to + save-excursion. + + (tags-tag-match): new function, made smarter about exact matches. + +1991-12-13 Eric S. Raymond (eric at mole.gnu.ai.mit.edu) + + * perl-mode.el: installed. + +1991-12-13 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * sendmail.el (mail-default-headers): New user variable. + (mail-setup): Insert value of that variable. + +1991-12-11 Eric S. Raymond (eric at mole.gnu.ai.mit.edu) + + * c-mode.el: added C++ style to c-style-alist. + + * at386.el: installed. + +1991-12-09 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * man.el (nuke-nroff-bs): Simplify o^H+. Delete "reformatting" msg. + +1991-12-08 Eric S. Raymond (eric at mole.gnu.ai.mit.edu) + + * blackbox.el: Applied doc patch. No functions affected. + + * etags.el: support new (find-tag-noselect) entry point. + + * info: patched to restore point on `up' to previously visited buffer. + + * sccs.el: installed 3.5 + +1991-12-08 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * simple.el (universal-argument): If there is already an argument + specified, don't toss it and read a new one; instead, end argument + processing and read the next key literally. + (digit-argument, negative-argument): Doc fix. + + * tar-mode.el (tar-subfile-save-buffer): Use the new current-time + subr to generate real timestamps. + (tar-update-datestamp): Remove docstring paragraph that claims the + feature is not implemented. Remove similar paragraph from TO DO + list at top of file. + +1991-12-08 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * diff.el (diff-internal-diff): New subroutine. + (diff): Removed from here. + (diff-sccs, diff-rcs): New commands using diff-internal-diff. + (diff-rcs-extension): New variable. + +1991-12-05 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * apropos.el, doctex.el, help.el, paths.el, spook.el, yow.el: + These files expected to find their data in exec-directory, but + their data is now located under data-directory. Changed to use + data-directory as appropriate. + * loadup.el: Changed to use the appropriate path names. + +1991-12-02 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * mailalias.el (define-mail-alias): Handle quoted aliases. + +1991-11-30 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * simple.el (prefix-arg-internal): Make C-u end the arg. + Doc fixes on the argument commands. + +1991-11-28 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * emacsbug.el (report-emacs-bug): Now autoloaded. + +1991-11-24 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * simple.el: Doc fix. + +1991-11-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * startup.el (command-line): Don't bother catching errors that + occur while the window system file is loading; cmd_error can now + properly handle errors that occur before screens are set up + properly. + + * startup.el (command-line): baud-rate is a variable, not a + function. + +1991-11-14 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * info.el (Info-mode): Mention Info-directory in the list of + commands in the docstring. + (Info-follow-nearest-node): Rebalance parens. + +1991-11-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * find-dired.el: New version munged by sk for tree dired. + +1991-11-06 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * screen.el (screen-initialize, screen-notice-user-settings): + Renamed global-minibuffer-screen to default-minibuffer-screen. + +1991-11-05 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * diary.el (diary-rosh-hodesh): Add Erev Rosh Hodesh to the diary, + as needed. + +1991-10-31 Richard Mlynarik (mly at peduncle) + + * ebuff-menu.el (eletric-buffer-menu-mode-map): Define + < and > to scroll-left and scroll-right per user suggestion. + +1991-10-31 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * files.el (cd): Don't bother calling pwd after changing the + directory. + + * shell.el (shell-mode): Doc fix. + + * screen.el (screen-notice-user-settings): When replacing the + initial screen with a minibuffer-only screen, append the original + screen's parameters to initial-screen-parameters, so that moves + and resizes may take place if appropriate. + + * cmushell.el: This is now the real shell.el. Removed the "cmu" + prefix from names. + (shell): Marked this to be autoloaded. + +1991-10-29 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * files.el (find-file-noselect): Extract filename abbreviation + code into separate function. + (abbreviate-file-name): This is that. + + * files.el (after-find-file): If the directory containing the file + doesn't exist, offer to create it. + (make-directory-path): New function to support this offer. + +1991-10-28 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * macros.el (apply-macro-to-region-lines): Use a marker to keep + track of the next line to operate on, so the macro can delete or + add lines. + +1991-10-26 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * disass.el (disassemble): Correctly distinguish functions with no + interactive spec and functions that are (interactive). Correctly + extract components of explicit calls to byte-code (old-style + compiled functions). Correctly pass byte code of function to + disassemble-1. + (disassemble-1): Use nth to extract components of explicit call to + byte-code, not car and cdr. + +1991-10-25 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * lisp-mode.el (eval-print-last-sexp): Saying (terpri + (current-buffer)) after evaluating the expression does bad things + if the expression changes the current buffer, so bind + standard-input to the buffer that is current before evaluation. + +1991-10-21 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-buffer-name-function, + compilation-finish-function): Add autoload cookie for these. + +1991-10-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * info.el (Info-follow-nearest-node): Adjusted for new return + value format from coordinates-in-window-p. + +1991-10-08 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * add-log.el (change-log-name): New fn. + (add-change-log-entry, add-change-log-entry-other-window): All + args optional. FILE-NAME defaults to new var + `change-log-default-name'. Give this var a local value in the + buffer we were run from, pointing to the file we found. + +1991-10-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-buffer-p): New fn. + (compilation-find-buffer, compile-goto-error): Use it. + +1991-10-05 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * compile.el (compile-internal): Don't make state vars local. + (compilation-mode): Do it here. + (compilation-parse-errors-function, compilation-error-message): + Give initial values. + (compile-goto-error): Look for compilation-error-list rather than + compilation-parse-errors-function in the buffer-local variables + to see if this is a compilation buffer, because the latter might + not be local. + +1991-10-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * files.el (revert-buffer): Call verify-visited-file-modtime with + one arg (the current buffer), instead of none. + +1991-10-04 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * rmail.el: Changed two regexps not to look specifically for 19yy + for years; look for yyyy instead. Planning for the millenium. + +1991-10-03 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * version.el (emacs-version): (From Bob:) Take optional arg + (prefix arg) to insert version text at point. + +1991-09-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * info.el (Info-default-directory-list): defvar this instead of + defconsting it, so paths.el can set it. + +1991-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Fixed for lists containing nil. + +1991-09-10 Roland McGrath (roland@wookumz.gnu.ai.mit.edu) + + * autoload.el (batch-update-autoloads): Use catch and throw to + give up on a file altogether if it gets an error. + + * autoload.el (update-file-autoloads): Always check the old section. + If the file has no cookies, it will be deleted and not replaced. + +1991-09-08 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * simple.el (line-move): After C-e, do consider eol of blank line. + Don't treat start of blank line as eol. + +1991-09-07 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * fill.el (fill-individual-paragraphs): + Find a fill-prefix that works for the whole paragraph. + + * simple.el (line-move): Don't treat start of blank line as eol. + +1991-09-03 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * debug.el (debugger-step-through): Fix message typo. + +1991-09-02 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * server.el (server-start): Delete old socket in /tmp as well as in ~. + +1991-08-26 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * abbrev.el, chistory.el: Remove periods from error messages. + +1991-08-25 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * help.el (describe-function, describe-variable): + Return the same text as was displayed. + + * files.el: Doc fix. + + * files.el: Don't require map-ynp. + * map-ynp.el: No need for provide. + * loadup.el: Load map-ynp. + +1991-08-23 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (calendar-last-day-of-month, calendar-leap-year-p, + calendar-day-number, calendar-absolute-from-gregorian): Change + from functions to macros for speed. + +1991-08-22 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * files.el (find-backup-file-name): + (apply fun (cons first rest)) => (apply fun first rest). + Come on, guys. + +1991-08-20 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * rmail.el (rmail-convert-to-babyl-format): Roland added the + missing paren in the wrong place; fixed. + + * screen.el (screen-initialize): Added missing `function' around + lambda expression. + +1991-08-20 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * files.el (switch-to-buffer-other-screen, + find-file-read-only-other-screen): Remove extra parens. + + * rmail.el (rmail-convert-to-babyl-format): Add missing paren. + +1991-08-19 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (redraw-calendar): Preserve cursor location in + redrawing. + (extract-calendar-month, extract-calendar-day, + extract-calendar-year): + Change from functions to macros to speed up computation. + + * holiday.el: + calendar-holiday-function-rosh-hashanah-etc: Correct date of Selichot. + +1991-08-18 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * rmail.el (rmail-convert-to-babyl-format): + If can't find end of babyl header or babyl message, + try to resync with next ordinary message. + +1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * doctor.el (doctor-strangelove): New fn. + (doctor-member): Removed. + (doctor-doc): Use member instead of doctor-member. + (doctor-rms): Restored. + +1991-08-16 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * term/x-win.el: Removed obsolete definitions for function keys. + +1991-08-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * screen.el (screen-create-initial-screen): Renamed to + screen-initialize. Arrange to cause errors if people try to + create screens when no window system is running. + + * loadup.el: load screen.el into the dumped emacs. + + * subr.el (add-hook): Cons FUNCTION onto the value of the symbol + HOOK, not the symbol itself. + + * loaddefs.el (ctl-x-4-map): Move definition from here... + * subr.el (ctl-x-4-map): To here. + (ctl-x-3-map): New prefix. + (mouse-map): Deleted. + + * screen.el (new-screen-x-delta, new-screen-y-delta, + new-screen-position): Removed. + (new-screen): Simplified. + (split-to-other-screen): Removed. + (switch-to-buffer-other-screen, find-file-other-screen, + find-file-read-only-other-screen, mail-other-screen): Moved, along + with their keybindings, to... + * files.el (switch-to-buffer-other-screen, find-file-other-screen, + find-file-read-only-other-screen): Here... + * sendmail.el (mail-other-screen): And here. + +1991-08-14 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * files.el (generate-new-buffer): Function moved here from + src/buffer.c. + (set-visited-file-name): Use the new argument to rename-buffer. + + * macros.el (apply-macro-to-region-lines): Don't complain if there + is no defined keyboard macro if one was passed as an argument. + Don't test if macro is null inside the loop; set it to + last-kbd-macro outside the loop. + +1991-08-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * info.el: Removed bindings and help reference to nonexistent + mouse commands. + (Info-default-directory-list): New defconst, list to initialize + Info-directory-list with by default. + (info): Initialize Info-directory-list to + Info-default-directory-list if there is no INFODIR envariable. + * paths.el (Info-default-directory-list): Define instead of + Info-directory-list. + +1991-08-13 Ken Raeburn (raeburn@watch.com) + + * time.el (display-time-24hr-format): New variable. + (display-time-filter): If display-time-24hr-format is non-nil, + display time in 24-hour format, rather than using AM/PM suffix. + Also, don't blow up in substring if load average is unavailable. + +1991-08-13 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * screen.el: Incorporated other-screen functions and key bindings. + + * screen.el: iconification code reworked; this code will require + a mapping hook of some sort to work correctly. + + * screen.el, term/x-win.el: Renamed screen-default-alist to + default-screen-alist. + (default-screen-alist): Moved declaration to screen.c; the + screen creation subrs should consult this transparently. + + * term/x-win.el (x-get-resources, x-pop-initial-window): Functions + deleted. Don't call them at the bottom of the file anymore. + +1991-08-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * simple.el (undo-start): Doc fix: undo-pointer -> pending-undo-list. + + * files.el (save-some-buffers): Add missing `(and' and matching + `)' so that buffer-offer-save is actually tested. + +1991-08-12 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * window.el (split-window-keep-point): New user option. + (split-window-vertically): Modified to support it. + * startup.el (command-line): Choose a default value for + split-window-keep-point according to the baud rate. + * term/x-win.el: Set split-window-keep-point. + +1991-08-10 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * term/x-win.el (x-daemon-mode, x-establish-daemon-mode): Removed + these functions; we do this differently now. + +1991-08-07 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * autoload.el (batch-update-autoloads): Do (save-some-buffers t) + before killing emacs, so loaddefs.el will be saved. + +1991-08-05 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * screen.el (screen-creation-func): Renamed to + screen-creation-function, as per the convention. + + * screen.el (screen-creation-func): Do not initialize this + according to the window system name; let the window + system-specific file initialize it however it wants. + * term/x-win.el: Set screen-creation-function to x-create-screen. + + * screen.el: All of the screen startup code reworked. + +1991-08-01 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * startup.el (pre-init-hook): New variable. + (window-setup-hook): Doc fix. + (command-line): Call pre-init-hook. + (command-line-1): Updated copyright date. + +1991-07-31 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * rmailedit.el: When initializing rmail-edit-map, take the cdr of + text-mode-map before nconcing it, to omit the keymap header. + +1991-07-31 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * screen.el (auto-new-screen-function): Renamed to + pop-up-screen-function. + (buffer-in-other-screen): Use pop-up-screens, not auto-new-screen. + +1991-07-30 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * apropos.el (apropos, super-apropos): Don't make window for no syms. + +1991-07-29 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * loaddefs.el: Don't make backup versions of this file. + +1991-07-28 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * autoload.el (generate-autoload-cookie): Doc fix. + +1991-07-28 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * etags.el: Renamed new-etags.el, copied Emacs 18's tags package + into its place - the new version seemed to have half-completed + major changes. Added autoload marks and changed it to (provide + 'etags) instead of tags. + + * help.el: Autoload the (defvar help-map ...) so that info.el + can define keys in it. + * loaddefs.el: Updated. + +1991-07-27 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * info.el (Info-find-emacs-command-node): New fn. + (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node): + New fns, bound to C-h C-f and C-h C-k, to pop to the info node for + an Emacs command or keystroke. + +1991-07-26 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * terminal.el (te-stty-string): Delete `new' since loses on SYSV. + +1991-07-25 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * edebug.el: Version 2.5 from LaLiberte. + +1991-07-25 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * view.el: (define-key "C-xv" 'view-file). + (view-file-other-window, view-buffer-other-window): New functions. + (view-prev-buffer): Renamed to view-return-here. + (view-exit): If view-return-here is a buffer, switch to it; + if it is a window configuration, apply it. + + * subr.el (search-forward-regexp, search-backward-regexp): Added + alternate names. + +1991-07-24 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * diff.el (diff): Turn off read-only flag to insert "no + differences" message. + +1991-07-23 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * isearch.el (isearch): If the user switches to a different + screen, exit the isearch. + + * isearch.el (isearch): Changed reference to `cmds' to use + variable's new name `history'. + +1991-07-23 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * rmail.el (rmail-first-unseen-message): Make loop looking for + unseen msgs not skip the first one. + + * rmail.el (rmail-widen-to-current-msgbeg): Added missing close paren. + +1991-07-21 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * isearch.el (isearch): Don't assume that we're repeating a search + that found an empty string; check history to make sure we're + repeating a search and not starting one up with a pattern from the + ring. + + * view.el: When initializing view-mode-map, use the new-style key + maps. + + * screen.el (auto-new-screen-function): Set this to a lambda which + calls the screen-creation-func. + +1991-07-19 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * backquote.el (bq-make-maker): + Don't replace quoted shared structure by copies. + +1991-07-19 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * files.el (save-some-buffers): Added save-excursions around code + that does set-buffer. + +1991-07-15 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (visit-tags-table): Don't make tags-completion-alist. + (tags-completion-alist): If tags-completion-alist is non-nil, + return it; else build it and then return it. + (find-tag-tag): Pass 'tags-completion-alist as TABLE to + completing-read, so the table is built on demand. + + * sendmail.el (mail-do-fcc): Added missing close paren. + +1991-07-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * term/x-win.el: Enable interrupt-driven input after opening the X + connection, so that the fcntls on file descriptor 0 apply to the + socket, not the terminal. + + * screen.el: Don't bind `C-x o' to next-multiscreen-window or + displace other-window to `M-o'. + +1991-07-15 Stephen A. Wood (saw at hallc1) + + * fortran.el version 1.28.3 + Now works in either mode when `tab-width' is not 8. + + (fortran-electric-line-number, fortran-indent-to-column): Use + `fortran-minimum-statement-indent' instead of 8. + + (fortran-current-line-indentation): Now skips over line number + and whitespace correctly when tab-width is not 8. + + (fortran-setup-tab-format-style): Set `fortran-comment-line-column' and + `fortran-minimum-statement-indent' to (max tab-width 6) instead of 8. + The minimum 6 insures legal indenting for lines with line numbers. + +1991-07-13 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) + + * info.el (Info-find-node): Call buffer-flush-undo with one arg, + instead of none. Change call to get-buffer-c>reate to + get-buffer-create. + + * startup.el (command-line): Remove the arguments from + command-line-args as we process them. + (command-line-1): Removed code to ignore the arguments processed + in command-line, because they're all deleted now. + + * replace.el (occur): Set tem to the location of the match before + adding it to occur-pos-list, so we don't end up with an + occur-pos-list of nulls. And allocate the final-context-start + marker once, so we don't allocate jillions of markers in the + +1991-07-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * term/x-win.el (x-handle-args): Re-written to take the command + line switch as an argument, instead of just assuming it's in ARGS, + and return the modified list. Changed caller to pass and set + command-line-args. + + * startup.el (command-line): Re-balance parens. + Pass command-line-args to command-line-1, not args. + +1991-07-09 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Fixed lossage on ? or random char. + +1991-07-08 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * ftp.el (ftp-command): Skip multiline messages. + +1991-07-08 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * ispell.el (ispell-buffer): fset to 'ispell. + + * map-ynp.el (map-y-or-n-p): Don't quote a form inside quasiquote. + +1991-07-04 Stephen A. Wood (saw at hallc1.cebaf.gov) + + * fortran.el: Added ;;;###autoload definition for + fortran-tab-mode-default variable. + + * fortran.el (fortran-numerical-continuation-char): Replace + (backward-line 1) with (forward-line -1) since backward-line is + defined only in edt. + (fortran-previous-statement): Fix error in parens. + (fortran-indent-to-column): Likewise. + +1991-07-04 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * files.el (save-some-buffers): Use map-y-or-n-p return value. + + * map-ynp.el (map-y-or-n-p): Fixed bug that caused first elt on ! + hit not get acted on. + +1991-07-04 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * cmacexp.el (c-macro-expand): Use new variables + c-macro-preprocessor and c-macro-options. + + * teco.el: New file. + +1991-07-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Fixed misplaced paren. + Fixed list-eating bug. + +1991-07-01 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * ws-mode.el: New file. + + * forms.el: New version from Vromans. + +1991-06-29 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): LISTS may also be an iterator fn. + PROMPTER may also be a format string. + +1991-06-29 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * simple.el (shell-command-on-region): + Handle case where input is from *Shell Command Output*. + +1991-06-28 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * startup.el (command-line): Let init file change command-line-args. + Don't fail to advance args past -debug-init. + (command-line-1): Ignore here options processed at earlier stages. + +1991-06-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * term/x-win.el (x-read-resources): When a resource is not + available, use (nth 2 key-resname-default) to get the default, not + (nth 3 key-resname-default), which is nil. + Open the connection to the server *before* trying to read the + resources, silly. + +1991-06-20 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * subr.el (ignore): Added docstring for this; it appears as a key + binding, so it ought to be described. + +1991-06-19 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * find-dired.el (find-dired-sentinel): Don't twiddle a killed buffer. + +1991-06-17 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * simple.el (kill-region): Allow read-only buffers. + + * find-dired.el (find-dired-filter): If the buffer has been + killed, delete the process. + + * find-dired.el (find-ls-option): Made a defvar rather than defconst. + +1991-06-12 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * upd-copyr.el (update-copyright): Fixed typo in help text. + +1991-05-26 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * disass.el (disassemble-internal): Fixed typo string? -> stringp. + +1991-05-26 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * holiday.el (calendar-holiday-function-passover-etc): Correct + date and spelling of Yom HaAtzma'ut. + +1991-05-23 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * mail-utils.el: Require lisp-mode, because we use + lisp-mode-syntax-table. Lisp-mode is usually in the dumped emacs, + but dumping should always be a convenience, not an unstated + expectation. + * lisp-mode.el: Do a (provide 'lisp-mode). + Initialize lisp-mode-syntax-table outside of all functions, so + that we don't have to hope that lisp-mode-variables has been + called before using mail-strip-quoted-name. Odd dependencies. + + * sendmail.el (mail-archive-file-name): Make this a defvar, not a + defconst. There seems to be no entry saying why this was made a + defconst. + + * text-mode.el (indented-text-mode-map): When redefining TAB, + don't clobber the definition in text-mode-map, but DO share the + rest of text-mode-map. + +1991-05-23 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * startup.el (command-line): don't do anything if $VERSION_CONTROL + is not set; move code to import environment var ahead of .emacs + load. + +1991-05-22 Brian Preble (rassilon at mole.gnu.ai.mit.edu) + + * forms.el (scroll-up, scroll-down): Made argument &optional. + +1991-05-22 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * rmail.el (rmail-variables): Rmail should not be a + save-buffer-skip buffer. If the user wants this confusing + behavior, it can be personally customized. + +1991-05-22 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * term/x-win.el (x-switches-specified): Variable deleted; the + options given on the command line are placed in screen-default + alist, so that all the screens created get them. + (x-handle-switch, x-handle-numeric-switch): Put the values in + screen-default alist instead of in x-switches-specified. + (x-handle-geometry): Put the geometry in initial-screen-alist. + (x-pop-initial-window): Build the arguments to + pop-initial-screen from initial-screen-alist and + screen-default-alist alone; don't use x-switches-specified. + (x-read-resources): New function to read the X defaults and put + them in screen-default-alist. Call this function at the bottom. + * screen.el (death-function): Removed, because this is now handled + better in startup.el. + (pop-initial-screen): Don't do a condition-case to call + death-function. + +1991-05-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * macros.el (apply-macro-to-region-lines): Added a save-excursion + around the macro invocation, so that the macro doesn't need to + stay on the same line. + + * gdb.el (gdb-call): Don't set gdb-delete-prompt-marker to an + empty region when the process-mark was at the beginning of the + line, because this will cause an infinite loop in + gdb-maybe-delete-prompt. + + * startup.el (command-line): If an error occurs while initializing + the window system, catch it and write the error message to + external-debugging-output. + +1991-05-17 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * holiday.el: Add Erev Shavuot to the full list of Jewish + holidays. + +1991-05-16 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * macros.el (apply-macro-to-region-lines): New function. + + * term/x-win.el (x-handle-switch): The newline at the end of the + comment line at the top of this function was missing. + +1991-05-16 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * autoload.el (batch-update-autoloads): New function to update + autoloads with emacs -batch. + + * autoload.el (generate-file-autoloads): Don't put non-autoload + forms in the (autoloads ...) list in the header. + +1991-05-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Put the cursor in the echo area while + prompting. + +1991-05-13 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-setq): Clean error if var not a symbol. + +1991-05-13 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * autoload.el (update-file-autoloads): If the file is in a buffer + and that buffer is modified, update the autoloads regardless of + the file times. + If the file was not in a buffer before, kill the buffer we create. + update-directory-autoloads on /gd/gnu/emacs/lisp had a tendency to + eat all available memory. + +1991-05-13 Brian Preble (rassilon at mole.gnu.ai.mit.edu) + + * abbrev.el, add-log.el, apropos.el, asm-mode.el, autoload.el: + awk-mode.el, backquote.el, bibtex.el, bytecomp.el, c++-mode.el: + cal.el, calc-ext.el, calc.el, chistory.el, cl-indent.el, etags.el: + compare-w.el, compile.el, dabbrev.el, debug.el, diary.el, diff.el: + dired.el, disass.el, dissociate.el, doctor.el, ebuff-menu.el, edt.el: + echistory.el, edebug.el, edmacro.el, emerge.el, find-dired.el: + fortran.el, ftp.el, gdb.el, gnus.el, gnuspost.el, gosmacs.el: + hanoi.el, helper.el, holidays.el, indent.el, info.el, informat.el: + isearch.el, ispell.el, ledit.el, loaddefs.el, rect.el, macros.el: + mail-utils.el, mailalias.el, makesum.el, man.el, map-ynp.el, mh-e.el: + mlconvert.el, modula2.el, novice.el, nroff-mode.el, options.el: + outline.el, paragraphs.el, picture.el, prolog.el, lpr.el, replace.el: + reposition.el, rmail.el, spell.el, scribe.el, sendmail.el, server.el: + shell.el, sort.el, scheme.el, tabify.el, telnet.el, terminal.el: + tex-mode.el, texinfmt.el, texinfo.el, time.el, timer.el: + underline.el, userlock.el, vi.el, view.el, vip.el, xscheme.el, yow.e: + Fixed ;;;###autoload definitions. + +1991-05-13 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): Don't do special + doc-string hacking for defvar and defconst. We in fact don't want + loaddefs.el to have docstrings make-docfile can grok; it should be + able to grok the originals, but not the copies, so there will be + only one copy of each docstring in the DOC file. + +1991-05-13 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * isearch.el (search-exit-char): As per the opinion poll results, + change this to RET. + (isearch): Change miscellanous internals so that newline is + automatically quoted, and change the docstring and comments to say + that RET exits the search. + +1991-05-13 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * find-dired.el (find-ls-option): New defconst, string for "-ls". + (find-dired): Use it. + +1991-05-13 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * loaddefs.el (auto-mode-alist): Recognize .emacs only at end. + +1991-05-13 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * simple.el (blink-matching-open): Make this function interactive. + +1991-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * find-dired.el (find-name-dired): Simple-minded find-dired + interface to do "find -name PATTERN". + + * find-dired.el (find-dired-filter): Don't search; use + forward-line instead. + (find-dired-filter, find-dired-sentinel): Changed docstrings to + comments. + +1991-05-11 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * loaddefs.el: Moved some defvars and defconsts to other files + (with ;;;###autoload). + + * reposition.el: Bind reposition-window to M-C-l. + +1991-05-09 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el: New file, a package to maintain autoloads in + loaddefs.el. + * *.el: Make everything use it. Comments in loaddefs.el explain + what to do. + + * etags.el: (provide 'etags) inside of (provide 'tags). + Why was the file renamed?? + + * lisp-mode.el (eval-print-last-sexp): Use terpri instead of newline. + +1991-05-09 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * disass.el (disassemble-internal): Rearranged to conveniently + handle compiled-function objects. + (disassemble-1): Extract bytes and constants correctly from both + compiled-function objects and calls to the byte-code function. + + * simple.el (kill-region): Remove the second item from the + interactive spec; this is a vestige from when this function took a + "verbose" argument. + + * lisp-mode.el (eval-print-last-sexp): Insert newlines before and + after evaluating the expression. + +1991-05-08 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * map-ynp.el: New file defines new fn map-y-or-n-p. + * files.el (save-some-buffers): Rewritten to use it. + +1991-05-08 Brian Preble (rassilon at mole.gnu.ai.mit.edu) + + * rmail.el: Doc fix. + (rmail-first-message): New function; bound to "<". + +1991-05-08 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) + + * screen.el: Removed temporary hack to set up auto-new-screen and + auto-new-screen-function. + +1991-05-07 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * find-dired.el: New fn M-x find-dired lets you run a `find' + command and do dired on the result. + * loaddefs.el (find-dired): Autoload it. + +1991-05-06 Stephen A. Wood (saw at hallc1.cebaf.gov) + + * fortran.el version 1.28 + Major upgrade of previous version 1.21. Cleaned up doc-strings, made + all lines 80 or less characters and made the following changes. + + Added modify-syntax-entry's for ?\r and ?=. + Bound LFD to fortran-reindent-then-newline-and-indent. + Rebound \C-c\C-w to fortran-window-create-momentarily. + Added numerous default abbreviations for keywords. + + (fortran-mode): Definition of `comment-line-start-skip' changed. + `abbrev-mode' is set to t by default. New local variables + `fortran-tab-mode', `fortran-comment-line-column', + `fortran-minimum-statement-indent', `fortran-column-ruler', + and `fortran-tab-mode-string'. Call fortran-analyze-file-format. + + (fortran-window-create, fortran-window-create-momentarily): Cleaned + up first function, created second to create a window 72 characters + wide until a key is struck. + + (fortran-electric-line-number): Distinguish digit as continuation + character from digit as line number. + + (fortran-previous-statement, fortran-next-statement): + Recognize tab-digit continuation lines as well as fixed format. + + (fortran-blink-matching-if): New command. + (fortran-indent-line): Change indentation of comments. + (fortran-reindent-then-newline-and-indent): New command. + + (calculate-fortran-indent): Now handles tab format style. + If a previous END statement is found, the indentation is reset to the + minimum. + + (fortran-current-line-indentation, fortran-indent-to-column): + (fortran-split-line, fortran-numerical-continuation-char): + (fortran-line-number-indented-correctly-p): Handle tab format style. + + (fortran-analyze-file-format): + (fortran-tab-mode, fortran-setup-tab-mode-style): + (fortran-setup-fixed-format-style): New commands. + +1991-05-05 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * calc.el: When setting up calc-digit-map, don't try to apply aref + to the keymaps; extract the vectors from the keymaps before + working on them. + * calc-ext.el: When setting up calc-mode-map, use define-key and + lookup-key instead of aset and aref. + +1991-05-03 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * help.el (function-called-at-point): Try a symbol around point. + (describe-function): Describe datatype also. + +1991-05-01 Roland McGrath (roland at albert.gnu.ai.mit.edu) + + * lisp-mode.el (eval-last-sexp, eval-defun): Bind standard-output + to where the value of the form will be printed while evalling it. + +1991-04-30 Roland McGrath (roland at albert.gnu.ai.mit.edu) + + * lisp-mode.el (eval-last-sexp): Rewritten to read a form and then + eval it, rather than using eval-region. The old version could + lose if the form being eval'd moved point or twiddled the restriction. + (eval-defun): Similarly rewritten. + (eval-print-last-sexp): Rewritten to just call eval-last-sexp; + removed some duplicated code. + +1991-04-30 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * isearch.el (isearch): * and ? are not special after incomplete input. + When they are special, use old other-end for cs in both reverse + and forward. + +1991-04-30 Stephen A. Wood (saw at hallc1.cebaf.gov) + + * fortran.el version 1.28. + Major upgrade of previous version 1.21. + + Now supports tab or fixed format style of continuation control and + indentation. In tab style, lines start with a tab, or a line + number followed by a tab. If the first character after the tab is + a digit from 1 to 9, the line is a continuation line. When + entering fortran mode for a file, the first line that begins with + 6 spaces or a tab is found. The buffer is then set respectively + to either fixed format or tab format style. The mode may be + toggled with the command fortran-tab-mode. + + Fixed a bug in which indenting a comment line that contained a `!' + caused a max-lisp-eval-depth exceeded error. + + Bound LFD to fortran-reindent-then-newline-and-indent. + + Added command fortran-blink-matching-if which is called when an + endif statement is indented. Enabled/disabled by setting variable + of same name to t/nil. + + Added some abbreviations for modern fortrans. + + C-c C-w bound to new function fortran-window-create-momentarily + which creates a 72 character wide window until the next key is struck. + + Variable fortran-continuation-char changed to + fortran-continuation-string. + + Modified fortran-electric-line-number to just insert the struck + digit when the point is located after 5 spaces, or when the point + is located after a tab character and the last command was not + fortran-indent-line or fortran-reindent-then-newline-and-indent. + This allows digits to be manually used as continuation line + indicators. + Also fixed a bug in fortran-electric-line-number which caused the + digit keys not to work at all if electric line numbering was + disabled. + +1991-04-29 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * info.el (Info-read-subfile): Skip blank lines. + +1991-04-22 Brian Preble (rassilon@gnu.ai.mit.edu) + + * resume.el, rfc822.el, rmail-kill.el: Doc fix. + +1991-04-18 Roland McGrath (roland@gnu.ai.mit.edu) + + * add-log.el (prompt-for-change-log-name): Made a defun rather + than a defmacro (braino fix). + +1991-04-18 Jim Blandy (jimb@gnu.ai.mit.edu) + + * simple.el (count-lines-region): Display the number of characters + in the region as well. + +1991-04-14 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * diary.el (diary-omer, diary-parasha): Fix punctuation in diary + entries. + +1991-04-12 Brian Preble (rassilon@gnu.ai.mit.edu) + + * prolog.el, r2bibtex.el, rect.el, refbib.el, register.el: Doc fix. + * remote.el, replace.el: Doc fix. + +1991-04-11 Jim Blandy (jimb@gnu.ai.mit.edu) + + * simple.el (kill-region): Don't print out a message saying how + many characters are being killed. + +1991-04-10 Brian Preble (rassilon@gnu.ai.mit.edu) + + * modula2.el, mouse.el, mpuz.el, nntp.el, options.el: Doc fix. + * oshell.el, page-ext.el, page.el, paragraphs.el, picture.el: Doc fix. + +1991-04-05 Raul Acevedo (kitaro@gnu.ai.mit.edu) + + * options.el: Edit-options-mode runs `Edit-options-mode-hook'. + Also fixed the regexp used by Edit-options-modify so you can + modify a variable if at the beginning of the buffer. + +1991-04-05 Brian Preble (rassilon@gnu.ai.mit.edu) + + * man.el, medit.el, mh-e.el, mhspool.el, mim-mode.el: Doc fix. + +1991-04-04 Raul Acevedo (kitaro@gnu.ai.mit.edu) + + * info.el (Info-mode): now runs `Info-mode-hook' + +1991-04-02 Brian Preble (rassilon@gnu.ai.mit.edu) + + * mailpost.el, mail-utils.el, mailalias.el: Doc fix. + +1991-03-24 Richard Stallman (rms@gnu.ai.mit.edu) + + * rmail.el (rmail-resend): New function. + * sendmail.el (mail-alias-file): New global variable. + (sendmail-send-it): Use that variable. + * mailalias.el (expand-mail-aliases): Handle resent-to. + + * files.el (hack-local-variables): ignore-local-eval ignores `eval'. + +1991-03-19 Richard Stallman (rms@gnu.ai.mit.edu) + + * fill.el (justify-current-line): Adjust for 18.57 behavior + of current-column. + +1991-03-17 Richard Stallman (rms@mole.ai.mit.edu) + + * add-log.el (add-change-log-entry): Recognize `@', not ` at '. + + * fill.el (justify-current-line): Handle extra indent after prefix. + +1991-03-14 Robert J. Chassell (bob@gnu.ai.mit.edu) + + * info.el (Info-forward-node): Go up several levels, if necessary. + Add two new arguments. + (Info-final-node): Go forward from last node in menu. + (Info-find-node): Turn off undo in Info's buffers. + +1991-03-14 Richard Stallman (rms@mole.ai.mit.edu) + + * add-log.el (add-change-log-entry): Use `@', not ` at '. + +1991-03-14 Brian Preble (rassilon@mole.ai.mit.edu) + + * loaddefs.el, lpr.el: Doc fix. + +1991-03-12 Richard Stallman (rms@mole.ai.mit.edu) + + * compare-w.el (compare-windows-whitespace): + Now a set of chars, not a regexp. + (compare-windows): Use it properly. + +1991-03-12 Brian Preble (rassilon@gnu.ai.mit.edu) + + * info.el, informat.el, ispell.el, kermit.el, keypad.el: Doc fix. + * ledit.el, lisp-mode.el, lisp.el: Doc fix. + +1991-03-11 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (kill-region): Make undo buffer and kill ring share. + +1991-03-10 Richard Stallman (rms@mole.ai.mit.edu) + + * tar-mode.el: New file. + +1991-03-08 Brian Preble (rassilon@mole.ai.mit.edu) + + * indent.el, inf-lisp.el: Doc fix. + +1991-03-08 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-file-form): + Print warning for " unescaped in doc string. + +1991-03-06 Brian Preble (rassilon@mole.ai.mit.edu) + + * gosmacs.el, help.el, helper.el, hexl.el, hideif.el: Doc fix. + * holidays.el, icon.el: Doc fix. + +1991-03-05 Brian Preble (rassilon@mole.ai.mit.edu) + + * gnusmail.el, gnusmisc.el, gnuspost.el, gomoku.el: Doc fix. + +1991-03-04 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-extract-menu-item): Use regexp search. + (Info-extract-menu-node-name): Fix typo in arglist. + + * info.el (Info-top-node, Info-final-node): New functions. + (Info-forward-node, Info-backward-node): New functions. + +1991-03-04 Brian Preble (rassilon@mole.ai.mit.edu) + + * gnus.el: Doc fix. + +1991-03-01 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailout.el (rmail-output-to-rmail-file, rmail-output): + Expand file name in dir used for completion. + +1991-03-01 Brian Preble (rassilon@mole.ai.mit.edu) + + * emerge.el, etags.el, field.el, files.el, fill.el, float.el: Doc fix. + * fortran.el, ftp.el, gdb.el: Doc fix. + +1991-02-28 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-cond-1): Fix handling of unconditional + clauses. + +1991-02-28 Brian Preble (rassilon@mole.ai.mit.edu) + + * edmacro.el, edt.el, edt-doc.el, ehelp.el, emacsbug.el: Doc fix. + +1991-02-27 Brian Preble (rassilon@mole.ai.mit.edu) + + * ebuff-menu.el, echistory.el, edebug.el: Doc fix. + +1991-02-26 Richard Stallman (rms@mole.ai.mit.edu) + + * isearch.el (isearch): Copy point from small window + before deciding whether to set the mark. + +1991-02-26 Brian Preble (rassilon@mole.ai.mit.edu) + + * dired.el: Doc fix. + (dired-flag-backup-and-auto-save-files): New arg UNFLAG-P. + * disp-table.el, doctex.el, doctor.el: Doc fix. + * doctex.el (LaTeXify-DOC): Use new permission wording. + +1991-02-25 Paul Hilfinger (hilfingr@hilfinger.cs.nyu.edu) + + * fill.el (fill-individual-paragraphs): Changed response to mailp + to effect only leading lines in a region (was getting confused + about colons embedded in ordinary text). Changed method of + moving to next paragraph in the main loop to use forward-paragraph + rather than goto-char, since the final character position is + rendered obsolete by the intervening fill-region-as-paragraph. + +1991-02-24 Edward M. Reingold (reingold at emr.cs.uiuc.edu) + + * diary.el (include-other-diary-files): Fix documentation string. + +1991-02-23 Roland McGrath (mcgrath@cygint.cygnus.com) + + * compile.el (next-error): Fixed bug in rms's optimization. + +1991-02-23 Richard Stallman (rms@mole.ai.mit.edu) + + * reposition.el: New file. + * loaddefs.el (reposition-window): Autoload it. + + * rmailkwd.el: Doc fix. + + * rmail.el (rmail-first-unseen-message): New function. + (rmail): Call that. + + * buff-menu.el (Buffer-menu-mode-map): Make `n' and `p' move by lines. + +1991-02-21 Roland McGrath (mcgrath@cygint.cygnus.com) + + * compile.el (next-error): Do rms's optimization (Feb 8 change) + when moving backward, too. + +1991-02-20 Jim Blandy (jimb@geech.ai.mit.edu) + + * startup.el (command-line): Re-arranged nested ifs that handle + the different command-line arguments into a cond, to make it + easier for me to read. + +1991-02-15 Jim Blandy (jimb@pogo.ai.mit.edu) + + * loaddefs.el: Bind \M-C-r to isearch-backward-regexp, since + it really ought to be there. I want it often. + +1991-02-08 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (next-error): Count lines from prev error, not file beg. + +1991-02-07 Brian Preble (rassilon@mole.ai.mit.edu) + + * c++-mode.el, c-comment.el, c-fill.el, c-mode.el: Doc fix. + * cal.el, calc-alg2.el, calc.el, calendar.el, case-table.el: Doc fix. + * chistory.el, cl-indent.el, cl.el, compare-w.el: Doc fix. + * compile.el, completion.el, dabbrev.el, dbx.el, debug.el: Doc fix. + * diary-add.el, diary.el, diff.el: Doc fix. + +1991-02-06 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (indent-c-exp, electric-c-terminator, c-indent-line): + Treat `default:' like `case...:'. + +1991-02-06 Brian Preble (rassilon@mole.ai.mit.edu) + + * blackbox.el, buff-menu.el, bug-screen.el, bytecomp.el: Doc fix. + +1991-02-04 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-extract-menu-node-name): New arg MULTI-LINE. + (Info-follow-reference): Pass t for that. + +1991-02-04 Brian Preble (rassilon@mole.ai.mit.edu) + + * bg-mouse.el, bib-mode.el: Doc fix. + +1991-02-04 Jim Blandy (jimb@gnu.ai.mit.edu) + + * simple.el (eval-current-buffer): Removed, since it has been + reintroduced to the C code. + +1991-02-02 Jim Blandy (jimb@gnu.ai.mit.edu) + + * comint.el (comint-mode): Move the creation of input-ring down + with the other variables, and (golly!) initialize it to a ring. + (make-comint): Pass a parameter to comint-check-proc - buffer. + * shell.el (shell): rebalance parens. + +1991-01-31 Richard Stallman (rms@mole.ai.mit.edu) + + * replace.el (perform-replace): Prevent spurious match + of ^foo in second part of foofoo after first part is deleted. + +1991-01-31 Jim Blandy (jimb@pogo.ai.mit.edu) + + * files.el (find-file-noselect): Strip auto-mount prefix only if safe. + +1991-01-31 Richard Stallman (rms@mole.ai.mit.edu) + + * time.el (display-time-filter): Use display-time-file-nonempty-p. + (display-time-file-nonempty-p): New function; trace symlinks. + +1991-01-30 Brian Preble (rassilon@mole.ai.mit.edu) + + * ada.el (ada-tabsize): Use prefix arg, not minibuffer. + Doc fix. + + * abbrev.el: Doc fix. + * abbrevlist.el: Doc fix. + * apropos.el: Doc fix. + * appt.el: Doc fix. + * array.el: Doc fix. + * asm-mode.el: Doc fix. + * awk-mode.el: Doc fix. + +1991-01-30 Roland McGrath (roland@cygint.cygnus.com) + + * compile.el (compilation-parse-errors): Don't remove duplicate errors. + (next-error): Skip over duplicates here instead. + +1991-01-30 Richard Stallman (rms@mole.ai.mit.edu) + + * appt.el: Doc fix. + +1991-01-30 Jim Blandy (jimb@pogo.ai.mit.edu) + + * paths.el (Info-directory-list): Look for info files in + /usr/local/lib/info first, since this is the standard place for + info files. + +1991-01-29 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (info): With prefix arg, read file name and visit it. + +1991-01-26 Jim Blandy (jimb@gnu.ai.mit.edu) + + * term/x-win.el: Do not define the f1 function key to run rmail. + +1991-01-25 Richard Stallman (rms@mole.ai.mit.edu) + + * help.el (help-for-help): Call delete-other-windows. + +1991-01-21 Mike Newton (newton@fig) + + * bibtex.el -- updated to conform better with bibtex 0.99c by: + bibtex-mode : updated comments to indicate new use of + address, add minor explanations and fix small omissions. + bibtex-entry : fixed spelling of variable + + * bibtex.el - Expanded the various bibtex-field-* patterns to + allow fields like 'title = poft # "Fifth Triquaterly" # random-conf,'. + Needs to have more work done to accept all cases. Added code for + the bibtex 'crossref' command, which subsumes other options. Made + field ordering different when this option on. Also allow user to + have a list of field to be added to all entries + (bibtex-mode-user-optional-fields). Merged in Bengt Martensson's + changes. + +1991-01-18 Roland McGrath (roland@cygint.cygnus.com) + + * compile.el (compilation-find-buffer): New function to find a + compilation buffer to use (or barf if there aren't any). + (kill-compilation, compile-goto-error, next-error): Use it. + +1991-01-17 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info): Init Info-directory-list from INFOPATH. + +1991-01-12 Jim Blandy (jimb@gnu.ai.mit.edu) + + * etags.el (visit-tags-file-buffer): use progn instead of + save-excursion, so the buffer actually gets visited. + +1991-01-11 Richard Mlynarik (mly@august-east.ai.mit.edu) + + * terminal.el (terminal-cease-edit): If this dubious code + is really necessary it might as well be more bug-free. + + * ehelp.el (with-electric-help): Use window-configs. + +1991-01-10 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (minor-mode-alist): Doc fix. + +1991-01-08 Roland McGrath (roland@albert.ai.mit.edu) + + * compile.el (compilation-parse-errors): Fixed maintenance of + last-linenum, so dups are really found. + +1991-01-08 Jim Blandy (jimb@pogo.ai.mit.edu) + + * bytecomp.el (byte-compile-byte-code-maker): Since + byte-compile-lambda is free to return the original lambda + expression, we'd better be prepared to handle things that aren't + bytecode objects. + +1991-01-07 Jim Blandy (jimb@gnu.ai.mit.edu) + + * loaddefs.el: Don't forget to specify the filenames when + autoload-ing byte-compile-buffer and byte-compile-defun. + +1991-01-04 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (find-file-noselect): Get rid of automounter prefixes. + +1991-01-02 Richard Stallman (rms@mole.ai.mit.edu) + + * lpr.el (print-region-function): New hook variable. + (print-region-1): Use it if non-nil. + * vms-patch.el (print-region-function): Specify a function. + +1990-12-31 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (revert-buffer): Clear buffer-backed-up if file has changed. + +1990-12-30 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-buffer, byte-compile-defun): New functions. + * loaddefs.el: Autoload them, and byte-compile also. + + * isearch.el (isearch-message): Always mention if case-sensitive. + (isearch): Don't turn off uppercase-flag when char is not upper case. + +1990-12-29 Richard Stallman (rms@mole.ai.mit.edu) + + * terminal.el (te-edit): New command. + (terminal-edit-mode, te-terminal-cease-edit): New functions. + + * isearch.el (isearch): An upper-case letter sets uppercase-flag + which turns off case-folding. Save flag in search rings. + (isearch-push-state, isearch-pop): Push and pop uppercase-flag. + (isearch-search, isearch-message): Handle uppercase-flag. + (search-ring, regexp-search-ring): Record uppercase-flag. + (isearch-get-string-from-ring): New function. + +1990-12-27 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailsort.el (rmail-sort-messages): Print more progress messages. + (rmail-sort-by-size-lines): New command. + (rmail-sortable-date-string): Handle non-abbreviated month names. + (rmail-sort-messages): Always show message 1. + +1990-12-26 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (command-line): Handle -debug-init: use debugger. + + * isearch.el (isearch): Use only barrier, not opoint, + in starting point for reverse search. + +1990-12-24 Richard Stallman (rms@mole.ai.mit.edu) + + * mouse.el (mouse-set-mark): Use sit-for, not sleep-for. + (mouse-fill-paragraph): New command. + (mouse-fill-paragraph-with-prefix): New command. + + * rmailout.el (rmail-output-to-rmail-file): + Suggest file based on rmail-output-file-alist. + +1990-12-23 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-convert-to-babyl-format, rmail-nuke-pinhead-header): + Accept `remote from ...'@end of UNIX From line. + +1990-12-22 Richard Stallman (rms@mole.ai.mit.edu) + + * subr.el (defun-inline): New function. + + * bytecomp.el (byte-compile-form): Delete unreachable cond-clause. + + * time.el (display-time): Specify precise directory for wakeup. + (display-time-filter): Don't display 0 as load. + Catch error in load-average. + +1990-12-21 Chris Hanson (cph@kleph) + + * info.el (Info-extract-menu-node-name): Permit \n between colon + and start of node name. + +1990-12-20 Chris Hanson (cph@kleph) + + * texnfo-upd.el (texinfo-update-menu-region-beginning): Change + code that searches for "top" node so it returns the position of + the beginning of the node line. Always search from the buffer's + start when looking for that node. + (texinfo-make-one-menu): Bump forward over the outer node line. + +1990-12-20 Richard Stallman (rms@mole.ai.mit.edu) + + * fortran.el: New version from gildea. + +1990-12-20 Chris Hanson (cph@kleph) + + * texinfmt.el (texinfo-format-footnote): Number each footnote in a + node so that multiple footnotes can be distinguished. + + * texnfo-upd.el: Change regular expression used to identify the + "Top" node so that names that begin with "Top" do not confuse it. + +1990-12-19 Stephen Gildea (gildea@expo) + + * fortran.el: Changes for version 1.21.1: + Provide the 'fortran feature. + Change syntax of '=' to punctuation. + Add some more abbrevs. + Change fortran-mode-map keymap to non-sparse. + (fortran-electric-line-number): Fix bug occurring when + fortran-electric-line-number is nil. + (fortran-mode, fortran-next-statement): + (fortran-line-number-indented-correctly-p): Fix up doc strings. + (fortran-indent-to-column): Protect against nil comment-start-skip. + +1990-12-19 Richard Stallman (rms@mole.ai.mit.edu) + + * mpuz.el: New file. + +1990-12-18 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (hack-local-variables): Match suffix only@eol. + +1990-12-16 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (normal-top-level): Execute emacs-startup-hook. + + * rmail.el (rmail-parse-file-inboxes): Look for BABYL OPTIONS in u.c. + (rmail-convert-to-babyl-format): Likewise. + And don't skip white space after ^_ that ends a babyl format message. + + * saveconf.el: No need to rename kill-emacs. + (save-context-predicate): Now uses save-buffer-context-predicate. + (save-buffer-context-predicate): New function. + (kill-emacs-hook): Supply a hook. + (just-kill-emacs): New function. + (emacs-startup-hook): Set this instead of top-level. + (save-context-buffer-name): Test dired-directory for non-nil. + (save-context-buffer-file-name): New function. + (save-context): Record read-only status of buffers. + (recover-context): Handle that. + + * register.el (point-to-register): If arg, save screen config. + (jump-to-register): Restore screen config. + +1990-12-15 Roland McGrath (roland@albert.ai.mit.edu) + + * compile.el (compilation-last-error): Remove this variable. + (next-error): Don't set it. + +1990-12-12 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (calendar-end-of-year): Delete extraneous statement + in let. + (calendar-mode): Update old description of use of hooks to get the + fancy diary display. + +1990-12-12 Roland McGrath (roland@albert.ai.mit.edu) + + * compile.el (compilation-error-buffer): Removed. + (compilation-last-buffer): Now last buffer in which any of: started + compilation; C-x `; C-c C-c; was done. + (compile-internal): Don't set compilation-error-buffer. + Start the process after setting up the mode, etc. in the compilation + buffer. Name the process (downcase mode-name) instead of "compilation" + (so it will be "grep" for M-x grep). + Make compilation-error-list, compilation-parsing-end local vars. + (next-error): Slightly reorganized (changed (let* (while (save-ex))) to + (let (save-ex (while)))). Be sure to be in the compilation buffer + before doing anything, so we will get local values for vars. + Before doing anything, if current buffer is a compilation buffer, set + compilation-last-buffer to that. Always do things in + compilation-last-buffer. + + * compile.el (compilation-error-regexp-alist, + compilation-{enter,leave}-directory-regexp): Get rid of .*@the + beginning of regexps. + + * compile.el (compilation-mode): Don't make local vars for parser, + error-message, and regexp-alist. + (compile-internal): Do it here, after calling compilation-mode. + + * compile.el (compilation-error-list): Changed elt format. + (compilation-parse-errors): Don't find files when parsing. + Instead record ((DIR . FILE) . LINENO) structures to describe each + error. + (next-error): Take the error descriptors, and find the file given in + the descriptor, using compilation-find-file. Then goto the line number + given in the descriptor and replace the error descriptor cons with a + marker into the source file buffer. Then search through the + compilation-error-list for errors in the same file, and turn their + descriptors into markers as well. + (compilation-find-file): Take new arg DIR, the directory to use as + default in expanding the filename, and MARKER. If we can't find the + file@all, pop up MARKER's buffer and scroll to MARKER (to display + the error message for which we want this file), and ask the user where + to find the file. + +1990-12-12 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (hack-local-variables): Display local vars@screen top. + + * server.el (server-process-filter): Don't be confused + if input from process is split into multiple chunks. + +1990-12-10 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (indent-c-find-real-comment): New function. + + * sort.el (sort-subr): Eliminate special case for floats. + + * sort.el (sort-reorder-buffer, sort-build-lists): + Use (key start . end) to record a record. + +1990-12-09 Richard Stallman (rms@mole.ai.mit.edu) + + * lisp.el (insert-parentheses): Small cleanups. + +1990-12-05 Richard Stallman (rms@mole.ai.mit.edu) + + * replace.el (occur): Show all lines that contain part of a match. + +1990-12-04 Richard Stallman (rms@mole.ai.mit.edu) + + * time.el (display-time-filter): Let user specify mail file name. + +1990-12-04 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-mode-map): Make < same as j. + +1990-12-03 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailsort.el (rmail-select-correspondent): New function. + (rmail-sort-by-correspondent): New function. + (rmail-sortable-date-string): Handle two-digit and four-digit years. + (rmail-date-full-year): New subroutine. + [Done by Szolovitz.] + + * fill.el (fill-region-as-paragraph): New feature: Adaptive Fill mode. + (adaptive-fill-mode, adaptive-fill-regexp): New user options. + +1990-11-30 Mike Newton (newton@gumby.cs.caltech.edu) + + * bibtex.el (start comments) : added earlier comments of Bengt + Martensson. Some of the changes listed below are originally his + (including clean-entry, OPTkey and OPTannote, the function + renaming and the preamble code). + + * bibtex.el (bibtex-field-* patterns) : expanded to allow fields + like 'title = poft # "Fifth Triquaterly" # random-conf,'. + Needs to have more work done to accept all cases. + + * bibtex.el (bibtex-clean-entry-zap-empty-opts) : added. + + * bibtex.el (bibtex-include-OPTcrossref) : added. If set, changes + order of the the lists presented to luser. + + * bibtex.el (bibtex-include-OPTkey & bibtex-include-OPTannote) : added + + * bibtex.el (bibtex-mode-user-optional-fields) : can be set to a list + of field the user wants to add to entries. + + * bibtex.el (bibtex-mode documentation string) updated for new changes, + DEAthesis added back in, bibtex-preamble call added. + + * bibtex.el (bibtex-entry) : add OPTkey/annote. If OPTcrossref set + then put it in. + + * bibtex.el (bibtex-make-entry) : renamed bibtex-make-field + + * bibtex.el (bibtex-make-optional-entry) : renamed + bibtex-make-optional-field. + + * bibtex.el (bibtex-Article) : change order of presentation + if OPTcrossref is set. + + * bibtex.el (bibtex-InBook) : change order of presentation + if OPTcrossref is set. + + * bibtex.el (bibtex-InCollection) : change order of presentation + if OPTcrossref is set. + + * bibtex.el (bibtex-InProceedings) : change order of presentation + if OPTcrossref is set. + + * bibtex.el (bibtex-MastersThesis) : added "note". + + * bibtex.el (bibtex-preamble) : added. + + * bibtex.el (bibtex-inside-field) : only go backwards if quote is there. + + * bibtex.el (bibtex-clean-entry) : added call to + bibtex-clean-entry-zap-empty-opts, OPT field testing for errors. + + * bibtex.el (bibtex-x-help) : added options Conference and preamble, + restored DEAthesis. + +1990-11-30 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailsum.el (rmail-summary-mode-map): Don't rebind C-n and C-p. + Put rmail-summary-next-all, etc., on M-n and M-p. + +1990-11-29 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-insert-inbox-text): Don't give up if movemail fails. + +1990-11-28 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-form): Don't let handlers change depth. + (byte-compile-normal-call): Don't alter byte-compile-depth. + (byte-compile-funcall): New function. + +1990-11-27 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * diary.el (diary-float): Allow month to be a list of months, a + single month, or t (for all months). + +1990-11-26 Jim Blandy (jimb@geech.ai.mit.edu) + + * simple.el (copy-region-as-kill): No longer prints "Region + copied" error message. + +1990-11-26 Richard Stallman (rms@mole.ai.mit.edu) + + * bg-mouse.el (bg-insert-moused-sexp): If before ')', just skip that. + +1990-11-26 Neil Mager (neilm@juliet.ll.mit.edu) + + * appt.el: Fixed if construct for midnight update. + +1990-11-25 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * diary.el (insert-block-diary-entry): Change reference to + mark-ring to calendar-mark-ring. + +1990-11-21 Neil Mager (neilm@juliet.ll.mit.edu) + + * appt.el: Updated header of file to reflect changes. + + * appt.el: Added variable appt-display-diary to display the diary + automatically when the appointments list is updated at midnight. + + * appt.el: Fixed bug to allow update of daily appointments list + at midnight if today's diary had no entry. Required moving 'if' + statement down several lines. + + * appt.el: Changed list-diary-entries-hook to diary-display-hook + to be compatible with new version of the calendar/diary packgage. + +1990-11-20 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (calendar-version): New constant, with date + (calendar-count-days-region, calendar-not-available): New functions. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + +1990-11-11 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * diary.el (make-diary-entry): New function. + (insert-diary-entry, insert-weekly-diary-entry, + insert-monthly-diary-entry, insert-yearly-diary-entry, + insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry, + insert-yearly-hebrew-diary-entry, insert-islamic-diary-entry, + insert-monthly-islamic-diary-entry, + insert-yearly-islamic-diary-entry): Modified so that if a prefix arg + is supplied these make nonmarking diary entries; otherwise the entries + made are marking. + (insert-block-diary-entry, insert-anniversary-diary-entry, + insert-cyclic-diary-entry): New functions. + * calendar.el: Autoload them. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + +1990-11-08 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (calendar-set-mark, + calendar-exchange-point-and-mark): New functions. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + +1990-11-06 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (sexp-diary-entry-symbol): New variable. + (cursor-to-iso-calendar-date): Simplified, slightly. + (cursor-to-calendar-day-of-year): Fixed punctuation. + (cursor-to-french-calendar-date): Moved French names to arrays. + + * diary.el (list-sexp-diary-entries, diary-sexp-entry, diary-cyclic, + diary-hebrew-date, diary-iso-date, diary-day-of-year, + diary-float, diary-islamic-date, diary-anniversary, diary-block, + diary-french-date, diary-omer, diary-yahrzeit, diary-parasha, + diary-rosh-hodesh, hebrew-calendar-parasha-name): New functions. + (list-diary-entries): Added call to (list-sexp-diary-entries) and + fixed an obscure error that caused a diary entry to be missed if it + was preceded by an empty entry of the same style. + (list-hebrew-diary-entries, list-islamic-diary-entries): Fixed an + obscure error that caused a diary entry to be missed if it was + preceded by an empty entry of the same style. + (mark-islamic-calendar-date-pattern): Renamed some local variables + more appropriately. + + +1990-10-23 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * diary.el (list-diary-entries): Added a separate hook to do the + display, so that the diary entries can be obtained without + displaying them. + (simple-diary-display): New function (renaming of + ordinary-list-diary-hook). + (fancy-diary-display): New function (renaming of + prepare-fancy-diary-buffer). + + calendar.el: Add default definition of diary-display-hook. + +1990-10-20 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * calendar.el (describe-calendar-mode): Rewrote to give just a + brief description of the mode instead of calling describe-mode. + +1990-10-19 Neil Mager (neilm@juliet.ll.mit.edu) + + * appt.el: Changed issue-appointments-message to + appt.issue.message in header. + + * appt.el: Using copy modified by rms. + +1990-10-08 Ed Reingold (reingold at emr.cs.uiuc.edu) + + * holiday.el (calendar-holiday-function-hebrew): Fixed minor + problem with the code to short-circuit the calculations to save + time. + + *diary.el (mark-hebrew-calendar-date-pattern): Fixed minor problem + with the code to short-circuit the calculations to save time. + +1990-11-22 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (basic-save-buffer): Run after-save-hooks. + +1990-11-21 Robert J. Chassell (bob@gnu.ai.mit.edu) + + * texinfmt.el (texinfo-parse-line-arg): Ignore spaces@end of + line. + (texinfo-format-make-node): Handle Info file names with periods in + them. + + * history.el: Specify `(provide 'history)'. + +1990-11-20 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: + Added constant calendar-version with date + (calendar-count-days-region), + (calendar-not-available): New functions. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + +1990-11-11 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el: + (make-diary-entry): New function. + (insert-diary-entry), (insert-weekly-diary-entry), + (insert-monthly-diary-entry), (insert-yearly-diary-entry), + (insert-hebrew-diary-entry), (insert-monthly-hebrew-diary-entry), + (insert-yearly-hebrew-diary-entry), (insert-islamic-diary-entry), + (insert-monthly-islamic-diary-entry), + (insert-yearly-islamic-diary-entry): Modified so that if a prefix arg + is supplied these make nonmarking diary entries; otherwise the entries + made are marking. + (insert-block-diary-entry), (insert-anniversary-diary-entry), + (insert-cyclic-diary-entry): New functions. + + * calendar.el: + Autoload them. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + +1990-11-08 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: + (calendar-set-mark), (calendar-exchange-point-and-mark): New functions. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + +1990-11-06 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: Added new variable sexp-diary-entry-symbol. + (cursor-to-iso-calendar-date): Simplified, slightly. + (cursor-to-calendar-day-of-year): Fixed punctuation. + (cursor-to-french-calendar-date): Moved French names to arrays. + + * diary.el: + (list-sexp-diary-entries), (diary-sexp-entry), (diary-cyclic), + (diary-hebrew-date), (diary-iso-date), (diary-day-of-year), + (diary-float), (diary-islamic-date), (diary-anniversary),(diary-block), + (diary-french-date), (diary-omer), (diary-yahrzeit), (diary-parasha), + (diary-rosh-hodesh), (hebrew-calendar-parasha-name): New functions. + (list-diary-entries): Added call to (list-sexp-diary-entries) and + fixed an obscure error that caused a diary entry to be missed if it + was preceded by an empty entry of the same style. + (list-hebrew-diary-entries), (list-islamic-diary-entries): Fixed an + obscure error that caused a diary entry to be missed if it was + preceded by an empty entry of the same style. + (mark-islamic-calendar-date-pattern): Renamed some local variables + more appropriately. + + +1990-10-23 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el + (list-diary-entries): Added a separate hook to do the display, so + that the diary entries can be obtained without displaying them. + (simple-diary-display): New function (renaming of + ordinary-list-diary-hook). + (fancy-diary-display): New function (renaming of + prepare-fancy-diary-buffer). + + calendar.el: Add default definition of diary-display-hook. + +1990-10-20 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el + (describe-calendar-mode): Rewrote to give just a brief description + of the mode instead of calling describe-mode. + +1990-10-08 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * holiday.el: + (calendar-holiday-function-hebrew): Fixed minor problem with the + code to short-circuit the calculations to save time. + + *diary.el: + (mark-hebrew-calendar-date-pattern): Fixed minor problem with the + code to short-circuit the calculations to save time. + +1990-09-10 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el: + (list-diary-entries), (list-hebrew-diary-entries), + (list-islamic-diary-entries): Fixed to use add-to-diary-list. + +1990-09-07 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * holiday.el + (filter-visible-calendar-holidays): New function. + (calendar-holiday-function-rosh-hashanah-etc): Rewrote. + (calendar-holiday-function-tisha-b-av-etc): New function. + (calendar-holiday-function-passover-etc): New function. + (calendar-holiday-function-hanukkah): New function. + (calendar-holiday-function-easter-etc): Rewrote. + + * calendar.el: + (calendar-other-month): Rewrote. + (calendar-read), (calendar-make-alist): New functions. + Eliminated constants calendar-day-abbrev-list and + calendar-month-abbrev-list. + (calendar-current-date): Eliminated use of calendar-month-abbrev-list. + Modified the default value of `calendar-holidays'. + Added variable `all-christian-calendar-holidays'. + Added variable `all-islamic-calendar-holidays'. + Added variable `all-hebrew-calendar-holidays'. + (redraw-calendar), (calendar-goto-date), (calendar-goto-julian-date), + (calendar-goto-hebrew-date), (calendar-goto-islamic-date), + (calendar-goto-iso-date): New functions. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + (calendar-mode-map): Put scroll-other-window on a key. + list-diary-entries-hook: Changed the default value to + ordinary-list-diary-hook. + + * diary.el: + (mark-diary-entries), (mark-islamic-diary-entries), + (mark-hebrew-diary-entries): Eliminated use of constant alists for + month and day names. + (prepare-fancy-diary-buffer): Fixed the way holidays are displayed + when there are no diary entries but lots of holidays. + (ordinary-list-diary-hook), (add-to-diary-list): New functions. + + +1990-09-06 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: + Changed reference at beginning of file from the report to the + published version of the paper. + Changed all calls to `mod' to call `%' to avoid problem with cl. + (calendar-date-string): Added optional parameter `nodayname'. + (cursor-to-islamic-calendar-date): Fixed so that + calendar-date-string doesn't try find the day name. + (cursor-to-hebrew-calendar-date): Fixed so that + calendar-date-string doesn't try find the day name. + nongregorian-diary-marking-hook: Fixed typo in doc string. + (calendar-mode): Fixed a typo in doc string. + (cursor-to-iso-calendar-date): Made message consistent with + similar functions for Julian, Islamic, Hebrew, and French calendars. + (calendar-absolute-from-gregorian): Simplified calculation. + (calendar-mark-today): Changed today mark to `=' to avoid + confusion with the default holiday mark. + (calendar-julian-from-absolute): Rewrote parallel to other functions. + (calendar-islamic-from-absolute): Rewrote parallel to other functions. + (calendar-forward-day): Fixed movement when cursor is not on a date + and arg is negative. + Added description of new `if' form to doc string for calendar-holidays. + + + * diary.el: + Changed all calls to `mod' to call `%' to avoid problem with cl. + (diary-entry-time): New function. + (diary-entry-compare): Rewritten to take time of day into account. + + * holiday.el: + Changed all calls to `mod' to call `%' to avoid problem with cl. + (calendar-holiday-function-rosh-hashanah-etc): Fixed grammatical + error in a comment. + (calendar-holiday-function-hebrew): Fixed typo in doc string. + (calendar-holiday-function-islamic): Fixed typo in doc string. + (calendar-holiday-function-if): New function. + +1990-11-19 Richard Mlynarik (mly@august-east) + + * rfc822.el (rfc822-addresses): Blow out, don't loop, on ") + (rfc822-addresses-1) Error if address "phrase" not followed by + route-spec + + * ebuff-menu.el (Electric-buffer-menu-mode): Remove questionable + code which attempted to fake out mode-name in mode-line-list. + Also, use slow \\<...> technology. + +1990-11-13 David J. MacKenzie (djm@apple-gunkies) + + * fortran.el: Use domain format instead of uucp format for bug + list address. + +1990-11-12 Richard Stallman (rms@mole.ai.mit.edu) + + * lisp.el (lisp-complete-symbol): Use emacs-lisp-mode-syntax-table. + +1990-11-05 Roland McGrath (roland@geech.ai.mit.edu) + + * compile.el (compilation-window-height): Added defconst for this, + since it somehow disappeared. + + * compile.el: Unoverhauled. Restored from old 19 compile.el, plus + these changes: (compilation-{enter,leave}-directory-regexp): New + variables, specifying regexps that match lines saying the compilation + process is entering/leaving a directory. The default values match the + messages produced by the `-w' option to GNU make. + (compilation-error-regexp-alist): [Idea from tale.] Replaces + compilation-error-regexp. Alist (REGEXP FILE-IDX LINE-IDX) of regular + expressions to match errors in compilation. If REGEXP matches, the + FILE-IDX'th subexpression gives the file name, and the LINE-IDX'th + subexpression gives the line number. + (compilation-parse-errors): Rewritten. Combine the error and + enter/leave directory regexps into a single regexp to search for, and + dispatch on which subexpressions match. When the enter-directory + regexp matches, set default-directory to that directory, and push it + on compilation-directory-stack. When the leave-directory regexp + matches, pop the stack to find the matching directory, and set + default-directory to that. This change requries RE_NREGS to be (at + least 26) (it's been upped from 10 to 30 in v19 ../src/regex.h). + (compilation-finish-hook): New variable, a hook to run when a + compilation finishes. Called with two args: the compilation buffer + that finished, and the string passed to the process-sentinel + describing how it finished ("exited", "signaled", etc.). + (compilation-sentinel): Call it. (compilation-buffer-name-hook): Hook + called to generate a name for a compilation buffer. Passed one arg, + the name of the major mode of the buffer. (compile-internal): Use it. + [From tale's changes:] + (compile): Moved window enlarging to compile-internal. + (compile-internal): Don't use with-output-to-temp-buffer. Use + display-buffer instead. + +1990-11-05 David Lawrence (tale@pogo.ai.mit.edu) + + * c++-mode.el (c++-mode): Made several global variables related to + comment handling buffer-local. + + * emerge.el: Moved the kill-buffers out of emerge-extract-* and + into the emerge-make-*-list functions which are responsible for + creating and using them. unwind-protect it to make sure the + buffer is always killed. + + * subr.el: fset buffer-flush-undo to buffer-disable-undo, not + buffer-enable-undo. + + * comint.el, inf-lisp.el, shell.el: Updated to meet Olin's + version 2.0 comint offerings. + * ring.el: The underlying history mechanism for comint. + Generalised handling of a ring data type based on vectors. + * history.el: For now, a symlink to ring.el. + * loaddefs.el: Updated shell-prompt-pattern doc string. + +1990-11-02 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (set-visited-file-name): Reject empty string as name. + + * saveconf.el (save-context): Record dired buffers. + (save-context-buffer-name): Compute the "name" of a buffer. + (restore-context): Handle expressions as buffer names. + +1990-11-01 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-find-node): Simplify file search. + Try appending `.info' to specified name. + +1990-10-31 Jim Blandy (jimb@gnu.ai.mit.edu) + + * bytecomp.el: Put properties on * so that the byte-compiler knows + how to inline multiplication. + +1990-10-30 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (delete-auto-save-file-if-necessary): + Don't delete if auto-saveing in visited file. + +1990-10-29 Jim Blandy (jimb@pogo.ai.mit.edu) + + * subr.el: `buffer-flush-undo' is now officially named + `buffer-enable-undo'; added an alias for backward compatibility. + +1990-10-28 Richard Stallman (rms@mole.ai.mit.edu) + + * dabbrev.el (dabbrev-expand): Use original abbrev for case pattern. + Do preserve case if expansion has a single uppercase initial. + +1990-10-26 Richard Stallman (rms@mole.ai.mit.edu) + + * subr.el (keyboard-translate): New function. + +1990-10-25 Robert J. Chassell (bob@gnu.ai.mit.edu) + + * texinfmt.el (texinfo-format-defun-1): Replace with new version + that handles @deftypefn and related typed definition commands. + (texinfo-format-deftypefn-type, texinfo-format-deftypefn-index): + Formatting commands for @deftypefn and related typed definition + commands. Inserted related `put' expressions. + +1990-10-23 David Lawrence (tale@pogo.ai.mit.edu) + + * emerge.el (emerge-setup, emerge-setup-with-ancestor): Moved + insert-buffer calls back before call to emerge-extract-diffs where + the merge-buffer really needs to have something in it. + (emerge-extract-diffs,emerge-extract-diffs3): Moved errant + kill-buffer which interfered with return value of functions. + +1990-10-22 David Lawrence (tale@pogo.ai.mit.edu) + + * loaddefs.el, bibtex.el: Changed bogus "" sequences attempting + to generate a single quote to \" pairs. + + * calc-aent.el, calc-alg-2.el, calc-alg.el, calc-arith.el, + calc-bin.el, calc-comb.el, calc-comp.el, calc-cplx.el, + calc-ext.el, calc-forms.el, calc-frac.el, calc-funcs.el, + calc-graph.el, calc-incom.el, calc-lang.el, calc-macs.el, + calc-map.el, calc-mat.el, calc-math.el, calc-misc.el, + calc-mode.el, calc-prog.el, calc-rewr.el, calc-rules.el, + calc-sel-2.el, calc-sel.el, calc-store.el, calc-stuff.el, + calc-trail.el, calc-undo.el, calc-units.el, calc-vec.el, + calc-yank.el, calc.el: New files for a very complete RPN + calculator which supports integer, rational, floating-point, + comples, matrix and symbolic arithmetic to arbitrary precision. + + edmacro.el: New file, a keyboard macro editor. On its own + probably not very useful, but in the context of calc + programmability it fits the model well. + + emerge.el: New file, for merging files or buffers based on their + differences. + + loaddefs.el: Autoloads for calc, quick-calc, full-calc, + calc-eval, defmath, calc-grab-region and calc-extensions for the + calculator. Bind calc to M-#. + Autoloads for edit-kbd-macro, edit-last-kbd-macro and + read-kbd-macro for edmacro. + Autoloads for emerge-files, emerge-files-with-ancestor, + emerge-buffers and emerge-buffers-with-ancestor for emerge. + +1990-10-21 Richard Stallman (rms@mole.ai.mit.edu) + + * window.el (split-window-vertically): + Select the bottom window if that lets point stay on screen. + + * etags.el (visit-tags-table-buffer): + Handle local bindings of tags-file-name. + +1990-10-19 Robert J. Chassell (bob@gnu.ai.mit.edu) + + * texinfmt.el (texinfo-format-include, + texinfo-format-setfilename): Redefined to handle new include + files. (texinfo-format-buffer-1, texinfo-format-region): Add + `last-input-buffer' so handles new include files. + (texinfo-format-bullet, texinfo-format-minus, + texinfo-format-paragraph-break): Require braces if used within + line; do no require braces if used@end of line. + (texinfo-optional-braces-discard): Discard optional braces. + + * texnfo-upd.el (texinfo-incorporate-descriptions): Require exact + match for item names. + (texinfo-update-menu-region-beginning): Do not accidentally copy + an info-only title for the top node into the main menu. + (texinfo-section-types-regexp): Add `@chapheading'. + (texinfo-find-lower-level-node, texinfo-find-higher-level-node, + texinfo-menu-locate-entry-p, texinfo-copy-menu-title, + texinfo-update-menu-region-beginning, texinfo-update-menu-region-end): + Handle `@ifinfo' as well as comment line following node line. + (texinfo-multiple-files-update and aux. files): Added to handle + multi-file Texinfo sources. + +1990-10-18 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-help): Go to one window. + +1990-10-17 David Lawrence (tale@pogo.ai.mit.edu) + + * lisp-mode.el: Indent autoload like defun. + + * cl.el, mh-e.el, gnus.el: Change uses of lisp-indent-hook to + lisp-indent-function. + +1990-10-16 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (revert-buffer): Discard all undo records. + * rmail.el (rmail-expunge, rmail-get-new-mail): Likewise. + +1990-10-14 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (symbol-function, fset, read-char): Don't open code them. + +1990-10-11 Richard Stallman (rms@mole.ai.mit.edu) + + * Kill commands on read-only buffers, just copy to kill-ring. + * simple.el (kill-region): If read-only, just copy to kill-ring. + (zap-to-char, kill-line, kill-comment, kill-word): + (backward-kill-word, kill-paragraph, backward-kill-paragraph): + Allow read-only buffers. + + * csharp.el: New file. + +1990-10-10 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailsum.el (rmail-summary-scroll-msg-up): Make msg visible. + (rmail-summary-scroll-msg-down): Likewise. + + * bytecomp.el (byte-compile-associative): New function. + (+, max, min, -): Use that. + (byte-compile-make-binary, byte-compile-butlast): New functions. + +1990-10-09 Richard Stallman (rms@mole.ai.mit.edu) + + * dired.el (dired-compress, dired-uncompress): Put output from + subprocess in a buffer to display it. + + * appt.el (fix-time): Deleted. + (appt-select-lowest-window): Renamed from select-lowest-window. + (appt-visible): Renamed from appt-visable. + + * time.el (display-time-filter): Run display-time-hook. + + * lisp.el (lisp-complete-symbol): Last change clobbered beg. + + * lisp-mode.el (indent-sexp): Make sure outer loop ends@eob. + +1990-10-08 Richard Stallman (rms@mole.ai.mit.edu) + + * man.el (nuke-nroff-bs): Handle o\b+. + + * files.el (save-buffers-kill-emacs): Do querying here. + Don't die if process-list is not defined. + + * simple.el (next-complex-command): Fix typo. + +1990-10-07 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-file): Run set-auto-mode. + +1990-10-01 David Lawrence (tale@pogo.ai.mit.edu) + + * compile.el: Major overhauls. Remove references to mode, since + it never really was a mode. + (compile-regexp-list): Don't use a single regexp, but try + multiple ones from a list. + (next-error): Don't read in every single file when doing + next-error, just go to the line of the next file, reading it in if + need be. The old method was slow and could end up creating a lot + of buffers you never wanted around. + Use buffer named in compilation-buffer. Get buffer to use + interactively via compilation-use-buffer if called with arg. + (compile-internal): Move window resizing here, since a grep + window is still a compile window as far as this package is + concerned. Don't use with-output-to-temp-buffer since it is very + anti-social with show-temp-buffer-hooks which resize based on the + how much data is output by its forms; it never worked with + compile-window-height that way anyway. + (compilation-parse-line): Figures out file and line for + next-error from compile-regexp-list. + (compilation-use-buffer): Function which sets buffer for + next-error to use. + +1990-10-01 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (c-indent-line): Special clause for `} else'. + +1990-09-30 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (compilation-mode): Don't set compilation-error-regexp. + (compile-internal): Set it here. + (compilation-error-regexp): Put on permanent-local property. + + * startup.el (command-line-functions): New variable. + (command-line-1): Do something with it. + + * diff.el (diff): Fix bug in searching for first change run. + + * bytecomp.el (byte-compile-lambda): Handle string constant as value. + +1990-09-28 Richard Stallman (rms@mole.ai.mit.edu) + + * mh-e.el: New version from Larus. + + * c-mode.el (calculate-c-indent): When looking@previous column-0 + line, allow whitespace between the close-paren and the semicolon. + +1990-09-26 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (command-line): Make init-file-user permanent. + +1990-09-25 David Lawrence (tale@pogo.ai.mit.edu) + + * edebug.el: New file for elisp source debugging. + + * loaddefs.el: Autoload edebug with edebug-defun. + + * lisp-mode.el (eval-defun): If arg, edebug-defun. + + * simple.el (comment-region): New function. + + * c-mode.el (c-beginning-of-statement, c-end-of-statement): + New functions bound to M-a and M-e respectively. + (c-beginning-of-statement-1, c-end-of-statement-1): Engines for + above. + (set-c-style): New function to easily select a preferred + indentation style. + (c-style-alist): Styles and variables values for set-c-style. + + * asm-mode.el: New file. Mode for editing assembler code. + + * loaddefs.el (auto-mode-alist): Use asm-mode for .s files. + Autoload it. + +1990-09-24 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (auto-mode-alist): Use \\' for end of string. + +1990-09-22 David Lawrence (tale@pogo.ai.mit.edu) + + * simple.el (shell-command): Document in code comment why -f is + not used for C shells. Perhaps this will get people to stop + asking about it. + +1990-09-21 Richard Stallman (rms@mole.ai.mit.edu) + + * isearch.el (nonincremental-search): Bind cursor-in-echo-area + only as long as necessary. + +1990-09-21 David Lawrence (tale@pogo.ai.mit.edu) + + * loaddefs.el (auto-mode-alist): Use bibtex-mode for .bib files + and autoload it. + +1990-09-18 Richard Stallman (rms@mole.ai.mit.edu) + + * doctor.el (doctor-caddr, doctor-cadr, doctor-cddr): Renamed. + +1990-09-13 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (calculate-c-indent): Skip back across preprocessor + lines before testing for a continuation statement. + + * mouse.el (mouse-set-point): Compensate properly for hscroll. + +1990-09-13 Robert J. Chassell (bob@gnu.ai.mit.edu) + + * texinfmt.el (texinfo-format-inforef): Item name now optional. + +1990-09-13 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-nuke-pinhead-header): Save From line in Mail-from:. + + * help.el (print-help-return-message): Mention C-M-v. + +1990-09-10 Chris Hanson (cph@kleph) + + * xscheme.el (xscheme-eval): Add hook that allows Scheme to + evaluate arbitrary expression in Emacs. + (scheme-interaction-mode): Run scheme-mode-hook before + scheme-interaction-mode-hook. + Guarantee that the process-filter's state is correctly updated + before calling any code that can possibly allow more input to be + read from the process. + +1990-09-10 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailsort.el (rmail-sortable-date-string): Handle excess space. + Discard century from year. + + * files.el (after-find-file): Improve a message. + +1990-09-09 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-signature): t means use signature file. + (mail-setup): Implement that. + (mail-mode-map): Put mail-signature command back on C-c C-w. + (mail-signature-inserted): Variable deleted. + +1990-09-08 Richard Stallman (rms@mole.ai.mit.edu) + + * ftp.el (ftp-command): Ignore output lines without status codes. + +1990-09-06 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-signature): New variable holds signature. + (mail-setup): Default mail-signature from .signature file. + Insert the value. + +1990-09-04 Richard Stallman (rms@mole.ai.mit.edu) + + * ftp.el (ftp-write-file): Accept status 125 as normal. + +1990-09-03 David Lawrence (tale@pogo.ai.mit.edu) + + * rnews.el: Reinstated. + +1990-09-01 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (backup-buffer): Test backup-inhibited. + (find-file-noselect, set-visited-file-name): Set that var + based on backup-enable-predicate. + +1990-08-31 David Lawrence (tale@pogo.ai.mit.edu) + + * sendmail.el (mail-send-and-exit): Remove dependency on other + window being in rmail-mode in order to delete selected window. + +1990-08-30 David Lawrence (tale@pogo.ai.mit.edu) + + * paths.el: Add gnus-default-nntp-server, gnus-nntp-service, + gnus-your-domain, gnus-your-organization, and gnus-newsrc-file to + be visible for admins during installation configuration. + + * loaddefs.el: + (gnus, gnus-post-news): Autoload gnus. + (sendnews, postnews): fset to gnus-post-news instead of news-post-news. + (rnews, news-post-news): Removed autoloads. + + * gnus.el: New file. + (gnus-make-newsrc-file): Removed. + (gnus-read-newsrc-file): Work without above. + (gnus-Info-directory): Removed. + (gnus-Info-find-node): Work without above. + (lots of variables): Made non-interactive. Some doc fixes. + + * gnuspost.el, gnusmail.el, gnusmisc.el, nntp.el, nnspool.el, + * mhspool.el: New files. + + * rnews.el: Removed. (Renamed to rnews.el.~backout~.) + +1990-08-29 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el: Put paragraph commands on M-{ and M-}. + + * files.el (basic-save-buffer): Make error messages more natural. + + * rmail.el (rmail-search): Call rmail-maybe-set-message-counters. + +1990-08-29 David Lawrence (tale@pogo.ai.mit.edu) + + * files.el (basic-save-buffer): Signal an error when the directory + doesn't exist or is write-protected. + (set-visited-file-name): When renaming buffer, don't switch from + current name if that is the name causing the conflict for the new name. + Eg, C-x b foo C-x C-w /tmp/foo would name the buffer foo<2> and + leave no foo around. Now it stays foo. + + * fortran.el (fortran-mode): Define comment-line-start-skip based + partially on value of fortran-comment-region; statements starting + with c (eg: call, common) were being indented as comments. + (fortran-current-line-indentation): Only skip over continuation + char or line number for statements. It was giving back wrong + values for statements which started in columns 1-6. + (fortran-mode-version): Removed. + +1990-08-28 David Lawrence (tale@pogo.ai.mit.edu) + + * loaddefs.el: Autoload reverse-region from sort.el. + + * cl.el: + (defstruct): The copier function invoked the non-existent + copy-vector. Calling copy-sequence does the job. + (defsetf for point): Point's inverse is goto-char. Of course, + what do we do with the other basic types of Emacs Lisp? + (member): Another, perhaps counterproductive, speed hack. When + test or testnot are symbols (hopefully, non-null), they are + replaced by their symbol-function slots. This presumably reduces + one indirection per each funcall in the inner loop. + (byte-compile-named-list-accessors): Another byte-compile + handler, this one eliminates the extra call incurred when using + first, ..., tenth, or rest. This makes those list accessors + essentially as primitive as car, cdr, or nth. + (with-keyword-args): Macro that simplifies most of the handling of + klists. The only neglected functionality is that no supplied-p + forms exist (although that is true also of lambda lists in Emacs Lisp). + (cl-eval-print-last-sexp): Added half-hearted support for -, +, + ++, +++, *, **, ***, /, //, ///; and cleared the mvalues mechanism + at every call. + (declare, proclaim, the): Make some more CL codes easy to load. + These are dummies, and have no effect whatsoever. (Perhaps `the' + could be made to check in interpreter, and to ignore in the + compiler. Then again, writing `typecase' would be also useful and + I haven't done it yet.) + (byte-compile-ca*d*r): New function, used as a handler from + byte-compile-form to eliminate the extra call to the c*r functions + in compiled code. + (adjoin, map): Changed to use `memq' instead of `member', too. + (case, ecase): Via a change in case-clausify, these macros now + generate tests using the primitive `memq', instead of the heavier + `member'. + (member): Rewrote it to exploit the keyword argument machinery. + It also tries to call memq whenever possible. + (many funcs): Two-branch conds changed into simple ifs here and + there, minor layout changes all over. + (defsetf): `Puts' occur in the generated code, not in the macro + expander. (Didn't we fix this long ago?) + (setf): Comment disagreed with the code. Code was right. + (defkeyword): Was dropping the DOCSTRING. + (reduce): New function. Presented as an example of how to use + KLISTs to parse calls in functions that take keyword arguments. + (concatenate, map): New functions. + (extract-from-klist): Swapped arguments for convenience. + (keyword-argument-supplied-p, cl$subseq-as-list): New auxiliary + functions. + (build-klist): Better error messages. + (psetf): Rewrote, patterned after the new psetq. + (psetq): Added early check for even number of arguments. This + causes a better error message than previously. + (defstruct, parse$defstruct$options): asp@CS.CMU.EDU (James + Aspnes) reported that defstruct wasn't handling properly the use + of accessors of an :included definition applied to instances of + the :including structure. Indeed, the old version was + implementing a (rather useless) sense of multiple-inheritance that + was inimical to the Common Lisp sense. Fixed here by adding + properties :structure-includes and :structure-included-in to the + struct name. They keep track of the graph of inclusions. + (mapc, maplist, mapl, mapcan, mapcon, + copy-list, copy-tree, revappend, nreconc, nbutlast, + subst, subst-if, subst-if-not, sublis, + member-if, member-if-not, tailp): New functions, developed apart + and now merged with the main file. They still don't take :keyword + arguments. + + * sort.el (sort-subr): Support floating point numbers. + (sort-float-fields, reverse-region): New functions. + (sort-numeric-fields, sort-fields, sort-float-fields): Use -ARG + to mean count fields from right, not reverse. (Doc fixes.) + (sort-fields-1): Let negative arg pass unmolested. Always do + ascending sort. + (sort-skip-fields): Handle negative field. + + * tex-mode.el (tex-mode-map): Move bindings of M-{ and M-} to + C-c { and C-c }. + +1990-08-28 Roland McGrath (roland@gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-file): If interactive, ask user if he + wants to save a buffer visiting file to be compiled. + +1990-08-27 David Lawrence (tale@pogo.ai.mit.edu) + + * compile.el (compilation-error-regexp): Padded up a little to + work with new function: + (compilation-get-file-and-line): Grabs file and line using + matched sub-expressions in compilation-error-regexp. + (compilation-parse-errors): Use new function. + (compilation-sentinel): Make buffer writable before trying to + insert things. + + * info.el (Info-extract-menu-item): Search for an exact match for + menu item before looking for a partial match. Regexp-quote the + search string. + + * lisp.el (lisp-complete-symbol): Display possibilities in + *Completions* not *Help*. + + * help.el (describe-mode): Use Dale Worley's version to also show + minor mode documentation if argument is given. Fset + defining-keyboard-macro to start-keyboard-macro so its + documentation can be found. Currently does not work with + auto-fill-mode because of the hook nature of its minor mode + indicator variable. + +1990-08-26 Richard Stallman (rms@mole.ai.mit.edu) + + * terminal.el: Move possibly offensive comments to term-nasty.el. + (te-quote-arg-for-sh): Give some variables more useful names. + +1990-08-25 Richard Stallman (rms@mole.ai.mit.edu) + + * resume.el: New version from Joe Wells. + +1990-08-22 Joseph Arceneaux (jla@geech) + + * lisp.el (lisp-complete-symbol): Use lisp-mode-syntax table + rather than current buffer's. + +1990-08-16 Richard Stallman (rms@mole.ai.mit.edu) + + * isearch.el (isearch): For C-y and C-w in regexp search, + use regexp-quote. + + * time.el (display-time-filter): Check that file is non-empty. + +1990-08-16 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * term/x-win.el: Don't define C-z here; it's now in screen.el. + +1990-08-14 David J. MacKenzie (djm@apple-gunkies) + + * time.el: New version that uses wakeup instead of loadst. + +1990-08-14 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * simple.el (eval-current-buffer): New function. + + * screen.el: Moved screen convenience functions here, formerly in + term/x-win.el. + other-window now bound to esc-o, ctl-x-o now next-multiscreen-window. + +1990-08-13 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el: Doc fix. + +1990-08-11 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * screen.el (get-screen): Don't loop on screen-visible-p. + Set auto-new-screen-function to new-screen. + + * gdb.el (gdb-break): Also handle temporary breaks. + +1990-08-01 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-file): Fix format string in call to + float-output-format. + +1990-07-31 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * files.el (find-alternate-file): Don't depend on buffer being + read-only for modifications to invoke yes-or-no-p. + +1990-07-28 Richard Stallman (rms@mole.ai.mit.edu) + + * paths.el (rmail-spool-directory): + Change silicon-graphics-unix to irix. + +1990-07-27 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-region): Set tex-last-temp-file in shell buffer. + Give it tex-filter as a filter. + (tex-filter): New function. Deletes the temp file and junk files. + (tex-directory): Now set to `.'. + +1990-07-27 David Lawrence (tale@pogo.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): Remove tabs that aren't in + fill-prefix or part of paragraph indentation. + +1990-07-26 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-file-forms): New function. + (byte-compile-file): Use that for the runs of ordinary forms. + Don't crash when make-byte-code has only 3 elements. + + * help.el (view-lossage): Use insert, not `newline'. + + * info.el (Info-find-node): Set case-fold-search for tag tbl buffer. + +1990-07-26 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-verbose): Baud rate is a variable, not + a function in 19. + +1990-07-26 Richard Stallman (rms@mole.ai.mit.edu) + + * chistory.el (command-history-repeat): New function. + (command-history-map): Put command-history-repeat on x. + (command-history-mode): Document that. + +1990-07-26 David Lawrence (tale@pogo.ai.mit.edu) + + * c-mode.el (c-auto-newline): Doc addition. + (electric-c-terminator): Removed bogus set-marker. + (electric-c-sharp-sign): Make sure c-auto-newline is nil for call + to electric-c-terminator. + + * texinfo.el: Bind tex-insert-quote to " in texinfo-mode-map. + + * simple.el (goal-column): Make buffer-local. + + * man.el (manual-entry): Enter view-mode. + +1990-07-25 David Lawrence (tale@pogo.ai.mit.edu) + + * replace.el (occur-last-string): New variable to hold last + interactive regexp to occur. + (occur): Use occur-last-string. + + * lisp.el (down-list): Doc fix. + +1990-07-24 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (find-file-noselect): Nice msg if can write but not read. + + * lisp.el: Doc fix. + +1990-07-19 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-lambda): Fix test for nontrivial function. + +1990-07-17 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (find-file-read-only-other-window): New function. + Put on C-x 4 r. + +1990-07-15 Richard Stallman (rms@mole.ai.mit.edu) + + * register.el (view-register): Don't ignore first line of rect. + +1990-07-14 Richard Stallman (rms@mole.ai.mit.edu) + + * outline.el (show-children): Make default arg smarter. + +1990-07-12 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (compile-internal): Make *compilation* read-only + except during this function. + +1990-07-11 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (c-comment-indent): Special case comment after }. + +1990-07-05 Robert J. Chassell (bob@gnu.ai.mit.edu) + + * texinfmt.el: Renamed Lisp definitions section to `Description + formatting' and revised `texinfo-format-defun-1' and format + defuns to handle object oriented descriptions properly. + +1990-06-30 Richard Stallman (rms@mole.ai.mit.edu) + + * dbx.el: Use C-x SPC for setting break point. + +1990-06-29 Richard Stallman (rms@mole.ai.mit.edu) + + * sort.el: Doc fix. + +1990-06-28 Robert J. Chassell (bob@gnu.ai.mit.edu) + + * texinfmt.el (texinfo-format-paragraph-break): @br{} no longer a + noop. + + * texinfmt.el (texinfo-format-scan): @* now breaks lines; no + longer does nothing. + + * texinfmt.el: `Bottom node' changed to `End node' and `BN' + changed to `EN'; also, `footnote-style' changed to + `texinfo-footnote-style'. + + * texnfo-upd.el (texinfo-all-menus-update): With a non-nil + argument, now updates all the nodes in the buffer before + updating the menus. + + * texnfo-upd.el (texinfo-master-menu): With non-nil argument + (prefix, if interactive) means first update all existing nodes + and menus, not just menus. + + * texinfo.el (texinfo-show-structure): With optional arg, list + lines with @-sign commands for @chapter, @section and the like, + but not @node lines. + +1990-06-27 Richard Stallman (rms@mole.ai.mit.edu) + + * paragraphs.el (start-of-paragraph-text): Avoid infinite loop. + +1990-06-26 Richard Stallman (rms@mole.ai.mit.edu) + + * disass.el (disassemble-1): Check ptr in range for aref. + + * bytecomp.el (byte-compile-defvar, byte-compile-defconst): New. + (byte-compile-find-vars-1): Do nothing for defun or defmacro. + Do nothing for defvar or defconst with only one argument. + (byte-compile-lambda): New function for error checking. + (byte-compile-verbose): New variable. + (byte-compile-file, byte-compile-file-form): Check that for messages. + +1990-06-26 David Lawrence (tale@geech) + + * compile.el (grep): Use `grep-command' to also hold args for + grep, like compile-command. + + * simple.el (kill-ring-save): Fixed to not reference free + variable `verbose' but to just unconditionally echo message. + (shell-command): Use new `last-shell-command' interactively. + (shell-command-on-region): Use new `last-shell-command-on-region' + interactively. Delete *Shell Command Output* if no output. + (kill-comment): Error if no comment syntax defined. + +1990-06-25 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (kill-region): New arg VERBOSE says print a message. + (kill-ring-save): Print a message, instead of moving point. + +1990-06-23 Randall Smith (randy@substantia-nigra) + + * dired.el (dired-flag-regexp-files): Added function to flag all + files matching a REGEXP for deletion. + (): Bound this function to key "F" in dired-mode ("D" was already + taken). + +1990-06-22 Richard Stallman (rms@albert.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): Don't consider colon as sentence + end. Use syntax table to decide what is whitespace. + (justify-current-line): Don't consider colon as sentence end. + + * c-mode.el (calculate-c-indent): Back up over comma before + calling c-backward-to-start-of-continued-exp. + (c-backward-to-start-of-continued-exp): Back up over strings. + +1990-06-21 Robert J. Chassell (bob@pogo.ai.mit.edu) + + * texinfmt.el (texinfo-format-include): Include files ending with + ".texi" as well as ".texinfo" and ".tex". + + * texinfmt.el: Define @shortcontents, like @summaryconents, as + 'texinfo-discard-line-with-args. + +1990-06-20 Richard Stallman (rms@mole.ai.mit.edu) + + * isearch.el (isearch): Do exit on meta keys. + Also exit on function keys and mouse clicks. + * loaddefs.el (search-exit-char): Change back to escape. + (search-ring-advance-char): Moved from isearch.el. + (search-ring-retreat-char): Renamed from ...-recline-char and moved. + + * float.el: Provide 'float. + +1990-06-19 Richard Stallman (rms@mole.ai.mit.edu) + + * mouse.el (mouse-set-point): Compensate for horizontal scrolling. + +1990-06-19 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * isearch.el (isearch): Don't quit on meta-chars. + +1990-06-15 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * loaddefs.el: search-exit-char is now Return. + * simple.el: Search-ring advance and recline characters are now + M-n and M-p. + +1990-06-15 Robert J. Chassell (bob@pogo.ai.mit.edu) + + * tex-mode.el (tex-start-shell): Don't put `require' in defun, put + it@top level. + + * texnfo-upd.el (texinfo-incorporate-descriptions): Don't + accidently find a string in the description that is confused for + a menu item. + +1990-06-01 Robert J. Chassell (bob@wheat-chex) + + * texinfo.el: Added `texinfo-tex-region' (C-c C-r) to run TeX on + the current region, `texinfo-tex-buffer' (C-c C-t) to run TeX on + the current buffer, and `texinfo-tex-print' (C-c C-p) to print + the .dvi file made by TeX. + + Also, bound functions from TeX mode in Texinfo mode: + `tex-kill-job' (C-c C-k), `tex-recenter-output-buffer' (C-c + C-l), and `tex-show-print-queue' (C-c C-q). + +1990-05-31 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * startup.el (command-line): Check environment variable + VERSION_CONTROL and set version-control appropriately. + +1990-05-31 Robert J. Chassell (bob@wheat-chex) + + * texnfo-upd.el (texinfo-top-pointer-case): rewrote to handle + @chapter (or other sectioning) command following Top node. + + (texinfo-master-menu): rewrote to remove pre-existing master + menu, if there is one. Non-nil argument (prefix, if interactive) + now means first update all existing menus---previously it always + updated all existing menus (very time consuming). + + (texinfo-all-menus-update, texinfo-every-node-update): + added a save-excursion to each so that point does not move when + you update the menus or nodes. + + * texinfmt.el (texinfo-format-parse-args): expand arguments so + they can include commands such as @code, etc. + +1990-05-31 David Lawrence (tale@geech) + + * backquote.el (bq-splicequote): Correctly splice in elements + when followed by constant elements; don't list the constant elements. + + * add-log.el (add-change-log-entry): Fixed match test for full name. + + * lpr.el (print-buffer): Removed an extra trailing parenthesis. + +1990-05-30 David Lawrence (tale@geech) + + * comint.el (comint-load-hook): Superseded by eval-after-load. + + * inf-lisp.el (lisp-eval-region, lisp-compile-region): Use + temporary files instead of send-string to avoid problems with pty + buffering. + + * tex-mode.el (tex-close-latex-block): Allow whitespace after + \begin and \end before their opening brace. + (tex-last-unended-begin): Ditto. + +1990-05-30 Richard Stallman (rms@mole.ai.mit.edu) + + * subr.el (add-hook): New function. + +1990-05-30 David Lawrence (tale@geech) + + * dired.el (dired-revert): Preserve deletions across reversion + and report files flagged for deletion which were already removed. + When reading the root directory, name the buffer "/". + +1990-05-29 Richard Stallman (rms@mole.ai.mit.edu) + + * scheme.el (run-scheme): Autoload deleted. Already done in loaddefs. + +1990-05-24 Robert J. Chassell (bob@rice-chex) + + * page-ext.el (pages-directory-goto): Go to end of file if called + from the last line (which is empty) of the pages-directory + +1990-05-24 David Lawrence (tale@pogo.ai.mit.edu) + + * shell.el (shell-load-hook): Superseded by eval-after-load. + + * files.el (cd): Make sure that directory can be changed to. + * shell.el (shell-process-cd-or-pushd): ditto. + + * c++-mode.el: Installed latest version from David Detlefs with + all additions made since Sep 1989. + +1990-05-24 Robert J. Chassell (bob@apple-gunkies) + + * texinfmt.el: Added texinfo-format-defindex which provides + @defindex and @defcodeindex. + + Rewrote texinfo-format-synindex to be more modular; removed + references to it in texinfo-format-scan and + texinfo-format-printindex. + +1990-05-22 David Lawrence (tale@geech) + + * informat.el: (Info-tagify): Give status messages before and + after tagifying. + (batch-info-validate): Removed status messages around Info-tagify. + + * rmailout.el (rmail-output): Check for From:, Really-From: and + Sender: fields, in that order, and run mail-strip-quoted-names on + a non-nil value for the initial Unix mail "From user date" line. + +1990-05-21 Richard Stallman (rms@mole.ai.mit.edu) + + * buff-menu.el (Buffer-menu-buffer): Simplified. + Set Buffer-menu-buffer-column initially. + +1990-05-18 Robert J. Chassell (bob@apple-gunkies) + + * page-ext.el: (pages-addresses-file-name): + Renamed from addresses-file-name. + +1990-05-17 Robert J. Chassell (bob@apple-gunkies) + + * texinfo.el (texinfo-mode-map): Replace `C-c LETTER ...' key + bindings for functions updating nodes and menus with `C-c C-...' + keybindings, so as to leave `C-c LETTER' bindings free. + + * texnfo-upd.el (texinfo-menu-copy-old-description): Copy + descriptions that begin with an `@' as well as with word syntax char. + (texinfo-insert-master-menu-list): Print message telling which + menu entry it is inserting. + +1990-05-12 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * isearch.el (isearch): Check non-nil of unread command char + before checking >= 0. + +1990-05-12 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-read-subfile): Ignore blank lines in split file list. + +1990-05-11 Richard Stallman (rms@albert.ai.mit.edu) + + * isearch.el (isearch): Advance@least one character if empty string + was found the previous time. + * replace.el (keep-lines): Likewise. + +1990-05-10 Robert J. Chassell (bob@wheat-chex) + + * texinfmt.el: updated to correspond, more or less, to version 2.8 + of texinfo.tex. Does not do refilling. + + texinfo-format-chapter-1 now displays message telling which + section is being formatted, so formatting is no longer silent. + + Added notations: @quiv, @error, @expansion, @point, @print, @result + + Added @synindex and @syncodeindex, including + texinfo-format-synindex, texinfo-format-syncodeindex, + and defined syncode-arg as local variable in texinfo-format-scan. + Modified texinfo-format-printindex to handle these. + + Added @ref, which the same as @xref in Info. + Added @titlespec, which is ignored in Info. + Added @br @need as noops. + Added @today texinfo-format-today in `1 Jan 1900' style. + Added @defconst, @defcmd to the texinfo-format-defun series + + Added @flushright @end flushright, including + texinfo-format-flushright, texinfo-end-flushright, + texinfo-do-flushright. + + Added @ftable, which is like the `@table' command but also + inserts each item in the first column into the function index. + Includes texinfo-ftable, texinfo-ftable-item, texinfo-end-ftable. + + Added @footnote, including texinfo-format-footnote, footnote-style, + texinfo-format-make-node, texinfo-format-bottom-node. + +1990-05-10 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-cond-1): Handle (t). + +1990-05-04 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (indent-new-comment-line): Delete the temporary newline + even if point is not there after indent-for-comment. + +1990-05-04 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * simple.el (open-line): Insert fill-prefix if defined. + +1990-05-01 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (c-comment-indent): If@beginning of line and + comment-column is 0, insert no space. + + * replace.el (occur): Avoid infinite loop@end of buffer. + +1990-04-30 Richard Stallman (rms@mole.ai.mit.edu) + + * float.el (float-to-string): + Adjust POWER when rounding makes new digit. + +1990-04-26 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * man.el (manual-entry): Don't allow null topics. + + * dired.el (dired-create-directory): Use new primitive + make-directory. + (dired-do-deletions): Use new primitive remove-directory. + +1990-04-24 Richard Stallman (rms@mole.ai.mit.edu) + + * dired.el (dired-readin): Mark buffer unmodified@end. + +1990-04-18 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * loaddefs.el: Removed Meta-g def of fill-region. + +1990-04-13 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * c-mode.el (c-comment-indent): Don't need \n in #endif/#else + regexps. + +1990-04-12 Richard Stallman (rms@mole.ai.mit.edu) + + * isearch.el (isearch): In reverse search, + don't move point for C-w, C-y. + + * startup.el (normal-top-level): Don't check envvar PWD on vms. + +1990-04-10 Richard Stallman (rms@mole.ai.mit.edu) + + * add-log.el (add-change-log-entry): Require match in full-name + as well as login-name. + Don't switch windows if desired buffer already current. + (add-change-log-entry-other-window): Take two args and pass on. + Change interactive spec so default behavior doesn't change. + +1990-04-09 Richard Stallman (rms@mole.ai.mit.edu) + + * dired.el (dired-mode): Set list-buffers-directory + like dired-directory. So name appears in list-buffers. + + * sendmail.el (mail-do-fcc): Append properly to rmail buffers. + + * bytecomp.el (byte-compile-find-vars-1): Treat interactive + and save-window-excursion like condition-case. + +1990-04-08 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-file-form): Most forms pushed on `pending'. + Those that are special print their output and first compile + and print the contents of `pending'. + (byte-compile-file):@end of file, compile and print `pending'. + (byte-compile-pending): New function. + + * bytecomp.el (byte-compile-find-vars-1): + Special case unwind-protect and save-window-excursion. + +1990-04-06 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * mouse.el: Check consp of coordinates-in-window-p result. + +1990-04-06 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-file): Accumulate consecutive ordinary + forms, put them together into lambdas, and call them. + (byte-compile-file-form): With nil, do nothing fast. + (byte-compile-lambda): Do nothing with trivial lambdas + +1990-04-05 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailout.el (rmail-output-to-rmail-file): Set message counters + before inserting in a file being visited. + +1990-04-05 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * screen.el: Don't redefine ctl-x {p,n}, just ctl-x o. + +1990-04-05 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (command-line-1): Always erase *scratch*, not current buf. + +1990-04-04 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * screen.el: Define keys ctl-x {o, n, p}. Make C-Z iconify + emacs. + (next-multiscreen-window): + (previous-multiscreen-window): Include the minibuffer screen if + the minbuffer is active. + +1990-04-03 Richard Stallman (rms@mole.ai.mit.edu) + + * fill.el (fill-individual-paragraphs): Check for mail header name + only@beginning of line. + +1990-03-29 Richard Stallman (rms@mole.ai.mit.edu) + + * keypad.el: Define the `do' key. + + * dired.el (dired-diff): New command. + (dired-mode-map): Put on `='. + +1990-03-28 Jim Kingdon (kingdon@mole.ai.mit.edu) + + * rmail.el (rmail-insert-rmail-file-header, rmail-convert-file): + Put in "-*- rmail -*-". + Rename rmail-mode to rmail-mode-2. + (rmail-mode): New function. + Move docstring and (interactive) from rmail-mode to rmail-mode-2. + (rmail): Call rmail-mode-2 not rmail-mode. + +1990-03-27 Richard Stallman (rms@mole.ai.mit.edu) + + * etags.el (tags-loop-continue): Print message when find a match, + if tags-loop-operate is nil. + + * c-mode.el (calculate-c-indent): Don't consider a line as a + function definition line if it contains `='. + + * compile.el (compile-find-file): New function, to search a path. + (compilation-parse-errors): Use it. + (compilation-search-path): New user variable. + +1990-03-25 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el: Add autoloads for ispell.el. + * ispell.el: Doc fixes. + Problem: key for ispell-next was already used by set-selective-display. + Should we move that? + +1990-03-25 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * x-mouse.el (x-select): Only pass one arg to x-own-selection. + +1990-03-23 Richard Stallman (rms@mole.ai.mit.edu) + + * fortran.el (fortran-electric-line-number): + Make sure arg to self-insert-command is a number. + +1990-03-21 Richard Stallman (rms@mole.ai.mit.edu) + + * fortran.el (fortran-electric-line-number): + Use self-insert-command for all insertion. + +1990-03-21 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * startup.el (command-line): Load the window-system file if + DISPLAY is set or -d was specified on the command line. + +1990-03-20 Richard Stallman (rms@mole.ai.mit.edu) + + * lpr.el (print-region-1): New arg PAGE-HEADERS. + On system V, handle it by running pr. + Use print-region-new-buffer to copy text to temp buffer. + (all commands): Pass new arg; pass lpr-switches unchanged. + (print-region-new-buffer): New function. + +1990-03-20 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * term/x-win.el (x-pop-initial-window): Set mouse-motion-handler. + +1990-03-19 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * sendmail.el (mail-send): Force deletion of auto-save files. + (mail-do-fcc): Add closing paren. + +1990-03-17 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-file): Turn off print-length. + +1990-03-16 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * simple.el (auto-fill-mode): Doc fix. + +1990-03-14 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * term/x-win.el: Set suspend hook here, as well as put + 'iconify-emacs on C-Z. + + * screen.el: Check screenp of last-selected-screen in + iconification functions. + +1990-03-14 David Lawrence (tale@pogo.ai.mit.edu) + + * c++-mode.el (c++-comment-region): New function. + (c++-uncomment-region): New function. + +1990-03-11 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * mouse.el (track-mouse): x-mouse-grabbed now mouse-grabbed. + * x-mouse.el (dynamic-rect-selection): Ditto. + +1990-03-10 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * x-mouse.el: Conditionalization of certain functions dependent + on X version. Added mouse-key descriptions for X11. + +1990-03-09 Richard Stallman (rms@mole.ai.mit.edu) + + * man.el (nuke-nroff-bs): Allow period in middle of topic name. + + * simple.el (do-auto-fill): Handle auto-fill-inhibit-regexp. + * outline.el (outline-mode): Set that from outline-regexp. + +1990-03-08 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * screen.el (deiconify-function, multi-minibuffer-startup, + attached-minibuffer-startup, detached-minibuffer-startup): Pass + second parameter t to select-screen. + +1990-03-07 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-do-fcc): Temporarily unwiden + +1990-03-06 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * screen.el (deiconify-function): Setq last-selected-screen nil. + + * array.el, blackbox.el, compile.el, diff.el, files.el, ftp.el: + * gomoku.el, hanoi.el, informat.el, ispell.el, life.el, mailalias.el: + * man.el, rmail.el, sendmail.el, terminal.el: + * texinfmt.el: Renamed buffer-flush-undo to buffer-disable-undo. + +1990-03-04 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * screen.el (get-screen): If the screen is not visible, make it + so. + +1990-03-02 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * term/x-win.el: Don't set suspend-hook any more. + + * screen.el: No more x-specific things, this is now entirely + window system independent. + (new-screen): Use new function: + (new-screen-position): Determine position of new screen based on + that of selected-screen. + (pop-initial-screen): Set first-screen-user-positioned if user did + so. Also decide on which screen style depending on either new + variable `separate-minibuffer-screen' or minibuffer elt in + window-system-switches. + (detached-minibuffer-startup): Add screen colors to minibuffer + alist if possible. Also make sure screen-default-alist has + minibuffer element none, and correct name. + +1990-03-01 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * term/x-win.el: Require 'screen as well in initial setup code. + Don't set suspend hook; this will be something else. + Removed redundant cursor-shape delcarations. The all begin with + x-pointer- now. + Added some more definitions to the function keys. + Generally cleaned up this file. + +1990-03-01 David Lawrence (tale@pogo.ai.mit.edu) + + * subr.el (force-mode-line-update): New function. + time.el (display-time-filter): Update modeline with above. + + * rmail.el (rmail-get-new-mail): Remove " Mail" from + display-time-string if necessary. + +1990-02-28 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * screen.el (iconify-function, iconify-emacs, deiconify-function): + New functions. + + * files.el (save-some-buffers): Removed last parameter skip-list. + Now this checks for buffer-local variable save-buffers-skip to + determine whether or not to avoid asking to save the buffer. + * rmail.el (rmail-mode): Removed skip-list stuff. + (rmail-variables): make-local-variable save-buffers-skip. + * compile.el (compile): Removed additional parameter to + save-buffers. + +1990-02-26 David Lawrence (tale@pogo.ai.mit.edu) + + * time.el (display-time-hook): New hook run by display-time-filter. + (display-time-filter): Run display-time-hook after setting + display-time-string. + (rmail-pop-up): Default display-time-hook to automatically retrieve + new mail if the variable rmail-pop-up is non-nil. + (add-clock-handler): Removed; superceded by timer.el. + + * loaddefs.el: Removed add-clock-handler. + +1990-02-25 David Lawrence (tale@pogo.ai.mit.edu) + + * c++-mode.el: New file. + (point-bol): Removed this function. + + * loaddefs.el: Autoload C++-mode. + (auto-mode-alist): c++-mode for .C and .cc files. + +1990-02-25 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * lisp-mode.el (indent-sexp): Changed opoint to last-point. Very + strange, I thought I'd already fixed this. + + * screen.el: New file. + +1990-02-24 David Lawrence (tale@pogo.ai.mit.edu) + + * loaddefs.el: Autoload for diff. + + * files.el (diff): Superceded by diff.el. + (diff-switches-function): Still needs to be merged into diff.el. + + * diff.el: New file. + Changes from the original include recognition of context diffs, + rewrites of motion functions for more efficiency, and general + tidying of code. + +1990-02-22 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * isearch.el (isearch): After doing read-event, check numberp of + char first. + + * replace.el (perform-replace): Use read-event rather than + read-char. Check that returned object is char before comparisons. + +1990-02-22 David Lawrence (tale@pogo.ai.mit.edu) + + * files.el (file-newest-backup): Return either the name of an + existing backup file or nil if none exists. + + * server.el (server-program): Renamed from "server" to "emacsserver". + +1990-02-20 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): Fixed regexp typo in call to + re-search-forward. + +1990-02-19 David Lawrence (tale@pogo.ai.mit.edu) + + * simple.el (kill-comment): Take better advantage of comment-end. + +1990-02-18 Richard Stallman (rms@mole.ai.mit.edu) + + * ispell.el: new file. + +1990-02-14 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * calendar.el: Require cl. + +1990-02-13 David Lawrence (tale@wheat-chex) + + * files.el: Set default-directory of *Directory* to one displayed + by list-directory. + + * compile.el: Added to compilation-error-regexp pattern for errors + from IBM High C. + +1990-02-13 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * files.el (save-some-buffers): New parameter skip-list of buffers + to not save. + New variable save-buffers-skip-list. + * rmail.el (rmail-mode): Add the RMAIL buffer to the skip list. + * compile.el (compile): Pass save-buffers-skip-list to + save-some-buffers. + +1990-02-12 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailsum.el (rmail-summary-by-regexp, rmail-message-regexp-p): + New functions. + +1990-02-12 David Lawrence (tale@galapas) + + * tex-mode.el: require oshell until converted to comint. + + * loaddefs.el: point run-lisp autoload to new file inf-lisp. + + * shell.el: converted to comint. Relegated original to oshell.el. + + * inf-lisp.el: converted to comint. + + * comint.el: removed last vestiges of original history stuff. + +1990-02-07 David Lawrence (tale@galapas) + + * inf-lisp.el: inferior-lisp-program can be a list of the programme + name and its arguments. + +1990-02-06 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: + (french-calendar-leap-year-p): Rewritten with corrected rule. + (calendar-absolute-from-french): Fixed comments. + (calendar-french-from-absolute): Rewrote using calendar-sum. + (cursor-to-french-calendar-date): Simplified and corrected spelling. + +1990-02-06 Richard Stallman (rms@mole.ai.mit.edu) + + * register.el (insert-register): Return nil. + (jump-to-register): Likewise. + + * sort.el (sort-subr): Return nil. + + * simple.el (copy-region-as-kill): Return nil. + + * register.el (set-register): Return VALUE. + +1990-02-06 Joseph Arceneaux (jla@albert.ai.mit.edu) + + * term/x-win.el (x-pop-up-window): Die and leave disgusted message + when we can't get our X-window up. + +1990-02-05 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (calculate-c-indent): When distinguishing top level, + check for doublequotes when checking for parens. + +1990-02-04 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-show-print-queue): Restart shell like tex-file. + +1990-02-02 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-bibtex-file, tex-file, tex-region): + Restart the tex shell if process is gone or stopped. + (tex-shell-running): New function. + +1990-02-01 Richard Stallman (rms@mole.ai.mit.edu) + + * texinfmt.el (batch-texinfo-format): Paren error on (setq error 1). + +1990-01-27 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: + (scroll-calendar-left): Fixed so it works when the cursor is not + positioned on a day. + (cursor-to-calendar-day-of-year): Fixed so that "day" is properly + pluralized, depending how many days remain in the year. + (french-calendar-leap-year-p): New function. + (french-calendar-last-day-of-month): New function. + (calendar-absolute-from-french): New function. + (calendar-french-from-absolute): New function. + (cursor-to-french-calendar-date): New function. + (calendar-mode-map): Put cursor-to-french-calendar-date on a key. + (calendar-mode): Describe cursor-to-french-calendar-date. + +1990-01-31 Richard Stallman (rms@mole.ai.mit.edu) + + * yow.el: Provide 'yow. + +1990-01-25 Richard Stallman (rms@mole.ai.mit.edu) + + * lisp-mode.el: Indent prog2 specially. + +1990-01-24 Richard Stallman (rms@albert.ai.mit.edu) + + * compare-w.el (compare-windows): Handle compare-ignore-case. + +1990-01-19 David Lawrence (tale@cocoa-puffs) + + * dired.el: Removed restriction for -s, -i and -F switches to ls. + + * loaddefs.el: Removed above from dired-listing-switches doc string. + + * mh-e.el (c/o James Larus ): + Accepts message range specifications. + Defaults sequence name to previous sequence name when reading. + Made mode-line id user-setable. + Changes from Gildea: documentation and a few typos. + Added command to pipe message through shell command. + Fixed refile twice failed after second one moved. + Added changes from Gildea to speed-up mh-e. + Won't reverse sequence lists. + Allows arbitrary fields for pick. + Packing folder now properly updates sequence list. + Added previously missing %s in mh-redistribute. + + * timer.el: (new file) Adds run-at-time function with absolute + or relative time spec to run a function with args. + + * loaddefs.el: autoload for run-at-time. + +1990-01-16 Richard Stallman (rms@mole.ai.mit.edu) + + * rfc822.el (rfc822-addresses): Barf, don't loop, on > in host name. + +1990-01-16 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el: + (insert-diary-entry): New function. + (insert-weekly-diary-entry): New function. + (insert-monthly-diary-entry): New function. + (insert-yearly-diary-entry): New function. + (insert-hebrew-diary-entry): New function. + (insert-monthly-hebrew-diary-entry): New function. + (insert-yearly-hebrew-diary-entry): New function. + (insert-islamic-diary-entry): New function. + (insert-monthly-islamic-diary-entry): New function. + (insert-yearly-islamic-diary-entry): New function. + + * calendar.el: Autoload these functions. + (calendar-mode-map): Put them on keys. + (calendar-mode): Describe them. + +1990-01-11 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el + (list-diary-entries): Deleted several lines of extraneous code + and added `nongregorian-diary-listing-hook' to the list of hooks + called@the end; this is for use in including Hebrew, Islamic, + Julian, or ISO diary entries. A similar + `nongregorian-diary-marking-hook' was added to the list of hooks + called at the end of mark-diary-entries for the same reason. + + (diary-name-pattern): Fixed the documentation and added an optional + parameter FULLNAME which insists on the full spelling of the name; + this is also for use in marking Hebrew or Islamic diary entries + (those month names are not unique in the first three characters). + + (mark-hebrew-diary-entries): New function. + (list-hebrew-diary-entries): New function. + (mark-hebrew-calendar-date-pattern): New function. + (mark-islamic-diary-entries): New function. + (list-islamic-diary-entries): New function. + (mark-islamic-calendar-date-pattern): New function. + + (list-diary-entries): Added nongregorian-diary-listing-hook. + (mark-diary-entries): Added nongregorian-diary-marking-hook. + + * calendar.el: Added documentation for the hooks described above. + +1990-01-10 Richard Stallman (rms@mole.ai.mit.edu) + + * isearch.el (isearch): Check adding * or | to regexp even if failing. + + * yow.el (yow): Don't be confused by percent in message. + Use raw prefix arg as first argument; process it later. + +1990-01-08 Robert J. Chassell (bob@apple-gunkies.ai.mit.edu) + + * texnfo-upd.el (texinfo-update-node, + texinfo-sequential-node-update): fixed auto-fill-hook bug. + +1990-01-08 Joseph Arceneaux (jla@spiff) + + * term/x-win.el (x-pop-up-window): Set global-minibuffer-screen. + +1990-01-08 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-date-is-visible-p): + Fixed so it does not switch to the calendar buffer. + + * diary.el (prepare-fancy-diary-buffer): Compute the list of + holidays only once for each three-month period, not once for each date + displayed in the calendar. This saves an enormous amount of time in + the fancy diary display for multiple days. + +1990-01-07 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: Fixed the value of list-diary-entries-hook. + (regenerate-calendar-window): Changed (update-display) to (sit-for 0). + Corrected several instances of "dairy" to "diary". + (describe-calendar-mode): Added this function to issue the message + "Preparing..." to `?' key in calendar-mode because it's so incredibly + slow for describe-mode to prepare the help buffer. + (calendar-holidays): Fixed the examples in the doc-string. + + * diary.el: Corrected several instances of "dairy" to "diary". + +1990-01-05 Joseph Arceneaux (jla@spiff) + + * term/x-win.el: Function key stuff redone. + +1990-01-04 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-kill-job): Avoid error if no process. + + * bibtex.el (sun menus): Avoid error if defmenu not defined. + + * doctor.el: Delete spurious symbol@top level. + +1990-01-03 Richard Stallman (rms@mole.ai.mit.edu) + + * view.el (View-scroll-lines-forward): + Exit@end only if view-scroll-forward-exits is non-nil. + +1989-12-29 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (mark-diary-entries): Made "sticky" so effect continues + whenever the calendar is redisplayed. + (mark-calendar-holidays, calendar-unmark): Likewise. + +1989-12-26 Ed Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el: Fixed many minor bugs throughout the code. The major + changes are as follows. + Completely rewrote the Hebrew calendar functions to make them + much faster and hence make holiday determination much faster + + Split the code into three files: the calendar stuff is in the + main file, calendar.el; the diary stuff is in diary.el; the + holiday stuff is in holiday.el. + + Added a diary hook example that shows how to get sorted diary + entries in the fancy diary buffer. + + (calendar-iso-from-absolute): New function. + (calendar-absolute-from-iso): New function. + (cursor-to-iso-calendar-date): Added `D' calendar command to give + the day number in the Gregorian year and number of days remaining. + (mark-diary-entries): Made two-digit abbreviated years acceptable + in diary entries. Changed possible diary entry styles: DAY + entries are no longer available; European style is now an option. + Diary entry styles are now controlled by a list of pseudo-patterns. + (list-diary-entries): Made two-digit abbreviated years acceptable + in diary entries. Changed possible diary entry styles: DAY + entries are no longer available; European style is now an option. + Diary entry styles are now controlled by a list of pseudo-patterns. + (calendar-date-string): Display style of dates is now controlled by + a pseudo-pattern so the European style is available. + (all functions conatining the word `hebrew'). + (list-diary-entries, mark-diary-entries): + (include-other-diary-files, mark-included-diary-files): + Added the possibity of `shared diary files' with a recursive + include mechanism like the C preprocessor + (list-calendar-holidays): Eliminated the 'special class of holidays, + rewriting the entire mechanism to make it more general. + (calendar-holiday-function-float): Changed the 'float class of + holidays so that negative values count backward from end of month: 5 + is no longer used for the last occurrence of a day in a month; -1 is + used instead + +1989-12-27 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail): Handle MAIL environment var. + +1989-12-25 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (sentence-end): Allow single space@EOL. + + * etags.el: New name for tags.el. + * loaddefs.el: Autoloads changed. + + * paths.el (manual-formatted-dirlist): New alternative for UMAX. + + * simple.el (next-complex-command): Fix err msg. + +1989-12-21 Richard Stallman (rms@mole.ai.mit.edu) + + * lisp-mode.el (indent-sexp): Exit outer loop if make no progress. + +1989-12-20 Richard Stallman (rms@mole.ai.mit.edu) + + * telnet.el (telnet-initial-filter): Make `password' local. + +1989-12-18 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (edit-and-eval-command): Add new command to history. + * chistory.el (repeat-matching-complex-command): + Delete the useless history entry for this command. + +1989-12-17 David Lawrence (tale@cocoa-puffs) + + * (comint-)shell.el: Use comint. NOT ready yet. + * (comint-)inf-lisp.el: Broke the inferior lisp code out to its + own file and converted for comint use. NOT ready yet. + +1989-12-16 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (indent-c-exp): Verify that comment start isn't in string. + Reindent comment on starting line like other comments. + + * tex-mode.el (validate-tex-buffer): Use tex-validate-region, + not obsolete name. + +1989-12-15 Joseph Arceneaux (jla@spiff) + + * isearch.el: Replaced all occurences of read-char with + read-event; and check return type. + +1989-12-15 Richard Stallman (rms@mole.ai.mit.edu) + + * appt.el: New file. + + * files.el (backup-buffer): Ask question (if nec) before writing file. + +1989-12-12 David Lawrence (tale@cocoa-puffs) + + * medit.el and simple.el: initial definition of keymaps uses + copy-keymap, not copy-alist. + +1989-12-11 David Lawrence (tale@cocoa-puffs) + + * telnet.el: Converted to use comint. Removed + delete-char-or-send-eof and telnet-copy-last-input. Added + telnet-mode-hook. Modified telnet-filter to insert-before-markers + at the process-mark. + +1989-12-10 David Lawrence (tale@cocoa-puffs) + + * prolog.el: Converted to use comint. Replaced copy-keymap for + copy-alist of comint-mode-map. + + * kermit.el: Converted to use comint. Replaced + kermit-clean-filter with a more efficient version. + + * comint.el: Added optional arguments ``terminator'' and + ``delete'' to comint-send-input, for processes that want to see + a CR or CR-LFD pair instead of LFD and for processes that do echoing. + +1989-12-08 David Lawrence (tale@cocoa-puffs) + + * history.el (new file): general history mechanism, primarily + intended for interactive processes. + + * comint.el: converted to use history.el. Took out all the ring + code. comint-send-input will replace entire input region rather + than append to it (user option?). comint-kill-output will only + nuke through the last newline, to retain prompt. + comint-show-output will start window@line before output start, + to show command. + + * dbx.el: Converted to use comint-mode. + +1989-12-06 David Lawrence (tale@wheat-chex) + + * comint.el: make-variable-buffer-local declarations moved from + comint-mode to defvars. + + * gdb.el: Converted to use comint-mode. + +1989-12-05 David Lawrence (tale@wheat-chex) + + * comint.el (new file): + Added FSF copyright. + Moved bindings off of C-c LETTER. + Cleaned up references to cmu* files. + Made comint-send-input do unconditional end-of-line before processing. + cominit-exec will signal an error if no programme name. + Removed full-copy-sparse-keymap and comint-log-user. + +1989-12-04 Joseph Arceneaux (jla@spiff) + + * isearch.el: fset synonyms for re-search-*. + +1989-11-30 Joseph Arceneaux (jla@spiff) + + * c-mode.el (c-comment-indent): Place comments 2 spaces after + #endif and #else. + +1989-11-27 Joseph Arceneaux (jla@spiff) + + * shell.el (shell-complete-file-name): Don't count tildes as + filename separators if they are in the filename to be expanded. + +1989-11-22 Joseph Arceneaux (jla@spiff) + + * mouse.el, x-mouse.el: Moved button definitions from mouse.el to + x-mouse.el. They are defined differently depending upon the X + version. + +1989-11-17 Joseph Arceneaux (jla@spiff) + + * paths.el: Changed rmail-file-name from const to a var. + +1989-11-16 Ed Reingold (reingold@cs.uiuc.edu) + + * tex-mode.el (slitex-mode): + New alternative to plain-tex-mode and latex-mode. + (tex-mode): Know when to choose slitex mode. + (tex-run-command, latex-run-command, slitex-run-command): New vars. + (tex-mode, latex-mode, slitex-mode): Init tex-command from them. + (tex-latex-block): Insert matching begin-end pair for latex. + (tex-close-block): Be smart about nested begin-end pairs. + (tex-last-unended-begin): New subroutine. + (tex-region): Handle buffers with no files. + (tex-file): Cleaner error for buffer with no file. + (tex-generate-zap-file-name): New name for tex-generate-junk-file-name. + +1989-11-16 Joseph Arceneaux (jla@spiff) + + * simple.el: New variable x-select-kill. + (copy-region-as-kill): If non-nil, make the killed text an X + selection. + + * fill.el (justify-current-line, fill-region-as-paragraph): + Consider : as sentence terminator. + +1989-11-14 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-file): Copy .el permissions to .elc. + Delete .elc if possible before writing. + +1989-11-09 Joseph Arceneaux (jla@spiff) + + * x-mouse.el (x-select-wipe): New function. + Bind the selection functions to the default keys. + +1989-11-08 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-bibtex-file): New command. + (tex-mode-map): Put on a key. + + * debug.el (debug): No need to check match-data for invalid markers. + +1989-11-08 Joseph Arceneaux (jla@spiff) + + * paths.el (mh-progs, mh-lib): Use file-directory-p, and check + /usr/local/bin as well. + +1989-11-06 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-print, tex-view): Run the command asynchronously. + Eliminate tex-after-print-hook. + +1989-11-05 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-region): Delete tex output files directly, not + with rm. Use tex-generate-junk-file-name to make tex-out-file. + (tex-generate-junk-file-name): New function. + (tex-strip-dots): New name for TeX-strip-dots. + (tex-append): New name for tex-append-dvi. Suffix is now argument. + (tex-view): New function. + (tex-dvi-view-command): New variable. + + * files.el (make-auto-save-file-name): For non-file buffer, + use Emacs pid and buffer name. + +1989-10-31 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (hack-local-variables): save-excursion around the eval. + +1989-10-30 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-region): Replace `.' in host name with `-'. + Eliminate extra / in arg when running TeX. + (TeX-strip-dots): New subroutine. + +1989-10-29 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-region): Run TeX in dir the source file is in. + +1989-10-27 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el (tex-region): Use shell pid and host name in zap file. + (TeX-expand-files): New fn, not yet used. + + * startup.el (command-line): Error if foo-win library not found. + +1989-10-26 Joseph Arceneaux (jla@spiff) + + * dired.el (dired-first-filename): New function, move to first + file found. + (dired-noselect): Use it to position point@first file when + entering dired. + +1989-10-25 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (count-lines, goto-lines): ^M is line sep for outline md. + +1989-10-24 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-make-in-reply-to-field): Avoid bare singlequote. + +1989-10-21 Richard Stallman (rms@mole.ai.mit.edu) + + * replace.el (perform-replace): Always find null string@eob. + +1989-10-14 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (command-line-1): If > 2 files visited, do buffer-menu. + + * texinfo.el (texinfo-mode): Set words-include-escapes to t. + + * tex-mode.el (tex-start-shell): Run tex-shell-hook. + +1989-10-12 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * x-mouse.el (x-paste-text): push-mark before inserting text. + (x-insert-selection): + (x-select): Moved these functions over from the file: + * mouse.el + +1989-10-12 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (kill-ring-save): New command for M-w. + Shows other end of region momentarily. + + * register.el (jump-to-register): New name for register-to-point. + Old name remains as alias. + + * simple.el (end-of-buffer): Scroll to put point near screen bottom. + +1989-10-11 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * compile.el (grep): Don't save buffers for grep. + +1989-10-10 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * files.el (recover-file): Prompt with current buffer's filename. + +1989-10-09 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * term/x-win.el (x-pop-up-window): If color screen, start out + with some default colors. + +1989-10-08 Richard Stallman (rms@mole.ai.mit.edu) + + * rnewspost.el (news-mail-reply, news-reply, news-post-news): + Include newline before the blank line, when narrowing. + +1989-10-04 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * mouse.el (mouse-double-down, mouse-double-up): + New functions for double-clicking. + +1989-10-03 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * x-mouse.el (x-insert-selecton, x-select): New functions: + + * mouse.el: New [experimental] functions: + (mouse-motion, track-mouse, mouse-select-buffer-line) + (mouse-boxing, mouse-erase-box, incr-scroll-down) + (incr-scroll-up, incremental-scroll, incr-scroll-stop) + (mouse-kill-rectangle, mouse-open-rectangle, mouse-multiple-insert) + (mouse-move-text) + +1989-10-01 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailout.el (rmail-output): Check for an RMAIL file, and get error. + +1989-09-30 Robert J. Chassell (bob@rice-chex) + + * texnfo-upd.el (texinfo-copy-menu): Don't enter infinite loop + when copying a multi-line description@the end of a menu. + +1989-09-28 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * mouse.el: New function mouse-line-length. New constants for + mouse-motion keys. + +1989-09-27 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (calculate-c-indent): Don't treat function-name line + as continuation, because its previous line's indent is zero. + + * sendmail.el (mail-do-fcc): No blank line before iff file is new. + +1989-09-25 Robert J. Chassell (bob@apple-gunkies.ai.mit.edu) + + * renamed texinfo-update.el to texnfo-upd.el and updated `provide' + + * texinfo.el: updated `require' to reflect new name for texnfo-upd + +1989-09-23 Robert J. Chassell (bob@rice-chex) + + * texinfo.el: Moved functions to update nodes and menus to + texinfo-update.el. + + * texinfo.el, texinfo-update.el: Added `require' and `provide'. + + * texinfo.el: Added keybindings to insert frquently used @-commands. + + Added keybindings for `texinfo-format-buffer', + `texinfo-update-node', `texinfo-every-node-update', + `texinfo-make-menu', and `texinfo-all-menus-update'. + + * texinfo-update.el (texinfo-sequential-node-update): now updates + node in which point is located so pointer are to next and + previous node regardless of hierarchy. Non-nil argument + (prefix, if interactive) means update nodes in region. + + (texinfo-every-node-update): updates every node in a Texinfo + file. + + (texinfo-all-menus-update): updates all the regular menus in a + Texinfo file. + + (texinfo-indent-menu-description, + texinfo-menu-indent-description): Indent every description in + menu following point to specified column. Non-nil argument + (prefix, if interactive) means indent every description in every + menu in the region. Does not indent second and subsequent lines + of a multi-line description. + + (texinfo-insert-menu, texinfo-column-for-description): starts a + menu description@column specified by variable + `texinfo-column-for-description'. + + (texinfo-find-pointer, texinfo-insert-pointer): find and inserts + higher level pointer as `Previous' pointer if there is no + previous node@the same level. + + (texinfo-menu-copy-old-description): now copies `@' commands in + old descriptions. + + +1989-09-22 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (previous-complex-command): If not already inside + repeat-complex-command, enter it. + (repeat-complex-command): Bind repeat-complex-command-flat to t. + + * prolog.el (prolog-comment-indent): Don't insist on 1 space + if@left margin. + +1989-09-21 Richard Stallman (rms@mole.ai.mit.edu) + + * gdb.el (gdb-break): Go to line beg before counting lines. + +1989-09-21 Joseph Arceneaux (jla@susie) + + * term/x-win.el: Added cursor-shape list, removed x-defined-colors + stuff. + +1989-09-21 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (shell-command-on-region): If output is 1 line, + display it in echo area. + +1989-09-19 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (not-modified): With arg, mark buffer as modified. + + * c-mode.el (indent-c-exp): Support do-while. + +1989-09-18 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-mode, Info-edit-mode): Put on 'mode-class 'special. + + * c-mode.el (c-indent-line): Special for line starting in `while' + to detect a do-while statement. + (c-backward-to-start-of-do): New subroutine. + +1989-09-17 Richard Stallman (rms@mole.ai.mit.edu) + + * cl.el (safe-idiv): Avoid overflow calculating sign of quotient. + +1989-09-16 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (calculate-c-indent): A line starting in `}' + is not considered a continuation. + + * sendmail.el (sendmail-send-it): Don't let user specify `Sender'. + Insert a `Sender' if From is specified and doesn't match login name. + +1989-09-15 Joseph Arceneaux (jla@spiff) + + * term/x-win.el: Removed function x-color-screen-p + (now in xfns.c). New variables x-colors, x-display-defined colors. + Initialize them. + +1989-09-14 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (command-line): Rename local var for name of user + to `init-file-user'. Advertise that for use in the init file. + +1989-09-11 Robert J. Chassell (bob@apple-gunkies.ai.mit.edu) + + * texinfo.el (texinfo-update-node, texinfo-make-menu, + texinfo-master-menu, texinfo-sequential-node-update): Added + functions to insert or update the next, previous, and up node + pointers in a Texinfo file, or alternatively to insert node + pointers as a depth-first traversal---sequentially through the + file, each pointing to the next node regardless of its + hierarchical level, and to create or update a menu or menus + (preserving pre-existing descriptions, if any), to create a master + menu for a Texinfo file accordng to the Manual recommendation. + +1989-09-11 Richard Stallman (rms@mole.ai.mit.edu) + + * sun-fns.c, term/sun.el: + Rename prev-complex-command to select-previous... + +1989-09-10 Joseph Arceneaux (jla@spiff) + + * files.el (find-file-noselect): Indicate if file is a soft link + to some file already present. + +1989-09-07 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailmsc.el (set-rmail-inbox-list): Doc fix. + +1989-09-01 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (basic-save-buffer): On VMS, remove version number from + visited file name before saving, and rename buffer. + +1989-08-31 Joseph Arceneaux (jla@spiff) + + * term/Old/wyse.el: New terminal configuration file. + +1989-08-30 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el: `e' is now edit; only `x' for expunge. + + * term/x-win.el: Fix error message. + + * dired.el (dired-repeat-over-lines): FUNCTION returns t if it + deleted the line. All callers changed to make it return nil. + (dired-move-file, dired-create-directory): New functions. + +1989-08-29 Joseph Arceneaux (jla@spiff) + + * files.el: + * bytecomp.el: Call read-file-name instead of new-read-file-name, + since the latter subr has been renamed the former. + +1989-08-23 Richard Stallman (rms@apple-gunkies.ai.mit.edu) + + * startup.el (command-line-1): Update year in startup message. + +1989-08-23 Joseph Arceneaux (jla@spiff) + + * term/x-win.el: Open the X connection when this file is loaded; + don't wait for pop-up-window. + +1989-08-22 Joseph Arceneaux (jla@spiff) + + * term/x-win.el: Changed the documentation of `x-switches'. + +1989-08-21 Joseph Arceneaux (jla@spiff) + + * term/x-win.el: Rewrote the code for handling command line args, + including x-handle-switch. + +1989-08-19 Joseph Arceneaux (jla@spiff) + + * term/x-win.el: Changed iconic type option string from "-i" to + "-ib". Also normalized the options to the X toolkit standard. + +1989-08-15 Richard Stallman (rms@hobbes.ai.mit.edu) + + * files.el (basic-save-buffer): For precious file, don't delete + renamed old version if rename failed. + + * files.el (backup-buffer): Don't delete old backup, + since rename-file should do it. + + * c-mode.el (electric-c-terminator): Recognize labels with _ or $. + +1989-08-15 Joseph Arceneaux (jla@spiff) + + * replace.el (occur): Optionally search whole buffer, controlled + by new variable occur-whole-buffer. + +1989-08-15 Roland McGrath (roland@apple-gunkies.ai.mit.edu) + + * add-log.el (prompt-for-change-log-name): New macro to prompt for + a change log file name. + (add-change-log-entry): Use it. + (add-change-log-entry-other-window): Take an arg, the file name of + the change log. If interactive: if given a prefix arg, prompt for + the file name; if use default-directory. + +1989-08-14 Richard Stallman (rms@hobbes.ai.mit.edu) + + * man.el (nuke-nroff-bs): Assume footers are what precede headers. + Delete fixed number of lines around each header, so that significant + blank lines next to these are preserved. + +1989-08-13 Richard Stallman (rms@hobbes.ai.mit.edu) + + * c-mode.el (indent-c-exp): Remove indentation from blank lines. + When trying to move up to init contain-stack, don't go past + start of function. If no containing open is found thus, + set opoint to prev. function-start, so calculate-c-indent wins. + +1989-08-12 Richard Stallman (rms@hobbes.ai.mit.edu) + + * rmailsum.el (rmail-new-summary): Use other-window-scroll-buffer + to make scroll commands do the right thing. Make it local. + +1989-08-11 Richard Stallman (rms@hobbes.ai.mit.edu) + + * telnet.el (telnet-filter): Don't move point if was not@end. + Eliminate ^M entirely. + + * tex-mode.el (tex-mode-syntax-table): Give \ the syntax code /. + +1989-08-06 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-text): New command, on C-c C-t. + +1989-08-05 Richard Stallman (rms@mole.ai.mit.edu) + + * rnewspost.el (news-setup): ACTIONS arg to mail-setup was missing. + +1989-08-04 Richard Stallman (rms@mole.ai.mit.edu) + + * hideif.el (hif-factor): Typo in error message. + +1989-08-03 Richard Stallman (rms@mole.ai.mit.edu) + + * sort.el, loaddefs.el: Doc fixed. + +1989-08-02 Richard Stallman (rms@mole) + + * cl.el (floor): Fix bug in last cond clause, (floor -10 2). + + * backquote.el (`): Upgrade doc string. + +1989-07-31 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail): If existing buffer is empty, treat it as new. + + * abbrev.el (expand-region-abbrevs): Mention abbrev when querying. + Test for abbrev definition without modifying buffer. + No need to compare start with end, since (interactive "r") does it. + Arrange for prefix arg as NOQUERY arg. + (add-abbrev): Prompt differently if undefining an abbrev. + (write-abbrev-file): Better default file name. + (read-abbrev-file, quietly-read-abbrev-file): Make FILE arg optional. + +1989-07-25 Joseph Arceneaux (jla@spiff) + + * files.el (write-file): If no file is associated with the current + buffer, prompt with the buffer name. + +1989-07-20 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-follow-reference): Handle newline and indentation + immediately after *note. + +1989-07-19 Joseph Arceneaux (jla@spiff) + + * keypad.el: Removed unused symbols, changed commentary. + * term/x-win.el: Added mapping from emacs key symbols to strings + used by X. + (x-keypad-setup): Provide use of the function and keypad keys, + using the standard keyboard files of /term/* + * term/news.el: New file for the Sony keyboard. This now works + with both keypad.el and x-win.el. The other terminal files are + obsolete. + +1989-07-14 Joseph Arceneaux (jla@spiff) + + * gdb.el (gdb): Use "interactive f" instead of "F". + +1989-07-13 Joseph Arceneaux (jla@spiff) + + * outline.el (outline-flag-region): Don't pass optional last arg + `t' to subst-char-in-region. + +1989-07-12 Joseph Arceneaux (jla@spiff) + + * lisp.el (insert-parentheses) Changed conditions for pre- and + post- insertion of blanks. + + * bytecomp.el (byte-compile-file): If current buffer is in + emacs-lisp mode, prompt with buffer's file name as default. + +1989-07-07 Joseph Arceneaux (jla@spiff) + + * files.el (basic-save-buffer) When querying for a final newline, + use y-or-n-p instead of yes-or-no-p. + +1989-07-06 Joseph Arceneaux (jla@galapas.ai.mit.edu) + + * files.el: (find-alternate-file): Use new function + new-read-file-name. This name is temporary. Also don't + substitute `~' for homedir; new-read-file-name does this. + +1989-07-04 Richard Stallman (rms@mole.ai.mit.edu) + + * mailalias.el (build-mail-aliases): Accept `group' as synonym. + + * nroff-mode.el (electric-nroff-mode): Arg now optional. + + * man.el (insert-man-file): Handle HP's directories with .Z in + their names. + +1989-06-27 Joseph Arceneaux (jla@mole.ai.mit.edu) + + * term/x-win.el (x-new-window) New function. + +1989-06-25 Richard Stallman (rms@mole.ai.mit.edu) + + * ledit.el (ledit-zap-file, etc.): Use user-login-name. + * medit.el (medit-zap-file): Likewise. + + * subr.el (user-original-login-name): New function. + * rmail.el (rmail, rmail-insert-inbox-text): Use that. + * mail-utils.el (rmail-dont-reply-to): Use that. + +1989-06-24 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el: Doc fix. + +1989-06-23 Joseph Arceneaux (jla@all-bran.ai.mit.edu) + + * term/x-win.el (x-pop-up-window) Run hook x-pop-up-window-hook. + (x-color-screen-p) New macro; used to be C function. + +1989-06-22 Richard Stallman (rms@mole.ai.mit.edu) + + * time.el (add-clock-handler): Call specified function each minute. + * loaddefs.el: Autoload it. + + * subr.el: Doc fix. + +1989-06-22 Joseph Arceneaux (jla@gracilis.ai.mit.edu) + + * rmail.el: Fixed missing declares of rmail-inbox-list and + rmail-keywords. + * sendmail.el: Fixed missing declares of mail-reply-buffer and + mail-send-actions. + +1989-06-21 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-recover): New command. + +1989-06-20 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-signature): Delete excess blank lines; + put one blank line and one line of `--' before signature. + + * sort.el (sort-subr): Make sure markers@end of text + stay at the end. + (calls to sort-subr): Put save-excursion around save-restriction. + Now all these commands preserve region around sorted text. + +1989-06-19 Richard Stallman (rms@mole.ai.mit.edu) + + * rnewspost.el (news-reply-yank-original): Break out insertion + of header line into a hook, news-reply-header-hook. + Recommended by Barry Warsaw. + +1989-06-19 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * files.el (find-alternate-file): Check that file is + non nil. + +1989-06-18 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-mode): Make mail-signature-inserted local. + (mail-setup): Set it to nil. + (mail-signature): Set it to t. + (mail-mode-map): Don't put that on a key. + (mail-send): Call mail-signature if .signature exists and not + already done. + + * texinfmt.el (texinfo-format-node): + Add properly to texinfo-node-names. + +1989-06-16 Richard Stallman (rms@mole.ai.mit.edu) + + * texinfmt.el: Doc fix. + +1989-06-15 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (electric-c-terminator, c-indent-line): + (calculate-c-indent, indent-c-exp): Recognize `case' more generally. + + * c-mode.el (c-indent-command): With arg, find a sexp split over lines. + + * c-mode.el (indent-c-exp): Typo in local name innerloop-done. + Declare last-depth. + Use OPOINT by default as arg to calculate-c-indent. + * lisp-mode.el (indent-sexp): Likewise. + + * dired.el (dired-readin): Detect non-existent directories. + +1989-06-08 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * term/x-win.el + (new-screen): Added this function, which is the default + auto-screen function. It uses new variables new-screen-x-delta + and new-screen-y-delta. + (next-multiscreen-window, previous-multiscreen-window): + These new functions step through all windows, jumping screens when + they need to.x + +1989-06-08 Richard Stallman (rms@mole.ai.mit.edu) + + * spell.el (spell-region): Downcase misspelled word. + +1989-06-06 Richard Stallman (rms@mole.ai.mit.edu) + + * chistory.el (list-command-history): Go to history buffer + before examining its text. + + * subr.el (suppress-keymap): Store using define-key + so that sparse keymaps work. + +1989-06-04 Richard Stallman (rms@mole.ai.mit.edu) + + * time.el (display-time-filter): Preserve the match data. + +1989-06-02 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-convert-to-babyl-format): Generalize time zone fmt. + (rmail-nuke-pinhead-header): Likewise. + + * cmacexp.el (c-macro-expand): Terminate string or comment after + last macro in the file. + + * bib-mode.el: New file. + + * sendmail.el (mail-mode-syntax-table): Seperate syntax table + for mail mode. Makes % a separator. + +1989-05-31 Richard Stallman (rms@mole.ai.mit.edu) + + * cmacexp.el (c-macro-expand): Handle \-continuation of macros. + + * fill.el (fill-region-as-paragraph): Don't leave space@end of line. + +1989-05-30 Richard Stallman (rms@mole.ai.mit.edu) + + * replace.el (perform-replace): Fix typo. + + * shell.el (make-shell): Don't call shell-mode if already in that mode. + + * compile.el (next-error): Widen if necessary. + +1989-05-27 Richard Stallman (rms@mole.ai.mit.edu) + + * hexl.el: New file. + +1989-05-25 Richard Stallman (rms@mole.ai.mit.edu) + + * c-mode.el (c-indent-region): Make marker before indenting first line. + (indent-c-exp): Find preceding open paren or open brace to initialize + contain-stack, if have endpos. + Don't treat next-depth = 0 as special if have endpos. + Don't use next-depth as exit criterion if have endpos. + +1989-05-24 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (do-auto-fill): Keep splitting until short line or give up. + +1989-05-23 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * rmailsum.el: Added C-d (rmail-summarey-delete-backward) to + rmail-summary-mode-map. + +1989-05-22 Richard Stallman (rms@mole.ai.mit.edu) + + * dired.el (dired-chown): Put file name in a variable. + +1989-05-21 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (compile-command): Add SPC@end of value. + + * simple.el (shell-command): If COMMAND ends in &, do it asynch. + + * apropos.el (apropos-match-keys): Ignore atoms in an alist. + Ignore menu prompts in key bindings. + + * cl.el (defsetf): Put quotes into expansion where needed. + + * apropos.el (apropos): Call apropos-internal to get list of syms. + + * cl.el (isqrt): More accurate termination condition. + Fewer special cases needed. + + * sendmail.el (mail-send): Ignore errors in mail-send-actions. + +1989-05-20 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (insert-buffer): Default to (other-buffer). + +1989-05-18 Richard Stallman (rms@mole.ai.mit.edu) + + * isearch.el (isearch): Bug in previous change: was assuming regexp. + +1989-05-17 Kyle Jones (kjones@talos.uucp) + + * saveconf.el: Changed copying permissions and warranty + disclaimer to those of the GNU General Public License + + * saveconf.el: Added usage instructions at the top of file. + + * saveconf.el (recover-context): Returns t if recover succeeds. + +1989-05-17 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-nuke-pinhead-header): Accept space before + numeric time zone in From line. + + * sendmail.el (mail): Use multiple mail buffers. Reuse an + unmodified one or make a new one. With arg, find a modified one. + If have auto-save file, suggest M-x recover. + + * rmailout.el (rmail-output-to-rmail-file): Adjust narrowing@call to + rmail-count-new-messages, for changes therein. + +1989-05-16 Chris Hanson (cph@kleph) + + * scheme.el: change syntax table entries to use new "p" bit. + +1989-05-15 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * tags.el (next-file): fixed typo: " *next-file*" --> "*next-file*" + +1989-05-14 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (set-visited-file-name): Don't rename autosave file. + This avoids losing it when you do C-x C-w. + +1989-05-13 Richard Stallman (rms@mole.ai.mit.edu) + + * chistory.el (command-history-map): Share with shared-lisp-mode-map. + +1989-05-12 Richard Stallman (rms@mole.ai.mit.edu) + + * debug.el (debug): Use search to find extraneous part of backtrace. + Works even interpreted. + (debug-convert-byte-code): New function: + convert byte-code object to a lambda-exp. + (debug-on-entry, debugger-reenable): Call that function. + + * rmail.el (rmail-set-message-counters-counter): Change in search + caused pointers to wrong place in message. + + * c-mode.el (c-indent-region): Pass marker to indent-c-exp. + * lisp-mode.el (lisp-indent-region): Likewise. + +1989-05-12 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * term/x-win.el (x-set-display-name): Now works; correctly gets + display name and removes those options from `command-line-args-left'. + Renamed some of the options to be consistent with standard X + applications. + Added "-iconic" option for iconic startup; created variable + `x-iconic-startup' and function `x-set-iconic-startup' + (x-pop-up-window): initialize x-display-name first, then call + x-open-connection. + +1989-05-11 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (completion-ignored-extensions): Add .sbin. + + * c-mode.el (c-fill-paragraph): Recognize first line of comment. + Move to second line to get fill prefix. + On one-line comment, pick reasonable prefix. + Don't strand comment ender on separate line. + +1989-05-10 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) + + * term/x-win.el (x-handle-numeric-switch) Just like + x-handle-switch, but converts argument to int (e.g., "-b 4"). + +1989-05-10 Richard Stallman (rms@mole.ai.mit.edu) + + * man.el (manual-entry): Make buffer read only. + +1989-05-08 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (command-line-1): Split paragraph in startup message. + + * simple.el (append-next-kill): Print a message. + + * startup.el (command-line-1): Except for first file, find in + other window. + + * isearch.el (isearch): Don't move cursor for c-w, c-y in reverse. + Allow longer match@point in non-regexp reverse search as in regexp. + + * startup.el (command-line): Give details on error in init file. + + * fill.el (fill-region-as-paragraph): Insert NL before delete space. + +1989-05-08 Joseph Arceneaux (jla@rice-chex.ai.mit.edu) + + * x-mouse.el (x-cut-text): sit-for 1 when warping mouse to mark. + Also removed code dupicated by mouse.el + (x-trace-mouse): debugging function which prints out mouse events + as they arrive. + (x-paste-text): Don't set point before inserting cut text; too + confusing and incompatible with xterm. + + * mouse.el (mouse-scroll, mouse-del-char, mouse-kill-line, + narrow-window-to-region, mouse-window-to-region): Added these + new functions. + +1989-05-08 Richard Stallman (rms@mole.ai.mit.edu) + + * info.el (Info-find-node): Fix confusion testing file existence. + + * files.el (basic-save-buffer): Mention file name in "save anyway". + +1989-05-08 Richard Stallman (rms@mole.ai.mit.edu) + + * lisp-mode.el (lisp-indent-line, lisp-comment-indent): Use \\s< + to recognize comment-start characters. + (indent-sexp): likewise. + * lisp.el (end-of-defun): likewise. + +1989-05-07 Richard Stallman (rms@mole.ai.mit.edu) + + * underline.el (ununderline-region): Handle pre- or -post underline. + + * rmail.el (rmail-search): Fix failure message. + + * paths.el (Info-directory-list): Replaces Info-directory. + * info.el (Info-find-node): Search that directory list. + + * c-mode.el (electric-c-sharp-sign): Auto-align #@column 0. + + * rmail.el (rmail-parse-file-inboxes, rmail-get-new-mail): + Require newline before ^_ when searching. More reliable. + (rmail-count-new-messages, rmail-set-message-counters): Likewise. + (rmail-set-message-counters-counter): Likewise. + * rmailout.el (rmail-output-to-rmail-file): Likewise. + + * info.el (info-follow-reference): Provide default: ref point is in. + + * page.el (what-page): Reckon from beginning of line. + + * blackbox.el: Doc fix. + (bb-done): Improve messages. + + * replace.el (perform-replace): Keep stack of previous pos for ^. + + * info.el: Doc fix. + + * simple.el: Doc fix. + +1989-05-05 Richard Stallman (rms@mole.ai.mit.edu) + + * view.el (view-mode): Save and set major-mode like mode-name. + (view-exit): Restore it. + (view-helpful-message): Update for new exit command. + + * tags.el (tags-loop-continue): Just set-buffer if not permanent. + + * tags.el (visit-tags-table-buffer): Clean up if file invalid. + + * apropos.el: New file. Apropos now defined here. + * loaddefs.el: Autoload it. + + * help.el: Doc fix. + + * sort.el: Doc fix. + + * bytecomp.el (byte-compile-lambda): Return a byte-code object. + (byte-compile-file-form): Return an fset form which constructs + such a byte-code object and installs it. + (byte-compile-defun, byte-compile-macro): Likewise. + (byte-compile-function-form): Translate to a make-byte-code form. + (byte-compile-file): Find and fix doc strings in fset forms. + + * loaddefs.el (completion-ignored-extensions): Add .fmt. + +1989-05-04 Richard Stallman (rms@mole.ai.mit.edu) + + * blackbox.el (bb-init-board): Use (random 8) to get # in [0,7]. + * dissociate.el: Likewise. + * fill.el (justify-current-line): Likewise. + * flame.el (define-element, psychoanalize-flamer): Likewise. + * yow.el (yow): Likewise. + * doctor.el: Use (random N), not (random-range N). + (random-range): Function deleted. + + * simple.el (auto-fill-mode): Arg now optional. + +1989-05-01 Richard Stallman (rms@mole.ai.mit.edu) + + * cl.el (cl-member): New name for Common Lisp `member'. + +1989-04-30 Richard Stallman (rms@mole.ai.mit.edu) + + * cmacexp.el (c-macro-expand): Use a second temp file for the region. + + * tags.el (tags-loop-continue): Widen the buffers. + +1989-04-29 Richard Stallman (rms@mole.ai.mit.edu) + + * cl.el (defsetf): Take effect@run time, not expansion time. + + * bytecomp.el (byte-compile-file-form): Expand top level macros. + Look inside of progn. + +1989-04-27 Richard Stallman (rms@mole.ai.mit.edu) + + * replace.el (map-query-replace-regexp): New function. + + * replace.el (perform-replace): Allow list of strings to replace + with; they are used in rotation. Optional arg repeat-count is + number of times to use each string before rotating. + +1989-04-26 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-yank-original): Handle new var mail-yank-prefix. + +1989-04-25 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-output-to-rmail-file): If output buffer is not in + rmail mode, insert@end of it. + + * rmail.el (rmail-set-attribute): search-forward's value is no longer + t or nil; now may be a number. + +1989-04-24 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail): Put existing buffer into rmail-mode if necessary. + +1989-04-20 Richard Stallman (rms@mole.ai.mit.edu) + + * x-mouse.el: Delete mouse-event-hook; now in keyboard.c. + + * term/x-win.el (x-switch-definitions, command-switch-alist): Add -bd. + (x-set-*): New commands. + + * startup.el (command-line-1, normal-top-level): Call hooks with + run-hooks. + * sun-mouse.el: likewise. + + * mim-mode.el: rename indent-mim-hook to indent-mim-function. + * scheme.el: likewise scheme-indent-hook. + + * lisp-mode.el, cl.el, cl-indent.el, loaddefs.el, sun-mouse.el: + *lisp-indent-hook renamed to *lisp-indent-function. + + * kermit.el (shell-send-input-cr): use run-hooks. + * shell.el (shell-send-input): run-hooks wants quoted arg. + + * simple.el, mlsupport.el, loaddefs.el, c-fill.el, doctor.el: + blink-paren-hook and auto-fill-hook renamed to -function. + + * files.el (diff-switches-function): diff-switches-hook renamed. + + * compile.el (compile-reinitialize-errors): use run-hooks. + + * rmail.el (rmail-convert-to-babyl-format): error if unrecognized text. + +1989-04-19 Richard Stallman (rms@mole.ai.mit.edu) + + * replace.el (occur-mode-goto-occurrence): Insure arg to + count-lines is@start of line. + + * replace.el (occur): Removed an extraneous save-excursion. + + * replace.el (perform-replace): make ! undo as a unit. + +1989-04-17 Chris Smith (csmith@mozart) + + * icon-mode.el (icon-comment-indent): When auto-fill breaks a + line in a bol comment, start the continued line in column 1 + not column 2. + + * icon-mode.el (icon-backward-to-noncomment): use parse-partial-sexp + so as not to be fooled by # in strings. + + * icon-mode.el (icon-is-continuation-line): distinguish between + tokens that end a statement but cause the following statement to + be indented and tokens that cause the following line to be a + continuation of the same statement. + +1989-04-12 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-message-labels-p): put save-excursion outside. + + * picture.el (picture-tab): Dumb errors in prefix-arg case. + + * tags.el (tags-loop-continue): No message if slow terminal. + + * c-mode.el (c-fill-paragraph): Don't fill a comment together with + anything following it. + +1989-04-11 Richard Stallman (rms@mole.ai.mit.edu) + + * lpr.el (print-region-1): For tab-conversion case, insert specd range. + +1989-04-07 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (compilation-mode): Doc fix. + + * loaddefs.el: Autoload ftp-list-directory. + +1989-04-06 Edward M. Reingold (reingold@cs.uiuc.edu) + + * Hook added to list-diary-entries, along with a possible + value for that hook which prepares a fancy diary buffer + for display. + + * Holidays integrated into the diary: in the ordinary diary + buffer the holidays are given in the mode line. In the + fancy diary buffer the holidays are given in the heading + for each date. + + * Added a new command to tell the holidays on a specific date, + parallel to the way diary entries are given for a specific + date. This new command became `h' and the old `h' became + `a' to show all the holidays in a three-month period. + +1989-04-06 Richard Stallman (rms@mole.ai.mit.edu) + + * dired.el (dired-flag-backup-files, dired-flag-auto-save-files): + With prefix arg, unflag the appropriate class of files. + + * info.el (Info-tag-table-marker): `read' now stops@end of line, + so advance to next line. + + * info.el (Info-follow-nearest-node):@last line of text, + move to next node. + + * rmail.el (rmail-message-labels-p): Widen. + + * term/iris-ansi.el: New file. + * r2bibtex.el: New file. + + * files.el (rename-uniquely): New command. + + * bytecomp.el (byte-recompile-directory): Update mode lines + after save-some-buffers. + + * buff-menu.el (Buffer-menu-visit-tags-table): New fn. + (Buffer-menu-mode-map): `t' runs that. + + * rmail.el (rmail-delete-forward): If no nondeleted msg fwd, go bkwd. + + * rmail.el (rmail-convert-to-babyl-format, rmail-nuke-pinhead-header): + Accept spaces@end of Unix-style From line. + + * view.el (view-mode): Don't use a recursive edit; instead, + save old mode info in local variables. + Now two args: buffer to go back to, and fn to apply to viewed + buffer when exiting. + (view-exit): Restore old mode from those local variables. + Apply specified fn to buffer that was viewed. + This is on C-c and q. + (view-command-loop): Deleted. + (view-window-size): Now applies to selected window. + + * startup.el (normal-top-level): Use PWD envvar to set default dir. + + * rmail.el (rmail-convert-to-babyl-format): + Bind case-fold-search to t for mmdf case. + +1989-04-03 Richard Stallman (rms@mole.ai.mit.edu) + + * modula2.el: Turn m2-newline back on. + (various templates): Put relevant variable name in final comment. + +1989-04-02 Richard Stallman (rms@mole.ai.mit.edu) + + * paths.el (rmail-spool-directory): Treat silicon-graphics-unix + like usg. + +1989-03-30 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el: doc fix. + + * autoinsert.el (insert-auto-insert-files): Mark bfr unmodified + if has just the autoinsert file. + + * sendmail.el: doc fix. + +1989-03-29 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-insert-inbox-text): Don't insert newline if + inserted an empty file. + + * startup.el: doc fix. + +1989-03-29 Edward M. Reingold (reingold@cs.uiuc.edu) + + * calendar.el: Change shift-three-month functions so the name + includes the word ``calendar''. + + * calendar.el (list-diary-entries): Delete extraneous command + to indicate buffer is not modified. + +1989-03-15 Jeff Peck (rms@mole.ai.mit.edu) + + * term/sun.el (sunview-terminal): New default keybindings + Check for (getenv "IN_EMACSTOOL") to automatically do emacstool-init. + +1989-02-24 Richard Mlynarik (mly@rice-chex.ai.mit.edu) + + * terminal.el (terminal-emulator): Move help message after call-hooks + so that correct escape character is mentioned. + +1989-02-23 Richard Stallman (rms@mole.ai.mit.edu) + + * Version 18.53 released(?) + + * telnet.el: New vars telnet-initial-count and telnet-maximum-count. + These replace constants in the code. + (telnet, telnet-initial-filter): Use those vars. + (telnet-filter): Use subst-char-in-region to change CR to Space. + Advance point if insert@end of bfr. + +1989-02-21 Richard Stallman (rms@mole.ai.mit.edu) + + * flame.el: Fix spelling errors. + + * compile.el (compile-reinitialize-errors): New subroutine + broken out from next-error. + (compile-goto-error): New command, uses that and next-error. + (compilation-mode): New command; sets major mode. + (compile-internal): Use that function. + (compilation-mode-map): New variable; define C-c C-c. + +1989-02-20 Richard Stallman (rms@mole.ai.mit.edu) + + * lisp-mode.el (indent-sexp): Optional arg says where to stop + indenting; if spec', don't stop@end of first sexp. + (lisp-indent-region): New fn: use that to do Lisp-style indent-region. + (lisp-mode-variables): Set up indent-region-function as that. + + * c-mode.el (indent-c-exp, c-indent-region, c-mode): Similar changes. + +1989-02-19 Richard Stallman (rms@apple-gunkies.ai.mit.edu) + + * files.el (set-visited-file-name): Always rename the buffer; + make name unique with as find-file does. + + * compile.el (next-error): Prefix arg now says how many errors to move. + When parsing more errors incrementally, append to previous list. + (compile): Handle new option `compile-window-height'. + +1989-02-18 Richard Stallman (rms@mole.ai.mit.edu) + + * dbx.el (dbx-mode-map): Change C-c w to C-c C-w. + + * misc.el: New file. + +1989-02-17 Richard Stallman (rms@mole.ai.mit.edu) + + * rmailout.el (rmail-output*): Handle prefix arg and output + consecutive nondeleted messages. + + * rmail.el (rmail-next-undeleted-message): Error if hit eob. + + * dbx.el (run-dbx): Do expand-file-name. + + * paths.el (manual-formatted-dirlist): More alternatives in sysV case. + +1989-02-15 Richard Stallman (rms@mole.ai.mit.edu) + + * dbx.el (run-dbx): Set dbx-process. + (dbx-stop-at): Use that to decide where to send the string. + +1989-02-13 Marc Shapiro (shapiro@sor.inria.fr) + + * bibtex.el (bibtex-clean-entry, bibtex-empty-field, bibtex-find-text, + bibtex-kill-optional-field, bibtex-next-field, bibtex-pop-next, + bibtex-pop-previous, bibtex-cfield, bibtex-enclosing-field, + bibtex-enclosing-reference, bibtex-enclosing-regexp, bibtex-flash-entry + bibtex-flash-head, bibtex-inside-field, bibtex-make-optional-entry, + bibtex-remove-OPT): New functions. + (bibtex-find-it, bibtex-make-OPT-entry, bibtex-next-position): Deleted + (kill-current-line): Deleted. + (bibtex-mode-map): C-c keys to make entries moved to C-c C-e. + (general): Use regexps instead of simple-minded cursor motion. + New keys include C-c C-p, C-c C-n, C-c C-k, C-c C-d, C-c C-c, TAB, LF. + +1989-02-13 Richard Stallman (rms@mole.ai.mit.edu) + + * subr.el (suppress-keymap): Undefine chars iff self-inserting, + not based on numeric range. + + * rmail.el (rmail-reply): Don't call rmail-retry-failure. + (rmail-mode-map): Put that cmd on C-M-m. + +1989-02-11 Richard Stallman (rms@mole.ai.mit.edu) + + * debug.el (debug-on-entry): Special err msg for functions we + can't handle. + +1989-02-10 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (list-directory-brief-switches): Value was garbled + when VMS changes were installed. + +1989-02-09 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (calendar, diary, holidays): Autoload from calendar.el. + +1989-02-08 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (ctl-x-4-map): Fully define it here, as sparse keymap. + * files.el: not here. + + * lisp-mode.el (lisp-interaction-mode): + Use emacs-lisp-mode-syntax-table + +1989-02-07 Richard Stallman (rms@mole.ai.mit.edu) + + * c-style.el (set-c-style): Delete extra closeparen@end. + + * tex-mode.el: Doc fixes. + +1989-02-05 Richard Stallman (rms@mole.ai.mit.edu) + + * uncompress.el (uncompress-backup-file): Uncompress original file + when it's time to make it unto a backup. + +1989-02-04 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el: Make certain variables permenant if they are local. + * ftp.el: Likewise. + + * dired.el (dired-rename-file): If file is visited, offer + to change visited file name. + + * tags.el (find-tag, find-tag-other-window, find-tag-regexp): + Bugs in interactive arg reading. + + * dired.el (dired-do-deletion): If list is small enough, + display in half the screen. + + * files.el (basic-save-buffer): Check writability and make backup file + only after trying the hooks. + + * ftp.el (ftp-write-file): do save-excursion. + (ftp-write-file-hook): Clear modified-flag here. + (ftp-setup-write-file-hooks): Clear read-only flag here. + (ftp-sentinal): If input, clear modified flag. + Don't bind buffer-read-only across (kill-buffer (current-buffer)). + + * texinfmt.el (texinfo-format-sp): New fn; handle @sp. + (texinfo-format-noop): Handle @titlefont with this. + +1989-02-03 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (revert-buffer): New hook that replaces just the + erase-buffer and the insert-file-contents. + +1989-01-30 Richard Stallman (rms@mole.ai.mit.edu) + + * term/x-win.el (initialization): Go through x-switches list. + Don't set window-system-version; C code now does this. + +1989-01-29 Richard Stallman (rms@mole.ai.mit.edu) + + * undigest.el (undigestify-message): Allow submessage to have no + `to', just a `from'. + +1989-01-28 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-reply): Search from msg-beg for rejection indicator + +1989-01-26 Richard Stallman (rms@mole.ai.mit.edu) + + * replace.el (occur-mode-goto-occurrence): error msg fix. + + * tex-mode.el (tex-mode-syntax-table): Initialize all elts afresh. + (tex-common-initialization): Make local var compare-windows-whitespace. + Make %-lines separate paragraphs. + (latex-mode): No more need to override paragraphs. + (tex-categorize-whitespace): New fn helps compare-windows. + (tex-insert-quote): Use \\s when categorizing prev. char. + + * compare-w.el: provide 'compare-w. + (compare-windows): Don't set success for just whitespace. + Remember start-point in both buffers, and pass as arg to + the whitespace-function. + If whitespace regexp, back over all whitespace; + but don't back up if@end of buffer. + Set point for real after each bunch of matches, in case C-g. + +1989-01-25 Richard Stallman (rms@mole.ai.mit.edu) + + * paragraph.el (forward-paragraph): Check for end-of-buffer + in forward-loop within backward-loop. + + * window.el (split-window-vertically): Set window-start and maybe + window-point, to avoid scrolling. + +1989-01-24 Richard Stallman (rms@mole.ai.mit.edu) + + * window.el (balance-windows): New command. + + * subr.el (walk-windows): New function. + +1989-01-20 Richard Stallman (rms@mole.ai.mit.edu) + + * sort.el: doc fix. + + * server.el (server-buffer-clients): Now a permanent local. + + * dabbrev.el (dabbrev-expand): case-adapt only if expansion is l.c. + (dabbrev-search): downcase the result if found@beg of sentence + and only initial is upper case. + +1989-01-19 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (after-find-file): change calling sequence to sit-for. + + * bytecomp.el (byte-compile-defun,-defmacro): + Compile `defun' and `defmacro' within functions. + +1989-01-18 Richard Stallman (rms@mole.ai.mit.edu) + + * tex-mode.el: Many changes. TeX changed to tex in all symbols. + (tex-open-quote, tex-close-quote): New vars for tex-insert-quote. + (tex-insert-quote): Those vars say what to insert. + Inserting `"' is done by simply calling self-insert-command. + (tex-last-buffer-texed, tex-print-file): New vars. + (tex-region): Don't output line before start of header. + Set those two variables. + (tex-mode-map): C-c C-e and C-c C-f changed. + (tex-common-initialization): comment-start-skip changed. + (tex-validate-region): Fn renamed, and now leaves point@the error. + (tex-terminate-paragraph): must save-excursion. + (tex-start-shell):@end, sleep a little if I/O buffer is empty. + (tex-file): New fn; save buffers and run TeX on visit file. + (tex-print): Print buffer's most recent output, whether from tex-file + or tex-region. Use shell-command to do the printing. + (tex-append-dvi): New subroutine. + + * compare-w.el (compare-windows): Prefix arg means ignore + whitespace changes. + + * bytecomp.el (byte-compile-form, byte-compile-find-vars-1): + Handle forms containing explicit lambda-functions. + +1989-01-17 Richard Stallman (rms@mole.ai.mit.edu) + + * texinfmt.el: Define @s (small caps) like @var. + +1989-01-15 Richard Stallman (rms@mole.ai.mit.edu) + + * shell.el (inferior-lisp-mode-map): Copy shared-lisp-mode-map, + inherit from shell-mode-map. + + * files.el (find-alternate-file): Don't drop a necessary `/'. + +1989-01-14 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (normal-top-level): Abbrev default directory + as in find-file-noselect. + + * lisp-mode.el (lisp-mode-variables): set parse-sexp-ignore-comments. + +1989-01-13 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (find-alternate-file): Don't change prefix to `~' + unless a slash follows. + + * lisp.el (insert-parentheses): skip leading spaces if arg, + maybe insert one if no arg. + + * lisp-mode.el (shared-lisp-mode-map): New map contains shared keys. + (*-mode-map): All inherit from that map. + + * text-mode.el (indented-text-mode-map): Inherit text-mode-map. + * rmailedit.el (rmail-edit-map): Likewise. + * outline.el (outline-mode-map): Likewise. + + * c-mode.el (c-fill-paragraph): New cmd, on M-q in C mode. + If in a comment, fill with comment delimiters/decoration. + (calculate-c-indent-within-comment): New arg after-star + + * field.el: New file. + +1989-01-11 Richard Stallman (rms@mole.ai.mit.edu) + + * shell.el (shell-send-input): Use run-hooks on + shell-set-directory-error-hook. + + * subr.el (eval-after-load, eval-next-after-load): + New fns to put entries on after-load-alist. + + * c-mode.el (c-backward-to-start-of-if): Stop looping@buffer beg. + +1989-01-09 Richard Stallman (rms@mole.ai.mit.edu) + + * simple.el (zap-to-char): Error if char not found. + Killed region now includes the matching char. + +1989-01-07 Richard Stallman (rms@mole.ai.mit.edu) + + * options.el: doc fix. + + * mouse.el (mouse-delete-window): Delete window pointed at. + + * simple.el (backward-delete-char-untabify): In overwrite mode, + back over columns clearing them out. + + * dired.el (dired-get-filename): filename ends before ` ->', not after. + +1989-01-06 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-retry-failure): Lv cursor on To: line. + + * compile.el (compile-internal): Delete typo `<'. + + * tags.el (file-of-tag): Just search backwards. + (tag-table-files): Don't worry about char counts. Just search. + + * tags.el (next-file): Change NOWARN to NOVISIT: + t =>get the file in a reusable temp buffer. + (tags-loop-continue): Use NOVISIT while scanning. + Use separate form tags-loop-scan to scan for interesting files. + If we find one, visit the file for real if nec. + then use tags-loop-operate to make changes. + (tags-search, tags-query-replace): Use new interface. + + * files.el (find-file-noselect): Do directory abbrevs first thing + so both dir name and file name show the abbreviations. + + * tags.el (find-tag): Fix bug in last changes. + + * debug.el (cancel-debug-on-entry): Use empty string for "cancel all". + (debug-on-entry-1): Clean err msg for built-in function. + + * session.el: New file. Load ~/.emacs-session. + Related code moved here from startup.el. + * session.el (save-session): New fn. has meat of kill-emacs-hook. + Call expand-file-name to expand `~'. + Save the value of point, as well. + + * subr.el: Set run-hooks variable. + + * tex-mode.el (LaTeX-mode): %@line start separates paragraphs. + + * files.el (basic-save-buffer): Don't write over directories + if file-precious-flag is set. + +1989-01-04 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (sendmail-send-it): Always pass -f option to sendmail. + + * tags.el (find-tag): In regexp case, consider only matches that + don't go past the DEL char. + +1989-01-03 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (auto-mode-alist): Add `.oak'. + +1989-01-02 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (diff): New command to compare file with its backup. + (file-newest-backup): Return newest backup for given filename. + + * debug.el (debug-on-entry-1): Handle macros here. + ({cancel-,}debug-on-entry): instead of here. + But here maintain a list debug-function-list of functions set for + debug on entry. nil or empty arg to cancel-... means cancel all. + (debugger-list-functions): New command, on `l'. + (debugger-jump): Continue to exit of this frame + after turning off all debug-on-entries. + (debugger-reenable): Turn back on all debug-on-entries that are + supposed to be on. Called from `debug' and other debugging fns. + + * startup.el (kill-emacs-hook): If save-session-flag is set, + write a file ~/.emacs-session recording file and line number. + Put (load "~/.emacs-session" t t) (setq save-session-flag t) + in your .emacs to enable session saving. + + * window.el (window-config-to-register, register-to-window-config): + New fns, on C-x 6 and C-x 7. + + * vmsproc.el (subprocess-command-to-buffer): New function. + + * dired.el (dired-readin): Handle VMS. + (dired-get-filename): handle VMS. Also move handling + of LOCALP and NOERROR arguments to the end. + + * vms-patch.el (vms-read-directory): New function. + + * loaddefs.el (auto-mode-alist): Add `.for' and `.ltx'. + + * files.el (list-directory): Support for VMS. + + * c-style.el: New file. + + * vt200.el (keyboard-translate-table): Make a table, + and use it to interchange ESC and backquote. + +1989-01-01 Richard Stallman (rms@mole.ai.mit.edu) + + * gdb.el (gdb-mode-map): continue now C-c C-p. + + * tags.el (find-tag-default): If not inside a tag, use previous + or next tag found on current line. Never go outside current line. + + * sendmail.el (mail-mode-map): Make map inherit from text-mode-map. + +1988-12-31 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (find-alternate-file): Abbreviate homedir as `~'. + + * files.el (find-file-noselect): perform abbreviations on the + directory name when setting the default--from directory-abbrev-alist. + +1988-12-30 Richard Stallman (rms@mole.ai.mit.edu) + + * tags.el (next-file): New arg means don't warn of readonly file, etc. + (tags-loop-continue): Don't warn and don't do local vars when scanning. + If scanning makes a new buffer, kill it and re-find the file "for real" + after exiting the scanning loop. + + * files.el (hack-local-variables): Change `inhibit-local-variables' + to `enable-local-variables'. Now three alternative values: + nil (ignore them), t (use them) or otherwise (query). + + * startup.el (command-line-1): Rearrange startup message. + +1988-12-29 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (compilation-sentinel): Set OPOINT, OMAX in proper buffer. + +1988-12-28 Richard Stallman (rms@mole.ai.mit.edu) + + * lpr.el (print-region-1): Anything except `berkeley-unix', + treat like USG. + + * picture.el (picture-tab): Use move-to-tab-stop. + * indent.el (move-to-tab-stop): Like tab-to-tab-stop but just move + point; don't change buffer unless nec. to get a spot to move to. + + * indent.el (indent-region): If have fill-prefix, make each line + start with the prefix. + + * awk-mode.el: New file. + * loaddefs.el: Add autoload and auto-mode-alist entry. + +1988-12-24 Richard Stallman (rms@mole.ai.mit.edu) + + * mail-utils.el (mail-strip-quoted-names): Handle nested comments. + + * gdb.el (gdb-refresh): Call `recenter'. Take prefix arg and pass it. + +1988-12-23 Richard Stallman (rms@mole.ai.mit.edu) + + * dired.el (dired-get-filename): Handle spaces in filenames. + +1988-12-22 Richard Stallman (rms@mole.ai.mit.edu) + + * term/at386.el: Eric Raymond's changes to work with keypad.el. + + * loaddefs.el (completion-ignored-extensions): add .a and .ln. + + * shell.el (shell-set-directory): Convert // to one /, + so Emacs emulates Unix conventions. + (shell-unduplicate-slashes): New fn to convert a string that way. + + * info.el (Info-edit-map): Make this inherit text-mode-map, + instead of copying that. TEST THIS LATER. + + * dired.el (dired-readin): Add the `d' option, if wildcard pattern. + + * gdb.el: Commands changed: M-c, M-u, M-d now use C-c prefix. + (gdb-maybe-delete-prompt, gdb-call): + Handle the fact that insertion is done with insert-before-markers. + Also delete multiple prompts if they arrive in succession. + Also work properly if buffer contains an unsent partial input line. + Value of gdb-delete-prompt-marker is now a list: + (BEG-OF-LINE-MARKER PROMPT-LENGTH PROMPT-STRING). + +1988-12-21 Chris Hanson (cph@kleph) + + * telnet.el (telnet-filter): Don't insert ^M's into the buffer. + Don't force point to move to end of buffer; + `insert-before-markers' will move it if that is appropriate. + + * netunam.el: New file supports hp-ux `RFA' feature. + +1988-12-20 Richard Stallman (rms@mole.ai.mit.edu) + + * backquote.el, loaddefs.el: doc fix. + +1988-12-18 Richard Stallman (rms@mole.ai.mit.edu) + + * keypad.el: Change from character numbers to named characters + in the function keymap. + +1988-12-16 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (find-file-noselect): Mention file name when asking + whether to read new version from disk. + +1988-12-14 Richard Stallman (rms@mole.ai.mit.edu) + + * mouse.el: New file; window-system-independent parts of mouse support. + * x-mouse.el: Parts moved to mouse.el. Require 'mouse. + + * rmail.el (rmail-make-in-reply-to-field): Regexp had nested loops. + + * term/x-win.el: Add missing arg to set-input-mode. + +1988-12-12 Richard Stallman (rms@mole.ai.mit.edu) + + * telnet.el (telnet-send-input): Save input in telnet-previous-input + (telnet-mode): Make that var buffer-local. + (telnet-copy-last-input): New fn to yank that var; now on C-c C-y. + + * loaddefs.el (replace-string): Fix doc typo causing bug. + +1988-12-10 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (compile-internal): Get old compile process just once. + + * hideif.el, keypad.el, terminal.el: + Add new arg to calls to where-is-internal. + + * x-mouse.el (mouse-binding-names): Set up this table. + + * sort.el (sort-columns): On VMS, use sort-subr to do the work. + + * rmail.el (rmail-insert-inbox-text): Vary name of .newmail file + based on name of inbox file. + +1988-12-07 Richard Stallman (rms@mole.ai.mit.edu) + + * shell.el (shell): Do M-x shell-mode only if new buffer. + Don't bother setting NAME; it's not used again. + +1988-12-06 Richard Mlynarik (mly@peduncle.ai.mit.edu) + + * files.el (toggle-read-only): +ve prefix arg means to set read-only + +1988-12-04 Richard Stallman (rms@mole.ai.mit.edu) + + * debug.el (cancel-debug-on-entry): Fix typo in handling macros. + + * spell.el (spell-region): Win if spell-filter is buffer-local. + + * c-mode.el (electric-c-terminator): Don't use a marker + to handle auto-fill from newline. Do it as in electric-c-brace. + * keypad.el (function-key-sequence): Pass t as new arg. + + * rmailout.el (rmail-output-to-rmail-file): + Temporarily undelete the message while it is being copied. + + * texinfmt.el (texinfo-format-emph): Was failing to rescan result. + +1988-12-03 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-reply): On a bounce notice, do rmail-retry-failure. + (rmail-retry-failure): Set up to re-edit and re-send original msg. + +1988-12-01 Richard Stallman (rms@mole.ai.mit.edu) + + * dbx.el (dbx-filter): Use insert-before-markers. + * gdb.el (gdb-filter): Likewise... + * kermit.el (kermit-clean-filter): + * mh-e.el (mh-process-demon): + * telnet.el (telnet-filter): + * terminal.el (te-filter): + +1988-11-30 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail-convert-to-babyl-format): Turn case-fold-search off + since `from' in l.c. can appear@beg of line within a + Unix-format message. + + * files.el (set-auto-mode): Call the mode function outside + of the save-excursion, so mode hooks can move point. + + * replace.el (occur-mode-goto-occurrence): Don't lose if not@col 0. + +1988-11-25 Richard Stallman (rms@mole.ai.mit.edu) + + * bytecomp.el (byte-compile-function-form): + For symbol as arg, return the symbol, not its function definition. + +1988-11-19 Richard Stallman (rms@mole.ai.mit.edu) + + * tags.el (tags-completion-alist): New local var of each tag table, + holding alist of all tags in it. Also a function to compute the alist. + (visit-tags-table-buffer): Make that var local. + (visit-tags-table): Compute the alist unless already done. + (find-tag-tag): Do completing read using the alist. + +1988-11-17 Richard Stallman (rms@mole.ai.mit.edu) + + * sendmail.el (mail-sent-via): New command, entered in mail-mode-map. + + * files.el (find-alternate-file): Include old filename in + initial contents of minibuf. + + * files.el (file-name-sans-versions): + Fuller knowledge of VMS version numbers. + +1988-11-15 Richard Mlynarik (mly@peduncle.ai.mit.edu) + + * rmail.el (rmail-make-in-reply-to-field): I'm sick of seeing + illegal headers generated by rmail. + Note that this change undoes rms' change of 4-Jul-88" -- I'll + check to see why that change was made in the first place. + + * rmail.el (rmail-forward): Set `forwarded' attribute only if mail + is sent. + +1988-11-15 Richard Stallman (rms@mole.ai.mit.edu) + + * startup.el (command-line): Don't set mode of *scratch* if .emacs did. + (command-line-1): Avoid binding load-path for -l switch. + +1988-11-13 Richard Stallman (rms@mole.ai.mit.edu) + + * time.el (display-time): Use pipes--don't waste a pty. + * ispell.el (start-ispell): Likewise. + +1988-10-21 Chris Hanson (cph@kleph) + + * xscheme.el (xscheme-send-control-g-interrupt, + xscheme-send-interrupt): Don't use second argument to + `interrupt-process' or `quit-process'. These aren't needed and + they actually cause the wrong effect on Ultrix. + +1988-10-12 Richard Stallman (rms@mole.ai.mit.edu) + + * rmail.el (rmail): Don't process local-variables specs in RMAIL files. + +1988-10-10 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (list-directory): Handle non-ex dirs properly. + Use file-name-as-directory when appro. + Simplify testing for dir-name vs. file-pattern. + + * rmail.el (rmail-set-attribute): Optional 3rd arg is message #. + * sendmail.el (mail, mail-other-window, mail-setup): + 7th arg is list of (FCN . ARGS) to perform when msg is sent. + * rmail.el (rmail-reply): Don't set `answered' now; + use new arg to mail-other-window to get that done later. + +1988-10-08 Richard Stallman (rms@mole.ai.mit.edu) + + * gomoku.el, resume.el: New files. + + * server.el (server-visit-files): Run server-visit-hook. + + * electric.el (shrink-window-if-larger-than-buffer): + Make proper buffer current when buffer-local let-vars are unwound. + +1988-10-07 Chris Hanson (cph@kleph) + + * texinfmt.el (texinfo-format-defun-1): Don't upcase &-keywords in + @defun argument lists. + +1988-10-07 Richard Stallman (rms@mole.ai.mit.edu) + + * term/vt100.el (vt100-wide-mode): New function to toggle 132-col mode. + + * replace.el (perform-replace): typos in doc string. + +1988-10-06 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (recover-file): Don't turn-off auto-save. + + * time.el (display-time-filter): rmail-pop-up non-nil + says, if have new mail, pop up rmail window and read it in. + +1988-10-05 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (compile-internal): Must do fundamental-mode *before* + make-local-variable. + +1988-10-04 Richard Stallman (rms@mole.ai.mit.edu) + + * files.el (backup-buffer): Chase symlinks and backup their target. + +1988-10-03 Richard Stallman (rms@corn-chex.ai.mit.edu) + + * compile.el (compile-internal): New name for compile1. + Doc changes in many functions. + +1988-09-30 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el: autoload mail-mode. + +1988-09-29 Richard Stallman (rms@mole.ai.mit.edu) + + * man.el (nuke-nroff-bs): Delete ESC 7, ESC 8, ESC 9. + (manual-entry): Put the arg into the buffer name. + +1988-09-28 Richard Stallman (rms@mole.ai.mit.edu) + + * term/s4.el: Fix typo in `select' key, undefine ESC 0 and ESC 9. + + * mailalias.el (expand-mail-alias): New arg EXCLUDE is regex to delete. + + * loaddefs.el (auto-mode-alist): nroff-mode for .me, .mm, .[1-9]. + + * compile.el (next-error): Support multiple compilation buffers. + (compile1): Likewise. New variable compilation-error-buffer. + Variable compilation-process eliminated. + compilation-error-buffer records which buffer next-error should use. + (compilation-sentinel): Use positive indices in current-time-string. + +1988-09-27 Chris Hanson (cph@kleph) + + * dired.el (dired-chown): hp-ux puts the chown program in /bin, + not /etc. + +1988-09-27 Richard Stallman (rms@corn-chex.ai.mit.edu) + + * files.el (delete-auto-save-file-if-necessary): New arg FORCE. + Delete only if file is recent or if FORCE. + (basic-save-buffer): Pass t for FORCE if auto save file was recent. + (rename-auto-save-file): Don't rename file if not recent. + + * sendmail.el (mail-send): Query if buffer unmodified (already sent). + +1988-09-26 Richard Stallman (rms@mole.ai.mit.edu) + + * prolog.el (run-prolog): Use new var prolog-program-name. + + * compile.el (compile1): Don't call save-some-buffers. + (compile, grep): Call it here. + + * compile.el (compile1): Two new args PARSER and REGEXP + control local bindings for compilation-parse-errors-hook + and compilation-error-regexp. + (next-error): Call compilation-parse-errors-hook to parse errors. + Save the entire list in compilation-old-error-list. + Don't clear markers when used; put them in compilation-last-error. + (compilation-forget-errors): Clear all the markers that were made. + +1988-09-25 Richard Stallman (rms@mole.ai.mit.edu) + + * text-mode.el (change-log-mode): New function. + * loaddefs.el: Use that for ChangeLog files. + * add-log.el (add-change-log-entry): Don't set major or minor modes. + + * tags.el (select-tags-table): New; offers menu for of tags tables. + (visit-tags-table): Add each tags table to tags-table-file-list. + + * tags.el (find-tag): New arg REGEXP means 1st arg is a regexp. + (last-tag): Now can be a list, whose car is a regexp. + Means find-tag to repeat same tag should do regexp search. + (find-tag-regexp): New command. + + * tags.el (tags-loop-continue): If we don't stop in a buffer + and it isn't modified, kill it when get the next one. + + * bibtex.el: Greatly revised by Marc Shapiro. + +1988-09-23 Richard Stallman (rms@hobbes.ai.mit.edu) + + * sendmail.el (sendmail-send-it): Change "s:" to "subject:". + +1988-09-21 Richard Stallman (rms@hobbes.ai.mit.edu) + + * float.el (abs): Define it as in cl.el and mim-mode.el. + + * doctor.el (doctor-member): New name for `member'. + + * subr.el (mod): Name deleted. + + * mlsupport.el (setq-default): Defn deleted; data.c does it. + + * edt.el (edt-beginning-of-window): Function renamed. + (edt-delete-previous-word): Function renamed. + (edt-line-to-{top,bottom}-of-window): Function renamed. + + * cl.el: require cl, so that byte-compiler will load it. + + * lpr.el (print-region-1): Don't pass -T, -J switches on sysv. + + * bibtex.el (bibtex-entry): Insert comma only if both + required and optional are non-nil. + + * autoinsert.el: Change defconst to defvar. + +1988-09-19 Richard Stallman (rms@mole.ai.mit.edu) + +* * shell.el: New commands TAB, M-n, M-p. + (shell-complete-file-name): New function. + (shell-completion-cleanup): New function, called from + kill-shell-input and shell-send-input. + (kill-output-from-shell): Kill back to last recognized prompt. + (shell-{next,prev}-command): New motion commands. + +* * text-mode.el (center-region): Don't change blank lines. + +1988-09-17 Richard Stallman (rms@mole.ai.mit.edu) + +* * lisp.el (beginning-of-defun): Obey new var defun-prompt-regexp. + +1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu) + + * files.el (find-alternate-file): Don't kill OBUF if still current. + + * subr.el (start-process-shell-command): Start subprocess, exec'ing + via the shell. + * compile.el (compile1): Call that. + +* * server.el (server-temp-file-p): New function for recognizing + which files are temp files. + (server-edit): Call it. + (server-temp-file-regexp): Variable that controls the function. + +* * outline.el (outline-minor-mode): New command; adds outline-mode-ness + to current major mode. + (outline-heading-end-regexp): New variable; how to find end of heading. + (outline-end-of-heading): Move fwd to end of heading. + So that a heading can be more than one line. + Various functions call this. + (outline-level): Now it's the indentation of the end of what matches. + +1988-09-15 Richard Stallman (rms@mole.ai.mit.edu) + + * compile.el (grep): Use grep-command for program. +* * loaddefs.el (grep-command): New variable. + (compile-command): Moved to compile.el. + + * c-mode.el (electric-c-terminator): Make insertpos a marker. + + * c-mode.el (c-indent-command): `interactive' should follow doc string. + +1988-09-13 Richard Stallman (rms@corn-chex.ai.mit.edu) + + * hideif.el (hif-tokenize): Typo in token string. + +1988-09-12 Richard Stallman (rms@mole.ai.mit.edu) + + * help.el (locate-library): New command. + + * cl-indent.el (common-lisp-indent-hook): New clause for `,'. + + * c-mode.el (c-backward-to-noncomment): Stop better@beg of bfr. + + * info.el (Info-find-file): Clear buffer-file-name before calling + erase-buffer. + +1988-09-06 Richard Stallman (rms@mole.ai.mit.edu) + + * loaddefs.el (shell-prompt-pattern): Allow prompt enclosed in parens. + + * lisp-mode.el (calculate-lisp-indent): bug in lisp-indent-offset case. + +See ChangeLog.2 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 lisp/ChangeLog.4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/ChangeLog.4 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,8939 @@ +1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.25 released. + + * comint.el (comint-read-input-ring): Make regexp stricter. + + * info.el (Info-directory-list): Doc fix. + + * paths.el (Info-default-directory-list): Don't attach ../info. + So now configure-info-directory comes last. + Put /usr/local/info second. + + * bibtex.el (bibtex-clean-entry): Back over close delimiter carefully. + + * ange-ftp.el (ange-ftp-insert-directory): Expand file name to + check whether it is really an ftp file name. + + * compile.el (compilation-error-regexp-alist): Stricter Lucid regexp. + + * simple.el (completion-list-mode-map): Unbind down-mouse-2. + +1994-05-30 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * font-lock.el (shell-font-lock-keywords): Removed regexp for commands. + (rmail-summary-font-lock-keywords): New variable. + (font-lock-set-defaults): Use it. + +1994-05-29 Paul Eggert (eggert@twinsun.com) + + * cal-dst.el (calendar-current-time-zone): Fix typo that + transposed DST-STARTS-TIME and DST-ENDS-TIME. + + * cal-dst.el (calendar-daylight-savings-ends): Fix typo in put. + +1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el: Use ctl-x-map to bind C-x SPC. + + * lmenu.el (make-lucid-menu-keymap): Allow any form as the enabler. + + * info.el (Info-directory-list): Doc fix. + + * server.el (server-visit-files): Bind last-nonmenu-event. + + * mailalias.el (build-mail-aliases): Handle source directives. + Handle MAILRC envvar. + + * flow-ctrl.el (enable-flow-control): Fix bugs turning off flow ctrl. + + * files.el (insert-directory): Use expanded file name to find handler. + + * dired.el (dired-get-filename): Get rid of text props from name. + + * simple.el (deactivate-mark): Do nothing unless transient-mark-mode. + + * ispell.el (ispell-command-loop): Fix `q' question. + + * derived.el (derived-mode-init-mode-variables): Add autoload cookie. + + * calendar.el (calendar-cursor-to-date): Rename starred-day + to calendar-starred-day. + + * cal-menu.el (calendar-mode-map): Define mouse-2 as ignore. + + * frame.el (make-frame): Doc fix. + + * hexl.el (hexl-mode-map): Call define-key properly for help-char. + +1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ediff.el (ediff-patch-buffer): Fix autoload cookie. + + * tcl-mode.el (tcl-mode): Copy syntax table before changing it. + +1994-05-26 Michael D. Ernst (mernst@research.microsoft.com) + + * dired-x.el (dired-jump): Autoload. + + * compare-w.el (compare-windows): Make leading whitespace equivalent + to no leading whitespace, according to IGNORE-WHITESPACE argument. + +1994-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnus.el (gnus-summary-catchup): Check gnus-interactive-catchup. + (gnus-summary-catchup-and-exit): Likewise. + + * simple.el (completion-setup-function): Fix up the regexp. + + * menu-bar.el (menu-bar-mode): Fix previous change. + + * rmail.el (rmail-show-message): + If transient-mark-mode, deactivate the mark. + + * edebug.el (edebug-emacs-19-specific): Call x-popup-menu + to fill in cache of key equivalents. + +1994-05-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * subr.el (posn-col-row): Test for consp, not symbolp. + Doc fix. + +1994-05-26 Stephen A. Wood (saw@cebaf.gov) + + * fortran.el: (fortran-link-matching-do): Ignore DO statements + with line numbers. + +1994-05-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * ws-mode.el (ws-search): Fix malformed character constants. + +1994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (kill-emacs-query-functions): Doc fix. + + * simple.el (choose-completion-string): Clear mouse-face property. + + * files.el: Add more risky-local-variable properties. + + * fill.el (fill-region-as-paragraph): if left-margin is nonzero, + do adaptive-fill processing even for one-line paragraphs. + + * c-mode.el (c-fill-paragraph): Don't include part of comment + terminator in the fill-prefix. + + * server.el (server-kill-emacs-query-function): Ignore killed buffers. + +1994-05-24 Kenneth Manheimer (ken.manheimer@nist.gov) + + * allout.el (outline-chart-subtree): include outline-next- + heading in loop conditions to detect end-of-buffer (and avoid + infinite loop). + +1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.24 released. + + * ange-ftp.el (ange-ftp-gwp-start): Call internal-ange-ftp-mode. + +1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (interpreter-mode-alist): Add wishx, tclsh. + Delete form, scope, shell. + (set-auto-mode): Don't get confused by args after #! shell name. + + * frame.el (frame-initialize): Record in frame-initial-frame-alist + the actual settings of vertical-scroll-bars. + + * buff-menu.el (Buffer-menu-mouse-select): Handle dedicated window. + + * lmenu.el (popup-menu): Bind cmd with let. + (popup-dialog-box): Bind meaning with let. + (current-menubar): Add defvar. + + * etags.el (select-tags-table-mode): New function, a major mode. + (select-tags-table): Call that. + (select-tags-table-mode-map): New variable. + + * mouse-sel.el (mouse-insert-selection): Test mouse-yank-at-point. + (mouse-sel-insert-at-point): Variable deleted. + + * files.el (hack-one-local-variable): Check properly for `defun. + + * sendmail.el (mail-mailer-swallows-blank-line): Don't die + if /etc/sendmail.cf does not exist. + + * lmenu.el (popup-menu): Use mouse-pixel-position. + +1994-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (posn-col-row): Use let*. + + * allout.el, cal-french.el, complete.el, diary.el: Doc fix. + * edebug.el, ediff.el, forms.el, gnus.el, hippie-exp.el: Doc fix. + * holidays.el, imenu.el, inf-lisp.el, ispell.el, mail-hist.el: Doc fix. + * makefile.el, nntp.el, refbib.el, refer.el, simula.el: Doc fix. + * supercite.el, vip.el, ws-mode.el, term/x-win.el: Doc fix. + + * mouse.el (mouse-split-window-vertically): Treat scroll bar + events just like others. + + * subr.el (posn-col-row): Do something useful for scroll bar event. + + * paths.el (rmail-spool-directory): Maybe use /var/mail. + + * jka-compr.el (jka-compr-compression-info-list): Doc fix. + (jka-compr-op-table, jka-compr-file-name-handler-entry): Move defvars. + + * subr.el (substitute-key-definition): Skip cached menu key-equivs. + + * easymenu.el (easy-menu-create-keymaps): + Renamed from easy-menu-keymap. Callers changed. + +1994-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * shell.el (shell-strip-ctrl-m): Strip multiple ^Ms. + +1994-05-21 Michael D. Ernst (mernst@research.microsoft.com) + + * dired.el (dired-mark-pop-up): Clear mouse-face property. + +1994-05-21 Kevin Broadey (KevinB@mended_drum) + + * foldout.el (foldout-exit-fold): Make numeric argument work; + before, it always exited one fold. Replace the Common Lisp `loop' + construct with `while'. + +1994-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (command-line-1): Precompute menu bar before startup msg. + + * ispell.el: Doc fixes. + + * ispell.el: Lucid menu added. + (ispell): New function. + (ispell-region): Assure choices and checked buffer selections correct. + reindented. + (ispell-highlight-spelling-errors): Prefix ispell- to highlght fns. + (ispell-complete-word): Heuristic to respect case of completed words. + (ispell-command-loop): Non-character events ignored. Reindented. + (ispell-message): Various improvements. + (ispell-init-process): `ispell-extra-args' added to allow personal + customizations. + +1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paren.el (show-paren-command-hook): + Always set show-paren-mismatch-face to symbol, not face vector. + + * dired.el (dired-readin): Clear modified flag at the very end. + + * server.el (server-done-hook): New hook. + (server-buffer-done): Run it. + + * mouse.el (mouse-choose-completion): + Include words separated by single spaces in the completion. + + * simple.el (choose-completion): + Include words separated by single spaces in the completion. + + * ispell.el: Lots of doc fixes and message syntax fixes. + (ispell-command-loop): For X, put point before + the word being considered, and mention C-u M-$ in message. + + * bookmark.el (bookmark-file): Alternate default on ms-dos. + +1994-05-20 Noah Friedman (friedman@kropotkin.gnu.ai.mit.edu) + + * rsz-mini.el: Enable resize-minibuffer-mode when this file is + loaded. + +1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-drag-secondary): Handle mouse motion out of window + as in mouse-drag-region. + + * ispell.el (ispell-word): Implement C-u $ as in ispell4.el. + (ispell-command-loop): Make quit-char work like X. + For C-z, run whatever it's bound to. + +1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cal-menu.el (calendar-mode-map): Use calendar-goto-astro-day-number. + + * simple.el (completion-setup-function): Make highlight span + single spaces. + (choose-completion-delete-max-match): Handle completion-ignore-case. + + * gnus.el (gnus-group-unsubscribe-current-group): + Fail nicely if no current group name. + + * avoid.el (mouse-avoidance-nudge-dist): Doc fix. + + * menu-bar.el (menu-bar-mode): Preserve window height. + + * vc-hooks.el (vc-mode-line): Do nothing if FILE is nil. + + * compile.el (compilation-goto-locus): Handle case where *compilation* + is in a dedicated window. + + * ispell4.el (ispell-highlight): Do nothing unless window-system. + + * rmail.el (rmail-variables): Don't add any permanent-local props. + Don't make rmail-last-file local. + + * rmailedit.el (rmail-edit-current-message): Undo previous change. + + * rmailout.el (rmail-output): Doc fix. + + * gnus.el: rmail-default-file renamed from rmail-last-file, + rmail-default-rmail-file renamed from rmail-last-... + +1994-05-19 Daniel Quinlan (quinlan@bucknell.edu) + + * info.el (info-insert-file-contents): Avoid conflict with jka-compr. + +1994-05-19 Boris Goldowsky (boris@mink.cs.rochester.edu) + + * avoid.el: Doc fixes. + (mouse-avoidance-nudge-mouse): Removed redundant + bounds check on destination coordinates. + +1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (server-done): Never kill buffer here. + (server-buffer-done): Do it here, if temp file. + + * menu-bar.el (menu-bar-update-buffers): Record buffers' mod and + read-only flags, and recompute if they change. + + * subr.el (posn-col-row): Doc fix. + +1994-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (font-lock-after-change-function): Fix typo in prev chg. + (font-lock-mode): Use after-change-functions not after-change-function. + +1994-05-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * tex-mode.el (tex-delete-last-temp-files): Don't fail on + non-existent directory. + +1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * soundex.el (soundex-alist): Put variable before fn that uses it. + +1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.23 released. + + * gnus.el (gnus-group-mode-map): Fix typo in prev change. + +1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * man.el (Man-heading-regexp): Accept multiple whitespace chars. + + * gnuspost.el (gnus-post-news): Handle followup-to field. + + * bookmark.el: Doc fixes. + (bookmark-relocate): Rename arg. + +1994-05-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (precompute-menubar-bindings): Don't precompute menus + if not using x. + +1994-05-12 Kenneth Manheimer (klm@coil.nist.gov) + + * allout.el (outline-mode): Use outline-this-or-next-heading. + * allout.el (outline-this-or-next-heading): New function. + * allout.el (outline-mode): Fixed topic body reindentation scheme + so programming code is not indented unless + `outline-reindent-bodies' has value `force'. + * allout.el (outline-infer-reindent-bodies): Implement above. + * allout.el (outline-reindent-bodies): Doc fix. + + * allout.el (outline-init): New user interface for control of + outline-mode session setup. Sets up `outline-find-file-hook', + `outline-layout', and `outline-auto-activation'. + +1994-05-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * man.el: Remove periods from messages. + (Man-heading-regexp): Accept only one leading space. + + * tar-mode.el (tar-extract): Put tar name into subfile visited name. + (tar-subfile-save-buffer): When updating the desc line, + insert new text after, then delete. + + * ediff.el: Move menu bar defines to top level + and split them among three top-level sexps. + Make menu bar defines unconditional. + Don't alter menu-bar-files-menu here; menu-bar.el does that. + +1994-05-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (font-lock-mode): Make font-lock-no-comments local. + (font-lock-after-change-function): If we don't call + font-lock-fontify-region, clear out face props instead. + +1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cal-menu.el: Rewrite mouse-3 menu as a keymap. + Move calendar-mouse-2-date-menu to down-mouse-2. + + * autoload.el (autoload-trim-file-name): Make it relative + to the directory that loaddefs.el is in. + + * allout.el (outline-init): Delete junk at end. + + * texinfo.el (texinfo-show-structure): Fix subsubsection indent amount. + + * autoload.el (update-autoloads-here): Make just one shorter message. + (batch-update-autoloads): Doc fix. + +1994-05-12 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-update-buffers): Don't use string-match. + + * autoload.el (update-autoloads-here): Split up long message. + +1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (font-lock-fontify-buffer): Don't give "syntactically" + message if we aren't doing that part. + + * gnus.el (gnus-group-mode-map, gnus-summary-mode-map): + Add bindings for up and down keys. + + * dired.el (dired-mode-map): Get rid of dired-regexp-prefix; + put the submap directly in the main map. + + * tar-mode.el (tar-extract): Don't clear out the buffer-file-name. + Don't set list-buffers-directory. + +1994-05-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (shell-command): Use buffer name *Shell-Command*. + + * gud.el (sdb): Handle tags-file-name as nil. + + * isearch.el (isearch-done): Don't call deactivate-mark. + +1994-05-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * ediff.el (ediff-no-help-in-control-buffer): Renamed from + ediff-nix-help-in-control-buffer, to match doc and usage. + + * autoload.el (update-file-autoloads): Delete leftover variable. + + * man.el (Man-reuse-okay-p): Doc fix. + (Man-filter-list, Man-heading-regexp): Fix patterns. + (Man-first-heading-regexp, Man-find-section): Likewise. + (Man-getpage-in-background): Don't print ellipsis. + (Man-bgproc-sentinel): Preserve match data. + (Man-build-references-alist): Preserve restriction. + (Man-bgproc-sentinel, Man-build-section-alist): Bind case-fold-search. + (Man-next-section, Man-previous-section, Man-find-section): Likewise. + (Man-goto-page): Fix interactive declaration. + (Man-build-section-alist): Use match data, not bol/eol. + (Man-build-man-command): Use manual-program, not hardcoded name. + (Man-getpage-in-background): Likewise. + +1994-05-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc-hooks.el (vc-registered): Use find-file-name-handler. + + * font-lock.el (font-lock-no-comments): New variable. + (font-lock-after-change-function): Test it. + (font-lock-fontify-buffer): Test it. + (font-lock-set-defaults): Set it. + + * files.el (abbreviate-file-name): Add special case for ms-dos. + Delete code that checked for abbreviated-home-dir ending in /; + it never did anything. + + * ispell4.el (ispell-message): Add `ispell-message-text-end' and + `ispell-message-limit'. Spell-check subject as well as body. + +1994-05-10 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * cal-menu.el (calendar-mode-map): Change binding of Mouse-2. + Bind Mouse-3. + (calendar-event-to-date): Add optional error parameter. + (calendar-mouse-print-dates): Fix first line to show day of year. + (calendar-mouse-date-menu): Deleted; split into two parts. + (calendar-mouse-2-date-menu, calendar-mouse-3-date-menu): The two + new functions. + + * calendar.el (calendar-cursor-to-date): Fix error return. + (calendar-iso-date-string): Repair punctuation. + +1994-05-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * frame.el (frame-remove-geometry-params): Reverse the computed + list, to preserve the original order of the elements. + +1994-05-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * texnfo-upd.el (texinfo-every-node-update) + (texinfo-all-menus-update): Bind mark-active to t. + + * texinfo.el (texinfo-environment-regexp): Split lines. + Add def..., ifset, ifclear. + (texinfo-show-structure): Fix typo. + +1994-05-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * files.el (file-chase-links): Delete redundant slashes. + Match `..' only at start of string. + + * gud.el (gud-gdb-marker-filter, gud-mipsdbx-marker-filter, + gud-perldb-marker-filter): Allow marker string to arrive in + mid-line. + +1994-05-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (shell-command-on-region): Don't kill output buffer + when in the one line case. + +1994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso-cvt.el (iso-gtex2iso-trans-tab): Reorder this list. + + * rmailsum.el (rmail-make-basic-summary-line): Get all the lines of + the From field. + + * menu-bar.el (menu-bar-file-menu): Add Apply Patch and Compare Files + + * ediff.el: Doc fixes. + +1994-05-09 Michael D. Ernst (mernst@monozygote.research.microsoft.com) + + * files.el (find-file-noselect): Suppress same-file warning if + both filenames would print identically. + +1994-05-08 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * cal-menu.el (calendar-mouse-set-mark): New function. + (calendar-mouse-date-menu): Bind it to key. + +1994-05-08 Kenneth Manheimer (klm@coil.nist.gov) + + * allout.el (outline-init) New user interface for control of + outline-mode session setup, sets up `outline-find-file-hook', + `outline-layout', and `outline-auto-activation'. + + * allout.el (outline-mode-post-command-business, outline-mode) + (outlineify-sticky): Major new mode activation + scheme. See outline-layout docstring for details. + (outline-layout, outline-use-mode-specific-leader) + (outline-mode-leaders): Variables for new mode-activation scheme. + (outline-expose-topic): New specification format and + optimizations, including thorough accomodation of multiple top- + level topics. + (outline-forward-current-level, outline-next-sibling) + (outline-backward-current-level, outline-goto-prefix) + (outline-show-children, outline-up-current-level) + (outline-expose-topic): Behavior refinements and repairs, and + speed optimizations. Better accomodation for multiple top-level + topics. + (outline-recent-end-of-subtree): New state var, + basis for many topic-oriented optimizations. + + * allout.el: Revisions of many docstrings, for conformance to + gnu standards and/or clarity. + +1994-05-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * calendar.el: Doc fixes. + + * cal-menu.el (calendar-mouse-print-dates): Add missing level of list + for Islamic, Revolutionary and Mayan calendars. + Delete duplicate entry for ISO calendar. + (calendar-event-to-date): Set buffer in case calendar isn't current. + +1994-05-08 David K}gedal (davidk@lysator.liu.se) + + * tempo.el (tempo-insert-region, tempo-show-completion-buffer, + tempo-leave-completion-buffer): New variables. + (tempo-complete-tag): Added a completion buffer mechanism. + (tempo-display-completions): New function. + (tempo-insert-template): An extension to the (p ...) tag + enables named insertion for later insertion using a (s ...) tag. + +1994-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (ignore): Allow interactive call. + * loaddefs.el (global-map): Bind mouse-movement to ignore. + + * rmail.el (rmail-toggle-header): Call rmail-highlight-headers. + + * sendmail.el (mail-mailer-swallows-blank-line): + Put space and tab into brackets. + +1994-05-07 Morten Welinder (terra@diku.dk) + + * hexl.el (dehexlify-buffer): Reflect that binary-process was + renamed to binary-process-output. + (dehexlify-buffer): Bind also binary-process-input (for ms-dos). + (hexlify-buffer): Bind both binary-process-input and + binary-process-output (for ms-dos). + (hexl-save-buffer): Force binary save (for ms-dos). + +1994-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * skeleton.el (mirror-mode): Commented out. + +1994-05-06 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de) + + * asm-mode.el (asm-comment): Don't match newline. + + * dired-aux.el (dired-mark-subdir-files): Don't pass any arguments + interactively. + + * echistory.el (Electric-history-undefined): Substitute + `Helper-help', not `Help-for-help'. + + * forms.el (forms-mode): Set visited file name to nil to prevent + overwrite and autosave. The previous method didn't go far + enough. + + * hexl.el (hexl-insert-char): Increment `address' for every + character inserted. + (hexl-mode-map): Add bindings for cursor keys. + + * hideif.el (hide-ifdef-syntax-table): New variable. + (hif-tokenize): Use it. + (hide-ifdef-mode): Don't clobber `c-mode-syntax-table'. + + * isearch.el (isearch-edit-string): Doc fix. + (isearch-message-prefix): Initialize `isearch-within-brackets'. + + * resume.el: Provide 'resume. + (resume-process-args): Bind `command-line-default-directory' for + command-line-1. + + * shell.el (shell-backward-command): Fix regexp. + + * simple.el (minibuffer-history-sexp-flag): Doc fix. + + * terminal.el (terminal-edit-mode): Doc fix. + (terminal-cease-edit): Reset the local keymap. + +1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paths.el (rmail-spool-directory): On SCO 3.2v4, use /usr/spool/mail. + + * blessmail.el: If rmail-spool-directory is not a directory, + just output an `echo' command to tell about it. + + * supercite.el (sc-cite-original): Add autoload. + + * backquote.el (backquote-backquote-symbol): Don't autoload defvar. + (`): Write its name directly in the definition. Use defalias. + (backquote-list*): Define with defalias. + + * rmailsum.el (rmail-make-basic-summary-line): + Show 14 chars before @ and 11 after. + +1994-05-06 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * loadup.el: Don't precompute keybinding cache for menubar. + * startup.el (normal-top-level): Do it here, after loading user files. + * startup.el (command-line-1): Or here, if displaying startup message. + * startup.el (precompute-menubar-bindings): New function. + + * menu-bar.el (menu-bar-file-menu): Change new-frame to + make-frame, to agree with the keyboard binding. + * mouse.el, man.el, lucid.el: Change new-frame to make-frame. + +1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-start-process): + Bind file-name-handler-alist to nil. + + * frame.el (frame-notice-user-settings): Wait till frame becomes + visible before using its parameters. + + * imenu.el (imenu-default-create-index-function): + Temporarily build in handling of a few major modes. + (imenu--completion-buffer): Set completion-reference-buffer properly. + +1994-05-05 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * loaddefs.el (completion-ignored-extensions): Change if to cond. + + * hilit19.el (hilit-lookup-face-create): Don't put string values + into the global face-font data. + +1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (frame-notice-user-settings): Use geometry parms from frame + when the initial specifications did not have them. + + * frame.el (frame-notice-user-settings): When replacing the first + X frame, use the same geometry parms that were used to make it. + (frame-remove-geometry-params): + Treat user-size and user-position as geometry parms. + Store all those parms into frame-initial-geometry-arguments. + + * simple.el (choose-completion-string): Barf if completing into + a minibuffer but it's not now active. + + * rmailout.el (rmail-output-menu): Set rmail-default-rmail-file. + (rmail-output-to-rmail-file): Doc fix. + +1994-05-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (frame-notice-user-settings): Discard `reverse' when + making the replacement for the initial frame. Put it on as nil. + (new-frame): Use make-frame instead. + + * rmail.el (rmail-input-menu): + Do nothing if rmail-secondary-file-menu return nil. + Don't call expand-file-name. + (rmail-secondary-file-menu): If no files match, warn and return nil. + + * rmailout.el (rmail-output-menu): Don't call expand-file-name. + Do nothing if rmail-secondary-file-menu return nil. + + * imenu.el (imenu): Renamed from goto-index-pos. + Add autoload. + (imenu-prev-index-position-function): Renamed from prev-... + (imenu-extract-index-name-function): Renamed from extract-... + + * gud.el (gud-marker-acc): Use make-variable-buffer-local. + + * outline.el (hide-sublevels): No need for condition-case. + Don't call show-children if levels is 0. + No need to check eob in while condition. + Delete spurious setq of `first'. + + * frame.el (frame-initialize): Delete the code for reverse-video. + x-create-frame-with-faces takes care of that. + +1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-secondary-save-then-kill): Doc fix. + +1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * backquote.el (backquote): Add autoloads. + +1994-05-03 Per Abrahamsen (abraham@eupectic.research.att.com) + + * lisp-mode.el: Removed duplicate ";;; Code: " section separator. + (lisp-mode-variables): Added missing backslash to outline-regexp. + +1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * autoload.el (update-directory-autoloads): Ignore files + whose names start with =. Bind enable-local-eval to nil. + +1994-05-02 Morten Welinder (terra@diku.dk) + + * isearch.el (isearch-case-fold-search): new possible value `yes' + is like t except that mixed case in search string is ignored. + (isearch-toggle-case-fold): New function. + (isearch-search): Don't undo the work of isearch-toggle-case-fold. + +1994-05-02 Lars Magne Ingebrigtsen (larsi@dyggve.ifi.uio.no) + + * gnus-uu.el: Removed some keystrokes for obscure toggle commands: + C-c C-v C-a, C-c C-v C-p, C-c C-v C-q and C-c C-v C-k. + (gnus-uu-decode-and-save-all-unread-articles-and-mark): Fn deleted. + (gnus-uu-decode-and-save-all-articles-and-mark): Fn deleted. + (gnus-uu-do-sloppy-uudecode): Variable deleted. + (gnus-uu-decode-and-save-articles): Rewritten. + (gnus-uu-grab-articles, gnus-uu-uustrip-article-as): Rewritten to + properly handle multiple encoded files in one gulp. + (gnus-uu-uustrip-article-as): Replace spaces in file names with + underscores before giving the file to uudecode. + + * gnus-uu.el (gnus-uu-save-in-digest): Doc fix. + (gnus-uu-save-articles, gnus-uu-save-article, + gnus-uu-digest-and-forward, gnus-uu-marked-digest-and-forward): + Changed old functions and added new functions to digest and + forward articles. + (gnus-uu-mark-thread): New function to mark a thread for later + treatment. + (gnus-uu-mark-by-regexp): Changed to add articles instead of + clearing before adding. + (gnus-uu-check-for-generated-files): First delete files, then + directories. + (gnus-uu-edit-begin-line, gnus-uu-decode-and-show-in-buffer): + Select the current article before starting work. + (gnus-uu-decode-and-view-all-unread-articles) + (gnus-uu-decode-and-view-all-articles): Two new functions for + decoding and viewing all (unread) articles in a newsgroup. + + * gnus-uu.el (gnus-uu-view-directory, gnus-uu-unpack-archives, + gnus-uu-treat-archive): gnus-uu will now treat archives in + archives (etc) properly when viewing. + + * gnus-uu.el (gnus-uu-threaded-multi-decode-and-save, + gnus-uu-threaded-multi-decode-and-view): New interactive functions + for decoding/saving threads. Bound to `C-c C-v C-j'. + (gnus-uu-save-article): Added RFC1153-compliant digest saving. + + * gnus-uu.el (gnus-uu-initialize): Does some checks and expands + relative temp dir names. + + * gnus-uu.el (gnus-uu-decode-and-show-in-buffer) + (gnus-uu-decode-and-strip, gnus-uu-grab-articles) + (gnus-uu-decode-and-view-or-save): Allow multiple + encoded files to be decoded (and viewed) in one fell swoop. + (gnus-uu-work-dir): New variable. + + * gnus-uu.el (gnus-uu-view-file): Changed to work with metamail. + (gnus-uu-get-action, gnus-uu-toggle-view-with-metamail): New functions. + (gnus-uu-ext-to-mime, gnus-uu-view-with-metamail): New variables. + (gnus-uu-ctl-map): Add C-a binding. + (gnus-uu-summary-next-subject): Ensures that the next unread + article is moved to. + (gnus-uu-default-interactive-view-rules-end): New variable to + provide a "catch-all" when using interactive mode. + (gnus-uu-get-action): Changed viewing rules in interactive mode. + + * gnus-uu.el (gnus-uu-uustrip-article-as): Disabled + case-fold-search and changed gnus-uu-body-line to be more + restrictive. + (gnus-uu-multi-decode-and-view-or-save, + gnus-uu-uustrip-article-as): Changed hard returns to \r. + (gnus-uu-post-reply-mode): New mode for sending encoded files. + (gnus-uu-post-news, gnus-uu-post-insert-binary-in-article) + (gnus-uu-post-encode-uuencode, gnus-uu-post-encode-mime-uuencode) + (gnus-uu-post-encode-mime, gnus-uu-post-make-mime) + (gnus-uu-post-encode-file, gnus-uu-post-news-inews) + (gnus-uu-post-insert-binary, gnus-uu-post-encoded): New functions. + (gnus-uu-post-encode-method, gnus-uu-post-include-before-composing) + (gnus-uu-post-threaded, gnus-uu-post-binary-separator): New variables. + +1994-05-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): If CONT is stringp, use it + for tags-file-name. Don't bother calling tags-table-including + when buffer-file-name is nil. + (visit-tags-table): Signal error FILE is not stringp. + Call visit-tags-table-buffer with FILE instead of 'same. + (tags-next-table): When restoring state vars, set tags-file-name too. + + * etags.el (tags-find-table-in-list): Only recurse if + (tags-included-tables) returns non-nil (avoid infinite recursion). + +1994-05-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * man.el (Man-notify-when-ready): Don't call select-frame + if no window system. + +1994-05-02 Daniel Quinlan (quinlan@bucknell.edu) + + * dired.el: Unspecified location of chown for Linux (Linux doesn't + put chown in /etc). + +1994-05-02 Per Abrahamsen (abraham@eupectic) + + * double.el (double-translate-key): Changed 'delete to 127 to make + the non-X11 version work. + +1994-05-02 David M. Smith (maa036@lancaster.ac.uk) + + * ielm.el (ielm-dynamic-multiline-inputs): New variable. + (ielm-return): Support it. + + * ielm.el (ielm-print-working-buffer): New command + (ielm-change-working-buffer): New command + (ielm-display-working-buffer): New command + (ielm-map): Bindings for new commands; bindings from + shared-lisp-mode-map; Lemacs support. + + * ielm.el (ielm-eval-input): Give bindings in scope during the eval + non-clashing names (ielm- prefix) + + * ielm.el (ielm-get-old-input): New function + (inferior-emacs-lisp-mode): Bind it to comint-get-old-input + +1994-05-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el: Doc fixes. + (hide-sublevels): Rewritten faster and simpler. + + * tex-mode.el: Doc fixes. + + * man.el (Man-notify-when-ready): In newframe case, use save-excursion. + + * tempo.el: New file. + + * mail-hist.el: New fike. + + * mldrag.el: New file. + + * ielm.el: New file. + + * rsz-mini.el: New file. + +1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso-cvt.el: New file. + + * replace.el (perform-replace): Call substitute-command-keys just once + and only if querying. + + * term/x-win.el (x-handle-geometry): Specify user-position and + user-size properties when appropriate. + + * solar.el (solar-degrees-to-hours, solar-hours-to-days): + Force floating result. + + * blessmail.el: Don't load site-init.el. + Print the mail directory we tested, on standard output. + Don't load paths.el either--we now run in emacs, not temacs. + +1994-05-01 Morten Welinder (terra@diku.dk) + + * dos-fns.el (set-register-value): Setting the high byte of a + register trashed the low byte. + (set-register-value): Fixed test so the value 0 can be set. + (set-register-value): Rewrote to use bit operations instead of + multiplication and division. + (register-name-by-word-alist, register-name-by-byte-alist): + Combined into one list, register-name-alist. + (register-value, set-register-value): Use combined list. + (mode-line-format): Make the %n pure. + + * loaddefs.el (mode-line-format): Make the %n pure. + +1994-04-30 Morten Welinder (terra@diku.dk) + + * desktop.el (desktop-files-not-to-save): New variable to + exclude certain files -- magic ftp names by default -- from + being put into desktop files. + (desktop-save-buffer-p): Check file name also. + (desktop-save-buffer-p): For directories loaded by dired + consider the directory to be the file name. + (desktop-locals-to-save): Add line-number-mode to be saved when + local. + (desktop-remove): In case the desktop file cannot be deleted + make sure that the desktop system is still inactivated. + (desktop-kill): In case an error occurs when saving the desktop, + offer to quit regardless. + (desktop-save-buffer-p): Disregard case when testing file and + buffer names against regexps. + (desktop-buffer-dired): Display a warning if a directory no + longer exists. + (desktop-save-hook): New variable. + (desktop-save): Run desktop-save-hook. + (desktop-clear): Clear search history. + (desktop-internal-v2s): Be more explicit when encountering an + unprintable value. + +1994-04-30 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-update-buffers): Fix misspelled variable. + +1994-04-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el: Don't call menu-bar-mode here. + +1994-04-30 Morten Welinder (terra@tyr.diku.dk) + + * internal.el: Don't bind [mouse-1]; that's done elsewhere. + Define lower-upper case correspondence for the three mostly + used code pages. + +1994-04-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * scroll-bar.el (scroll-bar-event-ratio): New function. + + * files.el (hack-one-local-variable): Silently execute eval + if the form is a put of a harmless property with harmless args. + + * gnus.el (gnus-summary-mode-map): Bind # to gnus-uu-mark-article. + (gnus-uu-mark-article): Autoload it from gnus-uu. + + * gnus.el (gnus-summary-mode-map): Bind C-c C-v to gnus-uu-ctl-map. + (gnus-uu-ctl-map): Autoload it from gnus-uu. + +1994-04-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * files.el (revert-buffer): Widen before replacing text. + +1994-04-29 Kenneth Manheimer (ken.manheimer@nist.gov) + + * allout.el: major code speedups, bug fixes, behavior + refinements, doc-string clarification and elaboration, etc. + Prominent new features include: + - Exposure changes and navigation are greatly accelerated. + - More elaborate and clear doc-string for outline-mode, + giving better guidance on use of the mode. + - A new exposure-layout syntax, which accomodates outlines + with multiple top-level topics. (See `outline-expose' and + `outline-new-exposure'.) + - Automatic exposure and verfication-prompting on attempts to + change text within concealed regions, before they are + applied. (Undo affecting concealed regions is only + exposed, not verified, to facilitate smooth undo sequences.) + - 'hot-spot' navigation implemented. When the cursor is on a + topic's bullet, regular-character keystrokes will be + interepreted as if they were preceded by ^C, when + appropriate, so users can navigate and adjust exposure, + etc, with single-stroke commands. + - Lucid emacs accomodated. + +1994-04-29 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (tags-table-parent-pointer-list): Doc fix; elts are now + 3-elt lists. + (tags-next-table): Save tags-table-list in + tags-table-parent-pointer-list and then set it to + tags-included-tables. Restore tags-table-list from + tags-table-parent-pointer-list. + (tags-find-table-in-list): Renamed from tags-table-list-member. + Search included tables. Take new arg MOVE-TO; if t, frob list + pointers. + (tags-table-including): Save tags-table-list in + tags-table-parent-pointer-list. + Set tags-table-list to the passed TABLES value. + (visit-tags-table-buffer): When CONT is nil, pop all + tags-table-parent-pointer-list state before doing anything else. + Don't do list frobnication when CONT is 'same. Call + tags-find-table-in-list instead of tags-table-list-member; let it + do list frobnication when it succeeds. + +1994-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-update-buffers): Check whether frames ad + buffers have actually changed; if not, do nothing. + +1994-04-29 Morten Welinder (terra@tyr.diku.dk) + + * desktop.el (desktop-internal-v2s): Default case fixed to + return correct quote flag. + Fix cons cell handling to avoid recursion in the cdr part. + +1994-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc-hooks.el (vc-mode-line): Fix previous change. + +1994-04-28 Michael D. Ernst (mernst@monozygote.research.microsoft.com) + + * novice.el (disabled-command-hook): Try to enable command in user + init file only if there is a user init file. + +1994-04-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * lisp-mode.el (lisp-mode-variables): Undo previous change. + + * blessmail.el: Drop the trailing slash. + +1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-help-menu): Add item for emacs-version. + Add item for report-emacs-bug. + + * gud.el (gud-mips-p, gud-irix-p): Test system-configuration. + +1994-04-27 Dave Love (d.love@dl.ac.uk) + + * gud.el (gud-mipsdbx-marker-filter): Reimplemented based on + gud-gdb-marker-filter, with regexps appropriately altered. + (gud-marker-acc): New variable, replacing the + debugger-specific accumulation variables. + (dbx): On Irix, emit a marker so that the source is displayed initially + with the marker at the first executable statement. + + * gud.el (dbx): Fix gud-break under SunOS, at least. (I suspect + this is a general problem, because of the \n for some reason.) + + * gud.el (gud-dbx-mips-p, gud-dbx-irix-p): Use system-type to + choose system-dependent dbx incantations. + + * gud.el (gud-dbx-mips-p): Use "-emacs" for OSF/1 dbx as for MIPS. + + * gud.el (gud-irix-dbx-p): Determines whether to use (new) + gud-irixdbx-marker-filter. + (gud-irixdbx-marker-filter): New function. + (dbx): Insert case for Irix. + +1994-04-27 Ulrich Mueller (ulm@vsnhd1.cern.ch) + + * case-table.el (describe-buffer-case-table): Don't use + text-char-description. + +1994-04-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el: Make a sub-keymap for the Buffers menu bar item. + (menu-bar-select-buffer, menu-bar-select-frame): + New commands for that subkeymap. + (menu-bar-update-buffers): New function, on menu-bar-update-hook, + made partly out of mouse-menu-bar-buffers. + +1994-04-27 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * blessmail.el: Chase symlinks manually. + +1994-04-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * blessmail.el: Get the file's truename in case it is a link. + +1994-04-27 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * blessmail.el: Don't make an empty script. + Use signal, not error. + +1994-04-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (ange-ftp-completion-hook-function): Use new inhibit vars. + + * ange-ftp.el (ange-ftp-hook-function): Use ange-ftp-run-real-handler. + (ange-ftp-run-real-handler): Inhibit ange-ftp-completion-hook-function + as well as ange-ftp-hook-function. + +1994-04-27 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Add fortran pattern. + +1994-04-27 Noah Friedman (friedman@kropotkin.gnu.ai.mit.edu) + + * yow.el: Added comment indicating author. + +1994-04-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * faces.el (frame-update-faces): Unset old font. + +1994-04-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * case-table.el: Don't modify text-mode-syntax-table. + + * ange-ftp.el (internal-ange-ftp-mode): Set comint-prompt-regexp + and paragraph-start. + + * etags.el (tags-add-tables): Doc fix. + +1994-04-25 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsum.el (rmail-summary-scroll-msg-up, + rmail-summary-scroll-msg-down): Scroll rmail-buffer explicitly. + +1994-04-25 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-next-error-locus): Use + compilation-error-message instead of "Moved past last error" when + MOVE is 1 (default value). + +1994-04-25 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * desktop.el (desktop-internal-v2s): Make structure match docstring. + + * tar-mode.el (tar-copy): Don't bother with a temp buffer. + +1994-04-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dos-fns.el (mode-line-format): Put `mode-line-process' earlier. + (file-name-buffer-file-type-alist): Use nil or t, not 0 or 1. + (find-buffer-file-type): Handle that change. + + * calendar.el (calendar-starred-day): Var renamed from starred-day. + +1994-04-24 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmail.el (rmail-highlight-headers): Extracted as a new function. + Fix overlay position. Do nothing if face support is unavailable. + +1994-04-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc-hooks.el (vc-mode-line): Warn if file is not vc-registered + but is a symlink to a vc-maintained file. + + * tar-mode.el (tar-extract): Don't put whole file name in buffer name. + Do put it in list-buffers-directory. + Save mode line space when mentioning the tar file name. + (tar-subfile-mode): Don't add anything to minor-mode-alist. + +1994-04-24 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * shell.el (shell-dirstack-query): defaults to nil. + (shell-mode): Guesses shell-dirstack-query based on shell name. + +1994-04-24 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * loaddefs.el (mode-line-format): + * man.el (Man-mode-line-format): + * tpu-edt.el (tpu-set-mode-line): + * two-column.el (tc-mode-line-format): + Put mode-line-process immediately after mode-name + when setting mode-line-format. + + * cmuscheme.el (inferior-scheme-mode): + * comint.el (comint-mode): + * compile.el (compilation-setup, compilation-sentinel): + * find-dired.el (find-dired, find-dired-sentinel): + * gud.el (gud-mode, gud-sentinel): + * inf-lisp.el (inferior-lisp-mode): + * simple.el (shell-command): + * terminal.el (terminal-cease-edit, terminal-mode): + Remove space after `:' in mode-line-process. + +1994-04-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * jka-compr.el: Doc fixes. + (jka-compr-run-real-handler): New function. + (jka-compr-handler): Call it, to reinvoke the Emacs primitive + using the new inhibit protocol. + + * rmail.el (rmail-show-message): Always re-set overlay face property. + + * simple.el (kill-line, kill-word): Don't use save-excursion. + (kill-read-only-ok): New variable. + (kill-region): Handle that variable. Handle read-only text property. + + * paragraphs.el (kill-paragraph): Don't use save-excursion. + (backward-kill-paragraph): Likewise. + (kill-sentence, backward-kill-sentence): Likewise. + + * rmail.el (rmail-show-message): Use overlays, not text properties. + (rmail-overlay-list): New variable. + (rmail-mode): Make it local. + + * subr.el (run-hooks): Don't use mapcar--save consing. + +1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mail-extr.el (mail-extr-all-top-level-domains): + Renamed from all-top-level-domains. + + * lisp-mode.el (lisp-mode-variables): In comment-start-skip, + reject semicolon after a backslash. + + * frame.el (special-display-frame-alist): New variable. + (special-display-popup-frame): New function. + (special-display-function): Set it. + + * rmail.el (rmail-show-message): Highlight the specified fields. + (rmail-highlighted-headers): New user variable. + + * ange-ftp.el (ange-ftp-add-file-entry-alist): Fix typo in prev change. + +1994-04-22 Jamie Zawinski (jwz@lucid.com) + + * mail-extr.el: Major changes by jwz and drw. + + * subr.el (run-hook-with-args): New function. + +1994-04-22 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * undigest.el (undigestify-rmail-message): Update summary buffer. + +1994-04-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el: Many doc fixes. + + * ange-ftp.el (ange-ftp-run-real-handler): New function. + (ange-ftp-real-...): Use that. + + * ange-ftp.el (ange-ftp-gwp-start, ange-ftp-nslookup-host) + (ange-ftp-start-process): Bind process-connection-type explicitly. + +1994-04-22 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * hilit19.el: Don't treat $ as special if escaped. + +1994-04-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse-sel.el (mouse-extend): Handle case where posn-window + is a frame. + + * comint.el (comint-mode-map): + comint-dynamic-list-input-ring now on C-c C-l. + + * faces.el (frame-update-faces): New function. + * frame.el (set-default-font): Call frame-update-faces. + * mouse.el (mouse-set-font): Simply call set-default-font. + + * font-lock.el (rmail-font-lock-keywords): New variable. + (compilation-mode-font-lock-keywords): New variable. + (font-lock-set-defaults): Use those vars in those modes. + + * startup.el (command-line-default-directory): New variable. + (command-line, command-line-1): Use and set it. + + * time.el (display-time): Force use of pipe, not pty. + + * vc.el (vc-backend-diff): Test of cmp was backwards. + +1994-04-22 Per Abrahamsen (abraham@eupectic) + + * makefile.el (makefile-mode): Removed extra quote before + makefile-warn-suspicious-lines. + +1994-04-21 Boris Goldowsky (boris@moose.cs.rochester.edu) + + * avoid.el: (mouse-avoidance-point-position): New function, using + new `compute-motion' functionality. Use of this fixes bugs + involving wrapped lines & horizontally-scrolled windows. + * avoid.el: New avoidance mode, "exile", like "banish" but temporary. + + * avoid.el: Jump/animate modes now keep track of net offset that + they have moved the mouse, and try to keep this near 0. No longer + wraps to other side of screen. + * avoid.el (mouse-avoidance-mode): Update mode line. + * avoid.el (mouse-avoidance-*-hook): Do nothing if inside kbd macro. + +1994-04-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ispell.el (ispell-use-ptys-p): Doc fix. + + * gud.el (gud-filter): Call comint-output-filter at the end. + +1994-04-21 Francesco Potorti` (pot@fly.cnuce.cnr.it) + + * cmacexp.el (c-macro-expansion): changed the algorithm to allow + __FILE__ and __LINE__ directives to be expanded correctly. + (c-macro-expansion): use a forth optional argument DISPLAY meaning + it should print messages at the start and end of preprocessing. + All callers changed. + (c-macro-expand): Don't display message here. + +1994-04-21 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * info.el (Info-next-preorder): Don't follow footnotes here. + (Info-mouse-follow-nearest-node, Info-follow-nearest-node): Split + into mouse and keyboard versions. + (Info-mode-map): Bind them to mouse-2 and RET. + (Info-try-follow-nearest-node): Common subroutine. + + * ebuff-menu.el (Electric-buffer-menu-mouse-select): New function. + (electric-buffer-menu-mode-map): Bind it to mouse-2. + +1994-04-21 Per Abrahamsen (abraham@research.att.com) + + * ispell.el (ispell-dictionary-alist): Renamed the entry for + danish from "dansk" to "danish" in order to conform with reality. + +1994-04-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el (gdb, sdb, dbx, xdb, perldb): Set paragraph-start. + (gud-mode): Make paragraph-start buffer-local. + +1994-04-21 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * comint.el (comint-mode): Set comint-last-input-start and + comint-last-input-end to valid markers. + + * comint.el (comint-send-input): Use comint-output-filter to run + functions on comint-output-filter-functions. + + * comint.el (comint-kill-output): Use delete-region to remove, and + comint-output-filter to insert. + +1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (server-kill-emacs-query-function) + (server-kill-buffer-query-function): Give names to these hook fns. + + * sort.el (sort-subr): Use car-less-than-car when appropriate. + +1994-04-20 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): Fix references for column + number, 3rd elt not 2nd. + +1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (TAGS): New target. + (lisptagsfiles): New variable. + + * cmacexp.el: Doc fixes. + (c-macro-expansion): Handle a and b comment styles. + (c-macro-shrink-window-flag): Renamed from c-macro-shrink-window-p. + (c-macro-prompt-flag): Renamed from c-macro-prompt-p. + + * cmacexp.el: Potorti's changes: + Provide cmacexp. + (c-macro-prompt-p): Var renamed from c-macro-always-prompt-p. + (c-macro-cppflags): Var renamed from c-macro-default-cppflags. + (c-macro-expand): Don't handle C-u C-u specially. + Compute message here in var mymsg. + Clear buffer-auto-save-file-name. + (c-macro-display-buffer): Now takes no argument. + Use point-max to get large number. + (c-macro-default-message, c-macro-eval): Functions deleted. + (c-macro-expansion): Use startinstring as the char to insert. + +1994-04-19 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * startup.el (init-file-user): Doc fix. + + * blessmail.el: New file. + + * lisp.el (defun-prompt-regexp): Make this variable buffer-local. + + * emacsbug.el (report-emacs-bug): Insert at separator, not at end. + +1994-04-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsum.el (rmail-summary-rmail-update): Update rmail buffer + even if it isn't displayed. + + * comint.el (comint-replace-by-expanded-history): Expand only at + prompt. + Pass SILENT flag to comint-replace-by-expanded-history-before-point. + +1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (kill-buffer-query-functions): Fix the question text. + (kill-emacs-query-functions): Fix typo in question text. + +1994-04-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * outline.el (outline-end-of-subtree): Stop before final newline. + +1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (shell-command-sentinel): Do nothing if buffer is dead. + (shell-command-filter): If point was at end, leave it at end. + + * menu-bar.el (menu-bar-enable-clipboard): Construct new cons cells. + + * loaddefs.el: Move pop-global-mark bindings to this file. + * simple.el: Move pop-global-mark bindings to loaddefs.el. + +1994-04-17 Per Cederqvist (ceder@signum.se) + + * hexl.el (hexl-mode): Make local binding for hexl-max-address. + +1994-04-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * pascal.el (pascal-outline-map): + Move pascal-outline-goto-defun to C-c C-d. + +1994-04-16 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * debug.el (debug, debugger-eval-expression): Preserve match-data. + + * mouse.el (mouse-drag-region): Handle scroll off top/bottom. + +1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * imenu.el: Require cl only at compile time. + (imenu--mouse-menu): Copy list by hand, not with copy-list. + + * simple.el (auto-fill-function): New function (doc placeholder). + + * calendar.el (calendar-mode-map): Use substitute-key-definition. + Don't mess with kill-region and copy-region-as-kill. + + * window.el (shrink-window-if-larger-than-buffer): + Do nothing for side-by-side windows. + + * help.el (describe-mode): Always show minor modes, at front. + +1994-04-15 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * mouse.el (mouse-set-font): Don't error if no selection. + + * startup.el (command-line): If no error data, print "", not nil. + + * emerge.el (emerge-goto-line): Fix return value. + (emerge-convert-diffs-to-markers): Fix line number calculations. + + * files.el (basic-save-buffer): If selective-display is t, + file may end in CR instead of LF. + + * comint.el: Doc fix. + +1994-04-14 Lars Magne Ingebrigtsen (larsi@bera.ifi.uio.no) + + * gnus-uu.el (gnus-uu-enter-interactive-file): Escape any special + characters in file names. + (gnus-uu-call-asynchronous, gnus-uu-treat-archive): Likewise. + + * gnus-uu.el (gnus-uu-uustrip-article-as): Added more corrections + of corrupt uucode. + (gnus-uu-uustrip-article-as): Changed the algorithm for finding + begin/body lines of encoded articles. + (gnus-uu-check-correct-stripped-uucode): Handle + extraneous empty lines in uuencoded postings. + + * gnus-uu.el (gnus-uu-uustrip-article-as, gnus-uu-clean-up): + Check before calling process-status. + (gnus-uu-uuencode-and-post): Added possibly non-standard + posting of uuencoded files. + +1994-04-14 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * shell.el (shell-replace-by-expanded-directory): Don't display + initial message. + + * shell.el: Properly use define-key-after to change menu-bar. + +1994-04-14 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * comint.el (comint-replace-by-expanded-history-before-point): + Advance point unconditionally. + + * shell.el (shell-dynamic-complete-as-command): Don't match + ignored-extensions if it's nil. + + * rmailout.el (rmail-default-file, rmail-default-rmail-file): + Cancel new defvars. + +1994-04-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (make-face-x-resource-internal): + Don't mess with terminal frames. + + * startup.el (command-line): + Call face-initialize before frame-initialize. + + * faces.el (x-create-frame-with-faces): Create frame invisible, + set up the faces, then make it visible. + + * saveplace.el (save-place-kill-emacs-hook): Fix typo. + +1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (x-fixed-font-alist): Give multiple names for try + for certain fonts. + (mouse-set-font): Handle these. + + * files.el (find-buffer-visiting): Don't check buffer-file-number + unless buffer-file-name is non-nil. + + * dired.el (dired-subdir-regexp): Allow a space in dir name. + + * rmailout.el (rmail-default-file, rmail-default-rmail-file): + New defvars. + + * apropos.el (super-apropos-check-doc-file): Force Fundamental mode. + +1994-04-13 Stephen Gildea (gildea@x.org) + + * mh-e.el, mh-utils.el: (mh-progs, mh-lib): Move from mh-e.el + to mh-utils.el for Emacs 19.23, which doesn't define them in paths.el. + + * mh-utils.el (mh-find-progs): Add paths for BSDI. Put local + paths first so they override the system's paths. + + * mh-utils.el (with-mh-folder-updating): Optimize to keep + buffer-file-name nil even while restoring modified-p status at end. + + * mh-e.el (mh-store-buffer): Autoload. Better doc strings. + +1994-04-13 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * comint.el (comint-dynamic-complete-as-filename): Simplify. + +1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (mouse-menu-bar-buffers): Put Frames pane behind Buffers. + +1994-04-12 Ethan Bradford (ethanb@ptolemy.astro.washington.edu) + + * ispell.el (ispell-message): Turn LIMIT into an integer, + around ispell-region. + +1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * edt.el (case-flip-character): Make case test more general. + + * ispell.el: Bind M-$. + + * subr.el (read-quoted-char): Convert meta chars into 128+ chars. + * simple.el (quoted-insert): Do nothing special for meta chars. + + * backquote.el (backquote-process): Don't crash if ultimate + expression is just a variable. + + * dired-aux.el (dired-add-entry): Set opoint at beginning of line. + No need to explicitly discard direcory from file name. + +1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-move-to-filename-regexp): Match the year or time. + (dired-move-to-filename): Simplify the code for that. + + * imenu.el (imenu): Renamed from goto-index-pos. + + * gnus-uu.el: Doc fixes. + (gnus-uu): New function is placeholder for docs. + (gnus-uu-summary-next-subject): + Do sit-for before gnus-summary-recenter. + + * emerge.el (menu-bar-emerge-menu): Improve menu title. + + * edebug.el (eval-reg): Fix the require call. + + * eval-reg.el: Renamed from eval-region.el. Fix the `provide' call. + Doc fixes. + + * dired.el (dired-move-to-filename): Use skip-chars-forward + instead of looking-at, for speed. + +1994-04-11 Per Abrahamsen (abraham@research.att.com) + + * makefile.el (makefile-mode): make-local-variable misspelled as + make-local-file. + +1994-04-11 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-process-filter): Call comint-output-filter. + (ange-ftp-gwp-filter): Likewise. + + * gud.el (gud-filter): Let comint-output-filter do the hard work. + + * jka-compr.el (jka-compr-handler): Save match data. + + * comint.el (comint-dynamic-complete-as-filename): Save end of + match before calling other functions. Handle non-match too. + + * dired.el (dired-move-to-filename): Handle leading blanks. + + * subr.el (force-mode-line-update): Doc fix. + +1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * easymenu.el (easy-menu-keymap): Don't append `...' to name. + +1994-04-09 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * makeinfo.el (makeinfo-region): Fix name of tex-start/end-of-header. + +1994-04-09 Daniel LaLiberte (liberte@churchy.gnu.ai.mit.edu) + + * cust-print.el: Simplify top-level definition of defalias + for Emacs 18. + + * edebug.el: (keywordp): Remove definition. + (edebug-form): Check whether keywordp is defined. + +1994-04-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/lk201.el (function-key-map): Use f11, not \e. + * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el: + Replace it with \e here. + + * files.el (inhibit-first-line-modes-regexps): Renamed from + inhibit-local-variables-regexps. + +1994-04-08 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsum.el (rmail-new-summary): Avoid unsafe save-restriction. + +1994-04-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/lk201.el: Support kp-tab, kp-multiply, kp-add, kp-divide. + + * menu-bar.el (global-map): Bind function keys f16, f18 and f20, + which Sun knows as copy, paste and cut. + + * lmenu.el (popup-dialog-box): New function. + +1994-04-07 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * comint.el (comint-exec-1): Handle both termcap and terminfo. + + * simple.el (hscroll-window-column): New function. + (hscroll-point-visible): Do the right thing in the hard cases. + + * telnet.el (telnet-initial-filter, read-password): Don't + unnecessarily duplicate comint functionality. + +1994-04-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * calendar.el: Many doc fixes. + (general-holidays, *-holidays): Add risky-local-variable property. + + * cal-dst.el (calendar-daylight-savings-ends) + (calendar-daylight-savings-ends): Add risky-local-variable property. + + * files.el (hack-one-local-variable): Treat varnames ending in + -form or -forms like eval. + (hack-one-local-variable): Test for risky-local-variable property. + Put such properties on some variables, including minor-mode-map-alist. + + * edebug.el (edebug-version): Delete third arg of string-match. + + * term/x-win.el: If server is a Sun, call menu-bar-enable-clipboard. + +1994-04-07 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) + + * rmail.el (rmail-secondary-file-menu): Fix typo. + +1994-04-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (define-key-after): Doc fix. + +1994-04-06 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsum.el (rmail-summary-disable): New function. + (rmail-summary-enable): New function. + (rmail-summary-mode): Call rmail-summary-enable. + * rmailedit.el (rmail-edit-mode): Disable summary during edit. + (rmail-cease-edit): Re-enable summary. + + * replace.el (replace-regexp): Fix misbalanced quotes. + + * rmailsort.el (rmail-sort-by-keywords): New function. + * rmailsum.el (rmail-summary-sort-by-keywords): New function. + * rmail.el (rmail-mode-map): Key binding for rmail-sort-by-keywords. + + * info.el (Info-find-node): Don't try to backstep if no history. + (Info-insert-dir): Print sensible error message if no dir node. + +1994-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * replace.el: Doc fixes. + + * term/wyse50.el (kill-emacs-hook): Use add-hook. + + * saveplace.el (save-place-find-file-hook) + (save-place-kill-emacs-hook): New functions. + (hooks for find-file-hooks,kill-emacs-hook): Use those new functions. + + * menu-bar.el (clipboard-yank, clipboard-kill-ring-save) + (clipboard-kill-region): New functions. Give them + menu-enable properties and bind the PASTE, COPY and CUT keys. + (menu-bar-enable-clipboard): New function. + + * term/x-win.el (x-select-enable-clipboard): New variable. + (x-select-text, x-cut-buffer-or-selection-value): Obey it. + + * term/x-win.el (x-handle-args): Doc fix. + +1994-04-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (quoted-insert): Handle meta-chars usefully. + +1994-04-05 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * dired-x.el: New version from maintainer. + +1994-04-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * timer.el (timer-kill-emacs-hook): New function. + (kill-emacs-hook): Add the new hook. + + * cc-mode.el: Large changes. + +1994-04-05 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsum.el (rmail-summary-goto-msg): Fix bug in earlier change. + +1994-04-05 Daniel LaLiberte (liberte@churchy.gnu.ai.mit.edu) + + * cust-print.el: Change install-* and uninstall-* + to *-install and *-uninstall. + + * eval-region.el: Change install-* and uninstall-* + to *-install and *-uninstall. + +1994-04-04 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * man.el (manual-program): New (actually reintroduced) variable. + (Man-getpage-in-background): Don't hardcode the program name. + +1994-04-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (auto-save-mode): Don't let buffer-saved-size stay negative. + +1994-04-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * calendar.el (calendar-cursor-to-date): Fix to signal error when + appropriate. + +1994-04-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * edebug.el (edebug-emacs-19-specific): + Renamed from edebug-fsf19-specific. + (edebug-emacs-version-specific): Test for not-version-18. + + * view.el (view-mode-map): Don't bind C-z. + +1994-04-04 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * calendar.el (generate-calendar-month): Add mouse-face properties. + * simple.el (completion-setup-function): Add mouse-face properties. + + * window.el (split-window-vertically): If size is negative, + measure from bottom. + +1994-04-04 Daniel LaLiberte (liberte@spiff.gnu.ai.mit.edu) + + * edebug.el Change "-emacs-" to "-original-" throughout. + (edebug-last-sexp): Fix missing ";;" + (edebug-read): Fix docstring, &optional arg, + and the check that stream is current-buffer. + (edebug-install-read-eval-functions): Use (elisp-eval-region-install). + (edebug-uninstall-read-eval-functions): Restore to function values. + (edebug-eval-defun): Repair check for edebug-all-defs. + (edebug-top-level-form): Set edebug-all-defs to t. + (edebug-read-and-maybe-wrap-form1): Call edebug-original-read + instead of read. + (edebug-enter): Bind pre-command-hook and post-command-hook to nil. + Reset these variables and executing-macro to outside values. + (edebug-display): Reset global variables to outside values. + (edebug-recursive-edit): Reset global variables to outside values. + (edebug-outside-excursion): Set outside values of global variables + in case they were changed by side effect. + (edebug-instrument-callee): Use edebug-original-read instaed of read. + (edebug-eval-result-list): While evaluating evaluation list, + bind edebug-execution-mode and edebug-trace to nil. + + +1994-04-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * uncompress.el (uncompress-program): New variable. + (uncompress-backup-file): Use it. + (uncompress-while-visiting): Use that var. Handle .gz suffix. + (auto-mode-alist): Handle .gz suffix. + (find-compressed-version): Handle .gz suffix. + +1994-04-03 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * fortran.el (fortran-blink-matching-do): New function, + basically copied from fortran-blink-matching-if. + (fortran-indent-line): Call it. + (fortran-mode): Doc mod. + +1994-04-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (version-control): Doc fix. + + * rmailsum.el (rmail-summary-goto-msg): + Highlight the whole line except first char. + +1994-04-02 Karl Fogel (kfogel@phylo.life.uiuc.edu) + + * saveplace.el (save-place-version-control): New var, for determining + how to back up the master saved-places file. + (save-place-alist-to-file): Bind version-control depending on + `save-place-version-control'. + (hook for find-file-hooks): Specify the APPEND arg to add-hook. + +1994-04-01 Ethan Bradford (ethanb@ptolemy.astro.washington.edu) + + * ispell.el (ispell-message): Fixed infinite loop on shortened msg. + +1994-04-01 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * buff-menu.el (Buffer-menu-mode): Add mouse-face properties. + (Buffer-menu-buffer-name-position): New function. + + * tar-mode.el (summarize-tar-header-block): Add mouse-face properties. + + * compile.el (compile-mouse-goto-error): Simplify. + (compilation-parse-errors-function): Doc fix. + +1994-04-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * replace.el (occur): Add mouse-face property to each line. + + * dired.el (dired-insert-directory): Add mouse-face properties. + (dired-insert-set-properties): New subroutine. + * dired-aux.el (dired-add-entry, dired-insert-subdir-doinsert): + Call dired-insert-set-properties. + (dired-add-entry): Don't make name absolute; bind default-directory. + + * info.el (Info-fontify-node): Add mouse-face properties. + Increase size limit for fontifying to 30000. + +1994-03-31 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailkwd.el (rmail-message-label-p, rmail-parse-message-labels): + Update obsolete (commented-out) functions. + +1994-03-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unrmail.el, rmailout.el: Doc fixes. + +1994-03-31 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * man.el (Man-filter-list): New footer format to delete. + +1994-03-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tar-mode.el: Fix error message syntax. + (tar-mode): Doc fix. + (tar-mouse-extract): New command. + (tar-mode-map): Bind mouse-2. + (tar-get-descriptor): New function. + (tar-extract, tar-copy): Use that. + (tar-mode-maybe-write-tar-file): Renamed from maybe-write-tar-file. + + * buff-menu.el (Buffer-menu-mouse-select): New command. + (Buffer-menu-mode-map): Bind mouse-2. + (Buffer-menu-mode): Doc fix. + + * replace.el (occur-mode): Doc fix. + (occur-mode-goto-occurrence): Delete excess close paren. + + * dired.el (dired-mouse-find-file): Use same window. + Renamed from ...-other-window. + +1994-03-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * replace.el (occur-mode-find-occurrence): New subroutine. + (occur-mode-goto-occurrence): Use that. + (occur-mode-mouse-goto): New command. + (occur-mode-map): Bind mouse-2. + (occur-mode-find-occurrence): Error if point is on first line. + + * compile.el (compile-mouse-goto-error): New command. + (compilation-minor-mode-map): Bind mouse-2. + + * dired.el (dired-mouse-find-file-other-window): New command. + (dired-mode-map): Bind mouse-2. + +1994-03-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsort.el (rmail-sort-messages): Update summary buffer. + (rmail-sort-messages): Use buffer-disable-undo, not buffer-flush-undo. + * rmailsum.el (rmail-sort-from-summary): Preserve window selection. + +1994-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-checkin): Undo previous change. + + * help.el (help): New alias. + (help-for-help): Mention help character. + (help-quit): New command. + (help-map): Bind `q'. + +1994-03-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * c-mode.el (calculate-c-indent): Don't loop forever at bobp. + (calculate-c-indent, indent-c-exp): Test char against 0, not nil. + + * font-lock.el: Check for existence of windowing system. + + * files.el (hack-local-variables-prop-line): Search two lines if "#!". + Ignore keyword `mode', since it's already been handled. + +1994-03-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * debug.el (debug): Behave sensibly if pop-up-frames is set. + + * info.el (Info-suffix-list): Put empty string last. + (info-insert-file-contents): Allow filename to already be suffixed. + +1994-03-28 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * vc.el (vc-checkin): Insert name of current defun in comment buffer. + * add-log.el (add-log-current-defun): Autoload this. + +1994-03-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * forms.el (forms-mode): Set major mode before finding forms-file. + +1994-03-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (basic-save-buffer-1): New subroutine, broken out of + basic-save-buffer. + (basic-save-buffer): Use basic-save-buffer-1. + + * bytecomp.el (byte-compile-file): Use whole file name for errors. + + * subr.el (momentary-string-display): Avoid modifying the undo list. + + * startup.el: Doc fixes. + +1994-03-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (set-match-data): New alias. + + * mouse.el (mouse-choose-completion): Use choose-completion-string. + (mouse-completion-delete-max-match): Moved to simple.el. + + * simple.el (choose-completion-delete-max-match): Renamed from + mouse-completion-delete-max-match and moved here. + (choose-completion-string): New function. + (choose-completion): New command. + (completion-list-mode-map): Add binding for choose-completion. + (completion-setup-function): Mention RET. + + * vc-hooks.el (vc-find-file-hook): Set backup-inhibited. + + * files.el (set-visited-file-name): Kill local var vc-mode. + Make buffer writable if was read-only due to vc. + +1994-03-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loadup.el: Don't test for presence of dump-emacs. + Use `dump' argument as criterion for copying DOC, for running + top-level, and for extending the version number. + Delete the sleep-for. + + * emerge.el (emerge-goto-line): New function. + (emerge-convert-diffs-to-markers): Use it. + + * simple.el (blink-matching-open): Now three strategies for choosing + the text to display when the matching open is off screen. + + * info.el (Info-insert-dir): Add a save-excursion. + Require menu items for subnodes to end in ::. + +1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el (gud-comint-buffer): Move defvar up. + +1994-03-25 Rick Sladkey (jrs@world.std.com) + + * gud.el (gud-gdb-complete-command): New defun to support true + GDB completion in the GUD buffer. Requires assistance from + GDB in the form of the `complete' command. + (gud-gdb-complete-in-progress, gud-gdb-complete-string, + gud-gdb-complete-break, gud-gdb-complete-list, + gud-gdb-complete-filter): New. + (gdb): Bind TAB to gud-gdb-complete-command. + +1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * easymenu.el: New file. + +1994-03-24 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * apropos.el (apropos-match-keys): Skip duplicate keybindings. + + * menu-bar.el (mouse-menu-bar-buffers): Fix position structure. + +1994-03-24 Daniel LaLiberte (liberte@spiff.gnu.ai.mit.edu) + + * edebug.el: New version from author. + + * cust-print.el Change "internal" to "original" throughout. + (add-custom-printer, delete-custom-printer) replace old + customizers. + (with-custom-print) new + (custom-prin1-to-string) Made it more robust. + +1994-03-23 Simon Marshall (simonm@penelope) + + * comint.el (comint-run): New command. + (comint-watch-for-password-prompt): New function. + (comint-mode, comint-show-output): Doc fix. + + * comint.el (comint-replace-by-expanded-history): + Add menu-enable property. + + * shell.el (shell-strip-ctrl-m): New command. + (shell-mode): Doc fix. + (shell-dynamic-complete-as-command): Use + comint-dynamic-simple-complete. + +1994-03-23 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsort.el (rmail-sort-by-subject): Fix `Re:' regexp. + + * nroff-mode.el (nroff-mode-abbrev-table): Call define-abbrev-table. + +1994-03-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-secondary-file-menu): Display relative file names. + (rmail-output-menu): Autoload it. + (rmail-mode-map): Add rmail-output-menu and rmail-input-menu. + (rmail-quit): Remove summary buffer from display. + Thoroughly remove Rmail buffer from display. + +1994-03-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help.el (where-is): New function. + + * sort.el (sort-subr): Add autoload. + + * asm-mode.el (asm-mode): Doc fix. + + * debug.el (debugger-eval-expression): Use a history list. + + * skeleton.el, sh-script.el: New files. + +1994-03-21 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * register.el (jump-to-register): Handle dead marker. + +1994-03-21 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Don't add any text to the + ACTION-ALIST descriptions to make dialog box buttons. + +1994-03-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (insert-directory): Quote special shell chars, + aside from wildcards and quoting characters. + + * loaddefs.el (mode-line-buffer-identification): Doc fix. + +1994-03-20 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * lmenu.el (make-lucid-menu-keymap): Any row of dashes means blank. + +1994-03-20 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * sendmail.el (mail-mode): Doc mod. + +1994-03-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * select.el (x-valid-simple-selection-p): Accept an overlay. + (xselect-convert-to-string, xselect-convert-to-length): + (xselect-convert-to-filename xselect-convert-to-charpos): + (xselect-convert-to-lineno, xselect-convert-to-colno): Likewise. + + * subr.el (one-window-p): New argument all-frames. + + * map-ynp.el (map-y-or-n-p): Call x-popup-dialog the new way. + +1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paths.el (mh-progs, mh-lib): Deleted. + + * tex-mode.el (tex-delete-last-temp-files): New arg NOT-ALL. + (tex-region): Pass new arg. + + * help.el (help-with-tutorial): Change previous change; + reduce threshold to 12 lines. + +1994-03-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * iso-acc.el (iso-accents-list): Add entries for unadorned accents. + +1994-03-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lmenu.el: Provide lmenu, not menubar. + + * rmailsum.el (rmail-summary-goto-msg): Highlight message number + of current message. + +1994-03-18 Michael D. Ernst (mernst@research.microsoft.com) + + * lisp.el (beginning-of-defun-raw): Don't err when called at end + of buffer. + +1994-03-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + + * help.el (help-with-tutorial): Avoid unexplained large blank area. + + * disp-table.el (create-glyph): Don't use slots that look like ASCII. + (standard-display-ascii): Error if using a windowing system. + (standard-display-g1, standard-display-graphic): Ditto. + (standard-display-underline): If window system, use underline font. + + +1994-03-18 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Generalize ultrix 3 + f77 regexp to match Absoft FORTRAN 77 errors. + + * replace.el (perform-replace): Set match-data markers to nil + before discarding them. + + * map-ynp.el (map-y-or-n-p): Use a dialog box when triggered by a + mouse event. + +1994-03-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailout.el (rmail-output-menu): New command. + + * rmail.el (rmail-summary-window-size): New variable. + (rmail-maybe-display-summary): Use it. + (rmail-secondary-file-directory): New var. + (rmail-secondary-file-regexp): New var. + (rmail-secondary-file-menu): New function. + (rmail-input-menu): New command. + +1994-03-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * telnet.el (telnet-maximum-count): Doc fix. + +1994-03-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * term/x-win.el (x-cut-buffer-or-selection-value): Check for error + from x-get-selection. + + * lisp.el (end-of-defun): Fix check for trailing comment. + + * lisp.el (beginning-of-defun-raw): New function. + (end-of-defun): Handle defun-prompt-regexp correctly. + + * rmail.el (rmail-convert-to-babyl-format): Check Content-Length + field for consistency. + +1994-03-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (undo): Don't let the undo entries for the undo + contain a specific buffer position. Delete it if there is one. + + * foldout.el: New file. + + * version.el (emacs-version): Use system-configuration. + +1994-03-15 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * man.el (manual-entry): Document what the arg does. + + * lisp.el (defun-prompt-regexp): Doc fix. + + * man.el (Man-original-frame): New variable. + (Man-getpage-in-background): Save the frame that man was invoked in. + (Man-notify-when-ready): Restore it, if appropriate. + +1994-03-14 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * gud.el (gud-filter): Update comint-last-input-end. + + * man.el (Man-filter-list): Extend footer pattern for hpux. + (Man-cooked-hook): New variable. + (Man-bgproc-sentinel): Run Man-cooked-hook after cleaning backspaces. + +1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * hilit19.el (LaTeX patterns): Don't match \( and \[ following a \. + + * man.el (Man-build-man-command): Redirect desc 2 to /dev/null. + (Man-getpage-in-background): Require env before printing message. + + * mh-comp.el, mh-funcs.el, mh-mime.el, mh-pick.el, mh-seq.el, + mh-utils.el: New files. + * mh-e.el: Version 4.0 from Gildea. + +1994-03-14 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * info.el (Info-insert-dir): Use printable escapes instead of + embedding literal control chars in the source. + * underline.el (underline-region, ununderline-region): Ditto. + * edt.el (indent-or-fill-region): Ditto. + * page-ext.el (original-page-delimiter, set-page-delimiter): Ditto. + + * register.el (view-register, insert-register): Handle dead marker. + +1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * view.el (view-mode): Run view-mode-hook as well as view-hook. + (view-mode-hook): New defvar. + +1994-03-13 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * text-mode.el (text-mode): Doc fix. + +1994-03-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * diff.el (diff-latest-backup-file): Call file name handler properly. + + * outline.el (hide-other, hide-sublevels): Renamed from outline-... + +1994-03-11 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmailsort.el (rmail-sort-by-lines): msgnum variable should be msg. + + * appt.el: Doc fix. + + * add-log.el, ange-ftp.el, cplus-md.el, dired-aux.el, dired.el, + files.el, gnus.el, ispell.el, subr.el, texinfmt.el: Don't use + triple-hyphen in a character class. + * scheme.el (scheme-let-indent): Put hyphen in a safer place in + the character class. + * terminal.el (te-parse-program-and-args, te-quote-arg-for-sh): Ditto. + +1994-03-11 Espen Skoglund (espensk@lglab17.cs.uit.no) + + * pascal.el (pascal-indent-case): Handle comma separated list. + (pascal-set-auto-comments): No comment after record block. + (pascal-seperator-keywords): Renamed to pascal-separator-keywords. + (pascal-get-lineup-indent): Handle multiple declarations on same line. + +1994-03-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * mouse.el (mouse-kill): Select the clicked window first. + + * outline.el: (outline-mode, outline-level): Doc fix. + (outline-on-heading-p): Use bolp, not bobp. + (outline-hide-other): Rename from hide-other. + (outline-hide-sublevels): Rename from hide-sublevels. + (outline-back-to-heading): Error if no previous heading. + (outline-next-visible-heading): Check for search failure. + (outline-hide-sublevels): Ignore text before first outline heading. + (outline-level): Count characters, not columns, so ^L is level 1. + +1994-03-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * shell.el (shell-dynamic-complete-as-command): Make ignored-extensions + nil if comint-completion-fignore is nil. + + * files.el (find-buffer-visiting): Don't compare NUMBER if it is nil. + + * man.el (Man-filter-list): Don't insist on `...done' after `wait'. + Match `Reformatting entry. Wait'. + + * rmail.el (rmail-ignored-headers): Add several x400 header types. + + * ispell.el (ispell-pdict-save, ispell-kill-ispell, ispell-continue): + (ispell-help): Add autoloads. + + * bookmark.el (kill-emacs-hook): Don't autoload this hook. + (bookmark-menu-bar-delete, bookmark-menu-bar-rename) + (bookmark-menu-bar-locate, bookmark-menu-bar-jump) + (bookmark-menu-bar-insert): Add autoloads. + + * emerge.el (emerge-revisions, emerge-revisions-with-ancestor) + (emerge-merge-directories): Add autoloads. + +1994-03-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loadup.el: Preload menu-bar. + Prescan the menu bar keymaps for keyboard equivalents. + + * term/x-win.el: Turn on menu-bar-mode. + + * autoload.el (generate-file-autoloads): Don't ignore the line + after the form marked by a ;;;###autoload\n. + + * menu-bar.el: Delete the `>' from various menu item strings. + + * emerge.el (menu-bar-emerge-menu): Autoload the whole setup. + * bookmark.el (menu-bar-bookmark-map): Autoload the whole setup. + * ispell.el (ispell-menu-map): Autoload the whole setup. + (ispell-dictionary-alist): Add autoload. + (ispell-menu-map): Don't redefine if already defined. + Don't test for menu-bar since this is now done before menu-bar. + +1994-03-09 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * outline.el (outline-regexp): Initialize outside the defvar. + + * nroff-mode.el (nroff-mode): Deleted garbage character. + +1994-03-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * text-mode.el (indented-text-mode): Run indented-text-mode-hook. + + * derived.el: Renamed from mode-clone.el. All functions renamed. + (define-derived-mode): Renamed from define-mode-clone. + +1994-03-08 Simon Marshall (simonm@penelope) + + * comint.el (comint-completion-fignore): New variable. + (comint-dynamic-complete-as-filename): Use it. + + * shell.el (shell-completion-fignore): New variable. + (shell-mode): Use it to set comint-completion-fignore. + (shell-dynamic-complete-as-command): Use it. + +1994-03-08 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * mouse.el (mouse-minibuffer-check): New function to disallow + mouse events in an inactive minibuffer. All relevant mouse + functions changed to use it. + + * files.el (find-buffer-visiting): New function to look for + another buffer visiting the same inode. + (find-file-noselect): Use it instead of inline code. + + * apropos.el (super-apropos-check-doc-file): Use doc-directory + instead of data-directory. + (apropos, super-apropos): Doc fix. + +1994-03-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * derived.el: Renamed from mode-clone.el. + All functions renamed. + (define-derived-mode): Renamed from define-mode-clone. + +1994-03-08 Simon Marshall (simonm@penelope) + + * comint.el (comint-completion-fignore): New variable. + (comint-dynamic-complete-as-filename): Use it. + + * shell.el (shell-completion-fignore): New variable. + (shell-mode): Use it to set comint-completion-fignore. + (shell-dynamic-complete-as-command): Use it. + +1994-03-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (etags-list-tags): Check for explicit tag names. + + * etags.el (etags-tags-completion-table): Let the line number or + char pos be empty. + (etags-snarf-tag): Look for line number as well as char pos. Let + either be empty; return both. + (etags-goto-tag-location): Arg also contains line number. + If char pos is nil, use line number. + +1994-03-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-track-mouse): Undo previous change, + but use byte-compile-top-level-body. + +1994-03-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compile-reinitialize-errors): Rename first arg from + ARGP to REPARSE. Test only its nilness. + (compile-goto-error): Pass (consp ARGP) to compile-reinitialize-errors + instead of ARGP itself. + (next-error): Code broken out into two new functions; call them. + (compilation-next-error-locus): New function; bulk of code from + next-error. Silently skip errors whose source loci are markers in + killed buffers. + (compilation-goto-locus): New function, final code from next-error. + +1994-03-07 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * gud.el (gdb): Use a minibuffer map with TAB to complete a filename. + + * simple.el (comment-column): Doc fix. + +1994-03-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-choose-completion): Bury the completion buffer. + + * mouse-sel.el: Doc fixes. + +1994-03-07 Mike Williams (mikew@pooh.dosli.govt.nz) + + * mouse-sel.el (mouse-sel-insert-at-point): New variable. + (mouse-insert-selection): Don't move point if + mouse-sel-insert-at-point is non-nil. + +1994-03-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * backquote.el (backquote-listify): Renamed from bq-listify. + (backquote-process): Renamed from bq-process. + (backquote-list*-function): Renamed from list*-function. + (backquote-list*-macro): Renamed from list*-macro. + (backquote-list*): Renamed from list*. + + * backquote.el: Complete rewrite by Sladkey. + +1994-03-06 Michael D. Ernst (mernst@monozygote) + + * edebug.el (edebug-skip-whitespace): Only \n, not \r, ends a comment. + +1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s-region.el: New file. + + * jka-compr.el (jka-compr-insert-file-contents): Handle 5th arg. + +1994-03-04 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmail.el (rmail-message-filter): Doc fix. + +1994-03-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-track-mouse): Handle >1 body form. + Generate code that binds track-mouse. + + * font-lock.el (c++-font-lock-keywords-1, c++-font-lock-keywords-2): + New variables. + (c++-font-lock-keywords): Use c++-font-lock-keywords-1. + +1994-03-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compile-goto-error): Push the mark before calling + next-error. + +1994-03-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (system-key-alist): Fix the code value for `remove'. + + * ange-ftp.el (ange-ftp-nslookup-host, ange-ftp-start-process): + Bind default-directory to some accessible directory, if necessary. + +1994-03-03 Michael D. Ernst (mernst@research.microsoft.com) + + * bytecomp.el (byte-compile-insert-header): Take a filename argument. + (byte-compile-from-buffer): Change second argument to filename. + Always return outbuffer; never eval from it or kill it. + (byte-compile-file): Pass filename to byte-compile-from-buffer. + +1994-03-03 Karl Heuer (kwzh@churchy.gnu.ai.mit.edu) + + * c-mode.el (c-fill-paragraph): Preserve final sentence boundary. + +1994-03-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-input-filter-functions) + (comint-output-filter-functions): + Renamed from ...-sentinel-functions. + + * shell.el: Rename comint-input-filter-functions and + comint-output-filter-functions. + (shell-mode): Put dir tracker on comint-input-filter-functions, + not ...output... + (shell-directory-tracker, shell-process-popd): + Call just error, not message and error. + +1994-03-03 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * cmuscheme.el (inferior-scheme-mode): Removed unnecessary + initialisation of comint-input-sentinel. + + * shell.el (shell-dynamic-complete-functions): New variable. + (shell-mode): Use it to set comint-dynamic-complete-functions. + + * shell.el (shell-mode-map): Define menu-bars for command, + variable and directory completion/expansion. + + * shell.el (shell-get-current-command, shell-after-partial-filename): + Functions deleted. + + * shell.el (shell-dynamic-complete-environment-variable, + shell-replace-by-expanded-directory): New commands. + (shell-match-partial-variable, + shell-dynamic-complete-as-environment-variable): New functions. + + * comint.el (comint-after-partial-filename-command, + comint-dynamic-complete-filename-command, + comint-dynamic-complete-command-command, + comint-get-current-command): Deleted. + + * comint.el (comint-input-sentinel-functions): + Replaces comint-input-sentinel. + (comint-input-sentinel): Deleted. + (comint-send-input): Run hooks on comint-input-sentinel-functions. + (comint-output-sentinel-functions): + Renamed from comint-output-filter-functions. + + * comint.el (comint-dynamic-complete-functions): New variable. + + * comint.el (comint-mode-map): Removed menu-bar for command and + variable completion. + + * comint.el (comint-exec-1): Add to environment by hand; + avoids using setenv. + + * comint.el (comint-replace-by-expanded-history-before-point): + Renamed from comint-replace-by-expanded-history. + (comint-replace-by-expanded-history): New wrapper definition. + + * comint.el (comint-word): New function. + (comint-match-partial-filename): Use it. + (comint-after-partial-filename, comint-match-partial-variable, + comint-dynamic-complete-variable): Deleted. + + * comint.el (comint-dynamic-complete): + Run hooks on comint-dynamic-complete-functions. + + * comint.el (comint-dynamic-complete-as-filename): Renamed from + function comint-dynamic-complete-filename. + (comint-dynamic-complete-filename): New wrapper definition. + + * comint.el (comint-dynamic-simple-complete): + Return a symbol representing completion. + +1994-03-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): Move misplaced paren in + match clause of cond so copying the rest of the line to the output + is the else clause of if (eolp), not after the if. + +1994-03-03 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * server.el (server-switch-buffer): Don't select a minibuffer. + +1994-03-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (outline-on-heading-p): Use bolp. + (show-children): Use outline-back-to-heading. + (outline-next-preface): Don't retreat over \n or ^M if no more headers. + + * simple.el (current-word): Check properly for bolp. + New optional arg STRICT. Doc fix. + +1994-03-03 Christian Lynbech (lynbech@daimi.aau.dk) + + * appt.el: Better use add-hook than setq when setting + display-time-hook + +1994-03-03 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * files.el (buffer-file-truename): Doc fix. + + * subr.el (substitute-key-definition): Avoid infinite recursion. + +1994-03-02 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * lunar.el (lunar-phase): Use calendar-mod instead of % so that it + works for negative phase numbers. + +1994-03-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (completion-list-mode): Set completion-reference-buffer + to the buffer for which the completions were requested. + (completion-reference-buffer): New variable. + + * mouse.el (mouse-choose-completion): Use that as the buffer to edit. + + * comint.el (full-copy-sparse-keymap): Function deleted. + (comint-arguments): Use just one regexp to find end of arg + and detect whether it has any quotes. + (comint-delim-arg): Don't check for quotes. Use loop, not regexps. + (comint-delimiter-argument-list): List now has chars, not strings. + * shell.el (shell-delimiter-argument-list): Now has chars, not strings. + * telnet.el (telnet): Use chars in comint-delimiter-argument-list. + + * shell.el (shell-mode-map): Use copy-keymap. + (shell-dirtrackp): Variable definition added. + + * inf-lisp.el (inferior-lisp-mode-map): Use copy-keymap. + * cmuscheme.el (inferior-scheme-mode-map): Use copy-keymap. + + * comint.el (comint-mode-map): Rename `input' to `inout' as menu key. + Don't put `output' in menu-bar-final-items. + +1994-03-02 Espen Skoglund (espensk@stud.cs.uit.no) + + * pascal.el (pascal-calculate-indent): Fixed indentation bug + in for-loops, with-structures and else-structures. + (pascal-noindent-re): Add `else'. + +1994-03-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * diff.el (diff-latest-backup-file): Check for a file-name-handler + and run it. + +1994-03-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * makefile.el (makefile-mode): Set local-write-file-hooks, + not write-file-hooks. + +1994-03-02 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * faces.el (copy-face): Don't change old-face and new-face before + the frame loop. + + * term/x-win.el (iconify-or-deiconify-frame): Don't make invisible + before making visible. + +1994-03-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (tags-add-tables): Change default value to 'ask-user; + update doc. + (visit-tags-table-buffer): If tags-add-tables is nil, never add to + current list; if t, always; if non-nil, non-t, ask user. + +1994-03-02 Thomas Neumann (tom@smart.bo.open.de) + + * makefile.el: Version 1.16. + (makefile-mode): Correct `make-variable-buffer-local' to + `make-local-variable'. Set indent-tabs-mode to t. + + * makefile.el (makefile-insert-macro-ref): Do not append a space + to the inserted macro reference. + (makefile-insert-macro-ref): Likewise if the reference is to + one of makefile-runtime-macros-list. + (makefile-format-macro-ref): If the name of the macro ref + starts with a '(' or '{' then the enclosing parentheses are not added. + + * makefile.el (makefile-warn-suspicious-lines): New function. + + * makefile.el: Changed mode name to "Makefile" instead of "makefile". + +1994-03-01 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * term/x-win.el (iconify-or-deiconify-frame): Force temporary + invisibility even if this is the only frame. + +1994-03-01 Ed Reingold (reingold@goldman.gnu.ai.mit.edu) + + * calendar.el: (calendar-current-date): Use fixed assoc list for + month names so that changing the array of names doesn't screw up + the determination of the current date. + +1994-03-01 Ethan Bradford (ethanb@ptolemy.astro.washington.edu) + + * ispell.el (ispell-message-text-end): New variable. + (ispell-message): Use ispell-message-text-end. + Spell check all of a multi-line subject. + Correct bug whereby internally generated messages were not recognized. + +1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-do-fcc): Don't write a newline before the text. + + * pascal.el (pascal-sub-block-re): Recognize for and with. + +1994-03-01 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * info.el (Info-restore-point): Don't wipe out hl before using it. + + * picture.el (picture-forward-column, picture-backward-column): + Allow backward motion across multi-column characters. + +1994-02-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * startup.el (inhibit-startup-echo-area-message): Doc fix. + + * two-column.el (tc-mode-map): Fix binding of tc-dissociate. + +1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) + + * avoid.el: Fix comment typos. + +1994-02-25 Michael D. Ernst (mernst@monozygote) + + * menu-bar.el (menu-bar-mode): Make menu-bar-mode without an + argument toggle display of a menu bar. + +1994-02-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (system-key-alist): Renamed from vendor-key-syms. + +1994-02-25 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * comint.el (comint-exec-1): Force a local copy of the environment. + + * font-lock.el: Clean up c-font-lock-keywords; now slightly more + consistent about highlighting declarations. + +1994-02-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cmacexp.el (c-macro-display-buffer): Delete special view-mode hack. + (c-macro-expansion): Parse from 1 to START just once. + Avoid counting lines. Use ???!!!???!!! to mark start of + the region we want to look at. + +1994-02-24 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * files.el (set-visited-file-name): Unlock the file if setting the + visited file name to nil. + + * buff-menu.el (Buffer-menu-toggle-read-only): Change + toggle-read-only to vc-toggle-read-only. + + * help-macro.el (make-help-screen): Initialize help-screen before + changing the keymap. + * help.el (help-for-help): Use help-map in the docstring. + +1994-02-24 Hans Chalupsky (hans@hydra.cs.buffalo.edu) + + * bytecomp.el (byte-compile-protect-from-advice): New macro that + temporarily deactivates advice of `defun/defmacro' while BODY is run. + (byte-compile-from-buffer, byte-compile-top-level): Use + `byte-compile-protect-from-advice' to protect compilation. + +1994-02-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (c-mode): Set outline-regexp and outline-level. + (c-outline-level): New function. + + * nroff-mode.el (nroff-mode): Set outline-regexp and outline-level. + (nroff-outline-level): New function. + + * lisp-mode.el (lisp-mode-variables): Set outline-regexp. + + * outline.el (outline-minor-mode-prefix): Change to C-c C-o. + (hide-sublevels, hide-other): New functions. + (outline-mode-map): New key bindings. New menu bindings. + + * macros.el (insert-kbd-macro): Handle C-@, C-[, etc. properly + and their meta variants too. + +1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (kill-emacs-query-functions, kill-buffer-query-functions): + Add functions to these lists. + + * files.el (kill-emacs-query-functions): New variable. + (save-buffers-kill-emacs): Use it. + + * info.el (Info-build-node-completions): Add a call to widen. + (Info-goto-emacs-command-node): Fix paren error. Fix typo in message. + (Info-restore-point): Use iteration instead of recursion. + + * debug.el (debug, debug-on-entry): Doc strings. + +1994-02-23 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-file): Return nil on failure. + +1994-02-23 Gregor Schmid (schmid@fb3-s7.math.tu-berlin.de) + + * tcl-mode.el (tcl-mode-menu): Move defvar. + New order for menu entries. + +1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tcl-mode.el (tcl-mode): Handle files that don't start with #. + (tcl-mode-menu): New keymap. + (tcl-setup-keymap): Use tcl-mode-menu. + + * mouse.el (help-menu-map): Variable deleted, and its binding. + (mouse-select-window): New command, now on mode-line mouse-1. + (mouse-delete-other-windows): Now on mode-line mouse-2. + (mouse-split-window-horizontally): Now on mode-line C-mouse-2. + + * subr.el (posn-x-y): New function. + (posn-col-row): Convert coords from pixels to glyph units. + +1994-02-22 Jay K. Adams (jka@mustang.ece.cmu.edu) + + * jka-compr.el: (jka-compr-partial-uncompress): Make dd give you + one more block than you think you need. + + * jka-compr.el (jka-compr-dd-blocksize): Change default value to 256. + +1994-02-22 Hans Chalupsky (hans@hydra.cs.Buffalo.EDU) + + * advice.el: Removed all support for Emacs-18: + Removed autoload for `backquote'. + Removed arglist specifications for `documentation' and `fset'. + (ad-emacs19-p, ad-use-jwz-compiler): Removed these variables. + (ad-lemacs-p, ad-v19-compiled-p, ad-subr-arglist, + ad-make-advised-docstring): Removed reference to `ad-emacs19-p'. + (ad-compiled-p): Renamed from `ad-v19-compiled-p'. Removed old + definition of `ad-compiled-p'. + (ad-compiled-code): Renamed from `ad-v19-compiled-code'. + (ad-arglists, ad-docstring, ad-interactive-form): Use new names. + (ad-body-forms): Always return nil for compiled definitions. + (ad-compile-function): Simplified, because the v19 incarnation of + `byte-compile' can compile macros. + (ad-real-byte-codify): Removed. + (ad-execute-defadvices): Removed. The `defadvice's it contained + are now at the top level. + (ad-advised-byte-code-definition): Renamed to `ad-advised-byte-code' + and removed the definition of `ad-advised-byte-code' via `fset'. + (ad-advised-byte-code-definition, ad-recover-byte-code, + ad-stop-advice, ad-recover-normality): Removed + `ad-real-byte-codify'-cation of their definitions. + (ad-adjust-stack-sizes): Removed. + (ad-enable-definition-hooks, ad-disable-definition-hooks): + Removed v19 conditionalization. + + * advice.el: Fixed the problematic interaction between the + byte-compiler and Advice when `ad-activate-on-definition' was t which + resulted in erroneous compilation of nested `defun/defmacro's: + (byte-compile-from-buffer, byte-compile-top-level): Advised + to temporarily deactivate the advice of `defun/defmacro'. + (ad-advised-definers, ad-advised-byte-compilers): New variables. + (ad-enable-definition-hooks, ad-disable-definition-hooks): + En/disable the advised byte-compiler entry points. + + * advice.el (defadvice): Implement a `freeze' option which expands + the `defadvice' into a redefining and dumpable `defun/defmacro' + whose documentation can be written to the `DOC' file. Frozen + advices cannot be undone, hence, they do not need any Advice + runtime support. + (ad-defadvice-flags): Add `freeze' flag. + (ad-make-advised-docstring, ad-make-single-advice-docstring): + New STYLE option for `plain' and `freeze' styles. Slightly + changed the default formatting of advised docstrings. + (ad-make-plain-docstring, ad-make-freeze-docstring): New functions. + + * advice.el: (ad-recover-all, ad-scan-byte-code-for-fsets): + Removed unused condition variable `ignore-errors'. + + * advice.el (ad-save-real-definition): New macro to save real + definitions of functions used by Advice. + Use `ad-save-real-definition' to save definitions of `fset', + `byte-code' and now also `documentation'. + (ad-subr-arglist, ad-docstring, ad-make-advised-docstring): + Use `ad-real-documentation' to avoid interference with the + advised version of `documentation'. + + * advice.el (ad-execute-defadvices): Copy advice infos. + + * advice.el (ad-start-advice-on-load): Default changed to t. + +1994-02-22 Ed Reingold (reingold@mole.gnu.ai.mit.edu) + + * calendar.el (calendar-cursor-to-date): Fix to handle starred + days correctly. + +1994-02-22 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * rmail.el (rmail-insert-inbox-text): Recognize the spool + directory even if symlinks are present. + +1994-02-21 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * window.el (shrink-window-if-larger-than-buffer): Don't shrink if + the window that would expand is the minibuffer. + +1994-02-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * picture.el (picture-mode-map): Replace delete-backward-char + like backward-delete-char-untabify. + +1994-02-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cal-mayan.el (calendar-string-to-mayan-long-count): Don't + assume that periods must end numbers. Look for digit runs explicitly. + + * subr.el (substitute-key-definition): Don't discard menu strings. + + * lisp.el (lisp-complete-symbol): Doc fix. + + * mouse.el (mouse-delete-max-match): Set len properly. + + * jka-compr.el: New file. + + * double.el: New file. + + * gud.el (gud-mode): Define C-c C-l in gud buffer. + + * soundex.el: New file. + +1994-02-18 Paul Eggert (eggert@twinsun.com) + + * (vc-lookup-triple): Yield nil, not "", if version name is nil. + +1994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-insert-file-contents): New arg REPLACE. + + * lmenu.el: Delete the code to enable menu bars. + + * lisp.el (defun-prompt-regexp): Now a user variable. + + * files.el (revert-buffer): Use new insert-file-contents replace arg. + +1994-02-17 Noah Friedman (friedman@prep.ai.mit.edu) + + * files.el (interpreter-mode-alist): Add entries for awk, gawk, and + scm scripts. + +1994-02-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Tighten up Ultrix + 3.0 f77 regexp to exclude : from file names; avoids lossage when : + appears in error text. + +1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (recover-file): Call auto-save-file-name-p correctly. + + * cplus-md.el (c++-mode): Set parse-sexp-ignore-comments to t. + +1994-02-16 Stephen Gildea (gildea@x.org) + + * time-stamp.el (time-stamp-start): Allow more white space + between keyword and time stamp. + +1994-02-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (face-try-color-list): Don't rely on errors from using + a color that the server can't really support. + +1994-02-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (interpreter-mode-alist): New variable. + (set-auto-mode): Use that for chosing a mode. + +1994-02-14 Karl Heuer (kwzh@geech.gnu.ai.mit.edu) + + * simple.el (current-word): Remove (interactive). + +1994-02-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-mailer-swallows-blank-line): Fix regexp typo. + Check for apparent header line as well as for leading whitespace. + +1994-02-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (undo, yank): Set this-command to t at start, + and set it correctly at the end. + + * startup.el (inhibit-startup-echo-area-message): New variable. + (command-line-1): Undo prev change. + New test for whether to suppress echo area message. + Update copyright year in displayed message. + + * faces.el (face-initialize): Specify default characteristics + for the standard faces. Use face-fill-in to set up existing frames. + (face-fill-in, face-try-color-list): New subroutines. + Handle underline, foreground and background in the + frame-independent info of a face. + (x-create-frame-with-faces): Use face-fill-in. + (x-initialize-frame-faces): Function deleted. + +1994-02-11 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * apropos.el (super-apropos-check-doc-file): Don't attempt to + retrieve function documentation from a symbol with no function + binding. + +1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * perl-mode.el (perl-mode): Set parse-sexp-ignore-comments. + +1994-02-11 Paul Eggert (eggert@twinsun.com) + + * editfns.c (init_editfns): Look at LOGNAME before USER. + * fileio.c (Fsubstitute_in_file_name): Remove long-dead code + that looked at USER before LOGNAME. + + * time.el (display-time-filter): Remove unnecessary (getenv "LOGNAME") + and (getenv "USER"), since (user-login-name) already does this. + * gnuspost.el (gnus-inews-login-name): Likewise. + * gnus.el (gnus-user-login-name): Fix doc string accordingly. + * subr.el (user-original-login-name): Reduce to a defalias, since + it's redundant with user-login-name. All callers changed to use + user-login-name. + +1994-02-11 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * replace.el (perform-replace): Check for empty stack. + + * completion.el: Fix spelling of pre-command-hook. + + * simple.el: Fix syntax used for C-SPC. + +1994-02-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (etags-goto-tag-location): First go directly to + STARTPOS and see if PAT is right there. + +1994-02-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * shell.el (shell-get-current-command): Make regexp more selective. + +1994-02-10 David Megginson (dmeggins@aix1) + + * mode-clone.el (clone-init-mode-variables): Don't defvar + variables if already bound. Put on clone-unmerged props if + they were not bound. + (clone-make-docstring): Install the map unconditionally; + set clone-unmerged property to nil. No clone-merged property. + (clone-set-syntax-table): Set clone-unmerged prop, not clone-merged. + (clone-set-abbrev-table): Call clone-merge-abbrev-tables. + Don't touch properties here. + (clone-merge-keymaps): Splice out the `keymap' of the OLD map. + (clone-merge-abbrev-tables): New function. + +1994-02-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-start-end): For double click with START on openparen, + start forward scan from START. + +1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (lisp-font-lock-keywords-2): Quote the * in let*. + +1994-02-09 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * outline.el (outline-mode): Fix spelling of add-hook. + + * vc.el (vc-comment-to-change-log): Load add-log before binding + add-log-current-defun-function. + + * mouse.el (mouse-start-end): Check START rather than point for + being at eob. + +1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (server-program): Use expand-file-name. + + * time.el (display-time): Use expand-file-name to make + file name of wakeup. + + * novice.el (disabled-command-hook): Use eq to compare elts + of this-command-keys. Choose the appropriate kind of Meta. + +1994-02-08 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-expunge-and-save): Mark summary buffer as + unmodified. + * rmailsum.el (rmail-summary-expunge-and-save): Likewise. + + * rmailout.el: Add (require 'rmail) so the macro will be + byte-compiled properly. + +1994-02-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (show-children): Don't narrow to (1+ (point-max)) when + exposing the last level-n header in the buffer. + +1994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): Don't frob literal + formfeeds into \f; just bind print-escape-newlines to t around + printing (now has same effect). + +1994-02-08 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-variables): Make local variables permanent, so + the user can safely change major modes during an edit. + * rmailedit.el (rmail-edit-current-message): Likewise. + +1994-02-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * version.el (emacs-minor-version, emacs-major-version): + New variables. + + * faces.el (copy-face): Doc fix. + + * finder.el (finder-mode): Doc fix. + + * sendmail.el (mail-signature): Insert a `-- ' line. + +1994-02-08 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * subr.el (make-syntax-table): Behave like copy-syntax-table if an + argument is given, for backward compatibility. + +1994-02-07 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * autoload.el (batch-update-autoloads): Add missing close paren. + + * ange-ftp.el (ange-ftp-load): Honor the NOERROR and NOSUFFIX + flags. + +1994-02-07 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * sendmail.el (mail-signature): Doc mod. + + * lisp.el (insert-parentheses): Doc mod. + +1994-02-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (autoload-trim-file-name): New function. + (generate-file-autoloads): Bind print-readably to t for Lucid. + Use autoload-trim-file-name on FILE when inserting the name. Scan + written text and fix up ^L to \f and ( at bol in doc string to \(. + (update-file-autoloads): When we find a later file's section, set + FOUND to 'new. If FOUND is 'new after loop, check file for autoload + cookies and don't call generate-file-autoloads if none. + (update-directory-autoloads): Get absolute file names from + directory-files. + (batch-update-autoloads): Rewrite from jwz to process later files in a + directory after one file errs. + +1994-02-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * desktop.el (desktop-bug-report): Command deleted. + +1994-02-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * rcompile.el (remote-compile): Set comint-file-name-prefix in the + compilation buffer. + +1994-02-07 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * simple.el (push-mark): Fix Roland's misplaced paren around + call to marker-buffer. + +1994-02-07 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-mode-line-format): Change "current" to "today". + (calendar-cursor-to-date): Add optional parameter to cause error + signal when cursor is not on a date---this allows lots of + simplifications throughout the code. + (calendar-forward-month,calendar-set-mark, + calendar-exchange-point-and-mark,calendar-count-days-region, + calendar-print-day-of-year,calendar-print-iso-date, + calendar-print-julian-date,calendar-print-islamic-date, + calendar-print-hebrew-date,calendar-print-astro-day-number): + Use simplification. + + * holidays.el (calendar-cursor-holidays): Use new error arg + to calendar-cursor-to-date. + + * diary.el (view-diary-entries,diary-islamic-date): Use new error arg + to calendar-cursor-to-date. + + * diary-ins.el (insert-diary-entry,insert-weekly-diary-entry, + insert-monthly-diary-entry,insert-yearly-diary-entry, + insert-anniversary-diary-entry,insert-block-diary-entry, + insert-cyclic-diary-entry,insert-hebrew-diary-entry, + insert-monthly-hebrew-diary-entry,insert-yearly-hebrew-diary-entry, + insert-islamic-diary-entry,insert-monthly-islamic-diary-entry, + insert-yearly-islamic-diary-entry): Use new error arg + to calendar-cursor-to-date. + + * solar.el (calendar-sunrise-sunset): Use new error arg + to calendar-cursor-to-date. + + * cal-french.el (calendar-print-french-date,diary-french-date): + Use new error arg to calendar-cursor-to-date. + + * cal-mayan.el (calendar-print-mayan-date): Use new error arg + to calendar-cursor-to-date. + + * solar.el (sunrise-sunset): Allow it to be called without an + argument (as advertized). + +1994-02-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso-transl.el: Set up Alt keys as well as C-x 8 prefix. + No need to create the prefix submaps explicitly. + (iso-transl-char-map): New variable. + Change the sequences aa and ae to just a and e. + + * iso-insert.el: Change the sequences aa and ae to just a and e. + + * gomoku.el (gomoku-init-display, gomoku-put-char): + Bind inhibit-read-only; don't set buffer-read-only. + + * tar-mode.el (tar-pad-to-blocksize): + Bind inhibit-read-only, not buffer-read-only. + + * makefile.el (makefile-browser-fill, makefile-browser-toggle): + Bind inhibit-read-only; don't set buffer-read-only. + + * hideif.el (show-ifdefs, hide-ifdefs): Bind inhibit-read-only. + Set buffer-read-only directly. + (hide-ifdef-block): Likewise. + (show-ifdef-block): Bind inhibit-read-only; don't set buffer-read-only. + + * hexl.el (hexl-mode): Bind inhibit-read-only; + don't alter buffer-read-only. + (hexl-mode-exit): Likewise. + + * cmacexp.el (c-macro-expand): Check inhibit-read-only. + +1994-02-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (update-file-autoloads): Never ask the user where to + put a new section. While searching the file, look for an + alphabetically later file's section, and insert the new section + before it. + +1994-02-06 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * simple.el (push-mark): Don't push on global-mark-ring if its car + is a marker in the current buffer. + + * simple.el (global-mark-ring, global-mark-ring-max): New variables. + (push-mark): Also push a marker on the global-mark-ring. + (pop-global-mark): New function; on C-x C-@, C-x C-SPC. + +1994-02-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rcompile.el: New file. + + * c-mode.el (indent-c-exp): If line starts with }, ignore what + the previous line ends with. + + * cc-mode.el: Renamed from cplus-md1.el. + + * simple.el (kill-region): Test inhibit-read-only. + + * files.el (auto-mode-alist): Add elt for .tcl files. + Move texinfo elts up. + + * tcl-mode.el: Doc fixes. + (tcl-mode): Add autoload. + (tcl-prefix-key): Changed to C-c. + + * tcl-mode.el: New file. + +1994-02-06 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * dired.el (dired-listing-switches): Doc fix. + +1994-02-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-yank-secondary): Do move point. + (mouse-yank-at-point): New var. + (mouse-yank-at-click, mouse-yank-secondary) Obey that. + + * menu-bar.el: Use > as convention for another menu follows. + (menu-bar-edit-menu): Add entry for Emerge. + * emerge.el (menu-bar-emerge-menu): New map. + + * emerge.el: Add defvars for many vars already being used. + (emerge-options-menu, emerge-merge-menu, emerge-move-menu): New vars. + (emerge-setup-fixed-keymaps): Set up emerge-move-menu, + emerge-merge-menu and emerge-options-menu. Put them into + emerge-fast-keymap. + (emerge-set-keys): Put them into the emerge-edit-keymap. + (emerge-minor-modes-list): Add defvar. + (emerge-before-flag, emerge-after-flag): Move defvars up. + (emerge-files-remote, emerge-files-with-ancestor-remote): + (emerge-remote-exit): Var exit-func renamed to emerge-exit-func. + +1994-02-05 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * rlogin.el (rlogin-delchar-or-send-Ctrl-D): Call + rlogin-send-Ctrl-D. Doc fix. + + * rlogin.el: Removed many extra autoload cookies. + (rlogin-send-Ctrl-D): New function, on C-c C-d. + +1994-02-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * profile.el: Comment changes and doc fixes. + The C program in the comments was moved into ../lib-src/profile.c. + +1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rect.el (string-rectangle): Make operate-on-rectangle convert tabs. + (string-rectangle-line): After inserting string, insert the same + width of whitespace that we deleted earlier. + (operate-on-rectangle): Operate even if width is 0. + (open-rectangle-line): Clean up. + + * outline.el (outline-end-of-subtree): If loop leaves us at eob, + don't move back from there. + + * vc-hooks.el (vc-make-backup-files): Doc fix. + + * rmail.el (rmail-reply): If no resent-date, use ordinary date. + If no resent-to, use empty string for to. + + * hideif.el: Delete bindings for C-c C-f, C-c C-b, C-c C-u, C-c C-d, + C-c C-p and C-c C-n. Move C-c C-h to C-c C-d. + (define-hide-ifdef-mode-map): Remove this code + from a function and execute it at load time. + (hide-ifdef-mode-submap): New variable holds the list of commands. + (hide-ifdef-mode-map): Set this up with a prefix key + and put it in minor-mode-map-alist. + (hide-ifdef-mode-map-before): Variable deleted. + (hide-ifdef-mode): Use force-mode-line-update. + Delete the code to manipulate keymaps. + + * outline.el (outline-mode-map): Move C-c C-h to C-c C-d. + + * terminal.el (te-escape-help, te-more-break-help, terminal-emulator): + Pass just one KEYMAP arg to where-is-internal. + + * calendar.el (calendar-mode-map): + Pass (keymap) as KEYMAP arg to where-is-internal. + * edmacro.el (edit-kbd-macro, edmacro-finish-edit, insert-kbd-macro): + Pass (keymap) as KEYMAP arg to where-is-internal. + * hideif.el (define-hide-ifdef-mode-map): + Pass (keymap) as KEYMAP arg to where-is-internal. + * macros.el (insert-kbd-macro): + Pass (keymap) as KEYMAP arg to where-is-internal. + +1994-02-04 Morten Welinder (terra@tyr.diku.dk) + + * desktop.el (desktop-internal-v2s): Allow saving of markers and subrs. + (desktop-delay-hook): New variable. + (desktop-read): Run desktop-delay-hook. + (desktop-globals-to-save): Save register-alist. + Always make desktop-locals-to-save local. + (desktop-value-to-string): Make sure floating point numbers are + output with maximum accuracy. + (desktop-bug-report): New function. + + * desktop.el (desktop-internal-v2s): New function. + (desktop-value-to-string): Use above function. + + * desktop.el (desktop-buffers-not-to-save): Add regexp for "nn" + temporary files. + (desktop-save, ): Remove support for Emacs 18, because + it's not worth the effort and didn't work anymore, anyway. + (desktop-save): Needn't bind `print-escape-newlines' anymore. + +1994-02-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (do-auto-fill): Don't break line at period-single-space. + + * fill.el (sentence-end-double-space): New variable. + (fill-region-as-paragraph): Handle it. + + * rmailout.el (rmail-output): Handle rmail-output-file-alist. + + * simple.el (comment-region): Fix previous change. + + * mode-clone.el: New file. + (define-mode-clone): Renamed from mode-clone. + Swap args PARENT and CHILD. + Don't use clone-run-setup-function. + (clone-run-setup-function): Function deleted. + +1994-02-03 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * simple.el (backward-word): Rms changed `interactive' to be + `INTERACTIVE' on Feb 1. I changed it back. + +1994-02-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cplus-md1.el: Fix terminology used to name various Emacs versions. + + * server.el (server-done): If we kill the old buffer, + and server-buffer-done gives us nil, return the new current buffer. + +1994-02-03 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * c-mode.el (c-fill-paragraph): Delete extraneous close paren. + +1994-02-02 Barry A. Warsaw, ITB (warsaw@anthem) + + * cplus-md1.el (c-lineup-arglist): Add kludge for + arglist-cont-nonempty to get correct indentation. + (c-guess-basic-semantics): CASE 5D: arglist-cont-nonempty's relpos + needs to be boi of containing-sexp paren. This is good for + offset, + but bad for c-lineup-arglist, so add the kludge described above. + +1994-02-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (server-buffer-done): If buffer is dead, don't bury it. + + * font-lock.el (dired-font-lock-keywords): New variable. + (font-lock-set-defaults): Handle dired.el. + + * server.el (server-program): Add exec-directory to value. + +1994-02-02 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * sort.el (sort-paragraphs): Use proper paragraph definition + instead of just checking for whitespace. + + * advice.el (ad-execute-defadvices): Don't allocate advice-infos + in pure space, in case we want to preload this file. + +1994-02-02 Mike Williams (mikew@pooh.dosli.govt.nz) + + * mouse-sel.el (mouse-sel-version): Don't base version number on + RCS revision. Updated to version 2.0. + (mouse-sel-set-selection-function, mouse-sel-get-selection-function, + mouse-sel-check-selection-function): + Check whether X11 functions are bound when setting defaults. + (mouse-extend): Check whether modify-frame-parameters is bound before + calling it. Add support to kill region with double-mouse-3. + + * thingatpt.el (thing@pt-version): Removed variable. + +1994-02-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * avoid.el: Doc fix. + + * font-lock.el (shell-font-lock-keywords): Doc fix. + +1994-02-02 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * vc-hooks.el (vc-mode-line): Use force-mode-line-update instead + of the Emacs 18 kluge. + +1994-02-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * novice.el (disable-command): Reject invalid commands. + +1994-02-02 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * help-macro.el (make-help-screen): Remove debugging code. + +1994-02-01 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * files.el (file-relative-name): Allow for ancestors as well + as descendants. + +1994-02-02 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * vc.el (vc-parse-buffer): arrange for old properties to get + cleared when their match string is not found in the master file. + +1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (font-lock-set-defaults): Handle shell mode. + (shell-font-lock-keywords): New variable. + + * simple.el (comment-region): Handle comment-end deletion for C-u. + Don't let short lines confuse the comment-end deletion. + + * pascal.el: Many doc fixes. + (pascal-get-beg-of-line, pascal-get-end-of-line): + Use defsubst. Renamed from get-... + (pascal-within-string): Use defsubst. + (delete-whitespaces): Function deleted; + callers use delete-horizontal-space instead. + (pascal-string-diff): Renamed from string-diff. + + * files.el (auto-mode-alist): Add .p and .pas for pascal-mode. + + * simple.el (comment-region): Just C-u prefix means uncomment lines. + + * files.el (revert-buffer): Doc fix. + +1994-02-01 Espen Skoglund (espensk@stud.cs.uit.no) + + * pascal.el: Complete rewrite. Added an outline- + minor-mode and completion. + +1994-02-01 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * files.el (revert-buffer): Reposition after-revert-hook, and add + before-revert-hook. + * font-lock.el (font-lock-mode): Use the new hooks to get proper + behavior on a revert. + +1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tabify.el (tabify): Don't delete back before initial START. + + * appt.el: (appt-display-interval, appt-display-duration) + (appt-message-warning-time): Use larger defaults. + +1994-01-31 (saw@cebaf.gov) + + * fortran.el (calculate-fortran-indent): Handle + Fortran 90 INTERFACE and SELECT/CASE blocks. + +1994-01-31 Boris Goldowsky (boris@moose.cs.rochester.edu) + + * avoid.el: (mouse-avoidance-nudge-mouse): Use (frame-width) and + (frame-height) instead of erroneous (window-width) and (window-height). + (mouse-avoidance-simple-hook): Raise frame first. + (mouse-avoidance-fancy-hook): If moving mouse would enter + another frame, stay put. + * avoid.el: Doc fixes. + +1994-01-31 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): Don't change + VISIT-TAGS-TABLE-BUFFER-CONT when it is 'same. Do list + verification frobbing for it being either 'same or nil; but only + set tags-table-list-started-at and tags-table-list-pointer when + it's nil. + +1994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (show-children): Don't call outline-level at eob. + + * tabify.el (tabify): Don't delete back before initial START. + + * appt.el (appt-display-interval, appt-display-duration) + (appt-message-warning-time): Use larger defaults. + +1994-01-31 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * rmailsum.el (rmail-summary-mail, rmail-summary-continue, + rmail-summary-reply, rmail-summary-retry-failure): Fix rmail + summary commands to work with rmail-mail-new-frame. + +1994-01-30 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-print-hebrew-date): Change to use + calendar-hebrew-date-string. + +1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (minor-mode-alist): Don't add "Outl" if already added. + + * rmail.el (rmail-make-in-reply-to-field): Discard text properties from + the address before printing it. + +1994-01-28 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * cal-mayan.el (calendar-mayan-date-string): New function. + (calendar-print-mayan-date, diary-mayan-date): Use it. + + * cal-french.el (calendar-french-date-string): New function. + (calendar-print-french-date, diary-french-date): Use it. + + * cal-menu.el: New file with all menu support functions. + + * calendar.el (calendar-version): New function. + Adjustments to commentary at top of file. + (diary-entry-marker, calendar-today-marker, + calendar-holiday-marker): Don't autoload them; change definitions + to support monochrome and color workstations. + (calendar-french-date-string,calendar-mayan-date-string): Autoload + them. + (calendar-day-of-year-string, calendar-iso-date-string, + calendar-julian-date-string,calendar-islamic-date-string, + calendar-hebrew-date-string,calendar-astro-date-string): New functions + (calendar-print-day-of-year, calendar-print-iso-date, + calendar-print-iso-date,calendar-print-julian-date, + calendar-print-islamic-date,calendar-print-hebrew-date, + calendar-print-astro-day-number): Use them. + (calendar-mode-map): Add mouse support. + (calendar-unmark,mark-visible-calendar-date,calendar-mark-today): + Rewritten. + + * diary.el (diary-day-of-year, diary-iso-date, diary-islamic-date, + diary-hebrew-date, diary-julian-date, diary-astro-day-number): + Use new functions from calendar.el. + + * holidays.el (list-calendar-holidays): Fix mode line. + + * lunar.el (calendar-phases-of-moon): Fix mode line. + + * solar.el (calendar-sunrise-sunset): Add date to message. + +1994-01-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help.el (help-for-help): Doc fix. + + * help-macro.el (three-step-help): New option. + (make-help-screen): Implement that option. + Handle delete function key like DEL. + Don't include the option list in the prompt when displaying + a full window of options. + + * rmailsum.el (rmail-summary-undelete): + If we don't undelete anything, don't move point. + +1994-01-26 Rick Sladkey (jrs@world.std.com) + + * simple.el (next-line): Move error signaling and special end of + line behavior into line-move so that next-line is symmetric with + previous-line when next-line-add-newlines is nil. + (line-move): Move as far as possible and ding with a message + if the requested motion cannot be accomplished. When + selective-display is numeric, ensure point actually moves and does + so to a visible line. + +1994-01-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (c-fill-paragraph): Handle C++ mode. + +1994-01-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * appt.el (appt-check): Doc fix. + + * sendmail.el (mail-mailer-swallows-blank-line): New variable. + (sendmail-send-it): Add extra newline if appropriate. + +1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paragraphs.el (forward-paragraph): Doc fix. + +1994-01-21 Michael Kifer (kifer@cs.sunysb.edu) + + * appt.el (appt-check): Use the new variables + appt-disp-window-function and appt-delete-window-function. + (appt-disp-window-function): New variable. + (appt-delete-window-function): New variable. + (appt-delete-window): New function. + (appt-disp-window): Don't delete the appt window here; + instead, call appt-delete-window-function. + Fixed bug that messed up the screen when appt-check ran + when mouse is in the minibuffer. + Call select-frame only if window-system. + +1994-01-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch.el (isearch-highlight): Do nothing if not window-system. + + * flow-ctrl.el (enable-flow-control-on): Do nothing if no TERM. + + * help-macro.el (make-help-screen): Use overriding-local-map. + Recognize C-v and M-v properly. + Compute help-screen after changing the map. + +1994-01-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch.el (isearch-push-state): Save isearch-case-fold-search. + (isearch-top-state): Restore it. + + * simple.el (shell-command-on-region): If we quit the command, + display the output buffer anyway. + + * compile.el (compilation-error-regexp-alist): Handle DEC AXP OSF/1. + +1993-01-19 Stephen Gildea (gildea@x.org) + + * time-stamp.el: Better, more user-oriented doc strings. + (time-stamp-mail-host): Now a user option. + (time-stamp-current-year, time-stamp-hh:mm): Removed. + (time-stamp-mm/dd/yy, time-stamp-dd/mm/yy): Removed. + (time-stamp-yyyy-mm-dd): New function, ISO 8601 format. + +1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (font-lock-mode): Set after-revert-hook + to refontify after revert. + + * files.el (revert-buffer): Run after-revert-hook. + +1994-01-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paren.el (show-paren-command-hook): Do nothing when in kbd macro. + +1994-01-17 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + The most important new feature added to GNU Emacs in recent history. + * yow.el (yow-file): Doc fix. + (yow): With non-nil arg (prefix arg), insert the chosen pinhead + wisdom at point. Use (interactive-p) instead of arg to decide if + interactive. + (insert-zippyism): Yow! Am I INSERTED yet? + +1994-01-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch.el (isearch-mode): Set overriding-local-map locally. + Don't set isearch-old-local-map and don't call use-local-map. + (isearch-done): Set overriding-local-map to nil. + Don't call use-local-map. + (isearch-old-local-map): Variable deleted. + + * menu-bar.el (menu-bar-file-menu): Add rmail, gnus, calendar items. + + * rmail.el (rmail-get-new-mail): Avoid error if file is empty. + + * paragraphs.el (forward-paragraph): If moving back we find nothing + but separator lines till buffer beg, just stay there. + Exit outer loop if at beg or end of buffer. + +1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Add regexp for + Lucid lcc. Element lists can now contain a 4th elt giving subexpr + for the column. + (next-error): Handle error records with column numbers. + (compilation-parse-errors): Parse column numbers when the alist elt + specifies it. Use string-to-int instead of read for numbers from + buffer text. + +1994-01-15 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * upd-copyr.el (update-copyright): Wrap final copyright-matching + regexp in parens, so \1 gets all the year tokens, not just the + last. (The old regexp won with the pre-POSIX defn of + subexpressions with +.) + +1994-01-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch.el: SPC is not special in regexp within brackets. + (isearch-within-brackets): New variable. + (isearch-mode): Set that. + (isearch-edit-string): Bind that. + (isearch-search-and-update): Set that. + (isearch-top-state): Set that. + (isearch-push-state): Use that. + (isearch-search): Set that. + + * files.el (set-auto-mode): Handle (REGEXP FUNCTION t) elements. + + * dired-x.el: New file. + +1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-default-file): Renamed from rmail-last-file. + (rmail-default-rmail-file): Renamed from rmail-last-... + * rmailout.el: Use new names. + + * perl-mode.el: Change defconsts to defvars. Doc fixes. + + * rmail.el (rmail-bury): Rename local rmail-buffer to buffer-to-bury. + (rmail-set-message-counters): Avoid errors moving backwd if new file. + + * debug.el (debug): Bind unread-command-char to -1, not nil. + + * files.el (abbreviate-file-name): Don't convert / to ~/ + when the home dir is /. + + * term/lk201.el (function-key-map): Rename kp-period to kp-decimal. + Add f1 thru f5. + Change insertchar and deletechar to insert and delete. + +1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-show-output): Leave point at start of output, + but push the mark. + +1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * man.el (Man-default-man-args): Use Man-specified-section-option. + (Man-default-man-entry): Likewise. + + * loaddefs.el (global-map): Add binding for C-M-delete. + + * simple.el (open-line): Treat all cases of enabled undo alike. + + * bytecomp.el (byte-compile-condition-case): Disable warning about + symbol not naming a condition. Allow a list of condition names. + + * hideif.el (hif-tokenize): Handle // comments after #if. + +1994-01-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch.el (isearch-mode): If not slow, + clear isearch-window-configuration. + + * telnet.el (telnet): Fix previous change--tentative idea + wasn't fully removed. + +1994-01-10 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * info.el (Info-follow-reference): If point is not in middle of a + cross-reference but located somewhere on current line, make + cross-reference the `default'. If only one cross-reference + located in node, make it `default'. + +1994-01-10 Michael D. Ernst (mernst@monozygote) + + * mailabbrev.el (mail-abbrev-mode-regexp): Add Reply-to. + +1994-01-09 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * term/x-win.el (vendor-key-syms): Fixed typo (extra parens). + + * debug.el (debug): Fixed typo (extra paren). + +1994-01-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * debug.el (debug): Bind a bunch of vars, like last-command, to + neutral values. Save the outer values in debugger-last-command, etc. + Put those saved values back into effect when returning. + (debugger-eval-expression): Put the saved values into effect + while evaluating, and store modified values back into + debugger-outer-... after evaluating. + + * diff.el (diff-latest-backup-file): Call file-chase-links. + (diff): Select the differences buffer. + + * c-mode.el (c-indent-region): Keep looping till reach endmark. + Treat #-lines specially. + + * shell.el (shell-input-autoexpand): New variable. + (shell-mode): Set comint-input-autoexpand. + (shell-mode): Don't call shell-dirstack-message. + + * comint.el (comint-input-autoexpand): Make default nil. + + * term/x-win.el (vendor-key-syms): Add more HP keysyms and some Sun. + +1994-01-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (vendor-key-syms): Set this variable. + + * rmailsum.el (rmail-summary-delete-forward): Fix regexp + used for recognizing deleted message. + (rmail-summary-output, rmail-summary-output-to-rmail-file): + Use rmail-summary-delete-forward. + + * loadup.el: If there are no subversions yet, use 1. + + * gud.el (gud-common-init): Don't crash if no file specified. + + * rmailsum.el (rmail-summary-by-senders): + Add missing arg to rmail-new-summary. + (rmail-summary-output, rmail-summary-output-to-rmail-file): + Handle rmail-delete-after-output explicitly here. + + * flow-ctrl.el (enable-flow-control): Use prefix argument + like minor modes. + (enable-flow-control-memstr=): Function deleted. + (enable-flow-control-on): Use member instead. + (flow-control-c-q-replacement, flow-control-c-s-replacement): New vars. + + * loadup.el: Load version.el before site-load.el. + +1994-01-08 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * gnus.el (gnus-group-list-all-groups): Display a message in the + echo area. + +1994-01-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loadup.el: Extend emacs-version based on which executable + files exist. + * version.el (emacs-version): Discard the third version component. + * inc-vers.el, grow-vers.el: Files deleted. + + * dired.el (dired-move-to-filename-regexp): New variable. + (dired-move-to-filename): Use that. + + * info.el (Info-directory-list): Change last elt to ../info (expanded). + + * startup.el (command-line-1): Improve echo area message wording. + Don't print it if C-h C-p has been redefined. + + * ange-ftp.el (ange-ftp-hash-mark-msgs): Undo previous change. + + * lmenu.el (make-lucid-menu-keymap): + Allow multiple identical inactive strings. + +1994-01-06 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * comint.el (comint-show-output): Use (point-max) rather than + erring when the comint-last-input-end marker points nowhere. + + * compile.el (compilation-parse-errors): Prepend + comint-file-name-prefix (if boundp) to absolute file names culled + from error msgs. + (compile-abbreviate-directory): Prepend comint-file-name-prefix (if + boundp) to DIR before other processing. + + * shell.el (shell-cd): Function removed. + (shell-prefixed-directory-name): New defsubst. + (shell-process-popd, shell-process-pushd, shell-process-cd, + shell-resync-dirs): Apply it to ARG when it's a directory name. Use + (concat comint-file-name-prefix "~") in place of (getenv "HOME") or + "~". Call cd instead of shell-cd. + + * menu-bar.el (mouse-menu-choose-yank): Don't use + rotate-yank-pointer; set kill-ring-yank-pointer explicitly + instead. + + * compile.el (compilation-buffer-p): Move defsubst before all + callers. + (compilation-forget-errors): Reset compilation-parsing-end to 1 here. + (compile-reinitialize-errors): Don't reset compilation-parsing-end + after calling compilation-forget-errors. Comment out gratuitous + switch-to-buffer call; what was the rationale for it? Don't check + compilation-parsing-end (removed local AT-START); instead always + append to compilation-old-error-list, it will be nil if at start. + If compilation-error-list is non-nil before calling the parser, + restore its previous value afterwards; it still indicates the + current error position. Subtract the length of the existing + compilation-error-list from FIND-AT-LEAST when calling the parser. + (compilation-parse-errors): Don't check LIMIT-SEARCH at end of loop. + Inside check it inside each case of the cond; in error case we + must discard the last new error before stopping (just as for + FIND-AT-LEAST). Use floating-point in buffer percentage + calculation, to avoid integer overflow. + +1994-01-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-resend): Use send-mail-function. + + * files.el (auto-mode-alist): Treat changelo like ChangeLog. + * add-log.el (change-log-name): On MSDOS, use changelo. + + * rmail.el (rmail-convert-to-babyl-format): + Fix one-off error in handling content-length field. + + * makefile.el (makefile-mode): Make comment-start, comment-end, + and comment-start-skip buffer-local. + +1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lmenu.el (make-lucid-menu-keymap): For "----", make blank line. + + * add-log.el (change-log-name) [MSDOS]: Use change.log, not changelo. + + * subr.el (eval-after-load): Do nothing if FORM is already on the list. + +1993-01-05 Morten Welinder (terra@diku.dk) + + * hexl.el (dehexlify-buffer): If msdos, bind binary-process. + (hexl-find-file): Load as binary. + + * ls-lisp.el (ls-lisp-format): Bad format for uid and gid fixed. + + * compile.el (compile-internal): Extended to work without + asynchronous subprocesses available. + + * subr.el (start-process-shell-command): Doc fix. + + * find-dired.el (start-process-shell-command): Doc fix. + + * add-log.el (change-log-name): Let default name for ms-dos be + "change.log". + + * files.el (auto-mode-alist): Default mode for "changelo" set to + change-log-mode to support ms-dos 8+3 file names. AAAARRGGG! Also + use emacs-lisp-mode for "_emacs" file which is the equivalent of + ".emacs" + + * bytecomp.el (byte-compile-file) [ms-dos]: Save as binary. + + * dos-fns.el, term/internal.el: New files for MSDOS. + + * files.el (make-backup-file-name, backup-file-name-p) [ms-dos]: + Use "*.bak" as backup file name. + (user-init-file): new variable. + + * inc-vers.el [ms-dos]: Save version.el as *binary*. + + * loadup.el [ms-dos]: Preload mouse.el, dos-fns.el, + disp-table.el, and ls-lisp. Dump only one version. Use simpler + name for doc file. + + * loaddefs.el (completion-ignored-extensions) [ms-dos]: More suitable + set for MSDOS. + + * startup.el (command-line): Set user-init-file. + + * novice.el (enable-command, disable-command): Use user-init-file. + + * desktop.el: (desktop-buffer-mh): New function for mh mail system. + (desktop-buffer-handlers): Add desktop-buffer-mh. + (desktop-buffer): Correct setting of auto-fill-mode. + Make the compilation silent using (eval-when-compile ...) + (old-kill-emacs): New explicit variable (for Emacs 18 comp.) + (desktop-globals-to-save): Add the history rings for interactive + searches. + (postv18): Remove. + (desktop-create-buffer-form): New variable. + (desktop-save): Use desktop-create-buffer-form. + (desktop-value-to-string): New function. + (desktop-outvar): Clean-up using desktop-value-to-string. + (desktop-save): clean-up Using desktop-value-to-string. + (desktop-save): Decide Emacs version at compile time. + (desktop-locals-to-save): New variable. + (desktop-truncate): New function. + +1994-01-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lmenu.el (popup-menu): Add loop to handle submenus. + +1994-01-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * debug.el (debug): Bind this-command and last-command. + +1994-01-03 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-finish-logentry): Sync the buffer in case the user + modified it while editing the comment. + +1994-01-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * time.el (display-time-file-nonempty-p): Check existence here. + (display-time-server-down-time): New variable. + (display-time-filter): If accessing mail-spool-time takes too long, + don't try again for twenty minutes. + + * tex-mode.el (slitex-mode, latex-mode): Set paragraph-start and + paragraph-separate to a specific list of control sequences. + (tex-common-initialization): Make parse-sexp-ignore-comments t. + + * lpr.el (lpr-headers-switches): Set proper value on hpux and usg. + + * comint.el (comint-last-output-start): Add defvar. + + * subr.el (make-syntax-table): New function; no longer an alias + for copy-syntax-table. + + * rmail.el (rmail-get-new-mail): Cope if display-time-string is nil. + +1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sort.el (sort-float-fields): Commented out. + + * c-mode.el (c-mode-map): Add menu bar menu. + + * isearch.el (isearch-repeat): If we matched a null string and there's + no place to advance to, fail instead. + +1994-01-02 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * cal-french.el (calendar-goto-french-date): Fix special day + choice in non-leap years by re-reversing the list. Fix out of + place parenthesis in prompt. + +1994-01-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * compile.el (compilation-read-command, compilation-ask-about-save): + New variables. + (compile): Obey them. + + * paths.el (Info-default-directory-list): Doc fix. + + jrs. + * ispell.el (ispell-highlight, ispell-dehighlight): New functions. + (ispell-command-loop, ispell-next): Call them. + (ispell-highlight, ispell-overlay): New variables. + + * simple.el (next-line): Don't signal error here. + (line-move): Do it here instead. + + * comint.el (comint-dynamic-list-completions): Use read-key-sequence. + Special handling for mouse-choose-completion. + + * files.el (save-some-buffers): Fix previous change. + + * gnuspost.el (gnus-news-reply): Handle reply-to field. + + * paths.el (manual-program): Deleted. + +1993-01-01 Martin Boyer + + * bibtex.el (bibtex-field-name, bibtex-field-const, bibtex-field-text): + Adapted to Emacs 19 regex rules. + (bibtex-reference): Removed one set of parentheses (a workaround). + +1993-01-01 Michael D. Ernst (mernst@research.microsoft.com) + + * rmailout.el (rmail-output-to-rmail-file): If just a dir is specified, + use default name in specified dir. + +1993-12-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + jrs. + * replace.el (query-replace-highlight): New variable. + (replace-overlay): New variable. + (replace-highlight, replace-dehighlight): New functions. + (perform-replace): Use them. + + * lpr.el (print-region-1): If lpr-headers-switches is string, + turn it into a list before appending. + + * files.el (save-some-buffers): Reinsert lost code to save abbrevs. + + jrs. + * edebug.el (eval-current-buffer): Old definition deleted. + (eval-buffer): Use current buffer by default. + + * diff.el (diff): Call shell-quote-argument. + + * subr.el (shell-quote-argument): New function. + + * ispell.el (ispell-next): Remove periods from messages. + (ispell-complete-word): Improve error messages. + + * simple.el (open-line): Properly put fill-prefix on each line. + +1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help.el (help-for-help): Mention the scroll commands. + + * help-macro.el (make-help-screen): Use read-key-sequence. + Temporarily switch keymaps. + + * startup.el (command-line): In most cases, if init file sets + debug-on-error, leave it set that way. + + * files.el (hack-one-local-variable): Treat file-name-handler-alist + and after-load-alist like eval. + + * simple.el (transient-mark-mode): Doc fix. + + * rmailsum.el (rmail-summary-delete-forward): Move to next or prev msg + among those included in the summary. + +1993-12-29 Ken Manheimer (klm@nist.gov) + + * icomplete.el (icomplete-pre-command-hook): Reconciled with + keyboard macro operation. + (icomplete-post-command-hook): Likewise. + (window-minibuffer-p): Cleaned up according to suggestion from + Richard Mlynarik. + General rectification of doc strings and comments. + +1993-12-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * apropos.el (super-apropos-check-doc-file): Verify that the doc + string can actually be found from the symbol. + +1993-12-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (font-lock-set-defaults): Add missing paren. + + * lisp-mnt.el (lm-report-bug): Don't crash if version is nil. + (lm-report-bug): lm-maintainer returns a cons; convert it to a string. + +1993-12-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-write-region): Call set-visited-file-modtime. + (ange-ftp-insert-file-contents): Likewise. + + * isearch.el (isearch-mode-map): Bind kp-... keys. + + * simple.el (setting up kp-... keys): Make ascii-character props. + + * bytecomp.el: Provide bytecomp as well as byte-compile. + + * vc.el (vc-buffer-sync, vc-diff): New arg NOT-URGENT. + (vc-diff): Pass new arg. + + * replace.el (query-replace-map): Don't bind ESC. + (query-replace-help): Changed accordingly. + + * loadhist.el (unload-feature): Ignore conses in the feature-symbols. + + * shell.el (shell-backward-command): If comint-bol moves forward, + use real beginning of line instead. + Use skip-syntax-backward properly. + If backward search finds a separator, move forward over it. + (shell-forward-command): Call skip-syntax-backward properly. + +1993-12-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * telnet.el (telnet): Use comint-arguments. + + * rmailout.el (rmail-output-to-rmail-file): When copying to a buffer, + maybe enable auto save in that buffer. + + * awk-mode.el (awk-mode-syntax-table): Was mistakenly changing + emacs-lisp-mode-syntax-table. + + * isearch.el (isearch-update): If isearch-other-end is nil, + call isearch-dehighlight. + + * rmail.el (rmail-insert-inbox-text): If copy-file fails, + call rename-file with t as third arg. + + * simple.el (next-complete-history-element): Doc fix. + (previous-complete-history-element): Doc fix. + + * comint.el (comint-next-matching-input-from-input): Doc fix. + +1993-12-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tex-mode.el (tex-common-initialization): Make paragraph-start + and paragraph-separate match a line of $$. + +1993-12-22 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * lisp-mnt.el (Bogus-Bureaucratic-Cruft): Changed to + `X-Bogus-Bureaucratic-Cruft'. + Change comments to indicate that any header starting with `X-' is + not supposed to be implemented. This gives us the same "out" + that RFC822 does. + +1993-12-16 Richard Stallman (rms@srarc2) + + * ange-ftp.el (ange-ftp-hash-mark-msgs): Make match more general. + +1993-12-16 Karl Berry (karl@cs.umb.edu) + + * compile.el (grep-command): New variable. + (grep): Use it. + +1993-12-16 Richard Stallman (rms@srarc2) + + * awk-mode.el (awk-mode): Use c-indent-line. + + * gud.el (gud-format-command): Rewrite. + + * lpr.el (lpr-headers-switches): Treat hpux like usg-unix-v. + +1993-12-15 Richard Stallman (rms@srarc2) + + * asm-mode.el (asm-mode): Don't mess with auto-fill mode. + + * man.el (Man-specified-section-option): Test system-configuration. + + * lpr.el (print-region-1): Adjust start, end after running pr. + + * info.el (Info-insert-dir): Compute truename just once for each dir. + + * calendar.el (calendar-mode-map): Put back C-v and M-v bindings. + + * telnet.el (telnet-filter): Rewrite, taken mostly from Lucid. + + * rmailsum.el (rmail-summary-goto-msg): Use unwind-protect to go + back to summary, and go back to the window that was selected before. + + * rmail.el (rmail-quit): Expunge without updating summary. + + * paths.el (rmail-spool-directory): Use dgux, not dgux-unix. + * lpr.el (lpr-command): Use dgux, not dgux-unix. + +1993-12-14 Ulrich Mueller (ulm@vsnhd1.cern.ch) + + * gud.el (gud-format-command): Use gud-last-last-frame if + gud-last-frame is nil. + +1993-12-14 Richard Stallman (rms@srarc2) + + * isearch.el (isearch-text-char-description): Treat TAB as ctl char. + + * info.el (Info-insert-dir): For generated menu items, add ::. + +1993-12-13 Ulrich Mueller (ulm@vsnhd1.cern.ch) + + * gud.el (gud-mipsdbx-massage-args, gud-mipsdbx-marker-filter): + New functions for dbx support on Mips under Ultrix. + (gud-dbx-mips-p, gud-mipsdbx-marker-acc): New variables. + (dbx) If gud-dbx-mips-p is non-nil, overload above two functions + and initialize appropriate command strings for dbx. + +1993-12-12 Richard Stallman (rms@srarc2) + + * loaddefs.el (ctl-x-map): Add C-x r d binding for delete-rectangle. + + * rmailout.el (rmail-output-to-rmail-file): Call rmail-update-summary. + + * etags.el (visit-tags-table-buffer): Change "Add to list" question. + + * mouse.el (mouse-kill-secondary): Fix previous change. + + * man.el (Man-mode-hook): Renamed from Man-mode-hooks. + +1993-12-12 Michael D. Ernst (mernst@monozygote) + + * dired-aux.el: Autoload dired-.*-file. + +1993-12-11 Richard Stallman (rms@srarc2) + + * rmail.el (rmail-resend): Delete more than one Sender, + but only in the headers, not in the body. + + * mouse.el (mouse-kill-secondary): Get rid of CLICK argument. + Instead, use this-command-keys. + + * lpr.el (print-region-new-buffer): Rename args to OSTART and OEND. + + * isearch.el (isearch-text-char-description): Really call + text-char-description for ctl chars. + + * doctor.el (make-doctor-variables): Fix some local var names. + + * bytecomp.el (byte-compile-dest-file): If FILENAME is not recognized, + append .elc to it. + + * comint.el (comint-read-input-ring): New arg SILENT. + * shell.el (shell-mode): Pass t to comint-read-input-ring. + + * rmail.el (rmail-resend): Doc fix. + +1993-12-10 Richard Stallman (rms@srarc2) + + * mouse.el (x-fixed-font-alist): For 6x10, look for normal font, + not semicondensed. + +1993-12-09 Richard Stallman (rms@srarc2) + + * supercite.el (sc-read-string): + Don't pass a history arg to read-string. + + * sendmail.el (mail-default-reply-to): Add autoload cookie. + +1993-12-08 Boris Goldowsky (boris@mink.cs.rochester.edu) + + * shadowfile.el: (shadow-noquery): Use it. + (shadow-copy-file): Use abbreviate-file-name to + avoid incorrect warnings. + Lucid support commented out (didn't work and caused compiler warnings). + +1993-12-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Generalize + `"foo.c", line 13:' regexp to also match `"foo.c", line 13 pos 1...'. + + * loaddefs.el (point-to-register-compatibility-binding, + jump-to-register-compatibility-binding, + copy-to-register-compatibility-binding, + insert-register-compatibility-binding): Add defaliases for these. + (ctl-x-map): Bind / j x g to those, respectively, so \[...] always + expands to the C-x r ... bindings. + +1993-12-08 Stephen Gildea (gildea@x.org) + + * time-stamp.el (time-stamp-month-dd-yyyy): no leading zero on day. + +1993-12-08 Richard Stallman (rms@srarc2) + + * gud.el (gud-common-init): Call substitute-in-file-name. + + * doctor.el (doctor-adverbp): Don't die if doctor-make-string + gives a string of length < 2. + + * rmailsum.el (rmail-summary-rmail-update): Special handling for eob. + + * mail-utils.el (mail-fetch-field): Add autoload cookie. + +1993-12-07 Richard Stallman (rms@srarc2) + + * comint.el (comint-replace-by-expanded-history): New arg SILENT. + (comint-send-input): Pass t as new arg. + + * bytecomp.el (byte-recompile-directory): Don't treat symlinks as dirs. + +1993-12-06 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * loaddefs.el: Remove autoload for `rlogin-with-args', which no + longer exists. + +1993-12-06 Michael D. Ernst (mernst@monozygote) + + * reposition.el (reposition-window): Fix whitespace-skipping regexp. + +1993-12-06 Richard Stallman (rms@srarc2) + + * fill.el (fill-region-as-paragraph): Do allow breaking line at a period + followed by two spaces, in the case where we are insisting on having at + least one complete word. + + * files.el (hack-local-variables-prop-line): If we can't switch-to-buffer + in selected window, try another window, then a new frame. + + * font-lock.el (font-lock-set-defaults): Do nothing if + font-lock-keywords is already set. + + * gnuspost.el (gnus-post-news): Call gnus-read-distributions-file. + +1993-12-06 Anders Holst (aho@sans.kth.se) + + * hippie-exp.el (;; Keywords:): Changed to "abbrev". + (hippie-expand-ignore-buffers): New variable. + (he-regexp-member): New function. + (hippie-expand-try-functions-list): Added `try-expand-list'. + (try-expand-line-all-buffers, try-expand-list-all-buffers, + try-expand-dabbrev-all-buffers): Use `he-regexp-member' and + `hippie-expand-ignore-buffers'. + (he-list-search): Don't find list containing point. + (he-dab-search-regexp): Just match at beginning of words. + (he-dabbrev-beg): Never move point forward. + +1993-12-05 Paul Eggert (eggert@twinsun.com) + + * lunar.el (lunar-phase): Add calendar-time-zone to solar + ephemeris correction. This fixes a bug where GMT was being + reported as if it were local standard time. + +1993-12-05 Michael D. Ernst (mernst@monozygote) + + * ispell.el: Don't imply private dictionary is always ispell.words. + +1993-12-05 Richard Stallman (rms@srarc2) + + * man.el (Man-follow-manual-reference): Strip trailing - from default. + + * apropos.el (apropos-match-keys): If REGEXP is nil, + always act as if it matched. + + * replace.el (perform-replace): Prompt now says how to get help. + + * menu-bar.el (menu-bar-edit-menu): Add query-replace menu item. + Make a menu-enable property for query-replace. + + * comint.el (comint-mode-map): Put comint-show-output on C-M-l. + + * cplus-md.el (c++-indent-line, calculate-c++-indent): + (indent-c++-exp): Recognize `friend' without `class'. + + * rmail.el (rmail): Doc fix. + + * man.el (Man-getpage-in-background): Use lower case for arg vars. + (Man-follow-manual-reference): Check for existence of references + before using the minibuffer. Delete period from error message. + Delete spurious concat call. Pass arg, not (consp arg), + to Man-getpage-in-background. + +1993-12-05 Simon Marshall (simonm@tintin) + + * comint.el (comint-preinput-scroll-to-bottom): Removed calls to + window-minibuffer-p and 'not-minibuf arg to walk-windows. + Removed mouse-yank-at-click from command list and doc string. + Removed duplicate test for comint-scroll-to-bottom-on-input (scroll). + Removed test for 'this within walk-windows code. + +1993-12-04 Michael D. Ernst (mernst@monozygote) + + * reposition.el (reposition-window): Don't err if comment-height = 0. + +1993-12-04 Richard Stallman (rms@srarc2) + + * man.el (Man-follow-manual-reference): Try to use current word + as a default for the reference to follow. + Use interactive to read the reference name. + + * add-log.el (add-log-current-defun): + Remove spurious quote on c++-mode. Recognize c++-c-mode. + + * rmailout.el (rmail-output-to-rmail-file): Turn off the deleted + attribute outside of the save-restriction. + + * subr.el (remove-hook): Use equal to see if hook is just that fcn. + (add-hook): Use member to see if a lambda expr is already in the list. + + * lpr.el (lpr-headers-switches): New variable. + (print-region-1): Use it. + + * tex-mode.el (tex-send-command): New local var BUF. + Use it when calling buffer-modified-tick. + + * comint.el (comint-postoutput-scroll-to-bottom): + Don't select a different buffer permanently. + + * ange-ftp.el (ange-ftp-gateway-prompt-pattern): Don't match + more than one line. + + * cmuscheme.el (inferior-scheme-mode): + Don't let `comint-prompt-regexp' match more than one line. + + * comint.el (comint-prompt-regexp): Fixed documentation to + reflect changes to some prompt regexps. + + * gud.el (dbx): Let `comint-prompt-regexp' not match more than + one line. + + * inf-lisp.el (inferior-lisp-prompt): Don't match more than + one line. + + * telnet.el (telnet-prompt-pattern) + (telnet-check-software-type-initialize): + Don't let `telnet-prompt-pattern' match more than one line. + + * files.el (set-visited-file-name): Don't rename-buffer if buffer + already has the desired name. + + * c-mode.el (c-delete-backslash): Do nothing if empty line. + +1993-12-03 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-workfile-unchanged-p): Add optional argument + specifying whether we want to compute the differences if the + file is changed. Otherwise, use cmp instead of diff. + (vc-next-action-on-file): Use new vc-workfile-unchanged-p option; + this avoids recomputing the differences in some cases. + (vc-backend-diff): OLDVERS is now optional; all callers changed. + New optional argument CMP says to use `cmp' rather than `diff'. + +1993-12-03 Richard Stallman (rms@srarc2) + + * dired.el (dired-in-this-tree): Call expand-file-name. + + * outline.el (outline-minor-mode): When turning off the mode, + turn ^Ms back to \n's. + (outline-mode): Set change-major-mode-hook. + + * lpr.el (lpr-add-options): New variable. + (print-region-1): Obey that. + + * bookmark.el, compile.el, edmacro.el, dabbrev.el, ispell.el: + * macros.el, reposition.el: Don't repeat at load time any bindings + that are autoloaded. + + * tex-mode.el (tex-send-command): + Switch to buffer before checking for subproc output in it. + + * dired.el (dired-goto-file): Call expand-file-name. + + * page-ext.el (pages-copy-header-and-position): + Call end-of-line, not forward-line. + (pages-directory): Omit space at end of pages-directory-buffer. + + * dired-aux.el (dired-insert-subdir-validate): Call expand-file-name. + +1993-12-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sendmail.el (mail-fcc): Take argument and use interactive spec + to prompt, rather than calling read-file-name explicitly. This + function is useful to call from programs with a computed argument. + +1993-12-02 Richard Stallman (rms@srarc2) + + * mouse.el (mouse-yank-secondary): Doc fix. + + * makefile.el (makefile-ignored-files-in-pickup-regex): + Supply missing \\. + (makefile-insert-target-ref): Fix typo. + + * gnus.el (gnus-capitalize-newsgroup): Modify a new temporary + syntax table, not the current one. + + * etags.el (etags-goto-tag-location): Improve not-found error msg. + + * files.el (insert-file): Add * to interactive spec. + +1993-12-02 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-locking-user): Don't assume that the umask permits + group-write and other-write. + +1993-12-02 Michael D. Ernst (mernst@monozygote) + + * vip.el (vip-replace-string): Don't use replace-regexp. + * vc.el (vc-record-rename): Don't use replace-regexp. + * bibtex.el (hide-bibtex-entry-bodies): Don't use replace-regexp. + * allout.el (outline-copy-exposed): Don't use replace-regexp. + +1993-12-01 Morten Welinder (terra@tyr.diku.dk) + + * desktop.el: Add keywords. + (desktop-outvar): clean-up output using fewer quotes and \n for + newlines. + (desktop-save): print buffer information using \n for newlines. + (desktop-save-buffer-p): doc fix. + (desktop-save): bug in mark-activity saving. + (desktop-buffer-rmail): doc fix. + (desktop-buffer-rmail, desktop-buffer-dired, desktop-buffer): use + `eq' instead of `equal'. + (desktop-clear): end up with one window. + +1993-12-01 Richard Stallman (rms@srarc2) + + * byte-opt.el: Add side-effect-free props for many functions. + (byte-boolean-vars): Add highlight-nonselected-windows. + + * picture.el (picture-mode): Save the old truncate-lines value. + (picture-mode-exit): Restore that value. + + * bytecomp.el (batch-byte-recompile-directory): Add autoload cookie. + +1993-12-01 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * rlogin.el (rlogin-filter): initialize `region-begin' to + (marker-position proc-mark), not just (point), whatever random + value that may be. + Put bindings for `proc-mark', `region-begin', and `window' in + separate setq forms. + In determining whether window-start readjustment is needed, do not + examine scroll-step; it is irrelevant. + +1993-11-30 Richard Stallman (rms@srarc2) + + * comint.el (comint-replace-by-expanded-history): + Use skip-chars-forward to advance in main loop. + +1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.22 released. + + * vc.el (vc-buffer-sync): Signal error if user says no. + + * vc-hooks.el (vc-mode-line): Make buffer read-only for root + if file is locked. + + * mouse.el (mouse-set-font): Update nonstandard faces that are supposed + to use a modification of the frame's font. + +1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-variables): Abbreviate truename for comparison. + +1993-11-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (make-face-unitalic, make-face-unbold, make-face-bold) + (make-face-bold-italic, make-face-italic): If frame is t, + do the special handling only if face-font is a list. + + * etags.el (tags-add-tables): New variable. + (visit-tags-table-buffer): Use it. + (default-tags-table-function): No longer user var, no longer autoload. + + * ange-ftp.el (ange-ftp-binary-file-name-regexp): + Accept .tgz and .taz files. + + * tpu-edt.el (tpu-revision): Variable deleted. + +1993-11-24 Rob Riepel (riepel@Snowflake.Stanford.edu) + + * tpu-edt.el (tpu-quoted-insert): New function. + (tpu-reset-control-keys): Remove C-f mapping. + Insert (in file) fsets for free/bound cursor, scroll + margins, key mappings for same. + + * tpu-extras.el: Remove free/bound cursor and scroll + margin fsets and key mappings. Add autoload cookies. + + * tpu-doc.el: Add sample test for tpu-set-scroll-margins. + +1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-send-input): Don't call comint-arguments + to set HISTORY, even if comint-input-autoexpand is not `history'. + When comint-input-autoexpand is `history', undo part of prev change: + do put INPUT back in the buffer in place of expanded hist. + + * tabify.el: Add a provide. + + * vc.el (vc-next-action): Doc fix. + (vc-checkout-carefully): New variable. + (vc-next-action-on-file): Obey vc-checkout-carefully. + + * vc-hooks.el (vc-make-backup-files): Doc fix. + (vc-rcs-status): Use colon, not dash, in the string LOCKS. + + * rmailsort.el (rmail-sort-messages): In summary buf, go to rmail buf. + + * subr.el (walk-windows): If start at minibuf window, do return to it. + + * comint.el (comint-send-input): Don't call comint-arguments while + computing the value for history. + (comint-delim-arg): Treat quoted delim chars as non-delims. + +1993-11-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (count-lines): In selective-display case, + adjust value if end is not at bol. + + * isearch.el (isearch-other-meta-char): Correct the test for a split-up + mode line or scroll bar mouse event. + + * icomplete.el: New file. + + * info.el (Info-follow-reference): Correct one-off error in + comparing start-point. + + * dired-aux.el (dired-diff): Require diff. + + * telnet.el (telnet-rsh-program): New variable. + (rsh): Use it. + (telnet-count): Now buffer-local. + + * finder.el (finder-known-keywords): Add data, faces, mouse, matching. + + * edebug.el: Delete periods from error messages. + (edebug-functionp): Recognize compiled functions. + (edebug-display): Supply missing parens in let. + + * simple.el (repeat-complex-command): Undo Oct 2 change. + + * c-mode.el (c-indent-region): Don't goto-char sexpend if it's nil. + As first thing, advance to a nonblank line. + + * view.el (View-scroll-lines-forward): + Allow scrolling backward at the end of the buffer. + + * comint.el (comint-preinput-scroll-to-bottom): If SCROLL is `this', + don't bother with walk-windows; just hack the selected window. + + * avoid.el: New file. + * shadowfile.el: New file. + +1993-11-22 Morten Welinder (terra@tyr.diku.dk) + + * add-log.el (add-change-log-entry): put buffer in change-log-mode. + (find-change-log): correct calculation of file one directory out. + +1993-11-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-goto-file): Don't try matching one line twice. + + * rmailsum.el (rmail-summary-wipe): If rmail buffer is not visible, + switch to it in this window. + (rmail-summary-mode): Doc fix. + + * dired.el (dired-readin-insert): Expand default-directory and dirname + before comparing them. + (dired-internal-noselect): Set default-directory to abbreviated name. + + * mouse.el (mouse-save-then-kill-delete-region): + Call undo-boundary at the beginning and at the end. + + * gnuspost.el (gnus-inews-do-fcc): If gnus-author-copy-saver + is rmail-output, call rmail-output the proper way. + + * man.el (Man-specified-section-option): New variable. + (Man-translate-references): Use that variable. + +1993-11-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-start-end): Use MODE mod 3. + (mouse-save-then-kill): Test mouse-selection-click-count mod 3. + (mouse-drag-secondary, mouse-secondary-save-then-kill): Likewise. + + * inf-lisp.el (inferior-lisp-proc): Clean up error message. + + * iso-acc.el (iso-accents-enable): New variable. + (key-translation-map): Enable an accent only if in iso-accents-enable. + + * lisp-mode.el (lisp-eval-defun): Renamed from lisp-send-defun. + (lisp-mode-map): Use new name lisp-eval-defun. + Move run-lisp to C-x C-z. + + * sendmail.el (mail-yank-original): + Delete windows on selected frame only. + + * mouse.el (mouse-kill-secondary): Do the kill in proper buffer. + Give error if in the wrong buffer. + (mouse-secondary-save-then-kill): Give error if click is not in + the buffer already used for secondary selection. + Don't switch windows; always temporarily switch buffers. + + * mail-utils.el (mail-fetch-field): Exclude trailing whitespace. + Delete duplicate (goto-char (point-min)). + + * faces.el (x-resolve-font-name): Undo previous change. + + * info.el (Info-edit): Use proper map in substitute-command-keys. + +1993-11-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tex-mode.el (tex-send-command): Wait for output first, + if text has not changed since previous tex-send-command. + (tex-send-command-modified-tick): New buffer-local variable. + + * texinfo.el (texinfo-tex-region): Use tex-send-command to do commands. + (texinfo-tex-buffer, texinfo-texindex, texinfo-tex-print): Likewise. + (texinfo-delete-from-print-queue, texinfo-quit-job): Likewise. + + * tex-mode.el (tex-start-shell): Don't use -v option. + (tex-send-command): Insert text in the buffer, then use + comint-send-input to send it. + + * etags.el (tags-complete-tag): Bind enable-recursive-minibuffers to t. + +1993-11-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (command-line): Set init-file-had-error to t or nil. + (command-line-1): Inhibit startup message if init-file-had-error. + +1993-11-19 Robert J. Chassell (bob@geech.gnu.ai.mit.edu) + + * texinfmt.el (texinfo-if-set, texinfo-if-clear): Act + appropriately when flat neither set nor cleared. + +1993-11-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnuspost.el (gnus-inews-do-fcc): Use gnus-output-to-rmail + if file is an rmail file. Pass extra args to rmail-output. + + * simple.el (eval-expression): Don't bind minibuffer-history-sexp-flag. + (edit-and-eval-command): Likewise. + + * ange-ftp.el (ange-ftp-parse-dired-listing): Skip extra blank line + after the "total" line. + + * hexl.el (hexlify-buffer): Add autoload cookie. + +1993-11-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso-acc.el (iso-accents-list): Fix entries for 'y and ~c. + (iso-accents-list): Add "s. + +1993-11-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-scroll-show-maximum-output): Make default nil. + + * gnus.el (gnus-summary-save-in-mail): Use rmail-output + if the file is not an Rmail file. + + * font-lock.el (font-lock-hack-keywords): + Handle next-single-property-change returning nil. + +1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.21 released. + + * gnus.el (gnus-summary-save-in-mail): Don't use rmail-output. + Instead, use either gnus-output-to-rmail or gnus-output-to-file. + Expand filename before use. + * rmailout.el (rmail-file-p): Add autoload cookie. + + * comint.el (comint-send-input): Run comint-output-filter-functions + only if process is using comint-output-filter as its filter. + + * subr.el (remove-hook): Doc fix. + + * rmail.el (rmail-set-attribute): Do nothing if MSGNUM is 0. + + * nntp.el (nntp-encode-text): Insert a CR before the newline. + + * info.el (Info-mode): Doc fix. + + * loaddefs.el: Delete duplicate etags.el autoloads. + + * add-log.el (change-log-default-name, add-log-current-defun-function) + (add-log-full-name, add-log-mailing-address): Delete autoload cookies. + +1993-11-15 Per Bothner (bothner@cygnus.com) + + * iso-acc.el (iso-accents-list): Added /A for A-with-ring + and /E for AE-ligature, with lowercase versions. These + letters are used (with O-with-slash) in Norwegian and Danish. + +1993-11-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * appt.el (appt-display-interval): New variable. + (appt-check): Obey that variable. + + * sun.el (sun-raw-prefix): Make this just a variable, + not a function name. + + * startup.el (command-line-1): Display a message in the echo area. + + * comint.el (comint-read-input-ring, comint-write-input-ring): + Treat "" like nil in comint-input-ring-file-name. + +1993-11-15 Robert J. Chassell (bob@grackle.stockbridge.ma.us) + + * page.el Add `provide'. + (narrow-to-page): Enable page-delimiter to span lines. + + * page-ext.el: Revise documentation. Add `provide'. + (pages-directory-for-adding-addresses-narrowing-p): + New user option for adding addresses. Default to narrowing. + (pages-directory-for-addresses): Intall user settable options. + (add-new-page): Insert new page in specified location. + (original-page-delimiter): Set default value to "^^L". + +1993-11-15 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * vc.el: vc-static-header-alist shouldn't have been declared const. + +1993-11-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailout.el (rmail-output): New argument FROM-GNUS. + * gnus.el (gnus-summary-save-in-mail): Pass new args to rmail-output. + + * solar.el (solar-equinoxes-solstices): Add autoload. + + * calendar.el (solar-holidays): Change top-level progn to an if. + + * mouse.el (mouse-save-then-kill-delete-region): Take args BEG and END. + Update the undo list properly. + (mouse-save-then-kill): Pass those args. + When we kill, clear mouse-save-then-kill-posn + and mouse-selection-click-count. + (mouse-secondary-save-then-kill): Likewise. + Delete the overlay after deleting the selection text. + (mouse-selection-click-count): Initialize to 0. + (mouse-save-then-kill-delete-region): Handle buffers with no undo list. + Handle empty regions. Handle end < beg. + + * rmailsum.el (rmail-summary-forward): Accept prefix arg + and pass it to rmail-forward. + +1993-11-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * compare-w.el (compare-windows-skip-whitespace): Swap the two + and's within the or. + + * help.el (describe-project): New function, on C-h C-p. + (help-for-help): Add C-p. Refer to help-command, not + help-for-help, in the \\[...]. + + * paths.el (rmail-spool-directory): Check for irix, + not silicon-graphic-unix. + * dired.el (dired-chown-program): Likewise. + * lpr.el (lpr-command): Likewise. + + * xscheme.el: Add a provide call. + + * dired.el (dired-make-relative): Expand DIR if starts with ~. + +1993-11-12 Paul Eggert (eggert@twinsun.com) + + * cal-dst.el (calendar-absolute-from-time): Undo Sep 14 patch. + Fix comments instead, since they didn't match the code. + +1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-match-partial-filename): Consider +@: part of + filenames; don't consider parens as part of them. + + * fill.el (fill-individual-paragraphs): Fix skipping headers + of yanked message. + + * rmailsum.el (rmail-summary-edit-map): Inherit text-mode-map properly. + +1993-11-12 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-rename-file): Don't overwrite an existing file. + Fix test for unsaved files. + Calculate name of new master file properly. + +1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.20 released. + + * man.el (Man-section-regexp): Allow section names l, n, L, N. + +1993-11-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Handle help-char values other than chars. + + * c-mode.el (c-indent-region): When looking for a sexp that ends + past this line, make sure it really starts on this line. + + * replace.el (occur-mode): Run occur-mode-hook. + +1993-11-10 Robert J. Chassell (bob@kropotkin.gnu.ai.mit.edu) + + * texinfo.el (texinfo-texi2dvi-command): Separate `texi2dvi' + command from `tex' command so `texinfo-format-region' can use + straight `tex' command. + (texinfo-format-buffer): Use `texinfo-texi2dvi-command' + (texinfo-delete-from-print-queue): Revise documentation. + (texinfo-quit-job): Use comint-send-input. + + * texinfmt.el (texinfo-format-region): Change `texinfo-[start + end]-of-header' to `tex-[start end]-of-header'. + +1993-11-10 Brian Fox (bfox@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-start-mail): Don't do other frame unless we have + a window system, irregardless of the state of rmail-mail-new-frame. + + * man.el (Man-filter-list): Include anything starting with + alphabetics, and containing "Last change:". + (manual-entry): Don't call `Man-downcase' since + Man-translate-references has already done the right thing. + + * info.el (Info-extract-menu-item): Quote `*' in the menu-item + leadin re-search to prevent us from finding node names which + contain the text of another node name within them. + + * files.el (find-backup-file-name): Don't fatal-error on + directories that are hard to read; fall back on ~/%backup%. + + * hexl.el (hexl-mode): Use `add-hook' to modify buffer local + `write-contents-hooks'. + (hexl-mode-exit): Remove our hook when turning off Hexl mode. + + * files.el (file-truename): Treat ~USER like just ~. + + * subr.el (remove-hook): New function, analogous to add-hook. This + is now the recommended way to remove a hook that you have added. + * lucid.el (remove-hook): Function deleted. + +1993-11-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * texinfo.el (texinfo-mode-map): Add C-c C-e bindings for texinfmt.el. + + * texnfo-upd.el (texinfo-sequential-node-update): Add autoload. + (texinfo-update-node, texinfo-every-node-update): Add autoload. + + * comint.el (comint-postoutput-scroll-to-bottom): + Don't alter point in a window if it's after the process-mark. + Don't treat minibuffer window specially. + + * menu-bar.el (menu-bar-edit-menu): Add menu items for searching. + + * etags.el (etags-list-tags): Return t if found the file. + (list-tags): Clear first-time when we go around the loop. + Supply file name in error message. + Remove dir names from files when preparing for completion. + +1993-11-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * shell.el: Doc fixes. + +1993-11-08 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * comint.el (comint-preinput-scroll-to-bottom): Added + comint-magic-space to list of commands recognised as inserting. + + * comint.el (comint-output-filter): Corrected check for killed + buffer. + +1993-11-08 Robert J. Chassell (bob@geech.gnu.ai.mit.edu) + + * texinfo.el (texinfo-show-structure): Indent appendices properly. + +1993-11-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * disp-table.el (describe-current-display-table): + Don't get error if no display table now. + (describe-display-table): Put all the output in the temp buffer. + + * ws-mode.el (wordstar-mode): Add autoload. + + * pascal.el: New file. + * thingatpt.el: New file. + * mouse-sel.el: New file. + + * ispell.el (ispell-message): Delete excess (beginning-of-line). + + * frame.el (set-frame-configuration): Iconify frames + rather than making them invisible. + + * register.el (jump-to-register): Rename prefix arg to DELETE + and invert its sense. + + * comint.el (comint-postoutput-scroll-to-bottom): + Walk the windows even if scroll is nil. + +1993-11-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ispell.el (ispell-message): If gnus, but no mail-yank-prefix, + use ispell-message-cite-regexp. Turn off case-fold-search + for the searching and matching in this function. + + * ispell.el (ispell-message): Stop if ispell-region returns nil. + (ispell-next, ispell-word): Catch ispell-quit, not quit. + (ispell-next): Return t if exit normally (no throw to ispell-quit). + (ispell-command-loop): For q, throw to ispell-quit. + Explicitly handle C-g. + (ispell): If we don't call ispell-next, return t. + + * compare-w.el (compare-windows-skip-whitespace): Return t + if there is whitespace before point. + + * iso-acc.el (iso-accents-mode): Doc fix. + + * comint.el (comint-postoutput-scroll-to-bottom): + Always keep point at end in all buffers if was at end. + comint-scroll-to-bottom-on-output controls what to do + if point was not already at the end. + + * iso-acc.el: Support ~ and /. Support 'Y, 'y, "y. + Delete the `compose' support. + (iso-accents-list): Fix typo in ^A code. Support ~< and ~>. + + * iso-transl.el: Alter isearch-mode-map so C-x 8 works in search. + + * frame.el (set-frame-configuration): If NODELETE, make the + unwanted frames invisible. + +1993-11-07 Ethan Bradford (ethanb@ptolemy.astro.washington.edu) + + * ispell.el (ispell-non-empty-string): New function. + (ispell-message): Add autoload. + Choose a citation regexp automatically. + Don't fail if there is no following cited line after filled lines. + +1993-11-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * man.el (Man-frame-parameters): New variable. + (Man-notify-when-ready): Handle `newframe' as Man-notify value. + +1993-11-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ange-ftp.el (ange-ftp-load): Handle extra args after the file name. + +1993-11-03 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * tex-mode.el (tex-alt-print): New function for menu bar. + (tex-define-common-keys, tex-mode-map): Move some items from + tex-define-common-keys to tex-mode-map. + Add more menu-enable properties. + (tex-append): Cope with both the original + Pascal-based TeX and the newer C-based TeX. + +1993-11-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (other-frame): Subtract 1 from hpos for new mouse position. + + * sendmail.el (sendmail-send-it): Don't insert Sender. + + * tex-mode.el (tex-validate-region, tex-region): + Enable menu items if only mark is active. + +1993-11-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-drag-region): Set this-command to mouse-set-point + if not setting the mark. + (mouse-save-then-kill): Consider mark-active only in transient mark md. + +1993-10-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tex-mode.el (tex-define-common-keys): Define menu items. + +1993-10-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-mode-map): Merge menu bar item Output into Input. + Rename Completion to Complete. + + * font-lock.el (font-lock-fontify-buffer): Don't turn + font-lock-mode on and off; just call font-lock-set-defaults. + +1993-10-26 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * ispell.el (ispell-look-command): New user variable. + (ispell-do-look, ispell-lookup-build-list): Use it as + PROGRAM for call-process instead of just "look". + + * ispell.el (ispell-complete-word-interior-frag): New command. + (ispell-complete-word): New command. + (ispell-menu-map): Add bindings for them. + (ispell-gnu-look-still-broken-p, ispell-look-dictionary): New vars. + + * text-mode.el (text-mode-map): Bind ispell-complete-word to M-TAB. + +1993-10-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * simple.el (eval-expression): Fix typo: missing paren. + (read-expression-map): Use an indirection to minibuffer-local-map + rather than copying it. + +1993-10-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bookmark.el (bookmark-load, bookmark-write-file): + Bind enable-local-variables instead of enable-local-eval. + +1993-10-25 Karl Fogel (kfogel@mole.gnu.ai.mit.edu) + + * bookmark.el (bookmark-load, bookmark-write-file): Made + enable-local-eval be nil when loading a bookmark file, since + bookmark context strings can contain eval forms from the files in + which the bookmarks are set, and we don't want them evalled when + .emacs-bkmrks is found! + + Got rid of ###autoload to put a bookmark menu on the menu-bar. + Now it will appear on the File menu -- that change is made in + menu-bar.el. See below: + + * menu-bar.el: Added a define-key for menu-bar-bookmark-map, so + that bookmarks will appear on the File menu of the menu-bar, right + after the Print Buffer item. + +1993-10-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-scroll-to-bottom-on-input): Default to nil. + (comint-mode): Use pre-command-hook, not before-change-function. + (comint-preinput-scroll-to-bottom): Take no arguments. + (comint-output-filter-functions): + Renamed from comint-output-filter-hook. + (comint-output-filter): Pass STRING as arg to output hook functions. + (comint-preinput-scroll-to-bottom): Take an arg. + Move point to new process mark if it was at the old one. + Scroll so only if point is at or after the process mark. + When scrolling, put end of text on bottom line, regardless of point. + +1993-10-25 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * ispell.el (ispell): If the buffer to spell has no associated + file, or, the associated file has a special handler, use a + temporary file with the buffer contents to pass to the local + ispell process. + + * dired.el (provide): Provide "dired" before running user hooks. + + * ange-ftp.el (ange-ftp-dired-uncache): Fix parens so that `(setq + ...' is a result of the if statement, and not a top level + expression. + + * simple.el (eval-expression, edit-and-eval-command): Let + minibuffer-history-sexp-flag be 't during the call to + read-from-minibuffer. + +1993-10-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso-acc.el: Define "dead keys" in key-translation-map, + not in global-map. + (iso-accents-compose): New subroutine to do the composition. + Method of doing so is new. + (iso-accents-accent-key): Use iso-accents-compose. + (iso-accents-compose-key): New function. + +1993-10-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * isearch.el (isearch-yank): Handle `kill' as chunk type. + (isearch-yank-kill): New command, on M-y and mouse-2. + + * frame.el (make-frame): Use before-make-frame-hook and + after-make-frame-hook. + + * comint.el (comint-scroll-to-bottom-on-output) + (comint-scroll-to-bottom-on-input): Default to nil if baud-rate<=9600. + +1993-10-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-filename-prefix): Deleted. + * rlogin.el (rlogin, rlogin-mode): Use comint-file-name-prefix, + not comint-filename-prefix. + +1993-10-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * shell.el (shell-after-partial-filename): Renamed from + shell-after-partial-pathname. + * comint.el (comint-after-partial-file-name-command): + Renamed from comint-after-partial-pathname-command. + (comint-match-partial-file-name, comint-after-partial-file-name): + Renamed from comint-match-partial-pathname, etc. + +1993-10-21 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * shell.el (shell-after-partial-pathname): New subroutine. + + * shell.el: Renamed shell-command-execonly to + shell-completion-execonly for consistency. + + * shell.el (shell-read-input-ring, shell-input-ring-file-name): + Moved to, and renamed in, comint.el. + + * shell.el (shell-dynamic-complete-command): Make sure local + completion-ignore-case is nil. + + * shell.el (shell-mode): Set buffer-local variable paragraph-start + to comint-prompt-regexp so paragraph motion/mark commands work on + output groups. + Set comint-after-partial-pathname to it. + (shell-read-input-ring): Use find-file-noselect. + + * shell.el (shell-match-cmd-w/optional-arg): Removed. + + * comint.el (comint-last-output-start): New variable to record + where most recent process output started from. + (comint-mode): Initialise it. + (comint-output-filter): Set it. + + * comint.el (comint-previous-matching-input-string): Moved to + comint-previous-matching-input-position. + (comint-previous-matching-input-string): Use it. + (comint-search-arg, comint-search-start, + comint-previous-input-string): New subroutines. + (comint-previous-input, comint-next-input, + comint-previous-matching-input, comint-next-matching-input, + comint-previous-matching-input-from-input, + comint-next-matching-input-from-input): Use them. + + * comint.el (comint-mode-map): Added signal menu-bar. Moved + comint-backward/forward-matching-input to output menu-bar, since + they move within the buffer rather than do input. + + * comint.el (comint-send-input, comint-after-pmark-p, + comint-kill-input, comint-proc-query): Removed serialisation of + obtaining the process mark's marker-position. + + * comint.el, shell.el: Commented out comint/shell-load-hooks. + + * comint.el (comint-dynamic-simple-complete): New subroutine. + + * comint.el (comint-dynamic-complete-filename-command): New variable. + (comint-after-partial-pathname-command): New variable. + (comint-after-partial-pathname): New subroutine. + (comint-dynamic-complete): Use them. + (comint-mode): Make them local. + + * comint.el, shell.el: Renamed comint-dynamic-complete-command to + comint-dynamic-complete-command-command for consistency. + Renamed comint-file-name-addsuffix/autolist/recexact to + comint-completion-addsuffix/autolist/recexact for consistency. + + * comint.el (comint-replace-by-expanded-history): Check if input + ring size is not big enough for relative reference. + + * comint.el (comint-read-input-ring, comint-input-ring-file-name): + From shell.el. + (shell-write-input-ring): New subroutine. + + * comint.el (comint-file-name-prefix): New variable. + (comint-directory): New inline subroutine. + (comint-dynamic-complete-filename, comint-dynamic-complete-variable, + comint-dynamic-list-filename-completions): Use it. + + * comint.el (comint-dynamic-complete-filename, + comint-dynamic-complete-variable, + comint-dynamic-list-filename-completions): Make sure local + completion-ignore-case is nil. + + * comint.el (comint-next-prompt, comint-previous-prompt): Use + paragraph-start and paragraph motion commands rather than + re-search-forward and re-search-backward commands. + + * comint.el (comint-dynamic-list-input-ring, + comint-previous-matching-input-string): Use ring-empty-p rather + than zerop and ring-length. + + * comint.el (comint-input-ignoredups): New variable. + (comint-send-input, shell-read-input-ring): Use it. + (comint-mode): Make comint-input-ignoredups local. Doc fix. + + * comint.el (comint-scroll-to-bottom-on-input): New variable. + (comint-scroll-to-bottom-on-output): New variable. + (comint-scroll-show-maximum-output): New variable. + (comint-output-filter-hook): New variable, defaults to + comint-postoutput-scroll-to-bottom. + + * comint.el (comint-output-filter): Renamed from comint-filter + for consistency. Now calls comint-output-filter-hook. + + * comint.el (comint-preinput-scroll-to-bottom): New subroutine. + (comint-postoutput-scroll-to-bottom): New subroutine. + (comint-show-maximum-output): New command. + (comint-copy-old-input): New command. + + * comint.el (comint-send-input): Run comint-output-filter-hook if + necessary as a kludge to prevent messy redisplays. + + * comint.el (comint-mode-map): Added comint-show-maximum-output to + C-c C-e and menu-bar output, and comint-copy-old-input to C-c C-i + and menu-bar input. + + * comint.el (comint-mode): Make local variables + comint-scroll-to-bottom-on-input, before-change-function, + comint-scroll-to-bottom-on-output, comint-scroll-show-maximum-output, + and comint-output-filter-hook. + +1993-10-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (blink-matching-open): Treat / syntax like \ syntax. + + * texinfmt.el (texinfo-format-begin-end): Bind cmd locally. + (texinfo-defun-type): Renamed from command-type in various fns. + (texinfo-command-start, texinfo-command-end, texinfo-command-name) + (texinfo-defun-type, texinfo-last-node-pos, texinfo-stack) + (texinfo-short-index-cmds-alist) + (texinfo-short-index-format-cmds-alist, texinfo-format-filename) + (texinfo-footnote-number, texinfo-start-of-header) + (texinfo-end-of-header, texinfo-raisesections-alist) + (texinfo-lowersections-alist): Add defvars. + +1993-10-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cdl.el: New file. + +1993-10-20 Brian Fox (bfox@gnu.ai.mit.edu) + + * forms.el (forms--set-minor-mode): Rewrite so that describe-mode + can parse the value of minor-mode-alist correctly. The string + " View" is now dependent on the value of forms-read-only. + +1993-10-20 Johan Vromans (jv@mh.nl) + + * forms.el: Documentation: `forms-forms-scroll' and `forms-forms-jump' + now default to nil. + `forms-new-record-filter' and `forms-modified-record-filter' + cannot be redefined as functions. + Commands and keymaps are changed. + Add function key defs. + (forms-version): Docstring includes full RCS id. + (forms-forms-scroll): Defaults to nil. + (forms-forms-jump): Defaults to nil. + (forms-mode-edit-map, forms-mode-ro-map): Additional keymaps + for edit mode and read-only mode. + (forms--new-record-filter, forms--modified-record-filter): Deleted. + (forms-mode): Docstring now includes the key bindings, since + both edit mode and read-only mode must be supported. + Changed `forms-new-record-filter' and `forms-modified-record-filter' + semantics: the variable must point to a function and may + not be defined as a function anymore. + Use three keymaps: `forms-mode-map' (C-c commands), + `forms-mode-edit-map' (normal mode) and `forms-mode-ro-map' + (read-only mode). The maps are not buffer local. + Changed the text of error messages to be more descriptive, and + consistent with the documentation. + Moved setting up write-file-hooks and revert-buffer-function + to function `forms--change-commands'. + (forms--process-format-list): Changed error messages to be + more descriptive. + (forms--set-keymaps): Setup the three keymaps. + (forms--mode-commands): Use new command key bindings. + (forms--mode-commands1): New helper function for + `forms--mode-commands'. + (forms--change-commands): Handle setup of + local-write-file-hooks and revert-buffer-function. + (forms--help): Show new command bindings. + (forms--show-record): Replaced `forms--modified-record-filter' by + `forms-modified-record-filter'. + (forms-jump-record): Changed error message. + (forms-toggle-read-only): New function, replaces + `forms-view-mode' and `forms-edit-mode'. + (forms-view-mode, forms-edit-mode): Deleted. + (forms-insert-record): Replaced `forms--new-record-filter' by + `forms-new-record-filter'. + (forms-insert-record, forms-delete-record): Disallow in read-only + mode. + (forms-prev-field): New function. + +1993-10-19 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-week-start-day): New var (autoloaded) to + allow the calendar week to start on any day, not just Sunday. + (calendar-mod): New support function. + (calendar-cursor-to-visible-date, generate-calendar-month, + calendar-beginning-of-week, calendar-end-of-week): Rewritten to + use new var calendar-week-start-day. + + * holidays.el (holiday-easter-etc): Fix Ascension Day string. + + * diary.el (list-sexp-diary-entries): Fix doc string. + + * solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons): New vars. + (solar-equinoxes-solstices): Use them to fix names for + southern hemisphere. + + * calendar.el (calendar-day-name-array, calendar-month-name-array, + calendar-islamic-month-name-array, + calendar-hebrew-month-name-array-common-year, + calendar-hebrew-month-name-array-leap-year): Change to defvar. + + * diary.el (hebrew-calendar-parashiot-names): Change to defvar. + +1993-10-18 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (list-tags): Fix completing-read call interactive spec; + TABLE and PREDICATE args were reversed, and more processing was + needed on tags-table-files. + +1993-10-18 Noah Friedman (friedman@gnu.ai.mit.edu) + + * rlogin.el (rlogin-initially-track-cwd): New variable. + (rlogin): Use it to determine whether enable directory tracking + via ange-ftp. + (rlogin-mode): Make `comint-filename-prefix' local here. + + * rlogin.el (rlogin): Arguments to function are now a string with + multiple words (hostname first) and an optional prefix. + (rlogin-with-args): Function deleted. + + * rlogin.el (rlogin): Set process filter after calling + `rlogin-mode' since the latter called `comint-mode', which sets + its own initial process filter. + +1993-10-18 Barry A. Warsaw, ITB (warsaw@anthem) + + * reporter.el: + (reporter-submit-bug-report, reporter-mailer): reporter-mailer + variable can now take a list of mailers, trying each one until an + commandp one is found. + + * reporter.el: Fixed elisp archive address. + Handle dumping of buffer local variables via reporter-eval-buffer. + +1993-10-14 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-backend-checkout): Do not set umask to value that does + not allow user-write permission while `co' is running; this breaks + versions of `co' that need to write temporary files. + +1993-10-13 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * rmailout.el (rmail-output-file-alist): Doc fix. + +1993-10-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * supercite.el, regi.el: New files. + * sc-elec.el: Files deleted. + * sc.el: Just load supercite. + +1993-10-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (abbreviated-home-dir): Doc fix. + +1993-10-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): Take new optional arg to not set + cursor-in-echo-area. + +1993-10-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-retry-setup-hook): New hook variable. + (rmail-retry-failure): Use that variable. + + * pp.el: New file. + +1993-10-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ispell.el (ispell-message-cite-regexp): Add definition. + +1993-10-09 Karl Fogel (kfogel@occs.cs.oberlin.edu) + + * bookmark.el (bookmark-write): Add numbered backups for bookmark file. + (bookmark-version-control): New variable. + + * bookmark.el (bookmark-jump): bookmark-jump now gives a + default value if no bookmark is entered manually. + (bookmark-set): Default to bookmark-current-bookmark or + buffer-name the way bookmark-jump does. + + * bookmark.el (ctl-x-map): Check if C-x r is a prefix + before using it as one. + + * bookmark.el: Include string "Bookmarks" in defining + [menu-bar bookmark] in global-map in the menu-bar code. + + * bookmark.el (menu-bar-bookmark-map): Supply t as 4th arg of autoload. + + * bookmark.el (bookmark-jump-noselect): New subroutine taken from + bookmark-jump. Support compressed files. + (bookmark-jump): Call bookmark-jump-noselect. + Offer to relocate if necessary, but change default dir to that of + the old bookmark in read-file-name. + + * bookmark.el: (bookmark-set, bookmark-rename, bookmark-delete, + bookmark-write-file, bookmark-load, Bookmark-menu-show-filenames, + Bookmark-menu-hide-filenames, Bookmark-menu-bookmark, + Bookmark-menu-save, Bookmark-menu-load): Fixed the save-excursion + bugs by wrapping things in save-window-excursion as well. + + (bookmark-make-menu-bar-alist): Added sorting. + + (bookmark-map): Added new keybindings. + (bookmark-try-default-file): Set bookmarks-already-loaded to t + after the load. + + * bookmark.el (list-bookmarks): Added bookmark menu stuff. + (Bookmark-menu-*): New functions. + +1993-10-09 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu) + + * isearch.el, reporter.el: Change comments saying they're not yet + part of GNU Emacs. + +1993-10-08 Jonathan I. Kamens (jik@security.ov.com) + + * timezone.el (timezone-parse-date): Handle new style 22-AUG-1993. + + * rmail.el (rmail): Really don't get new mail if file name was given. + (rmail-reformat-message): Move past Mail-from as well as Summary-line. + (rmail-toggle-header): Likewise. + (rmail-next-undeleted-message): Return t unless hit end of buffer. + (rmail-delete-forward): Likewise. + (mail-unsent-separator): Add `Original message follows'. + (rmail-resend): Handle mail-self-blind. + + * files.el (hack-local-variables): If buffer has no file, + display its buffer name. + + * rmailout.el (rmail-output): If message was shown with full headers, + copy the full headers (or each message copied) into the file. + New local var original-headers-p, header-beginning, mail-from. + Bind locals outside the while loop. Kill tembuf only after loop. + If message has a saved mail-from field, use that. + Detect reaching end of rmail buffer; display # messages copied. + +1993-10-06 Morten Welinder (terra@diku.dk) + + * desktop.el: Internal clean-up. Save information about current + tags files, don't save the tags buffers (to save reload time). + Don't save desktop-globals-to-save (desktop files must be erased + for this to take effect, sorry.) Save "mark-activity" and + allow multi-dir direds. + +1993-10-04 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * telnet.el (rsh): Add `host' to args passed to make-comint. + +1993-10-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-convert-to-babyl-format): Protect against + nonsensical content-length values. + +1993-10-04 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * vc.el (vc-next-action): Fix (throw ... ) invocation to work with 19; + allows vc-next-action on all marked files in a dired buffer to work. + + (vc-finish-logentry) There isn't necessarily a *VC-log-entry* buffer + to remove if this function was called from within a dired buffer. Fix + its handling of this case. + +1993-10-02 Brian J. Fox (bfox@ai.mit.edu) + + * simple.el (edit-and-eval-command): Let `read-from-minibuffer' + manipulate the history list, don't manipulate it directly. + (repeat-complex-command): Same thing. + +1993-10-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mailabbrev.el (build-mail-abbrevs): Pass just 1 arg to + substitute-in-file-name. + +1993-09-27 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-find-binary): Fix bug; it always claimed success. + +1993-09-26 Johan Vromans (jv@mh.nl) + + * forms.el: Version 2.3. + Documentation: `forms-forms-scroll' and `forms-forms-jump' + now default to nil. + `forms-new-record-filter' and `forms-modified-record-filter' + cannot be redefined as functions. + Commands and keymaps are changed. + Add function key defs. + (forms-version): Docstring includes full RCS id. + (forms-forms-scroll): Defaults to nil. + (forms-forms-jump): Defaults to nil. + (forms-mode-edit-map, forms-mode-ro-map): Additional keymaps + for edit mode and read-only mode. + (forms--new-record-filter, forms--modified-record-filter): Deleted. + (forms-mode): Docstring now includes the key bindings, since + both edit mode and read-only mode must be supported. + Changed `forms-new-record-filter' and `forms-modified-record-filter' + semantics: the variable must point to a function and may + not be defined as a function anymore. + Use three keymaps: `forms-mode-map' (C-c commands), + `forms-mode-edit-map' (normal mode) and `forms-mode-ro-map' + (read-only mode). The maps are not buffer local. + Changed the text of error messages to be more descriptive, and + consistent with the documentation. + Moved setting up write-file-hooks and revert-buffer-function + to function `forms--change-commands'. + (forms--process-format-list): Changed error messages to be + more descriptive. + (forms--set-keymaps): Setup the three keymaps. + (forms--mode-commands): Use new command key bindings. + (forms--mode-commands1): New helper function for + `forms--mode-commands'. + (forms--change-commands): Handle setup of + local-write-file-hooks and revert-buffer-function. + (forms--help): Show new command bindings. + (forms--show-record): Replaced `forms--modified-record-filter' by + `forms-modified-record-filter'. + (forms-jump-record): Changed error message. + (forms-toggle-read-only): New function, replaces + `forms-view-mode' and `forms-edit-mode'. + (forms-view-mode, forms-edit-mode): Deleted. + (forms-insert-record): Replaced `forms--new-record-filter' by + `forms-new-record-filter'. + (forms-insert-record, forms-delete-record): Disallow in read-only + mode. + (forms-prev-field): New function. + +1993-09-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * disass.el (disassemble-internal): Allow a call to byte-code + as argument. + +1993-09-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ispell.el (ispell-message): Handle cited messages. + + * frame.el (other-frame): Warp the mouse so that the other + frame actually stays selected. + +1993-09-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-delete-max-match): New function. + (mouse-choose-completion): Use that. Now supports buffers + other than minibuffer. + + * comint.el (comint-version): Deleted--no need for separate version. + (comint-input-ring-index): Make this a permanent local. + (comint-mode): Don't alter comint-input-ring-index or comint-input-ring + if already set meaningfully. + +1993-09-21 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * comint.el (comint-mode-map): Added keys M-R/S for + comint-previous/next-matching-input-from-input and to completion + menu-bar. Added comint-forward/backward-matching-input and + comint-previous/next-matching-input to completion menu-bar. + + * comint.el (comint-mode): Doc fix for functionality. + + * comint.el (comint-exec-1): Uses setenv. + (comint-update-env): Removed. + + * comint.el (comint-input-ring-size): Incremented to 32, as with + command history. + (comint-dynamic-list-input-ring): Check for zero + length ring. Use ring length, not ring size, when generating + list. Use buffer " *Input History*". + (comint-previous-matching-input-string): Check for zero-length ring. + Check last item in case at end of cycle and it's a match. + (comint-searching-input-ring): New subroutine. + + * comint.el (comint-regexp-arg): New subroutine. + + * comint.el (comint-previous-matching-input-from-input): New command. + (comint-next-matching-input-from-input): New command. + + * comint.el (comint-replace-by-expanded-history): Fix for matching + inside quotes. Fix to allow argument subrange specifiers. Fix to + identify and reject absolute input number references. + + * comint.el (comint-within-quotes): New subroutine. + (comint-how-many-region): New subroutine. + (comint-args): New subroutine. + (comint-delim-arg): New subroutine. + (comint-arguments): New subroutine. + (comint-delimiter-argument-list): New variable. + + * comint.el (comint-send-input): Inserts input arguments into ring + separated by single spaces. + + * comint.el (comint-filter): Checks the buffer's process to make + sure it's still there. Otherwise, set-buffer will fail. + + * comint.el (comint-backward-matching-input): New command. + (comint-forward-matching-input): New command. + + * comint.el (comint-next-prompt, comint-previous-prompt): + Error if reach beg/end of buffer. + + * comint.el (comint-dynamic-complete): Fix for absolute input + number references. + (comint-dynamic-complete-filename): Changed listings + function to comint-dynamic-list-filename-completions. Uses + file-directory-p rather than string-match to test for directories. + (comint-dynamic-list-completions): Changed to list the + list of completions supplied as the function argument. Use buffer + " *Completions*". + + * comint.el (comint-match-partial-pathname): New subroutine. + (comint-dynamic-complete-variable): New command. + (comint-dynamic-list-filename-completions): New function. + + * shell.el (shell-delimiter-argument-list): New variable. + (shell-input-ring-file-name): New variable. + + * shell.el (shell-mode-map): Changed file name completions listing + binding to new name comint-dynamic-list-filename-completions. + + * shell.el (shell-mode): Call new function shell-read-input-ring + and shell-dirstack on start up. Doc fix for new functionality. + + * shell.el (shell-mode): Set shell-input-ring-file-name depending + on the command that was invoked for the inferior shell. Set + comint-delimiter-argument-list to shell-delimiter-argument-list. + + * shell.el (shell-read-input-ring): New function. + + * shell.el (shell-directory-tracker): Use comint-arguments. + + * shell.el (shell-front-match): Removed. + (shell-match-cmd-w/optional-arg): Removed. + + * shell.el (shell-process-popd): Fixed bug when numeric argument + equal to length of stack including current directory. + (shell-process-pushd): Fixed missing ()s in cond. + + * shell.el (shell-dynamic-complete-command): Uses exec-path minus + trailing emacs library path. Uses "." for nil elements in + exec-path. Uses string-match rather than funcall to test + candidate extensions. Uses member on completions list rather than + file-exists-p to test for existence. Uses file-directory-p rather + than funcall to test for directory. Uses directories only if in + current directory. Uses comint-dynamic-list-completions. + +1993-09-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * loaddefs.el (global-map): Add bindings for menu and find keys. + (function-key-map): Add translation for labeled help key. + + * mouse.el (mouse-drag-region): Put the text on the kill ring. + Don't set mark if region is empty. + (mouse-yank-at-click): Set this-command. + (mouse-start-end): Fix double-click-on-closeparen case. + (mouse-save-then-kill): When used repeatedly at different places, + alter the nearer end of the region. This applies regardless of how + the previous selection was made. + (mouse-drag-secondary, mouse-secondary-save-then-kill): + Rewrite for xterm-style dragging and extending. + + * comint.el (comint-previous-input): + Don't use replace-match; just insert before deleting. + (comint-magic-space): Use self-insert command. + (comint-history-file-name): New variable. + +1993-09-21 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * edebug.el (edebug-enter): Don't call the current function being + debugged in pre-command-hook or post-command-hook. + +1993-09-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * edmacro.el: Total rewrite by Gillespie. + +1993-09-20 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * shell.el (shell-command-regexp, shell-command-execonly) + (shell-pushd-tohome, shell-pushd-dextract) + (shell-pushd-dunique): New variables. + + * shell.el (shell-mode-map): Bound shell-forward/backward-command + to C-c C-f and C-c C-b. + + * shell.el (shell-mode): Set comint variables for which + shells have different values: + comint-get-current-command, comint-dynamic-complete-command. + + * shell.el (shell-directory-tracker): Parse through + command sequences for directory commands. + (shell-process-popd): Signal error if can't + process argument/stack. Fixed bug when no argument and no stack. + (shell-process-cd): Signal error if can't process argument. + (shell-process-pushd): Signal error if can't + process argument/stack. Handle shell-pushd-tohome, + shell-pushd-dextract, and shell-pushd-dunique. + + * shell.el (shell-forward-command, shell-backward-command) + (shell-dynamic-complete-command): New commands. + +1993-09-20 Simon Marshall (Simon.Marshall@mail.esrin.esa.it) + + * comint.el (comint-mode): Initialize comint-input-ring before + running comint-mode-hook. + + * comint.el (comint-input-autoexpand): New variable. + (comint-dynamic-complete-command): New variable. + (comint-get-current-command): New variable. + + * comint.el (comint-read-input-ring): New function. + + * comint.el (comint-send-input): Handle history expansion. + (comint-input-sentinel): Doc fix. + + * comint.el (comint-mode-map): Added key binding for C-c C-h. + Added menu bars for completion, input and output. + + * comint.el (comint-dynamic-list-input-ring): New function. + + * comint.el (comint-previous-input-string): New subroutine. + (comint-previous-input): Use it. + (comint-previous-matching-input-string): New subroutine. + (comint-previous-matching-input): Use it. + + * comint.el (comint-replace-by-expanded-history): New command. + (comint-magic-space): New command. + (comint-replace-by-expanded-filename): Now replaces + expanded match for a filename, and then calls filename completion + comint-dynamic-complete-filename to do file name completion. + + * comint.el (comint-kill-output): Don't kill prompt. + (comint-show-output): Don't move point if it's + visible where it is, and if point is moved, put it after prompt. + + * comint.el (comint-dynamic-complete): Totally new definition. + (comint-dynamic-complete-filename): New name for old + function comint-dynamic-complete, completes files and lists + candidates, souped up for configurability. + (comint-dynamic-complete-variable): New command. + (comint-file-name-autolist): New variable. + (comint-file-name-addsuffix): New variable, + (comint-file-name-recexact): New variable. + +1993-09-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-save-then-kill): If follows a multi-click selection, + extend the selection. + (mouse-save-then-kill-delete-region): New subroutine. + (mouse-selection-click-count): New variable. + (mouse-drag-region): Set it. + + * ispell.el (ispell-message): New command, with menu bar item. + +1993-09-19 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * menu-bar.el (revert-buffer): + Enable menu item when the buffer is modified. + +1993-09-17 Brian Fox (bfox@inferno) + + * simple.el (kill-region): Use `equal' instead of `eq' to compare + markers `beg' and `end'. They might be two different markers that + point to the same place. + + * rmail.el (rmail-forward): Insert the forwarded message + on the line which follows mail-header-separator, not at the end of + the buffer. + + * diary.el (diary-syntax-table): Make sure that we use a copy of + standard-syntax-table, and not the table itself. + + * compile.el (compile-reinitialize-errors): Use ">=" to compare + `find-at-least' to the `length' of compilation-error-list. + + * simula.el (simula-mode-syntax-table): Make sure that we use a + copy of standard-syntax-table, and not the table itself. + + * compile.el (compile-internal): Back out jimb change of making + buffer read-only. It is non-ergonomic. + + * vc.el (vc-print-log): Delete extraneous lines of RCS output if + present. + + * dired.el (dired-mode): Don't change the value of + case-fold-search. + +1993-09-15 Brian Fox (bfox@inferno) + + * files.el (local-write-file-hooks): Make this variable + buffer-local. + + * dired.el (dired-build-subdir-alist): Call `expand-file-name' to + clean up the subdirectory title (removing extra "./"). + +1993-08-31 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-do-command): Remove debugging output. Use (forward-line + -1) instead of (previous-line 1). + +1993-09-14 Brian Fox (bfox@inferno) + + * rmail.el (rmail-convert-file): If the file is empty, don't + convert it after inserting the BABYL header. + + * cal-dst.el (calendar-absolute-from-time): Fix typo by + interchanging (floor) and (%). + + * byte-opt.el (side-effect-free-fns): Add "-" and "1-" to the + list. + + * subr.el (suppress-keymap): Use substitute-key-definition instead + of manually checking each key (we were using 127 instead of 255 + anyway). + + * loaddefs.el (ctl-x-map): `C-x r c' now runs `clear-rectangle'. + + * texinfmt.el (texinfo-format-region texinfo-format-buffer): Add + ###autoload cookies. + (batch-texinfo-format): Use `buffer-disable-undo' instead of + obsolete function `buffer-flush-undo'. + + * solar.el (s-hemi-seasons n-hemi-seasons): New constants are + hemisphere dependent list of season names. The names are + "international"; i.e., `vernal' and `autumnal' are used + consistently. + (solar-equinoxes-solstices): Use new constants, allowing southern + hemisphere reports to be meaningful. + (sunrise-sunset): Use `frame-width' instead of `screen-width'. + + * calendar.el (calendar-mode): Fix typos in documentation string. + + * outline.el (outline-minor-mode): Force update of modeline when + outline-minor-mode is toggled. + +1993-08-26 Jim Blandy (blandy@comano.cscs.ch) + + * add-log.el (add-log-full-name, add-log-mailing-address): New + variables. + (add-change-log-entry): Don't ask for the login name and site name + separately; instead, prompt for a mailing address; that's more + useful. Set add-log-full-name and add-log-mailing-address, so + that the values specified persist after being specified once. + Create a new change log entry if the mailing address doesn't + match; don't just compare the date, full name, and login name. + +1993-09-01 Brian Fox (bfox@inferno) + + * tex-mode.el (slitex-mode): Add ###autoload magic cookie. + +1993-08-27 Brian Fox (bfox@sonderbar) + + * diff.el (diff): Doc fix. + +1993-08-17 Brian Fox (bfox@inferno) + + * version.el: Changed comment to refer to actual filename + "inc-vers.el" instead of "inc-version.el". + +1993-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-set-region): Put region in kill ring. + (mouse-drag-region): Handle double and triple clicks + when displaying region and when setting it. + (mouse-skip-word, mouse-start-end): New functions. + +1993-09-17 Stig@netcom.com (Jonathan Stigelman) + + * hilit19.el: + - (hilit-rehighlight-region): added (save-restriction (widen)) + to avoid hangups in dired. + - Also slight improvements to fortran patterns and + hilit-default-face-table doc string + - added optional case-fold argument to hilit-set-mode-patterns + - added hilit-rehighlight-buffer-quietly to dired-after-readin-hook + - fixed bug in hilit-string-find that mishandled some strings: "\\" + - work-around for bug in next-overlay-change + - the pattern matcher now starts it's searches from the end of the + most recently highlighted region (which is not necessarily the end + of the most recently matched regex). + - code moved from hilit-highlight-region to hilit-set-mode-patterns. + This will affect you if you pass your patterns directly to + hilit-highlight-region....use a pseudo-mode instead. + - twiddled C/C++, latex, texinfo, fortran, nroff patterns. + - added calendar-mode, icon-mode and pascal-mode patterns + - diverged lisp-mode and emacs-lisp-mode...also added lisp keywords. + +1993-09-17 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * yow.el (read-zippyism): New function. + + * cookie1.el (read-cookie): New function. + +1993-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (directory-abbrev-alist): Doc fix. + +1993-09-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el (perldb): New function, plus subroutines. + + * text-mode.el (indented-text-mode): Make only blank lines + separate or start paragraphs. Doc fix. + + * font-lock.el (font-lock-fontify-region): Don't add `font-lock' props. + (font-lock-unfontify-region): Don't remove `font-lock' props. + (font-lock-hack-keywords): Don't add `font-lock' props. + Handle values other than t and nil for allow-overlap-p specially. + (c-font-lock-keywords-1): Don't override how comments in #if... appear. + Highlight text after #else or #endif. + +1993-09-15 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-version-other-window): New function. + (vc-backend-checkout): Add optional arg workfile, which specifies + where to put the working file. + * vc-hooks.el (vc-prefix-map): Bind C-x v ~ to + vc-version-other-window. + +1993-09-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-forward): Insert the text right after the + header separator. + + * iso-acc.el: Set up keymap at load time. + (iso-accents-mode): Not here. Just setq iso-accents-minor-mode. + (iso-accents-minor-mode): Make it local in all buffers. + +1993-09-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso-acc.el: New file. + Rename `iso-accents' to `iso-accents-mode' and change comments + accordingly. Fix doc strings. + (iso-accents-minor-mode): Now a user option. + (iso-accents-mode): Positive arg means enable. + No arg means toggle. + +1993-09-13 Per Cederqvist (ceder@signum.se) + + * forms.el: Change typos in comments. + (forms-delete-record, forms--update): Use `delete-region' instead of + `kill-line' to avoid messing around with the kill ring. + +1993-09-13 Johan Vromans (jv@mh.nl) + + * forms.el: Release 2.1 for Emacs 19.19. + (forms--process-format-list): No need to prepend a text item + anymore. + (forms--ro-modification-start): Renamed to `forms--iif-start. + (forms--ro-properties): Renamed to `forms--iif-properties'. + (forms--romh): Renamed to `forms--iif-hook'. Rewritten to use + `insert-in-front-hooks' instead of `modification-hooks'. + (forms--romh-post-command-hook): Renamed to + `forms--iif-post-command-hook'. Rewritten to use + `insert-in-front-hooks' instead of `modification-hooks'. + (forms--make-format, forms--make-format-elt-using-text-properties): + Use `insert-in-front-hooks' instead of `modification-hooks'. + Remove `forms--electric' code. Use `front-sticky' and + `rear-nonsticky' text properties to control the insertion of text + between read-only fields. + (forms--show-record): Remove `forms--electric' code. + +1993-09-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sc.el (sc-glom-headers): Bind mark-active around calling region-... + (sc-cite-original): Likewise. + +1993-09-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el (font-lock-fontify-region): Put on `font-lock' + property as well as `face' property. + (font-lock-hack-keywords): Likewise. + + * rmail.el (rmail-convert-file): Narrow to exclude the Babyl header. + +1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * paths.el (rmail-spool-directory): Use "/var/mail/" if + system-type is netbsd. + +1993-09-09 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * rlogin.el: require 'shell. + +1993-09-08 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-backend-steal): Fix typo when invoking the 'rcs' + command to steal the lock. + +1993-09-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * shell.el (shell-dirstack-message): Recognize ~ by matching the + expansion of "~" with comint-filename-prefix prepended. Strip + comint-filename-prefix from elts. + + * comint.el (comint-filename-prefix): New variable. + (comint-replace-by-expanded-filename, comint-dynamic-complete, + comint-dynamic-list-completions): Prepend it to absolute file + names before completing. + * shell.el (shell-cd): New function, like `cd' but prepend + comint-filename-prefix. + (shell-resync-dirs, shell-process-cd, shell-process-pushd, + shell-process-popd): Use shell-cd in place of cd. + * rlogin.el (rlogin): After rlogin-mode, set + comint-filename-prefix locally to indicate the host, and cd to + /HOST:~/. + (rlogin-mode-map): Start with (cons 'keymap shell-mode-map), + rather than with a full copy of comint-mode-map. + + * ange-ftp.el (ange-ftp-file-executable-p): New function, handles + file-executable-p. + +1993-09-07 Ron Schnell (ronnie@media.mit.edu) + + * dunnet.el (dun-save-game): Use correct name of endgame question. + +1993-09-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (hack-local-variables-prop-line): Ignore any specification + for `mode:', since set-auto-mode has already handled it. + (set-auto-mode): Clean up. Handle more than one `mode:' spec in -*-. + + * rmail.el (rmail-convert-file): Exclude the Babyl header + when calling rmail-convert-to-babyl-format. + + * startup.el (command-line): Setq inhibit-startup-message to nil. + +1993-09-06 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * register.el (jump-to-register): Take new optional arg NODELETE + (prefix arg); pass through to set-frame-configuration. + * frame.el (set-frame-configuration): Take new optional arg + NODELETE; if non-nil, don't delete any frames. + + * register.el (window-configuration-to-register): Fix + prompt string in interactive spec. + (frame-configuration-to-register): Likewise. + + * menu-bar.el: Don't clobber existing binding for menu-bar in + global-map. + +1993-09-06 Paul Eggert (eggert@twinsun.com) + + * cal-dst.el (calendar-time-zone-daylight-rules): Remove + special case for Israel. Israel has changed its daylight + savings time rules. We don't know what the current rules are, + but the special case was definitely incorrect. + +1993-09-06 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (tag-exact-match-p): Return true if TAG is the explicit + tag name. + +1993-09-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simula.el: Doc fixes. + (simula-mode-syntax-table): Copy the syntax table. + +1993-08-30 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (next-file): If arg is neither t nor nil, then eval it + to return initial list of files. + (tags-loop-continue): Doc fix. + (tags-search, tags-query-replace): Take optional final arg and pass to + tags-loop-continue (through to next-file) instead of t if non-nil. + +1993-08-29 Paul Eggert (eggert@twinsun.com) + + * solar.el (solar-degrees-to-quadrant): Use `floor' not `truncate'. + (solar-sunrise, solar-sunset, solar-longitude-of-sun): + Undo Aug 19 patch; not needed with new `mod'. + +1993-08-29 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * solar.el (solar-equinoxes-solstices): Invert seasons in southern + hemisphere. Use "Autumnal" not "Fall". + +1993-08-28 Paul Eggert (eggert@twinsun.com) + + * cal-dst.el (calendar-time-zone-daylight-rules): Scan through the + next few years until at most one rule remains; if none remain, then + just use the first candidate rule; it's wrong in general, but it's + right for at least one year. This is a better heuristic in case the + underlying time zone implementation has bugs (which is all too + common). If possible, don't convert back and forth between gregorian + and absolute; this speeds things up noticeably. This uses the new + calendar-nth-named-absday function. + + (calendar-current-time-zone): Some locales start DST at a different + time of day than they end; allow for this by yielding both times. The + performance speedups in calendar.el are great enough that we now no + longer need the "Checking time zone data..." message. If + current-time-zone yields nil, don't bother with + calendar-next-time-zone-transition. Use clearer names for local vars. + + (calendar-time-zone, calendar-daylight-time-offset, + calendar-{standard,daylight}-time-zone-name, + calendar-daylight-savings-{starts,ends}): Default to US Eastern rules + for information that is not available. + + (calendar-daylight-savings-{starts,ends}-time): New vars, replacing + calendar-daylight-savings-switchover-time, to support locales that + start DST at a different time of day than they end. + + (calendar-absolute-from-time): Fix typo by interchanging floor and mod. + + * calendar.el (solar-holidays): Use new + calendar-daylight-savings-{starts,ends}-time vars instead of old + calendar-daylight-savings-switchover-time var. + + (calendar-last-day-of-month): Tune by testing month before year. + (calendar-absolute-from-gregorian): Tune by computing (1- year) once. + + (calendar-nth-named-absday): New function, used to improve performance + in calendar-time-zone-daylight-rules. + (calendar-nth-named-day): Use it. + + * solar.el (solar-time-string): + Use new calendar-daylight-savings-{starts,ends}-time + vars instead of old calendar-daylight-savings-switchover-time var. + +1993-08-26 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-locked-example): Renamed from vc-quiescent-p. Now + yields example of why current directory is not quiescent. All + callers changed to use this. + + * vc-hooks.el (vc-find-file-hook, vc-file-not-found-hook): Use + add-hook to install these hooks. + +1993-08-19 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * solar.el (solar-sunrise, solar-sunset, solar-longitude-of-sun): + Make both arguments to solar-mod float. + + (sunrise-sunset): Change screen-width to frame-width. + + * calendar.el (calendar-absolute-from-iso, + american-calendar-display-form, european-calendar-display-form): + Fix typos in doc strings doc strings. + + (calendar-mode-map): Use "[prior]" and "[next]" in key bindings. + +1993-08-18 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * texinfo.el (texinfo-environment-regexp): Match cartouche. + + * upd-copyr.el (update-copyright): Handle two-digit years with + apostrophes. + +1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.19 released. + + * menu-bar.el (list-buffers-directory): Add declaration. + + * files.el (find-file-noselect): If a find-file-not-found-hook + succeeds, clear `error'. + + * faces.el (x-create-frame-with-faces): Check for `on' or `true' + as reverseVideo resource value. + * frame.el (frame-initialize): Likewise. + + * outline.el (outline-minor-mode-prefix): New variable. + (outline-minor-mode-map): Use it. + (outline-level): New var. Everything funcalls this + instead of calling outline-level. + + * frame.el (frame-initialize): Handle reverseVideo x-resource. + + * subr.el (momentary-string-display): Scroll to keep the string + on the screen. + +1993-08-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): Don't add multiple errors + for one source line. + + * bibtex.el (bibtex-mode-map): Change C-c e to C-c C-b. + + * menu-bar.el (mouse-menu-bar-buffers): Use list-buffers-directory. + + * isearch.el (isearch-edit-string): Use read-event, not read-char. + +1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (backup-inhibited): Doc fix. + + * saveplace.el: New file. + + * bookmark.el: New version from Fogel. + + * mouse.el (mouse-choose-completion): Really go to minibuffer; + no save-excursion. + +1993-08-12 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * tar-mode.el (tar-mode-map): Don't bind C-c. + +1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paragraphs.el (paragraph-start): Doc fix. + + * paren.el (show-paren-command-hook): Do nothing if input is pending. + +1993-08-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (next-error): Handle zero and negative prefix args. + +1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired-aux.el (dired-compress-file): Fix previous change. + + * rmail.el (rmail-forward): Don't bind mail-signature, mail-setup-hook. + + * mouse.el (mouse-drag-region): Mouse in menu bar means scroll up. + + * text-mode.el (indented-text-mode): Doc fix. + + * userlock.el (ask-user-about-supersession-threat): Mention file name + when asking question. + + * paren.el (show-paren-command-hook): Don't use value of make-face. + + * mouse.el (font-menu-add-default): Use list, not cons, for new elt. + Don't get confused if no Misc entry. + + * emerge.el (emerge-find-difference): Add interactive spec. + + * mouse.el (mouse-set-point): Use event-end, not event-start. + + * frame.el (other-frame): Fix error in loop counting. + +1993-08-10 Paul Eggert (eggert@twinsun.com) + + * autoload.el (generate-file-autoloads): Set float-output-format to + nil, not "%.20e", since nil is guaranteed to not lose info on output. + * bytecomp.el (byte-compile-from-buffer): Likewise. + +1993-08-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * startup.el (site-run-file): New variable. + (command-line): Use it. Support -no-site-file. + + * mouse.el (mouse-drag-region): Doc fix. + + * texinfo.el (texinfo-delete-from-print-queue) + (texinfo-tex-buffer): Load tex-mode to get tex-start-shell, etc. + +1993-08-10 Rob Riepel (riepel@Snowflake.Stanford.edu) + + * tpu-edt.el (tpu-help): Use variables for "n" and "p". + (tpu-help-N, tpu-help-n, tpu-help-P, tpu-help-p): New vars. + * tpu-mapper.el: Insert (in buffer) setqs for tpu-help-... variables. + +1993-08-09 Paul Eggert (eggert@twinsun.com) + + * calendar.el (hebrew-holidays-3): Fix misspelling in var name. + + * array.el (abs, ceiling, floor): Remove, since they now redefine + builtin functions. All `ceiling' callers rewritten to invoke `floor'. + + * bytecomp.el: `mod' is no longer an alias for `%'. + * subr.el: Likewise. + + * cal-dst.el (calendar-/, calendar-%): Remove, since floor and mod + now subsume them. All callers changed. + * cal-mayan.el (mayan-mod): Likewise. + * ring.el (ring-mod): Likewise. + * solar.el (solar-mod): Likewise. + + * cl-extra.el (floor*): Use `floor' rather than doing all the work. + + * gnus.el (gnus-caesar-region): Replace `%' by `mod' and simplify. + * rnews.el (caesar-region): Likewise. + * isearch.el (isearch-ring-adjust1, isearch-ring-advance-edit): + Likewise. + * simple.el (current-kill): Likewise. + + * timezone.el (timezone-fix-time): Simplify complicated expression + with `floor'. + (timezone-zone-to-minute): Replace (max X (- X)) with (abs X). + +1993-08-09 Rob Riepel (riepel@Snowflake.Stanford.edu) + + * tpu-doc.el: Added section on local variables. + + * tpu-edt.el (tpu-version): Print version number rather than the RCS + revision number. + + * tpu-edt.el (tpu-next-file-buffer): Bind starting-buffer with let. + * tpu-edt.el (tpu-load-xkeys): Check value of tpu-xkeys-file. + Make sure to use the "*scratch*" buffer. + + * tpu-edt.el (tpu-lm-replace): Changed variable searching-forward + to tpu-searching-forward. + (tpu-substitute): Likewise. + (tpu-toggle-search-direction): Likewise. + (tpu-search-forward, tpu-search-reverse, tpu-set-search): Likewise. + (tpu-search-internal, tpu-adjust-search): Likewise. + + * tpu-extras.el (tpu-search-internal): Changed variable + searching-forward to tpu-searching-forward. + + * tpu-extras.el: Changed "edit-picture-hook" to + "picture-mode-hook" for emacs version 19. + + * tpu-mapper.el (tpu-gnu-map-key): Repaired the key name + generation code to work with the latest version of emacs. + +1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.18 released. + + * tpu-doc.el (enable-local-variables): setq deleted. + * tpu-extras.el (edit-picture-hook): Use add-hook to modify it. + + * server.el (server-visit-files): Restore current-buffer by hand, + not using save-excursion. + + * gud.el (gud-dbx-marker-filter): Detect signals as well as bpts. + + * ange-ftp.el (ange-ftp-send-cmd): Bind ange-ftp-this-... + in the outermost let, not an inner one. + + * comint.el (comint-mode-map): Delete C-c C-y binding. + + * mh-e.el (mh-read-msg-list): Undo previous change. + + * subr.el (minibuffer-window-active-p): New function. + + * mouse.el (mouse-set-point): Error if click in inactive minibuffer. + (mouse-drag-region): Use mouse-set-point. + Don't set a mark if final event wasn't suitable for setting point. + + * etags.el (etags-goto-tag-location): If match started with Ctrl-m, + compensate when setting point. + + * simple.el (shell-command, shell-command-on-region): + Fix bugs in previous change. + + * dired-aux.el (dired-compress-file): For .z file, run gunzip. + When running gzip, see if it made .gz or .z. + (dired-compress): Delete any old entry for new-file. + +1993-08-07 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * vc.el (vc-diff, vc-directory-18): Add missing paren to end of + vc-diff, and remove extra paren from vc-directory-18. + +1993-08-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired-aux.el (dired-diff): Read options right here; + don't try to use diff-read-switches. Always call diff with 3 args. + (dired-backup-diff): Likewise. + + * simple.el (do-auto-fill): Don't keep breaking the line + if it doesn't help matters. + +1993-08-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.el (indent-region): Fix paren error in last change. + + * mouse.el (mouse-save-then-kill): Fix paren error in last change. + +1993-08-06 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + Fix {menu,scroll}-bar-mode so prefix arg of M-- works. + * scroll-bar.el (scroll-bar-mode): If FLAG is non-nil, set it to + its prefix-numeric-value. + * menu-bar.el (menu-bar-mode): Defvar removed. + (menu-bar-mode): Rewritten to parallel scroll-bar-mode. + + * info.el (Info-goto-emacs-command-node, + Info-goto-emacs-key-command-node): Doc fix. + + * help.el (help-for-help): Mention C-k and C-f. + +1993-08-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (after-find-file): Improve warning message about + existing file that can't be read. + +1993-08-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.el (indent-region): Rename arg ARG to COLUMN. + Don't add fill-prefix to empty line. + Don't change whitespace in empty line. + + * mouse.el (help-admin-map): Fix menu item text. + + * font-lock.el (font-lock-fontify-region): + Handle comment-start-skip = nil. + + * rmail.el (rmail-resend): Delete any Sender field. + +1993-08-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * perl-mode.el (perl-mode): Add autoload cookie. + + * paths.el (sendmail-program): Try /usr/sbin/sendmail.el also. + + * mouse.el (mouse-save-then-kill): Don't discard all the normal + undo info; just replace the deletion entry. + + * tpu-edt.el, tpu-doc.el, tpu-extras.el, tpu-mapper.el: New files. + * vt-control.el: New file. + +1993-08-04 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * diary.el (list-diary-entries): Split diary-display-hook into two + pieces, diary-display-hook and diary-hook. If diary-display-hook + is nil, use simple display. + (include-other-diary-files): Set those hooks properly for other files. + + * calendar.el (diary-display-hook): Change default and fix doc string. + (diary-hook): New user variable. + (diary-date-forms, calendar-date-display-form): Don't autoload + them so the European/American style is decided at load time. + +1993-08-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lpr.el (print-region-1): Make END a marker so untabify relocates it. + +1993-08-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-minor-mode): Make variable buffer-local. + (compilation-minor-mode): Autoload this function. + +1993-08-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * man.el (man): Define as alias. + + * paren.el (window-setup-hook): Add hook function. + +1993-08-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * comint.el (comint-dynamic-list-completions): Expand PATHDIR in + call to file-name-completion. + +1993-08-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el: Make boldness/italicness affect frames created later. + (make-face-bold, make-face-italic, make-face-bold-italic) + (make-face-unbold, make-face-unitalic): Update global-face-data. + Ignore a list found in the font slot. + (make-face-bold-internal, make-face-italic-internal): + (make-face-bold-italic-internal): New subroutines. + (x-create-frame-with-faces): If global-face-data's font slot + indicates bold and/or italic, make it so. + +1993-08-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * window.el (shrink-window-if-larger-than-buffer): Pass WINDOW to + pos-visible-in-window-p. + +1993-08-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * completion.el (cmpl-read-time-eval): Make it no-op. + (cmpl-hours-since-origin): Use truncate to make an integer. + (completion-search-reset): Use completion-prefix-min-length. + + * telnet.el (telnet): If we already have a telnet to HOST, + just switch buffers. + +1993-08-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * frame.el (other-frame): Skip iconified and invisible frames. + +1993-08-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * replace.el (occur-mode-goto-occurrence): Give meaningful error + message if there's nowhere useful to go. + +1993-08-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * comint.el (comint-dynamic-complete): If called interactively + twice in a row, give the completion list. + + * comint.el (comint-dynamic-complete): Expand PATHDIR in call to + file-name-completion. + + * comint.el (comint-dynamic-completion): Say "Sole completion", + not "Unique completion". + + * frame.el (other-frame): New function, analogous to other-window. + (ctl-x-5-map): Bind C-x 5 o to other-frame. + +1993-08-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (add-hook): Change a single function into a list. + + * lucid.el (remove-hook): Doc string added. + Change a single function into a list. + + * sendmail.el (mail-yank-hooks): Initialize to nil. + (mail-yank-original): If mail-yank-hooks is nil, + call mail-indent-citation. + + * c-mode.el (indent-c-exp): Don't document ENDPOS. + (c-indent-region): Rewrite to use indent-c-exp on one sexp at a time, + then use c-indent-line on the next line, etc. + + * bytecomp.el (byte-recompile-directory): At end of compiling a file, + put back the "Checking DIR..." message. + +1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (etags-tags-completion-table): Fixed regexp for today's + format. + (etags-snarf-tag): Skip explicit tag name if present. + +1993-08-01 Paul Eggert (eggert@twinsun.com) + + * dissociate.el (dissociated-press): + Use `(random N)' instead of while loop. + * dunnet.el: (dun-endgame-question, tcom, tloc): + Use (random N) instead of combination of %, abs and random. + * life.el (life-insert-random-pattern): Simplify (% (abs (random)) N) + to (random N). + * cookie1.el (pick-random): Remove. + All callers changed to use `random' instead. + * gomoku.el (random-number): Likewise. + * mpuz.el (mpuz-random): Likewise. + + * emerge.el (emerge-default-[AB]): Use (zerop (% A B)) instead of + (= (* (/ A B) B) A). + +1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (event-click-count): New function. + + * texinfmt.el: Installed the version from the Texinfo package. + + * dired.el (dired-sort-mode): Variable deleted. + Don't display it in mode line. + (dired-sort-set-modeline): Set mode-name instead. + + * etags.el (visit-tags-table-buffer): New local named + visit-tags-table-buffer-cont copies cont. + (tags-table-including): Set that, instead of cont. + + * c-mode.el (indent-c-exp): Don't move an { from column 0. + +1993-07-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tar-mode.el: Fix doc strings and error message syntax. + Add menu bar items. + (tar-subfile-mode): Set a local-write-file-hook + rather than using key bindings. + (tar-subfile-save-buffer): Return t. + + * add-log.el (change-log-mode): Use \f for formfeed, to avoid + syntax error. + + * isearch.el (isearch-done): Move point (for small window) + before deciding whether to set the mark. + + * man.el (Man-build-references-alist): When setting word, + use only what Man-reference-regexp matched. + (Man-reference-regexp): Don't match starting with a period. + (Man-first-heading-regexp): Allow leading space. + (Man-heading-regexp): Allow leading space. + (Man-section-translations-alist): Add entries for xlib. + + * completion.el (completion-version): New variable. + (save-completions-to-file): Use completion-version. + + * tex-mode.el (validate-tex-buffer): Record mismatches in *Occur*. + + * files.el (basic-save-buffer): When we read a file name, + use set-visited-file-name to put it in. + + * mouse.el (mouse-choose-completion): Actually choose that alternative, + don't just insert its name. + + * simple.el (shell-command-history): New variable. + (shell-command, shell-command-on-region): Use it. + +1993-07-30 Paul Eggert (eggert@twinsun.com) + + * window.el (shrink-window-if-larger-than-buffer): Do nothing if the + window is the only window of its frame. If the buffer ends in newline + and point is not at the end of the buffer, do not display the + last (empty) line. + + * vc.el (vc-shrink-to-fit): Deleted. All callers changed to use + the new, fixed `shrink-window-if-larger-than-buffer' instead. + In some places move it after a (goto-char (point-min)). + +1993-07-30 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * blackbox.el (blackbox-mode-map): Now that we have + terminal-independent function-key facilities, we ought to use + them. Remove hack which looks for all bindings for the simple + motion keys and locally binds them to blackbox keys; add bindings + for the [up], [down], [left], and [right] keys. + + * frame.el (frame-notice-user-settings): If we had to create a new + frame in order to obey initial-frame-alist, use delete-frame's + FORCE argument to get rid of the old frame even if the new one + hasn't been mapped yet. + +1993-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): When we take one word + after the fill column, don't stop at period with just one space. + When checking whether at beginning of line, if no fill prefix, + ignore intervening whitespace. + +1993-07-30 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * gud.el (gud-gdb-marker-filter): Preserve the match data across + the filter's execution. + + * gud.el (gud-gdb-marker-filter): If we received some text after + the position marker, append it to any text before the marker, + instead of throwing away the text before the marker. + +1993-07-30 David Gillespie (synaptx!daveg@uunet.UU.NET) + + * cl.el: File totally replaced. + * cl-compat.el, cl-extra.el, cl-macs.el, cl-seq.el: New files. + + * info.el (Info-fontify-node): New function. + (Info-fontify): New variable. + (Info-mode): Initialize Info-related faces. + (Info-select-node): Fontify the node if necessary. + + * info.el (Info-goto-node): Provide completion for node names. + (Info-read-node-name, Info-build-node-completions): New functions. + (Info-current-file-completions): New variable. + (Info-find-node): Clear completions cache. + + * info.el (Info-next-reference, Info-prev-reference): New commands. + (Info-mode-map): Bind these to TAB and M-TAB. + (Info-next-preorder): Special case if sitting on "*Note" reference. + + * info.el (Info-standalone): New variable. + (Info-exit): Exit Emacs if in standalone mode. + (info-standalone): New function. + + * info.el (Info-summary): Added `bury-buffer' call. + (Info-no-error): Renamed from `no-error'. + (Info-suffix-list): Put ".info" before "" to deal with directory + named "foo" next to file "foo.info". + +1993-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fill.el (fill-region-as-paragraph): Move misplaced paren + ending `(if (eobp) nil ...)'. + In the loop that avoids breaking after `.' with one space, + break if we actually have two spaces. + +1993-07-30 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Broaden RS6000 + regexp to match "lines N-M," or "line N,". + +1993-07-29 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * gud.el (gud-gdb-marker-filter): Do not assume that the position + markers from GDB will always be received in one chunk of input; + gud-gdb-marker-filter may be called several times, each time + providing a little more of the position marker. + (gud-gdb-marker-acc): New variable. + (gud-gdb-marker-filter): If we have received what could be the + beginning of a position marker, hold that text in + gud-gdb-marker-acc for the next time we get called, until we have + enough information to decide for sure. + + * gud.el (gud-gdb-marker-filter): Only recognize GDB position + markers if they occur at the beginning of the line. They always + do, and this reduces the likelihood that the above change will + hold back output that isn't really a position marker. + + * mpuz.el (mpuz-board): Doc fix. + +1993-07-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gud.el (dbx): Use %d in gud-break. + (gud-format-command): Support %d. Delete spurious progns. + + * etags.el (etags-goto-tag-location): Handle selective display. + + * sendmail.el: Do the global key bindings only via loaddefs.el, + not when sendmail.el is loaded. + + * buff-menu.el (Buffer-menu-mode-map): Undo previous change. + + * rmail.el (rmail-nuke-pinhead-header): Tell replace-match not to + alter the case. + (rmail-toggle-header, rmail-reformat-message): Ignore case + when checking for Summary-line. + + * calendar.el (calendar-mode-map): Bind C-SPC. + +1993-07-29 Paul Eggert (eggert@twinsun.com) + + * (vc-mode-line): Set vc-mode to nil if FILE no longer is + version-controlled. + +1993-07-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (delete-frame): Permit it, if > 1 frame is vis or iconic. + +1993-07-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * man.el (Man-find-section): HP/UX man pages have section names + indented by a single space; recognize them. + + * gud.el (gud-last-last-frame): Specify initial value. `dbx' + doesn't work unless we do. + +1993-07-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * c-mode.el (calculate-c-indent): When checking whether function decl + is inside a comment, move back to the `(' that starts the arglist. + +1993-07-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-convert-file): If file needs conversion, + convert it all. + + * macros.el (name-last-kbd-macro): Handle macros that are vectors. + + * man.el (Man-filter-list): Insert \n newlines in awk script. + + * time-stamp.el (time-stamp): Add autoload cookie. + +1993-07-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * comint.el (comint-replace-by-expanded-filename, + comint-dynamic-complete): Say "Sole completion" instead of "Unique + completion", for consistency with the rest of the known universe. + +1993-07-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sc.el: Require assoc instead of sc-alist. + * sc-alist.el: File deleted. + + * gnus.el (gnus-apply-kill-hook): Make the value a list of functions. + (gnus-mark-article-hook, gnus-select-digest-hook): Likewise. + (gnus-select-article-hook, gnus-select-group-hook): Likewise. + +1993-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bytecomp.el (byte-recompile-directory): Doc fix. + + * term/x-win.el (iconify-or-deiconify-frame): New function. + Use it for C-z. + +1993-07-27 Paul Eggert (eggert@twinsun.com) + + * vc-hooks.el (vc-rcs-status): Removing any trailing "-". + +1993-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cplus-md.el (c++-mode-syntax-table): Don't alter syntax of '. + + * term/x-win.el (x-handle-iconic): New function. + (command-switch-alist): Use that. + (x-switch-definitions): Delete elt for `-iconic'. + + * gud.el (dbx): For gud-break, send a file command and a stop command. + + * diary.el: Doc fixes. + +1993-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (font-menu-add-default): New function. + * startup.el (normal-top-level): Call font-menu-add-default. + +1993-07-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * simple.el (read-expression-history): New defvar. + (eval-expression): Use it has history var in interactive spec. + +1993-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (frame-notice-user-settings): Don't reapply a parm + whose value is ot changed (as far as we know) since frame-initialize. + + * simple.el (kill-ring-save): Delete spurious `message' call. + (set-mark): If POS is nil, call deactivate-mark. + + * c-mode.el (indent-c-exp): When previous line ends in comma, + use calculate-c-indent. Fix the "inner loop" to properly detect + a line that ends outside of comments and strings. + + * cplus-md.el (c++-mode-syntax-table): Handle C-style comments. + + * files.el (insert-directory): Make sure default-directory is absolute. + + * dired.el (dired-readin-insert): If we got a list of files, + pass nil for WILDCARD arg to dired-insert-directory. + +1993-07-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-backend-steal): Pass arg omitted in last change. + + * term/x-win.el (x-selection-timeout): Use 20000 as default. + + * mouse.el (x-fixed-font-alist): Give some fonts long patterns. + Delete 9x15 bold and 8x13 and 8x13 bold. Add some fonts. + + * term/x-win.el (x-select-text): Never set the CLIPBOARD selection. + (x-cut-buffer-or-selection-value): Try PRIMARY before cut buffer. + (x-cut-buffer-max): Set based on x-server-max-request-size. + +1993-07-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unrmail.el (unrmail): Total rewrite. + * rmailout.el (rmail-output): New arg NOATTRIBUTE. + + * rmailout.el (rmail-output-to-rmail-file): Set rmail-last-rmail-file + while reading the interactive args. + (rmail-output): Likewise, for rmail-last-file. + (rmail-output-to-rmail-file): Use default-file consistently. + + * replace.el (occur): If no default, don't mention one. + + * rmail.el (rmail-last-rmail-file): Initialize to a file name. + (rmail): Don't set rmail-last-rmail-file. + + * info.el (Info-select-node): Run Info-selection-hook. + + * ispell.el (ispell-point): Do nothing if there's no word at START. + +1993-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * doctor.el (doctor-type-symbol): Win if auto-fill-function is nil. + + * edt.el (advance-direction): Set kp-f3, not kp-f1. + + * term/x-win.el (x-select-text): Always set the cut buffer, + but sometimes set it to nothing. Don't put large strings in clipboard. + + * dired.el (dired-readin-insert): Don't use the "whole directory" + case if DIR-OR-LIST is a list. + + * font-lock.el (font-lock-after-change-function): + Scan for comments and strings from beg of line. + (c-font-lock-keywords-1): Recognize &, like *, before fn name. + (perl-font-lock-keywords): Put digit 1 into function-name-face items. + Allow whitespace before the open-brace. + + * sort.el (sort-skip-fields): Really implement fields as runs + of nonwhitespace chars. + (sort-fields, sort-float-fields, sort-numeric-fields): + Don't subtract 1 when calling sort-skip-fields. + +1993-07-22 Ron Schnell (ronnie@media.mit.edu) + + * dunnet.el (dun-special-object): Fixed so that bus will + explode if falls through hole instead of making adventurer + trapped in room with no escape and no way off the bus. + +1993-07-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (x-select-text): Limit size of text sent to cut buffer. + + * subr.el (keyboard-translate): Properly lengthen existing table. + + * files.el (set-auto-mode): Fix backwards test + involving inhibit-local-variables-regexps. + + * loaddefs.el (ctl-x-map): Correct C-x r t to string-rectangle. + + * paren.el (show-paren-command-hook): Specify buffer for move-overay. + +1993-07-22 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-backend-revert): Use `co -f' instead of deleting the + working file ourselves; that way, if `co' fails, we won't have + deleted the working file. + (vc-backend-steal): Don't delete the working file. Use `rcs -u -l', + not `rcs -u ; rcs -l'; it's faster. Use vc-backend-dispatch -- the + old code couldn't have possibly worked. + +1993-07-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): If LIST is nil, just return. + + * mouse.el (mouse-secondary-save-then-kill): When making the undo item, + use an integer, not a marker, for the position. + + * rmail.el (rmail-forward): Call rmail-start-mail for new frame + even if just one window. + (rmail-start-mail): Return what mail-other-frame returned. + + * mouse.el (mouse-set-font): Update faces bold, italic and bold-italic. + + * completion.el (complete): Use sit-for, not cmpl19-sit-for. + + * simple.el (completion-list-mode): Renamed from completion-mode. + (completion-list-mode-map): Likewise. + + * files.el (parse-colon-path): Really make nil, not ".", + for empty path element. + +1993-07-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): Bind float-output-format. + Bind print-escape-newlines. + + * inc-vers.el: Try deleting version.el if it's not writable. + + * term/lk201.el: Explicitly define kp-f1... + + * tar-mode.el (tar-parse-info, tar-header-offset, tar-superior-buffer) + (tar-superior-descriptor): Make them permanent locals. + (tar-mode): Call kill-all-local-variables. + Locally set enable-local-variables to nil. + + * man.el (Man-set-fonts): Don't look for another char after + the backspace; instead look for a sequence CHAR BS CHAR BS CHAR BS... + Delete all the CHAR BS pairs found, after making the text property. + + * c-mode.el (indent-c-exp): If ENDPOS, always set OPOINT + to the function start. And don't indent a line which is past ENDPOS. + Don't indent a comment on the first line if it's the only + thing on that line. + Call calculate-c-indent-within-comment when appropriate. + + * mouse.el (mouse-drag-region): Use deactivate-mark. + + * font-lock.el (perl-font-lock-keywords): Add a `(... . 1)' to the + first element of the list. + (font-lock-hack-keywords, font-lock-unfontify-region) + (font-lock-fontify-region): Bind buffer-read-only to nil, + and don't alter buffer-modified-p. + (font-lock-fontify-region): Use comment-start-skip, not comment-start. + +1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buff-menu.el (Buffer-menu-mode-map): Bind delete like DEL. + + * files.el (parse-colon-path): Turn empty substring into nil. + + * sendmail.el (mail-bury): Check that frame-parameters is defined. + + * font-lock.el (font-lock-function-name-face): defvar renamed. + (font-lock-hack-keywords): Evaluate face specs from keyword list. + + * dunnet.el: New version from Schnell, to fix possible bad patch run. + + * subr.el (define-key-after): Fix typo in previous change. + + * outline.el (outline-mode-map): Delete spurious `outline-' + from show and hide command names in menu. + + * ange-ftp.el (file-name-handler-alist): Have two separate regexps + with different hooks. + * files.el (ange-ftp-completion-hook-function): New function. + + * paren.el (show-paren-face): New variable. + (show-paren-command-hook): Use it. + Call set-face-background properly. + + * reposition.el (reposition-window): Don't forward-char if eobp. + + * startup.el (normal-top-level): Call abbreviate-file-name again + after calling command-line. + + * rmailedit.el (rmail-edit-map): Inherit properly from text-mode-map; + use the whole thing, not its cdr. + + * man.el (Man-getpage-in-background): Copy process-environment + so we only alter the copy. + + * mh-e.el (mh-read-msg-list): Add space to message-number regexp. + +1993-07-19 Paul Eggert (eggert@twinsun.com) + + * vc-hooks.el (vc-rcs-status): Use "-", not " ", to separate locks, + so that the RCS minor mode label doesn't contain internal spaces. + +1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-unmark-all-files-no-query): New command. + (dired-mode-map): Use that for the Unmark All item. + Fix typo that made the Flag Backup Files item not show up. + + * mlconvert.el (while): Comment out converter. + + * calendar.el (hebrew-holidays): Split into 4 sub-variables. + +1993-07-19 Masanobu UMEDA (umerin at orchid) + + * gnus.el (gnus-emacs-version): New variable. + (gnus-version): Updated to 4.1. + (gnus-newsrc-to-gnus-format): Use different regexp in 18 and 19. + (gnus-group-startup-message): Use gnus-emacs-version. + + * gnuspost.el (gnus-current-time-zone): Fix typo. + (gnus-inews-organization): Fix zero length string operation bug. + + * metamail.el (metamail-environment): Format changed. It + must be a list of strings that have the format ENVVARNAME=VALUE. + (metamail-region): Corresponding changes. + + * metamail.el (metamail-region): Optional 2nd argument NODISPLAY + controls redisplay behavior. + (metamail-buffer): LIkewise. + +1993-07-19 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * menu-bar.el (mouse-menu-bar-buffers): Add Frames pane if there + are multiple panes. + +1993-07-18 Paul Eggert (eggert@twinsun.com) + + * vc-hooks.el (vc-rcs-status): Omit "LOCKER:" if you are the locker. + +1993-07-18 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * vc.el (vc-comment-to-change-log): Complete rewrite. Do not use + vc-update-change-log. Instead, snarf last comment from + vc-comment-ring and insert it with add-change-log-entry. + + * add-log.el (prompt-for-change-log-name): Autoload this (for + vc-comment-to-change-log). + (add-change-log-entry): Take optional fourth arg NEW-ENTRY. If + non-nil, never append to an existing entry. + (change-log-fill-paragraph): New function. + It might be nice to have a general feature to replace this. The + idea I have is a variable giving a regexp matching text which + should not be moved from bol by filling. change-log-mode would + set this to "^\\s *\\s(". But I don't feel up to implementing + that today. + (change-log-mode-map): New defvar for keymap. Bind M-q to + change-log-fill-paragraph in it. + (change-log-mode): Use that as local map. + + * add-log.el (add-log-current-defun-function): New defvar. + (add-change-log-entry): Call its value if non-nil instead of + add-log-current-defun. + (add-change-log-entry-other-window): Doc fix. + + * compile.el (compilation-error-list): An elt's cdr's car is again + a cons (DIRECTORY . FILE) if it's not a marker. The conversion to + using a string containing an expanded file name was never + finished, and anyway it utterly broke compilation-search-path and + a few other things. + (next-error): Expect them that way. + (compilation-parse-errors): Make them that way. + (compile-file-of-error): Function removed. + (compilation-error-filedata, compilation-error-filedata-file-name): New + defsubsts. + (compilation-next-file): Use them instead of compile-file-of-error. + +1993-07-18 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (update-file-autoloads): + Go to the beginning of FILE before searching it + for generate-autoload-cookie. + + * cookie1.el (cookie, cookie-insert, cookie-snarf, shuffle-vector): + Autoload these. + +1993-07-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.17 released. + + * makeinfo.el: Don't (require 'texinfmt) - that file doesn't exist + any more; all its functions have been moved into other files. + + * files.el (insert-directory): Doc fix. + + * files.el (insert-directory): If FULL-DIRECTORY-P is non-nil, + add "." component to the end of the path, so that if file is a + symlink, we get the contents of the directory, not the symlink + itself. + +1993-07-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tar-mode.el (tar-extract): Use view-exit-action to kill viewed buf. + + * view.el: Doc fixes; some args renamed. + + * gnus.el (gnus-info-nodes): Update node names. + + * makeinfo.el (makeinfo-options): Fix option syntax in initial value. + + * texinfo.el (texinfo-mode): Undo changes mistakenly added with + previous batch: texinfo-{start,end}-of-header are now tex-... + +1993-07-17 Johan Vromans (jv@mh.nl) + + * forms.el: New version 2.0. + Redesigned and rewritten to use Emacs 19 text properties. + Requires Emacs 19.16 or later. + +1993-07-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/x-win.el: Include (invocation-name) in the error messages + which might occur during startup. + + * shell.el (shell-process-pushd): Fix syntax error in + condition-case. + +1993-07-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (revert-buffer): Make menu-enable form more accurate + using revert-buffer-function and verify-visited-file-modtime. + (menu-bar-help-menu): Put back under global-map. + (menu-bar-final-items): Set it. + + * mh-e.el (mh-yank-hooks): Use (mark t). + (mh-new-draft-name): Likewise. + +1993-07-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * comint.el (comint-{next,prev}-prompt, comint-send-eof): New defuns. + (comint-mode-map): Bind C-c C-n, C-c C-p, and C-c C-d to those. + Bind C-c C-y to comint-previous-input, for compatibility with v18 + shell.el. + +1993-07-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * advice.el (ad-start-advice-on-load): Initialize to t. + +1993-07-16 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * term/x-win.el: Make the `-rn NAME' option specify a resource + name, as documented, and not a resource database string. Make + `-name NAME' act like `-rn NAME' and also set the name of the + initial frame. + (command-switch-alist): Process the `-rn' and `-name' options + using the x-handle-name-rn-switch function. + (x-handle-name-rn-switch): New function, which sets the + x-resource-name variable. + (opening connection): Make sure x-resource-name is valid. If it's + not a string, set it to (invocation-name), with any periods or + asterisks changed to hyphens. + + * term/x-win.el: Make the `-xrm STRING' option specify a resource + database string. `-rn' used to behave this way. + (command-switch-alist): Process the `-xrm' switch using + x-handle-xrm-switch. + (x-handle-xrm-switch): Renamed from x-handle-rn-switch; this + function does the right thing for `-xrm', not for `-rn'. + +1993-07-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-bury): If selected frame is dedicated, + and there are other visible frames, delete this frame. + + * rmail.el (rmail-mail-new-frame): New variable. + (rmail-start-mail): New function. + (rmail-mail, rmail-continue, rmail-reply, rmail-forward) + (rmail-retry-failure): Use rmail-start-mail. + +1993-07-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (face-equal): Don't mess with face-background-pixmap. + + * ispell.el (ispell-menu-map): Add missing quote in defalias. + (ispell-window-configuration): Initialize to nil. + + * vc-hooks.el (vc-rcs-status): Make work buffer's name start w/ space. + + * simple.el (completion-setup-function): Insert the mouse help message + only if non-nil `window-system'. + + * paren.el: Enable the hook only if window-system. + Clear blink-paren-function at the same time. + (show-paren-command-hook): If after a closeparen, + highlight that closeparen as well as matching open. + Use a different color for a mismatch, if color screen. + +1993-07-15 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * assoc.el (asort): First argument should be named alist-symbol, + not assoc-symbol. + +1993-07-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (server-done): Let save-buffer make the backup, + so that make-backup-files remains effective. + + * loaddefs.el: Delete C-x a C-h binding. + + * menu-bar.el (help-menu-bar-map): Put the Help item in this map. + +1993-07-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * isearch.el (isearch-edit-string): Bind isearch-nonincremental to + its own value, not to nil. + +1993-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * hippie-exp.el: Renamed from hippie.el. + +1993-07-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * compile.el (compilation-parse-errors): After skipping two lines, + move one char back so point is before the newline. + +1993-07-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * gud.el (gud-debugger-startup): Replaced with gud-massage-args. + (gud-{gdb,sdb,xdb}-debugger-startup): Replaced with gud-*-massage-args. + (gdb, sdb, xdb): Argument is command line, not args for it. Remove + debugger name from prompt and put it in the default input instead. + Overload gud-massage-args instead of gud-debugger-startup. + (gud-chop-words): New function; subr for gud-common-init. + (gud-common-init): Argument is command line, not args for it. + Rewritten to use gud-chop-words instead of temp buffer and kludge + involving read. Find the program name as the first word of the + command line. Use make-comint and gud-massage-args in place of + gud-debugger-startup. + Expand the file name before passing it to gud-massage-args. + +1993-07-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * spook.el (snarf-spooks): Restore function. + + * cookie1.el (cookie-cache): New defvar. + (cookie-snarf): Cache cookies in cookie-cache, not in obarray (idiot). + Also store the modtime and punt the cache when it changes. + +1993-07-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Changes from Anders Holst, to bring hippie-expand up to version 1.2: + * hippie-exp.el (hippie-expand-max-buffers): New variable. + (try-expand-line-all-buffers, try-expand-list-all-buffers, + try-expand-dabbrev-all-buffers): Use it. + (try-expand-list, try-expand-list-all-buffers): New functions. + (he-string-beg, he-string-end, he-search-loc): These values are + now markers, not integers. Uses changed. + (he-reset-string, he-substitute-string): Use a marker to preserve + the old position of point. + (try-expand-all-abbrevs): handle case the same way as the + usual expand-abbrev (which is not a very good way, but for + consistency...). + (he-dabbrev-beg): Use `skip-syntax' instead of `skip-chars', to + adjust its behavior to different modes. + (hippie-expand): Don't messages which try function it is using, + when the expansion itself is done in the minibuffer (it was very + annoying to have the message obscuring the expansion). + (try-complete-file-name, try-complete-file-name-partially, + try-complete-lisp-symbol, try-complete-lisp-symbol-partially, + try-expand-line, try-expand-line-all-buffers, + try-expand-all-abbrevs, try-expand-dabbrev, + try-expand-dabbrev-all-buffers): No unnecessary "resetting" of the + epansion, when no expansion is done (caused the buffer to be + marked as changed, although nothing was done, among other things). + (he-reset-string): Undoing of last expansion at a later occasion, now + undoes correctly (before, it garbled things up). + (make-hippie-expand-function): now uses "(function ...)" + instead of "'" (matters for compilation). + (try-expand-line, try-expand-line-all-buffers, + he-line-search-regexp): uses `comint-prompt-regexp' instead of + `shell-prompt-pattern', to strip off prompt in process buffers. + +1993-07-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): + Fix FILE truename hacking to substring + SOURCE-TRUENAME instead of FILE. + +1993-07-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (copy-face): New arg NEW-FRAME. + (list-faces-display): New command. + + * simple.el (completion-mode): New major mode. + (completion-setup-function): New function. + Add it to completion-setup-hook. + + * mouse.el (mouse-choose-completion): New function. + + * dunnet.el: Many functions and variables renamed. + + * sendmail.el (mail-bury): New function. + (mail-send-and-exit): Call mail-bury. + (mail-dont-send): New command, with menu bar binding. + + * compare-w.el (compare-windows-skip-whitespace): New function. + (compare-windows): Use that. + (compare-windows-whitespace): Value is now regexp. + + * rmail.el (rmail-insert-inbox-text): If inbox is not in the + spool dir, try copying before renaming. + +1993-07-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * shell.el (shell-prompt-pattern): Don't match more than one line. + Doc fix. + + * bytecomp.el (byte-compile-from-buffer): Bind float-output-format + to "%.20e", not "%20e"; the latter is always ignored, since it + doesn't have a decimal point after the percent sign. + +1993-07-12 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): Correctly detect when the + buffer receiving the autoload forms is in a parent of or the same + directory as FILE, even in the presence of symlinks. + +1993-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (define-key-after): Error if KEY has two elements. + + * dired.el (dired-mode-map): Add menu bar items. + +1993-07-12 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * autoload.el (generate-file-autoloads): Correctly detect when the + buffer receiving the autoload forms is in a parent of or the same + directory as FILE. + +1993-07-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ange-ftp.el: Install the correct regexp in + file-name-handler-alist. + + * term/x-win.el: Recognize affirmative values for reverseVideo + properly. Include "on" in the list of recognized values. + +1993-07-12 Paul Eggert (eggert@twinsun.com) + + * vc-hooks.el (vc-rcs-status): Include head version number + in mode line if there are no locks. + +1993-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-file-menu): Add menu item for dired. + + * menu-bar.el (ispell-menu-map): New autoload definition. + (menu-bar-edit-menu): Add "Spell" item. + * ispell.el (ispell-menu-map): New keymap--both fn and var. + + * loaddefs.el (mode-line-buffer-identification): Doc fix. + +1993-07-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * calendar.el (calendar-holidays): Don't autoload this; its value + must be set after the user's .emacs file is loaded. + +1993-07-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paren.el (show-paren-command-hook): Do nothing if not window-system. + +1993-07-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailout.el (rmail-output): If file is an Rmail file, + use rmail-output-to-rmail-file. + (rmail-output-to-rmail-file): If file exists + and is not an Rmail file, use rmail-output. + If we find an element in rmail-output-file-alist, eval it. + (rmail-file-p): New function. + (rmail-output-file-alist): Now contains expressions to eval. + + * font-lock.el: New file. + + * bytecomp.el (byte-compile-setq-default): + Generate a progn of calls to set-default, then compile it. + + * menu-bar.el (mouse-menu-bar-buffers): + Don't lose if all buffer names are short. + + * dunnet.el: New file. + +1993-07-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * loaddefs.el (global-map): Bind M-next to scroll-other-window. + + * compile.el (compilation-error-regexp-alist): + Broaden ``Line N of "FILE": msg'' regexp + to also match Ultrix f77: ``Error on line N of FILE: msg''. + +1993-07-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Make everything that deactivates the mark do it consistently. + * simple.el (deactivate-mark): New function. + (kill-ring-save, pop-mark, keyboard-quit): Call it. + * ispell.el (ispell): + Call deactivate-mark instead of setting mark-active directly. Do + this regardless of transient-mark-mode. + * isearch.el (isearch-done): + Call deactivate-mark instead of setting mark-active + directly. Do this regardless of transient-mark-mode. + +1993-07-08 Richard Stallman (rms@churchy.gnu.ai.mit.edu) + + * files.el (basic-save-buffer): Use after-save-hook. + +1993-07-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * simple.el: Put error-conditions and error-message properties on + 'mark-inactive. + (mark): Signal 'mark-inactive instead of using error with a message. + +1993-07-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mailabbrev.el (mail-abbrev-end-of-buffer): Fix interactive spec + to "P", same as end-of-buffer. + +1993-07-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * hanoi.el: Add (provide 'hanoi). + +1993-07-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (file-relative-name): If we use default-directory, + call expand-file-name anyway. + + * texnfo-upd.el (texinfo-update-node): Bind auto-fill-hook + as well as auto-fill-function. + (texinfo-sequential-node-update): Likewise. + +1993-07-07 Robert J. Chassell (bob at grackle) + + * texnfo-upd.el: Fix typo re `texinfo-sequential-node-update.' + Ensure that no commands depend on the value of + case-fold-search. + Rewrite messages. Avoid using `mark-whole-buffer'. + + (texinfo-start-menu-description): + New function to insert title as description in a menu. + (texinfo-make-menu-list): Remove automatic title insertion. + (texinfo-master-menu): Error message if file + contains too few nodes for a master menu. + Handle the case where no master menu was inserted. + (texinfo-insert-master-menu-list): Only attempt to insert detailed + master menu if there is one. + Insert a master menu only after `Top' node and before next node. + + (texinfo-check-for-node-name): Offer section title as prompt. + (texinfo-copy-next-section-title): Copy title correctly. + Handle failure to find @node. + (texinfo-copy-menu): Error message if menu empty. + (texinfo-pointer-name): Find only those + section commands that are accompanied by `@node' lines. + (texinfo-section-types-regexp): Look for subh and subs, not just sub. + (texinfo-make-one-menu): Copy node-name correctly for message. + (texinfo-copy-menu-title): Copy title as it + should rather than node line. + + (texinfo-find-higher-level-node): Stop search at limit. + Special handling for `top' and `chapter' levels. + (texinfo-copy-menu-title): Rewrite to handle outer include files. + (texinfo-multi-file-update): Update all nodes properly (and sooner); + rewrite doc string and interactive. Copy title properly. + (texinfo-all-menus-update): Fixed typo that + caused the function to create a master menu when it shouldn't. + Update pre-existing master menu, if there is one. + + (texinfo-incorporate-descriptions): Use a regexp search to look for + both kinds of menu item. + (texinfo-menu-indent-description): Likewise. + (texinfo-incorporate-menu-entry-names): New function. + (texinfo-insert-menu): Handle both kinds of menu item. + (texinfo-multi-files-insert-main-menu): Likewise. + (texinfo-update-node): Pass t as second arg to push-mark. + (texinfo-sequential-node-update): Likewise. + (texinfo-insert-node-lines): Bind `title' at a higher level. + Don't find previous @node if it's close. + Take region to process as arguments. + (texinfo-multiple-files-update): Handle prefix arg better within + `interactive'. Canonicalize the blank lines. + +1993-07-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (update-file-autoloads): + Correctly do nothing when there are no cookies. + +1993-07-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * menu-bar.el (mouse-menu-choose-yank): + Change menu title to "Choose Next Yank". + +1993-07-07 Paul Eggert (eggert@twinsun.com) + + * vc-hooks.el (vc-rcs-status): Removed unused variable `status'. + + * rmail.el (rmail-resend): Use RFC 822 style date in Resent-Date: line. + * sendmail.el (mail-do-fcc): Likewise, for appending Date: lines to + RMAIL mode buffers. Use new `mail-rfc822-time-zone' function + to simplify pinhead generation. + * mail-utils.el (mail-rfc822-time-zone, mail-rfc822-date): New fns. + +1993-07-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * files.el (cd-absolute): Use abbreviate-file-name on expansion of DIR. + + * gud.el: Add (provide 'gud). + + * files.el (basic-save-buffer): + Invoke after-save-hook, not after-save-hooks. + + * time.el (display-time-file-nonempty-p): Use file-chase-links. + + * bytecomp.el (byte-compile-setq-default): Handle multiple pairs + args like setq (as the setq-default subr does). + + * autoload.el: Doc fix. + +1993-07-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-variables): Compare truename as well as given name + against rmail-file-name. + + * man.el (Man-mode-line-format): Add a space after global-mode-string. + +1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.16 released. + +1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * vc.el (vc-start-entry): Don't call file-name-nondirectory on + FILE before passing it to vc-mode-line. Everyplace else passes + vc-mode-line full filenames, and vc-mode-line now needs the real + file name to decide which version-control system the file is under. + + * man.el (Man-build-man-command): Don't leave a pipe symbol at the + end of the command list if Man-filter-list is nil. + (Man-default-man-args): Don't write out assq and mapconcat. + (Man-default-man-entry): Don't default to section 2 for C-mode. + Call Man-default-man-args, and let people use + Man-auto-section-alist if this is what they want. + (manual-entry): Call Man-translate-references, instead of writing + it out. + (Man-getpage-in-background): Don't apply Man-default-man-args + here; manual-entry has already run it, and + Man-follow-manual-reference provides the sections itself. + +1993-07-05 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * map-ynp.el (map-y-or-n-p): If we get a switch-frame-event, + save it until we're done asking questions, and then unread it. + +1993-07-05 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-name): Move to vc-hooks.el. + * vc-hooks.el (vc-name): Moved from vc.el; vc-rcs-status now uses it. + (vc-name, vc-backend-deduce): Set both vc-name and vc-backend + properties, to avoid calling vc-registered unnecessarily when + the other property is needed. + (vc-rcs-status): Yield only status of locks; do not try to yield " REV" + if there are no locks, since this cannot be done easily if there are + branches. Use vc-name instead of duplicating its function incorrectly. + Fix off-by-one bug when inserting master header pieces. Read headers + 8192 bytes at a time instead of 100. Don't bother to expand-file-name. + (vc-rcs-glean-field): Removed. + +1993-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (outline-mode-map): Add menu bar items. + (outline-minor-mode-map): Copy menu bar submap from outline-mode-map. + + * help.el (describe-key-briefly): Don't set `foo'. + +1993-07-04 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * subr.el (posn-point): Properly extract the BUFFER-POSITION field + of an event when read-key-sequence has placed it in a singleton + list. + + * comint.el (comint-prompt-regexp): Double the backslashes in the + sample prompt regexps, so that they print properly when unquoted. + +1993-07-04 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-backend-diff): Undo "-q" change. This was fixed + instead by adding -q support to vcdiff. + +1993-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help.el (describe-prefix-bindings): New command. + (prefix-help-command): Set it. + + * hexl.el: Added a keyword. + +1993-07-04 Johan Vromans (jv@mh.nl) + + * forms.el (forms-new-record-filter): Correct default value. + (forms-modified-record-filter): Correct default value. + +1993-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paren.el (show-paren-command-hook): Add message for paren mismatch. + + * vc-hooks.el (vc-mode-line): Put `RCS' or `SCCS' before version num. + +1993-07-03 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * faces.el (make-face-bold, make-face-italic, + make-face-bold-italic, make-face-unbold, make-face-unitalic): + Properly pass noerror argument to recursive calls. + + * frame.el (frame-remove-geometry-params): New function. + (frame-initialize): Call it, instead of writing it out. + +1993-07-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (kill-region): Cope with change hooks that change props. + +1993-07-03 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * term/x-win.el: Check the reverseVideo/ReverseVideo resource, + correctly distinguish between "on" and "off" values, and put a + parameter in default-frame-alist. + * frame.el (frame-initialize): Don't call x-get-resource here. + +1993-07-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (update-file-autoloads): + Do nothing when there are no cookies. + +1993-07-02 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * mouse.el (mouse-drag-region): Correctly handle drags which enter + other frames. + +1993-07-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-path): New variable. + (vc-do-command): Use vc-path. + + * menu-bar.el (menu-bar-edit-menu): Rename menu item to + Choose Next Paste. Create this item along with all the others. + + * isearch.el (isearch-other-meta-char): Handle sequences + containing mouse clicks in scroll-bar that used another buffer's map. + +1993-07-02 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * vc.el (vc-backend-diff): Pass the "-q" flag only if we're using + rcsdiff. + +1993-07-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * menu-bar.el: Put mouse-menu-choose-yank binding after + paste=>yank binding in menu-bar-edit-menu. + +1993-07-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-keep-pending): Handle fset like defalias. + (byte-compile-file-form-defmumble): Fix backward if in prev change. + +1993-07-01 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * dired-aux.el (dired-diff): Work even when the mark is inactive. + +1993-07-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-send): Don't test buffer-modified-p + if buffer is visiting a file. + + * bytecomp.el (byte-compile-file-form-defmumble): + If byte-compile-compatibility, use fset, not defalias. + +1993-07-01 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * simple.el: Add bindings to function-key-map so that the keypad + keys act like ordinary self-insertion keys, unless explicitly bound. + +1993-07-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mailabbrev.el (build-mail-abbrevs): Do substitute-in-file-name + on the abbrev, for `source'. + + * files.el (set-visited-file-name): Rename the old auto save file. + +1993-06-30 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * menu-bar.el (mouse-menu-choose-yank): + Just return when x-popup-menu returns nil. + Add menu-enable property to this function. + +1993-06-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * compile.el (compile-abbreviate-directory): New function. + (compilation-parse-errors): Use that, to visit files with a dirname + more like the one the user specified. + +1993-06-30 Johan Vromans (jv@mh.nl) + + * forms.el: Add e-mail address and version info. + Adjust commentary and doc strings. + (forms-mode): Add ###autoload. + (forms-find-file): Add ###autoload. + (forms-find-file-other-window): Add ###autoload. + +1993-06-30 Paul Eggert (eggert@twinsun.com) + + * vc.el (vc-update-change-log): Ensure that file names inserted + into a ChangeLog are relative to that ChangeLog. + +1993-06-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (mark-even-if-inactive): New variable. + (mark): Test it. + + * rmail.el: Doc fixes. + +1993-06-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * gud.el: Add history lists to the debugging commands, so we don't + have to retype the filename every invocation. + (gud-gdb-history, gud-sdb-history, gud-dbx-history, + gud-xdb-history): New variables. + (gdb, sdb, dbx, xdb): Use them when reading the argument string. + + * mouse.el (mouse-drag-region-1): Commented out. + (mouse-drag-region): Commented out, and replaced with new version, + which highlights the region as we drag. + (mouse-scroll-delay, mouse-drag-overlay): New variables. + (mouse-scroll-subr): New function. + + * sun-fns.el, sun-curs.el: Move these to lisp/term, to be with + sun-mouse.el. + +1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * faces.el (global-face-data): Doc fix. + + * gnus.el (gnus-newsrc-to-gnus-format): Correct regexp which + matches .newsrc lines not to match more than one line. + +1993-06-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ls-lisp.el (insert-directory): Doc fix. + (ls-lisp-format): Provide user name when known. + On ms-dos, provide a name for the group, to be prettier. + +1993-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (define-key-after): Delete duplicate bindings that come + after the new one. Do insert when we reach the end, if haven't before. + + * paren.el: New file. + + * faces.el (face-initialize): Create `underline' face. + (x-initialize-frame-faces): Set up `underline' face. + + * faces.el (x-initialize-frame-faces): Check x-display-color-p + and x-display-planes to decide whether to try using colors or gray. + + * man.el (Man-auto-section-alist): Default value nil. + (Man-getpage-in-background): Call Man-default-man-args. + (Man-filter-list): Don't discard overstrike here. + (Man-set-fonts): New function. + (Man-bgproc-sentinel): Call Man-set-fonts. + (Man-version-number): Var deleted. + (Man-version): Command and binding deleted. + (Man-mode): Use Manual, not Man, as official mode name. + + * solar.el: Doc fixes. + + * c-mode.el (c-forward-conditional): New function. + (c-up-conditional): Use c-forward-conditional. + (c-backward-conditional): New function. + (c-mode-map): Make bindings for them. + +1993-06-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-update-change-log): Restore previous default-directory + for running rcs2log. + +1993-06-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * subr.el (define-key-after): New function. + +1993-06-25 Barry A. Warsaw (warsaw@anthem.nlm.nih.gov) + + * reporter.el (reporter-submit-bug-report): Rename local var curbuf + to reporter-eval-buffer. + (reporter-dump-variable): Eval varsym in reporter-eval-buffer. + + * c++-mode.el (c++-fast-backward-syntactic-ws-2) + (c++-fast-backward-syntactic-ws-1): Change the proper syntax table + depending on whether we are editing C or C++ code. + + * c++-mode.el (c++-indent-exp): When computing offset for open-brace + line, check not at class top level before adding c-indent-level. + Fix bug handling member init lists. + Fix case where comments follow a continued statement. + Fix handling of c-brace-offset < 0. + + * c++-mode.el (c++-calculate-indent): + Fixed indentation when base class declaration is on a separate line + then the derived class intro header. + Don't skip up past compound statement if we're in a member init list. + + * c++-mode.el (c++-indent-line): Clean up adjustment + of block closing braces. Handle a list as value of + c++-block-close-brace-offset. + + * c++-mode.el (c++-indent-exp): Use c-continued-statement-offset + instead of c-indent-level to indent comma separated arg decl lists. + + * c++-mode.el (c++-fast-backward-syntactic-ws-2): Simplify for + new forward-comment semantics. + + * c++-mode.el (c++-calculate-indent): Change if's to cond in CASE3. + Require colon when looking for `case' or `default'. + Use c++-compound-offset. + (c++-compound-offset): New function. + Distinguish statement continuation from enum and initializer lists. + +1993-06-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc-hooks.el (vc-rcs-status): New variable. + (vc-mode-line): Display the lock status and head version. + (vc-rcs-status, vc-rcs-glean-field): New function. + + * menu-bar.el (mouse-menu-bar-buffers): Include % and * in each item. + Calculate amount of space needed for longest buffer name. + * mouse.el (mouse-buffer-menu): Likewise. + +1993-06-25 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * add-log.el (find-change-log): Try get-file-buffer before + file-exists-p. + +1993-06-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-diff): If `diff' gives empty output, return nil. + +1993-06-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * ange-ftp.el: Loosen file-name-handler-alist regexp so we can do + host name completion. + + * hexl.el (hexl-in-save-buffer): New flag. + (hexl-save-buffer): Prevent infinite recursion. + +1993-06-22 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * term/x-win.el (command-switch-alist): "-ib" takes a numeric + argument; use x-handle-numeric-switch for it. + + * replace.el (query-replace-map): Fix typo in binding for [return]. + +1993-06-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailsort.el: Don't touch rmail-summary-mode-map. + Don't touch rmail-mode-map. Don't require rmail or sort. + (rmail-summary-sort-...): Moved to rmailsum.el. + (rmail-sort-from-summary): Likewise. + + * rmail.el: Add autoloads for rmailsort commands. + (rmail-mode-map): Add bindings for those commands. + + * rmailsum.el (rmail-summary-mode-map): Bind summary sort commands. + (rmail-summary-sort-...): Moved from rmailsort.el. + (rmail-sort-from-summary): Likewise. Require rmailsort. + +1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * compile.el (compile-file-of-error): Remember that + compilation-error-list stores file names as strings, not as (DIR . + FILE) pairs. + + * diff.el (diff-parse-differences): Preserve the match data + across the call to find-file-noselect. + + * subr.el (event-end): Modified to account for multi-click events. + +1993-06-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-mode-map): Add local menu bar bindings. + (rmail-search-backward): New command. + (rmail-mode): Move to the last message. + + * rmailsum.el (rmail-summary-mode-map): Add local menu bar bindings. + (rmail-summary-search-backward): New command. + (rmail-summary-search): Don't use save-excursion. + + * sendmail.el (mail-mode-map): Add local menu bar bindings. + + * texinfo.el: Set up autoloads for files `makeinfo' and `texnfo-upd'. + (texinfo-delete-from-print-queue-command): New var. + (texinfo-tex-trailer): New var. + (texinfo-tex-region): Use that. + (texinfo-tex-buffer): Rewritten; use the actual source file. + Binding is now C-c C-t C-b. + (texinfo-texindex): Turned back on. + (texinfo-quit-job): New command, with binding. + (texinfo-delete-from-print-queue): Likewise. + (texinfo-show-structure): Indent each line according to depth. + Require texnfo-upd. + (texinfo-section-types-regexp): Var deleted. + (texinfo-insert-@-with-arg): New function. + (texinfo-insert-@var, etc.): Use that. + (texinfo-insert-@end): New command, now on C-c C-c e. + (texinfo-insert-@end-example): Deleted. + (texinfo-insert-@table): New command, on C-c C-c t. + (texinfo-start-menu-description): New command, on C-c C-c C-d. + (texinfo-mode): No longer set tex-trailer. + Make the @node for the top node start a page. + Use shorter values for tex-end-of-header and tex-start-of-header. + (texinfo-mode-map): Add bindings for makeinfo-buffer, etc. + Delete bindings for texinfo-format-buffer/region. + (texinfo-define-common-keys): New function. + + * texinfmt.el: File deleted. + + * makeinfo.el: New file. + + * metamail.el: New file. + + * time-stamp.el: New file. + +1993-06-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * add-log.el (add-log-current-defun): To find the name of the + function being defined in emacs-lisp-mode, lisp-mode, and + scheme-mode, skip an opening paren and an s-expression, instead of + just one word. This allows us to properly recognize things like + define-key and define-macro. + + * replace.el (query-replace-map): Make RET exit query-replace, + just like ESC. + +1993-06-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mh-e.el (mh-yank-cur-msg): Test mark-active. + +1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * version 19.15 released. + +1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * info.el (Info-insert-dir): Remove the call to recursive-edit. + +1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * info.el (Info-insert-dir): Record file attributes of files used. + Recompute the dir if they change. + + * files.el (insert-file): Report error if file is directory. + +1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * man.el (Man-switches): New variable. + (Man-build-man-command): Use it to build the man command. + (Man-mode): Mention it in documentation. + +1993-06-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmailout.el (rmail-output): Check file can be read before trying + to read part of it. + + * ange-ftp.el (ange-ftp-insert-file-contents): + Handle extra args BEG, END. + +1993-06-18 Johan Vromans (jv@mh.nl) + + * forms.el: Delete local variables list. + (forms-forms-scrolls): Deleted. + (forms-forms-jumps): Deleted. + (forms--change-commands): Use substitute-key-definition. + (forms-mode): Call forms--change-commands later on. + +1993-06-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Generalize the + Apollo/BSD4.3 regexp to handle IBM RS6k too. + + * mouse.el (mouse-secondary-save-then-kill): Don't switch windows. + Just set-buffer, and put save-excursion around it. + (mouse-set-secondary, mouse-start-secondary): Likewise. + (mouse-drag-secondary): Switch windows and move point just temporarily. + +1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * dired.el (dired-summary): dired-do-rename is on "R", not "r". + +1993-06-18 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-version): Update to 5.1. Fixed a variety + of spelling error in comments and doc strings. + (calendar-sexp-debug): New variable to turn off error catching. + (calendar-absolute-from-gregorian): Removed unused vars month, day. + (view-calendar-holidays-initially, all-hebrew-calendar-holidays, + all-christian-calendar-holidays, all-christian-islamic-holidays, + diary-nonmarking-symbol, hebrew-diary-entry-symbol, + islamic-diary-entry-symbol, diary-include-string, + abbreviated-calendar-year, european-calendar-style, + european-calendar-display-form, american-calendar-display-form, + calendar-date-display-form, print-diary-entries-hook, + list-diary-entries-hook, nongregorian-diary-listing-hook, + nongregorian-diary-marking-hook, diary-list-include-blanks, + holidays-in-diary-buffer, general-holidays, + increment-calendar-month, calendar-sum, calendar-string-spread, + calendar-absolute-from-iso, calendar-print-iso-date, + hebrew-calendar-elapsed-days, list-yahrzeit-dates, + calendar-print-astro-day-number): Fix doc strings. + (calendar-nth-named-day): Rewritten to include optional day of month. + (general-holidays, calendar-holidays, hebrew-holidays, + christian-holidays, islamic-holidays, + solar-holidays): Rewritten to include require of cal-dst.el and to + show the time of the change to/from daylight savings time. + (calendar-current-time-zone, calendar-time-zone, + calendar-daylight-time-offset, calendar-standard-time-zone-name, + calendar-daylight-time-zone-name, calendar-daylight-savings-starts, + calendar-daylight-savings-ends, + calendar-daylight-savings-switchover-time): Moved to cal-dst.el. + (calendar-location-name, calendar-time-display-form, calendar-latitude, + calendar-longitude): Moved to solar.el. + (calendar-holidays): Unquote it! + + * solar.el (calendar-holiday-solar-equinoxes-solstices): Renamed + solar-equinoxes-solstices. + (calendar-time-display-form, calendar-latitude, + calendar-longitude): Moved from calendar.el. + (calendar-time-zone, calendar-standard-time-zone-name, + calendar-daylight-time-zone-name, + calendar-daylight-savings-starts, calendar-daylight-savings-ends): + Take default values from calendar-current-time-zone, instead of + being overwritten in open code if they were set to nil. + (solar-time-string): Subtract calendar-daylight-time-offset when + computing dst-ends. Avoid rounding errors when rounding time to + the nearest minute. + + * diary.el (list-sexp-diary-entries, + hebrew-calendar-year-Saturday-incomplete-Sunday, + hebrew-calendar-year-Monday-incomplete-Tuesday, + hebrew-calendar-year-Tuesday-regular-Thursday, + hebrew-calendar-year-Thursday-complete-Sunday, + hebrew-calendar-year-Saturday-complete-Thursday, + hebrew-calendar-year-Monday-complete-Saturday, + hebrew-calendar-year-Thursday-incomplete-Sunday): Fix doc strings. + (diary-sexp-entry): Use calendar-sexp-debug to turn off error catching. + + * diary-ins.el (insert-cyclic-diary-entry): Fix date form. + + * cal-mayan.el (calendar-mayan-days-before-absolute-zero, + calendar-mayan-haab-difference, calendar-mayan-tzolkin-difference, + calendar-mayan-tzolkin-haab-on-or-before, + calendar-previous-calendar-round-date, + calendar-absolute-from-mayan-long-count, + calendar-print-mayan-date): Fix doc strings. + + * holidays.el (calendar-holiday-function-fixed, + calendar-holiday-function-float, calendar-holiday-function-julian, + calendar-holiday-function-islamic, + calendar-holiday-function-hebrew, calendar-holiday-function-sexp, + calendar-holiday-function-advent, + calendar-holiday-function-easter-etc, + calendar-holiday-function-greek-orthodox-easter, + calendar-holiday-function-rosh-hashanah-etc, + calendar-holiday-function-hanukkah, + calendar-holiday-function-passover-etc, + calendar-holiday-function-tisha-b-av-etc): Renamed without words + "calendar" and "function"; changed argument from a list of values to + individual values. Fixed doc strings. + (calendar-holiday-function-if): Removed. + (calendar-holiday-solar-equinoxes-solstices): Renamed + solar-equinoxes-solstices. + (calendar-holiday-list): Rewrote to accomodate the name changes + above and the unquoting of calendar-holidays. + (calendar-cursor-holidays): Change screen-width to frame-width. + (holiday-sexp): Rewritten. + + * lunar.el (lunar-phase): Use time conversion from solar.el + + * cal-dst.el: New file. + (calendar-/, calendar-%, calendar-absolute-from-time, + calendar-time-from-absolute, calendar-next-time-zone-transition, + calendar-time-zone-daylight-rules): New functions. + (calendar-current-time-zone): Moved from calendar.el and rewritten. + (calendar-current-time-zone-cache): New variable. + (calendar-current-time-zone, calendar-time-zone, + calendar-daylight-time-offset, calendar-standard-time-zone-name, + calendar-daylight-time-zone-name, + calendar-daylight-savings-starts, calendar-daylight-savings-ends, + calendar-daylight-savings-switchover-time): Moved from calendar.el. + +1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.14 released. + +1993-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-citation-hook): New hook var. + (mail-yank-original): Use that hook if not nil. + + * sc.el: Change usage comment. + +1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * faces.el (make-face-bold, make-face-italic, + make-face-bold-italic, make-face-unbold, make-face-unitalic): + Always pass the frame parameter to internal-try-face-font; we only + want to set the face for this frame. + + * faces.el (make-face-bold, make-face-italic, + make-face-bold-italic, make-face-unbold, make-face-unitalic): + Fix error messages. + +1993-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (set-face-background-pixmap, face-background-pixmap): + Functions commented out. + + * mouse.el (mouse-start-secondary): New function. + (mouse-set-secondary, mouse-drag-secondary): New functions. + (mouse-kill-secondary, mouse-secondary-save-then-kill): New functions. + + * term/vt200.el: Translate F11 (ESC [ 23 ~) to ESC. + * term/vt201.el, term/vt220.el, term/vt240.el: Likewise. + + * autoload.el (generate-file-autoloads): Undo previous change + because make-docfile requires defvar doc string to start on first line. + + * cplus-md.el: Renamed from c++-mode.el. + * cplus-md1.el: Renamed from c++-mode-1.el. + + * vc.el (vc-rename-file): Remove periods from error messages. + (vc-backend-logentry-check, vc-revert-buffer): Likewise. + (vc-retrieve-snapshot, vc-create-snapshot): Likewise. + (vc-diff, vc-finish-logentry, vc-steal-lock): Likewise. + (vc-register, vc-next-action-on-file, vc-registration-error): Likewise. + (vc-cancel-version): Add space to end of question. + + * menu-bar.el (mouse-menu-choose-yank): New function. + Put it in the edit menu. + (yank-menu-length): New variable. + +1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * subr.el (event-basic-type): Deal with listy events properly. + +1993-06-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * autoload.el (make-autoload): Use memq once instead eq twice. + (generate-file-autoloads): For non-autoloads, copy the defn textually + rather than printing it after reading. + + * autoload.el (generate-autoload-cookie, update-autoloads-here): + Doc fixes. + +1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * frame.el (set-frame-configuration): Don't try to set a frame's + minibuffer. This parameter can't be changed, so that would signal + an error. + +1993-06-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * assoc.el (aput): Doc fix. + + * ls-lisp.el (insert-directory): If no handler, convert SWITCHES + from a string to a list of characters. + + * disass.el (disassemble-internal): If function is autoload, load it. + + * lisp.el (parens-require-spaces): Var renamed and sense changed. + (insert-parentheses): Corresponding changes. + + * rmailout.el (rmail-output): Use insert-file-contents to look at + beginning of output file. + + * term/x-win.el (x-switch-definitions): Fix -iconic. + + * bytecomp.el (byte-compile-file-form-defmumble): Typo in prev change. + +1993-06-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (server-process-filter): Use server-switch-buffer. + + * gud.el (gud-xdb-directories): Renamed from gud-xdb-paths. + Defvar moved earlier. All uses changed. + (gud-xdb-debugger-startup): Rename local var `paths'. + (gud-xdb-file-name): Likewise. + + * inf-lisp.el (inferior-lisp-buffer): Move defvar earlier. + + * mailalias.el (define-mail-alias): Remove excess whitespace better. + + * mailabbrev.el (define-mail-abbrev): Renamed from define-mail-alias. + (build-mail-abbrevs): Use new name. + + * bytecomp.el (byte-compile-file-form-defmumble): Use defalias + for named function, even if no doc string. + + * dired.el (dired-repeat-over-lines): Going fwd, skip new lines + that FUNCTION inserts after the current line. + Going backwd, no need for dired-move-to-filename each time. + +1993-06-15 Shane Hartman (shane@nugget.spr.com) + + * gud.el (xdb): New debugger supported (xdb under HPUX-PARISC). + (gud-xdb-debugger-startup): New function. + (gud-xdb-file-name, gud-xdb-accumulation): New functions. + (gud-xdb-marker-filter, gud-xdb-paths, gud-xdb-find-file): New. + +1993-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lisp.el (parens-dont-require-spaces): New variable. + (insert-parentheses): Obey that variable. + + * emerge.el (emerge-make-diff3-list): Pass ancestor second. + (emerge-extract-diffs3): Replace group-1 with group-2. + (emerge-handle-local-variables): Pass no arg to hack-local-variables. + + * picture.el (picture-replace-match): New function. + * dabbrev.el (dabbrev-expand): Do all changes with replace-match. + In picture-mode, use picture-replace-match instead. + +1993-06-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * holidays.el: Eval calendar-holidays; don't just use its value. + + * complete.el: (provide 'complete). + +1993-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.el (balance-windows): Total rewrite. + +1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * bytecomp.el (byte-compile-file): Undo previous change. + (batch-byte-recompile-directory): Doc fix. + + * isearch.el (isearch-highlight): If no face `isearch', use `region'. + + * c-mode.el (c-indent-line): Call c-backward-to-start-of-if + in the case of else following a close brace. + + * man.el (Man-getpage-in-background): Use TERM=dumb to prevent + terminal control sequences in the output. + +1993-06-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (abbreviate-file-name): Match home dir with no / + if nothing else follows. + + * finder.el (finder-find-library): New function. + (finder-commentary): Use it. + + * forms.el, forms-pass.el, forms-d2.el, forms-dat.el, forms.README: + Moved from subdir forms-mode. Subdir deleted. + +1993-06-12 Johan Vromans (jv@mh.nl) + + * forms.el (forms--change-commands): + Use (function (lambda ...)) instead of '(lambda...). + + * forms.el: Provide `forms' as well as `forms-mode'. + (forms-new-record-filter, forms-modified-record-filter): Add defvars. + +1993-06-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (make-directory): By default create dir default-dir. + +1993-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vc.el (vc-backend-diff): Always use -q option. + + * files.el (file-truename): Don't use expand-file-name to merge + a link target into the previous dir. Handle .. and . explicitly. + + * env.el (setenv): Treat case as significant. + + * mailabbrev.el (sendmail-pre-abbrev-expand-hook): + If last-command-char is not a character, don't check char-syntax. + + * inf-lisp.el: Doc fixes. + (run-lisp): Add autoload. + (inferior-lisp-mode-map): Explicitly make local prefix keys. + + * cmulisp.el: File deleted. + + * server.el (server-window): New variable. + (server-switch-buffer): Use it. + + * flow-ctrl.el (enable-flow-control): Don't alter the 8-bit flag. + + * man.el (Man-filter-list): Add an element for X man pages. + (Man-goto-page): Continue past errors in Man-build-references-alist. + + * rmailout.el (rmail-output-to-rmail-file): Use the smart default + in the prompt. + + * register.el (view-register): Handle file name values. + + * etags.el (etags-tags-completion-table): When skipping the noise + before the tag name, let it end with any char not allowed in a tag. + + * files.el (cd): Use file-name-absolute-p. + (cd-absolute): No longer interactive. + + * echistory.el (electric-history-map): Don't use fillarray; + make default bindings instead. Bind up, down, home, next, prior. + +1993-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * frame.el (frame-initialize): Remember to actually traverse + initial-frame-alist. + + * gud.el (gud-last-last-frame): New variable. + (gud-display-frame): Save the frame we displayed in + gud-last-last-frame. + (gud-refresh): Force gud-display-frame to jump to the last frame + displayed, even if it has already done so once. + + * man.el (manual-entry): Recognize the subject(section) syntax. + + * picture.el (move-to-column-force): If column is negative, go + flush left. + + * simple.el (hscroll-point-visible): Work as documented in the + docstring for hscroll-step. + +1993-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lisp-mode.el (lisp-indent-function): Look for either + lisp-indent-hook or lisp-indent-function property. + + * files.el (make-backup-files): Doc fix. + + * mouse.el (mouse-set-mark-fast): New function. + (mouse-show-mark): New function. + (mouse-kill-ring-save, mouse-save-then-kill): Use them. + (mouse-save-then-kill): Don't let kill-region alter this-command. + Check last-command accordingly. + (mouse-split-window-vertically): Handle scroll bar events. + +1993-06-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-primary-inbox-list): Use defvar, not defconst. + + * files.el (basic-save-buffer): Cal auto-save-mode with t as arg + if and only if auto save was off and default is on. + (set-visited-file-name): Likewise. + + * simple.el (append-to-buffer): Interactively, supply all 3 args. + Allow nonexistent buffers. + + * files.el (abbreviate-file-name): Make abbreviated-home-dir + from `~/', not from just `~'. + (hack-one-local-variable): Query for ...-hook(s) and ..-function(s) + as the `eval' variable. + + * ispell.el: Doc fixes. + (ispell-command, ispell-command-options): New defvars. + (start-ispell): Use them. + + * ange-ftp.el (ange-ftp-multi-msgs): Add 331-. + + * man.el (Man-mode): Run Man-mode-hook. + + * bibtex.el (bibtex-mode-map): Use tex-insert-quote, not TeX-... + +1993-06-10 Shane Hartman (shane@nugget.spr.com) + + * c++-mode.el (calculate-c++-indent): Respect + c-continued-brace-offset (as in c-mode.el). + +1993-06-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * frame.el (frame-initialize): When deleting geometry + specifications from initial-frame-alist, remember that they may + occur more than once, and do, if the -geometry option was + specified as well as a .geometry resource. + + * scroll-bar.el (scroll-bar-mode): Variable deleted. + (scroll-bar-mode): Function changed to consult default-frame-alist + instead of the variable. + + * gnus.el (gnus-start-news-server): If no server has been + specified, but gnus-nntp-service is nil, don't ask for a server + name; use the local host. + + * ange-ftp.el (ange-ftp-make-directory): Take second optional + argument parents, like the original. Implement it. + + * gnus.el (gnus-newsrc-to-gnus-format): Change regexp which + matches .newsrc lines for better performance under the new regexp + routines. + +1993-06-10 Dave Gillespie (daveg@synaptics.com) + + * bytecomp.el: Bug fixes and upgrade to match Zawinski's v2.10. + (byte-compile-dest-file): Added support for emacs-lisp-file-regexp. + (byte-recompile-directory): Several things involving `noninteractive'. + (byte-compile-file): Changed prompting in read-file-name. + (byte-compile-insert-header): Put a magic number at top of .elc files, + fixed backwards test of byte-compile-compatibility. + (byte-compile-form, byte-defop-compiler19, byte-compile-list, + byte-compile-concat, byte-compile-insert): Likewise. + (byte-compile-condition-case): Added checking for unknown conditions. + (batch-byte-recompile-directory): New function. + +1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * compile.el (compilation-error-list): When we haven't yet + generated a marker for the source position of an error message, + store (FILENAME . LINE-NUMBER), not ((DIRECTORY . FILE) + LINE-NUMBER). Doc fix. + (next-error, compilation-parse-errors): Adjusted appropriately. + + * scroll-bar.el (scroll-bar-set-window-start): Remember that the + scroll bar numbers reflect the accessible region of the buffer, + not the entire buffer. + +1993-06-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-flag-auto-save-files): Ignore `*' added by ls -F. + + * sc.el (sc-mark): Use mark-marker. + +1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.13 released. + +1993-06-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fortran.el (fortran-indent-new-line): Renamed from + fortran-reindent-then-newline-and-indent. + + * mouse.el (mouse-drag-region-1): Un-comment-out this function. + + * info.el (Info-follow-reference): Fix completion defaulting. + +1993-06-07 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-current-time-zone): Change variable names + to make them more readable. + (calendar-time-zone, calendar-standard-time-zone-name, + calendar-daylight-time-zone-name, calendar-daylight-savings-ends, + calendar-daylight-savings-starts): Don't autload them. + +1993-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * apropos.el (safe-documentation): Don't crash on byte-compiled macro. + + * telnet.el (telnet-simple-send): New function. + (telnet): Arrange to use that. + + * sun-keys.el: File deleted. + + * texinfo.el (texinfo-section-types-regexp): Add @chapheading. + + * gud.el: Doc fixes. Delete local variable list at the end. + (expr-forward-sexp): Renamed from forw-expr. + (expr-backward-sexp): Renamed from back-expr. + + * case-table.el (describe-buffer-case-table): Merge locals i and ch. + Make *Help* current buffer for describe-vector. + + * bibtex.el: Fix typos in previous change. + Add a few menu items. + + * compile.el (compilation-error-regexp-alist): Make sure each regexp + can only match a few characters at the front. Split off the Mips + CC regexp from the Apollo regexp. + + * rmail.el (rmail-variables): Default rmail-inbox-list here. + (rmail): Not here. + + * ange-ftp.el (ange-ftp-real-load): New function. + (ange-ftp-load): New function--handles `load'. + +1993-06-06 Paul Eggert (eggert@twinsun.com) + + * term/sun-mouse.el (mouse-union-first-preferred): Renamed from + mouse-union-first-prefered. + +1993-06-06 Paul Eggert (eggert@twinsun.com) + + * sc.el (sc-consistent-cite-p): Renamed from sc-consistant-cite-p. + + * etags.el (etags-recognize-tags-table): Fix misspelling of + find-tag-regexp-next-line-after-failure-p. + + * bibtex.el (bibtex-name-alignment): Renamed from + bibtex-name-alignement. + + * allout.el (outlinify-sticky): Renamed from outlineify-sticky. + + * faces.el (x-create-frame-with-faces): Reversevideo -> ReverseVideo. + * frame.el (frame-initialize): Likewise. + +1993-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (outline-minor-mode): Add autoload cookie. + + * bibtex.el: Define 2 local menu-bar submaps. + (bibtex-x-help, bibtex-x-environment): Deleted. + + * isearch.el (search-upper-case): Make `no-yanks' the default. + (isearch-no-upper-case-p): New arg REGEXP-FLAG. + (isearch-search): Pass new arg. + (isearch-member-equal): Deleted. + (isearch-overlay): New variable. + (isearch-highlight, isearch-dehighlight): Rewritten to use overlays. + + * dired.el (dired-unmark-all-files): Read arg as just a character. + Use non-regexp search to find a specific mark. + Use subst-char-in-region to make the change. + Improve the message at the end. + + * vip.el (vip-ctl-key-equivalent): Use vip-escape-to-emacs. + (vip-escape-to-emacs): Use read-key-sequence and key-binding. + Arg EVENTS replaces arg CHAR. + (vip-ESC, vip-ctl-c, vip-ctl-x, vip-ctl-h): These callers changed. + + * compile.el (compile-internal): Alter current buffer only temporarily. + +1993-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-do-fcc): Replace the code for appending to buffer. + + * rmailsum.el (rmail-summary-next-msg): Fix number of dots in regexp. + + * scroll-bar.el (scroll-bar-drag-1): + Calculate position relative to the accessible part of the buffer. + + * menu-bar.el (menu-bar-help-menu): Add defvar. + (menu-bar-edit-menu, menu-bar-file-menu): Likewise. + + * dired.el (dired-flag-backup-files): Handle `*' made by `ls -F'. + + * ange-ftp.el (internal-ange-ftp-mode): Renamed from ange-ftp-mode. + Callers changed. + + * menu-bar.el (window-system): Enable menu bars only if + window-system is non-nil. + + * add-log.el (add-log-current-defun): Fix typos in last change. + +1993-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * term/x-win.el (x-selection-timeout): Set it, using x-get-resource. + +1993-06-04 Paul Eggert (eggert@twinsun.com) + + * timezone.el: (timezone-make-date-arpa-standard, + timezone-make-date-sortable): Move common code into timezone-fix-time. + (timezone-fix-time): Merge common code from above two functions. + Yield time zone at end of result vector. + Set time zone offset correctly as of the given time, + instead of guessing from the current offset. + (timezone-make-arpa-date, timezone-zone-to-minute): Convert + current-time-zone style timezones into RFC-822 style timezones. + + (timezone-time-from-absolute, timezone-time-zone-from-absolute, + timezone-day-number, timezone-absolute-from-gregorian): + More functions borrowed from Reingold's calendar package. + + (timezone-make-arpa-date, timezone-make-sortable-date): Can safely + assume that year includes century, since timezone-fix-time guarantees + this. + + * gnuspost.el (gnus-current-time-zone): New function, which tries + current-time-zone, and if that fails falls back on gnus-local-timezone. + (gnus-inews-date): Use it. + (gnus-inews-valid-date): New optional args TIME (default now) and ZONE + (default GMT). + (gnus-inews-buggy-date): New optional arg TIME (default now). + + * gnus.el (gnus-local-timezone): Now used only if current-time-zone + does not work. + +1993-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mh-e.el (mh-yank-cur-msg): Use (mark t). + + * simple.el (mark): Doc fix. + + * add-log.el (add-log-current-defun): Handle Fortran. + + * rmail.el (rmail-resend): Require sendmail and mailalias. + + * time.el (display-time-24hr-format): Make it a user option. + + * edt.el (GOLD-prefix): Define *after* GOLD-map. + + * dired.el (dired-change-marks): Just ding if one arg is RET. + Search for strings, not regexps. Use subst-char-in-region. + + * isearch.el (isearch-mode): Set isearch-window-configuration + only if in slow mode. + (isearch-done): Use isearch-window-configuration only if non-nil. + (isearch-other-control-char): For mouse event, call isearch-done + in the buffer whose keymap was used. + + * flow-ctrl.el (enable-flow-control): Doc fix. + +1993-06-03 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-holidays): Quote it to delay evaluation + until it's needed. + + * holidays.el (calendar-holiday-list): Eval calendar-holidays. + +1993-06-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-do-fcc): Omit first 2 lines when appending + to an RMAIL buffer. + + * simple.el (kill-ring-save): Doc fix. + + * rmailsum.el (rmail-summary-expunge-and-save): Do save-buffer last. + Use two separate save-excursion calls. + (rmail-summary-input): Use pop-to-buffer. + (rmail-summary-get-new-mail): Gobble rmail-current-message; + later go to that message. + (rmail-summary-next-msg): Start at end of line, if moving forward. + Move to beginning of line, after the loop. + (rmail-new-summary): Fix format of elt in minor-mode-alist. + + * rmail.el (rmail-select-summary): Add a save-excursion. + + * rmailsum.el (rmail-summary-expunge-and-save): + Call set-buffer again after rmail-only-expunge. + (rmail-summary-add-label, rmail-summary-kill-label): + Fix reading the label. + (rmail-summary-rmail-update): Bind window locally. + Use unwind-protect, not save-window-excursion. + + * vc-hooks.el (vc-find-file-hook): Check buffer-file-name is non-nil. + + * hideif.el (define-hide-ifdef-mode-map): Don't bind C-c LETTER. + Use C-c ESC LETTER instead. + Handle case where where-is-internal returns nil. + + * texinfmt.el: Provide texinfmt. + + * bytecomp.el (byte-compile-insert-header): Fix backwards test + of byte-compile-compatibility. + + * info.el (Info-mode-map): Bind mouse-2, not mouse-3. + + * view.el (View-scroll-lines-forward): If we exit, do nothing else. + + * calendar.el (calendar-mode): Doc fix. + (calendar-mark-ring): New defvar. + + * frame.el (frame-initialize): Set cursor-color last. + + * vip.el (vip-escape-to-emacs): Temporarily restore local map + and use read-key-sequence. + + * rmailsum.el (rmail-summary-by-senders): New function. + (rmail-message-senders-p): New function. + +1993-06-03 Dave Gillespie (daveg@synaptics.com) + + * complete.el (PC-lisp-complete-symbol): Added. + (PC-look-for-include-file): Recognize some Lisp notations. + (PC-include-file-all-completions): Fixed uppercase variable names. + +1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * info.el (Info-suffix-list): Handle .gz suffix. + * ange-ftp.el (ange-ftp-binary-file-name-regexp): Handle .gz. + + * ehelp.el (electric-help-command-loop): Use equal to compare + lists of events. + + * electric.el (Electric-command-loop): Use eq to compare events. + + * diff.el (diff): Really do use arg SWITCHES. + + * frame.el (frame-initialize): Delete geometry parms + from initial-frame-alist. + +1993-06-02 Edward M. Reingold (reingold@emr.cs.uiuc.edu) + + * calendar.el (calendar-daylight-savings-starts): Mention use of + nil value in documentation string. + (calendar-daylight-time-offset): New variable. + (calendar-daylight-savings-switchover-time): New variable. + (calendar-mode): Mention them. + (calendar-time-zone, calendar-print-astro-day-number, + calendar-time-display-form): Change Universal Time (UT) to + Coordinated Universal Time (UTC). + + *solar.el (solar-setup, solar-ephemeris-time, sunrise-sunset): Change + Universal Time (UT) to Coordinated Universal Time (UTC). + (solar-time-string): Use calendar-daylight-time-offset instead of + 1 hr, and use calendar-daylight-savings-switchover-time instead of + midnight. Add an optional parameter to allow forcing the use of + standard or daylight savings time. Fix code so it works in + southern hemisphere (start of dst precedes end of dst in a + calendar year) and when dst either starts or ends in a calendar + year, but not both. + +1993-06-01 Ken Manheimer (klm@coil.nist.gov) + + * allout.el (outlineify-sticky): Reconciled provisions for + non-standard and standard prefix leaders. + +1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.12 released. + + * reporter.el: New file. + + * mouse.el (mouse-buffer-menu): Don't select the event's window, + if event has frame instead. + + * tar-mode.el: Typo in autoload cookie. + + * shell.el (shell-prompt-pattern): Use defvar. + + * ange-ftp.el (ange-ftp-make-backup-files): Doc fix. + + * sendmail.el (mail-signature): Do not insert a line with `--'. + + * menu-bar.el (mouse-menu-bar-buffers): Renamed from mouse-buffer-menu. + + * subr.el (posn-timestamp): Doc fix. + + * sort.el (sort-fold-case): New variable. + (sort-subr): Bind case-fold-search from sort-fold-case. + + * simple.el (undo): + Pass proper arg to delete-auto-save-file-if-necessary. + + * desktop.el: New file. + + * c++-mode-1.el: New file. + +1993-06-01 Ken Manheimer (klm@coil.nist.gov) + + * allout.el (move-to-column): Pass zero instead of negative arg. + Added some free variables defvars, so byte-comple doesn't complain. + Included some stub code, eventually will be proper use of Emacs 19 + minor-mode-sensitive keymaps. + +1993-06-01 Stephen A. Wood (saw@cebaf.gov) + + * fortran.el (fortran-mode): Replace comment-indent-hook with + comment-indent-function. + + * fortran.el (fortran-is-in-string-p): Replaced with new version + that uses the syntax table. + + * fortran.el (calculate-fortran-indent): Lines that have a # after + whitespace are interpreted as cpp directives and outdented back to + column zero. + +1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lucid.el (map-keymap): Doc fix. + + * dired-aux.el (dired-compress-file): Use gzip when proper/possible. + + * sc.el: Fix installation instructions. + (sc-cite-original): Add autoload cookie. + + * sendmail.el (mail-yank-hooks): New hook variable. + (mail-yank-original): Run the hook. + (mail-indent-citation): New function. + + * cl.el (cl-mod): Renamed from mod. + + * Version 19.11 released. + + * lucid.el (copy-tree): Use let* to bind new before i. + + * terminal.el (te-pass-through): Delete debugging code left by mistake. + + * comint.el (comint-filter): Put window-start before the input. + + * isearch.el (isearch-mode): If enter recursive-edit, + also bind isearch-recursive-edit. + + * cookie1.el: Renamed from cookie.el. + Provide cookie1. + * yow.el, spook.el: Changed accordingly. + +1993-05-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (outline-flag-region): Pass t as NOUNDO arg + to subst-char-in-region. No need to restore buffer-modified-p by hand. + +1993-05-31 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * term/x-win.el (x-invocation-args): Add defvar. + +1993-05-31 Junio Hamano (junio@twinsun.com) + + * window.el (count-windows): PROC argument of + walk-windows takes an argument. + +1993-05-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnus.el (gnus-summary-isearch-article): Call isearch-forward + in ordinary fashion with no args. + (gnus-inews-article-hook, gnus-prepare-article-hook): + Initialize to a list. + (gnus-read-newsrc-file): If timestamps are equal, reload .newsrc. + + * bibtex.el (bibtex-mode): Add autoload. + + * files.el (inhibit-local-variables-regexps): New variable. + (set-auto-mode): Handle inhibit-local-variables-regexps. + + * tar-mode.el: Don't initialize write-file-hooks. + Don't change auto-mode-alist. + (tar-regexp): Deleted. + (tar-normal-mode): Deleted. + (tar-mode): Add autoload. + + * faces.el (x-resolve-font-name): Clean up error messages. + + * timer.el (run-at-time): Pass args to start-process in right order. + + * info.el (Info-get-token): Check that thesecond search succeeded. + + * edebug.el: Provide edebug. + + * rmailsum.el (rmail-message-subject-p): Fix typo in string constant. + + * cl.el (mod): Use cl-floor. + (rem): Use cl-truncate. + + * gud.el (gud-def): Don't use gud-key-prefix at compile time. + + * window.el (shrink-window-if-larger-than-buffer): Add `interactive'. + Do nothing if window contents not entirely visible. + + * sendmail.el (mail-do-fcc): Put back the newline at the start + of the fcc temp buffer. It got lost somewhere. + +1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnus.el (gnus-nntp-server): Use gnus-default-nntp-server. + + * info.el (Info-mode-map): Correct Info-top to Info-top-node. + + * man.el (Man-notify-when-ready): Correct previous change. + +1993-05-30 Stephen Gildea (gildea@alex.lcs.mit.edu) + + * mh-e.el (mh-signature-file-name): New variable. + mh-e version 3.8.2. + +1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * faces.el (x-resolve-font-name): Fix args to error; the format + string was changed, but not the arguments to be substituted. + + * faces.el (x-resolve-font-name): Give correct error message + depending on whether or not FACE was non-nil. + +See ChangeLog.3 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 lisp/ChangeLog.5 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/ChangeLog.5 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,9267 @@ +1995-06-21 Richard Stallman + + * Version 19.29 released. + + * startup.el (precompute-menubar-bindings): While dumping, + garbage-collect after each menu. + +1995-06-20 Richard Stallman + + * gud.el (gud-make-debug-menu): Cope if no local map yet. + + * loaddefs.el (help-event-list): Initialize it. + + * dired-aux.el (dired-do-redisplay): Call dired-uncache. + + * simple.el (universal-argument-num-events): New variable. + (universal-argument, universal-argument-more, negative-argument) + (digit-argument): Set that variable. + (universal-argument-other-key): Use that variable when unreading. + + * vc-hooks.el (vc-handle-cvs): New variable. + (vc-find-cvs-master): Check that variable. + +1995-06-19 Richard Stallman + + * vc-hooks.el (vc-fetch-properties): Add save-excursion. + + * cc-mode.el: Version 4.222 installed. Changes too much to list. + Kept these changes previously installed here: + (c-version): Mention that this may be modified version. + (c-common-init, c-fill-paragraph): Remove "^" used as anchor from + paragraph-start and paragraph-separate values, so that they will + work with non-0 left-margin settings. + + * vc-hooks.el (vc-fetch-master-properties): Be more careful + about killing the *vc-info* buffer. + +1995-06-19 Karl Heuer + + * shell.el (shell-directory-tracker): Check for terminator after + cd, pushd, or popd, so that we don't try to do directory tracking + on things like "cdump". + Don't use \\s patterns inside brackets. + +1995-06-19 David K}gedal + + * tempo.el: Documented the `l' tag. + (tempo-insert-template): Check for zmacs-regions. + Wrapped it in unwind-protect. + (tempo-save-named): New function. + (tempo-insert-prompt): Added NO-INSERT parameter. + Handles previous values better. Cleaned up interface. + Check for already saved value. + (tempo-remember-insertion): Function deleted. + (tempo-insert-named): Use tempo-insert if data is not a string. + Use tempo-lookup-named. + (tempo-insert-prompt-compat): New function. + (tempo-lookup-named): New function. + +1995-06-19 Richard Stallman + + * simple.el (universal-argument-other-key): + Call reset-this-command-lengths. + +1995-06-19 Ed Reingold + + * solar.el (calendar-location-name, sunrise-sunset): Fix bug in + determination of output string. + +1995-06-18 Richard Stallman + + * simple.el (negative-argument, digit-argument): + Set overriding-terminal-local-map like C-u. + (universal-argument-map): Add binding for \e t. + + * texinfo.el (texinfo-environment-regexp): Add @ifhtml, @html. + +1995-06-18 Morten Welinder + + * arc-mode.el (archive-zip-summarize): Handle per-file + comments in central directory. + +1995-06-18 Johan Vromans + + * forms.el: Remove references to mouse-major-mode-menu. + +1995-06-18 Andre Spiegel + + * vc-hooks.el (vc-fetch-master-properties): Use path-separator + for path to "cvs status" command. + +1995-06-17 Karl Fogel + + * bookmark.el: Make doc strings and argument names consistent + where necessary. + Moved user variables to own section. + (bookmark-alist): Better doc string. + (bookmark-insert-current-bookmark): Doc string. + (bookmark-insert-buffer-name): Doc string. + (bookmark-set): Take optional NAME argument. + (bookmark-bmenu-select): Use member to test for string's presence. + Use a more efficent test at end, as suggested by Mikio Nakajima. + +1995-06-17 Richard Stallman + + * startup.el (normal-top-level, command-line-1): + Call precompute-menubar-bindings only if using x. + (precompute-menubar-bindings): Don't check for x here. + Set define-key-rebound-commands to t. + + * loadup.el: Call precompute-menubar-bindings. + Then set define-key-rebound-commands to nil. + + * subr.el (add-hook): Use local local-variable-if-set-p. + + * info.el (Info-directory-list): If path-separator isn't available, + bind it here. + + * vc.el (vc-do-command): Use path-separator. + +1995-06-17 Andre Spiegel + + * vc.el (vc-directory): Use expand-file-name on default-directory. + (vc-directory-exclusion-list): Add "CVS" to this list. + +1995-06-17 Roland McGrath + + * ediff.el: Fixed bogus references to menu-bar-file-menu in + define-key forms. + +1995-06-16 Karl Heuer + + * isearch.el (isearch-mode-map): Bind frame events to nil. + +1995-06-16 Andre Spiegel + + * vc-hooks.el (vc-fetch-properties): Don't use + vc-backend-dispatch, as that is in vc.el. + + * vc.el (vc-register): Inhibit backups for the file's buffer + + * vc.el (vc-add-triple, vc-lookup-triple, vc-record-rename): + Use absolute file names to access the SCCS named configuration files + ("VC-names"). + + * vc-hooks.el (vc-consult-rcs-headers): Fix typo in prev change. + + * vc-hooks.el (vc-find-cvs-master): Exit gracefully when not + finding CVS/Repository. + + * vc.el (vc-lookup-triple): Call vc-parse-buffer instead of + vc-master-info. + + * vc.el (vc-retrieve-snapshot): Use vc-checkout instead of + vc-backend-checkout, as the former also updates the current buffer. + (vc-file-tree-walk, vc-file-tree-walk-internal): Use + expand-file-name, so that FUNC gets called with an unabbreviated name. + +1995-06-16 Richard Stallman + + * ispell.el: Reinstalled autoloads from ispell-dictionary-alist, + ispell-menu-map, ispell-menu-lucid, and ispell-menu-map-needed. + + * vc.el (vc-backend-dispatch): Move definition before first use. + +1995-06-16 Simon Marshall + + * c-mode.el (c-mode-map): Put mark-active for menu-enable property on + comment-region, c-macro-expand and c-backslash-region symbols. + + * facemenu.el (facemenu-menu): Change name to Special Properties. + + * font-lock.el (font-lock-make-faces): Optional arg OVERRIDE. + Make faces, and their face variables, only if they don't exist already. + (font-lock-make-faces-done): Removed. + (font-lock-set-defaults): Don't set it. + +1995-06-16 Karl Heuer + + * simple.el (universal-argument-map): New var. + (universal-argument, negative-argument, digit-argument): + Use overriding-terminal-local-map. + (prefix-arg-internal, describe-arg): Functions deleted. + (universal-argument-more, universal-argument-minus): New functions. + (universal-argument-other-key): New function. + + * isearch.el (isearch-mode): Use overriding-terminal-local-map. + (isearch-done): Likewise. + +1995-06-15 Richard Stallman + + * ispell.el: Removed autoload from ispell-dictionary-alist, + ispell-menu-map, ispell-menu-lucid, and ispell-menu-map-needed + so users can more easily modify and upgrade entries. + (ispell-dictionary-alist): Once more a single variable. + (ispell-required-version): Documentation changes + (ispell-skip-sgml): Documentation changes + (ispell-command-loop): mode-line-format now shows misspelled word. + (ispell-message-text-end): Can now process postscript version 1. + (ispell-message-start-skip): New variable for block skips, set up for + pgp and forward blocks. + (ispell-message-end-skip): New variable for block skips, set up for + pgp and forward blocks. + (ispell-message): Added block message skipping. + (ispell-buffer-local-parsing): Added html-mode. + + * mouse.el (mouse-set-region): Bind last-command with this-command. + + * winnt.el (grep-null-device): Set this instead of null-device. + + * dos-fns.el (path-separator, grep-null-device, grep-regexp-alist): + Set them, as in winnt.el. + + * compile.el (grep-null-device): Renamed from null-device. + + * vc-hooks.el (vc-fetch-master-properties): For RCS file, + don't look for vc-latest-version and vc-your-latest-version here. + Read only through ^locks unless we need to find the tip of a branch. + (vc-consult-rcs-headers): Use non-regexp search to find the headers. + (vc-latest-version, vc-your-latest-version): Use vc-fetch-properties. + (vc-fetch-properties): New function. + + * buff-menu.el (list-buffers-noselect): Don't let space after buf name + inherit the text props from it. + + * subr.el (make-local-hook): Doc fix. + +1995-06-15 Andre Spiegel + + * vc-hooks.el: The RCS status is now found by reading the + master file directly, instead of using rlog. The properties + retrieved from the master file are kept separately. The two + main properties, `vc-workfile-version' and `vc-locking-user', + are inferred from those master file properties if the + information cannot be found elsehow. All properties are + consistently cached now. + + Reordered some defuns so they are grouped in a logical way. + + (vc-master-info, vc-log-info, vc-fetch-properties): Functions + removed. Their job is now done by `vc-fetch-master-properties' + and `vc-insert-file'. + + (vc-fetch-master-properties): New function. + (vc-insert-file): New function. + (vc-parse-locks): New function. + (vc-locked-version): Property no longer set. + (vc-head-version, vc-default-branch, vc-master-locks): New properties. + (vc-top-version): New name for the old property `vc-branch-version'. + + (vc-master-locking-user): Replaces `vc-true-locking-user'. + + (vc-locking-user): Slightly changed to use the new properties. + Changed the actual property value for an unlocked file to + 'none. This is to distinguish it from an unknown locking + state, which is represented by nil. The function vc-locking-user + returns nil if the property is 'none, to make it compatible with + the rest of VC. + + (vc-consult-rcs-headers, vc-master-locking-user): Adapted to + the new 'none-value of vc-locking-user. + + (vc-consult-rcs-headers): Fixed bug that prevented + (not vc-consult-headers) from working + + (vc-file-not-found-hook): Set the default-directory of the new + buffer before check-out. + + * vc.el: Adapt to the changes in vc-hooks.el, namely, the new + 'none-value of vc-locking-user, and the consistent caching + of all properties. Especially, make the properties survive + check-ins and check-outs. Various minor bug fixes. + + (vc-file-clear-masterprops): New function. + + (vc-backend-checkin, vc-backend-revert): Set vc-locking-user + to 'none if the file is unlocked. + + (vc-backend-checkin, vc-backend-revert, vc-backend-checkout): + Use vc-file-clear-masterprops, and adjust those properties + that are not cleared. + + (vc-resynch-window): Temporarily remove vc-find-file-hook, so + that we don't lose the file properties during check-in/out. + + (vc-resynch-window): Do not try to delete the current window if + `vc-keep-workfiles' is nil (doesn't make sense; killing the + buffer is enough.) + + (vc-backend-checkin): Rewrote the code that adjusts the default + branch and removes any locks that might remain after check-in. + + (vc-cancel-version): Abort with error message in the CVS case. + (The error used to be signalled in vc-backend-uncheck, which is + a little too late.) + + (vc-minor-revision): Function removed. + +1995-06-14 Geoff Voelker + + * subr.el (shell-quote-argument) [WINDOWSNT]: Wrap in quotes only. + + * compile.el (null-device): Defined. + (grep): Use null-device. + + * winnt.el (null-device): Set to "NUL". + (grep-regexp-alist): Match entries with drive letters. + (save-to-unix-hook,revert-from-unix-hook): Defined. + (using-unix-filesystems): Defined. + (window-frame): Unaliased. + +1995-06-14 Karl Heuer + + * simple.el (universal-argument, describe-arg): Restore Lisp code, + undoing Feb 28 change. + (prefix-arg-internal, digit-argument, negative-argument): Likewise. + +1995-06-14 Richard Stallman + + * frame.el (frame-notice-user-settings): When making a minibufferless + frame, don't copy `name' parm explicitly unless it was explicit before. + +1995-06-14 Roland McGrath + + * compile.el (compilation-find-file): If FILENAME is absolute, + apply abbreviate-file-name to it and then use its directory part + as the first search path element, searching for its nondirectory + part. Fix prompting code not to use a free variable. + (compilation-parse-errors, compile-abbreviate-directory): Use + abbreviate-file-name on directories. + +1995-06-14 Johan Vromans + + * forms.el (forms--mode-menu-edit,forms--mode-menu-ro): + Set `mouse-major-mode-menu'. + +1995-06-14 Simon Marshall + + * lisp-mode.el (emacs-lisp-mode-map): Put mark-active for menu-enable + property on eval-region, comment-region and indent-region symbols. + (save-selected-window): Define indentation. + +1995-06-14 Richard Stallman + + * viper-util.el: Delete the Emacs version error check. + + * ediff-init.el: Delete the Emacs version error check. + + * dired.el (dired-change-marks): If OLD is a space, + don't act on non-file lines. + + * vc.el (vc-backend-checkin): Provide an explicit string saying + the log message is empty instead of providing it as empty. + Always use -m option for ci. + + * shell.el (shell-mode): Make shell-directory-tracker a hook + function locally only. + +1995-06-13 Per Bothner + + * term.el: Various optimizations. The main one is to optimize for + simple output at the end of the buffer, with no paging, and in that + case to defer scrolling while we can. + (term-emulate-terminal): Don't call term-handle-scroll in + simple cases unless we are either paging or term-scroll-with-delete. + (term-down): Likewise. + (term-handle-scroll): Modify accordingly. + (term-emulate-terminal): Avoid deleting old text in common case. + Optimize the simple case of CRLF when we're at buffer end. + Handle deferred scroll when done processing output. + (term-handle-deferred-scroll): New function. + (term-down): Simplify - no longer take RIGHT argument. Tune. + (term-goto): Use term-move-columns to compensate for the above. + + * term.el (term-escape-char, term-set-escape-char): Add doc-string. + (term-mouse-paste): Add xemacs support. + + * term.el: Various speed enhencements: + (term-handle-scroll): Don't clear term-current-row; maybe adjust it. + (term-down): Don't call term-adjust-current-row-cache if we've + done term-handle-scroll. + (term-emulate-terminal): Don't call term-adjust-current-row-cache. + (term-emulate-terminal): For TAB, don't nil term-start-line-column. + (term-goto): Possible optimization. + +1995-06-13 Karl Heuer + + * comint.el (comint-mode): Use make-local-hook. + (comint-send-input, comint-output-filter): Use run-hook-with-args. + (comint-dynamic-complete): Use run-hook-with-args-until-success. + +1995-06-13 Michael Kifer + + * viper.el (vip-change-state-to-vi): bug fix. + * viper-util.el (vip-over-whitespace-line): new function. + +1995-06-13 Simon Marshall + + * files.el (file-truename): Use expand-file-name if filename is "". + + * shell.el (shell-mode): Set comint-input-ring-file-name to nil if "". + +1995-06-12 Karl Heuer + + * menu-bar.el (help-menu): Symbol renamed from `help'. + + * rmail.el (rmail-search-backwards): Default count is 1, not -1. + +1995-06-10 Richard Stallman + + * window.el (save-selected-window): New macro. + +1995-06-09 Karl Heuer + + * faces.el (x-create-frame-with-faces): Don't use initial-frame-alist + when looking for the X resource name. + Copy parameters from default-frame-alist, before the geometry + specs from the X resource database. + +1995-06-09 Richard Stallman + + * faces.el (x-create-frame-with-faces): Don't look for geometry + resource if name is nil. + +1995-06-09 Erik Naggum + + * gnuspost.el (gnus-cancel-news): Use `buffer-disable-undo'. + (gnus-inews-article): Ditto. + (gnus-inews-insert-signature): Use the recommended + hyphen-hyphen-space as the signature delimiter. + +1995-06-08 Richard Stallman + + * info.el (Info-mode): Doc fix. + (Info-next-preorder): Renamed from Info-next-preorder-1. + Old definition deleted. + After moving up, go to end of node. + (Info-last-preorder): If no menu, try the previous node. + After going down thru menu or to previous, position at end + of node and recenter. + After moving up, position at start of menu. + (Info-follow-nearest-node, Info-mouse-follow-nearest-node): + Use Info-next-preorder. + (Info-scroll-up, Info-scroll-down): Doc fix. + + * emacsbug.el (report-emacs-bug-info): New command. + (report-emacs-bug): Put it in local map. Display a message + in another window. + + * format.el (format-find-file, format-insert-file): New functions. + +1995-06-08 Morten Welinder + + * add-log.el (prompt-for-change-log-name): Handle the case where + a directory name is specified gracefully. + +1995-06-08 Andre Spiegel + + * vc.el (vc-backend-checkin): Handle RCS `ci'-output in the event + that a check-in only results in reverting to the previous version. + Also be more robust if the new version number cannot be told from + what `ci' says. + +1995-06-08 Karl Heuer + + * vc.el (vc-register): Check for a visited file first thing. + + * files.el (file-precious-flag): Doc clarification. + +1995-06-08 Michael Kifer + + * viper.el (vip-envelop-ESC-key): if an ESC-sequence translates + into a function key, pretend that this key was the last command event. + + * viper.el (vip-put-back,vip-Put-back): now emulate Vi's behavior + more closely. + + * viper.el (vip-line): no longer not bombs out. + (vip-exec-shift) now preserves the point. + + * viper.el: Fixed the behavior of the Vi commands M, L, G, yw, dg, etc. + + * viper-util.el (vip-event-key): now handles keys 128--255 as + meta-chars. + * viper-ex.el: Fixed problems with yanking/deleting buffers. + + * viper.el, viper-mous.el, viper-util.el, viper-ex.el: + Changed vip-*-frame-* to *-frame-*, incorporated overlay strings, + unread-command-events, removed support for emacs versions 19.28 and + xemacs 19.11 and earlier. + * viper-macs.el, viper-keym.el: Likewise. + +1995-06-08 Roland McGrath + + * map-ynp.el (map-y-or-n-p): Don't eval return value of prompter + function. + +1995-06-08 Simon Marshall + + * texinfo.el (texinfo-font-lock-keywords): Do comments first. + +1995-06-08 Roland McGrath + + * rlogin.el (rlogin): If optional second arg is buffer or string, + use that as name. + +1995-06-07 Roland McGrath + + * gud.el (gud-common-init): Call the MASSAGE-ARGS function even if + FILE is nil. + +1995-06-07 Morten Welinder + + * s-region.el: Delete version number. + (s-region-bind): Doc fix. + (s-region-move): Split into s-region-move and s-region-move-p1. + (s-region-move-p2): New function. + (s-region-move): Bind this-command. Bind keys to s-region-move-p1 + or s-region-move-p2 as appropriate. + +1995-06-07 Richard Stallman + + * replace.el (query-replace-map): Bind f1 and help. + + * subr.el (read-quoted-char): Turn on help-form and turn off help-char. + + * isearch.el (isearch-other-meta-char): Try downshifting + shifted control characters. + + * files.el (file-precious-flag): Doc fix. + + * vc.el (vc-register): Clean error message if no visited file. + + * vc-hooks.el (vc-menu-map): Disable Register when no visited file. + +1995-06-07 Paul Eggert + + * time.el (display-time-filter): + Use same instant for both time and time-zone. + +1995-06-05 Michael Kifer + + * ediff-merg.el (ediff-set-state-of-diff-in-all-buffers): bug fix. + (ediff-set-merge-mode): new function. + (ediff-do-merge): now sets correct major mode in the merge buffer. + (ediff-combine-diffs): handles correctly non-interactive calls. + + * ediff.el: Added ediff-cleanup-hooks and ediff-janitor. + + * ediff-wind.el (ediff-setup-control-frame, ediff-keep-window-config): + bug fix. + + * ediff-init.el (ediff-frame-has-menubar): function deleted. + (ediff-device-type, ediff-color-display-p): new functions. + + * ediff-wind.el (ediff-make-control-frame): optimized for display. + Commented out (redraw-display), to improve speed. + + * ediff.el: don't make the patch buffer RO. + + * ediff.el (ediff-load-version-control): now checks if + ediff-revision-key is non-nil. + + * ediff.el (ediff-revision-key): Now defaults to nil. + + * ediff.el (ediff-revision): now takes prefix argument; can compare + two versions of the same file. + + * ediff.el: the merge buffer now assumes the major mode of the + default variant. + + * ediff.el (ediff-documentation: new function. + + * ediff-wind.el: Got rid of toolbars in control frame in xemacs + + * ediff-wind.el: Changed window-min-height from 1 to 2 + + * ediff-wind.el (ediff-diff-at-point, ediff-toggle-multiframe): bug + fixes. + (ediff-destroy-control-frame, ediff-window-display-p): new functions. + * ediff.el, ediff-wind.el, ediff-util.el, ediff-init.el: + Converted xemacs *screen* nomenclature to *frame*. + Incorporated overlay strings. Ediff no longer runs under emacs + 19.28 and earlier and XEmacs 19.11 and earlier. + * ediff.el (ediff-patch-buffer): now handles buffers that don't + visit any file. + (ediff-windows): renamed to ediff-windows-wordwise, added + (ediff-windows-linewise): new function. + Changed ediff-small/large-regions to ediff-regions-wordwise/linewise + + * ediff.el, ediff-wind.el: + Changed window-system to ediff-window-display. + + * ediff-wind.el (ediff-toggle-multiframe): fixed. + (ediff-destroy-control-frame): new function. + +1995-06-05 Boris Goldowsky + + * avoid.el, enriched.el, facemenu.el, format.el, shadowfile.el: + Change email address for Boris. + +1995-06-03 Richard Stallman + + * mouse.el (mouse-set-region): Don't bounce the cursor on X. + mouse-drag-region takes care of showing it, sufficiently. + +1995-06-02 Richard Stallman + + * version.el (emacs-version): If using Motif, mention it. + + * files.el (hack-local-variables-prop-line): Don't downcase var name. + +1995-06-02 Ed Reingold + + * calendar.el (calendar-string-spread): Fix to allow 0 or 1 string. + (calendar-set-mode-line): Use this ability. + (generate-calendar-month): Ditto. + + * cal-x.el (calendar-two-frame-setup): Create fancy buffer if needed. + (calendar-one-frame-setup): Ditto. + + * diary-lib.el (make-fancy-diary-buffer): New function. + (fancy-diary-display): Use it. + +1995-06-02 Simon Marshall + + * comint.el (comint-word): Set match-data to match the word. + +1995-06-01 Karl Heuer + + * term/x-win.el (vendor-specific-keysyms): Recognize "X Consortium". + +1995-06-01 Roland McGrath + + * files.el (multiple-recover-finish): Renamed to + recover-session-finish. + (recover-session): Changed binding. + (recover-session-finish): Doc fix; rewritten using map-y-or-n-p. + +1995-06-01 Ed Reingold + + * cal-x.el (calendar-setup): Autoload it. + +1995-06-01 Simon Marshall + + * fast-lock.el: New version 3.06 from author. + (fast-lock-save-cache): Use verify-visited-file-modtime to check + timestamp of file against buffer, and visited-file-modtime to check + timestamp of file against cache. Check buffer with buffer-modified-p. + Do set-buffer before all of these. + (fast-lock-save-events): Events for which a cache may be saved. + (fast-lock-after-save-hook, fast-lock-kill-buffer-hook, + fast-lock-kill-emacs-hook): Functions for those events; added to hooks. + (fast-lock-save-faces): List of faces to save. + (fast-lock-get-face-properties): Use it. + (fast-lock-cache-filename): Variable to store buffer's cache file name. + (fast-lock-cache-data): Set it. Use buffer-modified-p to check buffer. + Compile keywords before comparison. Revert timestamp from + verify-visited-file-modtime format if necessary. + + * font-lock.el (font-lock-compile-keywords): Optional KEYWORDS to use. + Don't compile them if it looks like they already have been. + +1995-05-31 Karl Heuer + + * time-stamp.el: Move defconsts to avoid byte-compiler warnings. + + * menu-bar.el (menu-bar-help-menu): Add "..." + +1995-05-31 Richard Stallman + + * dired.el (dired-find-buffer-nocreate): Ignore dead buffers. + + * scroll-bar.el (scroll-bar-drag): Call scroll-bar-drag-1 + inside the let. + +1995-05-30 Morten Welinder + + * lisp-mode.el (emacs-lisp-mode-map): Add a menu. + (emacs-lisp-byte-compile): New function. + + * arc-mode.el (archive-lemacs): New variable. + (archive-mode-map, archive-summarize-files): Make it sort-of + work with Lucid Emacs. + (archive-mouse-extract): Use Lucid compatible code. + (archive-summarize-files, archive-lzh-chmod-entry): Guard + lambda with function. + +1995-05-30 Stephen Gildea + + * time-stamp.el (time-stamp): only warn about time-stamping + being disabled if found a time-stamp that won't get updated. + +1995-05-30 Roland McGrath + + * compile.el (compilation-error-regexp-alist): In "Cray C" regexp, + don't allow newlines. + +1995-05-30 Michael Kifer + + * ediff-wind.el (ediff-setup-control-frame): Make + Ediff delete the old control frame before creating a new one. + +1995-05-30 Karl Heuer + + * bookmark.el: Fix capitalization in menu bar. + * rmailsum.el: Likewise. + * makefile.el: Likewise. + * hideshow.el: Likewise. + * cal-menu.el: Likewise. + * sh-script.el (sh-mode-map): Likewise. + * compile.el (compilation-mode-map): Likewise. + * bibtex.el (bibtex-mode-map): Likewise. + * tar-mode.el (tar-mode-map): Likewise. + * forms.el (forms--mode-menu-ro, forms--mode-menu-edit): Likewise. + * gud.el: Likewise. + (gud-xdb-find-file): Delete duplicate menu-bar entry. + * f90.el: Fix capitalization and punctuation in menu bar. + + * frame.el (frame-configuration-p): Moved to subr.el. + * subr.el (frame-configuration-p): Moved here from frame.el. + +1995-05-30 Richard Stallman + + * facemenu.el (facemenu-special-menu): Use characters, not symbols. + Add Remove Special menu item. + (facemenu-remove-special): New function. + (facemenu-set-face-from-menu): If prefix arg, treat region as inactive. + (facemenu-set-face): Likewise. + (facemenu-keymap, facemenu-foreground-menu, facemenu-background-menu): + Add ... after Other. + (facemenu-menu): Change name to Text Properties. + + * facemenu.el (facemenu-remove-really-all): New function. + (facemenu-special-menu): Add Remove All menu item. + (facemenu-indentation-menu): Make item names clearer. + Pick new key names too. + + * facemenu.el (facemenu-menu): Split up definition. + Move `Remove All' item here. + (facemenu-special-menu): Delete `Remove All' item. + (facemenu-remove-all): Renamed from facemenu-remove-really-all. + (facemenu-remove-props): Renamed from facemenu-remove-all. + +1995-05-29 Karl Heuer + + * frame.el (make-initial-minibuffer-frame): New function. + (frame-notice-user-settings): Call it. + + * man.el (Man-default-man-entry): Return result. + + * gud.el (gud-perldb-find-file): Use gud-make-debug-menu. + +1995-05-29 Richard Stallman + + * gud.el (gud-make-debug-menu): New function. + (gud-mode, gud-gdb-find-file, gud-dbx-find-file, gud-sdb-find-file) + (gud-xdb-find-file): Use gud-make-debug-menu. + + * find-dired.el (find-dired): If dired-simple-subdir-alist is not + defined, set dired-subdir-alist a different way. + (find-dired-version): Variable deleted. + + * files.el (after-revert-hook, before-revert-hook): Add defvars. + +1995-05-29 Andreas Schwab + + * gud.el (gud-perldb-massage-args): Pass `-emacs' after the file name. + + * dired.el (dired-mode-map): Rename menubar bindings and use the + new function names `dired-do-query-replace' and `dired-do-search'. + +1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-init-defvars): Don't remove lines containing + "No such file or directory". + +1995-05-29 Karl Heuer + + * cc-mode.el (c-mode-help-address): New hostname. + +1995-05-28 Erik Naggum + + * mail-extr.el (mail-extr-all-letters-but-separators): reinstate + \377, the bug in search.c is apparently gone. + (mail-extr-first-letters): add 8-bit characters + (mail-extr-last-letters): ditto + + * simple.el (indent-for-comment): move to beginning of line only + if there is a comment syntax. + +1995-05-28 Michael Ernst + + * dired.el (dired-find-buffer-nocreate): Check only buffers in + dired-buffers instead of all buffers in (buffer-list). + +1995-05-28 Richard Stallman + + * vc.el (vc-revert-buffer1): Delete the special code for font-lock. + + * font-lock.el (font-lock-revert-cleanup): Always turn font lock on. + (font-lock-mode): When turning mode off, always take out + the revert hooks. + + * files.el (revert-buffer): Save after-revert-hook (both local and + global values) before reverting, and run the saved values at the end. + + * files.el (find-file-noselect): In "file changed" messages, + mention buffer name if different from file name. + + * ediff-wind.el (ediff-setup-control-frame): Use + designated-minibuffer-frame while making the new frame. + And delete the old frame if its minibuffer is not in that frame. + (ediff-setup-windows-multiframe-compare) + (ediff-setup-windows-multiframe-merge): Don't mess with + default-minibuffer-frame here and don't kill the old control frame. + + * ediff-util.el (ediff-setup): Don't make default-minibuffer-frame + a buffer-local variable. + + * dabbrev.el (dabbrev--abbrev-at-point): If point is after + a separator, move back to previous abbreviation. + (dabbrev-expand): New feature--if you insert a space and + call this command again, it always fetches consecutive words + after the expansion that was found for the actual abbrev. + + * isearch.el (isearch-edit-string): Don't bind isearch-other-end. + +1995-05-26 Richard Stallman + + * sendmail.el (send-mail-function, mail): Doc fixes. + + * simple.el (previous-matching-history-element): + No longer remove empty string from history. + Better error message if history is empty. + +1995-05-26 Karl Heuer + + * vc-hooks.el (vc-log-info): Use path-separator. + * info.el (Info-directory-list): Use path-separator. + * gud.el (gud-gdb-marker-regexp): New var. Use path-separator. + +1995-05-26 Michael Ernst + + * ispell.el (ispell-message-text-end): Match start of forwarded msg. + +1995-05-26 Geoff Voelker + + * startup.el (command-line): Handle nil command-line-args. + +1995-05-26 Roland McGrath + + * compile.el (compilation-error-regexp-alist): In "IBM C/C++ + Tools" regexp, disallow leading spaces and disallow whitespace + chars within the file name. + +1995-05-26 Michael Ernst + + * dired-x.el (dired-find-buffer-nocreate): Don't try to find a + wildcard as a subdirectory. + + * gud.el (gud-common-init): Don't die if filename not supplied. + Omit trailing hyphen when no filename follows. + + * texnfo-upd.el (texinfo-sequentially-find-pointer): Don't modify + the kill ring. + +1995-05-25 Richard Stallman + + * bytecomp.el (byte-compile-insert-header): + When using dynamic docstrings, refuse to load in 19.28 and older. + In that error message, don't mention the directory names. + + * faces.el (x-create-frame-with-faces): Read geometry resource + and use that while creating the frame. + +1995-05-24 Rolf Ebert + + * ada-mode.el (initial comments): Copyright 1995; don't speak + about setup; correct history for a file that actually IS in + Emacs 19.29; update list of known bugs. + (all functions): inititialize all local variables explicitely to 'nil'. + (ada-font-lock-keywords): initialized according to new user option + `font-lock-maximum-decoration'. + + * ada-mode.el (ada-ident-re): new regexp for Ada identifiers. + (ada-block-start-re): "record" may be preceded by one or more + occurencies of "limited", "abstract", or "tagged". + (ada-end-stmt-re): added "separate" body parts, "else", and + "package is". + (ada-subprogram-start-re): added "entry", "protected" and + "package body" + (ada-indent-function): handle "elsif" the same way as "if", added + "separate" for no indent. + (ada-get-indent-type): if "type ... is .." is followed by code on + the same line, it is a broken statement. Test it. + (ada-check-defun-name): check for "protected" records. + (ada-goto-matching-decl-start): use of ada-ident-re. + (ada-goto-matching-start): extend regexp for "protected" record. + (ada-in-limit-line): renamed from in-limit-line. Don't use + count-lines, but test if beginning-of-line/end-of-line puts us + to bob/eob. + (ada-goto-previous-nonblank-line): save a beginning-of-line + statement, as we already are there. + (ada-complete-type): removed. + (ada-tabsize): removed. + (keymap): use C-M-a and C-M-e for proc/func movement. No + keybinding anymore for next/prev-package. + (ada-font-lock-keywords-[1|2]): add protected records. "when" removed + from 'reference'-face. + (initial comments): updated CREDITS list. + (ada-add-ada-menu): capitalized menu entries. Added menu statement + needed for XEmacs. + + * ada-mode.el: changed all Ada94 to Ada95. + + * ada-mode.el: (ada-xemacs): new function, detect if we are + running on XEmacs. Ada keymap definition and menus use it. + (ada-create-syntax-table): corrected comments explaining use of 2nd + syntax table. Added creation of ada-mode-symbol-syntax-table + with '_' as word constituent. + (ada-adjust-case): add test, if symbol is preceeded by a "'". + If true, change case according to ada-case-attribute. + (ada-which-function-are-we-in): new routine. Save name of the current + function in the old buffer; we can place cursor now at the same + function in the new buffer using find-file. + (ada-make-body): new function. Generates body stubs if the body + did not exist yet and you switch to it by find-file. + (ada-gen-treat-proc): complete rewrite for ada-make-body. + (ada-mode): two doc lines about the above extension. + (keymap definition): remove 4th parameter in call to + `substitute-key-definition' to make XEmacs happy. + + (ada-adjust-case-region, ada-move-to-start, ada-move-to-end, + ada-indent-newline-indent, ada-format-paramlist): switch syntax + tables, protect switching of syntax tables with unwind-protect. + (ada-in-open-paren-p): replace user option + `ada-search-paren-line-count-limit' by + `ada-search-paren-char-count-limit'. + (ada-case-attribute): new user option, but not yet the functionality. + (ada-krunch-args): initialized to 0 exploiting the new capability of + 'gnatk8' as of gnat-2.0. + (ada-make-filename-from-adaname): remove downcasing and replacement + of dots. This is done in external program gnatk8 (gnat-2.0). + (ada-in-open-paren-p): complete rewrite for speed-up. + (ada-search-ignore-string-comment): ignore # as a string terminator + in all searches. + (ada-add-ada-menu): use real variables instead of t for invoking + 'easymenu' + (require 'easymenu). + (imenu-create-ada-index): we accept forward definitions again. + (ada-indent-region): catch errors, simplified code. + +1995-05-23 Karl Heuer + + * term/x-win.el (vendor-specific-keysyms): Add second spelling for HP. + + * arc-mode.el: Remove version number. + +1995-05-23 Richard Stallman + + * menu-bar.el (delete-frame-enabled-p): New subroutine. + Use frame-visible-p to reduce consing. + + * help.el (describe-prefix-bindings): If key is a string, + make a substring; for a vector, make a vector. + +1995-05-22 Erik Naggum + + * gnus.el (gnus-gnus-to-quick-newsrc-format): don't save + gnus-newsgroup-alist in .newsrc.el. + +1995-05-22 Richard Stallman + + * edmacro.el (edit-kbd-macro): Better error messages for undefined keys + or keys that are not keyboard macros. + + * ada-mode.el (ada-add-ada-menu): Fix args to easy-menu-define. + +1995-05-22 Karl Heuer + + * files.el (file-ownership-preserved-p): Fix typo in previous change. + + * sendmail.el (mail-text): Expand abbrev before moving point. + +1995-05-20 Karl Heuer + + * mouse.el (mouse-save-then-kill): Fix previous change. + + * easymenu.el (easy-menu-do-define): Add autoload cookie. + +1995-05-19 Kevin Rodgers + + * mailalias.el (expand-mail-aliases): Expand aliases in + From and Reply-to headers as well, plus the Resent- variants. + + * sendmail.el (mail-mode): Clarify doc string. + (mail-text): Ditto. + +1995-05-18 Karl Heuer + + * faces.el: Put property on set-face-stipple, not set-stipple. + (face-fill-in): Handle stipple. + +1995-05-18 Richard Stallman + + * bytecomp.el (byte-compile-dynamic-docstrings): Doc fix. + + * tar-mode.el (tar-mode): Set write-contents-hooks instead of + local-write-file-hooks. + + * loadhist.el (unload-feature): When we come to (provide . FEATURE), + remove FEATURE from the features list. + +1995-05-17 Richard Stallman + + * c-mode.el (c-fill-paragraph): Don't alter point + when deciding to narrow at the end for the sake of a comment ender. + + * gnus.el (gnus-expunge): Use defalias. + +1995-05-17 Karl Heuer + + * buff-menu.el (Buffer-menu-buffer): Give more informative error + message if user attempts a selection at end of buffer. + + * easymenu.el (easy-menu-create-keymaps): Set menu-enable prop. + +1995-05-16 Karl Heuer + + * lpr.el: Add provide call. + +1995-05-15 Karl Heuer + + * facemenu.el (facemenu-set-face-from-menu): Doc fix. + (facemenu-set-background, facemenu-set-foreground): Doc fix. + (facemenu-set-face): Doc fix. + + * files.el (file-ownership-preserved-p): Don't bomb if file + doesn't exist. + + * add-log.el (get-method-definition): Fix regexps. + + * tq.el (tq-process-buffer): Don't hard-code the buffer name. + +1995-05-12 Karl Heuer + + * x-apollo.el: New file. + * term/x-win.el (vendor-specific-keysyms): New function. + +1995-05-12 Roland McGrath + + * rlogin.el (rlogin-history): New defvar. + (rlogin): Use rlogin-history as history var in read-from-minibuffer. + + * compile.el (compilation-next-error-locus): Ignore zero column number. + (compilation-parse-errors): Don't store the beginning of the line + containing the end of the error-regexp match. Instead, store the + beginning of the line containing the start of the match, unless + the match starts with a newline, in which case the beginning of + the next line. + + * vc-hooks.el (vc-status): If vc-locking-user returns a number, + compare it to (user-uid). + +1995-05-11 James Thompson + + * ps-print.el: Miscellaneous fixes for better compatibility with + XEmacs 19.12. + + * ps-print.el (ps-plot-with-face): Added code to handle Emacs + 19.29's new ability for the face attribute to hold a list of + faces. + + * ps-print.el: Rolled in Chuck Thompson's changes to make color + printing work in XEmacs 19.12. + + * ps-print.el: Fix error in comments. + + * ps-print.el (ps-generate-postscript-with-faces): Add fix to + handle extents without faces. + + * ps-print.el (ps-faces-list): deleted. Added alias for + list-faces if face-list isn't fbound. + + * ps-print.el: (ps-print-ensure-fontified) added to make sure + ps-print works correctly in conjunction with lazy-lock. + + * ps-print.el: RMS's changes for Emacs. + +1995-05-10 Roland McGrath + + * etags.el (tags-loop-continue): Doc fix. Reset NEW after + visiting for real, so we don't clobber the buffer again. + + * compile.el (compilation-error-regexp-alist): Add regexps for IBM + and Cray compilers. + (compilation-next-error-locus): Ignore a column number that is zero. + +1995-05-09 Richard Stallman + + * bytecomp.el (byte-compile-insert-header): Cope if user-mail-address + is unbound. + +1995-05-09 Andreas Schwab + + * loaddefs.el: Remove duplicate autoloads. + +1995-05-09 Richard Stallman + + * info.el (Info-directory-list): Use installation-directory, + not invocation-directory. Cope if it is nil. + + * sendmail.el (mail-font-lock-keywords): Make mail-header-separator + into a regexp. + + * rnewspost.el (news-reply-mode): Add ^ to paragraph delimiters. + + * supercite.el (sc-no-blank-line-or-header): Make mail-header-separator + into a regexp. + +1995-05-08 Richard Stallman + + * lmenu.el (popup-dialog-box): x-popup-dialog returns the value, + not the cons cell. + + * rnewspost.el (news-setup): Bind mail-signature to nil. + + * ediff.el (ediff-revision-key): Default value nil. + (ediff-load-version-control): Don't remind any key if + ediff-revision-key is nil. + + * info.el (info-insert-file-contents): Don't use + (file-name-directory fullname) if it is nil. + + * helper.el (Helper-help): Use read-key-sequence. + + * mouse.el (mouse-save-then-kill): When making a new region + and not adjusting an old one, always make new kill-ring entry + and don't call mouse-show-mark. + + * add-log.el (add-log-current-defun): Handle objc-mode like c-mode; + detect method definitions by their syntax. + + * menu-bar.el (menu-bar-tools-menu): Rename key to `compare'. + +1995-05-07 Richard Stallman + + * add-log.el (get-method-definition, get-method-definition-1): + New functions. + (add-log-current-defun): Use them to handle objc-mode. + + * pc-mode.el (pc-bindings-mode): Add bindings for C-backspace + and M-backspace. Make C-delete and M-delete operate on words. + Add C-escape binding. + + * loaddefs.el (global-map): Add bindings for C-insert and S-insert. + Also S-delete. Also C-up, C-down, C-prior and C-next. + + * files.el (recover-session): Renamed from multiple-recover. + + * noutline.el: Provide noutline as well as outline. + +1995-05-06 Geoff Voelker + + * winnt.el (path-separator): Set to ";". + + * files.el (path-separator): Defined. + (parse-colon-path): Use path-separator. + +1995-05-06 Richard Stallman + + * pp.el (pp-eval-expression): Update use of temp-buffer-show-function. + + * term/x-win.el (x-colors): Delete "medium goldenrod" in both forms. + Delete "medium forest green" in both forms. + + * gnus.el (gnus-use-generic-from): Doc fix. + +1995-05-05 Richard Stallman + + * loaddefs.el: Delete autoloads for ispell4, noutline, noutline1. + * noutline.el: All autoload cookies disabled. + * ispell4.el: All autoload cookies disabled. + + * gnus.el (gnus-group-mode): Set truncate-lines. + + * edebug.el (\`): Add backslash. + (edebug-\`): Add backslash. + + * info.el (info-insert-file-contents): Fix Apr 19 change. + + * sendmail.el (sendmail-send-it): Check continuation lines + when checking for empty subject lines. + +1995-05-05 Michael Ernst + + * ispell.el (ispell-region): If position not visible, (sit-for 0). + +1995-05-04 Richard Stallman + + * trace.el: Don't try to define backquote. + (trace-version): Deleted. + + * backquote.el ('\`): Use backslash for reading the backquote. + (backquote-backquote-symbol): Likewise. + (backquote): Doc fix. + +1995-05-03 Richard Stallman + + * cc-mode.el: Doc fixes. + (c-version): Mention that this may be modified version. + +1995-05-02 Karl Heuer + + * scribe.el: (scribe-chapter): Change to C-c C-c. + (scribe-section): Change to C-c C-t. + (scribe-subsection): Change to C-c C-s. + (scribe-insert-environment): Change to C-c C-v. + (scribe-bracket-region-be): Change to C-c C-e. + (scribe-italicize-word): Change to C-c C-i. + (scribe-bold-word): Change to C-c C-b. + (scribe-underline-word): Change to C-c C-u. + * gomoku.el (gomoku-human-plays): Change to C-c C-p. + (gomoku-human-takes-back): Change to C-c C-b. + (gomoku-human-resigns): Change to C-c C-r. + (gomoku-emacs-plays): Change to C-c C-e. + * gnus-uu.el (gnus-uu-interactive-scan-directory): Change to C-c C-d. + (gnus-uu-interactive-save-current-file): Change to C-c C-z. + * allout.el (outline-rebullet-current-heading): Change to C-c *. + +1995-05-01 Richard Stallman + + * s-region.el (S-delete): Fix typo (was C-delete). + + * hideif.el (hide-ifdef-mode-prefix-key): Change to C-c @. + (hide-ifdef-mode-submap): Get rid of \e from all bindings. + + * outline.el, noutline.el (outline-minor-mode-prefix): Change to C-c @. + + * texinfo.el (texinfo-mode-map): Delete C-c ] binding. + + * forms.el (forms--mode-commands): Delete C-c ? binding. + + * rnewspost.el (news-reply-mode-map): Delete C-c ? binding. + + * isearch.el (isearch-mode): Doc fix. + + * iso-acc.el (iso-accents-mode): Doc fix. + +1995-05-01 Karl Heuer + + * cc-mode.el (c-set-style): Ignore case in completion. + +1995-05-01 Richard Stallman + + * mailalias.el (expand-mail-aliases): + Use buffer-substring-no-properties. + + * subr.el (buffer-substring-no-properties): New function. + + * makefile.el (makefile-mode): Set dabbrev-abbrev-skip-leading-regexp. + + * dabbrev.el (dabbrev-completion): Use mapcar, not mapc. + Call dabbrev--reset-global-variables as the first thing. + + * files.el (set-auto-mode): If buffer has no file, use buffer name. + +1995-04-30 Jay Adams + + * jka-compr.el (jka-compr-write-region): Handle the append + argument correctly when the can-append flag is false. + (jka-compr-write-region): Make temp-buffer name unique to this fn. + (jka-compr-file-local-copy): Ditto. + +1995-04-30 Richard Stallman + + * files.el (multiple-recover, multiple-recover-finish): New commands. + + * startup.el (normal-top-level): Set auto-save-list-file-name. + +1995-04-29 Richard Stallman + + * startup.el (command-line-1): Implement -L/--directory option. + + * jka-compr.el (jka-compr-insert-file-contents): When visiting, + bind buffer-file-name to nil temporarily. + + * tex-mode.el (tex-view): Nice error if tex-dvi-view-command is nil. + +1995-04-26 Rob Riepel + + * tpu-edt.el (tpu-copy-keyfile): New function. + (tpu-load-xkeys): Copy key definition file to new default name. + +1995-04-26 Karl Heuer + + * vc.el (vc-next-action-on-file): Add missing let-binding. + +1995-04-26 Andre Spiegel + + * vc.el (vc-default-backend, vc-keep-workfiles, vc-consult-headers): + (vc-mistrust-permissions, vc-path): Vars moved to vc-hooks.el. + (vc-match-substring, vc-lock-file, vc-parse-buffer, vc-master-info): + (vc-log-info, vc-consult-rcs-headers, vc-fetch-properties): + (vc-backend-subdirectory-name, vc-locking-user, vc-true-locking-user): + (vc-latest-version, vc-your-latest-version, vc-branch-version): + (vc-workfile-version): Functions moved to vc-hooks.el. + (vc-trunk-p, vc-minor-revision, vc-branch-part): Functions moved + here from vc-hooks.el. + + * vc-hooks.el (vc-default-backend, vc-path, vc-consult-headers): + (vc-mistrust-permissions, vc-keep-workfiles): Customization + variables, moved here from vc.el. + (vc-trunk-p, vc-minor-revision, vc-branch-part): Moved to vc.el. + (vc-backend): Renamed from vc-backend-deduce. Callers changed. + (vc-match-substring, vc-lock-file, vc-parse-buffer, vc-master-info): + (vc-log-info, vc-consult-rcs-headers, vc-fetch-properties): + (vc-backend-subdirectory-name, vc-locking-user, vc-true-locking-user): + (vc-latest-version, vc-your-latest-version, vc-branch-version): + (vc-workfile-version): Functions moved here from vc.el. + (vc-log-info): Log program is no longer called through vc-do-command, + to avoid including the lengthy vc-do-command here. It is done + directly through call-process now. Removed obsolete parameter LAST. + (vc-status): Replaced by the much simpler version that gets the + information from the file properties. Removed the obsolete + parameter vc-type. + (vc-parse-buffer): changed format of PATTERNS. Each pattern is now a + list of 2 to 3 elements, the first being the pattern, the remaining + ones the numbers of subexpressions to refer to. + (vc-cvs-status): New per-file property, only used in the CVS case. + (vc-cvs-status): New function. + (vc-log-info): Adapted to new version of vc-parse-buffer + (vc-fetch-properties): Adapted to new version of vc-parse-buffer. + Better search regexp for CVS latest version. + (vc-log-info): Search for branch version only in the RCS case, + since this doesn't make sense for SCCS or CVS. + (vc-fetch-properties): CVS case: set vc-cvs-status. + (vc-locking-user): CVS case: use vc-cvs-status to determine if + the file is up-to-date, thus avoiding an expensive call to + vc-workfile-unchanged-p. + (vc-mode-line): Re-activated the code that makes the buffer read-only + if the work file is unchanged. But the status of the work file + is now determined by looking at the already-computed mode string. + +1995-04-26 Richard Stallman + + * startup.el (command-line): Handle -iconic and -icon-type here. + +1995-04-25 Karl Heuer + + * abbrev.el (abbrev-mode): Use force-mode-line-update. + * appt.el (appt-check): Likewise. + * array.el (array-mode): Likewise. + * bytecomp.el (byte-recompile-directory): Likewise. + * delsel.el (delete-selection-mode): Likewise. + * dired-x.el (dired-omit-expunge): Likewise. + * dired.el (dired-sort-set-modeline): Likewise. + * double.el (double-mode): Likewise. + * edt.el (edt-advance, edt-backup): Likewise. + * emerge.el (emerge-fast-mode, emerge-edit-mode): Likewise. + (emerge-auto-advance, emerge-skip-prefers): Likewise. + (emerge-refresh-mode-line): Likewise. + * f90.el (f90-auto-fill-mode): Likewise. + * files.el (toggle-read-only, rename-uniquely): Likewise. + * find-dired.el (find-dired-sentinel): Likewise. + * fortran.el (fortran-auto-fill-mode): Likewise. + * gomoku.el (gomoku-display-statistics): Likewise. + * gud.el (gud-sentinel): Likewise. + * hanoi.el (hanoi): Likewise. + * hideif.el (hide-ifdef-toggle-read-only): Likewise. + (hide-ifdef-toggle-outside-read-only): Likewise. + * info.el (Info-edit-mode, Info-cease-edit): Likewise. + * isearch.el (isearch-mode, isearch-done): Likewise. + * ispell.el (ispell-minor-mode): Likewise. + * mh-comp.el (mh-insert-signature): Likewise. + * mh-e.el (mh-set-scan-mode): Likewise. + * mh-utils.el (mh-set-mode-name): Likewise. +o * noutline.el (outline-minor-mode): Likewise. + * outline.el (outline-minor-mode): Likewise. + * picture.el (picture-set-motion, picture-mode-exit): Likewise. + * rmailedit.el (rmail-edit-current-message): Likewise. + (rmail-cease-edit): Likewise. + * simple.el (auto-fill-mode): Likewise. + * supercite.el (sc-raw-mode-toggle): Likewise. + * term.el (term-update-mode-line, term-process-pager): Likewise. + (term-pager-continue): Likewise. + * terminal.el (te-edit, te-more-break-unwind): Likewise. + (te-update-pending-output-display): Likewise. + * time.el (display-time-sentinel, display-time-filter): Likewise. + * vi.el (vi-switch-mode, vi-back-to-old-mode): Likewise. + (vi-mode, vi-goto-insert-state): Likewise. + * vip.el (vip-change-mode): Likewise. + * xscheme.el (xscheme-set-runlight, xscheme-set-prompt): Likewise. + +1995-04-25 Richard Stallman + + * compile.el (compile-internal): Disable undo before erasing + the buffer, then enable again afterward. + (compilation-sentinel): Use force-mode-line-update. + + * tpu-extras.el: Removed reference to tpu-gnu-emacs18-p. + + * tpu-mapper.el: Eval key definitions and clean up upon completion. + Persistent completion status message. + + * loaddefs.el (esc-map): Define ESC ESC : like ESC :. + +1995-04-25 Johan Vromans + + * forms.el: (forms--make-format-elt-using-text-properties) + forms--make-format): Add `intangible' text property to read-only areas. + (forms-next-field, forms-previous-field): Use + `inhibit-point-motion-hooks' to allow move between two + intangible areas. + +1995-04-25 Simon Marshall + + * supercite.el (sc-string-text): New function to return raw text. + (sc-mail-fetch-field, sc-mail-append-field): Use it. + (sc-submatch): Make it a defalias for match-string. + (sc-member): Make it a defalias for member. + +1995-04-25 Richard Stallman + + * files.el (rename-uniquely): Don't discard from end + if that is part of the visited file name. + + * rmail.el (rmail-insert-inbox-text): Get the truename of + the standard inbox name, not just of its directory. + +1995-04-24 Richard Stallman + + * sendmail.el (mail-position-on-field): Use $, not \n, in regexp. + + * tpu-edt.el (tpu-search-internal): Case-sensitive search if search + string contains upper-case. + tpu-check-search-case): New function. + + * tpu-edt.el: Don't turn on tpu-edt mode. + (tpu-gnu-emacs19-p): Function deleted. Callers changed. + (tpu-load-xkeys): Use file name .tpu-keys by default. + (tpu-gnu-emacs18-p): Function deleted. + + * tpu-mapper.el: At end, use default file name .tpu-keys. + Do not kill Emacs. + (tpu-emacs-map-key): Renamed from tpu-gnu-map-key. + + * vc.el (vc-backend-checkout): Pass vc-checkout-switches arg + properly to vc-do-command. + + * isearch.el (isearch-update-ring): Use STRING arg, not isearch-ring. + + * files.el (rename-uniquely): Strip suffix before rename. + +1995-04-24 Simon Marshall + + * font-lock.el (font-lock-keywords): Doc fix for MATCHER. + (font-lock-maximum-size): Set based on font-lock-maximum-decoration. + (font-lock-after-fontify-buffer-hook): Removed. + (font-lock-after-fontify-buffer): New function. + (font-lock-fontify-buffer): Use instead. Don't bother if buffer empty. + (font-lock-fontify-region): Use font-lock-syntax-table if set. + (font-lock-unfontify-region): Only set-buffer-modified-p if necessary. + (font-lock-after-change-function): Use it to unfontify. + (font-lock-compile-keywords): New function to compile keywords. + (font-lock-apply-highlight): New inline function to apply highlights. + (font-lock-hack-keywords): Use them, if font-lock-keywords are not + compiled, and to highlight. Use funcall if MATCHER is not a regexp. + (font-lock-mode): Doc fix for font-lock-maximum-decoration. Use + font-lock-set-defaults to call font-lock-make-faces. + (tex-font-lock-keywords): Revamped. + + * fortran.el (fortran-match-!-comment): New function. + (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2): Use it. + (fortran-font-lock-keywords-3): New variable. + (fortran-find-comment-start-skip): Clean code. + + * add-log.el (change-log-font-lock-keywords): + dired.el (dired-font-lock-keywords): + sendmail.el (mail-font-lock-keywords): + rmailsum.el (rmail-summary-font-lock-keywords): + shell.el (shell-font-lock-keywords): Efficiency change. + +1995-04-24 Richard Stallman + + * easymenu.el (easy-menu-define): Doc fix. + + * iso-acc.el (iso-accents-list): Add ~! and ~? combinations. + + * byte-opt.el (byte-optimize-letX): Use car-safe and cdr-safe. + +1995-04-20 Karl Heuer + + * rmail.el (rmail-resend): Fix abbrev expansion. + + * rmailkwd.el (rmail-attributes): Recognize "resent" attribute. + + * mailabbrev.el (sendmail-pre-abbrev-expand-hook): When setting the + dummy value for abbrev-start-location, use (point-max) rather than + (point), so we won't delete a "-" that happens to be at point. + +1995-04-20 Stephen Gildea + + * mh-mime.el, mh-comp.el: Update some MIME doc strings. + + * mh-comp.el (mh-auto-fill-for-letter): Use fill-prefix to do + message headers. + +1995-04-20 Torbj|rn Einarsson + + * f90.el (f90-keywords): "only" added to keyword list. + (f90-font-lock-keywords-1): Type may now have attributes private + and public. + (f90-font-lock-keywords-2): Fixed difference between type and type(). + (hilit-set-mode-patterns): Type may now have attributes private. + and public, fixed difference between type and type(). + (f90-p-type-re): New regular-expression constant for type commands. + (f90-mode): indent-tabs-mode put to nil by default. + (f90-looking-at-type-like): Now uses f90-p-type-re. + (f90-no-block-limit): Now uses f90-p-type-re. + (f90-change-keywords): Don't change preprocessor lines. + +1995-04-20 Kevin Rodgers + + * dired-x.el: Change the instructions in the INSTALLATION + comment block to set buffer-local variables like + dired-omit-files-p in dired-mode-hook. + (dired-omit-files-p): Make local to all buffers. + (dired-omit-files): Fix doc string (not buffer-local). + (dired-omit-startup): Don't need to make dired-omit-files-p + local to buffer here. + +1995-04-20 Richard Stallman + + * rmail.el (rmail-get-new-mail): Simply the reversion check; + don't call rmail-forget-messages. + +1995-04-19 Richard Stallman + + * rmail.el (rmail-revert): Call rmail-mode after reverting + to make sure rmail-message-vector is buffer-local. + + * undigest.el (undigestify-rmail-message): Strip "^- " which is + added by some digest makers to the beginning of lines. + +1995-04-19 Richard Stallman + + * info.el (info-insert-file-contents): Set default-directory + around call to shell-command-on-region. + +1995-04-19 Mike Williams + + * mouse-sel.el: Downcase function parameters. + Doc fixes. + + * mouse-sel.el Rewrite to support secondary selection. + (mouse-sel-maintainer-address): New constant. + (mouse-sel-submit-bug-report): New function. + Rename mouse-sel-selection-type to mouse-sel-primary-thing. + (mouse-sel-secondary-thing): New variable. + (mouse-sel-selection-alist): New constant. + (mouse-sel-set-selection-function): Semantics changed. Value + should now be a function taking two arguments. + (mouse-sel-get-selection-function): Semantics changed. Value + should now be a function taking one argument. + (mouse-sel-selection-owner-p-function): New variable. + Removed variable mouse-sel-check-selection-function. + Rename mouse-sel-determine-selection-type to + mouse-sel-determine-selection-thing. + (mouse-sel-set-selection): New function. + (mouse-sel-get-selection): New function. + (mouse-sel-selection-owner-p): New function. + (mouse-sel-selection-overlay): New function. + (mouse-sel-selection-thing): New function. + (mouse-sel-region-to-primary): New function. + (mouse-sel-primary-to-region): New function. + (mouse-sel-eval-at-event-end): New macro. + (mouse-sel-determine-selection-thing): Quad-click selects paragraphs. + Removed variable mouse-sel-retain-highlight; use inverse of + transient-mark-mode instead. + (mouse-select-internal): New function. + (mouse-select): Re-written using mouse-select-internal and + mouse-sel-primary-to-region. + (mouse-select-secondary): New function. + (mouse-extend-internal): New function. + (mouse-extend): Re-written using mouse-extend-internal, + mouse-sel-region-to-primary and mouse-sel-primary-to-region. + (mouse-extend-secondary): New function. + (mouse-insert-selection-internal): New function. + (mouse-insert-selection): Re-written using + mouse-insert-selection-internal. + (mouse-insert-secondary): New function. + (mouse-sel-validate-selection): Check all selections in + mouse-sel-selection-alist. + +1995-04-18 Andreas Schwab + + * info.el (Info-find-node, Info-restore-point, Info-search, + Info-forward-node, Info-backward-node): Use string-equal, not equal, + to compare node names. + + * cpp.el (cpp-edit-reset): Fix typo. + (cpp-signal-read-only, cpp-grow-overlay): Update to new calling + conventions. + (cpp-make-overlay-hidden): Don't allow insertion before a + read-only overlay. + +1995-04-18 Richard Stallman + + * cl-specs.el (pushnew): Use edebug-keywordp. + + * edebug.el (edebug-match-keywordp): Function deleted. + + * finder.el (finder-known-keywords): Add `debugging'. + + * vc-hooks.el (vc-buffer-backend): New function. + Also new variable, local in all buffers. + (vc-kill-buffer-hook): Kill local vc-buffer-backend. + * vc.el (vc-update-change-log): Use vc-buffer-backend in menu-enable. + +1995-04-18 Roland McGrath + + * complete.el: Add Keywords: comment header for finder.el. + +1995-04-18 Richard Stallman + + * menu-bar.el: Disable many Files menu items in minibuffer. + (menu-bar-search-menu): Add ... to many items. + Add a query-replace-regexp item. + (nonincremental-repeat-search-forward): Renamed from noninteractive... + (nonincremental-repeat-search-backward): Likewise. + (nonincremental-repeat-re-search-forward): Likewise. + (nonincremental-repeat-re-search-backward): Likewise. + + * frame.el (frame-notice-user-settings): + Don't respecify an old value which was nil and remains nil. + +1995-04-18 Roland McGrath + + * etags.el (tags-search, tags-query-replace): Put (quote ...) + around args inserted into forms to be evalled. + +1995-04-18 Richard Stallman + + * cpp.el (cpp-edit-list): Move definition toward start of file. + (cpp-face-type-list, cpp-writable-list, cpp-button-event) + (cpp-edit-buffer, cpp-branch-list, cpp-face-default-list) + (cpp-face-light-name-list, cpp-face-dark-name-list) + (cpp-face-light-list, cpp-face-dark-list, cpp-face-mono-list) + (cpp-face-none-list, cpp-face-all-list, cpp-overlay-list): Likewise. + + * cpp.el (cpp-highlight-buffer): Rename stack to cpp-state-stack. + (cpp-parse-open, cpp-parse-close): Likewise. + (cpp-push-button, cpp-choose-symbol): Rename data to cpp-callback-data. + (cpp-state-stack, cpp-callback-data): Add defvars. + + * simple.el (line-move): Fix previous change: if we get an error, + move to where the error happened, don't go back to starting point. + +1995-04-17 Richard Stallman + + * forms.el: Major rewrite to use `intangible' property. + +1995-04-17 Karl Heuer + + * map-ynp.el (map-y-or-n-p): Don't log prompt messages. + +1995-04-17 Richard Stallman + + * finder.el (finder-known-keywords): Generalize `c' keyword. + +1995-04-16 Ethan Bradford + + * ispell.el (ispell-init-ispell): Don't barf if there is a + warning message before the version line when Ispell starts up. + +1995-04-16 Richard Stallman + + * font-lock.el (font-lock-make-faces): Determine + font-lock-background-mode from color values of background color. + + * facemenu.el (list-colors-display): Minor clarification. + (facemenu-special-menu): Add "Intangible" item. + (facemenu-color-equal): Doc fix. + + * faces.el (set-face-background): Handle FRAME = nil directly + so stipple colors work in that case. + + * term/x-win.el (x-defined-colors): Take frame as optional arg. + Check whether colors are really supported on the display in use. + +1995-04-15 Richard Stallman + + * files.el (set-auto-mode): If -*- spec doesn't set `mode:', + look for other ways of specifying major mode. + + * talk.el: New file. + + * dired.el (dired-mode-map): Rename commands for A and Q. + + * dired-aux.el (dired-do-search): Renamed from dired-do-tags-search. + (dired-do-query-replace): Renamed from dired-do-tags-query-replace. + +1995-04-14 Richard Stallman + + * cpp.el (cpp-parse-open): Delete comments that go past end of line. + (cpp-edit-reset): Clean up the four standard buttons. + (cpp-parse-buffer): Name was undefined--use cpp-highlight-buffer. + + * finder.el (finder-known-keywords): + Add frames, hypermedia, outlines, oop. + +1995-04-14 Erik Naggum + + * rmail.el (rmail-reformat-message): Call `rmail-clear-headers' + also if `rmail-displayed-headers' is set. + (rmail-clear-headers): Handle `rmail-displayed-headers' correctly. + +1995-04-14 Erik Naggum + + * rmail.el (rmail-insert-inbox-text): When reading old + .newmail- file, report it specifically. + +1995-04-14 Karl Heuer + + * mouse.el: Create mouse-drag-overlay as a dead overlay, instead + of having it live in the *scratch* buffer until first used. + + * edt-vt100.el (edt-vt100-revision): Deleted. + * edt-pc.el (edt-pc-revision): Deleted. + * edt-mapper.el (edt-mapper-revision): Deleted. + * edt-lk201.el (edt-lk201-revision): Deleted. + * edt.el: Many doc fixes. + (edt-version): Deleted. + +1995-04-14 Morten Welinder + + * tar-mode.el (tar-mode): Locally bind next-line-add-newlines to nil. + (tar-subfile-mode): Doc fix. + (tar-expunge): Make questions and messages start with uppercase letter. + (tar-summarize-buffer): Ditto. + (tar-subfile-save-buffer): Make message like others. + (tar-mode): Locally bind local-write-file-hooks. + (tar-mode-write-file): Renamed from tar-mode-maybe-write-tar-file. + (tar-mode-write-file): Simplify to only work for tar file buffers. + (write-file-hooks): Don't modify this. + +1995-04-14 Richard Stallman + + * derived.el (derived-mode-merge-keymaps): Recursively merge + prefix key submaps also. + +1995-04-13 Richard Stallman + + * edebug.el (edebug-gensym): Renamed from gensym. + Don't use concat on an integer. Define unconditionally. + (edebug-gensym-index): Renamed from *gensym-index*. + (edebug-lambda-list-keywordp): Renamed from lambda-list-keywordp. + (edebug-keywordp): Renamed from keywordp. Define unconditionally. + + * vc-hooks.el (vc-kill-buffer-hook): + Don't put it on kill-buffer-hook. + (vc-file-clearprops): Function moved here. + (vc-workfile-version): Function moved here. + (vc-mode-line): Don't call vc-locking-user. + + * vc.el (vc-file-clearprops, vc-workfile-version): + Functions moved to vc-hooks.el. + + * edebug.el (edebug-emacs-19-specific): Use name edebug-menu + for the easy-menu-define call. + + * font-lock.el (font-lock-make-faces-done): New variable. + (font-lock-make-faces): Set font-lock-make-faces-done to t. + Don't call it when loading the file. + (font-lock-mode): Call font-lock-make-faces if not yet done. + + * bytecomp.el (byte-compile-log-file): Always insert at eob. + (byte-compile-insert-header): Cope if user-mail-address is nil. + +1995-04-13 Andre Spiegel + + * vc-hooks.el: Add branch support for RCS; + treat CVS more like RCS and SCCS. + (vc-occurences, vc-trunk-p, vc-branch-p, vc-minor-revision) + (vc-branch-part): new functions that operate on RCS revision numbers. + (vc-status): Use the new property vc-workfile-version + and vc-locking-user (see vc.el). Display "locking state" for CVS. + (vc-find-cvs-master): Search for file name case-sensitively, store + version number into the new property vc-workfile-version. + (vc-find-file-hook): kill any remaining properties. Like this, + when re-finding a file (for example because it has changed on disk), + the version control state gets re-computed. + (vc-mode-line): CVS case: make the buffer read-only if the file + is unmodified. + (vc-kill-buffer-hook): Clear file's vc props when buffer is killed. + + * vc.el: Add branch support for RCS; treat CVS more like RCS and SCCS. + (vc-next-action-on-file): changed CVS handling, such that C-x C-q + works as with RCS and SCCS. + (vc-consult-rcs-headers): New function. + (vc-branch-version): New per-file property, refers + to the RCS version selected by `rcs -b'. + (vc-workfile-version): New function. Also new per-file property + (vc-consult-headers): New parameter variable. + (vc-mistrust-permissions): Default set to `nil'. + (vc-locking-user): Property is now cached. The other functions + update it as necessary. Attempts to use RCS headers if enabled. + (vc-log-info, vc-parse-buffer): Various bug fixes. Added support + for property `vc-branch-version'. + (vc-backend-checkout): RCS case: if no explicit version + is specified, check out `vc-workfile-version'. After check-out, + set `vc-workfile-version' according to the version number + reported by "co". + (vc-backend-checkin): RCS case: remove any remaining locks + if a new branch was created. After every check-in, adjust + the current branch using `rcs -b' (this cannot be avoided). + CVS case: allow for explicit checkin, but only on the trunk. + (vc-next-action-on-file, vc-backend-checkout, vc-backend-checkin, + vc-backend-revert, vc-backend-diff): Explicitly use + vc-workfile-version as the default version to operate on. + +1995-04-13 Richard Stallman + + * help.el (print-help-return-message): Check same-window-buffer-names + and same-window-regexps. + + * help-macro.el (make-help-screen): Explicitly translate + key thru function-key-map. + + * tabify.el (tabify): Include entire first line in narrowing. + + * sendmail.el (mail-do-fcc): Use just find-buffer-visiting + to find buffer to append to. + +1995-04-12 Richard Stallman + + * select.el (x-set-selection): Fix up interactive defaults. + + * fill.el (fill-paragraph, fill-region, fill-nonuniform-paragraphs) + (fill-individual-paragraphs): Pass `full' for JUSTIFY arg, + in the interactive spec, if have prefix arg. + +1995-04-11 Stephen Gildea + + * time-stamp.el (time-stamp-format): Replace list of Lisp + functions with string containing %-escapes, as in `date' program. + (time-stamp): Widen buffer while time-stamping. + (time-stamp-toggle-active): New function. + (time-stamp-warn-inactive): New variable. + +1995-04-11 Geoff Voelker + + * loadup.el [WINDOWSNT]: Find doc strings. + + * files.el (set-auto-mode) [WINDOWSNT]: Match insensitive to case. + + * dired-aux.el (dired-do-chmod): Use dired-chmod-program. + (dired-do-chgrp, dired-do-chown) [DOS_NT]: Disabled. + + * dired.el (dired-chmod-program): Defined. + + * makefile.nt (all): Use DEL_TREE instead of delnode. + + * winnt.el: Key [C-M-backspace] defined. + (mode-line-format): Defined. + +1995-04-11 Richard Stallman + + * mail-hist.el (mail-hist-put-headers-into-history): + Add save-excursion around entire function. + +1995-04-11 Boris Goldowsky + + * facemenu.el (facemenu-read-color): Don't ignore PROMPT arg. + Make arg optional. + (facemenu-unlisted-faces): Add font-lock faces to default value. + +1995-04-11 enami tsugutomo + + * perl-mode.el (perl-comment-indent): Make extra space only when + not at beginning of line. + +1995-04-10 Stefan Schoef + + * bibtex.el (bibtex-find-text, bibtex-remove-double-quotes-or-braces): + Support both kind of delimiters (braces or quotes) regardless of the + value of bibtex-field-left-delimiter and bibtex-field-right-delimiter. + (bibtex-field-left-delimiter, bibtex-field-right-delimiter): + Made buffer-local. + + * bibtex.el (bibtex-beginning-of-entry): At the beginning of an + entry, leave point at the beginning of that entry instead of + moving to the beginning of the previous one. + (bibtex-end-of-entry): Outside an entry, now move to the end of + the *previous* entry (i.e. bibtex-beginning-of-entry and + bibtex-end-of-entry are now idempotent). + (bibtex-sort-entries, bibtex-clean-entry): Removed now obsolete + calls of bibtex-beginning-of-entry just before calls to + bibtex-end-of-entry. + (bibtex-clean-entry): Minor change to adapt to new behavior of + bibtex-beginning-of-entry. + +1995-04-10 Richard Stallman + + * reporter.el (reporter-mailer): Replace mail with reporter-mail. + (reporter-mail): New function. + (reporter-submit-bug-report): Don't check return value of + the reporter-mailer function. + +1995-04-10 Boris Goldowsky + + * simple.el (newline): Don't auto-fill if flag is on; it was + filling wrong line. + +1995-04-10 Roland McGrath + + * compile.el (compilation-error-regexp-alist): Remove superfluous + SGI cc regexp. + +1995-04-10 Simon Marshall + + * version.el (emacs-major-version, emacs-minor-version): Use + match-string rather than substring. + +1995-04-10 Richard Stallman + + * pc-mode.el (pc-bindings-mode): New file. + + * loaddefs.el (global-map): Bind C-M-backspace like C-M-delete. + +1995-04-09 Richard Stallman + + * files.el (write-file): Default is ask for confirmation + only interactively. + +1995-04-09 Karl Heuer + + * mh-e.el, mh-seq.el, mh-pick.el, mh-mime.el: New version from author. + * mh-comp.el, mh-utils.el, mh-funcs.el: New version from author. + +1995-04-09 Roland McGrath + + * server.el (server-switch-buffer): Make first arg optional too; + server-edit might pass no args, since server-done might return nil. + +1995-04-09 Richard Stallman + + * simple.el (line-move): Turn off intangibility for intermediate stops. + + * menu-bar.el (menu-bar-update-buffers): Reuse the entry for + list-buffers rather than making a new one each time. + + * simple.el (newline): Don't indent afterward if at page sep line. + Delete whitespace on blank line before the inserted newlines. + (open-line): Add all the left margins and fill prefixes + after inserting all the newlines. + + * bytecomp.el (byte-compile-log-file): New function. + (displaying-byte-compile-warnings): Log the file name at start; + display the log buffer only if something more gets output by BODY. + (byte-compile-warnings-point-max): Initialize to nil. + +1995-04-09 G Dinesh Dutt (brat@htilbom.ernet.in) + + * etags.el (list-tags): Delete call to select-tags-matched-file. + +1995-04-08 Richard Stallman + + * term/x-win.el (mode-line-buffer-identification): + Fix prev change; use setq-default. + +1995-04-08 Roland McGrath + + * etags.el (next-file): Handle empty list returned by + (tags-table-files). + +1995-04-08 Richard Stallman + + * replace.el (occur): Provide 5 cols for line number. + + * ange-ftp.el (ange-ftp-parse-netrc): Bind `default-directory' to + "/" to avoid infinite loop while expanding filename. + (ange-ftp-message): Don't truncate message in batch mode. + + * simple.el (completion-setup-function): Undo March 11 change. + Add some doc strings to completion-related variables. + +1995-04-08 Roland McGrath + + * compile.el (compilation-error-regexp-alist): Extend Ultrix 3.0 + f77 regexp to also match SGI cc. + +1995-04-08 Morten Welinder + + * comint.el (make-comint): Error, if start-process is not fboundp. + + * menu-bar.el (menu-bar-edit-menu): Don't define ispell item + unless start-process is fboundp. + +1995-04-08 Richard Stallman + + * rnewspost.el (news-reply-mode): + Make mail-header-separator into regexp. + + * sendmail.el (mail-mode): Convert mail-header-separator to regexp + for use in paragraph-start, etc. + + * ispell.el (ispell-message): Make mail-header-separator into regexp + and add $ at end. + + * window.el (walk-windows): Doc fix. + +1995-04-08 Noah Friedman + + * rsz-mini.el (resize-minibuffer-window): Make sure minibuffer + window is selected. + (resize-minibuffer-window-restore): Likewise. + +1995-04-08 Richard Stallman + + * fill.el (fill-region-as-paragraph): Undo previous change. + Instead, set JUSTIFY to `full' in the interactive spec. + + * startup.el (normal-top-level): Copy default-directory + from *scratch* to *Messages*. + + * menu-bar.el (menu-bar-file-menu): Add back as alias for + menu-bar-files-menu. + +1995-04-07 Richard Stallman + + * loaddefs.el (mode-line-buffer-identification): Use %F by default. + ([C-delete]): Bind C-delete normally, not in function-key-map. + + * term/x-win.el (mode-line-buffer-identification): Eliminate %F. + +1995-04-07 Noah Friedman + + * rlogin.el (rlogin): Use format, not concat, to generate numeric + buffer names. + Do not create a new buffer if process in existing buffer has exited. + (rlogin-directory-tracking-mode): Set shell-dirtrackp, not + shell-dirtrack-p. + +1995-04-07 Richard Stallman + + * ebuff-menu.el (electric-buffer-menu-mode-map): Undefine ESC ESC + before binding ESC ESC ESC. + + * edt.el (edt-keep-current-page-delimiter): Doc fix. + + * find-file.el: Many doc fixes. + (ff-upcase-p): Renamed from upcase-p. Callers changed. + (ff-emacs-19): Renamed from ff-gnu-emacs-19. + (ff-string-match): Simplify. + + * docref.el (docref-last-active-buffer): Add defvar. + +1995-04-07 Boris Goldowsky + + * indent.el (set-right-margin): Fix prompt. + * fill.el (fill-region): Avoid error on reaching end of buffer. + + * avoid.el: Add autoload cookies; doc fixes. + (mouse-avoidance-set-pointer-shape): New function. + (mouse-avoidance-nudge-mouse): Use it. + (mouse-avoidance-fancy-hook): streamline args to set-mouse-pos. + +1995-04-07 Richard Stallman + + * msb.el (msb--toggle-menu-type): menu-bar-update-buffers wants 0 args. + + * bytecomp.el (byte-compile-output-docform): Output doc string position + as negative number, if doc string starts with *. + + * mail-hist.el: Use $ at end when searching for mail-header-separator. + + * fill.el (fill-region-as-paragraph): If JUSTIFY is non-nil, + pass t to justify-current-line. + +1995-04-06 Morten Welinder + + * desktop.el (desktop-save): Use dired-directory as name + of top-level in order to capture wildcards used. + (desktop-buffer-dired): Skip possible wildcard when checking + for directory existance. Use dired-insert-subdir, not + dired-maybe-insert-subdir. + +1995-04-06 Karl Heuer + + * files.el (write-file): Fix arg count in call to y-or-n-p. + +1995-04-06 Richard Stallman + + * ispell.el (ispell-menu-map-needed): Delete test for menu-bar feature. + + * bookmark.el (menu-bar-bookmark-map): Autoload each form + used to set up this variable's value, so that the whole job + is done in loaddefs.el. + (bookmark-menu-locate, bookmark-menu-jump, bookmark-menu-insert) + (bookmark-menu-delete, bookmark-menu-rename): Add autoloads. + + * buff-menu.el (list-buffers-noselect): Put buffer name in a text + property on the buffer's name. Put in mouse-face prop here too. + Set Buffer-menu-buffer-column here. + (Buffer-menu-mode): Don't do those things here. + (Buffer-menu-buffer): Use text properties. + (Buffer-menu-buffer-name-position): Function deleted. + + * tar-mode.el (tar-clear-modification-flags): Fix several bugs. + +1995-04-05 Richard Stallman + + * tar-mode.el (tar-mode-map): Fix typo for tar-display-other-file. + +1995-04-05 Karl Heuer + + * tempo.el (tempo-build-collection): Clear flag after computing + return value. + +1995-04-04 Karl Heuer + + * ispell.el (ispell-personal-dictionary): Add autoload. + + * simple.el: Change bindings of event-apply-control-modifier, + event-apply-meta-modifier, event-apply-hyper-modifier, + event-apply-shift-modifier, event-apply-alt-modifier, and + event-apply-super-modifier, in function-key-map, to use C-x @ + instead of C-x ESC. Using escape causes problems since that's + in function-key-map itself. + + * byte-opt.el (byte-compile-inline-expand): Fetch actual bytecode + before inlining a lazy function. + + * tempo.el (tempo-dolist): Don't use `cadr'. + + * simple.el (event-apply-modifier): Fix off-by-one errors. + +1995-04-03 Richard Stallman + + * jka-compr.el (jka-compr-install): Doc fix. + (jka-compr-uninstall): Delete entries that jka-compr-install + added to inhibit-first-line-modes-suffixes. + +1995-04-03 David K}gedal + + * tempo.el (tempo-insert): + Added the P tag and modified the s tag accordingly + (tempo-insert-named): Checks for valid name, insert mark otherwise. + + * tempo.el (tempo-dolist): Changed (cadr ...) to (car (cdr ...)) + + * tempo.el (tempo-expand-if-complete): New function + +1995-04-03 Karl Heuer + + * files.el (set-auto-mode): Fix previous change. + +1995-04-03 Simon Marshall + + * comint.el (comint-file-name-quote-list): New variable of special + characters that are quoted when in file names (default nil). + (comint-mode): Make it buffer local. + (comint-quote-filename): Quote them if they are in the file name. + (comint-dynamic-complete-as-filename, + comint-dynamic-list-filename-completions): Call it before insertion. + (comint-unquote-filename): Unquote any character in the file name. + (comint-match-partial-filename): Call it before substitution. + (comint-word): Include any quoted character as part of the word. + (comint-completion-addsuffix): Value can be a cons pair of strings. + (comint-dynamic-complete-as-filename, + comint-dynamic-simple-complete): Use it when inserting suffixes. + + * shell.el (shell-file-name-quote-list): New variable of special + characters that are quoted when present in file names. + (shell-mode): Set comint-file-name-quote-list with it. + +1995-04-02 Richard Stallman + + * netunam.el: File deleted. + + * menu-bar.el (menu-bar-edit-menu): Capitalize an item name. + (menu-bar-tools-menu): Add verb to Calendar item. + (menu-bar-help-menu): Rename Info to Browse Manuals. + + * sendmail.el (mail-mode-map): Longer title for headers submenu. + +1995-04-01 Richard Stallman + + * fill.el (fill-region-as-paragraph): Remove fill-prefix first, + then remove indentation. + + * files.el (inhibit-first-line-modes-suffixes): New variable. + (set-auto-mode): Use it. + (inhibit-first-line-modes-regexps): Use \\', not $. + + * jka-compr.el (jka-compr-install): Add items to + inhibit-first-line-modes-suffixes. + + * reporter.el (reporter-submit-bug-report): Give up if mailer + command returns nil. Fix error message syntax. + (reporter-bug-hook): Fix error message syntax. + +1995-03-31 Richard Stallman + + * unrmail.el (unrmail): Don't make or switch to a summary buffer. + + * rmail.el (rmail-displayed-headers): New variable. + (rmail-clear-headers): Handle rmail-displayed-headers + +1995-03-31 Michael Ernst + + * scheme.el (scheme-indent-sexp): Don't fail when + calculate-scheme-indent returns a one-element list. + + * rmailsum.el (rmail-summary-toggle-header): Make header visible + in message buffer. + +1995-03-31 Karl Heuer + + * macros.el (insert-kbd-macro): Do something reasonable for vectors. + +1995-03-30 Richard Stallman + + * simple.el (choose-completion-string): Use active-minibuffer-window. + + * dired-aux.el (dired-add-entry): If ange-ftp inserted the file's + absolute name, fix that. + +1995-03-30 Karl Heuer + + * comint.el (comint-read-noecho): Don't log prompt messages. + +1995-03-30 Richard Stallman + + * apropos.el (apropos): Use apropos-worthy-symbol-p + as default predicate. + (apropos-worthy-symbol-p): New function. + + * faces.el (modify-face): Handle stipple. Handle defaulting properly. + Speed up making completion alists. + (modify-face-read-string): New subroutine. + +1995-03-30 Simon Marshall + + * dired.el (dired-insert-directory): Wrap filename character + quoting code with save-excursion. + +1995-03-29 Richard Stallman + + * window.el (minibuffer-window-active-p): Use active-minibuffer-window. + +1995-03-28 Karl Heuer + + * comint.el (comint-read-noecho): Use a format string, in case + PROMPT contains a percent sign. + +1995-03-28 Richard Stallman + + * nntp.el (nntp-request-article): If ID is integer, convert to string. + +1995-03-27 Richard Stallman + + * simple.el (event-apply-modifier): New function. + (event-apply-control-modifier, event-apply-meta-modifier) + (event-apply-hyper-modifier, event-apply-shift-modifier) + (event-apply-alt-modifier, event-apply-super-modifier): + New functions, with bindings in function-key-map. + + * files.el (insert-directory): Use \ before insert-directory-program + to ignore shell aliasing. + +1995-03-27 Boris Goldowsky + + * enriched.el (enriched-mode): Use new plist-put and plist-get + functions, and change name of default-text-properties var. + +1995-03-27 Richard Stallman + + * cplus-md.el (calculate-c++-indent): Copy colon-line-end code + from calculate-c-indent. + +1995-03-25 Richard Stallman + + * scroll-bar.el (scroll-bar-drag): Bind echo-keystrokes to 0. + +1995-03-24 Richard Stallman + + * rmail.el (rmail-display-labels): Use `format' to convert + message numbers to strings. + +1995-03-24 Karl Heuer + + * bytecomp.el (byte-compile-out-toplevel): Compile lambda forms + even if trivial. + +1995-03-24 Simon Marshall + + * subr.el (match-string): Change to defun, but still return nil if + no match. + +1995-03-23 Karl Heuer + + * c-mode.el (c-style-alist): Set c-continued-brace-offset and + c-brace-offset in all styles, so that they don't inherit a trash + value from a previously set style. + + * compile.el (compilation-sentinel): Use `format'; `concat' doesn't + stringize integers anymore. + + * loadup.el: Don't load mouse and face files in system-specific + branches; an earlier test has already loaded them based on a + symbol equivalent to HAVE_MOUSE or HAVE_FACES. + +1995-03-23 Richard Stallman + + * asm-mode.el (asm-mode): Make a per-buffer child keymap here. + Use asm-comment-char to specify which character to define. + (asm-mode-map): Don't bind `;' at load time. + + * pascal.el (pascal-mode-version): Variable deleted. + +1995-03-23 Espen Skoglund + + * pascal.el (pascal-mode-syntax-table): Give \ punctuation syntax. + +1995-03-23 Simon Marshall + + * subr.el (match-string): New macro. Unlike the function version, + returns nil if no match. + +1995-03-22 Richard Stallman + + * asm-mode.el: Doc fixes. + +1995-03-22 Karl Heuer + + * mlsupport.el (ml-concat): New function. + * mlconvert.el: Translate concat to ml-concat. + +1995-03-22 Richard Stallman + + * window.el (one-window-p, walk-windows, minibuffer-window-active-p): + Functions moved here. + * subr.el (one-window-p, walk-windows, minibuffer-window-active-p): + Functions moved to window.el. + +1995-03-21 Boris Goldowsky + + * facemenu.el: Added autoload cookies, small doc fixes. + (list-text-properties-at): New fn. + (facemenu-menu): Add it to menu. + * menu-bar.el (menu-bar-edit-menu): Add Text Properties item. + +1995-03-21 Richard Stallman + + * startup.el (init-file-user, site-run-file): Doc fixes. + + * vc.el (vc-update-change-log): Use new -u option for rcs2log. + + * replace.el (occur): Copy default-directory to *Occur* buffer. + + * simple.el (shell-command): Use *Async Shell Command* for + asynchronous commands. Doc fix. + +1995-03-20 Karl Heuer + + * tar-mode.el (tar-parse-octal-long-integer): Return list, not vector. + +1995-03-20 Karl Fogel + + * bookmark.el (bookmark-automatically-show-annotations): new var. + (bookmark-jump): only show annotation if above var is non-nil. + +1995-03-20 Richard Stallman + + * debug.el (debug): Now interactive. + +1995-03-19 Richard Stallman + + * c-mode.el (c-mode-map): Use "C-mode", not "C mode". + + * menu-bar.el (menu-bar-files-menu): Renamed from ...-file-menu. + (menu-bar-tools-menu, menu-bar-search-menu): New menu bar menus. + Items moved from Edit and Files menus. + Add Split Window, One Window, Find Tag and Postscript print menu items. + (nonincremental-search-forward, nonincremental-search-backward) + (nonincremental-re-search-forward, nonincremental-re-search-backward) + (noninteractive-repeat-search-forward) + (noninteractive-repeat-search-backward) + (noninteractive-repeat-re-search-forward) + (noninteractive-repeat-re-search-backward): New commands. + + * isearch.el (isearch-update-ring): New subroutine. + (isearch-done): Use that. + +1995-03-18 Richard Stallman + + * info.el (Info-next-preorder, Info-next-preorder-1): + When moving up, advance to next menu item. + + * sendmail.el (mail): Use pop-to-buffer. + (same-window-buffer-names): Add *mail*. + (mail-other-window, mail-other-frame): Bind to nil + same-window-buffer-names, special-display-buffer-names, and ...regexps. + + * files.el (write-file): Query if file exists already. + + * isearch.el (isearch-abort): Treat "incomplete regexp" + as failure when deciding how much to discard for C-g. + + * rmail.el (rmail-resend): If mailabbrev loaded, use that to + expand abbrevs. + + * mailabbrev.el: Various doc fixes. + (mail-abbrevs-setup): Use add-hook and make-local-hook. + +1995-03-17 Richard Stallman + + * debug.el (debugger-outer-load-read-function): New variable. + (debug): Bind load-read-function to nil; save old value + in debugger-outer-load-read-function and restore at end. + (debugger-eval-expression): Handle load-read-function + like other magic variables. + +1995-03-17 Karl Heuer + + * ediff.el: Delete some autoloads that are now in menu-bar.el. + Don't put ediff-windows in the menu. + (ediff-patch-buffer): Use buffer name in error message. + +1995-03-17 Boris Goldowsky + + * format.el: New file. + * loadup.el: Load format.el. + + * enriched.el: Some keybindings adjusted for new function names. + (enriched-auto-save-interval, enriched-downcase-annotations, + enriched-code-face, enriched-indenatation-face, + enriched-ignored-ok, enriched-encode-interesting-regexp, + enriched-decode-special-alist, enriched-decode-interesting-regexp, + enriched-encode-special-alist, enriched-translated, + enriched-ignored-list, enriched-open-ans, + enriched-encode-hard-newline, enriched-decode-hard-newline, + enriched-push, enriched-pop, enriched-which-assoc, + enriched-get-face-attribute, enriched-overlays-overlapping, + enriched-show-codes, enriched-show-margin-codes, + enriched-show-region-as-code, enriched-nogrow-hook, enriched-warn, + enriched-looking-at-with-props, + enriched-search-forward-with-props, + enriched-search-backward-with-props, + enriched-text-properties-include, enriched-tag-indentation, + enriched-open-annotation, enriched-close-annotation, + enriched-annotate-function, enriched-delete-indentation, + enriched-move-to-next-property-change): Deleted. + + (enriched-delq-1, enriched-make-list-uniq, + enriched-make-relatively-unique, enriched-common-tail, + enriched-reorder, enriched-insert-annotations, + enriched-loc-annotations, enriched-annotate-change, + enriched-encode-unknown): Moved to format.el. Names changed. + + (enriched-display-table): Copy standard table if there is one, + otherwise create new table. + (enriched-par-props): Don't include front-sticky. + (enriched-initial-annotation): Made it closer to MIME standard. + (enriched-file-width): Use new header format. + (enriched-remove-header): New fn. + (enriched-par-props, enriched-initial-annotation, + enriched-annotation-format, enriched-annotation-regexp): Declare + as const. + (enriched-translations): Name changed from + enriched-annotation-alist. `hard' removed from list. Description + of its semantics moved to format.el. + (enriched-list-valued-properties): Deleted, now + `format-list-valued' property holds this information. + (enriched-annotation-name, enriched-annotation-positive-p): Merged + into enriched-next-annotation. + (enriched-mode): Do not translate buffer. This should be done + already when mode is called. Do not set + write-region-annotate-functions or after-change-functions hooks. + Put text/enriched on buffer-file-format if necessary. Don't + set auto-save-interval. Do set default-properties. + (enriched-insert-indentation): Do nothing to blank lines. + (enriched-encode, enriched-decode): New fns are rewritten + versions of enriched-encode-region and enriched-decode-region. + Much of the complexity moved to format.el. + (enriched-next-annotation): Name changed from + enriched-move-to-next-annotation. Efficiency & clarity improvements. + Return value changed to agree with format-deannotate-region. + +1995-03-17 Richard Stallman + + * rmail.el (rmail-unix-mail-delimiter): Accept <...> around address + in Unix `From ' line. + +1995-03-16 Richard Stallman + + * isearch.el (isearch-abort): Set isearch-success to nil. + + * vms-patch.el (make-auto-save-file-name, auto-save-file-name-p): + Doc fixes. + +1995-03-16 Boris Goldowsky + + * indent.el (indent-line-to): move to end of indentation, even if + it didn't change. + +1995-03-16 Karl Heuer + + * ediff.el: Installed new version from author. + * ediff-diff.el, ediff-init.el, ediff-merg.el: New files. + * ediff-util.el, ediff-wind.el: New files. + * menu-bar.el (menu-bar-file-menu): Changed "Emerge" to "Merge" to + agree with the new ediff package. + + * frame.el (other-frame): Don't try to unfocus in a termcap frame. + (frame-notice-user-settings): Skip menu-bar code in a termcap frame. + (frame-initialize): Set frame-creation-function to + `make-terminal-frame' if appropriate. + * loadup.el: Use appropriate `fboundp' tests to decide what to load. + +1995-03-16 Richard Stallman + + * simple.el (line-move): Handle conses in buffer-invisibility-spec. + Handle skipping invisible overlays. + +1995-03-15 Richard Stallman + + * allout.el (outline-layout): Doc fix. + + * edebug.el: Minor doc fixes. + +1995-03-15 Per Bothner + + * term.el (term-mouse-paste): Make work for xemacs-19.11. + For GNU emacs, don't mouse-set-point, but do + run-hooks on mouse-leave-buffer-hook, + + * term.el (term-char-mode): Fix paren error that caused + the arrow keys to not be recognized under xemacs. + Also, simplify/fix [(button2)] to [button2] for paste under xemacs. + +1995-03-15 Richard Stallman + + * debug.el (debugger-outer-overriding-local-map): New variable. + (debug): Bind overriding-local-map to nil; save old value + in debugger-outer-overriding-local-map and restore at end. + (debugger-eval-expression): Handle overriding-local-map + like other magic variables. + +1995-03-15 enami tsugutomo + + * window.el (balance-windows): Ignore minibuffer window when + browsing the `levels'. + +1995-03-15 Richard Stallman + + * c-mode.el (c-style-alist): For BSD, set c-continued-brace-offset + instead of c-brace-offset. + +1995-03-15 Karl Heuer + + * mouse.el (mouse-major-mode-menu): Avoid confusing error message + when there's no current local map. + +1995-03-15 Torbjvrn Axelsson + + * options.el (edit-options): Make the buffer read-only. + (Edit-options-modify): Cope with that. + +1995-03-15 Karl Fogel + + * bookmark.el: (bookmark-bmenu-2-window): go to correct position + as well as correct buffer. + (bookmark-bmenu-other-window): same. + (bookmark-bmenu-switch-other-window): same. + +1995-03-13 Karl Fogel + + * bookmark.el: Removed C-v bindings; they were inconsistent. + Defvarred some variables to nil, solely to avoid compilation warnings. + Use "Author's Update Number:" instead of "Version:". + (bookmark-history): new var. + (bookmark-completing-read): use `bookmark-history'. + (bookmark-maybe-historicize-string): new macro. + Use this everywhere `bookmark-completing-read' is used, because + `completing-read' won't get a chance to add to `bookmark-history' if + we were invoked via a menu. + (bookmark-rename): use `bookmark-history' when reading the new name. + No need for the strange C-o binding anymore. + +1995-03-13 Richard Stallman + + * fill.el (adaptive-fill-regexp): Skip # or ;. + Allow more than one of them (or *'s or >'s). + + * telnet.el (rsh): Name the buffer *rsh-HOST*. + + * c-mode.el (c-mode): Make comment-multi-line t locally. + +1995-03-12 Richard Stallman + + * simple.el (block-comment-start, block-comment-end): New vars. + (indent-for-comment): Handle them. + + * ielm.el (ielm): Use pop-to-buffer. + (same-window-buffer-names): Add *ielm*. + + * telnet.el (rsh, telnet): Use pop-to-buffer. + (same-window-regexps): Add elt to match *telnet-...* and *rsh...* + with or without at end. + + * info.el (same-window-buffer-names): Set this only in loaddefs.el, + not when info.el is loaded. + + * rlogin.el (rlogin): Use pop-to-buffer. + (same-window-regexps): Add elt to match *rlogin-...* + with or without at end. + + * hexl.el (hexl-mode-old-local-map, hexl-mode-old-mode-name) + (hexl-mode-old-major-mode): Add defvars. + + * shell.el (shell): Use pop-to-buffer. + (same-window-buffer-names): Add *shell* to the list. + + * auto-show.el: New file. + Unconditionally add to comint-output-filter-functions. + (auto-show-mode): Command renamed from auto-show-toggle. + Handle an arg in the standard way. + (auto-show-mode): Variable renamed from auto-show-enable. + + * rnewspost.el (news-reply-mode-map): Add menu bar menus. + + * rmail.el (rmail-duplicate-message): New function. + (rmail-list-to-menu): Bind `command' with let. + +1995-03-11 Richard Stallman + + * server.el (server-buffer-done): Return a list + (NEXT-BUFFER KILLED). KILLED is t if we killed the buffer. + (server-edit): Values from server-done is now list of + args for server-switch-buffer. + (server-switch-buffer): Likewise. + + * simple.el (completion-setup-function): Set completion-base-size. + +1995-03-11 Karl Fogel + + * bookmark.el (bookmark-buffer-name): Be smarter about deducing a name. + (bookmark-insert-buffer-name): Use bookmark-buffer-name. + Replaces bookmark-insert-current-file-name. + (bookmark-make-cell): Fix previous change. + +1995-03-10 Richard Stallman + + * info.el (Info-menu): Bind beg with let. + + * tmm.el: New file. + + * lmenu.el (add-menu-item-1): Better error message if + a menu not the last in the path does not exist. + + * rmail.el (rmail-retry-failure): Don't get errors when + searching for `End of returned message'. + + * vc.el (vc-path): Use /usr/sccs only if it is a dir. + + * bookmark.el (bookmark-make-cell): Use set-text-properties, + not format, to clear text properties. + +1995-03-10 Karl Fogel + + * bookmark.el: + Insure that all entry points call `bookmark-maybe-load-default-file'. + Changed format of bookmark-alist and therefore of bookmark files. + Have version stamps in bookmark files. + Automatically upgrade old bookmark files to new format. + Changed name of default bookmark file to ".emacs.bmk". + Replaced "Bookmark-menu" with "bookmark-bmenu". The + capitalization signified nothing; "bmenu" means "buffer-menu" + -- that is, bmenu code is for the dired-like of bookmarks that + appears when `list-bookmarks' is run, and the "bookmark-menu" + prefix is for the menu-bar. + Internally, use an alist instead of hardcoded list-positions + for storing bookmark information. + + Applied 's patches for annotation support: + (bookmark-send-annotation, bookmark-read-annotation-mode) + (bookmark-edit-annotation-mode, bookmark-default-annotation-text) + (bookmark-read-annotation-text-func, bookmark-read-annotation) + (bookmark-send-edited-annotation, bookmark-edit-annotation): + New functions. + + (bookmark-get-bookmark, bookmark-get-bookmark-record) + (bookmark-name-from-full-record, bookmark-set-name) + (bookmark-get-annotation, bookmark-set-annotation) + (bookmark-get-info-node, bookmark-set-info-node) + (bookmark-get-filename, bookmark-set-filename) + (bookmark-get-position, bookmark-set-position) + (bookmark-get-front-context-string, bookmark-set-front-context-string) + (bookmark-get-rear-context-string, bookmark-set-rear-context-string): + New subroutines. + + (bookmark-file-format-version, bookmark-end-of-version-stamp-marker): + New variables. + (bookmark-grok-file-format-version, bookmark-maybe-upgrade-file-format) + (bookmark-upgrade-version-0-alist, bookmark-upgrade-file-format-from-0) + (bookmark-insert-file-format-version-stamp): New functions. + (bookmark-maybe-load-default-file): + Renamed from bookmark-try-default-file'. + (bookmark-old-default-file): New variable. + (bookmark-default-file): Renamed from `bookmark-file'. + New initial value, ".emacs.bmk". + (bookmark-make-cell): Use backquote. + Produce with the new format (Format Version 1). + Use `format' to strip text-properties. + (bookmark-write-file): Use `pp' instead of `princ'. + Call `bookmark-insert-file-format-version-stamp'. + (bookmark-all-names, bookmark-menu-popup-paned-bookmark-menu) + (bookmark-menu-build-paned-menu, bookmark-menu-popup-paned-menu) + (bookmark-insert-location): New functions. + (bookmark-completing-read): New function. Everyone who called + `completing-read' in the interactive spec now calls this. + (bookmark-load-hook): New hook. + + (bookmark-make-menu-alist): Function deleted. + (bookmark-popup-menu-and-apply-function): replaces + `bookmark-make-menu-with-function'. + + (bookmark-load): Use `bookmark-alist-from-buffer'. + Call `bookmark-maybe-upgrade-file-format'. + (bookmark-set): If Info mode, record Info-current-node. + Use `bookmark-bmenu-surreptitiously-rebuild-list'. + (bookmark-buffer-file-name): Handle Info files. + (bookmark-buffer-name): If Info mode, return Info-current-node. + (bookmark-jump-noselect): For info node, use Info-goto-node. + Use the helper functions, don't mess with the raw + alist (except in completion, which we'll take care of later). + Don't count on `bookmark-search-size' being correct; use the + length of `forward-str' and `behind-str' instead. + (bookmark-relocate): Use the helper functions; don't mess + with the raw alist except in completion. + (bookmark-rename): C-o in minibuffer now inserts old name. + (bookmark-delete): New arg BATCH. + (bookmark-bmenu-execute-deletions): Was `bookmark-bmenu-execute'. + Just call bookmark-delete with the BATCH arg. + Set the modification count and maybe save when done. + Save point intuitively. + (bookmark-insert-current-file-name): Just use `file-name-nondirectory'. + (bookmark-location): Made non-interactive. + (bookmark-bmenu-list): Replaces `list-bookmarks'. + Delete arg ANNOTATION. Use mapcar to simplify. + If not interactive-p, then use `set-buffer' instead of + `switch-to-buffer'. + (bookmark-kill-line): New function, used instead of kill-line. + (bookmark-search-size): Init to 16 instead of 500. + +1995-03-10 Richard Stallman + + * dired-aux.el (dired-do-print): Allow lpr-switches to be a string. + Clean up. + +1995-03-09 Richard Stallman + + * simple.el (line-move-ignore-invisible): New variable. + (line-move): If that var is set, use vertical-motion. + Skip any extra invis chars beyond where vertical-motion stops. + +1995-03-07 Richard Stallman + + * files.el (revert-buffer): Doc fix. + + * hexl.el (hexl-mode): Make after-revert-hook rehexlify. + (hexl-after-revert-hook): New function. + + * perl-mode.el (calculate-perl-indent): When backing up over + continuations, don't go to line beg; + perl-backward-to-start-of-continued-exp gives the right place. + +1995-03-07 Enami Tsugutomo + + * simple.el (indent-new-comment-line): Clean up handling + of \(...\) in comment-start-skip. + +1995-03-07 Per Bothner + + * term.el (term-eol-on-send): New variable. + (term-send-input): Move point to eol before sending only if + term-eol-on-send is true. + + * term.el (term-send-input): Don't move process-mark until + after possible 'history processing. + +1995-03-07 Francesco Potorti` (pot@cnuce.cnr.it) + + * cmacexp.el (c-macro-expansion): put the unique string before the + first #line directive (instead of after), preceded by a newline. + +1995-03-06 Roland McGrath + + * find-dired.el (find-ls-option): Doc fix: now a cons. + (find-dired): Initialize the process-mark for the filter to use. + Find listing switches in cdr of find-ls-option. + (find-dired-filter): Use dired-insert-set-properties on new text. + + * compile.el (compilation-buffer-p): Fix braino in last change: + switch to the buffer first. + (compilation-error-regexp-alist): Doc fix: optional cdrs give + string containing %s to produce the file name from the matched text. + (compilation-find-file): Reorder args: MARKER first, then + FILENAME, DIR, and new arg &rest FORMATS (as they appear in parsed + the fileinfo lists). Try each of the FORMATS in each directory tried. + (compilation-next-error-locus): Apply compilation-find-file to the + FILEINFO list. + (compilation-parse-errors): Instead of a cons (DIR . FILE), make a + list (FILE DIR [FORMATS...]) using the 4th cdr of the matching elt of + regexp-alist. + +1995-03-06 Richard Stallman + + * menu-bar.el (menu-bar-help-menu): Binding for view-emacs-FAQ. + +1995-03-05 Richard Stallman + + * help.el (view-emacs-FAQ): New function. Bind to C-h F. + (help-for-help): Doc fix. + + * info.el (info): Use pop-to-buffer. + (same-window-buffer-names): Add "*info*". + +1995-03-03 Robert J. Chassell + + * texinfmt.el (texinfo-format-refill): Don't confuse a title + underline with 2 or more `*' with an xref line starting with one `*'. + +1995-03-03 Richard Stallman + + * simple.el (shell-command-on-region): Obey REPLACE even if + OUTPUT-BUFFER is nil. Interactively, make REPLACE non-nil + only if there is a prefix arg. + +1995-03-02 Richard Stallman + + * files.el (kill-emacs-query-functions): Doc fix. + +1995-03-02 Boris Goldowsky + + * ada.el (ada-mode): Remove "^" used as anchor from + paragraph-start and paragraph-separate values, so that they will + work with non-0 left-margin settings. + * allout.el (outline-mode): Likewise. + * awk-mode.el (awk-mode): Likewise. + * bibtex.el (bibtex-mode): Likewise. + * c-mode.el (c-mode, c-fill-paragraph): Likewise. + * cc-mode.el (c-common-init, c-fill-paragraph): Likewise. + * cplus-md.el (c++-mode): Likewise. + * edt.el (edt-indent-or-fill-region): Likewise. + * gnus-uu.el (gnus-uu-post-reply-mode): Likewise. + * icon.el (icon-mode): Likewise. + * mh-comp.el (mh-letter-mode): Likewise. + * mim-mode.el (mim-mode): Likewise. + * modula2.el (modula-2-mode): Likewise. + * nroff-mode.el (nroff-mode): Likewise. + * options.el (Edit-options-mode): Likewise. + * outline.el (outline-mode): Likewise. + * perl-mode.el (perl-mode): Likewise. + * prolog.el (prolog-mode-variables): Likewise. + * rnewspost.el (news-reply-mode): Likewise. + * scheme.el (scheme-mode-variables): Likewise. + * scribe.el (scribe-mode): Likewise. + * sendmail.el (mail-mode): Likewise. + * simula.el (simula-mode): Likewise. + * texinfmt.el (texinfo-format-refill): Likewise. + * texinfo.el (texinfo-mode): Likewise. + * tex-mode.el (tex-common-initialization,latex-mode,slitex-mode): + Likewise. + * text-mode.el (indented-text-mode): Likewise. + * vc.el (vc-comment-to-change-log): Likewise. + +1995-03-02 Simon Marshall + + * font-lock.el (font-lock-maximum-decoration) New variable. + (font-lock-after-fontify-buffer-hook): New variable. + (font-lock-fontify-buffer): Run it after fontifying. + (font-lock-thing-lock-cleanup): New function to turn things off. + (font-lock-mode): Call it when turning Font Lock mode off. + (font-lock-fontify-region): Fix to use forward-comment from + comment-start, rather than searching for comment-end from point. + + * ada.el, ada-mode.el (ada-font-lock-keywords): Use + font-lock-maximum-decoration. + + * fortran.el, f90.el (fortran-font-lock-keywords): Use + font-lock-maximum-decoration. + +1995-03-02 Richard Stallman + + * gud.el (gud-massage-args): Variable and function deleted. + (gud-common-init): Don't set the variable. + +1995-03-02 Boris Goldowsky + + * simple.el (newline): Moved from cmds.c. Indents last + inserted line to left-margin. + + * paragraphs.el (paragraph-start, paragraph-separate): Default + values no longer start with ^. Doc fix. + (use-hard-newlines): Moved here from cmds.c. Made buffer-local. + Doc fix. + (looking-at-hard): Deleted, not needed. + (forward-paragraph): Removes ^ from beginning of regexps, if + required. Look for paragraph-start and paragraph-separate at + left-margin, not BOL. Lines with just left-margin indentation are + treated like blank lines. + Paragraph-separate no longer requires a preceding hard newline, but + paragraph-start does: paragraph-separates usually won't occur by + accident, so it doesn't hurt to respect them whenever they do + occur. + +1995-03-01 Richard Stallman + + * vc.el (vc-do-command): Search vc-path first, not last. + + * tar-mode.el (tar-grind-file-mode): Doc fix. + +1995-02-28 Karl Heuer + + * simple.el (shell-command-on-region): Fix typos in doc string. + (universal-argument, describe-arg): Deleted; this is now in C code. + (prefix-arg-internal, digit-argument, negative-argument): Likewise. + +1995-02-28 Richard Stallman + + * gud.el (gud-common-init): Put substed file name back in original + sequence in the args. Pass ARGS to massage-file even if no file name. + (gud-gdb-massage-args, gud-sdb-massage-args, gud-dbx-massage-args) + (gud-mipsdbx-massage-args, gud-xdb-massage-args) + (gud-perldb-massage-args): Don't add FILE onto the args. + + * simple.el (shell-command-on-region): Rename arg; doc fix. + + * server.el (server-switch-buffer): New optional arg KILLED-ONE. + Avoid the other-buffer at the end in that case. + +1995-02-28 Noah Friedman + + * rlogin.el (rlogin-carriage-filter): Don't assume buffer is + narrowed to region with most recent output. + +1995-02-28 Karl Heuer + + * files.el (revert-buffer): Use current-prefix-arg, not prefix-arg. + * terminal.el (te-escape): Likewise. + +1995-02-27 Simon Marshall + + * dired.el (dired-internal-noselect): Use substitute-command-keys + to get binding of revert-buffer. + +1995-02-26 Roland McGrath + + * compile.el (compilation-buffer-p): Check for + compilation-minor-mode or compilation-mode major mode, rather than + internal state variables. Don't want to match a buffer that was + once in compilation-minor-mode but is not now. + +1995-02-26 Richard Stallman + + * info.el (Info-extract-menu-node-name): Collapse multiple spaces. + + * tar-mode.el (tar-mode-show-date): New variable. + (tar-header-block-summarize, tar-next-line): Obey it. + +1995-02-26 Greg McGary + + * tar-mode.el (tar-header-block-tokenize): Parse 32-bit modtime + current-time compatible a list of 16-bit ints (HIGH LOW). + (tar-parse-octal-integer): Write char-const '0' as + ?0 instead of more obscure 48. + (tar-parse-octal-long-integer): New function. + (tar-clip-time-string): New function. + (tar-header-block-summarize, tar-header-block-summarize): + Insert mod-time into listing. + (tar-next-line): Move goal column to new location of filenames. + +1995-02-25 Richard Stallman + + * mouse.el (mouse-kill-secondary): Avoid changing this-command. + Don't clear the secondary selection. + +1995-02-25 Simon Marshall + + * comint.el (comint-truncate-buffer): New function. + (comint-buffer-maximum-size): New variable. + + * shell.el (shell-truncate-buffer): Doc them. + + * comint.el (comint-dynamic-complete-as-filename): Let + file-name-handler-alist to nil; comint-file-name-prefix does this. + (comint-dynamic-list-filename-completions): Likewise. + (comint-dynamic-complete-filename, + comint-dynamic-complete-as-filename): Use window-minibuffer-p. + +1995-02-25 Richard Stallman + + * cplus-md.el (c++-backward-to-noncomment): Don't loop forever + if first line of buffer starts with ` #'. + + * subr.el (walk-windows): Doc fix. + +1995-02-24 Karl Heuer + + * subr.el (local-unset-key): Fix args in previous change. + +1995-02-24 Richard Stallman + + * subr.el (global_set_key, local_set_key, global_unset_key) + (local_unset_key): Functions moved here from keyboard.c. + +1995-02-24 Lars Lindberg + + * msb.el (msb): Select the window that the mouse is in before + showing the menu. This makes the "Most recently used" menu more + accurate. + (menu-bar-update-buffers): The frame list is now an integrated + part of the buffer menu. + (msb--few-menus, msb--very-many-menus): Added rmail-edit-mode. + + * msb.el (mouse-select-buffer): Do sit-for before x-popup-menu. + +1995-02-23 Richard Stallman + + * lisp-mode.el (eval-defun): Convert defvar to defconst. + + * loaddefs.el (function-key-map): Use vector in definition of C-delete. + + * rmail.el (rmail-retry-failure): Support a new style of failure msg. + +1995-02-21 Boris Goldowsky + + * fill.el (set-fill-prefix): Sets it to the text between + left-margin and point, not the whole line before point. + + (fill-region-as-paragraph): Set `from' to the beginning and + `to' to the end immediately, for clarity. This used to be + done after the save-restriction. + + Newlines at end of region used to be changed to spaces, then + deleted. Now delete them (all but one) explicitly, so that we + can test whether they are hard and not delete hard newlines. + + Ignore all whitespace at beginning of region: a line + containing spaces before first line of text used to be joined + onto first line of text, making spurious paragraph + indentation. + + If there is only whitespace in the region, exit quickly (fixed + possible infinite-loop condition). + + Moved the loop that just indents when justification=none inside + the save-restriction. It's a little simpler that way. + + When deleting indentation and fill-prefixes from lines, delete + any whitespace after the fill-prefix too. + + Always exit with point at end of region, after a single + paragraph-final newline. + + (fill-region): Don't use paragraph-movement commands + in use-hard-newlines mode; just fill between each pair of hard + newlines. Old strategy of setting paragraph-start to "^" + doesn't work, since paragraph-start no longer no longer need + occur at BOL. + + (current-justification): Don't look for text-props at EOB: + there are none. + + (set-justification): New arg WHOLE-PAR controls whether to trust + begin and end args in noninteractive use, or extend to limits of + paragraphs. + Don't use "^" in paragraph-start regexp. + Ignore fill-prefix when searching for enclosing paragraph with + use-hard-newlines true. + Squeeze spaces from regions that used to be full-justified. + Remove leftover debugging code. + + (set-justification-{none,left,right,full,center}): Use WHOLE-PAR + arg of set-justification. Interactive spec changed to avoid + errors when there is no region. + + (justify-current-line): Error if JUSTIFY value is not one of + the meaningful symbols (used to do full justification in this case); + change interactive spec to explicitly request full justification. + + Don't need to save-restriction & narrow (except for full-justify). + Explicitly remember beginning position, so that we can move it + to after indentation if that is appropriate. + Save a few more useful quantities; add documentation of variables used. + + Do nothing if there is no text on the line. + + Notice adaptive-fill fill-prefixes too. + + Center or flushright indentation is put between fill-prefix + and text; can't use standard line-indent function for this. + + If centering, do so between left and right margins. + + Warning messages ("line too long") removed; they were annoying + in auto-fill-mode. + + (unjustify-current-line, unjustify-region): New functions. + + * indent.el (indent-line-to): Don't need `let'. + + (current-left-margin): Don't look for text-props at EOB. + + (move-to-left-margin): Always move to left-margin, even in + centered or right-justified regions. + New arg FORCE to add indentation or convert tabs to spaces if + necessary. FORCE is the interactive default; it used to be + available only interactively. + + (indent-to-left-margin): Doc fix. + + (delete-to-left-margin): Use move-to-left-margin. Doc fix. + Make arguments optional. + + (set-left-margin): Make region include following spaces and tabs, + so that later insertions there will inherit new setting. + Always reindent text to show new setting, not only when auto-fill + is active; auto-fill controls only whether to re-fill text. + (set-left-margin, increase-left-margin): Use indent-rigidly to + change indentation level. + (set-left-margin, set-right-margin, increase-left-margin): Save + point when calling fill-region. + (increase-left-margin): left-margin property can be + negative, for outdenting, up to the value of the left-margin variable. + (increase-right-margin): right-margin property can be arbitrarily + negative. Negative values can't be stored in text/enriched + format, but that doesn't mean we shouldn't allow it in general. + + (beginning-of-line-text): New function. + + * simple.el (open-line): Indent to left-margin any lines that + you would consider inserting a fill-prefix on. + + (do-auto-fill): Use unjustify-current-line. + + (indent-new-comment-line): Indent to left-margin before inserting + fill-prefix. + + * facemenu.el (facemenu-justification-menu): "Unfilled" now bound + to set-justification-none; fn changed name. + +1995-02-23 Richard Stallman + + * perl-mode.el (perl-tab-to-comment): Default is nil. + + * loadup.el: Load version.el early on. + + * simple.el (shell-command-on-region): When computing interactive args, + read the minibuffer arg first, then get the region bounds. + +1995-02-21 Michael Kifer + + * viper-ex.el (ex-find-file): now gives an error when a wild card + gives no match. + (ex-next): now recognizes counts and puts proper commands in + ex-command-history. + (vip-info-on-file, ex-substitute): bug fixed. + +1995-02-21 Simon Marshall + + * shell.el (shell-cd): New function. + (shell-process-cd, shell-process-pushd, shell-process-popd, + shell-resync-dirs): Use it instead of cd. + (shell-mode): Make list-buffers-directory local with value + default-directory. + + * mouse.el (mouse-buffer-menu): Use list-buffers-directory if + non-nil if buffer-file-name is nil. + +1995-02-20 Karl Heuer + + * viper.el, viper-ex.el, viper-util.el: New files. + * viper-keym.el, viper-macs.el, viper-mous.el: New files. + +1995-02-20 Simon Marshall + + * fortran.el (fortran-mode): Made fortran-font-lock-keywords turn + off syntactic fontification by default. + +1995-02-20 Roland McGrath + + * vc.el (vc-log-info): Don't switch to the *vc* buffer before + running vc-do-command, because that would change its + default-directory. + +1995-02-19 Richard Stallman + + * rnewspost.el: Various doc fixes. + (news-post-news): Add autoload cookie. + +1995-02-18 Richard Stallman + + * mouse.el (mouse-buffer-menu): Don't clear selection when we kill it. + + * subr.el (eval-after-load): Run FORM now if FILE's already loaded. + + * imenu.el (imenu--cleanup): Set alist to its default + just once, at the beginning. + Don't recurse on a cdr which is nil. + +1995-02-17 Richard Stallman + + * simple.el (quoted-insert): Use insert-and-inherit. + Don't change buffer if arg is negative. + + * tex-mode.el (tex-append): Try splitting on last period, then + try splitting on first period. + + * desktop.el (desktop-internal-v2s): Don't use format + to eliminate text properties. + +1995-02-17 Karl Heuer + + * mailabbrev.el (mail-abbrev-mode-regexp): Doc fix. + +1995-02-17 Richard Stallman + + * rmailsum.el (rmail-summary-mail, rmail-summary-continue) + (rmail-summary-reply, rmail-summary-retry-failure) + (rmail-summary-forward, rmail-summary-resend): Switch to rmail + buffer's window first, so mail buffer replaces summary. + +1995-02-16 Richard Stallman + + * buff-menu.el (Buffer-menu-save): Fix the test for header line. + +1995-02-15 Richard Stallman + + * info.el (Info-index): Bind Info-history, not Info-keep-history. + +1995-02-14 Boris Goldowsky + + * facemenu.el (facemenu-self-insert-face): If previous + self-insert-face is still valid, add to rather than replace it. + (facemenu-loc): Variable deleted. + +1995-02-14 Richard Stallman + + * ehelp.el (electric-help-help, electric-help-command-loop): + Mention q and r, not Q and R. + + * sort.el (sort-regexp-fields-next-record): New subroutine. + If the first search does not advance point and finds an empty match, + skip one char and search again. + (sort-regexp-fields): Use that subroutine. + Bind sort-regexp-fields-regexp, for sort-regexp-fields-next-record. + (sort-regexp-fields-regexp): Declared. + (sort-regexp-record-end): Declared. + +1995-02-13 Jeff Dwork + + * ehelp.el (electric-help-map): Use supress-keymap instead of + filling keymap with undefined commands. Bind R like r. + Substitute electric-command-apropos for command-apropos. + (electric-apropos): New function. + (electric-help-help, electric-help-command-loop): + Mention Q and R in messages. + +1995-02-13 Jim Thompson + + * ps-print.el (ps-print-version): Add caveat about version number. + (ps-begin-file): Fix format code for /LineHeight. + +1995-02-13 Richard Stallman + + * files.el (auto-mode-alist): Fix problem in previous change. + + * pp.el (pp-to-string): Fix previous change. + + * debug.el (debugger-step-after-exit): Variable declared. + (debugger-old-buffer, debugger-value): Variables declared. + + * facemenu.el (facemenu-next): Variable deleted. + (facemenu-self-insert-face): New function. + (facemenu-set-face): Use facemenu-self-insert-face. + (facemenu-set-face-from-menu): Likewise. + (facemenu-after-change): Function deleted. Don't use it as hook. + + * debug.el (debug): Fix arg to backtrace-debug for debug-on-entry. + +1995-02-12 Richard Stallman + + * pp.el (pp-to-string): Don't use emacs-lisp-mode. + Just do the parts of it we actually want. + + * simple.el (next-history-element): Do nothing if n is 0. + Handle errors properly when history list is empty. + +1995-02-11 Richard Stallman + + * menu-bar.el (menu-bar-kill-ring-save): New function--use as `copy'. + (delete-region): Don't enable if (mouse-region-match) is true. + + * mouse.el (mouse-drag-region): Delete the overlay before + calling the terminating event's command binding or making a region. + (mouse-set-region-1): New function. + (mouse-drag-region, mouse-set-region, mouse-save-then-kill): Call it. + (mouse-region-match): New function. + + * ange-ftp.el (ange-ftp-write-region, ange-ftp-insert-file-contents) + (ange-ftp-copy-file-internal): If remote host is unix, use binary mode. + (ange-ftp-file-local-copy): Delete local var bin1. + (ange-ftp-rename-remote-to-remote): Delete arg `binary'. + (ange-ftp-rename-file): Don't pass or compute that arg. + +1995-02-10 Richard Stallman + + * files.el (auto-mode-alist): Add .cpp, .cxx, .hxx, .c++, .h++. + + * sendmail.el (mail-reply-to): New command, on C-c C-f C-r and in menu. + + * c-mode.el (c-switch-label-regexp): Insist on colon after `default'. + + * sendmail.el (mail-do-fcc): Find buffer to add to + using truename, if can't find it by real name. + + * files.el (recover-file): Use ordinary `f' to read file name. + +1995-02-09 Richard Stallman + + * rmail.el (rmail): Don't set rmail-default-file here. + (rmail-default-file): Init it to ~/xmail. + (rmail-default-rmail-file): Don't call expand-file-name. + + * dired.el (dired-mark): If on dir header line, always mark + the files in that dir. + + * lpr.el (print-region-1): Include print options in echo area msgs. + +1995-02-08 Richard Stallman + + * ada.el (ada-mode): Delete autoload. + + * ada-mode.el: New file. + Add autoload cookie. + (ada-mode-map): Don't define C-m, M-a, M-e, M-q. + Don't define M-q. + (ada-mode): Set fill-paragraph-function locally. + (ada-fill-comment-paragraph): Return t. + (ada-gen-make-bodyfile): Add missing backslash. + +1995-02-08 Simon Marshall + + * comint.el (comint-match-partial-filename): Include `%' char. + +1995-02-08 Ken Stevens + + * ispell.el: Personal dictionary save forced when called from menu, + Epoch compile support. + (ispell-skip-sgml): Added variable for skipping SGML tags & references. + (ispell-buffer-local-parsing): Hard wire set of ispell-skip-sgml-tags + to sgml-mode. + (ispell-pdict-save): Message improvement. + (ispell-command-loop): Properly adjust screen with different settings + of ispell-choices-win-default-height. + (check-ispell-version): Use fundamental-mode as default-major-mode. + (ispell-change-dictionary): Remove unnecessary process kills + (ispell-region): Fold sgml support in with tib checking. + (ispell-message): Skips checking of forwarded messages. + +1995-02-07 Karl Heuer + + * novice.el (disabled-command-hook): Recognize ESC x as well as M-x. + + * edmacro.el (edmacro-format-keys): Don't presume internal bit layout + of non-ASCII keys. + (edmacro-parse-keys): Likewise. + * terminal.el (te-pass-through): Likewise. + * subr.el (listify-key-sequence-1, event-modifiers): Likewise. + + * edt.el: New enhanced version. + * edt-lk201.el, edt-mapper.el, edt-pc.el, edt-vt100.el: New files. + + * bytecomp.el (byte-compile-file-form-defmumble, display-call-tree): + Print ellipsis earlier, so message logging will fold similar strings. + (byte-compile-file): Add "done" message. + +1995-02-07 Richard Stallman + + * ps-print.el (ps-print-thompson-version): + Renamed from ps-print-version. + +1995-02-07 Karl Heuer + + * subr.el (read-quoted-char): Don't log prompt messages. + Use M- notation instead of assuming internal layout. + +1995-02-07 Richard Stallman + + * term.el (term-protocol-version): Renamed from term-version. + +1995-02-06 G Dinesh Dutt (brat@htilbom.ernet.in) + + * etags.el (etags-file-of-tag): Handle file name used as tag. + +1995-02-04 Per Bothner + + * term.el (term-version): Increased to 0.95. + (term-pager-enabled): New macro. Use it a bunch of places. + (term-terminal-menu): Clean up initialization so we don't get + complaints when re-loading term.el. + (term-send-raw-meta): Redo to handle meta-symbols (e.g. meta-delete). + More robust checking of parameter to make-string. + (term-update-mode-line): New function. Call it whenever we change + char/line/paging mode. Now includes "page" in mode-line-process + if paging is abled. + + * term.el: Remove causes for byte-compilation to complain: + (term-terminal-pos): Declare x and y in let-binding. + (term-send-invisible): Remove bogus second "iteractive" call. + (term-*): Provide defvars for lots of buffer-local variables. + (term-mode): Make comments and initial value setting from + here to the corresponding defvar. + (term-line-start-column): Remove unused variable. + (term-erase-in-line): Fix syntax (incorrect parenthesis) error. + (term-erase-in-display): Fix typo "\?n" -> "?\n". + + * term.el: Make Unix "resize" command work: + (term-handle-ansi-escape): On "\e[row;colH", limit row + and col to size of window. (Resize sends "999;999".) + (term-handle-ansi-escape): Implement "\e[6n" "Report cursor + position". This requires that we pass proc as an extra parameter. + (term-scroll-region): An empty region means extend to window bottom. + +1995-02-05 Richard Stallman + + * lpr.el (lpr-add-switches): Renamed from lpr-add-options. + (print-region-new-buffer): Return new start and end. + (print-region-1): Use new calling convention. + +1995-02-05 Jim Blandy + + * texinfo.el (texinfo-environment-regexp): Match @menu and + @titlepage --- they require @ends. Don't match @defunx commands; + they don't. + (texinfo-insert-@end): Don't put a command name after the @end + if we ran off the top of the buffer looking for its mate. + +1995-02-04 Richard Stallman + + * rmail.el (rmail-next-same-subject): New command. + (rmail-previous-same-subject): Likewise. + (rmail-mode-map): Add bindings for C-c C-n and C-c C-p. + + * rmailsum.el (rmail-summary-next-same-subject): New command. + (rmail-summary-previous-same-subject): Likewise. + (rmail-summary-mode-map): Add bindings for C-c C-n and C-c C-p. + +1995-02-04 G Dinesh Dutt (brat@htilbom.ernet.in) + + * etags.el : Changes to support filenames as tags too and provided + a drop-in replacement for list-tags. + (find-tag-noselect): Recognize filenames as valid tags too. + (find-tag-file-order): New variable holds function to check for match + for a file name used as a tag. + (find-tag-in-order): If the tag is a file name, position at file beg. + (etags-recognize-tags-table): Added new var find-tag-file-order to + tags-table-format variables. Added tag-filename-match-p to the + list for find-tag-tag-order. + (tag-filename-match-p): New function. + (list-tags): Rewritten for speed. + (tags-list-functions-in-file): New subroutine for list-tags. + (tags-locate-file-in-tags-table): New function locates a + file in `tags-table-list'. + +1995-02-03 Richard Stallman + + * lpr.el (print-region-1): If we run pr, give it the -h option + instead of giving lpr the -T option. + + * dired.el (dired-mode-map): Define up and down arrows like C-p, C-n. + + * f90.el (f90-mode-version): Variable deleted. + (f90-mode): Don't use f90-mode-version. + + * ps-print.el: Add autoload cookies. + (ps-paper-type): Doc fix. + + * lpr.el (print-region-1): Use lpr-page-header-switches, + not ...-options. + +1995-02-03 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-default-man-entry): Remove text properties from result. + +1995-02-02 Karl Heuer + + * rmail.el (rmail-reply-regexp): New var. + (rmail-reply): Delete text matching rmail-reply-regexp. + +1995-02-02 Richard Stallman + + * completion.el: Don't use cl. Eliminate use of when, unless, + dotimes, plusp, minusp, pusnhew, second. + (completion-dolist): New macro. Use instead of dolist. + (completion-gensym-counter, completion-gensym): New variable and fn. + (locate-completion-entry-retry): Bind cmpl-entry, then use it. + (locate-completion-entry): Use completion-string, not string. + (add-completion-to-head, delete-completion): + Rename arg to completion-string. + (completions-list-return-value): Defvar'd and renamed + from return-completions. + (cmpl-preceding-syntax, cdabbrev-stop-point): Add defvars. + (delete-completion, check-completion-length): Fix message format. + (complete, add-completions-from-buffer, add-completions-from-c-buffer) + (save-completions-to-file): Likewise. + (completion-string): Add defvar. + + * lpr.el (lpr-headers-switches): Default is nil. + + * fill.el (fill-paragraph): Bind fill-paragraph-function + to nil before calling it. + + * dabbrev.el (dabbrev-abbrev-char-regexp): Default value is nil again. + +1995-02-02 Richard Stallman + + * c-mode.el (c-mode-map): No binding for c-fill-paragraph + (c-fill-paragraph): Return t. + (c-mode): Put c-fill-paragraph in fill-paragraph-function. + + * lisp-mode.el (shared-lisp-mode-map): Don't bind M-q. + (lisp-fill-paragraph): Return t. + (lisp-mode-variables): Put that in fill-paragraph-function locally. + + * fill.el (fill-paragraph-function): New variable. + (fill-paragraph): Use it. + +1995-02-01 Noah Friedman + + * sendmail.el (mail-mailer-swallows-blank-line): Handle full range + of RFC822-legal header names. + +1995-02-01 Richard Stallman + + * help.el (describe-variable): If var is local, mention default. + + * rmail.el (rmail-retry-failure): Handle "Mime-encapsulated messages". + Discard return-path and from headers as well as sender. + +1995-01-31 Richard Stallman + + * f90.el: New file. + +1995-01-30 Karl Heuer + + * iso-acc.el (iso-accents-list): Add Icelandic thorn. + * iso-transl.el (iso-transl-language-alist): Add French & Portuguese. + (iso-transl-char-map): Use /a /e ~d "s ~t digraphs as in iso-acc.el. + + * frame.el (frame-notice-user-settings): Avoid having the window + manager re-prompt for the initial frame's clone. + + * faces.el (x-create-frame-with-faces): Assume cursor-color, + mouse-color, and border-color are okay as specified unless they + are the same as the new background color. + +1995-01-30 Richard Stallman + + * simple.el (indent-new-comment-line): Obey the convention + about \(...\) pairs in comment-start-skip. + + * lucid.el (make-extent, delete-extent, set-extent-property) + (set-extent-face): New functions. + + * desktop.el: Many doc fixes. + +1995-01-29 Richard Stallman + + * buff-menu.el (list-buffers-noselect): Handle read-only properly. + Select each buffer just once to get all necessary info about it. + + * buff-menu.el (list-buffers-noselect): New subroutine. + (list-buffers): Use that. + (buffer-menu): Switch to the buffer in the same window. + (buffer-menu-other-window): New command. + (Buffer-menu-select): Just change the current window. + + * rnewspost.el (news-reply-mode): Change mode-name to News Reply. + + * lisp-mode.el (lisp-indent-region): Set endmark + before indenting first line. + (indent-sexp): Fixes for ENDPOS != nil case--use nil + as starting-point, and don't insist on a complete sexp. + +1995-01-28 Richard Stallman + + * subr.el (match-string): Fix braino. + + * faces.el (facep): New function. + (internal-check-face): Don't make a loop, since signal can't return. + +1995-01-27 Richard Stallman + + * frame.el (make-frame): Doc fix. + + * help.el (describe-variable): Use local-variable-p. + + * debug.el (debug-convert-byte-code): Convert the doc info to a string. + + * shell.el (shell): If we create a new shell buffer, + select that buffer even if it has been renamed. + + * faces.el (x-resolve-font-name): Better error messages. + +1995-01-27 Karl Heuer + + * subr.el (match-string): Delete extra arg to buffer-substring. + + * replace.el (perform-replace): Don't log the repetitive prompts. + +1995-01-27 Richard Stallman + + * lucid.el (read-number): New function. + + * tex-mode.el (tex-display-shell): Pass nil as arg to + tex-recenter-output-buffer. + (tex-region, tex-file, tex-show-print-queue, tex-bibtex-file): + Put the call to tex-display-shell essentially last. + + * menu-bar.el (menu-bar-update-yank-menu): If string is too long, + show start and end, with ... between them. + (yank-menu-length): Default value 20. + + * subr.el (match-string): New function. + +1995-01-26 Richard Stallman + + * mouse.el (mouse-save-then-kill): When we don't use existing + region, put where click and put mark at the other end. Use + point-before-scroll if non-nil. Recognize mouse-set-region + as a previous command that makes a region we should use. + (mouse-drag-region): When we run the final click's binding, + set this-command. + + * scroll-bar.el (scroll-bar-drag-1): Set point-before-scroll properly. + (scroll-bar-scroll-down, scroll-bar-scroll-up): Likewise. + +1995-01-25 Richard Stallman + + * mouse.el (mouse-save-then-kill): Ignore mouse-selection-click-count if no active mark. + (mouse-drag-region): Modify previous change--don't run the ordinary binding + in the case of a multiple click. + + * tex-mode.el (tex-display-shell): New function. + (tex-file, tex-region, tex-show-print-queue, tex-bibtex-file): + Use that instead of tex-display-shell. + +1995-01-24 Richard Stallman + + * fill.el (justify-current-line): Avoid error comparing fill-prefix + near end of buffer. Do nothing fast if justification not wanted. + + * bytecpat.el: Renamed from bytecomp1.el. + +1994-01-24 G Dinesh Dutt (brat@htilbom.ernet.in) + + * etags.el : Changes to support filenames as tags too and provided + a drop-in replacement for list-tags. + (find-tag-noselect): recognize filenames as valid tags too. + (find-tag-file-order): new variable added. This contains the name of + the function used to qualify a matched filename. + (last-tag-file): new variable; stores the filename looked for via + find-tag fmaily of functions. + (find-tag-in-order): In case tag searched for is a file, don't do + anything fancy to locate position of tag in file. Just seek to + beginning of file. + (etags-recognize-tags-table): Added new var find-tag-file-order to + tags-table-format variables and also set the priority of searching + for tag type to make it look for a filetype tag first. + (tag-filename-match-p): New function added to qualify naive match + for a filename tag. + (list-tags): Replaced with contents with one performing better for + this function. + (tags-list-functions-in-file): New function which is a backend for + list-tags function. + (tags-locate-file-in-tags-table): New function which locates a + file in `tags-table-list'. Its used by list-tags. + +1995-01-24 Frederic Lepied + + * gnus.el: Added support for descriptions in the group buffer: + (gnus-group-prepare, gnus-group-prepare-line, gnus-setup-news) + (gnus-gnus-to-quick-newsrc-format, gnus-group-list-groups): + Record if we show all groups, to redisplay + correctly after toggling descriptions display. + (gnus-newsgroups-display-toggle, gnus-newsgroups-update-description) + (gnus-newsgroups-retrieve-description): New functions. + (gnus-group-mode-map): Bind t to gnus-newsgroups-display-toggle. + Add a newsgroups-update-description menu. + (gnus-newsgroups-regex, gnus-newsgroups-display, gnus-newsgroups-alist) + (gnus-newsgroups-hashtb, gnus-newsgroups-showall): New variables. + (gnus-group-group-name): Changed the regexp to avoid conflict + with descriptions which have a ':' inside. + (gnus-group-mode): Doc fix. + +1995-01-23 Richard Stallman + + * c-mode.el (c-forward-conditional): + If an apparent conditional is not really a conditional, skip past it. + +1995-01-23 Karl Heuer + + * iso-transl.el (iso-transl-dead-key-alist): New var. + (iso-transl-char-map): Give each singleton a doubleton synonym. + (iso-transl-language-alist, iso-transl-ctl-x-8-map): New vars. + (iso-transl-define-keys): New function; sets up keymap. + (iso-transl-set-language): New function; sets language-specific part. + + * simple.el (mark): If transient-mark-mode is nil, mark is active. + +1995-01-23 Espen Skoglund + + * pascal.el: (pascal-*-completion, pascal-comp-defun) + (pascal-complete-word, pascal-completion-response, pascal-completion) + (pascal-get-completion-decl): Rename some internal variables + to start with 'pascal-'. + (pascal-str, pascal-all, pascal-pred, pascal-flag) + (pascal-buffer-to use): New dummy variables. + +1995-01-22 Richard Stallman + + * vc.el (vc-do-command): Arrange for the default-directory variable + in *vc* to be re-set each time this function uses it. + Discard current dir from front of FILE later on, + and only if last = `WORKFILE'. + + * vc.el: Undo Dec 10 change: + (vc-directory, vc-dired-reformat-line): Changed back. + (vc-directory-18): Old function restored. + (vc-dir-all-files): Function deleted. + + * vc.el (vc-next-action-on-file): If file is not registered, + check file out after registering it. + (vc-next-action-dired): Restore the window configuration after + doing vc-next-action on each file in a VC-dired buffer. + (file-regular-p-18): New function. + (file-regular-p): Define, if not already defined. + + * iso-transl.el (iso-transl-char-map): Add elements for + mute-acute, etc. + + * gud.el (gud-mode): Use gud-new-keymap, so inherit keymaps.. + + * font-lock.el (font-lock-fontify-region): Bind inhibit-read-only. + Also buffer-file-name. + (font-lock-hack-keywords, font-lock-unfontify-region): Likewise. + +1995-01-21 Richard Stallman + + * c-mode.el (c-fill-paragraph): If comment terminator is on a + separate line, don't include that line in the filling. + + * bytecomp.el (byte-compile-defvar): Add the var to current-load-list. + +1994-01-21 David K}gedal + + * tempo.el (tempo-insert-template): Quoted transient-mark-mode + Expansion around region now puts point at the first mark. + + * tempo.el (tempo-region-start, tempo-region-stop): New variables + (tempo-insert-template, tempo-insert): Don't affect the + mark. Check for Transient Mark mode + + * tempo.el (tempo-find-match-string): Removed the stupid 1+ again + + * tempo.el (tempo-use-tag-list): + Set tempo-match-finder to completion-function + + * tempo.el (tempo-match-finder): Renamed variable from + tempo-default-match-finder. Change the value too. + (tempo-collection, tempo-dirty-collection): New variables. + (tempo-user-elements): New variable. + (tempo-insert): New argument ON-REGION. + New elements 'l and 'r. Use tempo-is-user-element. + (tempo-is-user-element): New function. + (tempo-invalidate-collection, tempo-build-collection): New functions. + (tempo-find-match-string): Reinserted bugfix for re-search-backward. + (tempo-complete-tag): Complete rewrite. + + * tempo.el (tempo-insert): Added the 'o tag. + +1995-01-21 Per Bothner + + * term.el (term-version): Increased to 0.94. + (term-if-emacs19, term-if-xemacs, term-ifnot-xemacs): New macros + to conditionalize at compile-time for different emacs versions. + (various places): Use them (instead of term-is-XXXX). + (term-is-emacs19): Removed, no longer needed. + + * term.el: Change keybindings to not use C-c LETTER, for + term-char-mode, term-line-mode. Keybindings for term-pager-enable + and term-pager-disable replaced by one for term-pager-toggle. + (term-pager-toggle): New function. + + * term.el (term-fake-pager-enable, term-fake-pager-disable): + Define as aliases, so that menubar code will find proper keybindings. + (term-char-mode): Make no-op if already in char mode. + (term-line-mode): Make no-op if already in line mode. + (term-mode-map): Add keybinding for no-op term-line-mode, so + code to display menubar keybindings doesn't lose it. (Needed + as long as char-mode and line-mode share term-terminal-menu.) + (term-raw-escape-map): Likewise for term-char-mode. + (term-char-mode, term-line-mode): Better documentation strings. + + * term.el: Added menubar for pager sub-mode. + + * term.el (term-command-hook): Disabled the feature that allowed + inferior to send a lisp command to emacs - too big a security hole. + +1995-01-21 Roland McGrath + + * upd-copyr.el (update-copyright): Remove gratuitous error at end. + +1995-01-20 Richard Stallman + + * loadhist.el (unload-feature): Don't care if FILE is a dependency + of itself. + + * fill.el (fill-region-as-paragraph): At end, advance over any newlines + that were in the region but excluded from filling. + +1995-01-20 Karl Heuer + + * text-mode.el (center-line): fill-column is a var, not a function. + +1995-01-20 Morten Welinder + + * compile.el (compile-internal): Force redisplay on compilation + buffer before executing compile process. + +1995-01-20 Richard Stallman + + * ps-print.el: New file. + +1995-01-19 Karl Heuer + + * c-mode.el (set-c-style): Ignore case in completion. + +1995-01-19 Richard Stallman + + * rmailsum.el (rmail-summary-update-highlight): New function. + (rmail-summary-goto-msg): Use it. + (rmail-summary-rmail-update): Move the summary highlight. + (rmail-summary-mark-deleted): Do nothing if rmail-summary-overlay + has a nil face-property. + (rmail-new-summary): Make the summary-on-top kludge + more restricted in when it is used. + +1995-01-19 Karl Heuer + + * paths.el (remote-shell-program): Reorder search path. + +1995-01-18 Richard Stallman + + * fill.el (current-justification): Renamed from current-justification. + Callers changed. + (fill-region-as-paragraph): left-margin renamed to current-left-margin. + + * indent.el (move-to-left-margin): justification renamed to + current-justification. + * simple.el (do-auto-fill): justification renamed to + current-justification. + + * ispell.el (check-ispell-version): Use Fundamental mode + in the temporary buffer. + + * calendar.el: Use byte-compile-dynamic. + +1995-01-18 Roland McGrath + + * etags.el (etags-file-of-tag): Use a regexp search to find the + file name, allowing it to contain any char but a newline. + +1995-01-18 Boris Goldowsky + + * indent.el (standard-indent): New variable. + (alter-text-property, current-left-margin, move-to-left-margin) + (delete-to-left-margin, set-left-margin, set-right-margin) + (increase-left-margin, decrease-left-margin, increase-right-margin) + (decrease-right-margin, indent-line-to): New functions. + (indent-to-left-margin): Use indent-line-to. Don't delete or + insert anything unless necessary. + + * fill.el (set-justification): New function. + (set-justification-{none,left,right,full,center}): New functions. + (fill-region-as-paragraph, fill-region, justify-current-line): New + arg NOSQUEEZE defeats normal removal of extra whitespace. + (fill-region-as-paragraph, fill-region) + (fill-nonuniform-paragraphs, fill-individual-paragraphs): + Arg JUSTIFY-FLAG (JUSTIFYP) renamed to JUSTIFY. + (fill-region-as-paragraph): Obey left-margin; fill-prefix starts + after left-margin. Disable filling if JUSTIFY == none, but indent to + margin anyway. + Adaptive-fill removes text-props from fill-prefixes it finds. + Adaptive-fill no longer has to notice left-margin: std fill does that. + Use fill-column and canonically-space-region functions. + (canonically-space-region): New fn split from fill-region-as-paragraph. + (fill-region): New args NOSQUEEZE (as above) and TO-EOP. + (default-justification): New variable. + (current-left-margin, fill-column, justification): New functions. + (fill-paragraph): Use fill-region-as-paragraph when possible. + (justify-current-line): New arguments; different kinds of + justification handled. Uses left-margin and fill-column functions. + + * paragraphs.el (forward-paragraph): Fix end-of-buffer bug. + + * completion.el (completion-separator-self-insert-autofilling): + Don't check fill-column; do-auto-fill will do that. + + * simple.el (do-auto-fill): Fill, don't fill, or fill-and-justify + depending on setting of justification text-property. Respect + left-margin and right-margin text properties. + (open-line, indent-new-comment-line): Inherit when inserting. + (newline-and-indent, reindent-then-newline-and-indent): Doc fix. + + * text-mode.el (center-line): Use current-left-margin function. + + * enriched.el (enriched-annotation-list): Property `hard-newline' + renamed to `hard'. Justification value `both' renamed `full'. + (enriched-mode): Don't set auto-fill-function, fill-column, + sentence-end-double-space. Do set use-hard-newlines. + (enriched-delete-indentation): Use delete-to-left-margin and + canonically-space-region. + (enriched-indent-increment): Deleted, use `standard-indent' instead. + (enriched-insert-hard-newline): Deleted, use `newline'. + (enriched-beginning-of-line): Deleted, use `move-to-left-margin'. + (enriched-squeeze-spaces): Deleted, use canonically-space-region. + (enriched-forward-paragraph, enriched-backward-paragraph) + (enriched-open-line, enriched-fill-paragraph, enriched-fill-region) + (enriched-fill-region-as-paragraph, enriched-auto-fill-function) + (enriched-justify-line): Deleted, use standard versions. + (enriched-region-pars, enriched-end-of-paragraph, enriched-unindent) + (enriched-beginning-of-paragraph, enriched-move-to-fill-column) + (enriched-line-length, enriched-indent-line, enriched-indent) + (enriched-aggressive-auto-fill-function, enriched-hard-newline) + (enriched-indent-right, enriched-unindent-right): Deleted. + (enriched-show-codes, enriched-show-margin-codes) + (enriched-show-region-as-code, enriched-nogrow-hook): Commented out. + (enriched-left-margin, enriched-change-left-margin) + (enriched-change-right-margin, enriched-set-left-margin) + (enriched-set-right-margin): Moved to indent.el as current-left-margin, + increase-left/right-margin, set-left-/right-margin. + (enriched-default-justification, enriched-justification) + (enriched-set-justification-*, enriched-fill-column): Moved to + fill.el as default-justification, current-justification, + set-justification-*, current-fill-column. + (enriched-indentation-menu-map, enriched-justification-menu-map): + Moved to facemenu.el as facemenu-indentation-menu, + facemenu-justification-menu. + + * facemenu.el (facemenu-keybindings, facemenu-face-menu): + Keybinding for bold-italic changed from M-g o to M-g l; M-g o is + now "other". + (facemenu-justification-menu, facemenu-indentation-menu): + New submenus, moved from enriched.el + (list-colors-display, facemenu-color-equal): New functions. + (facemenu-menu): Added "Display Faces" item. + (facemenu-new-faces-at-end): New variable. + (facemenu-add-new-face): Obey facemenu-new-faces-at-end. + (facemenu-menu, facemenu-keymap, facemenu-face-menu) + (facemenu-foreground-menu, facemenu-background-menu) + (facemenu-special-menu): Now have function definitions as prefix keys. + (facemenu-menu, facemenu-update): Refer to submenus by their names + rather than including their values. + (facemenu-set-face): Error if read-only; add item to menu if necessary. + (facemenu-get-face): Always return FACE. + (facemenu-add-new-face): Don't add if facemenu-unlisted-faces is t. + (facemenu-unlisted-faces): Doc fix. + + * facemenu.el: Revise keybindings; doc fix. + (facemenu-new-faces-at-end): New vbl. (facemenu-add-new-face): Use it. + (facemenu-set-face, facemenu-set-face-from-menu): Check read-only. + (facemenu-set-face): Doc fix. + + * facemenu.el (facemenu-face-menu, facemenu-foreground-menu, + facemenu-background-menu, facemenu-special-menu): New or renamed + variables for submenus. + (facemenu-color-alist): Renamed from facemenu-colors. + (facemenu-add-new-face): New function. + (facemenu-update): Don't redo top-level menu; + nothing should change. Move menu setup to defvars. Use + facemenu-add-new-face. Changed global binding to C-down-mouse-3. + (facemenu-menu): "Update" item removed; should + no longer be needed interactively. + (facemenu-complete-face-list): Just return faces, not keybindings. + +1995-01-18 Karl Heuer + + * ispell.el (check-ispell-version): Force standard syntax table. + + * paths.el (remote-shell-program): New var. + * telnet.el (rsh): Use it. + * rcompile.el (remote-compile): Likewise. + * ange-ftp.el (ange-ftp-gateway-program): Likewise. + (ange-ftp-shell-command): Likewise. + +1995-01-18 Richard Stallman + + * gud.el (gdb): In gud-remove, specify the source file. + +1995-01-17 Richard Stallman + + * gud.el (gud-new-keymap): New function. + (gud-xdb-find-file, gud-dbx-find-file, gud-sdb-find-file, gud-gdb-find-file): + Use it for keymap inheritance. + +1995-01-17 Dave Love + + * gud.el (gud-gdb-find-file): Propagate debug menu to found buffers. + (gud-dbx-find-file, gud-xdb-find-file, gud-sdb-find-file, gud-perldb-find-file): + Likewise. + (gud-menu-map): New variable. + (gud-mode): Use gud-menu-map and move the menu-setting outside. + + * gud.el (dbx): Fix missing cast of $curline for Irix. + (gud-irixdbx-marker-filter): Make $curline cast consistent with the others. + +1995-01-17 Simon Marshall + + * comint.el (comint-dynamic-list-completions): Test event-start to + make sure it is not a complex event (e.g., switch-frame). + +1995-01-17 Richard Stallman + + * help.el (help-for-help): Doc fix. + + * help-macro.el (make-help-screen): Use *only* local-map to look + up keys. + +1995-01-16 Karl Heuer + + * edebug.el (edebug-enter): Fix reversed setq's. + + * calendar.el (calendar): Doc fix. + + * disp-table.el (standard-display-ascii): Doc fix. Allow use with X. + + * iso-cvt.el (iso-aggressive-german-trans-tab): Doc fix. + (iso-cvt-ffh, iso-cvt-wfh, iso-cvt-ash): Doc fix. + +1994-01-16 Espen Skoglund + + * pascal.el (pascal-mode-map, pascal-outline-map): + C-c C-b now inserts block. C-c C-d does goto-defun. + `#' calls on electric-pascal-hash. + (pascal-calculate-indent, pascal-indent-alist) + (electric-pascal-tab, pascal-indent-case): + Better handling of indent within case. Support for CPP. + The `;' in the last statement of a subblock may be omitted. + (electric-pascal-hash): New function. + +1995-01-16 Richard Stallman + + * vc.el: Revert Jan 15 and Jan 5 changes. + + * scribe.el (scribe-mode): Treat @: as a sentence end. + +1995-01-15 Richard Stallman + + * dabbrev.el (dabbrev--find-all-expansions): Don't use push. + (dabbrev--search): Likewise. + +1995-01-15 Roland McGrath + + * vc.el (vc-do-command): Use set-buffer-modified-p instead of + not-modified. + + * files.el (not-modified): Doc fix. + + * etags.el (etags-tags-completion-table): Don't let match string + contain a \177. + +1995-01-13 Karl Heuer + + * vc.el (vc-directory): Prompt for a directory, not a file. + +1995-01-12 Karl Heuer + + * edebug.el: Undo Nov 30 change. + (edebug-emacs-19-specific): Don't use quote; easy-menu-define doesn't + evaluate its first arg. + + * easymenu.el (easy-menu-define): Doc fix. + +1994-01-12 Boris Goldowsky + + * paragraphs.el (forward-paragraph): Notice use-hard-newlines value. + (looking-at-hard): New function. + (paragraph-start, paragraph-separate): Doc fix. + + * simple.el (open-line, split-line, next-line): Use `newline' + function to insert newline so it will be marked hard if appropriate. + (indent-new-comment-line): Use `newline' function, unless called + with (new) argument. + (do-auto-fill): Call indent-new-comment-line with argument to + make newline soft. + + * fill.el (fill-region-as-paragraph): Don't modify newline + at end of paragraph, to make sure text-properties are preserved. + (fill-paragraph): Call fill-region, not fill-region-as-paragraph, + to avoid clobbering paragraph-internal hard-newlines. + (fill-region): If use-hard-newlines is on, divide into + "paragraphs" by breaking at every hard newline, temporarily + ignoring paragraph-start. + +1994-01-12 Tom Tromey + + * buff-menu.el (list-buffers): New function. + (ctl-x-map): Define C-x C-b to list-buffers. + +1995-01-12 Richard Stallman + + * files.el (revert-buffer): Recompute buffer-file-truename. + + * c-mode.el (indent-c-exp): Handle `{ if (x)\n foo;\n bar;' case. + * cplus-md.el (indent-c++-exp): Handle `{ if (x)\n foo;\n bar;' case. + + * etags.el (etags-goto-tag-location): Add 1 to char positions in TAGS. + + * startup.el (command-line-1): Handle -f with kbd macro. + + * msb.el (mouse-select-buffer) Handle an aborted selection. + +1995-01-11 Richard Stallman + + * derived.el (define-derived-mode): Doc fix. + +1995-01-10 Richard Stallman + + * term/x-win.el: Put height and width from geometry parm + into default-frame-alist. + +1995-01-10 Karl Heuer + + * isearch.el (isearch-edit-string): Disable message logging. + (isearch-toggle-case-fold, isearch-message): Likewise. + +1995-01-10 Richard Stallman + + * dired.el (dired-insert-directory): Don't call expand-file-name + when dir-or-list is a list. + +1995-01-10 Noah Friedman + + * rlogin.el (rlogin-tab-or-complete): Insert tab in buffer, don't + send directly to process. + (rlogin, rlogin-directory-tracking-mode): Use rlogin-remote-user, + not rlogin-user. + +1995-01-10 Richard Stallman + + * faces.el (face-nontrivial-p): New function. + + * paren.el (show-paren-command-hook): Don't alter paren-mismatch face + if make-face gives it some contents. + +1995-01-10 Simon Marshall + + * shell.el (shell-mode): Doc fix. + +1995-01-10 Richard Stallman + + * dabbrev.el (dabbrev-check-other-buffers): + Renamed from dabbrev-always-check-other-buffers. + (dabbrev-check-all-buffers): Renamed frm dabbrev-check-rest-of-buffers. + + * ange-ftp.el (ange-ftp-set-buffer-mode): Don't set make-backup-files. + (ange-ftp-real-find-backup-file-name): New function. + (ange-ftp-find-backup-file-name): New function. + Use it to handle find-backup-file-name. + + * files.el (find-backup-file-name): Run a file name handler. + (backup-buffer): Do nothing if backup-info is nil. + +1995-01-09 Noah Friedman + + * rlogin.el: Removed several more gratuitous autoload cookies. + (rlogin-initially-track-cwd): Variable deleted. + (rlogin-directory-tracking-mode): New variable and function. + Default to 'local. + (rlogin-host, rlogin-remote-user): New variables. + (rlogin): Set them appropriately. + (rlogin-tab-or-complete): New function. + Bind C-i to it. + (rlogin-carriage-filter): New function. + (rlogin): Add it to comint-output-filter-functions. + (rlogin-parse-words): New function. + (rlogin): Make buffer name "*rlogin-USER@HOST* if remote user + differs from local. + Simplify initialization of local variables, using rlogin-parse-words. + Do not call comint-mode directly. + Doc fixes. + +1995-01-09 Karl Heuer + + * bytecomp.el: Fix text punctuation. + +1995-01-09 Richard Stallman + + * faces.el (face-try-color-list): Treat `underline' as valid. + + * subr.el (listify-key-sequence-1): Update for change in CHAR_META. + + * dabbrev.el (dabbrev-expand): Now checks for marker. + (dabbrev--try-find): Now does a protected call to `widen'. + (dabbrev-always-check-other-buffers): Default now t. + (dabbrev--capitalize): Function deleted. + (dabbrev-completion): Use `capitalize'. + + * msb.el Better format of files-by-directory menus. Now + splits big menus into sub-menus. + (msb-max-menu-items): Changed default value. This variable + now depicts the maximum number of items in a sub-menu. + (msb-display-most-recently-used): Changed default value. + (mouse-select-buffer): Now handles several levels of + sub-menus. New format on return value. + +1995-01-08 Richard Stallman + + * find-file.el: New file. + +1995-01-06 Richard Stallman + + * mouse.el (mouse-drag-region): As once in the past, + call the binding of the terminating event. + + * terminal.el (te-terminfo-systems-regexp): Variable deleted. + (te-create-terminfo): Use system-uses-terminfo. + + * simple.el (what-cursor-position): Show char in decimal, hex, octal. + +1995-01-05 Stefan Schoef + + * bibtex.el (bibtex-clean-entry): Killing text while editing + the autogenerated label in the minibuffer caused the killed text + to appear in front of the bibtex entry. + +1995-01-05 Eric Raymond + + * vc.el (vc-do-command): Change RCS handling so rcsdiff won't strip + away relative-pathname information. This function no longer sets the + default directory. Also, mark the *vc* output buffer unmodified. + (vc-revert-buffer1): Handle font-lock mode correctly. + (vc-diff, vc-print-log): vc-do-command no longer sets the default + directory, but doing so is advantageous for these cases. + (file-executable-p-18): Better portability to Emacs 18. + (vc-directory-exclusion-list, vc-file-tree-walk-internal): + Implement the new variable vc-directory-exclusion-list to prune + tree walks. Initial value tells it to ignore SCCS and RCS + subdirectories. + +1995-01-05 Ken Laprade + + * simple.el (pop-global-mark): Make pop-global-mark treat + global-mark-ring as a ring. + +1995-01-05 Johan Vromans + + * forms.el: Change forms-search to forms-search-forward, and add + forms-search-backward. + (forms--mode-menu-ro, forms--mode-menu-edit): New + functions to create a pulldown menu in the menubar. + (forms--mode-commands): Call them for the edit and view mode. + * (forms-print): New function. + +1995-01-04 Stephen Gildea + + * tex-mode.el (tex-print): Better check for when to print current + buffer's file over last processed file. + +1995-01-03 Noah Friedman + + * sendmail.el (mail-personal-alias-file): New variable. + Use globally in place of hardwired "~/.mailrc". + * mailalias.el: Here too. + * mailabbrev.el (mail-abbrev-mailrc-file): Variable and macro + deleted. All callers now use `mail-personal-alias-file'. + + * pp.el: Add autoload cookies. + +1995-01-03 Richard Stallman + + * tex-mode.el (tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}. + + * startup.el (command-line-1): Pause between init file error + and command line option processing. + + * spell.el (spell-filter): Make it a risky-local-variable. + +1995-01-02 Richard Stallman + + * gud.el (gud-sdb-marker-filter): Use gud-marker-acc. + + * time.el (display-time-string-forms): Fix doc string syntax error. + +1994-01-02 Kevin J. Greiner + + * gud.el (gud-dbx-marker-filter): Use gud-marker-acc like + gud-gdb-marker-filter. + +1994-12-31 Richard Stallman + + * files.el (auto-mode-alist): Add entries for .cls files, + and for /drafts/. Put tex-mode and latex-mode in lower case. + + * files.el (set-visited-file-name): Error if buffer is indirect. + (basic-save-buffer): For indirect buffer, save the base buffer. + (save-some-buffers): Ignore indirect buffers. + +1994-12-30 Richard Stallman + + * tex-mode.el (tex-mode): \begin at start of file implies Latex. + + * terminal.el (terminal-emulator): Test system-configuration + to decide on terminfo vs termcap. + (te-terminfo-systems-regexp): Renamed from te-terminfo-systems. + +1994-12-30 Kishore Kumar (kishorek@tulblr.unisys.com) + + * terminal.el: Added terminfo support. + (te-terminal-name-prefix, te-terminal-name, te-terminfo-systems): + New variables. + (terminal-emulator): Handle termcap or terminfo. + (te-create-terminfo, te-create-termcap): New subroutines. + (te-tic-sentinel): New subroutine. + +1994-12-29 Richard Stallman + + * simple.el (completion-list-mode-map): Don't bind return, just C-m. + +1994-12-28 Richard Stallman + + * apropos.el (super-apropos-check-elc-file): New function. + specifies which file to search. + (apropos-files-scanned): New variable. + (super-apropos): Bind apropos-files-scanned. + Update apropos-accumulate from apropos-print-matches. + Call super-apropos-accumulate before checking for no matches. + (super-apropos-check-doc-file): Don't visit the file, just insert it. + (super-apropos-accumulate): When doc string is in a file, + scan that file. + (apropos-print-matches): Return the sorted list. + (safe-documentation): Handle compiled files. + +1994-12-28 Roland McGrath + + * etags.el (find-tag-in-order): Don't set buffer-local value of + tags-file-name. + +1994-12-27 Richard Stallman + + * tex-mode.el (tex-mode-map): Add BibTeX File menu item. + + * subr.el (run-hook-with-args-until-failure): + Return non-nil if no hook functions. + +1994-12-26 Richard Stallman + + * startup.el (command-line-1): Split startup msg into two parts. + Add something about C-mouse-3 when on a window system. + + * tar-mode.el (tar-mode-map): Bind C-m to tar-extract. + + * replace.el (occur-mode-map): Bind C-m to occur-mode-goto-occurrence. + (occur-mode): Doc fix. + + * compile.el (compilation-minor-mode-map): Bind C-m to + compilation-goto-error. + + * buff-menu.el (Buffer-menu-mode-map): Bind C-m to + Buffer-menu-this-window. + + * dired.el (dired-mode-map): Bind C-m to + dired-advertised-find-file. Change f to dired-find-file. + + * simple.el (switch-to-completions): New command, with bindings + in the minibuffer completion maps. + + * simple.el (next-completion, previous-completion): New commands. + (completion-list-mode-map): Put them on left, right arrows. + + * isearch.el (isearch-mode): Set mouse-leave-buffer-hook. + (isearch-done): Clear it. + +1994-12-25 Richard Stallman + + * mouse.el (mouse-minibuffer-check, mouse-drag-mode-line) + (mouse-yank-at-click, mouse-yank-secondary, mouse-choose-completion): + Run mouse-leave-buffer-hook. + + * bytecomp.el (byte-compile-warning-types): Add obsolete. + (byte-compile-warnings): Doc fix. + (byte-compile-obsolete): Check for obsolete in byte-compile-warnings. + (byte-compile-variable-ref): Likewise. + + * timezone.el (timezone-fix-time): For year values < 50, add 2000. + + * server.el (server-process-filter): Process each line separately. + (server-buffer-done): Delete dead buffers from CLIENT list. + Wait a while after sending a command to emacsclient. + Verify that BUFFER is a buffer. + + * subr.el (font-lock-defaults): Add defvar. + (buffer-file-type): Add defvar. + + * simple.el (completion-reference-buffer): Initialize to nil. + + * dabbrev.el (esc-map): Delete excess closeparen. + + * apropos.el (super-apropos, super-apropos-check-doc-file) + (super-apropos-accumulate): Vars item, fn-doc and var-doc renamed + to apropos-item, apropos-fn-doc and apropos-var-doc. + (apropos-item, apropos-var-doc, apropos-fn-doc) + (apropos-accumulate, apropos-regexp): New defvars. + (super-apropos): Bind apropos-regexp to regexp. + (super-apropos-accumulate): Use apropos-regexp. + + * ange-ftp.el (ange-ftp-save-match-data): Macro deleted. + Most callers use save-match-data. + (ange-ftp-process-filter, ange-ftp-process-sentinel) + (ange-ftp-gwp-filter): Don't save the match data explicitly. + + * ange-ftp.el (ange-ftp-process-filter, ange-ftp-gwp-filter): + After comint output processing, update STR. + +1994-12-24 Richard Stallman + + * fast-lock.el: New file. + + * dabbrev.el (dabbrev-abbrev-char-regexp): Accept symbol chars + as well as word constituent chars. + + * startup.el (command-line-1): If help-command has no key binding, + say `M-x help', not `M-x help-command'. + + * emacs-lock.el: New file. + +1994-12-23 Richard Stallman + + * msb.el: Fix quoting conventions and spaces at end of sentence. + + * msb.el: New file. + + * dabbrev.el (dabbrev-completion): Now searches all buffers + when given prefix arg 16. + (dabbrev--version): Variable deleted. + + * dabbrev.el: Don't require cl, picture, or reporter. + Don't provide new-dabbrev. + (dabbrev--try-find): Don't use `loop'. + Don't create or kill local bindings. + (dabbrev-completion): Use key-description to say what to type. + Fix style of "done" message. + (dabbrev-submit-feedback): Function deleted. + (dabbrev--same-major-mode-p): Simplify. + (dabbrev-completion, dabbrev--abbrev-at-point): Fix error msg style. + + * dabbrev.el (dabbrev-filter-elements): New macro. + (dabbrev--select-buffers, dabbrev--find-expansion): Use that. + (dabbrev--search): Use that. + + * dabbrev.el: Complete rewrite by Lars.Lindberg@sypro.cap.se. + +1994-12-23 Barry Warsaw (bwarsaw@cnri) + + * elp.el (elp-pack-number): New function. + (elp-output-results): Use elp-pack-number to truncate time strings, + watching out for very small or very large numbers. + + * elp.el (elp-unset-master): Make it an interactive command. + + * reporter.el (reporter-submit-bug-report): Set up for status messages. + Use mail-text to position point to the body of the message. + + * reporter.el (reporter-beautify-list): Complete rewrite. + Optional nocompact-p argument. + + * reporter.el (reporter-dump-variable): Invert the test and + passing of compact-p argument to reporter-beautify-list. List + values are not printed as defuns or function calls. + + * reporter.el: Updated package list. + + * reporter.el (reporter-lisp-indent): New defun. + + * reporter.el (reporter-dont-compact-list) + (reporter-status-message, reporter-status-count): New variables. + + * reporter.el (reporter-update-status, reporter-beautify-list) + reporter-dump-variable): Now smarter about formating variables + with list values. Checks the value of reporter-dont-compact-list. + +1994-12-23 Richard Stallman + + * simple.el (next-line, previous-line): If interactive and not in + kbd macro, catch the error and beep instead. + +1994-12-22 Richard Stallman + + * bibtex.el (bibtex-string, bibtex-preamble): Use forward-line. + (sort-subr): Don't call autload for this--that's done in loaddefs.el. + (bibtex-mode): Add autoload cookie. + + * server.el (server-switch-buffer): Cope with dead frames and windows. + +1994-12-22 Dave Love + + * gud.el (gdb): Correct tbreak doc string. + (gud-mode): Define a Gud menu. + (gdb): Set debugger-specific menu entries. + (sdb) (dbx) (xdb): Likewise. + +1994-12-22 Richard Stallman + + * novice.el (enable-command): Always insert code to enable. + (disable-command): Insert newline before as well as after. + +1994-12-21 David M. Smith + + * imenu.el (imenu-always-use-completion-buffer-p): A value of + `never' now means never display a completion buffer. + (imenu--completion-buffer): implement 'never behaviour. + +1994-12-21 Stefan Schoef + + * bibtex.el: Changed keybinding for bibtex-print-help-message + (from \C-ch to \C-c?). Therefore, describe-mode is not longer on + \C-c?. Also, changed prefix \C-cn for bibtex-narrow functions to + \C-c\C-r. + (bibtex-string-files): Changed documentation. + (bibtex-mode-map): Inscriptions of menu bar changed from "Entry + Types" to "Entry-Types" and "Bibtex Edit" to "BibTeX-Edit". + (bibtex-string-files): Changed documentation. + (bibtex-mode): If environment variable BIBINPUTS isn't defined, + string files are searched in the current directory. + (bibtex-completion-candidates): Now buffer-local to allow + evaluation of different bibtex-string-files in different buffers. + (bibtex-autokey-edit-before-use, bibtex-clean-entry): New variable + that determines, if the user is allowed to edit auto-generated + reference keys before they are used. + (bibtex-generate-autokey, bibtex-clean-entry): New function to + generate an autokey if necessary. + (bibtex-autokey-names, bibtex-autokey-name-change-strings, + bibtex-autokey-name-length, bibtex-autokey-name-separator, + bibtex-autokey-year-length, bibtex-autokey-titlewords, + bibtex-autokey-title-terminators, + bibtex-autokey-titlewords-stretch, + bibtex-autokey-titleword-first-ignore, + bibtex-autokey-titleword-abbrevs, + bibtex-autokey-titleword-change-strings, + bibtex-autokey-titleword-length, + bibtex-autokey-titleword-separator, + bibtex-autokey-name-year-separator, + bibtex-autokey-year-title-separator): New variables related to + bibtex-generate-autokey. + (bibtex-find-entry-location): Optional second parameter maybedup + to tell it that entering a duplicate entry isn't to report by an + error but by the return value of the function (necessary for + bibtex-clean-entry to find the correct position of an entry with + an autogenerated key without disturbing the user with unwanted + messages). + (bibtex-help-message): New variable to avoid printing of help + messages in the echo area. + (assoc-of-regexp): New function to match an alist of regexps. + (bibtex-string-files, bibtex-completion-candidates, bibtex-mode): + New variables to allow bibtex-complete-string to work on strings + initialized from a variable and from @String definitions in a list + of files, too. + (bibtex-predefined-strings, bibtex-entry-field-alist): Changed to + user options. + (bibtex-mode): Changed doc string. + (many functions and variables): Changed documentation strings of + variables and functions to hold a complete sentence in the first + line. + (bibtex-print-help-message): Now line dependent and reports if it + is called outside a BibTeX field. + (validate-bibtex-buffer): Completely rewritten to validate, if + buffer is syntactically correct. + (find-bibtex-duplicates): Moved into validate-bibtex-buffer. + (ispell-abstract, bibtex-ispell-abstract, ispell-bibtex-entry, + bibtex-ispell-entry, beginning-of-bibtex-entry, + bibtex-beginning-of-entry, end-of-bibtex-entry, + bibtex-end-of-entry, hide-bibtex-entry-bodies, + bibtex-hide-entry-bodies, narrow-to-bibtex-entry, + bibtex-narrow-to-entry, sort-bibtex-entries, bibtex-sort-entries, + validate-bibtex-buffer, bibtex-validate-buffer, + find-bibtex-entry-location, bibtex-find-entry-location): All + interactive functions are renamed, so that any interface function + begins with "bibtex-". Mapping: + ispell-abstract --> bibtex-ispell-abstract + ispell-bibtex-entry --> bibtex-ispell-entry + beginning-of-bibtex-entry --> bibtex-beginning-of-entry + end-of-bibtex-entry --> bibtex-end-of-entry + hide-bibtex-entry-bodies --> bibtex-hide-entry-bodies + narrow-to-bibtex-entry --> bibtex-narrow-to-entry + sort-bibtex-entries --> bibtex-sort-entries + validate-bibtex-buffer --> bibtex-validate-buffer + find-bibtex-entry-location --> bibtex-find-entry-location + (bibtex-maintain-sorted-entries, + bibtex-sort-ignore-string-entries): Default is now t. + (bibtex-complete-string): String list is built from additional + string list bibtex-predefined-string and current strings in file. + (string-equalp): Deleted and substituted by string-equal. + (assoc-string-equalp): Renamed to assoc-ignore-case. + (bibtex-entry): Reference key can be entered with completion. All + reference keys that are defined in buffer and all labels that + appear in crossreference entries are object to completion. + (Entry types): Changed order of entries in menu "entry types". + (bibtex-entry-field-alist): Changed order of entries slightly to + be more conform with standard BibTeX style layouts. + (bibtex-mode-map): Uniform keybindings for \C-c\C-e prefix (often + used types on control keys, sometimes used types on normal keys, + rarely used types on shift keys, almost never used types on meta + keys). + (bibtex-mode-map): Function narrow-to-bibtex-entry and counterpart + widen and function hide-bibtex-entry-bodies and counterpart + show-all bounded to appropriate local keys. + (bibtex-abbrev-table): Deleted + (bibtex-current-entry-label, put-string-on-kill-ring): Deleted + (AUCTeX provides all the functionality needed for citation + completion). + (bibtex-enclosing-reference, bibtex-pop-previous, bibtex-pop-next, + bibtex-clean-entry): Hacked for speed (bibtex-pop-previous and + bibtex-pop-next were to slow for larger BibTeX files). + (bibtex-pop-previous, bibtex-pop-next): Delimiters from previous + or next entry are changed to actual delimters if necessary. + (bibtex-entry): Fixed bug (False entry wasn't reported in error + message if bibtex-entry was called with undefined reference name). + (bibtex-entry-field-alist, bibtex-entry, bibtex-make-field, + bibtex-next-field, bibtex-clean-entry): Every reference entry now + contains a comment in addition to the name of the reference. This + comment appears in the echo area if you start editing that field + (after calling bibtex-next-field). + (bibtex-include-OPTcrossref, bibtex-entry): Changed + bibtex-include-OPTcrossref from single boolean variable to hold a + list of reference names which should have a crossref field. + (bibtex-complete-word): New function, which completes word + fragment before point to the longest prefix of predefined strings + in the buffer in the same way that ispell-complete-word operates + for words found in the dictionary. + (bibtex-reference-head): Start of bibtex-reference-head changed + from "^[ \t]*\\(" to "^\\( \\|\t\\)*\\(" (bibtex-pop-previous and + bibtex-pop-next didn't work, probably due to a bug in + re-search-forward). + (several functions): Added support for {} as field delimiters + (better than '"' for accented characters. + (bibtex-clean-entry): If optional field crossref is empty or + missing, former optional fields (if bibtex-include-OPTcrossref was + t) are necessary again. bibtex-clean-entry complains if they are + empty but not if they are missing, so you can intenionally omit + them, e. g. for a pseudo @Journal entry (needed for + crossreferences) made out of an @article with missing non-optional + fields. + Menu bar entries aren't centered anymore. + +1994-12-21 Richard Stallman + + * facemenu.el (facemenu-key): Change to M-g. + + * files.el (save-buffers-kill-emacs): Fix backward test of value of + run-hook-with-args-until-failure's value. + + * tex-mode.el (tex-start-shell): Use inheritance. + +1994-12-21 Dave Love + + * gud.el (gud-irixdbx-marker-filter): Changes for Irix dbx. + (dbx): gud-up, gud-down are now special cases for Irix. + +1994-12-21 Richard Stallman + + * dired.el (dired-string-replace-match): Function moved here. + * dired-aux.el (dired-string-replace-match): Moved to dired.el. + +1994-12-21 Ed Reingold + + * tex-mode.el (tex-shell-map,tex-start-shell): Start with + shell-mode-map. + +1994-12-21 Richard Stallman + + * help.el (describe-function): Don't add `.el' when printing file name. + +1994-12-20 Richard Stallman + + * bytecomp.el (byte-compile-dest-file): New variable. + (byte-compile-file): Bind that var, early on. + (byte-compile-dynamic): New variable. + (byte-compile-dynamic-docstrings): New variable. + (byte-compile-close-variables): Bind byte-compile-dynamic, + byte-compile-dynamic-docstrings, and byte-compiler-compatibility. + (byte-compile-file): Call normal-mode, not set-auto-mode. + (byte-compile-output-docform): New arguments PREFACE, NAME, SPECINDEX, + QUOTED. Callers changed. Output doc strings as references to the .elc + file itself, using #@ and #$ constructs. + (byte-compile-output-as-comment): New function. + + * bytecomp.el (byte-compile-insert-header): Don't save-excursion. + Insert at point, and move point. Insert extra newline at end. + (byte-compile-from-buffer): Insert the header before compilation. + + * buff-menu.el (Buffer-menu-buffer): Clear text properties in STRING. + + * faces.el (frame-update-face-colors): New function. + * frame.el (set-background-color, set-foreground-color): + Call frame-update-face-colors. + + * rmail.el (rmail-first-unseen-message): Fix 1-off error. + +1994-12-19 Ed Reingold + + * tex-mode.el (tex-start-shell): Use comint prompt and mode-map. + +1994-12-18 Richard Stallman + + * rmail.el (rmail-search-backward): Function deleted. + (rmail-mode-map): Use rmail-search-backwards instead. + +1994-12-18 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * fortran.el (fortran-end-if, fortran-end-do, + fortran-beginning-if, fortran-beginning-do): New subroutines. + (fortran-blink-matching-if, fortran-blink-matching-do): Use them. + (fortran-mark-do, fortran-mark-if): New user functions. + (fortran-blink-matching-if, fortran-mode): Doc mod. + +1994-12-18 Morten Welinder + + * tar-mode.el (tar-extract): Don't use set-visited-file-name. to + avoid interaction problems with ange-ftp. + +1994-12-16 Richard Stallman + + * rnewspost.el (news-mail-reply): Restore the saved narrowing + before calling `mail'. + +1994-12-15 Richard Stallman + + * emerge.el (emerge-read-file-name): New arg must-match. + (emerge-files, emerge-files-with-ancestor): Pass new arg. + + * isearch.el (isearch-done): Don't print msg about mark + if we don't set it. Fix paren error. + + * subr.el (lambda): Doc fix. + + * vc-hooks.el (vc-toggle-read-only): Accept prefix arg + and pass it along to vc-next-action. + + * font-lock.el (font-lock-hack-keywords): Turn off undo generation. + (font-lock-unfontify-region. font-lock-fontify-region): Likewise. + + * c-mode.el (indent-c-exp): Don't be fooled by else_ or while_. + (c-indent-line): Likewise. + (c-backward-to-start-of-if): Don't be fooled by if_ or else_. + + * sendmail.el (sendmail-send-it): Don't convert S: to Subject:. + + * faces.el (face-initialize): Test for framep not t or nil. + + * files.el (hack-local-variables): Run hack-local-variables-hook. + (hack-local-variables-hook): New variable. + + * find-dired.el (find-grep-options): Use -q on non-BSD systems. + +1994-12-14 Richard Stallman + + * find-dired.el (find-ls-option): Don't ask for inode numbers. + + * apropos.el (apropos-match-keys): Handle menu bindings + with cached equivalent keys. + + * rmail.el (rmail-ignored-headers): Delete junk from definition. + +1994-12-13 Don Woods (don@genmagic.com) + + * replace.el (perform-replace): + Report number of replacements when done. + (query-replace, query-replace-regexp, replace-string) + (map-query-replace-regexp. replace-regexp): No message here. + +1994-12-13 Richard Stallman + + * informat.el (Info-split): Fix 1-off error in subfile position. + + * replace.el (occur): Escape newlines when printing regexp. + + * informat.el (Info-tagify): Avoid 1-off error in position of a tag. + + * macros.el (insert-kbd-macro): Specially handle C-\, M-\ and C-M-\. + Only convert the character syntax if definition is a string. + +1994-12-11 Richard Stallman + + * rmailsum.el (rmail-summary-goto-msg): When highlighting, + don't skip 1st char on line if it isn't a space. + + * gnusmail.el (gnus-mail-reply-using-mail): Don't save point; + yank the original at point. + + * apropos.el (apropos-match-keys): Handle minor mode maps + and overriding-local-map. + +1994-12-10 Richard Stallman + + * vc.el (vc-dir-all-files): New function. + (vc-directory): Show just one directory by default. + Read dir name in minibuffer. + (vc-directory-18): Deleted. + +1994-12-09 Ken Stevens + + * ispell.el: Added ispell-offset for version consistency. + (ispell-dictionary-alist): updated dictionaries & better match defaults + (ispell-alternate-dictionary): added /usr/shar path + (ispell-menu-map-needed): redo changes that made this incompatible + with earlier versions of emacs19. + (ispell-required-version): changed to assure version 3.1.12 accessed. + (ispell-word): Correctly accept buffer-local information. + Does not try to modify read-only buffer on 'm' command. + (ispell-command-loop): fixed bug that corrupted buffers. + removed scrolling when *Choices* buffer shrinks. + (check-ispell-version): Correctly identifies new version requirements. + (ispell-region): Interaction updated for version 3.1.12+ + Buffer read-only modification improvement. Dictionary messages added. + (ispell-message-text-end): skips additional shell files. + (ispell-buffer-local-parsing): extended-char mode now matches text mode + +1994-12-09 Karl Heuer + + * hilit19.el: Add patterns for asm-mode. + + * files.el (set-auto-mode): Don't get confused by anything ending + in "mode:" which isn't a mode spec. + +1994-12-09 Richard Stallman + + * rlogin.el (rlogin-initially-track-cwd): Now a 3-way flag. + (rlogin): Handle that. + +1994-12-08 Richard Stallman + + * files.el (ignored-local-variables): Mark it risky. + +1994-12-08 Ed Reingold + + * cal-mayan.el (calendar-mayan-days-before-absolute-zero): Mention + Hochleitner's correlation. + +1994-12-07 Richard Stallman + + * telnet.el (telnet): Don't make assumptions about process name. + (telnet-send-process-next-char): Renamed from send-... + + * nntp.el (nntp-buggy-select): Delete usg-unix-v from list. + +1994-12-07 Richard Stallman + + * dired.el (dired-insert-directory): Quote certain chars with \. + (dired-get-filename): Always unquote \ quoting. + + * comint.el (comint-mode-map): Treat C-up, C-down like M-p, M-n. + +1994-12-06 Richard Stallman + + * simple.el (buffer-quit-function): New variable. + (keyboard-escape-quit): Use it. + + * loaddefs.el: Delete ESC ESC binding for eval-expression. + (function-key-map): Map C-delete into M-DEL. + +1994-12-05 Karl Heuer + + * ange-ftp.el (ange-ftp-set-binary-mode): Ignore hash size if nil. + (ange-ftp-set-ascii-mode): Likewise. + +1994-12-05 Richard Stallman + + * ebuff-menu.el (electric-buffer-menu-mode-map): + Bind ESC ESC ESC to Electric-buffer-menu-quit. + + * loaddefs.el (minibuffer-local-map): Bind up and down to history cmds. + (minibuffer-local-ns-map, minibuffer-local-completion-map): Likewise. + (minibuffer-local-must-match-map): Likewise. + + * isearch.el (isearch-cancel): New function. + (isearch-mode-map): Bind that to ESC ESC ESC. + Move the code to set up the meta submap earlier in the expression. + + * loaddefs.el (function-key-map): Map f1 to C-h. + + * simple.el (delete-completion-window): New function. + (completion-list-mode-map): Bind that to ESC ESC ESC. + + * simple.el (keyboard-escape-quit): Bind this globally to ESC ESC ESC. + +1994-12-05 Simon Marshall + + * font-lock.el (font-lock-after-change-function): Undo Oct 18 change. + +1994-12-04 Richard Stallman + + * fill.el (fill-region-as-paragraph): If region starts in mid-line, + don't fill the text before that, but count it for indentation. + (fill-region): If region starts in mid-line, keep whole line + in the region, but pass the region start to fill-region-as-paragraph. + + * faces.el (set-face-font): Pass `default' as face to x-resolve-font-name. + (x-resolve-font-name): Better error message when FACE doesn't specify + the font. + + * faces.el: At compile time, discard any defsubr definitions + in the Emacs doing the compilation. + + * bibtex.el (bibtex-mode-map): Delete binding for ". + Don't load in tex-insert-quote. + + * faces.el (face-name, face-id, face-foreground, face-background) + (face-font, face-stipple, face-underline-p): Change defsubst to defun. + (set-face-font, set-face-foreground, set-face-background) + (set-face-stipple, set-face-underline-p): Change defsubst to defun. + + * replace.el (replace-string, query-replace): Doc fixes. + +1994-12-03 Richard Stallman + + * rmail.el (rmail-get-new-mail): Position on first unseen message. + Return t if actually got new mail. + (rmail): Show rmail-first-unseen-message if got no new mail. + +1994-12-01 Karl Heuer + + * rmailout.el (rmail-output): Don't quote "From " lines unless the + capitalization is exact. + +1994-12-01 Simon Marshall + + * font-lock.el (font-lock-make-faces): Added font-lock-reference-face + defaults for grayscale. + +1994-11-30 Karl Heuer + + * sendmail.el (sendmail-send-it): Add `From:' header. + (mail-from-style): New variable. + + * gud.el (gud-basic-call): Detect error earlier. + + * term/x-win.el (system-key-alist): Extra keys are F36 and F37. + + * edebug.el (edebug-enter): Add save-excursion so that + buffer-local variables will reset properly. + +1994-11-30 Ake Stenhoff + + * imenu.el (imenu-generic-expression): New variable. + (imenu-example--generic-c++-expression): New variable. + (imenu-example--generic-texinfo-expression): New variable. + (imenu-example--generic-latex-expression): New variable. + (imenu-example--create-c++-index): Deleted. + (imenu-example--function-name-regexp-c++): Deleted. + (imenu--generic-function): New function. + (imenu--generic-extract-name): New function. + (imenu-default-create-index-function): Added the generic + function calls for the provided examples. + +1994-11-30 Roland McGrath + + * compile.el (compilation-next-error-locus): Parsed column numbers + are 1-origin. + +1994-11-29 Richard Stallman + + * complete.el (PC-do-completion): If complete but not unique, + the second time in a row, give a list of completions. + (PC-do-complete-and-exit, PC-do-completion): Use [...] in messages. + +1994-11-29 Ed Reingold + + * cal-x.el: New file. + + * calendar.el: Mention cal-x.el in comments. + +1994-11-28 Richard Stallman + + * simple.el (keyboard-escape-quit): Don't make keybinding yet. + + * iso-cvt.el: Handle pilcrow, paragraph and pound signs. + Use \aa, \AA for a-with-ring. + + * c-mode.el (calculate-c-indent): Handle a top-level decl with multiple + paren groups. + + * paths.el (gnus-default-nntp-server): Doc fix. + + * gnus.el: Many doc fixes. Fix progress message formats. + (gnus-article-prev-digest): Rename arg to n. + (gnus-summary-next-digest, gnus-summary-prev-digest): Likewise. + (file-newer-than-file-p): Definition deleted. + +1994-11-24 Ake Stenhoff + + * imenu.el (imenu): Widen temporary before scan the file. + Widen if the user asks to move to an object + that is outside the current accessible region. + +1994-11-24 Richard Stallman + + * simple.el (beginning-of-buffer, end-of-buffer): + With argument, calculate fraction wrt accessible portion of buffer. + + * replace.el (occur): Put number of matches in the header line. + +1994-11-23 Richard Stallman + + * double.el (double-mode-name): Variable deleted. + (minor-mode-alist): Use a constant string to indicate Double mode. + + * info.el (Info-follow-reference): Use regexp-quote. + + * simple.el (keyboard-escape-quit): New command. On ESC ESC ESC. + + * replace.el (query-replace-map): Define \e and escape as exit-prefix. + (perform-replace): When exiting and rereading, set + this-command to mode-exit. + + * map-ynp.el (map-y-or-n-p): Handle exit-prefix as definition of char. + + * loaddefs.el (global-map): Add bindings for C-left and C-right. + +1994-11-22 Richard Stallman + + * term/x-win.el (Calling menu-bar-enable-clipboard): + Be less selective matching Suns. + + * lpr.el (lpr-page-header-switches): Use -f by default. + (lpr-headers-switches): Make it a list. + + * simple.el (append-to-buffer): Don't use current buffer as default. + +1994-11-22 Roland McGrath + + * vc.el (vc-checkout-switches): New variable. + (vc-backend-checkout): Use it. + +1994-11-21 Richard Stallman + + * gud.el (gud-gdb-marker-filter, gud-irixdbx-marker-filter) + (gud-perldb-marker-filter, gud-mipsdbx-marker-filter): + No need for save-match-data. + + * timer.el (timer-process-filter): No need for save-match-data. + + * man.el (Man-bgproc-sentinel): No need for save-match-data. + +1994-11-21 Per Bothner + + * term.el (term-termcap-format): Add cd capability. Fix ei. + (term-exec-1): Pass $TERMINFO instead of $TERMCAP if appropriate. + Pass emacs-version and term-version in $TERM. + Rewrite to set process-environment. + +1994-11-20 Richard Stallman + + * compare-w.el (compare-windows): Push mark in both buffers at start. + + * loaddefs.el (global-map): Change home and end bindings to + beginning/end-of-line. Put beginning/end-of-buffer on C-home/end. + +1994-11-19 Richard Stallman + + * term/x-win.el (x-option-alist): New variable now holds + list of short options. Don't set command-switch-alist. + (x-long-option-alist): New variable. + (x-handle-args): Detect long options and convert to short. + + * startup.el (command-line-1): Handle long options + --funcall, --load, --insert, --kill. + (command-line): Don't leave argval set if option not really a long one. + + * gomoku.el (gomoku-click): New function. + (gomoku-mode-map): Put it on Mouse-2. + + * subr.el (start-process-shell-command): Don't use `exec'-- + run the command in a child process. + + * find-dired.el (start-process-shell-command): Function deleted. + + * simple.el (kill-region): Use = to compare positions. + +1994-11-18 Richard Stallman + + * picture.el (picture-self-insert): Use last-command-event, + not last-input-char. + (picture-mode-map): Make the keymap vector 256 chars long. + Fix typo `newline-andindent'. + + * bytecomp1.el: New file. + (batch-byte-compile-emacs): New function. + + * sendmail.el (mail-setup): Make fill-column wide for the in-reply-to. + +1994-11-18 Karl Heuer + + * simple.el (kill-region): Set this-command unconditionally. + +1994-11-17 Richard Stallman + + * faces.el (face-color-supported-p): New function. + (face-try-color-list): Use that. + + * timer.el (timer-process-filter): Use save-match-data. + + * files.el (backup-buffer): Use file-ownership-preserved-p. + +1994-11-16 Michael Ernst + + * rmailsum.el (rmail-summary-scroll-msg-up): If at end of message, + advance to the next message. + (rmail-summary-scroll-msg-down): If at beginning of message, + advance to the previous message. + +1994-11-16 Richard Stallman + + * timezone.el (timezone-parse-date): Handle two new formats (6 and 7). + + * subr.el (substitute-key-definition): Don't recursively scan + where OLDMAP has a submap but KEYMAP does not. + + * dired-aux.el (dired-collect-file-versions): Discard version #s from + arg; then do nothing if already in dired-file-version-alist. + +1994-11-15 Roland McGrath + + * etags.el (tags-query-replace): Use query-replace-read-args in + interactive spec. + +1994-11-15 Richard Stallman + + * isearch.el (isearch-unread): Always use unread-command-events. + (isearch-other-meta-char): In the case of a mouse event with a dummy + prefix, recombine the two into a single event before unreading. + (isearch-gnu-emacs-events): Variable deleted. + (isearch-update): Always test unread-command-events. + (isearch-event-data-type): Variable deleted. + (isearch-pre-command-hook-exists): Variable deleted. + (isearch-last-command-char): Only use last-command-char. + (isearch-other-meta-char): Delete debugging code. + (isearch-mode): Use baud-rate as variable. + (isearch-char-to-string): Simplify--assume character is an integer. + +1994-11-15 Ed Reingold + + * calendar.el (calendar-mode-map): Undefine kill-region and + copy-region-as-kill. + + * cal-menu.el (calendar-mode-map): Get rid of edit menu. + +1994-11-15 Richard Stallman + + * mouse.el (mouse-save-then-kill): Call mouse-show-mark + when we adjust an existing region. + + * lucid.el (set-keymap-parent): Fix bug in case of empty keymap. + (switch-to-other-buffer): Fix one-off error. + +1994-11-14 Richard Stallman + + * thingatpt.el (line): Add a beginning-op function. + +1994-11-14 Roland McGrath + + * etags.el (tags-table-including): Don't gratuitously cons (what + was I thinking?). Properly skip t elements of + tags-table-computed-list. + +1994-11-14 Jim Blandy + + * scheme.el (scheme-mode-variables): Set + parse-sexp-ignore-comments to t. + +1994-11-14 Simon Marshall + + * font-lock.el (font-lock-defaults-alist): Defaults for scheme-mode. + +1994-11-13 Richard Stallman + + * rmailout.el (rmail-fields-not-to-output): New variable. + (rmail-delete-unwanted-fields): New function. + (rmail-output, rmail-output-to-rmail-file): Call it. + + * replace.el (query-replace-map): Bind Y and N like y and n. + + * loadup.el: For windows-nt, load mouse. + + * lpr.el (lpr-headers-switches): Base default on lpr-command value. + +1994-11-11 Richard Stallman + + * comint.el (comint-exec-1): Terminate TERMCAP with colon. + + * texinfmt.el (texinfo-format-node): Insert the node delimiter + that info is looking for unconditionally. + +1994-11-10 Roland McGrath + + * compile.el (compile): With prefix arg, prompt even if (not + compilation-read-command). + (compilation-error-regexp-alist): Make first regexp match column + numbers too. Remove regexp for "prog:file:line: error". Replace + GNAT 1.82 regexp with "prog: file:line\(:col\)?: error". + (compilation-parse-errors): If spec has a column subexpr, but it + was optional and didn't match, ignore it. + +1994-11-10 Richard Stallman + + * add-log.el (find-change-log): If change-log-default-name + has no dir component, search through parent dirs for it. + +1994-11-09 Richard Stallman + + * ange-ftp.el (ange-ftp-version): Var deleted. + + * rect.el (string-rectangle): Don't set point. + + * simple.el (copy-region-as-kill): Don't set this-command. + +1994-11-09 Roland McGrath + + * vc-hooks.el: Only define items in vc-menu-map if it is boundp. + +1994-11-09 Richard Stallman + + * compile.el (compilation-error-regexp-alist): + Add an element for Irix 5.2 warnings. + +1994-11-09 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-berkeley-sed-script, Man-sysv-sed-script, + Man-cleanup-manpage, Man-fontify-manpage): Handle the "+\bo" form + (used by aix) in addition to the "o\b+" one (used by sun). + +1994-11-09 Karl Heuer + + * vi.el (vi-kill-region): Pass args to kill-region. + (vi-mark-region): Don't pass unexpected args. + + * apropos.el (apropos-print-matches): Set help-mode in *Help* buffer. + * calendar.el (describe-calendar-mode): Likewise. + * case-table.el (describe-buffer-case-table): Likewise. + * debug.el (debugger-list-functions): Likewise. + * disp-table.el (describe-display-table): Likewise. + * emerge.el (emerge-file-names): Likewise. + [commented out] (describe-mode): Likewise. + * help-macro.el (make-help-screen): Likewise. + * help.el (describe-key, describe-mode, view-lossage): Likewise. + (describe-function, describe-variable): Likewise. + * helper.el (Helper-describe-mode): Likewise. + * info.el (Info-summary): Likewise. + * macros.el (kbd-macro-query): Likewise. + * map-ynp.el (map-y-or-n-p): Likewise. + * novice.el (disabled-command-hook): Likewise. + * refbib.el (r2b-help): Likewise. + * replace.el (perform-replace): Likewise. + * simple.el (set-variable): Likewise. + * supercite.el (sc-set-variable): Likewise. + * upd-copyr.el (update-copyright): Likewise. + * userlock.el (ask-user-about-lock-help): Likewise. + (ask-user-about-supersession-help): Likewise. + * vi.el (vi-switch-mode, vi-ex-cmd): Likewise. + * yow.el (yow): Likewise. + +1994-11-08 Ed Reingold + + * calendar.el (diary-entry-marker, calendar-today-marker, + calendar-holiday-marker): Don't supersede attributes for faces + `diary-face', `calendar-display-face', or `holiday-face' if they + are already defined. + +1994-11-08 Karl Heuer + + * help.el (help-mode): New function. + (help-mode-map): Local keymap for help-mode. Empty for now. + (print-help-return-message): Fix misspelled var. + +1994-11-07 Ed Reingold + + * solar.el (solar-sunrise-sunset): Check for nil time before + trying to adjust it for dst. + +1994-11-07 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-reuse-okay-flag): Deleted. + (man, Man-getpage-in-background): Second arg deleted. + References to Man-reuse-okay-flag deleted. + (Man-follow-manual-reference): First arg deleted. Call + Man-getpage-in-background with one argument only. + +1994-11-04 Ethan Bradford + + * gnus.el (gnus-configure-windows): Make split-window-keep-point + locally t so that focus doesn't occasionally move to the wrong + window on split-window-vertically. + +1994-11-03 Geoff Voelker + + * subr.el (start-process-shell-command): Don't use exec on windows-nt. + +1994-11-03 Ralf Fassel + + * tar-mode.el (tar-extract): Set default-directory to that of the + superior buffer, not the pseudo-dir formed from the archive name. + +1994-11-03 Rick Sladkey + + * gud.el (gud-gdb-complete-command): Add a trailing single + quote to partially quoted unique completions. + +1994-11-03 Simon Marshall + + * font-lock.el (font-lock-fontify-region): Wrap string-match with + save-match-data. + +1994-11-01 Richard Stallman + + * comint.el (comint-exec-1): Make sure default-directory is a real dir. + + * bytecomp.el (byte-compile-insert-header): Escape backslashes + in FILENAME when putting it inside a string constant. + +1994-10-31 voelker + + * makefile.nt: New file. + + * winnt.el: New file. + + * bytecomp.el (byte-compile-file): Treat windows-nt like ms-dos. + + * hexl.el (hexl-find-file): Treat windows-nt like ms-dos. + + * simple.el (shell-command-switch): New variable. + (shell-command, shell-command-on-region): Use new variable. + + * info.el (Info-directory-list): Treat windows-nt like ms-dos. + + * startup.el (command-line): Use ~/_emacs as init file in windows-nt. + + * loadup.el: On windows-nt, load ls-lisp and winnt. + Treat windows-nt like ms-dos for DOC file name. + + * loaddefs.el (completion-ignored-extensions): + Treat windows-nt like ms-dos. + + * files.el (abbreviate-file-name): + Handle drive letters on windows-nt as on ms-dos. + + * desktop.el (desktop-basefilename): Use emacs.dsk on windows-nt. + + * bookmark.el (bookmark-file): Use ~/emacs.bmk on windows-nt. + + * add-log.el (change-log-name): Use changlo on windows-nt. + +1994-10-31 Richard Stallman + + * bytecomp.el (byte-compile-file): Check for windows-nt like ms-dos. + +1994-10-31 Ed Reingold + + * diary-lib.el (view-diary-entries): Fix error message. + (view-other-diary-entries): New function. + + * calendar.el (calendar-mode-map): Bind it to key. + + * cal-menu.el (calendar-mouse-view-other-diary-entries): New function. + (calendar-mode-map): Put them on mouse. + +1994-10-31 Richard Stallman + + * comint.el (comint-read-noecho): Use `read-char-exclusive' + instead of `read-char'. + +1994-10-30 Erik Naggum + + * simple.el (blink-matching-delay): New variable. + + * isearch.el (isearch-edit-string, isearch-toggle-case-fold): + Pass isearch-nonincremental to isearch-message-prefix. + + * cl.el (cl-macroexpand): Copy documentation from `macroexpand'. + + * timezone.el (timezone-world-timezones): Add "UT" -> +000. + +1994-10-30 Ed Reingold + + * calendar.el (calendar-mode): Delete to window configuration var. + +1994-10-30 Richard Stallman + + * texinfmt.el (texinfo-format-scan): Make @- vanish; don't insert -. + (texinfo-format-soft-hyphen): New function. + (texinfo-alias-list): New variable. + (texinfo-format-region, texinfo-format-buffer-1): + Clear texinfo-alias-list. + (texinfo-format-scan): Implement @alias expansion. + + * loadup.el: Load facemenu if have X. + After dumping, print number of pure bytes used. + + * mouse.el: Put mouse-set-font on C-down-mouse-1. + Don't bind C-down-mouse-2. + * facemenu.el: Doc fixes. + (facemenu-update): Use C-down-mouse-2 for the menu. + + * simple.el (line-move): Use sign of arg to choose error condition. + +1994-10-29 Ed Reingold + + * calendar.el (calendar, calendar-other-month): Fix use of + calendar-read-date. + (calendar-read-date): Fix noday option. + + * lunar.el (phases-of-moon): Fix use of calendar-read-date. + +1994-10-29 Richard Stallman + + * simple.el (blink-matching-open): Do blink if an even number of + quoting characters precede the close. + +1994-10-29 Richard Stallman + + * gud.el (gud-common-init): If file arg has no directory, + let the debugger search PATH, and don't set default-directory. + +1994-10-28 Tom Tromey + + * makefile.el: Changed almost every doc string. + (makefile-macroassign-regex): Don't include space and tab in macro + names. + + * makefile.el (makefile-backslash-column): New variable. + (makefile-backslash-region): New function. + (makefile-backslashify-current-line): New function. + (makefile-mode-map): Bind C-c C-\ to makefile-backslash-region. + + * makefile.el (makefile-tab-face): New variable. + (makefile-font-lock-keywords): Use makefile-tab-face. + (makefile-font-lock-keywords): Use defvar, not defconst. + +1994-10-28 Ulrich Mueller + + * iso-acc.el (iso-accents-mode): Variable renamed from + iso-accents-minor-mode. + +1994-10-28 Richard Stallman + + * cal-menu.el (calendar-mode-map): + Define c-down-mouse-3 like down-mouse-3. + +1994-10-28 Per Abrahamsen + + * easymenu.el (easy-menu-define): Call `easy-menu-do-define' to do + the real work. Document XEmacs keyword arguments. + (easy-menu-do-define): New function. + (easy-menu-create-keymaps): Support XEmacs keyword arguments in + menu definition. + +1994-10-27 Karl Heuer + + * files.el (find-file-noselect): Call set-buffer-major-mode here. + +1994-10-27 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-fontify-manpage-flag): defvar put at outer level. + (manual-program, Man-untabify-command, Man-untabify-command-args, + Man-sed-command, Man-awk-command, Man-mode-line-format, + Man-mode-map, Man-mode-hook, Man-cooked-hook, Man-name-regexp, + Man-section-regexp, Man-page-header-regexp, Man-heading-regexp, + Man-see-also-regexp, Man-first-heading-regexp, + Man-reference-regexp, Man-switches, Man-specified-section-option): + Make them normal defvars, no more user options. + (Man-overstrike-face, Man-undeline-face): New user options. + (Man-init-defvars): Man-fontify-manpage-flag removed from here. + (man-fontify-manpage): Use the new user options above. + +1994-10-27 Karl Heuer + + * tar-mode.el (tar-summarize-buffer): Improperly terminated + archive now produces only a warning. + +1994-10-26 Richard Stallman + + * flow-ctrl.el (enable-flow-control): Make message depend on + customization variables. + +1994-10-26 Michael Ernst + + * ispell.el (ispell-message-text-end): Match Postcript 3 like 2. + +1994-10-26 Ed Reingold + + * cal-menu.el (calendar-mouse-insert-diary-entry): New function. + (calendar-mouse-2-date-menu): Put it on menu. + + * diary-lib.el (diary-entry-time): Fix regexps to include TAB. + (diary-ordinal-suffix): Fix indentation of code. + + * calendar.el (calendar-offset, lunar-phases-buffer): New vars. + Change defmacros to defsubst for readability, where possible. + (calendar-read-date): Rewritten with optional parameter. + (calendar): Delete mention of window configuration; use new form + of calendar-read-date and calendar-offset. + (describe-calendar-mode): Rewritten to link to info. + (calendar-mode-line-format): Refer to info, not help. + (calendar-mode): Just give keymap. + (calendar-goto-info-node, calendar-window-list, + calendar-buffer-list, calendar-hide-window): New functions. + (calendar-mode-map): Put calendar-goto-info-node on key. + (exit-calendar, calendar-current-date): Rewritten. + (calendar-cursor-to-date): Fix doc string. + (calendar-other-month): Use new form of calendar-read-date. + + * holidays.el (check-calendar-holidays): Use new form of + calendar-read-date. + + * lunar.el (calendar-phases-of-moon): Use new var lunar-phases-buffer. + (phases-of-moon): Use new form of calendar-read-date. + + * solar.el: Fix doc at start of file and error message when + floating point is not available. + (calendar-latitude, calendar-longitude, calendar-location): Include + vector form; suggest setting values in site-local.el. + (solar-sin-degrees, solar-cosine-degrees): Change to macros. + (solar-degrees-to-hours, solar-hours-to-days): Change to defsubst. + (solar-sunrise, solar-sunset): Allow use of vector forms of + latitude/longitude. + (calendar-latitude, calendar-longitude): New macros to allow use + of vector forms. + +1994-10-26 Richard Stallman + + * dired-x.el (dired-find-subdir): Doc fix. + +1994-10-25 Karl Heuer + + * tar-mode.el (tar-summarize-buffer): Check for end of buffer + before extracting substring. + +1994-10-25 Richard Stallman + + * diff.el (diff-command): New variable. + (diff): Use it. + + * frame.el (frame-initialize): Set special-display-function here, + not at top level. + + * gud.el (gud-irixdbx-marker-filter): Cast $curline to int. + +1994-10-25 Boris Goldowsky + + * enriched.el (enriched-mode): Add autoload cookie. + (enriched-decode-foreground, enriched-decode-background): Create + faces even if no window system, to prevent multiple warnings. + +1994-10-25 Richard Stallman + + * ispell.el (ispell-grep-command, ispell-look-command): + Don't specify directory. + + * files.el (buffer-file-truename): Doc fix. + +1994-10-24 Karl Heuer + + * term/x-win.el: Make previous change conditional. + +1994-10-24 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-init-defvars): Do not delete empty lines. + +1994-10-24 Boris Goldowsky + + * enriched.el: New file. + +1994-10-24 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-cleanup-manpage): do all the work if called + interactively. + +1994-10-23 Roland McGrath + + * dired.el (dired-mode-map): Add query-replace and search items to + operate menu. + +1994-10-23 Richard Stallman + + * tex-mode.el (latex-mode): Recognize \item etc. that have no arg + because only a comment follows. + + * fill.el (fill-individual-paragraphs): Avoid infinite loop + if mailp is set and no message was yanked. + + * term/x-win.el: Say error in x-open-connection should be fatal. + + * menu-bar.el (menu-bar-file-menu): Add item `Make Frame On Display'. + + * menu-bar.el (menu-bar-update-buffers-maxbuf): Declare variable. + (menu-bar-update-buffers-1, menu-bar-update-buffers): + Rename local var maxbuf to menu-bar-update-buffers-maxbuf. + + * frame.el (make-frame-on-display): New function. + + * faces.el (set-face-background): Set either stipple or color, + never both. Do this only for a specific frame, not for t. + + * sendmail.el (mail-setup): Fill in-reply-to field properly. + +1994-10-22 Richard Stallman + + * faces.el (set-face-background): If color is gray, and frame + can't display that directly, use corresponding stipple. + (face-try-color-list): Assume gray colors are valid on any display. + +1994-10-22 Roland McGrath + + * dired-aux.el (dired-do-tags-search, + dired-do-tags-query-replace): New functions. + * dired.el (dired-mode-map): Bind A to dired-do-tags-search, Q to + dired-do-tags-query-replace. + +1994-10-22 Ethan Bradford + + * ange-ftp.el (ange-ftp-process-handle-line): Check for a + multi-line message before an error message. Fixes problem of + thinking there is an error in narrative text. + +1994-10-21 Richard Stallman + + * sendmail.el (sendmail-synch-aliases): Check MAILRC envvar. + (mail-aliases, mail-archive-file-name): Doc fixes. + + * mailalias.el (define-mail-alias): Check MAILRC envvar. + + * view.el (view-file): Do record the buffer switch. + + * help.el (describe-function): Mention the file it was loaded from. + (describe-function-find-file): New function. + (describe-function): Use that. + + * gud.el (dbx): Delete call to gud-switch-to-buffer. + (gud-sdb-marker-filter): Handle SVR4 clumped lines. + + * emerge.el (emerge-auto-advance): Fix criterion for which message. + +1994-10-20 Noah Friedman + + * timer.el (timer-error, timer-abnormal-termination, + timer-filter-error): New error conditions. + (timer-process-filter, timer-process-sentinel): Signal an error, + don't just print a message. + +1994-10-20 Richard Stallman + + * rmail.el (rmail-get-new-mail): If display-time is in use, + call display-time-filter to update the Mail indicator. + + * startup.el (command-line): Set x-cut-buffer-max here. + * term/x-win.el: Not here. + +1994-10-20 Roland McGrath + + * etags.el (next-file): Initialize next-file-list all at once from + all tables. Never call visit-tags-table-buffer when INITIALIZE is + not t. + +1994-10-20 Richard Stallman + + * ange-ftp.el (ange-ftp-get-passwd): Use user-mail-address. + (ange-ftp-generate-anonymous-password): Doc fix. + +1994-10-20 Karl Heuer + + * simple.el (edit-and-eval-command): Elements of command-history + are forms, not strings. + + * chistory.el (repeat-matching-complex-command): Fix check for + empty pattern. Simplify. + (default-command-history-filter-garbage): Fix doc string. + (list-command-history-filter, list-command-history-max): Likewise. + +1994-10-19 Noah Friedman + + * timer.el (timer-program): Make defvar, not defconst. + Expand name of timer program in exec-directory here. + (run-at-time): Not here. + +1994-10-19 Boris Goldowsky + + * facemenu.el (facemenu-face-menu, facemenu-foreground-menu, + facemenu-background-menu, facemenu-special-menu): New or renamed + variables for submenus. + * facemenu.el (facemenu-color-alist): Renamed from facemenu-colors. + * facemenu.el (facemenu-add-new-face): New function. + * facemenu.el (facemenu-update): Don't redo top-level menu; + nothing should change. Move menu setup to defvars. Use + facemenu-add-new-face. Changed global binding to C-down-mouse-3. + * facemenu.el (facemenu-menu): "Update" item removed; should + no longer be needed interactively. + * facemenu.el (facemenu-complete-face-list): Just return faces, + not keybindings. + +1994-10-17 Boris Goldowsky + + * faces.el (make-face): Add new face to Face menu on creation. + + * facemenu.el (facemenu-get-face): Don't add to menu here. + +1994-10-14 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-init-defvars): Corrections to Man-filter-list. + (Man-fontify-manpage): Added cleaning of ksh manpage daggers. + (Man-fontify-manpage): Added cleaning of ksh manpage daggers. + (Man-bgproc-sentinel): Unconditionally call Man-cleanup-manpage. + +1994-10-18 Richard Stallman + + * term.el (term-exec-1): Put `sane' last in stty cmd. + Redirect stderr to /dev/null. + + * files.el (auto-mode-alist): Doc fix. + + * font-lock.el (font-lock-after-change-function): If inside a comment, + don't scan for keywords. + + * cmuscheme.el (run-scheme): Add autoload cookie. + (scheme): Function deleted. + + * xscheme.el (run-scheme): Delete autoload cookie. + + * easymenu.el (easy-menu-create-keymaps): Add autoload cookie. + +1994-10-17 Richard Stallman + + * nntp.el (nntp-open-server): Send MODE READER command to server. + + * time.el (display-time-filter): Ignore mail-spool-file if not string. + +1994-10-17 Andreas Schwab + + * info.el (info-insert-file-contents): Always check for + conflict with jka-compr. + (Info-find-node): Don't search on Info-directory-list if the + file name is absolute. + + * etags.el (etags-tags-table-files, etags-tags-included-tables): + Search backwards for the comma in case the file name contains one. + +1994-10-17 Fred Pierresteguy + + * paths.el (rmail-spool-directory): Add a condition to test + the Bull DPX/2. + +1994-10-17 Morten Welinder + + * dos-fns.el (window-frame, raise-frame, select-frame): Clean stubs. + * faces.el (face-initialize): Fill in the faces for non-X frames also. + * info.el (Info-mode): Also use fonts for `pc' window system. + * loadup.el ((eq system-type 'ms-dos)): Rearrange what to load. + ((eq system-type 'ms-dos)): Under X, let the documentation be + stored in DOC-X. + * mouse.el (mouse-set-region) [MSDOS]: Give pc-frames the same + treatment as X-frames. + * term/pc-win.el: New file. + +1994-10-16 Morten Welinder + + * emerge.el (emerge-temp-file-prefix): Try TEMP and TMP as + alternatives for TMPDIR. + +1994-10-16 Richard Stallman + + * faces.el (set-face-stipple): New function. + (set-face-background-pixmap): An alias for that. + (face-stipple): New function. + (face-background-pixmap): An alias for that. + (copy-face, face-equal, face-differs-from-default-p) + (make-face-x-resource-internal): Handle stipple bitmaps. + + * simple.el (count-lines): Do save-match-data only when necessary. + + * loadup.el: Delete code to write subdirs.el. + +1994-10-15 Richard Stallman + + * rmailsum.el (rmail-summary-delete-forward): Don't move fwd to eob. + + * gnus.el (gnus-group-group-name): Get rid of text properties. + + * cmuscheme.el (run-scheme): Set scheme-program-name. + +1994-10-14 Richard Stallman + + * sendmail.el (mail-setup): Fill the in-reply-to field. + + * subr.el (add-to-list): Doc fix. + + * rnewspost.el (news-reply-mode-map): Add C-c C-t binding. + + * delsel.el (self-insert-iso): Add delete-selection property. + + * font-lock.el (font-lock-fontify-region): Discard leading spaces + from comment-end. + + * sendmail.el (mail-do-fcc): If file does not exist, + assume it is not a Babyl file. + +1994-10-13 Roland McGrath + + * etags.el (tags-reset-tags-tables): New function. + +1994-10-13 Karl Heuer + + * lmenu.el (make-lucid-menu-keymap): Allow Lucid-style keyword-based + menu items. + (popup-menu): Update documentation string to describe the new syntax. + +1994-10-13 Morten Welinder + + * desktop.el (desktop-internal-v2s): Remove all text properties + from strings. + +1994-10-13 Fred Pierresteguy + + * hilit19.el (hilit-set-mode-patterns - lisp-mode): Fix regexp + for 'defconstant' that leads to an infinite loop. + Hilight the 'list' keyword. + +1994-10-13 Richard Stallman + + * sendmail.el (mail-file-babyl-p): New function. + (mail-do-fcc): If file is a Babyl file, write output in Babyl format. + + * loadup.el (Evaluating top-level): Don't load loadup.el again. + +1994-10-13 Simon Marshall + + * font-lock.el: Use purify-flag rather than noninteractive. + +1994-10-13 Richard Stallman + + * loadup.el: Move the subdirs.el up to near first thing. + + * compile.el (compilation-filter): Do nothing if buffer is dead. + + * gud.el (gud-filter): Don't bind inhibit-quit. + Do nothing if buffer is dead. + + * texinfmt.el (texinfo-no-refill-regexp): Recognize @ifhtml, @html. + (texinfo-format-ifhtml, texinfo-format-html): New functions. + (texinfo-format-enddots): New function. + +1994-10-12 Richard Stallman + + * simple.el (shell-command, shell-command-on-region): + Rename arg FLAG to OUTPUT-BUFFER and allow it to be a buffer. + + * ada.el (ada-mode): + Rename end-comment-column to ada-comment-end-column. + (ada-inline-comment): Likewise. + (ada-comment-end-column): Declare variable. + + * appt.el (appt-select-lowest-window): Locally bind lowest-window. + (appt-delete): Don't set tmp-appt-msg-list. + + * add-log.el (change-log-mode-map): Move the definition up. + + * menu-bar.el (menu-bar-update-buffers-1): New subroutine + broken out of menu-bar-update-buffers. + Truncate the file name and discard the nondirectory part. + (menu-bar-update-buffers): Discard middle of long buffer names. + + * subr.el (add-to-list): New function. + +1994-10-12 Boris Goldowsky + + * facemenu.el (facemenu-read-color, facemenu-colors): New fn, var. + (facemenu-set-face, facemenu-set-face-from-menu, + facemenu-after-change): Face property can take a list value; add + to it rather than completely replacing the property. + (facemenu-add-face, facemenu-discard-redundant-faces): New functions. + + * facemenu.el (facemenu-set-foreground, facemenu-set-background) + (facemenu-get-face, facemenu-foreground, facemenu-background): New + functions and variables. Faces with names of the form fg:color + and bg:color are now treated specially. + (facemenu-update): Updated for above. + +1994-10-12 Jonathan I. Kamens (jik@gza-client1.cam.ov.com) + + * jka-compr.el (jka-compr-mode-compression-info-list): Add .tgz + extension. + (jka-compr-mode-alist-additions): New variable. + (jka-compr-install): Append jka...additions to auto-mode-alist. + (jka-compr-uninstall): Remove jka-...-additions from auto-mode-alist. + +1994-10-12 Richard Stallman + + * rmailsum.el (rmail-summary-previous-all) + (rmail-summary-next-all): Don't move forward to the end of the buffer. + +1994-10-12 Simon Marshall + + * ada.el (ada-mode-syntax-table): Made `-' and `\n' be comments. + (ada-font-lock-keywords-1, ada-font-lock-keywords-2, + ada-font-lock-keywords): New variables. + (ada-mode): Set font-lock-defaults. + + * add-log.el (change-log-mode): Set font-lock-defaults. + + * asm-mode.el (asm-mode): Set font-lock-defaults. + + * compile.el (compilation-mode): Set font-lock-defaults. + + * dired.el (dired-mode): Set font-lock-defaults. + + * fortran.el (fortran-mode-syntax-table): Made `!' be a comment. + (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2, + fortran-font-lock-keywords): New variables. + (fortran-mode): Set font-lock-defaults. + + * makefile.el (makefile-mode-syntax-table): Made `'' and ``' be + strings, and `#' be a comment. + (makefile-font-lock-keywords): Add variable reference regexp. + (makefile-mode): Set font-lock-defaults. + + * outline.el (outline-mode): Set font-lock-defaults. + + * pascal.el (pascal-mode): Set font-lock-defaults. + + * perl-mode.el (perl-mode): Set font-lock-defaults. + + * rmail.el (rmail-variables): Set font-lock-defaults. + + * rmailsum.el (rmail-summary-mode): Set font-lock-defaults. + + * sendmail.el (mail-mode): Set font-lock-defaults. + + * sh-script.el (sh-set-shell): Set font-lock-defaults. + + * shell.el (shell-font-lock-keywords): Add `\n' to [^] regexps. + (shell-mode): Set font-lock-defaults. + + * texinfo.el (texinfo-mode): Set font-lock-defaults. + + * font-lock.el: To make font-lock.el dumpable. + (font-lock-display-type, font-lock-background-mode) + (font-lock-face-attributes): Default to nil. + (font-lock-make-faces): New function. Set them. + (font-lock.el): Add to after-init-hook if noninteractive or use it. + (font-lock-maximum-size): New variable. + (font-lock-mode): Use it to fontify only if buffer is within it. + (font-lock-defaults, font-lock-defaults-alist): Item for syntax table. + (font-lock-set-defaults): Set font-lock-syntax-table too. + (lisp-font-lock-keywords-2): Fix CLisp end-of-keyword in regexp. + (c-font-lock-keywords-*): Specific to ANSI C. + (c++-font-lock-keywords-*): Specific to ANSI C++. + +1994-10-12 Richard Stallman + + * mouse.el (mouse-major-mode-menu): Use minor-mode-map-alist + instead of overriding-local-map. Display equiv keys using + mouse-major-mode-menu-compute-equiv-keys. + (mouse-major-mode-menu-compute-equiv-keys): New function. + + * sendmail.el (mail-alias-modtime): Doc fix. + + * appt.el (appt-delete-window): Avoid error if WINDOW is nil. + + * c-mode.el (c-mode-map): Capitalize Mode in C Mode menu bar item. + +1994-10-11 Richard Stallman + + * hilit19.el (calendar-mode): Delete the regexps for diary, hollidays. + + * tex-mode.el (compare-windows-whitespace): Eliminate initial value. + + * rmail.el (rmail-find-all-files): Fix several errors and make faster. + Always return a single-level list of file names. + (rmail-construct-io-menu): If FILES is null, turn off the menus. + (rmail-disable-menu): A phony "command", always disabled in menus. + (rmail-list-to-menu): Reverse the list L. + +1994-10-11 Tom Tromey + + * makefile.el (makefile-mode-name): Removed. + (makefile-mode): Skip any number of "#"s at beginning of comments. + (makefile-electric-keys): New variable. + (makefile-electric-dot): Self insert if not at bol. + (makefile-electric-equal): Really self-insert if not at bol. + (makefile-pickup-everything): Prefix arg means force pickups to be + redone. + (makefile-insert-macro-ref): Don't use format. + (makefile-runtime-macros-list): Added "$" to list. + (makefile-insert-special-target): Don't use format. + (makefile-insert-macro): Don't use format. + (makefile-insert-target): Don't use format. + (makefile-insert-target-ref): Don't use format. + (makefile-electric-colon): Really self-insert if not at bol. + (makefile-complete): New function. Bound to M-TAB. + (makefile-do-macro-insertion): New function. + (makefile-mode-map): Add menu bar bindings. + (makefile-font-lock-keywords): New constant. + (makefile-mode): Deal with font-lock, add-log, imenu. + (makefile-macroassign-regex): Changed for use with font-lock. + (makefile-dependency-regex): Changed for use with font-lock. + (makefile-add-log-defun): New function. + (makefile-menu-index-function): New function. + +1994-10-11 Fred Pierresteguy + + * rmailsum.el (rmail-summary-resend): New function. + (rmail-summary-mode-map - resend): Call rmail-summary-resend + instead of rmail-resend. + +1994-10-11 Richard Stallman + + * startup.el (normal-top-level-add-to-load-path): New function. + (normal-top-level): Load subdirs.el in each dir in load-path. + + * loadup.el: Write the subdirs.el file. + + * simple.el (blink-matching-open): Check there is a previous + nonblank line before trying to display it. + No need for backward-char before the skip-chars-backward. + + * rmail.el (rmail-show-message): New argument no-summary. + + * rmailsum.el (rmail-summary-rmail-update): + Pass new arg to rmail-show-message. + +1994-10-10 Richard Stallman + + * iso-transl.el (initializing keymaps): + Define translations for mute-acute and the other mute- keys. + + * term/x-win.el (system-key-alist): Add sun versions of + mute-grave, mute-diaeresis, mute-asciicircum. + + * c-mode.el (c-mode-map): Use "C mode" for the menu bar item name. + + * mouse-sel.el (mouse-select): Pass an arg to mouse-extend. + + * mail-hist.el (mail-hist-put-headers-into-history) + (mail-hist-current-header-contents, mail-hist-forward-header) + (mail-hist-current-header-name): + Use regexp-quote on mail-header-separator. + + * lisp-mode.el (calculate-lisp-indent): Local var + last-sexp renamed to calculate-lisp-indent-last-sexp. + (lisp-indent-function): Use new name of var. + (calculate-lisp-indent-last-sexp): Var defined. + + * menu-bar.el (menu-bar-file-menu): Don't include the frame + commands in a non-frame version of Emacs. + + * font-lock.el (font-lock-set-defaults): + Do nothing if font-lock-keywords already non-nil. + Use font-lock-defaults. + (font-lock-defaults): New variable. + +1994-10-09 Richard Stallman + + * appt.el (appt-delete-window): Do nothing if the window + is the only one in its frame. + + * calendar.el (calendar-holiday-marker): + Copy holiday-face from highlight face. + + * ispell.el (ispell-highlight-spelling-error): + Have just one definition, which decides what to do. + (ispell-command-loop): New args START and END. Do highlighting + and unhighlighting here. + (ispell-word, ispell-region, ispell-complete-word): Not here. + (ispell-highlight-spelling-error-generic): Bind buffer-undo-list to t. + + * lisp-mode.el (emacs-lisp-mode-syntax-table): + Don't set syntax of formfeed. + + * bytecomp.el (byte-compile-insert-header): Use user-mail-address. + +1994-10-08 Richard Stallman + + * add-log.el (add-log-current-defun): In texinfo-mode, + handle the case of no commas after @node. + + * tex-mode.el (tex-region): Don't delete temp files if we do + one buffer twice in a row. + + * rmail.el (rmail-delete-forward): Use rmail-select-summary. + +1994-10-07 Richard Stallman + + * mouse.el (mouse-major-mode-menu): New function, on C-mouse-3. + (mouse-major-mode-menu-1): New function + (mouse-set-font): Move it to C-mouse-2. + + * font-lock.el (font-lock-defaults-alist): Delete most modes--all + those that now set font-lock-keywords themselves. + Re-delete code deleted in rms's Oct 5 change. + + * pascal.el (pascal-mode): Set font-lock-keywords locally. + + * perl-mode.el (perl-mode): Set font-lock-keywords locally. + + * asm-mode.el (asm-mode): Set font-lock-keywords locally. + + * texinfo.el (texinfo-mode): Set font-lock-keywords locally. + + * shell.el (shell-mode): Set font-lock-keywords locally. + + * dired.el (dired-mode): Set font-lock-keywords locally. + + * sendmail.el (mail-mode): Set font-lock-keywords locally. + + * rmail.el (rmail-variables): Set font-lock-keywords locally. + + * rmailsum.el (rmail-summary-mode): Set font-lock-keywords locally. + + * outline.el (outline-mode): Set font-lock-keywords locally. + + * add-log.el (change-log-mode): Set font-lock-keywords locally. + + * compile.el (compilation-mode): Use kill-all-local-variables. + Set font-lock-keywords locally. + +1994-10-06 Richard Stallman + + * menu-bar.el (query-replace): Add missing quote. + +1994-10-06 Noah Friedman + + * type-break.el: Do not call type-break-mode upon loading. + (type-break-time-sum): New function. + (type-break-schedule): Use it. Make function interactive. + (type-break-guestimate-keystroke-threshold): Use `N' interactive + spec, not `n'. + (type-break-demo-boring): Show elapsed time of break, or number of + minutes left for good break. + +1994-10-06 Richard Stallman + + * appt.el (appt-delete-window): Look on all frames for the window. + (appt-disp-window): If frame is unsplittable, use display-buffer. + +1994-10-05 Simon Marshall + + * comint.el (comint-check-proc): Recognise `open'. + (comint-exec): Use open-network-stream if command is a cons pair. + + * font-lock.el (compilation-mode-font-lock-keywords, + rmail-summary-font-lock-keywords, dired-font-lock-keywords, + shell-font-lock-keywords, texi-font-lock-keywords, + perl-font-lock-keywords): Deleted. + + * sh-script.el (sh-font-lock-keywords): Default to nil. + + * compile.el (compilation-mode-font-lock-keywords): New variable. + + * add-log.el (change-log-font-lock-keywords): New variable. + + * outline.el (outline-font-lock-keywords): New variable. + + * rmailsum.el (rmail-summary-font-lock-keywords): New variable. + + * rmail.el (rmail-font-lock-keywords): New variable. + + * sendmail.el (mail-font-lock-keywords): New variable. + + * dired.el (dired-font-lock-keywords): New variable. + + * shell.el (shell-font-lock-keywords): New variable. + + * texinfo.el (texinfo-font-lock-keywords): New variable. + + * asm-mode.el (asm-font-lock-keywords): New variable. + + * perl-mode.el (perl-font-lock-keywords): New variable. + + * pascal.el (pascal-font-lock-keywords): New variable. + (pascal-mode): Set comment-start-skip and comment-end. + + * font-lock.el: (font-lock-mode): Doc fix; use add/remove-hook, not + setq; removed make-local-variable of font-lock-no-comments. + (font-lock-set-defaults): Do it there, and use: + (font-lock-defaults-alist): Use it to set font-lock-keywords, + font-lock-keywords-case-fold-search and font-lock-no-comments. + (turn-on-font-lock): New function. + (font-lock-fontify-buffer): Made interruptible; deleted messages. + + * font-lock.el: (font-lock-fontify-region): Made syntax state reliable + by widening within new restriction; let cstart and cend for speed; + outputs message. + (font-lock-after-change-function): Remove spurious goto-char and use + forward-line, not 1+ end-of-line, for end of fontification region. + (font-lock-any-properties-p): Removed, use text-property-not-all. + + * font-lock.el (font-lock-*-face): facename values are themselves. + (font-lock-variable-name-face, font-lock-reference-face): New vars. + (font-lock-doc-string-face): Removed. + (font-lock-keywords): Extended value syntax. + (font-lock-hack-keywords): Cope with it; outputs initial message. + + * font-lock.el: Merged in face-lock.el: + (font-lock-display-type, font-lock-background-mode) + (font-lock-face-attributes): New variables, use it. + (font-lock-make-face): New function, use them. + +1994-10-05 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-notify, Man-current-page, Man-page-list, + Man-filter-list, Man-original-frame, Man-arguments, + Man-fontify-manpage-flag, Man-sections-alist, Man-refpages-alist, + Man-uses-untabify-flag, Man-page-mode-string, Man-sed-script): + Added defvar's to keep the compiler quiet. + (Man-getpage-in-background): Start buffer name with "*Man ". + instead of "*man " to avoid conflict with "*mail*". + (Man-match-substring): Defsubst moved before first call. + (Man-build-page-list, Man-strip-page-headers, Man-unindent): Use + defun instead of defsubst, for code clarity purpose. + +1994-10-05 Richard Stallman + + * font-lock.el: Delete the error when no window system. + + * gnuspost.el (sendnews, postnews): Use defalias. + + * startup.el (command-line): Load disp-table explicitly. + + * add-log.el (add-log-current-defun): Handle Perl specially. + + * env.el (read-envvar-name): Special meaning for MUSTMATCH + neither t nor nil. + (setenv): Use that new case, when clearing a var. + +1994-10-04 Richard Stallman + + * texinfmt.el (texinfo-format-scan): Accept @^, @", @?, @!, @-. + + * rmailsum.el (rmail-summary-goto-msg): + Get rmail-total-messages from the rmail buffer. + + * simple.el (goto-line): Call prefix-numeric-value. + +1994-10-03 Richard Stallman + + * files.el (set-auto-mode): Discard versions from file name before + testing inhibit-first-line-modes-regexps. + + * rlogin.el (rlogin): Doc fix. + +1994-10-02 Per Cederqvist + + * vc-hooks.el (vc-status): Handle CVS. + + * vc-hooks.el (vc-find-cvs-master): New function. + (vc-master-templates): Add vc-find-cvs-master. + (vc-registered): Allow vc-master-templates to contain atoms, and + call them with dirname and basename as arguments. + + * vc-hooks.el (vc-mode-line): Use equal, not string-equal, to + compare the result of vc-locking-user. + + * vc.el (vc-backend-checkin): When CVS checks in a file, it is + immediately checked out again, so set vc-checkout-time. + + * vc.el (vc-fetch-properties): CVS 1.4A1 says "Repository revision". + + * vc.el (vc-locking-user): Do something sensible when the backend + is CVS. May return a numerical UID or a string when CVS is used. + (vc-dired-reformat-line): Handle numerical arguments. + + * vc.el (vc-backend-checkout): Don't extract CVS files twice. + + * vc.el (vc-next-action-on-file): Handle return value from + vc-backend-merge-news correctly. + + * vc.el (vc-rename-file): Fixed call to vc-backend-dispatch. + (vc-make-buffer-writable-hook): New hook, for CVS only. + (vc-header-alist): Added header for CVS. + (vc-next-action-on-file): Added support for CVS. + (vc-next-action, vc-checkin, vc-revert-buffer): Doc fixes. + (vc-rename-file): Disable if the backend is CVS. + (vc-log-info): New arguments: LAST and FLAGS, passed on to + vc-do-command. All callers updated. + (vc-fetch-properties): Implement support for CVS files. + + * vc.el (vc-backend-checkin): Args REV and COMMENT no longer optional. + Implement support for CVS. + (vc-backend-revert): Implement support for CVS. + (vc-backend-diff): Treat files which are added, but not yet committed, + specially (diff them against /dev/null). + (vc-backend-merge-news): New function. + (vc-log-mode): Talk a little about CVS in the comment. + + * vc.el (vc-log-info): Simplify code. + + * vc.el (vc-do-command): New argument LAST. All callers updated. + Legal values for LAST are 'MASTER and 'BASE. + (vc-backend-dispatch): New argument C, used by CVS. All callers + updated, but many just passes an (error "NYI") form. + (vc-backend-admin): Issue a "cvs add" (but not a "cvs commit"). + (vc-backend-checkout, vc-backend-logentry-check, vc-backend-print-log, + vc-backend-assign-name, vc-backend-diff, vc-check-headers): Handle CVS. + (vc-backend-steal, vc-backend-uncheck): Give error if using CVS. + + * vc.el (vc-backend-diff): Fixed typo in SCCS code. + +1994-10-02 Richard Stallman + + * comint.el (comint-strip-ctrl-m): Renamed from shell-strip-crtl-m + and moved here. + (shell-strip-ctrl-m): Add defalias. + * shell.el (shell-strip-ctrl-m): Function deleted. + + * rect.el (kill-rectangle): In read-only buffer, do record + the rectangle for later yanking. + + * shell.el (shell-mode): Compare the truename with /dev/null. + + * files.el (file-truename): If name has no dir, use default-directory. + + * env.el (setenv-history): New history list. + (setenv): Use setenv-history. + Place the variable's current value at front of setenv-history + while reading the new value. + +1994-10-01 Richard Stallman + + * cplus-md.el (indent-c++-exp): For public/private/protected, + don't do the case/label adjustment. + + * fill.el (fill-region, fill-region-as-paragraph): Fix previous change. + + * vc.el (vc-register): Verify an old master file really still exists + before giving error. If it has disappeared, ask for confirmation. + + * files.el (save-buffers-kill-emacs): Fix previous change. + +1994-10-01 Richard Stallman + + * mouse.el (mouse-secondary-click-count): New variable. + (mouse-secondary-save-then-kill, mouse-drag-secondary): + Use mouse-secondary-click-count, not mouse-selection-click-count. + + * server.el (server-switch-buffer): Don't go to an invisible frame. + Move to a non-dedicated window if possible. + Otherwise, make the window non-dedicated. + + * subr.el (add-hook, remove-hook): If the hook was made local + in the old way, always modify the local value. + + * ispell.el (ispell-init-process): Add missing arg in error msg. + + * finder.el (finder-mode-map): Change key bindings: + RET or f to select, d to go back to directory. + (finder-summary): Fix the help summary. + +1994-09-30 Jan-Hein Buhrman + + * env.el (setenv): Provide history, completion for envvar. + (read-envvar-name-history): New variable. + (read-envvar-name): New function. + +1994-09-30 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-init-defvars, Man-cleanup-manpage, + Man-fontify-manpage): fix previous fix. + +1994-09-30 Michael Ernst + + * fill.el (fill-region, fill-region-as-paragraph): + If specified region ends before a newline, include that newline. + +1994-09-30 Richard Stallman + + * edmacro.el (edmacro-format-keys): Cope if local keymap is nil. + + * faces.el (modify-face): New function. + + * files.el (save-buffers-kill-emacs): + Use run-hook-with-args-until-failure. + (find-file-noselect): Use run-hook-with-args-until-success. + (after-find-file): Use run-hooks for find-file-hooks. + (basic-save-buffer): Use run-hook-with-args-until-success. + + * subr.el (add-hook): Initialize default value and local value. + (run-hook-with-args-until-success): New function. + (run-hook-with-args-until-failure): New function. + + * dired-aux.el (dired-do-print): Put spaces between lpr switches. + +1994-09-29 Richard Stallman + + * lpr.el (print-region-1): Use them instead of just pr. + (lpr-page-header-program, lpr-page-header-switches): New variables. + + * abbrev.el (add-abbrev, inverse-add-abbrev): + Clear text properties from NAME. + + * scheme.el (scheme-mode-variables): Make parse-sexp-ignore-comments t. + + * texinfmt.el (texinfo-format-region, texinfo-format-buffer-1): + Search back for the @include. + +1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el + (Man-init-defvars, Man-cleanup-manpage, Man-fontify-manpage): + added support for the big cross present in the ksh manpage. + +1994-09-29 Richard Stallman + + * frame.el (handle-delete-frame): New function. + +1994-09-28 Ake Stenhoff + + * imenu.el (imenu--cleanup): Changed 'mapc' to 'mapcar'. + +1994-09-28 Richard Stallman + + * subr.el (run-hooks): t as hook list element means run the global + value of the variable as well as the local value. + (run-hook-with-args): Likewise. + (make-local-hook): New function. + (add-hook, remove-hook): New arg LOCAL means modify local value. + Test default-boundp as well as boundp. + +1994-09-28 Karl Heuer + + * startup.el (command-line): Recognize --longopt synonyms for all + options handled here. + +1994-09-27 Michael Ernst + + * paragraphs.el (backward-kill-sentence): Work in read-only buffers. + (kill-sentence): Work in read-only buffers. + +1994-09-27 Richard Stallman + + * help.el (command-apropos): Pass t for no-header to apropos. + + * apropos.el (apropos-print-matches): Add newline after + Function: or Variable: if line doesn't fit with it. + New arg no-header inhibits them entirely. + (apropos): New arg no-header. Pass it to apropos-print-matches. + + * sendmail.el (mail): Doc fix. + +1994-09-27 Christopher J. Madsen + + * files.el (hack-one-local-variable): + Support safe-local-variable property. + (compile-command): Add safe-local-variable property. + +1994-09-27 Roland McGrath + + * etags.el (etags-tags-completion-table): Allow ? and : in guessed + tag names. + +1994-09-26 Joe Ramey + + * rmailsum.el (rmail-summary-delete-forward): Regexp for + recognizing deleted message should not require a space at the + beginning of the line. + +1994-09-26 Richard Stallman + + * gud.el (gud-overload-functions): Function deleted. + (gud-massage-args, gud-marker-filter, gud-find-file): New vars. + Mark them as permanent locals. + (gud-massage-args, gud-marker-filter, gud-find-file): + In these functions, use those variables. + (gud-common-init): 3 new args give values for those variables. + (gdb, sdb, dbx, xdb, perldb): Pass new args to gud-common-init. + (gud-gdb-complete-command): Bind gud-marker-filter. + (gud-find-file): Condense multiple slashes to single slashes. + +1994-09-26 Lennart Staflin + + * dired.el (dired-re-perms): Accept various file type letters. + +1994-09-25 Richard Stallman + + * flow-ctrl.el (enable-flow-control): + Never make keyboard-translate-table shorter. + +1994-09-27 Barry A. Warsaw (warsaw@anthem.nlm.nih.gov) + + * Installed version 4.85. + + * cc-mode.el (c-mode-fsf-menu, c-mode-map, c++-mode-map, objc-mode-map): + Use a better feature test to figure out how to set the menu title + string. + + * cc-mode.el (c-search-uplist-for-classkey): In `class' keyword + verification section, only skip forward for ?> template char if a + matching ?< char was found previous to search-start. + + * cc-mode.el (c-submit-bug-report): Updated var list. + + * cc-mode.el (c-search-uplist-for-classkey): Lele patch for objc-mode. + + * cc-mode.el (c-search-uplist-for-classkey): + Avoid "invalid search bound" error. + + * cc-mode.el (c-beginning-of-statement-1): + Skip special modifier chars in all cases. + + * cc-mode.el (c-guess-basic-syntax): + CASE 9: generalize and collect common code for finding position + after conditional statements, and check for `while' statement of a + `do' loop. In that case, skip over the trailing semi. + + * cc-mode.el (c-progress-info, c-progress-init) + (c-progress-update, c-progress-fini): + New vars/defuns for better long indentation progress reporting + (c-indent-exp, c-indent-region): Use them. + + * cc-mode.el (c-guess-basic-syntax): + CASE 6F, go forward 1 char from b-o-s of containing-sexp bufpos to + find proper relpos of an arglist-cont. + + * cc-mode.el (c-offset-alist-default): + statement-case-open default offset is zero + (c-skip-case-statement-forward): New function. + (c-guess-basic-syntax): CASE 15: use c-skip-case-statement-forward in + proper places to find the real relpos of statement's inside switch + case/default bodies. CASE 15D: remove special handling when looking + at c-conditional-key. + + * cc-mode.el (c-offsets-alist, c-cleanup-list, c-mode-menu) + (c-mode-map, c-symbol-key, c-indent-line, c-popup-menu): Doc fixes. + + * cc-mode.el (c-least-enclosing-brace): New function. + (c-most-enclosing-brace): Renamed from c-enclosing-brace. + (c-indent-defun): Handle opening braces not in column 1. + + * cc-mode.el (c-beginning-of-statement-1): Skip over statement mod + characters that don't precede an open paren. + + * cc-mode.el (c-guess-basic-syntax): + Check for c-access-key non-nil before using it. + + * cc-mode.el (c-beginning-of-statement-1): Swapped CASE 3 and 4, + so that conditional statements are picked up properly. + + * cc-mode.el (c-guess-basic-syntax): + CASE 15D, calculate relpos from boi of beginning of statement + prior to indent-point, unless we're looking at a conditional key. + + * cc-mode.el (c-mode-map, c++-mode-map, objc-mode-map): + Change test of 'FSF in c-emacs-features to specific features + based tests. + + * cc-mode.el (c-just-after-func-arglist-p) + (c-guess-basic-syntax, c-lineup-objc-method-args-2): + More objc patches from Lele + + * cc-mode.el (c-indent-command): + With optional arg, shift-amt had wrong sign. + + * cc-mode.el (c-lineup-arglist): + Better handling of comments preceding arg lists. + + * cc-mode.el (c-guess-basic-syntax): Swapped CASE 6A and 6B to + recognize empty arglists with close paren on separate line. + + * cc-mode.el (c-mode-menu, c-emacs-features, c-mode-map) + + (c-common-init): Remove dependency on string "Lucid" in + emacs-version. Use features to distinguish. + + * cc-mode.el (c-fill-paragraph): + Merge with 19.25's c-mode.el--uses fill-region-as-paragraph. + + * cc-mode.el (c-offsets-alist-default, c-offsets-alist) + (c-hanging-braces-alist, c-electric-brace, c-guess-basic-syntax): + Added syntactic symbol statement-case-open for + statement-case-intro's that contain an open brace. + + * cc-mode.el (c-lineup-math): Watch for equal signs in literals. + + * cc-mode.el (c-beginning-of-statement-1): + CASE5 and CASE 6, better pick up of label's with potential + embedded colons (scope operators). + + * cc-mode.el (c-hanging-comment-ender-p): New variable. + (c-fill-paragraph): Use c-hanging-comment-ender-p. + + * cc-mode.el (c-recognize-knr-p): New variable. + (c-common-init): Make it buffer-local. + (c-mode, c++-mode, objc-mode): Use c-recognize-knr-p. + (c-guess-basic-syntax): Use c-recognize-knr-p; swap + CASE 5B.2 and 5B.3. + + * cc-mode.el (c-offsets-alist-default, c-offsets-alist) + (c-guess-basic-syntax): + Changed syntactic symbol c++-funcdecl-cont to ansi-funcdecl-cont + + * cc-mode.el (c-offsets-alist, c-read-offset, c-set-offset): + Accept variable symbols as offsets. + (c-get-offset): Accept ++ and -- symbols. + + * cc-mode.el (c-guess-basic-syntax): + CASE 9C: added small performance improvment to c-in-literal call. + + * cc-mode.el (c-beginning-of-statement-1): Use c-in-literal-cache, + and limit backscanning in CASE 5 to known, non-literal position. + + * cc-mode.el (c-in-literal, c-guess-basic-syntax): + Caching of last literal result. + + * cc-mode.el (c-guess-basic-syntax): + CASE 15D, calculate 'statement relpos as the + beginning-of-statement relative to indent-point. + + * cc-mode.el (c-beginning-of-statement-1): + CASE 4, check for conditional keywords which could be followed by + a balanced paren expr. I.e. while(foo). + + * cc-mode.el (c++-mode-syntax-table, objc-mode-syntax-table): + Give CR same syntax as newline, for selective-display. + + * cc-mode.el (c-electric-star): + Fixed indentation problem when a star is not preceded by a slash. + + * cc-mode.el (c-indent-defun): + Removed condition-case inside unwind-protect. + + * cc-mode.el (c-class-key, c-search-uplist-for-classkey): + Greatly simplified, this constant now contains a regexp that only + matches valid `class' keywords, in the C++ sense. + +1994-09-25 Richard Stallman + + * info.el (Info-scroll-down, Info-scroll-up): Doc fixes. + + * rmail.el (rmail-forward): Simplify insertion of forwarded msg. + Don't use exchange-point-and-mark. + + * rmail.el (rmail-msg-number-after-expunge): New function. + (rmail-reply, rmail-forward): Use separate local variables + rmail-send-actions-rmail-msg-number, rmail-send-actions-rmail-buffer + to record which message to mark as answered or forwarded. + (rmail-only-expunge): Update msg numbers stored in those variables. + +1994-09-24 Richard Stallman + + * rmail.el (rmail-construct-io-menu): Don't print a message + about no matching files. + +1994-09-24 Lennart Staflin + + * dired.el (dired-re-perms): Accept directories and symbolic links + also, not only plain files. + +1994-09-24 Richard Stallman + + * buff-menu.el (Buffer-menu-delete): Handle prefix arg. + (Buffer-menu-delete-backwards): Handle prefix; use Buffer-menu-delete. + + * dired-x.el (dired-virtual-mode): Doc fix. + + * sh-script.el (auto-mode-alist): Use \' in auto-mode-alist regexps. + + * mlsupport.el (auto-execute): Use \' in auto-mode-alist regexps. + + * icon.el (icon-mode): Add autoload cookie. + + * ada.el (ada-mode): Add autoload cookie. + (auto-mode-alist): Don't alter it here. + + * files.el (auto-mode-alist): Handle ada-mode and icon-mode. + +1994-09-24 Jan-Hein Buhrman (J.H.Buhrman@ns-nl.att.com) + + * ange-ftp.el (ange-ftp-start-process): Add use-smart-ftp code. + (ange-ftp-get-process): Use ange-ftp-normal-login if + ange-ftp-gateway-host is nil. + +1994-09-24 Michael D. Ernst + + * simple.el (shell-command, shell-command-on-region): + Make "*Shell Command Output*" non-read-only. + +1994-09-24 Erik Naggum + + * comint.el (comint-input-chunk-size): Variable deleted. + (comint-send-string): Make it an alias for process-send-string. + (comint-send-region): Make it an alias for process-send-region. + + * nntp.el (nntp-send-region-to-server): Call process-send-region + just once, for the whole string. + + * rmail.el (rmail-reformat-message): Run mail-message-filter + before calling rmail-clear-headers. + +1994-09-23 Richard Stallman + + * isearch.el (isearch-mode): Don't set deactivate-mark here. + (isearch-done): In Transient Mark mode, don't set mark if is active. + + * vc.el (vc-finish-steal): Do vc-resynch-window in the right buffer. + (vc-steal-lock): Delete spurious reference to `configuration'. + + * vc.el (vc-backend-checkout): Add if-statements to the shell cmds + to discard the extra arg some shells make. + +1994-09-23 Jonathan I. Kamens (jik@gza-client1) + + * files.el (find-alternate-file): Confirm killing buffer + only if it is visiting a file. + +1994-09-23 Roland McGrath + + * etags.el (tag-symbol-match-p): New function. + (etags-recognize-tags-table): Add that second in find-tag-tag-order, + after tag-exact-match-p. + + * etags.el (tags-table-check-computed-list): Call + tags-verify-table on existing buffers. + +1994-09-23 Boris Goldowsky + + * fill.el (justify-current-line): Inherit props when inserting spaces. + +1994-09-23 Richard Stallman + + * vc.el (vc-rename-file): Add autoload cookie. + + * mail-extr.el (mail-extr-all-top-level-domains): + Fix formal name of Hungary. + +1994-09-22 Tom Tromey + + * add-log.el (add-change-log-entry): Set add-log-full-name and + add-log-mailing-address here. + (add-log-mailing-address, add-log-full-name): Initialize to nil. + +1994-09-22 Stephen Gildea (gildea@x.org) + + * time-stamp.el (time-stamp-mail-host-name): Use mail-host-address. + (time-stamp-mail-host): Variable deleted. + +1994-09-22 Karl Heuer + + * sendmail.el (sendmail-synch-aliases): Renamed from + synch-mail-aliases. All callers changed. + +1994-09-22 Francesco Potorti` + + * man.el (Man-notify-method): New name for old Man-notify-flag + user options. All functions using it updated. + + * ispell.el (check-ispell-version): Suggest to try ispell4.el if + version does not match. + +1994-09-22 Richard Stallman + + * faces.el (x-create-frame-with-faces): Delete the frame if get error. + + * rmailsum.el (rmail-summary-goto-msg): Simply the regexp + for finding the message number. Check that a non-digit follows it. + + * help.el (print-help-return-message): Handle cons cells + in special-display-regexps and special-display-buffer-names. + + * startup.el (mail-host-address): New variable. + (normal-top-level): Use mail-host-address to init user-mail-address. + + * files.el (file-ownership-preserved-p): New function. + +1994-09-21 Jonathan I. Kamens (jik@gza-client1) + + * rmail.el (rmail-retry-ignored-headers): New variable, + specifying the headers that should be removed by + rmail-retry-failure. + (rmail-retry-setup-hook): Obsolete variable (see below), deleted. + (rmail-clear-headers): New optional arg is list of headers to clear. + (rmail-retry-failure): Copy the whole block of headers from the message + and then discard those in rmail-retry-ignored-headers. Delete + usage of rmail-retry-setup-hook. Bind mail-signature and + mail-setup-hook to nil when composing retry buffer. + Handle mail-self-blind. + + * vc.el (vc-steal-lock): (1) Function should be + non-interactive, because it doesn't work when called directly + by the user. (2) Don't display revision "nil" when stealing + lock if revision is unknown. (3) Put "Stolen lock on " + instead of just the file name in the Subject of the + notification message. + + * rmail.el (rmail-ignored-headers): Add resent-message-id. + + * simple.el (insert-buffer): Default to first other buffer, + not first non-visible buffer. + +1994-09-21 Erik Naggum + + * lisp.el (insert-parentheses): Don't insert spaces at beginning + and end of buffer. + +1994-09-21 Per Abrahamsen + + * frame.el (special-display-popup-frame): Rename new arg to ARGS. + Allow (FUNCTION OTHER-ARGS...) as the value of ARGS. + + * frame.el (special-display-popup-frame): New argument PARAMS. + Use it as well as `special-display-frame-alist'. + +1994-09-21 Richard Stallman + + * mail-extr.el (mail-extr-all-top-level-domains): Update domain list. + + * emerge.el (emerge-recenter, emerge-operate-on-windows): + Use `visible' when calling get-buffer-window. + + * etags.el (find-tag-noselect): Simplify. + Always run find-tag-hook at the tag's location. + + * sendmail.el (mail-default-reply-to): Initialize to t. + (mail-setup): If it's t, set it from envvar REPLYTO. + +1994-09-19 Francesco Potorti` + + * man.el (Man-notify-flag): replaces the old Man-notify + variable, use the old one if it is bound as initial value. + (Man-reuse-okay-flag): replaces Man-reuse-okay. + (Man-downcase-section-letters-flag): replaces + Man-downcase-section-letters. + (Man-circular-pages-flag): replaces Man-circular-pages. + (Man-auto-section-alist): variable deleted. + (Man-section-translations-alist): removed the "3x" translation. + (Man-untabify-command, Man-untabify-command-args): new vars. + (Man-sed-command, Man-awk-command): new variables. + (Man-sysv-sed-script, Man-berkeley-sed-script): new constants. + (Man-name-regexp, Man-page-header-regexp): new variable. + (Man-heading-regexp): changed default value. + (Man-reference-regexp): now refers to previous regexps. + (Man-arguments): new buffer-local variable. + (Man-page-mode-string): changed default value. + (Man-mode-map): changed the meanings of ",", ".", "q". Added new + keys ">", "<", "k". + (Man-page-mode-string): function deleted. + (Man-init-defvars): New function used for initialising the system + and environment dependent variables Man-fontify-manpage-flag, + Man-uses-untabify, Man-sed-script, Man-filter-list. + (Man-delete-trailing-newlines): function deleted. + (Man-make-page-mode-string): new subst. + (Man-build-man-command): now subst instead of function. Modified + to comply with the new format of Man-filter-list. + (Man-downcase): function deleted. + (Man-translate-references): complete rewrite. + (Man-linepos): function deleted. + (Man-match-substring): new function. + (Man-default-man-args): function deleted. + (Man-default-man-entry): complete rewrite. + (man, manual-entry): function-alias relationship reversed. + (man): prompt changed, prompt using interactive, call + Man-init-defvars, set Man-arguments. + (Man-notify-when-ready): manage the 'pushy value. + (Man-fontify-manpage): substitute Man-set-fonts. + (Man-cleanup-manpage): new function. + (Man-bgproc-sentinel): cleanup, call Man-fontify-manpage and + Man-cleanup-page when necessary. + (Man-mode): call Man-strip-page-headers and Man-unindent. + (Man-build-section-alist, Man-build-references-alist, + Man-build-page-list): substs instead of functions. + (Man-build-references-alist): cleanup. + (Man-build-page-list): new algorithm. + (Man-strip-page-headers, Man-unindent): new substs. + (Man-find-section): assume section names start in column 1. + (Man-quit): bury the buffer instead of killing it, delete the + frame when necessary. + (Man-kill): new function. + (Man-goto-page): do the right thing when the manpage is not found, + do not assume that Man-build-references-alist is broken. + +1994-09-21 Richard Stallman + + * menu-bar.el (vc-menu-map): New menu. + (menu-bar-file-menu): Put the VC map under the File map. + + * vc-hooks.el (vc-menu-map): Set up menu items. + + * rmail.el (rmail-mode-kill-summary): New function. + (rmail-variables): Put that on kill-buffer-hook locally. + + * subr.el (remove-hook, add-hook): Copy existing list before modifying. + +1994-09-20 Richard Stallman + + * sendmail.el (mail-bury-selects-summary): New variable. + (mail-bury): Test it. + +1994-09-20 Francesco Potorti` + + * vc-hooks.el (vc-status): Use vc-path when calling prs. + +1994-09-20 Richard Stallman + + * vc-hooks.el (vc-status): New arg vc-type. + + * window.el (shrink-window-if-larger-than-buffer): Use WINDOW's frame + for all actions that operate on a frame. Set WINDOW to selected + window if it was nil. + +1994-09-19 Boris Goldowsky + + * add-log.el (add-log-current-defun): Deal with + lisp-interaction-mode like lisp-mode. + + * facemenu.el (facemenu-update): Make menu separators all dashes. + +1994-09-19 Richard Stallman + + * subr.el (add-hook): Doc fix. + +1994-09-19 Karl Heuer + + * emacsbug.el (report-emacs-bug): system-configuration-options was + misspelled as system-configure-options. + +1994-09-19 Jim Blandy + + * disp-table.el: Add support for new window border display table + element. + (describe-display-table): Describe the window border glyph. + (display-table-len): New constant. + (make-display-table, standard-display-8bit, + standard-display-default, standard-display-ascii, + standard-display-g1, standard-display-graphic, + standard-display-underline): Use display-table-len, instead of + hard-coding the display table length. + +1994-09-19 Francesco Potorti` + + * rlogin.el (rlogin): recognise the `-l user' option to rlogin and + let comint and ange-ftp know about the correct home directory. + +1994-09-19 Richard Stallman + + * picture.el (picture-yank-at-click): New function. + + * hideif.el: Handle ==, !=, + and -. + (hif-tokenize): Handle ==, !=, + and -. + (hif-token-regexp): Handle ==, !=, + and -. + (hif-notequal, hif-plus, hif-minus, hif-mathify): New functions. + (hif-math, hif-eq-expr): New functions. + (hif-term): Call hif-eq-expr. + (hide-ifdef-define): Pass 1 to hif-set-var. + + * files.el (file-name-sans-extension): New function. + + * files.el (basic-save-buffer-1): If writing temp file fails + or a precious file, restore the old visited file modtime. + + * replace.el (query-replace-interactive): New user option. + (query-replace-read-args): Obey that option--fetch from + search-ring or regexp-search-ring. New arg regexp-flag. + (query-replace, query-replace-regexp, replace-string) + (replace-regexp): Pass new arg to query-replace-read-args. + (map-query-replace-regexp): Obey query-replace-interactive. + +1994-09-18 Vincent Del Vecchio (vdelvecc@dsd.camb.inmet.com) + + * info.el (Info-insert-dir): Insert newlines before rather than + after nodes copied from other files, for consistency. + +1994-09-18 Frederic Pierresteguy + + * rmail.el: Build proper keymap for the "Input (menu)" and + "Output (menu)" submenus. + (rmail-find-all-files, rmail-list-to-menu): New functions. + (rmail-construct-io-menu): New functions. + (rmail-input-menu): Function deleted. + (rmail). Call rmail-construct-io-menu. + (rmail-mode-map): 'Input Rmail file (menu)' renamed to + 'Input Rmail file'. 'Output (Rmail menu)' renamed to + 'Output Rmail file'. + * rmailout.el (rmail-output-menu): Function deleted. + * rmailsum.el (rmail-summary-construct-io-menu): New function. + (rmail-new-summary): Call rmail-summary-construct-io-menu. + (rmail-summary-mode-map): New menu items 'Input Rmail File' and + 'Output Rmail File'. + (rmail-summary-output-to-rmail-file): New arg 'file-name'. If it + non-nil, call rmail-output-to-rmail-file. + +1994-09-18 Richard Stallman + + * tex-mode.el (tex-start-shell): Inherit comint-mode-map, don't copy. + + * shell.el (shell-mode-map): Inherit comint-mode-map, + and copy only the completion menu. + + * telnet.el (telnet-mode-map): Inherit comint-mode-map, don't copy. + + * vc-hooks.el (vc-file-not-found-hook): Use save-excursion. + +1994-09-18 Kenneth Manheimer (klm@coil.nist.gov) + + * icomplete.el: Major rewrite to behave more like a minor mode. + Doc fixes. + (icomplete-mode): New function and var. + (icomplete-minibuffer-setup-hook): New hook. + (icomplete-inhibit): Defunct. Using icomplete-pre-command-hook, + icomplete-post-command-hook as real hook functions. + (icomplete-simple-completing-p): Subsumes + icomplete-window-minibuffer-p plus other stuff, determines whether + simple completion is active. + (icomplete-window-minibuffer-p): Defunct, see above. + (icomplete-minibuffer-setup): Use icomplete-simple-completing-p, + copy-sequence hooks before adding to them, run hooks properly. + (icomplete-tidy): Changed from misnamed icomplete-pre-command-hook; + use icomplete-simple-completing-p. + (icomplete-exhibit): Changed from misnamed icomplete-post-command-hook; + use icomplete-simple-completing-p. + (icomplete-completions): Changed from old, misnamed icomplete-exhibit; + combined with old misnamed icomplete-prompt. + +1994-09-18 Michael Kifer + + * ediff.el (ediff-submit-report, ediff-revision) + (ediff-find-file-name-handler, vc-ediff-internal, rcs-ediff-internal): + New functions. + (ediff-version-control-package): New variable. + (vc-ediff, rcs-ediff): Functions deleted. + + * ediff.el (ediff-submit-report): New function. + + * ediff.el (ediff-toggle-read-only, ediff-patch-file): Check out + version controlled files before their buffers are modified. + (ediff-local-checkout-flag, ediff-toggle-read-only-function): + New variables. + + * ediff.el (ediff-find-file, ediff-patch-file): Were getting + confused by symbolic links. Fixed. + +1994-09-18 Lawrence R. Dodd + + * rmail.el (rmail-forward): Insert separator before and after message. + +1994-09-18 Francesco Potorti` + + * vc-hooks.el (vc-status): Renamed from vc-rcs-status. Handle SCCS. + (vc-display-status): Renamed from vc-rcs-status. + (vc-mode-line): Call vc-status for SCCS files too. + +1994-09-18 Richard Stallman + + * telnet.el (telnet): Use name *telnet-HOST*, not *HOST-telnet*. + + * lmenu.el (make-lucid-menu-keymap-disable): New variable. + (make-lucid-menu-keymap): Use that when disabling item unconditionally. + +1994-09-17 Richard Stallman + + * help.el (describe-variable): Report whether var is local in this buf. + + * terminal.el (terminal-map): Define switch-frame. + +1994-09-16 Richard Stallman + + * facemenu.el (facemenu-update): Reverse the menu order again. + + * compile.el (compile-internal): Set EMACS=t in process-environment. + + * ispell.el (ispell-highlight-spelling-error): Test window-system. + +1994-09-16 Karl Heuer + + * emacsbug.el: (report-emacs-bug): Insert configuration options. + + * ispell.el (ispell-menu-map): Order menu items by size: + buffer > region > word. + * ispell4.el (ispell-menu-map): Likewise. + + * register.el (insert-register): Add `*' interactive spec. + + * menu-bar.el (complex-buffers-menu-p): Delete; obsolete variable. + + * info.el (Info-edit): Move the customary mode-initialization + calls out of here. + (Info-edit-mode): Put them here. Also enable undo, and call + Info-edit-mode-hook. + + * time.el: (display-time-24hr-format): Doc fix. + (display-time-filter): Reenable code that got deleted during a + mispatch. + + * sendmail.el (mail-alias-modtime): New variable. + (synch-mail-aliases): New function. + (mail-setup, sendmail-send-it): Synchronize cached list with file. + * mailalias.el: Require sendmail. Delete redundant defvar. + (expand-mail-aliases, define-mail-alias): Synchronize cached list + with file. + + * compile.el (compilation-sentinel): Include exit status in modeline. + +1994-09-16 Richard Stallman + + * dired.el (dired-buffers-for-dir): Delete debugging code. + (dired-in-this-tree): Likewise. + +1994-09-16 Michael Ernst + + * dired.el, dired-aux.el, dired-x.el: Make directories in + dired-buffers and dired-subdir-alist be expanded; adjust calls + accordingly. + * dired-aux.el (dired-fun-in-all-buffers): Expand dir at start. + (dired-rename-subdir, dired-rename-subdir-1, dired-kill-tree): Likewise. + * dired-x.el (dired-clean-up-after-deletion): Expand fn. + (dired-find-buffer-nocreate): Expand dir at beginning. + * dired.el (dired-buffers-for-dir): Assume dirs are preexpanded. + (dired-in-this-tree): Likewise. + (dired-advertise, dired-unadvertise): Expand default-directory. + +1994-09-16 Richard Stallman + + * window.el (shrink-window-if-larger-than-buffer): + Do nothing in minibuffer-only frame. + + * menu-bar.el (menu-bar-file-menu): Rename "Kill Buffer" menu item. + +1994-09-15 Richard Stallman + + * term/x-win.el (system-key-alist): Add Sun definition for mute-acute. + + * autoinsert.el (auto-insert-alist): Add entries for C++. + (insert-auto-insert-files): Do case-sensitive match except on vms. + +1994-09-15 Karl Heuer + + * simple.el (kill-new): Call menu-bar-update-yank-menu if that + function is defined. + New optional argument means replace most recent kill. + (kill-append): Use that new interface. + * mouse.el (mouse-save-then-kill, mouse-secondary-save-then-kill): + Use the kill-new interface; don't manipulate kill-ring directly. + * menu-bar.el (yank-menu): New variable; kill-ring in menu format. + (menu-bar-update-yank-menu, menu-bar-select-yank): New function. + +1994-09-15 Jay K. Adams (jka@ece.cmu.edu) + + * jka-compr.el (jka-compr-compression-info-list): Expand regular + expressions to include backup files with version numbers. + + * jka-compr.el (jka-compr-insert-file-contents): Run the + functions in after-insert-file-functions after the + buffer-file-name has been set, not before. + + * jka-compr.el (jka-compr-insert-file-contents): Properly + handle the 'replace' argument for compressed files. + +1994-09-15 Richard Stallman + + * term/x-win.el: Don't call menu-bar-mode. + + * startup.el (command-line): If initial X frame has a menu bar, + mark menu-bar-mode as on. + + * telnet.el (telnet-program): New variable. + (telnet): Use telnet-program. + (rsh-program): Renamed from telnet-rsh-program. + (rsh): Use new name. + +1994-09-14 Richard Stallman + + * page.el (forward-page): If we find a match that ends where we + started searching, look for another one. + + * window.el (shrink-window-if-larger-than-buffer): + Use frame-width, not screen-width. + + * startup.el (command-line): If we can't load x-win.el, terminate. + + * facemenu.el (facemenu-update): Don't use quoted constant lists + in define-key. Reverse order of menu definitions. + + * autoload.el (generate-file-autoloads): Warn if we put a line + in loaddefs.el that is long enough to cause trouble. + + * elp.el: Add autoloads. + + * c-mode.el (c-mode-map): Add "Highlight Conditionals" menu item. + + * cpp.el (cpp-highlight-buffer): Renamed from cpp-parse-buffer. + +1994-09-14 Per Abrahamsen + + * cpp.el (cpp-edit-load): Only call `cpp-edit-reset' in cpp-edit-mode. + +1994-09-14 Richard Stallman + + * type-break.el: New file. + + * cpp.el: New file. + + * info.el (Info-mode-map): Bind M-s like s. + + * ispell.el (ispell-check-only): New variable. + (ispell-word): Handle ispell-check-only. + (ispell-minor-mode): New variable. + (ispell-minor-keymap): New map. + (ispell-minor-mode): New function. + + * facemenu.el: New file. + + * elp.el: New file. + +1994-09-14 Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de) + + * server.el (server-start): Always use pipes for communication. + +1994-09-14 Boris Goldowsky + + * simple.el (repeat-complex-command, next-history-element, + previous-matching-history-element): Override print-level when + offering command lines to edit. + +1994-09-13 Karl Heuer + + * faces.el (make-face-unbold, make-face-unitalic, make-face-bold, + make-face-italic, make-face-bold-italic): Don't try to frob font + if it's nil. + +1994-09-11 Richard Stallman + + * Version 19.27 released. + +1994-09-11 Richard Stallman + + * ispell.el: Further split the Ispell menu autoloads. + +1994-09-10 Richard Stallman + + * rmailsum.el (rmail-summary-goto-msg): Preserve the current buffer. + +1994-09-09 Richard Stallman + + * window.el (shrink-window-if-larger-than-buffer): Doc fix. + +1994-09-08 Richard Stallman + + * vc.el (vc-do-command): Temporarily add vc-path to the end of PATH. + +1994-09-08 Karl Heuer + + * bibtex.el (put-string-on-kill-ring): Delete this function. + (bibtex-current-entry-label): Call kill-new instead. + +1994-09-07 Richard Stallman + + * Version 19.26 released. + +1994-09-06 Richard Stallman + + * rmailmsc.el (set-rmail-inbox-list): Doc fix. + +1994-09-05 Karl Heuer + + * help-macro.el (make-help-screen): Doc fix. + +1994-09-05 Lawrence R. Dodd + + * dired-x.el: (dired-omit-expunge): Avoid setting buffer modified + unless it was modified before and some mark is set so `%*' won't + appear in mode-line of omitted buffers. + +1994-09-05 Richard Stallman + + * saveplace.el (save-place-find-file-hook): + Check after-find-file-from-revert-buffer. + + * cmacexp.el (c-macro-prompt-flag): Set default back to nil. + +1994-09-04 Richard Stallman + + * rmail.el (rmail-get-new-mail): Run rmail-get-new-mail-hook. + +1994-09-04 Tom Tromey (tromey@drip.colorado.edu) + + * man.el (Man-notify-when-ready): Get Man-original-frame + from the proper buffer. + +1994-09-03 Richard Stallman + + * simple.el (mark-ring): Add permanent-local prop. Doc fix. + + * shell.el (shell-command-regexp): Use a simpler faster regexp. + + * info.el (Info-mode): Text for using x, not for make-face defined. + + * mh-e.el (mh-get-new-mail): Always use mh-inc-prog, never `inc'. + +1994-09-02 Richard Stallman + + * outline.el (outline-minor-mode-prefix): Doc fix. + +1994-09-02 Espen Skoglund (espensk@tklab1.cs.uit.no) + + * pascal.el (pascal-auto-lineup): New variable. + (pascal-end-of-statement): New function. + (pascal-indent-command): Now does optional lineups of : and =. + (pascal-indent-case): Uses pascal-end-of-statement to skip the + case statements. + +1994-09-01 Espen Skoglund (espensk@tklab1.cs.uit.no) + + * pascal.el (pascal-indent-declaration): Indent correctly + when record blocks are used within parameterlists. + (pascal-declaration-beg): Strange -0 argument removed. + (pascal-type-completion): Fix typo in regexp. + (pascal-get-lineup-indent): Use match-end instead of end-of-line. + +1994-09-01 Richard Stallman + + * compile.el (grep-command): Doc fix. + + * tcl-mode.el: Call provide. + +1994-09-01 Francesco Potorti` (pot@cnuce.cnr.it) + + * cmacexp.el (c-macro-prompt-flag): set default to t. + (c-macro-expand): buffer-flush-undo is outdated. + (c-macro-expansion): make exit-status a local variable. + +1994-09-01 Richard Stallman + + * completion.el (completion-before-command): Don't call get + on a non-symbol. + +1994-08-30 Richard Stallman + + * window.el (shrink-window-if-larger-than-buffer): + Don't make the window shorter than window-min-height. + + * calendar.el (exit-calendar): Don't restore window config. + (calendar): Don't save one. + + * isearch.el (isearch-edit-string): Use isearch-text-char-description. + + * ispell.el (ispell-dictionary-alist-1): + For English, remove hyphen from the OTHERCHARS. + + * isearch.el (isearch-edit-string): In the isearch-recursive-edit case, + don't end the recursive edit and don't start another one. + (isearch-done): New arg EDIT. + (isearch-mode): Return t if search succeeded. + +1994-08-29 Tom Tromey (tromey@creche.colorado.edu) + + * replace.el (perform-replace): Restore match data before highlighting. + +1994-08-29 Richard Stallman + + * help-macro.el (make-help-screen): Don't call window-frame + in a non-multi-frame Emacs. + +1994-08-29 Lennart Staflin + + * diary-ins.el: Require diary-lib, not diary. + * diary-lib.el: Provide diary-lib not diary. + +1994-08-28 Richard Stallman + + * files.el (after-find-file-from-revert-buffer): Add defvar. + + * gud.el (dbx): Use newline, not semicolon, between file and stop cmds. + +1994-08-27 Richard Stallman + + * outline.el (outline-mode-prefix-map): New variable. + Define all the C-c commands here. + (outline-mode-menu-bar-map): New variable, holds local menu-bar keymap. + (outline-mode-map): Bind C-c and menu-bar to those maps. + (outline-minor-mode-map): Likewise use those submaps for the prefixes. + + * indent.el (indent-rigidly): Insert new indent, then delete old. + + * comint.el (comint-arguments): Treat \n and \t like space. + +1994-08-26 Richard Stallman + + * simple.el (set-mark): When POS is nil, always clear mark-active. + + * rmailsum.el (rmail-summary-output-menu): New command. + (rmail-summary-mode-map): Add Output and Input with menu of files. + +1994-08-25 Richard Stallman + + * vc.el (vc-backend-checkout): Don't use -G for SCCS. + + * rot13.el (toggle-rot13-mode): New function. + + * rmailsum.el (rmail-summary-rmail-update): + Check whether rmail-buffer is dead. + +1994-08-24 Roland McGrath + + * etags.el (tags-table-extend-computed-list): In loop processing + list of included tables to incorporate it, advance TABLES to its + cdr at end of loop. + +1994-08-24 Richard Stallman + + * files.el (find-file-noselect): Improve "file changed" message. + + * comint.el (comint-arguments): Rewrite for speed. + Don't keep parsing once we have enough args. + + * ispell.el (ispell-buffer-local-words): Don't treat doublequote + specially when splitting the line into words. + + * mouse-sel.el (mouse-extend): In Transient Mark mode, use the region + whenever it is active. + +1994-08-23 Karl Heuer + + * simple.el (shell-command-on-region): Don't delete current buffer. + +1994-08-23 Richard Stallman + + * simple.el (backward-delete-char-untabify): Doc fix. + + * lpr.el (lpr-headers-switches): Don't use -p on dgux, irix. + + * edebug.el (edebug-read-and-maybe-wrap-form): Increment + max-specpdl-size by 2000. + + * jka-compr.el (jka-compr-insert-file-contents): Run the + after-insert-file-functions. + + * rmail.el (rmail-ignored-headers): Split string constant into lines. + +1994-08-21 Richard Stallman + + * term/news.el (news-fkey-prefix): Use kp-decimal, not kp-period. + + * rnews.el (news-select-message): Do most of the work + even for nonexistent article. (Code copied from 18.59). + +1994-08-19 Richard Stallman + + * rmail.el (rmail-retry-failure, mail-unsent-separator): Doc fix. + + * rnews.el (news-mode): Don't set mode-name to a list. + Use mode-line-process instead. + + * rot13.el (rot13-other-window): Doc fix. + + * lpr.el (lpr-command, lpr-headers-switches): Undo previous change. + +1994-08-18 Karl Heuer + + * window.el (split-window-horizontally): If size is negative, + measure from the right. + +1994-08-17 Richard Stallman + + * info.el (Info-mode): Doc fix. + + * lpr.el (lpr-command, lpr-headers-switches): Treat Solaris like BSD. + + * paren.el (show-paren-command-hook): Set the face of an overlay + each time we move it somewhere. + + * files.el (after-find-file): + New arg after-find-file-from-revert-buffer. + (revert-buffer): Pass t for that. + + * simple.el (choose-completion-string): Use plain exit-minibuffer, + not minibuffer-complete-and-exit. And do so only if the minibuffer + was doing completion. + + * tex-mode.el (tex-mode): Allow for documentclass options + when checking for SliTeX. + +1994-08-17 Lawrence R. Dodd + + * vc.el (vc-admin): Pass nil instead of + vc-checkout-writable-buffer-hook to vc-start-entry. + +1994-08-16 Richard Stallman + + * perl-mode.el (perl-indent-command): Fix backwards conditional. + +1994-08-14 Richard Stallman + + * rmailsum.el (rmail-summary-scroll-msg-up): Put rmail buffer + on the screen if necessary--but don't scroll in that case. + + * rmail.el (rmail-resend): Preserve point around expand-mail-aliases. + + * easymenu.el (easy-menu-define): Doc fix. + +1994-08-13 Richard Stallman + + * cmacexp.el (c-macro-expansion): If the CPP output is empty, just + show error messages. + + * mouse.el (mouse-set-mark): Select the window before saving point. + + * iso-cvt.el (iso-tex2iso-trans-tab): Put the sequences with braces + before corresponding ones without. Escape ? in patterns. + (iso-translate-conventions): Don't widen. + (iso-german-tex-p): Preserve narrowing. + + * rmail.el (rmail-maybe-display-summary): If summary is in some frame, + just use that. + +1994-08-12 Richard Stallman + + * rmail.el (rmail-retry-failure): Narrow to just the old header + for calling mail-fetch-field. + +1994-08-11 Richard Stallman + + * compile.el (compilation-set-window-height): Add save-excursion. + + * rmail.el (rmail-maybe-display-summary): Don't set summary window + height if its frame isn't split. + + * subr.el (one-window-p): Doc fix. + + * frame.el (frame-notice-user-settings): If we change the frame's font, + call frame-update-faces. + +1994-08-10 Richard Stallman + + * paren.el (show-paren-command-hook): Cope if matching-paren gives nil. + +1994-08-10 Roland McGrath + + * etags.el (tags-table-including): Inside loop: if CORE-ONLY skip + all consecutive tables not in core; else extend computed list. + +1994-08-10 Richard Stallman + + * gnus.el (gnus-summary-mode-map): Delete unusable `Sort Summary' item. + +1994-08-10 Erik Naggum + + * rmail.el (rmail-forward): Anchor `mail-header-separator' on both + sides to match whole line, not just initial substring. + +1994-08-10 Richard Stallman + + * help.el (view-lossage): Handle buffers and frames in recent-keys. + +1994-08-10 Michael Kifer (Michael Kifer ) + + * ediff.el (ediff-find-file, ediff-patch-file): Handle symlinks. + + * ediff.el (ediff-save-buffer): Added option for saving diff output. + + * ediff.el (ediff-fine-diff-buffer, ediff-ignore-similar-regions): + New variables. + (ediff-no-fine-diffs): Macro added. + (ediff-next-difference, ediff-previous-difference) + (ediff-make-fine-diffs): Enabled a new feature that allows one to + skip over the difference regions where the only differences are + the white space and newlines. + (ediff-toggle-autorefine): Fixed a bug that caused error when the + current difference is <= 0 or > ediff-number-of-differences. + +1994-08-09 Richard Stallman + + * menu-bar.el (menu-bar-file-menu): Compare Files renamed to Compare. + (menu-bar-ediff-menu): Add one element for compare-windows. + + * appt.el: Require calendar. + +1994-08-09 Michael D. Ernst + + * rmailedit.el (rmail-abort-edit): Call `rmail-highlight-headers'. + +1994-08-09 Richard Stallman + + * mailalias.el (define-mail-alias): Avoid error if DEFINITION is "". + + * appt.el (appt-check): Update on first wakeup after midnight + even if that's not precisely 12:01. + +1994-08-08 Richard Stallman + + * mouse.el (mouse-drag-mode-line): New function (from mldrag.el, + but changed a little). Put it on mode-line down-mouse-1. + (mouse-select-window): Bind to mode-line drag-mouse-1. + + * info.el (Info-last-menu-item): Fix gross logic errors. + (Info-last-preorder): After going thru menu item, go to end. + (Info-scroll-up): Set window-start if it's out of range. + Once menu start is on or above screen, start using menu items. + (Info-scroll-down): Set window-start if it's out of range. + If there's a menu item, always use menu. + + * sendmail.el (mail-alias-file): Add autoload cookie. + + * mouse.el (x-fixed-font-alist): Add clean 5x8 and clean 6x8. + + * compile.el (compilation-set-window-height): New function, + broken out from compile-internal. + Don't change window height if it is the frame root window. + (compile-internal): Call it. + (compilation-goto-locus): Call it. + Use any visible frame already showing the compilation buffer. + + * gnus.el (gnus-start-news-server): Fix the call to `error'. + +1994-08-07 Richard Stallman + + * info.el (Info-additional-directory-list): New variable. + (Info-find-node): Use it. + + * faces.el (copy-face): Ignore errors in set-face-font. + + * mouse.el (mouse-choose-completion): Pass completion-base-size value + to choose-completion-string. + + * simple.el (completion-base-size): New variable. + (completion-list-mode): Make it local. + (choose-completion): Pass its value to choose-completion-string. + (choose-completion-string): New arg base-size. + Use that when deciding how much to delete. + + * complete.el (PC-do-completion): Set completion-base-size. + + * cmacexp.el: Doc fixes. + (c-macro-expansion): Capture and display CPP error messages. + + * tex-mode.el (tex-mode): Accept documentclass when checking Slitex. + +1994-08-06 Richard Stallman + + * gnus.el: Require timezone when loading this file. + Move the provide call to the end. + + * c-mode.el (indent-c-exp): Preserve point when handling comments. + + * byte-opt.el (byte-after-unbind-ops): Fix paren error wrt doc string. + + * font-lock.el (font-lock-hack-keywords): Delete debugging code. + +1994-08-05 Erik Naggum + + * simple.el (choose-completion): Bury or iconify the completion list + using code copied from mouse-choose-completion. + +1994-08-05 Richard Stallman + + * tex-mode.el (tex-mode): Check for documentclass like documentstyle. + + * info.el (Info-directory-list): Doc fix. + +1994-08-05 Erik Naggum + + * files.el (save-buffer): Unconditionally make a backup with 2 or + 3 C-u's even if make-backup-files is nil. + +1994-08-05 Richard Stallman + + * mouse.el (x-fixed-font-alist): Regularize how fonts are specified. + + * time.el (display-time-filter): pm starts at 12, not 13. + +1994-08-05 Hans Chalupsky (hans@hydra.cs.Buffalo.EDU) + + * advice.el (ad-subr-arglist): Adapted to new DOC file format. + +1994-08-05 Richard Stallman + + * etags.el (select-tags-table): Doc fix. + + * font-lock.el (font-lock-syntax-table): New syntax table. + (font-lock-hack-keywords): Use it temporarily here. + (font-lock-set-defaults): Set up special syntax table for C and C++. + +1994-08-04 Richard Stallman + + * isearch.el (isearch-mode-map): Delete mouse-2, down-mouse-2 bindings. + + * rmail.el (rmail-select-summary): Preserve rmail buffer's value of + rmail-total-messages even while summary buffer is current. + + * gnus.el: Doc fixes. + + * frame.el (frame-delete-all): Copy the whole alist first. + + * hilit19.el (hilit-find-file-hook): Preserve buffer modified state. + + * simple.el (end-of-buffer-other-window): + Go to the end, not to the beginning. + + * appt.el (appt-make-list): Do nothing unless range being processed + for diary entries includes today's date. + +1994-08-03 Hans Chalupsky (hans@hydra.cs.Buffalo.EDU) + + * bytecomp.el (byte-compile-protect-from-advice): Macro deleted. + (byte-compile-from-buffer, byte-compile-top-level): Don't use it. + + * advice.el: New handling of automatic advice activation that + exploits modified built-in versions of `fset' and `defalias' which + take care of this functionality directly: + (ad-start-advice-on-load, ad-activate-on-definition) + (ad-definition-hooks, ad-enable-definition-hooks, ad-defined-function) + (ad-advised-definers, ad-advised-byte-compilers, byte-constant) + (byte-constant-limit, byte-constant2, byte-fset) + (ad-byte-code-fset-regexp): Variables deleted. + (ad-activate-defined-function, ad-find-fset-in-byte-code) + (ad-scan-byte-code-for-fsets, ad-advised-byte-code) + (ad-recover-byte-code, ad-enable-definition-hooks) + (ad-disable-definition-hooks): Functions deleted. + (defun, defmacro, fset, defalias, define-function) + (byte-compile-from-buffer, byte-compile-top-level): Removed `defadvice' + for these functions. + (ad-save-real-definitions): Removed saving of `byte-code'. + (ad-activate-off): New dummy function. + (ad-activate-on): New name for `ad-activate'. All calls changed. + (ad-with-auto-activation-disabled): New macro prevents automatic + advice activation. + (ad-safe-fset): New function, used instead of `ad-real-fset'. + (ad-compile-function): Disable automatic advice activation while + compiling, because `byte-compile' uses `fset'. + (ad-activate-on): Renamed from `ad-activate'. Avoid recursive calls. + (ad-activate-on-top-level): New variable. + (ad-start-advice, ad-stop-advice, ad-recover-normality): Modified to + achieve de/activation of automatic advice activation by setting the + definition of `ad-activate' to `ad-activate-on' or `ad-activate-off'. + (ad-start-advice): Is now called unconditionally when Advice is loaded. + + Made compilation behavior of advised definitions customizable, since + loading the byte-compiler takes some time and is not always worth the + cost, e.g., if one only wants to make a few simple modifications: + (ad-default-compilation-action): New variable which specifies whether + to compile an advised definition in case the COMPILE argument to + `ad-activate-on' or one of its friends was supplied as nil. + (ad-preactivate-advice): Supply negative COMPILE argument to prevent + compilation. + (ad-should-compile): New function. + (ad-activate-advised-definition): Use `ad-should-compile' to determine + whether an advised definition should get compiled. + (ad-activate-on, ad-update, ad-activate-regexp, ad-update-regexp) + (ad-activate-all): Doc fixes. + (ad-update): Leave handling of COMPILE up to `ad-activate-on'. + + Extracted construction of freeze-advices from `defadvice': + (ad-make-freeze-definition): New function. + (defadvice): Use `ad-make-freeze-definition' to construct frozen defs. + +1994-08-03 Richard Stallman + + * gnus.el (gnus-kill-files-directory): New variable. + (gnus-Newsgroup-kill-file, gnus-newsgroup-kill-file): Use it. + + * dired.el (dired-mode): Put expanded name in list-buffers-directory. + + * icomplete.el (icomplete-prime-minibuffer): Copy the hook lists + after making them local. + + * gnus.el (gnus): Require timezone. Delete timezone autoloads. + + * iso-cvt.el (iso-fix-iso2tex, iso-fix-tex2iso): Check plain-text-mode. + +1994-08-02 Karl Heuer + + * sh-script.el (auto-mode-alist): Fix typos in comments. + +1994-08-02 Richard Stallman + + * mouse.el: Capitalize some error messages. + (mouse-set-point): Nice error if button release is in scrollbar. + +1994-08-02 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * compile.el: Set up a "Compile" menubar item. + (recompile): New function. + (previous-error): New function. + (first-error): New function. + +1994-08-02 Richard Stallman + + * frame.el (frame-delete-all): New function. + (frame-notice-user-settings): Call it--with or without separate + minibuffer frame. + +1994-08-01 Richard Stallman + + * rmailsum.el (rmail-summary-mode-map): Fix the Get New Mail entry. + Fix typo. Add `...' where appropriate. + + * rmail.el (rmail-mode-map): Fix the Get New Mail entry. + Add `...' where appropriate. + + * ediff.el (ediff-version): Function, variable deleted. + (ediff-date): Var deleted. + (ediff-status-info): Don't call ediff-version. + + * dired.el (dired-insert-directory): Call expand-file-name here + because the dir name may have been abbreviated before. + +1994-07-31 Morten Welinder (terra@diku.dk) + + * ls-lisp.el (insert-directory): Gracefully handle the case + where a file disappears between it is listed in the directory + and the attributes are requested. + +1994-07-31 Richard Stallman + + * compile.el (compilation-error-regexp-alist): Fix previous change. + Add alternatives for GNU error messages with program name in them. + + * time.el (display-time-string-forms): New variable. + (display-time-filter): Simplify to use it. + + * dired.el (dired-noselect): Call abbreviate-file-name here. + (dired-internal-noselect): Not here. + + * comint.el (comint-password-prompt-regexp): Handle PGP prompt. + + * gnus.el (gnus-sortable-date): Use timezone-make-time-string. + + * rmail.el (rmail-retry-failure): Handle a weird case with + a couple of lines before the old message header. + + * compile.el (compilation-error-regexp-alist): Make separate + regexp for Borland C++; the combined one matched too much. + + * ange-ftp.el (ange-ftp-parse-netrc-group): Don't move back to line + beginning. Skip the machine name whatever it may be. + (ange-ftp-parse-netrc): Skip initial whitespace. + + * sendmail.el (sendmail-send-it): Handle resent-to specially. + + * mouse-sel.el (mouse-extend): Pass WINDOW arg to mouse-scroll-subr. + + * rmailsum.el (rmail-summary-mode-map): Add Get New Mail item. + Move new Re-send menu item to right place. + + * rmail.el (rmail-mode-map): Move new Re-send menu item to right place. + +1994-07-30 Richard Stallman + + * hilit19.el: Specify patterns for objc-mode. + +1994-07-30 Martin Boyer + + * menu-bar.el (menu-bar-enable-clipboard): Moved here the + clipboard function key bindings. + +1994-07-30 Michael D. Ernst + + * ispell.el (ispell-message-text-end): Improve context diff regexp. + +1994-07-30 Richard Stallman + + * rmailsum.el (rmail-new-summary): If just one window, + put the summary in the upper window and Rmail buffer below. + +1994-07-30 Ake Stenhoff (etxaksf@aom.ericsson.se) + + * imenu.el (imenu, imenu--flatten-index-alist): Add marker support. + (imenu--cleanup): New function. + (imenu-example--name-and-position): Now uses markers. + + * imenu.el (imenu-add-to-menubar): New function to add an entry + to the menubar for the buffer's current local keymap. + +1994-07-29 Richard Stallman + + * rmail.el (rmail-highlight-face): New variable. + (rmail-highlight-headers): Use it if non-nil. + + * gnus.el (gnus-group-suspend): Be sure to bury the right buffer. + + * hideif.el (hide-ifdefs): Doc fix. + +1994-07-29 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * rmail.el (rmail-display-summary): New variable. + (rmail): Call rmail-summary at the end if rmail-display-summary is + set. + + * rmail.el (rmail-mode-map): Add Re-send menu item. + * rmailsum.el (rmail-summary-mode-map): Add Re-send menu item. + +1994-07-28 Andreas Schwab + + * simple.el (choose-completion): Check for + next-single-property-change returning nil. + * mouse.el (mouse-choose-completion): Dito. + +1994-07-28 Richard Stallman + + * files.el (file-truename): Temporarily get rid of the + ange-ftp completion handler. + + * info.el (Info-find-node): Use a loop instead of mapcar and catch. + + * buff-menu.el (buffer-menu): Undo previous change. + Instead, save the point value that list-buffers set up + and go back there after switching windows. + +1994-07-27 Richard Stallman + + * faces.el (face-initialize): Use underlining for region face + if there's no gray. + (face-try-color-list): Support `underline' in color list. + + * fill.el (justify-current-line): Delete space at end of line. + + * files.el (set-auto-mode): Shorten scope of case-fold-search binding. + + * files.el (cd-absolute): Call file-name-as-directory first thing. + + * compile.el (compilation-error-regexp-alist): Fix bug in Borland + C++ change. Make first regexp reject cases that give column + numbers. Add new regexp for GNU format with column numbers. + +1994-07-26 Richard Stallman + + * mail-extr.el (what-domain): Doc fix. + + * files.el (basic-save-buffer-1): Ignore file-precious-flag + if the file's dir is not writable. + + * forms.el (forms--update): Undo change made mistakenly. + + * vc.el (vc-next-action): Even in 1-file case, get its name from FILES. + (vc-finish-logentry): Don't do vc-buffer-sync on the parent buffer + when hat parent buffer is a dired buffer. + + * menu-bar.el (menu-bar-update-buffers): + Use (current-global-map), not global-map. + + * compile.el (compilation-next-error-locus): New arg SILENT. + + * dissociate.el (dissociated-press): Error at start if buffer is empty. + + * ediff.el: Made menu bar's autoloaded stuff conditional on + purify-flag, to avoid error message when loading ediff in a frame + that has no menu bar. + +1994-07-26 Michael Kifer (kifer@sbkifer) + + * ediff.el (ediff-setup): Improved mode-line-buffer-identification. + Now accommodates buffer identifications generated by + mode-line.el and uniquify.el. + + * ediff.el (ediff-current-diff-face-A/B, + ediff-fine-diff-face-A/B,ediff-odd/even-diff-face-A/B): + Variables changed to contain face names + instead of face internal representation. + +1994-07-25 Johan Vromans (jv@squirrel.NL.net) + + * forms.el (forms-read-file-filter): new hook function to + preprocess file contents before being passed to forms mode. + (forms-write-file-filter): new hook function to preprocess file + contents before it is being saved to disk. Can be used to undo the + effects of `forms-read-file-filter'. + (forms-mode): Supply a default format if no `forms-format-list' was + specified. + Preprocess file contents using `forms-read-file-filter' and attach + `forms-write-file-filter' to the `local-write-file-hooks' of the file + buffer. + Present a friendly message if the visited file is empty or new. + (forms--intuit-from-file): New subroutine to get the number of fields + from the data file; constructs a default format list. + (forms-save-buffer): Forms mode wrapper for `save-buffer'. + (forms--change-commands, forms--exit): Use it. + (forms--update): Check for the presence of the field separator in any + of the fields. Refuse update if found. + (forms-delete-record): Allow the last record of the file to be + deleted, even if not terminated by a newline. + (forms--local-write-file-function): Remove. Didn't do any good. + Replaced by `forms-save-buffer'. + + * forms-d2.el: Use `forms-new-record-filter' variable instead of + defining the function. + +1994-07-25 Richard Stallman + + * startup.el (command-line-args-left): Add defvar. + +1994-07-24 Andreas Schwab + + * comint.el (comint-dynamic-list-completions): Listify the key + sequence to be put back. + +1994-07-24 Richard Stallman + + * lisp-mode.el (emacs-lisp-mode-syntax-table): Give RET the + same syntax as newline. + * cplus-md.el (c++-mode-syntax-table): Likewise. + + * vc.el (vc-finish-logentry): Use vc-parent-buffer to find the buffer + to offer to save. + + * gud.el (dbx): Use system-configuration, not system-type. + +1994-07-24 Erik Naggum + + * dired.el (dired-internal-noselect): a zero modtime means + directory is unchanged. + +1994-07-23 David Robinson (drtr@mail.ast.cam.ac.uk) + + * term/x-win.el (system-key-alist): Add Sun-specific X11R6 keysyms. + + * menu-bar.el: Add to global key map for cut, paste & copy keys. + +1994-07-24 Richard Stallman + + * mail-extr.el (mail-extr-all-top-level-domains): Update a few + long names. + + * menu-bar.el (menu-bar-update-buffers): If Buffers item is gone, + don't bring it back. + +1994-07-23 Richard Stallman + + * ispell4.el (ispell-tex-buffer-p): Write names in lower case. + Add slitex-mode. + + * simple.el (line-move, next-line): Check last line moved over + has a newline, in a way that intangible text does not confuse. + +1994-07-23 enami tsugutomo + + * lisp/add-log.el (add-log-current-defun): Skip doc string + correctly even if it ends with line that starts space. + +1994-07-22 Ed Reingold + + * cal-menu.el (calendar-mode-map): Change reference from renamed + calendar-current-month to calendar-goto-today. + +1994-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.el (dired-between-files): Ignore dired-subdir-regexp + if we can move to the file name on the line. + + * dired.el (dired-internal-noselect): Don't revert, just suggest `g'. + +1994-07-20 Ethan Bradford (ethanb@ptolemy.astro.washington.edu) + + * ispell.el (ispell-command-loop, ispell-region, ispell-word): + Only pop up the choices window if an error is found in the region. + Don't change the size of the choices window except as needed. + Don't (sit-for 0) at the start of ispell-region (i.e. don't force + redisplay at the start of the region). + (ispell-overlay-window): Small documentation fix. + +1994-07-20 Roland McGrath + + * etags.el (visit-tags-table-buffer): Bind a variable + local-tags-file-name with the value of tags-file-name before + calling tags-verify-table, which switches buffers; change all + references to use local-tags-file-name. Save current buffer + before that call and on error, switch back before killing local + value of tags-file-name. + +1994-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * imenu.el (imenu-choose-buffer-index): Use last-nonmenu-event + to decide on mouse vs non-mouse. + (imenu-progress-message): New arg prevpos. All callers changed. + Don't print messages too frequently. + + * byte-opt.el (byte-decompile-bytecode-1): Don't add pc values + if make-spliceable is non-nil. (Arg renamed from make-splicable.) + + * disass.el (disassemble-1): Display the pc values. + (disassemble-column-1-indent): Increase to 8. + + * byte-opt.el (byte-decompile-bytecode-1): + Put a pc value before each insn in the list we return. + +1994-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ediff.el (Emacs 19 menu setup): Move back to top level + and do it only if purify-flag. + + * vc.el: At compile time, require dired. + (vc-finish-logentry): Use the proper files buffer for vc-buffer-sync. + + * compile.el (compilation-error-regexp-alist): Allow `(' after + linenum in "FILE", line LINENUM. Add backslash so C-M-a works. + +1994-07-19 Michael Kifer (kifer@cs.sunysb.edu) + + * ediff.el (ediff-find-file, ediff-files-internal, ediff-patch-file): + Modified to work with remote and compressed files. + + * ediff.el (ediff-read-file-name, ediff-buffers): Better defaults. + (ediff-read-file-name) Handle OS/2. + + * ediff.el (ediff-forward-word-function) New function. + (ediff-wordify-function): Variable deleted. + (ediff-toggle-regexp-match, ediff-hide-regexp-matches): New functions. + (ediff-focus-on-regexp-matches): New function. + (ediff-status-info): New function. + (ediff-file-names, ediff-line-numbers): Functions deleted. + +1994-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mh-e.el (mh-folder-mode): Use local-write-file-hooks. + +1994-07-18 Barry A. Warsaw (warsaw@anthem.nlm.nih.gov) + + * reporter.el (reporter-dump-state, reporter-submit-bug-report): + Don't print package name if pkgname is nil. Don't dump state if + varlist is nil. + + * reporter.el (reporter-bug-hook, reporter-submit-bug-report) + (reporter-calculate-separator, reporter-initial-text): + New or modified functions and variables attempting to prohibit + submission of empty bug reporters. + + * reporter.el: (reporter-prompt-for-summary-p): Default value now nil. + + * reporter.el (reporter-dump-state): Make sure there's a final + newline after the setq sexp. + Pass mail buffer as second arg to print fcn. + Use symbol-value to get varsym's value. + + * reporter.el (reporter-dump-variable): Handle long sexp's even + after entering newline. Done by filling current line. + Much better pretty printing of long lists!! + Handle void variables. + + * reporter.el (reporter-version): New variable. + + * reporter.el (reporter-submit-bug-report-internal): Leave point + after the salutation. + + * reporter.el (reporter-submit-bug-report): Prompt for a subject. + +1994-07-18 Karl Fogel (kfogel@phylo.life.uiuc.edu) + + * mail-hist.el: Make sure that headers are case-insensitive. + Upped version to 1.3. + +1994-07-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * forms.el (forms-delete-record): Handle deletion of last line + when it has no terminating newline. + +1994-07-16 Richard Stallman + + * mouse.el ([vertical-line C-mouse-2]): Bind it as in a scroll bar. + + * comint.el (comint-mode-map): Move comint-bol to C-c C-a. + + * calendar.el (calendar-goto-today): + Renamed from calendar-current-month. + + * add-log.el (add-change-log-entry): Use <...> around mail address. + + * help.el (print-help-return-message): If help buffer is a + special display buffer, say nothing about how to switch back. + + * help-macro.el (make-help-screen): Handle case where *Help* comes + up in a separate frame. + +1994-07-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sh-script.el: "Comment out" autoload cookies. + + * mouse.el (mouse-drag-region): Delete redundant switch-frame clause. + (mouse-drag-secondary): Likewise. + + * sendmail.el (mail-mailer-swallows-blank-line): Verify sendmail.cf + exists before reading it. + +1994-07-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (rmail-output-file-alist): Mark it risky. + +1994-07-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * help-macro.el (make-help-screen): Bind overriding-local-map + just for short sections of code. + +1994-07-13 Noah Friedman (friedman@prep.ai.mit.edu) + + * rsz-mini.el: (resize-minibuffer-setup): Copy post-command-hook + when handling minibuffer windows in other frames, not just + minibuffer-exclusive frames. + Resize the minibuffer window/frame now, in case it has already + been initialized with text. + +1994-07-13 Ed Reingold (reingold@albert.gnu.ai.mit.edu) + + * diary-lib.el: Correct file name on last line of file. + +1994-07-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-movemail-program): New variable. + (rmail-insert-inbox-text): Use it. + + * files.el (insert-directory): Fix previous change. + +1994-07-12 enami tsugutomo (enami@sys.ptg.sony.co.jp) + + * vc.el (vc-finish-logentry): Use the value of + vc-log-after-operation-hook of *VC-log* buffer instead of + vc-parent-buffer. + +1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * rmail.el (rmail-mode-map): Fix previous change. + + * menu-bar.el (menu-bar-file-menu): Add insert-file menu item. + + * gnus.el: Clean up menu item string format. + Add a few menu items and separators. + (gnus-mouse-pick-group): New function, on mouse-2 in Group mode. + (gnus-mouse-pick-article): New function, on mouse-2 in Summary mode. + + * rsz-mini.el (resize-minibuffer-setup): + Copy the value of post-command-hook. + + * mouse-sel.el: Many doc fixes. + (mouse-extend): Don't use existing region if EVENT is nil. + + * mouse.el (mouse-drag-secondary): Don't start making an overlay + when the range is empty. + (mouse-secondary-save-then-kill): + The first time, make a new kill ring entry. + + * ispell4.el (ispell-word): Call ispell-dehighlight. + + * files.el (insert-directory): Fix prev change. + + * rmail.el (rmail-mode-map): Add "Get New Mail" menu item under Mail. + + * compile.el (compilation-next-error-locus): Don't call + compilation-forget-errors if compilation is still runing. + +1994-07-11 Erik Naggum (erik@naggum.no) + + * buff-menu.el (buffer-menu): Call pop-to-buffer before + list-buffers. Don't move point afterwards. + +1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * prolog.el (prolog-mode-syntax-table): Make newline end comments. + + * sendmail.el (mail-setup): Insert -- line before .signature file. + + * dired-aux.el (dired-byte-compile): Use byte-compile-dest-file + to get the output file name. + + * subr.el (ignore): Put doc string in right place. + + * indent.el (move-to-tab-stop): Delete spurious multiple definition. + +1994-07-11 Kevin Rodgers + + * mailabbrev.el (define-mail-abbrev): Don't try to parse empty aliases. + +1994-07-11 Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de) + + * backquote.el (backquote-splice-symbol): Doc typo fix. + + * edebug.el (edebug-install-read-eval-functions): Fix test for + edebug-read already installed. + + * hexl.el (hexl-maybe-dehexlify-buffer): New function. + (hexl-mode): Add it to change-major-mode-hook. + (hexl-mode-exit): Remove kludge for mode-line update. + (hexlify-buffer): Doc fix. + +1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (insert-directory): Allow list for SWITCHES. + Also split up a string containing separate options. + + * lisp.el (lisp-complete-symbol): Bind completion-fixup-function. + + * mouse.el (mouse-choose-completion): Use mouse-face properties to + find string to use. + + * simple.el (completion-setup-function): Put on mouse-face prop + even if no window-system. Call completion-fixup-function if not nil. + (completion-fixup-function): New variable. + (choose-completion): Use mouse-face properties to find string to use. + + * server.el (server-start): Try both possible socket file names + for the file to delete. + + * mouse.el (x-fixed-font-alist): Add 8x13. Don't specify 75-75 + for 7x13, 7x14. + + * diff.el (diff-latest-backup-file): Cope with backups stored + in a different directory. + +1994-07-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * etags.el (find-tag-regexp): Bind to C-M-.. + +1994-07-10 Erik Naggum (erik@naggum.no) + + * buff-menu.el (Buffer-menu-not-modified): Make + `Buffer-menu-not-modified' handle an argument like `not-modified'. + + * info.el (Info-fontify-maximum-menu-size): New variable. + (Info-fontify-node): Use that variable. + +1994-07-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (x-create-frame-with-faces): Don't downcase nil. + + * loadup.el (current-load-list): Set it to nil. + + * compile.el (compilation-window-height): Use defvar. + (compilation-leave-directory-regexp): Likewise. + (compilation-enter-directory-regexp): Likewise. + + * loadup.el: If have frames, load `faces'. + + * man.el (Man-bgproc-sentinel): Bind case-fold-search for just the + necessary parts of the function, not the call to Man-notify-when-ready. + +1994-07-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (hack-one-local-variable): Check for root using user-uid. + +1994-07-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (outline-level): Mark it risky. + + * version.el (emacs-version): Avoid unnecessary recursive call. + + * mouse.el ([vertical-scroll-bar C-mouse-2]): Split the window. + + * version.el (emacs-version): Check x-toolkit with featurep. + + * gud.el (gud-mips-p): Check for OSF system on Alpha also. + + * files.el (process-environment, exec-path, load-path,exec-directory): + Mark these as risky. + (hack-one-local-variable): Treat vars ending in -program and -command + as risky. + + * version.el (emacs-version): Indicate x toolkit usage in value. + + * files.el (switch-to-buffer-other-frame): Raise the frame. + +1994-07-06 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * gnus.el (gnus-summary-show-all-threads): Undo previous change. + (gnus-summary-show-thread, gnus-summary-hide-all-threads) + (gnus-summary-hide-thread): Likewise. + +1994-07-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buff-menu.el (Buffer-menu-revert-function): New function. + (Buffer-menu-mode): Use it, for revert-buffer-function. + (Buffer-menu-mode-map): Bind revert-buffer. + + * files.el (revert-buffer-function): Doc fix. + + * vc.el (vc-start-entry): New arg after-hook. + Set vc-log-operation-hook locally. + (vc-next-action-on-file): Not here. + (vc-admin): Pass new arg. + (vc-checkin): Pass new arg instead of setting vc-log-operation-hook. + + * files.el (auto-save-mode): If autosave is off because buffer has + shrunk, then toggling should turn it on. + + * tpu-edt.el (tpu-save-all-buffers-kill-emacs): + Use delete-old-versions, and bind it locally. + + * completion.el (save-completions-to-file): Use delete-old-versions. + + * files.el (delete-old-versions): + Var renamed from trim-versions-without-asking. + +1994-07-06 Ed Reingold (reingold@albert.gnu.ai.mit.edu) + + * diary-lib.el (fancy-diary-display): Consistently turn off selective + display in diary buffer before doing anything. + +1994-07-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (outline-next-preface): Undo previous change: + Do stop before final newline. + +1994-07-06 Morten Welinder (terra@tyr.diku.dk) + + * desktop.el (desktop-buffer-rmail): Handle the situation + where the RMAIL file is locked, mail is waiting, and the + user selects `quit' gracefully. + +1994-07-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (set-visited-file-name): Avoid crash if TRUENAME is nil. + +1994-07-05 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) + + * sendmail.el (mail): Commented out buggy call to + set-visited-file-name. (It pukes on a nil argument.) + +1994-07-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnusmail.el (gnus-mail-reply-using-mhe): Handle case of no subject. + + * faces.el (x-create-frame-with-faces): Ignore case in X resource. + (make-face-x-resource-internal): Test underline attribute as boolean. + + * files.el (file-truename): Use iteration when possible. + Avoid recalculating the same truename twice in one invocation. + Error check for infinite link loop. + + * files.el (debugger): Mark it a risky-local-variable. + + * startup.el (command-line): Check LC_ALL and LANG as well as LC_CTYPE. + (iso-8859-1-locale-regexp): Don't check for `iso'. + + * paths.el (rmail-spool-directory): Use /var/mail if it exists. + +1994-07-05 Ed Reingold (reingold@albert.gnu.ai.mit.edu) + + * calendar.el (generate-calendar-month): Make highlighted text for + mouse-2 a one character wide for single-digit dates (this undoes + the incorrect fix of May 30, 1994). + +1994-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paths.el (rmail-spool-directory): Use /var/mail for bsd386. + + * startup.el (iso-8859-1-locale-regexp): New variable. + (command-line): Use it. + +1994-07-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * add-log.el (add-change-log-entry): Apply expand-file-name to + FILE-NAME. + +1994-07-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-drag-region): Bind this-command like last-command. + (mouse-kill-ring-save): Bind this-command and last-command. + +1994-07-03 Richard Stallman (rms@gnu.ai.mit.edu) + + * startup.el (command-line): Accept iso-8859-1 like iso_8859_1. + + * sendmail.el (sendmail-send-it): Allow specifying Sender. + + * emacsbug.el (report-emacs-bug-hook): Error if user has added no text. + (report-emacs-bug): Set local report-emacs-bug-orig-text. + Add to mail-send-hook. Use mail-send-and-exit for the echo area msg. + + * frame.el (initial-frame-alist): Doc fix. + + * startup.el (command-line): Automatically use iso-syntax and + standard-display-european if LC_CTYPE asks for it. + +1994-07-03 Ethan Bradford (ethanb@ptolemy.astro.washington.edu) + + * gnuspost.el (gnus-inews-news): Allow newsgroups to be separated + by spaces or commas and spaces. + +1994-07-02 Morten Welinder (terra@diku.dk) + + * meese.el: Use add-hook, (provide 'meese). + (protect-innocence-hook): compare expanded file names for the sake + of non-unix file systems. Use expand-file-name instead of concat + to create "celibacy.1" file name. Check that the "sex.6" exists. + +1994-07-02 Richard Stallman (rms@gnu.ai.mit.edu) + + * ebuff-menu.el (electric-buffer-list): Change prompt message. + (electric-buffer-menu-mode-map): Define C-m like space. + + * sh-script.el (sh-chmod-argument): Change default. + + * vc.el (vc-update-change-log): Pass a -n option to rcs2log. + +1994-07-01 Richard Stallman (rms@gnu.ai.mit.edu) + + * mouse.el (mouse-scroll-subr): Delete some debugging code. + + * etags.el (visit-tags-table-buffer): + Move error call into scope of `file'. + + * bytecomp.el (byte-compile-defalias): Fix typo in prev change. + + * bytecomp.el (byte-compile-callargs-warn): Handle function defnition + that is not a lambda expression or byte code function. + (byte-compile-arglist-warn): Likewise. + (byte-compile-defalias): New function, used to compile defalias. + (byte-compile-defalias-warn): New function. + + * lpr.el (print-region-1): Essentially undo previous change. + + * files.el (set-visited-file-name): Handle find-file-visit-truename + early on, before we deal with lock files. + + * gnuspost.el (gnus-inews-domain-name): + Once again test gnus-your-domain. + + * shell.el (shell-mode): Don't read history from /dev/null. + + * faces.el (make-face-italic, make-face-bold): Don't bind f2 here. + (make-face-bold-internal, make-face-italic-internal): Bind f2 here. + (make-face-bold-italic-internal, make-face-italic-internal) + (make-face-bold-internal): New arg `font'. Callers changed. + + * loadhist.el (unload-feature): The autoload property does not + start with `autoload'. + + * faces.el (list-faces-display): Line up multiple lines in sample. + + * sh-script.el (sh-set-shell): Obey sh-query-for-magic in all cases. + +1994-06-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tcl-mode.el (tcl-mode): Fix regexp to avoid nested loop. + +1994-06-30 Richard Stallman (rms@gnu.ai.mit.edu) + + * hideif.el (minor-mode-map-alist): Add missing quote. + + * rmail.el (rmail-highlight-headers): Do nothing if + rmail-highlighted-headers is nil. + +1994-06-30 Noah Friedman (friedman@prep.ai.mit.edu) + + * rsz-mini.el (resize-minibuffer-window-restore): Don't do + anything if the window height is already 1. + +1994-06-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-drag-secondary): Don't treat end of buffer + specially when within the window. + +1994-06-29 Noah Friedman (friedman@prep.ai.mit.edu) + + * comint.el (comint-password-prompt-regexp): New variable. + (comint-watch-for-password-prompt): Use it. + +1994-06-29 Richard Stallman (rms@gnu.ai.mit.edu) + + * easymenu.el (easy-menu-change): New function. + +1994-06-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (tag-exact-match-p): Test for point sitting after the + explicit tag name itself. + +1994-06-28 enami tsugutomo (enami@sys.ptg.sony.co.jp) + + * simple.el (line-move): Don't use message or ding; just signal errors. + +1994-06-28 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * dired-x.el (dired-x-hands-off-my-keys): New user-defined variable. + (dired-x-bind-find-file): Use it. + (dired-x-find-file): New function to substitute find-file. + (dired-x-find-file-other-window): New function to substitute + find-file-other-window. + +1994-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.el (auto-lower-mode, auto-raise-mode): Doc fixes. + + * info.el (Info-index): Fix typo: t => \t. + +1994-06-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sh-script.el (sh-mode): Don't move point permanently. + + * info.el (Info-insert-dir): Capitalize `node' when inserting it. + (Info-search): Don't move point to beginning, after Info-read-subfile. + +1994-06-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-scroll-subr): Don't do anything special at eob. + (mouse-drag-region): Don't treat scrolling differently at eob. + (mouse-drag-secondary): Likewise. + + * comint.el (comint-send-input): Update markers before + actually sending the input. + + * dired.el (dired-readin): Record the directory's modtime. + (dired-internal-noselect): Offer to revert if dir has changed. + + * menu-bar.el (menu-bar-mode): Make this a global variable. + (menu-bar-mode): Make variable menu-bar-mode and default-frame-alist + consistent. + + * frame.el (frame-notice-user-settings): Make menu-bar-mode + and default-frame-alist consistent with each other. + + * simple.el (beginning-of-buffer-other-window) + (end-of-buffer-other-window): New functions. + * loaddefs.el: Key bindings for M-home and M-end. + + * ispell.el (ispell-message): Avoid an infinite loop. + +1994-06-24 Karl Heuer (kwzh@nutrimat.gnu.ai.mit.edu) + + * lmenu.el (popup-menu): Allow user to select nothing. + +1994-06-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * paren.el (show-paren-command-hook): Use matching-paren. + Call overlay-put once for each overlay. + Wait .1 sec to see if any input comes in. + + * gnuspost.el (gnus-inews-user-name, gnus-inews-domain-name): + Use user-mail-address unless there's a reason to do otherwise. + (gnus-inews-domain-name): Delete compatibility use of gnus-your-domain. + + * add-log.el (add-log-mailing-address): Use user-mail-address. + + * startup.el (user-mail-address): New variable. + (normal-top-level): Initialize it. + + * gnus.el (gnus-summary-show-all-threads): Enable thread use. + (gnus-summary-show-thread): Enable thread use. + (gnus-summary-hide-all-threads): Enable thread use. + (gnus-summary-hide-thread): Enable thread use. + (gnus-summary-catchup-to-here): New function. + (gnus-summary-mode-map): Add menu bar menus. + (gnus-group-mode-map): Add menu bar menus. + + * timer.el (run-at-time): If REPEAT is 0, don't repeat. + + * tar-mode.el (tar-alter-one-field): Finish previous renaming change. + + * add-log.el (find-change-log): If file name specified, just use it. + +1994-06-24 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (visit-tags-table-buffer): Don't take car of return + from tags-table-including. + +1994-06-23 Karl Heuer (kwzh@nutrimat.gnu.ai.mit.edu) + + * lmenu.el (popup-menu): Convert list to same-size vector, not + singleton vector. + +1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-read-input-ring): Use ring-insert-at-beginning. + Insert most recent string first and only as many as we need. + Don't visit the file, just read it. + + * ring.el (ring-insert-at-beginning): New function. + + * jka-compr.el (jka-compr-partial-uncompress): Handle the case where + LEN reaches to or past the end of the data. + + * soundex.el (soundex-alist): Delete the elements that mapped into nil. + + * tar-mode.el (tar-extract): Set file name by hand before calling + set-visited-file-name. + + * tar-mode.el: Various renamings; all callers changed. + (tar-header-block-tokenize): Renamed from tokenize-tar-header-block. + (tar-header-block-checksum): Renamed from checksum-tar-header-block. + (tar-header-block-check-checksum): + Renamed from check-tar-header-block-checksum. + (tar-header-block-recompute-checksum): + Renamed from recompute-tar-header-block-checksum. + (tar-header-block-summarize): + Renamed from summarize-tar-header-block. + + * paren.el (show-paren-command-hook): Set paren foreground to white. + (show-paren-command-hook): Handle close paren rather than open paren + if point is between the two. + + * info.el (Info-next-preorder-1): New function. + (Info-mouse-follow-nearest-node): Use that. + (Info-follow-nearest-node): Use that. + +1994-06-22 Ethan Bradford (ethanb@ptolemy.astro.washington.edu) + + * lpr.el (print-region-1): Don't include a space in the job name. + +1994-06-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * etags.el (tags-table-including): Don't call + tags-table-check-computed-list. After skipping a table not in + core, make sure TABLES is non-nil before using it. At end, find + the table in the user's list which includes FOUND. + +1994-06-22 Noah Friedman (friedman@prep.ai.mit.edu) + + * rsz-mini.el (resize-minibuffer-window-exactly, + resize-minibuffer-frame, resize-minibuffer-frame-exactly): Doc + fixes. + (resize-minibuffer-frame-exactly): make default t. + (resize-minibuffer-frame-original-height): New variable. + (resize-minibuffer-setup): Set it locally in the minibuffer. + (resize-minibuffer-frame): Use it instead of minibuffer-frame-alist's + height. + (resize-minibuffer-setup): Append resize-minibuffer-window and + resize-minibuffer-frame to the end of post-command-hook, don't + insert on the front. + (resize-minibuffer-window-restore): New function. + (resize-minibuffer-setup): Put it on minibuffer-exit-hook. + +1994-06-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (make-face): Return the face name, not the vector. + + * menu-bar.el: Rearrange the edit and file menus, and add separators. + + * indent.el (move-to-tab-stop): Delete unnecessary spaces + before the old point if a tab followed or follows the old point. + + * backquote.el (backquote-process): Fix criterion for using FIRSTLIST. + + * loaddefs.el (global-map): Bind M-prior. + * simple.el (scroll-other-window-down): New command. + + * env.el (setenv): Rewrite. Provide a way to unset interactively. + +1994-06-21 Per Abrahamsen (abraham@eupectic.research.att.com) + + * double.el (double-prefix-only): New variable. + (double-translate-key): Use it. + +1994-06-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * faces.el (face-equal): Do check the underline attribute. + + * files.el (delete-auto-save-files): Doc fix. + +1994-06-20 Morten Welinder (terra@diku.dk) + + * info.el (Info-directory-list): For msdos, don't check for + exec-directory != ../lib-src (since we use wrapped binaries). + + * s-region.el: Don't bind keys C-insert, C-delete, and + S-insert if they are already bound. + +1994-06-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.el (move-to-tab-stop): Get rid of spaces before tabs + that were made by an immediately previous use of this command. + + * gnus.el (gnus-summary-next-article): Fix previous change. + + * help.el (finder-by-keyword): Add doc string and t for interactive. + + * cc-mode.el: Large changes--version 3.349. + + * jka-compr.el: Use plists to record handlers. + (jka-compr-insert-file-contents): Don't leave buffer locked. + Call the standard function, and file-local-copy, + using jka-compr-run-real-handler. + (jka-compr-file-local-copy): Call file-local-copy + using jka-compr-run-real-handler. + (jka-compr-write-region): Likewise. + (jka-compr-load): Don't alter file-name-handler-alist. + Do bind inhibit-file-name-handlers and inhibit-file-name-operation. + (jka-compr-handler): Don't alter file-name-handler-alist. + + * shell.el (shell-prefixed-directory-name): Do nothing if + comint-file-name-prefix is empty. Do not inline. + +1994-05-31 Lars Magne Ingebrigtsen (larsi@bera.ifi.uio.no) + + * gnus-uu.el (gnus-uu-view-directory): Fixed viewing with the + `gnus-uu-asynchronous' variable set. + (gnus-uu-ctl-map): Removed the keystrokes `C-c C-v C-h' and + `C-c C-v h' from the keymap. + (gnus-uu-decode-and-view-all-articles, + (gnus-uu-decode-and-view-all-unread-articles, + (gnus-uu-decode-and-save-all-unread-articles, + (gnus-uu-decode-and-save-all-articles): Accept prefix arg for # files. + (gnus-uu-uustrip-article-as): Waits for uudecode to finish before + further treatment of the resulting files. + (gnus-uu-summary-next-subject): After decoding, if there are no + more unread articles, jump to the last article decoded. + (gnus-uu-post-encoded): Make last posting in a + series always have more than 4 lines. + + * gnus-uu.el (gnus-uu-interactive-save-original-file): Fixed + original file save when there's more that one original file. + + * gnus-uu.el (gnus-uu-view-file): Rewrote function and fixed + ask before view/save after view. + (gnus-uu-ask-to-save-file): New function. + + * gnus-uu.el (gnus-uu-interactive-set-up-windows): New function. + (gnus-uu-interactive-scan-directory) New function. + (gnus-uu-interactive-rescan-directory): New function. + (gnus-uu-ignore-files-by-name, gnus-uu-ignore-files-by-type): New vars. + (gnus-uu-interactive-execute): Change directory to work dir before + executing. + + (gnus-uu-view-directory, gnus-uu-check-for-generated-files): + Fixed bug deleting generated directories. + (gnus-uu-unpack-archives): Added error message for corrupted archives. + +1994-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.el (tab-to-tab-stop): Combine new indentation with previous. + + * mailalias.el (define-mail-alias): Copy parsing code from + mailabbrev.el. New arg from-mailrc-file. + (build-mail-aliases): Pass t as new arg. + + * mouse.el (mouse-scroll-subr): + Preserve point if WINDOW's not the selected window. + (mouse-drag-region, mouse-drag-secondary): Accept any list event + as normal termination of the dragging. + +1994-06-19 Erik Naggum (erik@naggum.no) + + * simple.el (blink-matching-open): Use matching-paren. + +1994-06-19 Rob Riepel (riepel@Snowflake.Stanford.edu) + + * tpu-doc.el (tpu-doc-revision): Variable deleted. + + * tpu-edt.el (tpu-edt-off): Restore original global key map. + (tpu-next-file-buffer): Move to dired buffer too. + (tpu-make-file-buffer-list): New function. + (tpu-version): New version. + (tpu-set-mode-line): Added line-number-mode to mode-line. + (tpu-search-forward-exit, tpu-search-backward-exit): New functions, + key mappings. + + * tpu-extras.el: Require tpu-edt. + (tpu-extras-revision): Variable deleted. + + * tpu-mapper.el: Change size of selected screen. Reposition after + printing help. Null default directory for save. Produce minibuffer + key bindings for kp4 and kp5. + (tpu-kp4, tpu-kp5): New variables. + (tpu-mapper-revision): Variable deleted. + + * vt-control.el (vt-revision): Variable deleted. + +1994-06-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sendmail.el (mail-bury): Test that rmail-summary-buffer is boundp. + + * files.el (insert-directory): Don't quote braces for shell. + + * calendar.el: Fix references to diary.el. + + * diary-lib.el: Renamed from diary.el. + + * rmailmsc.el (set-rmail-inbox-list): Use insert-before-markers. + +1994-06-17 Michael D. Ernst (mernst@research.microsoft.com) + + * rmail.el (rmail-highlight-headers): Don't skip newlines, + just tab and space. + +1994-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnus.el (gnus-summary-next-article): Handle non-character events. + +1994-06-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * dired.el (dired-build-subdir-alist): Don't let looking-at + destroy the match data. + +1994-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * files.el (make-auto-save-file-name): Double the backslashes + and convert slashes to \!. + + * finder.el (finder-commentary): Fix error message syntax. + + * autoload.el, bookmark.el, cl-*.el, cl.el, complete.el: + * mouse-sel.el, rot13.el, thingatpt.el: Fix Commentary section comments + and other section comments. + + * lisp-mnt.el (lm-section-mark): Accept extra semicolons; + accept spaces at end of line. + + * faces.el (x-create-frame-with-faces): Set the cursor color last. + +1994-06-17 Kevin Rodgers (kevinr@ihs.com) + + * mailabbrev.el (build-mail-abbrevs): Pass a recursivep argument in + recursive call. + +1994-06-17 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * etags.el (tags-table-computed-list, + tags-table-computed-list-for): New variables. + (tags-table-list-pointer, tags-table-list-started-at): Doc fixes. + (tags-table-parent-pointer-list): Variable removed. + (tags-table-check-computed-list, tags-table-extend-computed-list): New + functions. + (tags-find-table-in-list): Function removed. + (tags-table-list-member): New function replaces it. + (tags-verify-table): New function, broken out of + visit-tags-table-buffer. + (tags-table-including, tags-next-table): Rewritten. + (visit-tags-table-buffer-cont): Variable removed. + (visit-tags-table-buffer): Overhauled. + (tag-exact-match-p): Disallow newline in tag string before \177. + +1994-06-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mouse.el (mouse-scroll-subr): New arg WINDOW. + (mouse-drag-region, mouse-drag-secondary): Pass new arg. + + * bibtex.el (bibtex-mode): Set up comment-start locally. + + * ange-ftp.el (ange-ftp-canonize-filename): Fix wrong var name. + +1994-06-16 Noah Friedman (friedman@prep.ai.mit.edu) + + * rlogin.el (rlogin-password-paranoia): Variable deleted. + (rlogin-password): Function deleted. + This functionality is handled by comint-watch-for-password-prompt. + + * rlogin.el (rlogin-filter): Function deleted. + (rlogin): Do not set the process filter to rlogin-filter. + +1994-06-15 Morten Welinder (terra@diku.dk) + + * info.el (Info-directory-list): For msdos, use ";" instead of + ":" as delimiter in INFOPATH. + +1994-06-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * outline.el (outline-mode): Make change-major-mode-hook buffer-local. + + * dired.el (dired-build-subdir-alist): Avoid mistaking a file name + ending in a colon for a subdir header line. + + * sendmail.el (mail-send-hook): Add defvar. + (mail-send): Run mail-send-hook before the `Sending...' message. + + * etags.el (find-tag-history): New variable. + (find-tag-noselect): Set that variable. + +1994-06-14 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * mouse.el (mouse-drag-region): Bind last-command, not this-command. + + * files.el (make-auto-save-file-name): Don't use slashes in + autosave name for a non-file buffer. + +1994-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ispell.el (ispell-command-loop): C-g should be like X, not q. + + * fortran.el (fortran-blink-matching-do): When looking for do, + insist on nondigit after it. + +1994-06-14 Ed Reingold (reingold@albert.gnu.ai.mit.edu) + + * cal-menu.el (calendar-mode-map): Change moon menu bar to pop up + a menu instead doing it directly. + (calendar-mouse-2-date-menu): Remove moon phase. + +1994-06-14 Richard Stallman (rms@albert.gnu.ai.mit.edu) + + * cal-menu.el (calendar-mouse-2-date-menu): Put moon phase here. + (calendar-mode-map): Delete from here. + +1994-06-14 Richard Stallman (rms@albert.gnu.ai.mit.edu) + + * simple.el (pop-global-mark): Discard entries for nonexistent buffers. + + * startup.el (inhibit-startup-echo-area-message): Doc fix. + + * avoid.el (mouse-avoidance-threshold): Renamed from ...threshhold. + +1994-06-13 Richard Stallman (rms@albert.gnu.ai.mit.edu) + + * simple.el (end-of-buffer): Recenter overlay lists. + +1994-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * simple.el (pop-global-mark): Discard entries for nonexistent buffers. + + * startup.el (inhibit-startup-echo-area-message): Doc fix. + + * avoid.el (mouse-avoidance-threshold): Renamed from ...threshhold. + + * simple.el (end-of-buffer): Recenter overlay lists. + +1994-06-13 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Extend first regexp + to handle Borland C++ msgs: "Warning" or "Error" before file name. + +1994-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ispell.el (ispell-dictionary-alist): Add autoload. + Split into two subvariables. + (ispell-menu-map): Defvar and set up at top level. + Split into parts. + (ispell-menu-map-needed): New variable. + + * font-lock.el (font-lock-hack-keywords, font-lock-fontify-region): + Don't call set-buffer-modified-p if no change in its value. + +1994-06-13 Lawrence R. Dodd (dodd@roebling) + + * dired-x.el (dired-man): Use internal function from man.el. + (dired-omit-files): Omit `.' and `..' by default, not all files + ending in `.'. + +1994-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * font-lock.el: Don't alter the underline face. + + * font-lock.el (c-font-lock-keywords-2): Insist on whitespace + before a label. + + * mouse.el (mouse-save-then-kill-delete-region): Turn off change hooks + for the edit operations that are not real. + +1994-06-12 Johan Vromans (jv@NL.net) + + * forms.el (forms-mode): + Plug security hole by disabling `eval-buffer' unless + `enable-local-eval' is set to t. + Correct setting of `forms--mode-setup'. + (forms--local-write-file-function): New function to be used as + `local-write-file-hooks'. + (forms-mode): Use it. + (forms-find-file,forms-find-file-other-window): Locally set + `enable-local-eval' and `enable-local-variables' to t. + (forms-find-file-other-window): Remove extraneous call to + `eval-current-buffer'. + +1994-06-12 Kohtala Marko (Marko.Kohtala@ntc.nokia.com) + + * info.el (Info-insert-dir): Ignore access times when comparing + file attributes. Print message while merging. Use separate + buffers for merging. Try lower case `dir' first. + +1994-06-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * iso-cvt.el (iso-iso2tex-trans-tab): Add a few characters. + (iso-iso2gtex-trans-tab): Likewise. + (iso-tex2iso-trans-tab): Recognize TeX accent sequences without braces. + (iso-gtex2iso-trans-tab): Likewise. + + * info.el (Info-fontify-node): Require some whitespace after *Note. + + * sendmail.el (mail): If homedir is nonexistent, don't use as default. + +1994-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * server.el (server-start): Doc fix. + + * font-lock.el (font-lock-hack-keywords): Avoid changing the narrowing. + + * tex-mode.el (latex-mode, slitex-mode): In paragraph-separate, + delete spurious \\\\ from char set. + + * isearch.el (isearch-mode-map): + Bind the ASCII-equivalent fcn keys explicitly to nil. + + * iso-cvt.el (iso-translate-conventions): Get rid of interactive spec. + +1994-06-10 Morten Welinder (terra@diku.dk) + + * font-lock.el (tex-font-lock-keywords): Make the pattern for + macros respect TeX's idea of identifiers. + (font-lock-set-defaults): Don't check for 'tex-mode, but instead + for 'plain-tex-mode, 'latex-mode, and 'slitex-mode which is what + tex-mode.el uses. + +1994-06-10 Boris Goldowsky (boris@mink.cs.rochester.edu) + + * avoid.el (mouse-avoidance-point-position): Fix compute-motion + call to use (X . Y) relative to window, not frame. + Avoid errors if window-start < point-min. + +1994-06-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * comint.el (comint-dynamic-list-completions): + No space in *Completions*. + * ispell4.el (ispell-complete-word): Likewise. + * ielm.el (ielm-complete-symbol): Likewise. + * etags.el (complete-tag): Likewise. + * complete.el (PC-do-completion): Likewise. + * lisp.el (lisp-complete-symbol): Likewise. + + * ispell.el (ispell-dictionary-alist): Fix regexp in francais. + + * dired-x.el: Require dired and dired-aux in the standard way. + + * dired-aux.el: Add provide call. + + * info.el (Info-complete-menu-item): New function. + (Info-menu): Use it to speed completion. + + * tex-mode.el (tex-start-shell): Add autoload. + +1994-06-07 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * iso-cvt.el (iso-translate-conventions): + Use case-dependent search and don't alter case. + + * disp-table.el (standard-display-european): Treat 0 arg like negative. + + * ange-ftp.el (ange-ftp-canonize-filename): Preserve // after colon. + (ange-ftp-expand-file-name): Likewise. + (ange-ftp-canonize-filename): Preserve // at very beginning. + +1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tex-mode.el (tex-show-print-queue): Display the tex shell buffer. + (tex-file, tex-bibtex-file): Likewise. + (latex-mode, slitex-mode): Treat \] as paragraph starter. + +1994-06-07 Morten Welinder (terra@diku.dk) + + * dos-fns.el (Info-default-directory-list): Setting this no + longer needed. + +1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cal-menu.el (calendar-mouse-2-date-menu): Put moon phase here. + (calendar-mode-map): Delete from here. + + * simple.el (delete-blank-lines): Doc fix. + +1994-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.el (tab-stop-list): Doc fix. + + * sendmail.el (mail-bury): If showing rmail buffer that has summary, + show the summary too. + +1994-06-06 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * menu-bar.el (menu-bar-update-buffers): Avoid excessive consing. + +1994-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * tex-mode.el (tex-file, tex-region): Display the tex shell buffer. + + * gomoku.el (gomoku-display-statistics): Use human's point of view + for wins and losses. + (gomoku-number-of-emacs-wins): Renamed from gomoku-number-of-wins. + (gomoku-number-of-human-wins): Renamed from gomoku-number-losses. + + * derived.el (derived-mode-merge-abbrev-tables): + Do nothing if OLD is nil. + + * edebug.el (edebug-emacs-19-specific): + Call x-popup-menu only if using a window system. + + * info.el (Info-directory-list): Don't use the invocation directory + unless it was used for exec-directory too. + + * gud.el (gud-massage-args): Fix error message syntax. + (gud-marker-filter, gud-find-file): Likewise. + (gud-display-line): Don't use dialog box for questions. + +1994-06-03 Morten Welinder (terra@diku.dk) + + * dos-fns.el (frame-parameters): Setting this is no longer needed. + +1994-06-03 Ed Reingold (reingold@albert.gnu.ai.mit.edu) + + * solar.el (solar-sunrise, solar-sunset): Fix doc string. + (solar-time-string): Rewritten. + (solar-adj-time-for-dst): New function. + (solar-sunrise-sunset, diary-sabbath-candles, + solar-equinoxes-solstices): Revised to use the rewritten and new fcns. + + * calendar.el (solar-holidays): Revised to use the rewritten and + new fcns. + + * lunar.el (lunar-phase): Revised to use the rewritten and new fcns. + +1994-06-02 Richard Stallman (rms@albert.gnu.ai.mit.edu) + + * compile.el (compilation-error-regexp-alist): Stricter Lucid regexp. + + * complete.el (PC-do-completion): Clear text props from inserted text. + + * comint.el (comint-dynamic-complete-as-filename) + (comint-dynamic-complete-filename): Suppress most messages + when completing in the minibuffer. + +1994-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * gnus-uu.el (gnus-uu-ctl-map): Move C-h binding to C-d. + + * mouse.el (mouse-choose-completion): If *Completion* is a special + buffer or just has a dedicated window, do something reasonable. + + * gnus.el (gnus-newsrc-to-gnus-format): In main loop, + don't try to match the ranges with the regexp. + Match just the group name and the subscribed-flag. + +1994-05-30 Paul Eggert (eggert@twinsun.com) + + * calendar.el (calendar-mod): Remove; it was equivalent to `mod'. + All callers changed. + +1994-05-30 Ed Reingold (reingold@albert.gnu.ai.mit.edu) + + * calendar.el (generate-calendar-month): Make highlighted text for + mouse-2 a full column (2 chars) wide, even for single-digit dates. + +1994-05-30 Richard Stallman (rms@albert.gnu.ai.mit.edu) + + * comint.el (comint-read-input-ring): Make regexp stricter. + + * paths.el (Info-default-directory-list): Don't attach ../info. + So now configure-info-directory comes last. + Put /usr/local/info second. + + * info.el (Info-directory-list): Doc fix. + + * font-lock.el (shell-font-lock-keywords): Removed regexp for commands. + (rmail-summary-font-lock-keywords): New variable. + (font-lock-set-defaults): Use it. + + * bibtex.el (bibtex-clean-entry): Back over close delimiter carefully. + + * cal-dst.el (calendar-current-time-zone): Fix typo that + transposed DST-STARTS-TIME and DST-ENDS-TIME. + + * ange-ftp.el (ange-ftp-insert-directory): Expand file name to + check whether it is really an ftp file name. + + * cal-dst.el (calendar-daylight-savings-ends): Fix typo in put. + + * menu-bar.el (menu-bar-mode): Fix previous change. + +See ChangeLog.4 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 lisp/ChangeLog.6 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lisp/ChangeLog.6 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,8021 @@ +1996-08-11 Richard Stallman + + * Version 19.33 released. + + * cc-mode.el (c-fill-paragraph): Fix regexp for finding C++ comment + paragraphs. + +1996-08-10 Richard Stallman + + * isearch.el (isearch-whitespace-chars): If isearch-invalid-regexp, + insert just a space. + +1996-08-07 Richard Stallman + + * iso-acc.el (iso-languages, french): Remove non-French combinations. + Add ~c, "e, "i, `u. + + * simple.el (normal-auto-fill-function): New variable. + (auto-fill-mode): Use that instead of constant 'do-auto-fill. + + * bibtex.el (bibtex-mode): Set normal-auto-fill-function locally; + don't set auto-fill-function. Don't turn on Auto Fill mode. + +1996-08-06 Richard Stallman + + * rmail.el (rmail-reply-regexp, rmail-message-filter): Doc fix. + (rmail-reply-regexp): Match Re[2]. + +1996-08-05 Simon Marshall + + * help.el (help-font-lock-keywords): Fully undo rms July 26 change. + +1996-08-05 Richard Stallman + + * dabbrev.el (dabbrev--last-case-pattern): New variable. + (dabbrev-expand): Set it for ordinary expansions; + use it when copying successive words. + +1996-08-03 Richard Stallman + + * imenu.el (imenu-update-menubar): Fix code to install the new menu. + + * info.el (Info-find-node): Use pop-to-buffer. + +1996-08-02 Paul Eggert + + * rmail.el (rmail-unix-mail-delimiter): Allow space or tab as + first character in mailbox part of `From ' line. + +1996-08-01 Richard Stallman + + * Version 19.32 released. + + * gud.el (gdb): Undo previous change. + +1996-08-01 Simon Marshall + + * comint.el (comint-file-name-chars): Was comint-file-name-regexp. + Give it a non-nil default value. + + * shell.el (shell-file-name-chars): Was shell-file-name-regexp. + (shell-mode): Set comint-file-name-chars to this variable. + +1996-07-31 Richard Stallman + + * dabbrev.el (dabbrev-expand): When snarfing consecutive words, + if previous one was upcased, upcase this one too. + (dabbrev--substitute-expansion): When snarfing consecutive words, + don't case convert here. + + * help.el (help-font-lock-keywords): Undo July 26 change. + + * term/x-win.el: Delete code to disable f10 if motif. + + * gud.el (gdb): Bind comint-file-name-regexp. + +1996-07-30 Richard Stallman + + * emerge.el (emerge-files-with-ancestor, emerge-files): + Use add-hook to add to QUIT-HOOKS. + +1996-07-29 Richard Stallman + + * help.el (help-fontify-buffer-function): Function deleted. + (help-mode): Set font-lock-defaults in simple way again. + +1996-07-29 Erik Naggum + + * ange-ftp.el (ange-ftp-read-passwd): Let first input override + default, and let RET use the default value. + (ange-ftp-get-passwd): Make prompt clearer. + +1996-07-27 Richard Stallman + + * complete.el (PC-complete): When command is repeated, + scroll the completion buffer. + + * gud.el (gud-display-line): Don't crash if BUFFER is nil. + + * font-lock.el (font-lock-mode): Don't add to after-change-functions + if font-lock-fontify-region-function is `ignore'. + +1996-07-26 Richard Stallman + + * help.el (help-font-lock-keywords): Use font-lock-function-name-face + for variables, too. + + * dabbrev.el (dabbrev--substitute-expansion): Use just ABBREV, not OLD, + in previous change. + + * vc.el (vc-do-command): Bind win32-quote-process-args. + +1996-07-26 Simon Marshall + + * help.el (help-mode): Set font-lock-defaults to provide bindings for + local fontification functions. + (help-fontify-buffer-function): New function. + +1996-07-23 Richard Stallman + + * edebug.el (edebug-trace-display): Save and restore current buffer. + +1996-07-23 Erik Naggum + + * etags.el (tag-exact-file-name-match-p): Fix previous change. + +1996-07-23 Andrew Innes + + * winnt.el (file-name-buffer-file-type-alist): Load TAGS files as + text, not binary. + +1996-07-23 Paul Eggert + + * completion.el (cmpl-hours-since-origin): Fix bug: + microseconds count was being used instead of seconds count. + +1996-07-23 Richard Stallman + + * loaddefs.el (ctl-x-map): Bind C-x M-:. + +1996-07-23 Roland McGrath + + Fixes from Robert Praetorius : + * etags.el (etags-goto-tag-location): New local variable LINE; use it. + Fix typo in direct-file-tag case: position -> startpos. + (tag-word-match-p, tag-exact-file-name-match-p): Fix off-by-one errors. + +1996-07-23 Richard Stallman + + * shadow.el (list-load-path-shadows): Doc fix. + +1996-07-22 Richard Stallman + + * gud.el (perldb-command-name): New variable. + (perldb): Use it. + +1996-07-21 Ralf Fassel + + * files.el (dabbrev-case-fold-search, dabbrev-case-replace): Set + `risky-local-variable' property, since these get eval'ed. + + * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace): + Undo previous change. + +1996-07-21 Richard Stallman + + * dabbrev.el (dabbrev--search): Don't downcase the result here. + (dabbrev-completion): Bind completion-ignore-case. + (dabbrev--substitute-expansion): Downcase the expansion here, + but not if case pattern matches start of original expansion. + + * executable.el (executable-find): Doc fix. + + * time.el (display-time): Fix prev change: use display-time-update. + +1996-07-21 Karl Heuer + + * viper-util.el (vip-ms-style-os-p, vip-vms-os-p): Moved here from + viper.el. + + * rmail.el (rmail-next-same-subject): Don't set search-regexp + until after adjusting subject string. + +1996-07-21 Richard Stallman + + * browse-url.el (browse-url-choose-browser): New function. + (browse-url-browser-function): Use browse-url-choose-browser + as the initial value. + + * time.el (display-time): Call display-time-event-handler directly + to make the time appear right away. + +1996-07-21 Karl Heuer + + * executable.el (executable-find): Doc fix. + +1996-07-20 Karl Heuer + + * viper.el (vip-ms-style-os-p): Doc fix. + +1996-07-20 Richard Stallman + + * view.el (view-mode-auto-exit): Doc fix. + +1996-07-20 Simon Marshall + + * shadow.el (list-load-path-shadows): Fix ambiguous wording. + +1996-07-20 Karl Heuer + + * gnus-cus.el: Don't test X colors unless using X. + +1996-07-19 Karl Heuer + + * gnus-cus.el: If no dark magenta, use maroon. + (gnus-face-dark-name-list): If no dark blue, use royal blue. + +1996-07-17 Karl Heuer + + * viper-util.el (vip-get-filenames-from-buffer): Add &optional. + + * time.el (display-time): Starting time should be future, not past. + +1996-07-16 Lars Magne Ingebrigtsen + + * message.el (message-send): Don't use mail-hist by default. + +1996-07-15 Paul Eggert + + * appt.el (appt-check, appt-make-list): Avoid race condition + by getting current time only once. + * texinfmt.el (texinfo-format-today): Likewise. + +1996-07-15 Richard Stallman + + * sh-script.el (sh-mode): Call sh-set-shell only for a writable + empty buffer. + + * executable.el (executable-set-magic): Don't put a space at end + if user says no. + +1996-07-15 Andrew Innes + + * smtpmail.el (smtpmail-send-data-1): Escape "." at the start of + any line of data, not just lines containing nothing else. + +1996-07-14 Lars Magne Ingebrigtsen + + * gnus-cache.el: Make sure byte-compilation doesn't trip on + the undefined `gnus-add-shutdown'. + + * gnus.el: Make sure `gnus-directory' is defined + when byte-compiling. + +1996-07-13 Karl Heuer + + * allout.el (outline-auto-activation, outline-layout) + (outline-primary-bullet, outline-plain-bullets-string) + (outline-distinctive-bullets-string, outline-old-style-prefixes) + (outline-stylish-prefixes, outline-file-xref-bullet) + (outline-use-hanging-indents, outline-bullets-string) + (outline-write-file-hook, outline-mode, outline-prefix-data) + (outline-before-change-protect, outline-make-topic-prefix) + (outline-rebullet-current-heading, outline-rebullet-heading) + (outline-listify-exposed, outline-expose-topic) + (outline-old-expose-topic, outline-exposure) + (outline-latex-verbatim-quote-curr-line) + (outline-show-current-subtree, outline-hide-current-subtree) + (outline-hide-current-leaves, outline-new-exposure): Doc fix. + +1996-07-13 Francois Pinard + + * allout.el (outline-resolve-xref): Do not mistake a blank line + following an xref (@) bullet as part of the rerefenced file name. + +1996-07-13 Christopher J. Madsen + + * time.el (display-time): Fix start time for run-at-time. + +1996-07-12 Richard Stallman + + * rmailsum.el (rmail-summary-next-labeled-message) + (rmail-summary-previous-labeled-message): + Call rmail-summary-goto-msg to move point in the summary. + + * mouse.el (mouse-major-mode-menu-1): No need to copy the top + levels of structure. + + * browse-url.el (browse-url-netscape-program): New variable. + (browse-url-mosaic-program): New variable. + (browse-url-mosaic, browse-url-netscape): Use them. + +1996-07-12 Simon Marshall + + * font-lock.el (font-lock-comment-start-regexp): New variable. + (font-lock-fontify-syntactically-region): Use it. + When matching comments, use (match-end 1) as the start, if non-nil. + (font-lock-defaults-alist): Provide value for Lisp/C/C++ modes. + Remove obsolete entry for bibtex-mode. Doc fix. + (font-lock-match-c++-style-declaration-item-and-skip-to-next): Don't + treat a ; character as a declaration item separator. + + * comint.el (comint-truncate-buffer): Count lines from process-mark, + not point-max, as the input may span lines. + (comint-postoutput-scroll-to-bottom): Don't subtract from process-mark, + use comint-last-output-start, since the buffer string may have changed. + (comint-dynamic-complete-as-filename): Don't bind + file-name-handler-alist to nil, it interferes with directory tracking. + (comint-dynamic-list-filename-completions): Likewise. + (comint-replace-by-expanded-history): Only match leading ^ in input. + (comint-file-name-regexp): New variable. + (comint-mode): Make it buffer-local. + (comint-match-partial-filename): Use it. + + * shell.el (shell-file-name-quote-list): Default to nil on MSDOS/NT. + (shell-file-name-regexp): New variable. + (shell-mode): Set comint-file-name-regexp to its value. + +1996-07-11 Ralf Fassel + + * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace): Set + `risky-local-variable' property, since these get eval'ed. + +1996-07-11 Ronan Waide + + * smtpmail.el (smtpmail-deduce-address-list): Handle RESENT-* fields. + +1996-07-11 Richard Stallman + + * startup.el (normal-top-level-add-to-load-path): + Use directory-file-name since load-path elements don't end in /. + + * rmailsum.el (rmail-make-basic-summary-line): + If user-mail-address is nil, use alternative. + + * tex-mode.el (tex-validate-region): Skip fwd over whitespace + and punctuation, to find point of mismatch. + (validate-tex-buffer): Don't include the blank lines + before a paragraph in the paragraph being checked. + + * mouse.el (mouse-drag-region): Cope if stop-point is nil. + + * mouse.el (mouse-major-mode-menu-compute-equiv-keys): Deleted. + (mouse-major-mode-menu-1): Copy the top levels of structure, + if we use all of MENUBAR. + Set mouse-major-mode-menu-prefix. + (mouse-major-mode-menu): Total rewrite. + +1996-07-11 Stefan Schoef + + * bibtex.el (bibtex-reference-head): Allow spaces and tabs between + opening brace or paren and key. Simplify regexp. + (bibtex-type-in-head, bibtex-key-in-head): Decrement. + (bibtex-mode): Use new function run-with-idle-timer instead of + auto-save-hook for periodically parsing keys. + (bibtex-mode-syntax-table, bibtex-autokey-name-change-strings, + bibtex-autokey-titleword-change-strings): Support non-escaped + double-quoted characters (as with german styles). + (bibtex-field-string-quoted): Disallow lines like + author = "Stefan Sch"of" + until BibTeX supports them. + +1996-07-07 Richard Stallman + + * mouse.el (mouse-major-mode-menu-1): Always return just a keymap; + never (STRING . KEYMAP). + (mouse-major-mode-menu): Discard the `keymap' from the front of + the keymap we get from mouse-major-mode-menu-1. + Construct the menu name string from major-mode. + +1996-07-07 Dave Love + + * gud.el (gud-irix-p): Exclude Irix6.1 up. + (gud-dbx-use-stopformat-p): New variable. + (dbx): Use it to send $stopformat for Irix6. + (gud-irixdbx-marker-filter): Cast $curline to int, not long (see + added comments). + (dbx): Likewise. + +1996-07-07 Karl Heuer + + * ps-print.el (ps-article-subject): Don't die if header is missing. + (ps-article-author, ps-info-file, ps-info-node): Likewise. + +1996-07-07 Francois Pinard + + * timezone.el (timezone-parse-date): Handle ISO 8601 dates, so + rmailsort does the right thing with them. + +1996-07-06 Richard Stallman + + * mouse.el (mouse-show-mark): In transient mark mode, + delete mouse-drag-overlay. + (mouse-undouble-last-event): New function. + (mouse-show-mark): Call mouse-undouble-last-event. + +1996-07-06 Richard Stallman + + * tar-mode.el (tar-mode-map): Bind up and down like C-p, C-n. + +1996-07-06 Erik Naggum + + * files.el (insert-directory): Fix previous change. + +1996-07-05 Lars Magne Ingebrigtsen + + * gnus-cus.el: Make sure that calling `gnus-visual-p' during + byte-compilation doesn't bug out. + +1996-07-05 Simon Marshall + + * mail-utils.el (mail-strip-quoted-names): Removed debugging code. + +1996-07-04 Richard Stallman + + * simple.el (newline): Don't do the optimization if the newline before + point is intangible or read-only or invisible. + +1996-07-03 Richard Stallman + + * subr.el (unfocus-frame, focus-frame): Define as no-ops. + +1996-07-03 Richard Stallman + + * scheme.el (scheme-mode-variables): Set comment-start-skip + to ignore backslash-quoted semicolons. + + * lisp-mode.el (lisp-mode-variables): Set comment-start-skip + to ignore backslash-quoted semicolons. + +1996-07-03 Richard Stallman + + * files.el (insert-directory): When converting SWITCHES + string to a list, put back in original order. + +1996-07-04 Lars Magne Ingebrigtsen + + * gnus.el (gnus-summary-prepare-threads): Would infloop under + certain obscure conditions. + +1996-07-03 Richard Stallman + + * smtpmail.el (smtpmail-send-it): Ignore `To:' if there is a + `Resent-to':. + +1996-07-01 Richard Stallman + + * winnt.el (using-unix-filesystems): Doc fix. + +1996-07-02 Richard Stallman + + * reporter.el (mail-user-agent): Add autoload cookie. + +1996-07-02 Barry A. Warsaw + + * reporter.el: Major rewrite. + The variable `reporter-prompt-for-summary-p' can take a string value. + + The variable `mail-user-agent' provides configuration to the end + user. This variable contains a symbol indicating which Emacs mail + package the user would like for composing outgoing mail. + + Mail package authors now use `define-mail-user-agent' to define + symbols appropriate for use with `mail-user-agent'. Three such + symbols are predefined: `sendmail-user-agent' (for Emacs + sendmail.el), `vm-user-agent' (for Kyle Jones' VM package), and + `mh-e-user-agent' (for the MH-E package). + +1996-07-02 Lars Magne Ingebrigtsen + + * gnus-cache.el (gnus-cache-possibly-alter-active): Check for + gnus-cache-active-hashtb before using it. + +1996-07-01 Richard Stallman + + * tcl-mode.el (tcl-imenu-generic-expression): Add nil as 1st elt. + + * mail-hist.el (mail-hist-current-header-name): + Use buffer-substring-no-properties. + +1996-07-01 Francois Pinard + + * rmailsum.el (rmail-make-basic-summary-line): Accept ISO 8601 + dates as well. + +1996-06-30 Michael Kifer + + * viper-util.el (vip-read-key): inhibit quit added. + +1996-06-30 Lars Magne Ingebrigtsen + + * score-mode.el: Renamed from "gnus-scomo.el". + +1996-06-30 Richard Stallman + + * info.el (Info-next-preorder): After we move up, move forward again. + (Info-last-preorder): After we move down or to the prev, + move down again. + +1996-06-29 Richard Stallman + + * userlock.el (ask-user-about-supersession-help): Change help text. + (ask-user-about-supersession-threat): Add new `r' alternative. + + * files.el (set-visited-file-name): New optional arg NO-QUERY. + +1996-06-29 Lars Magne Ingebrigtsen + + * nnheaderems.el: Deleted. + +1996-06-28 Richard Stallman + + * view.el (view-mode): Doc fix. + +1996-06-28 Ethan Bradford + + * ispell.el (ispell-message): Support message-mode. + +1996-06-28 Per Abrahamsen + + * mouse.el (mouse-start-end): Support selecting strings by double + clicking on a character with quote syntax. + +1996-06-28 Richard Stallman + + * cal-french.el (french-calendar-accents): New variable. + (french-calendar-month-name-array): Check that variable. + (french-calendar-special-days-array): Likewise. + (calendar-french-date-string): Likewise. + (calendar-goto-french-date): Likewise. + + * rmail.el (rmail-get-new-mail): Run rmail-before-get-new-mail-hook. + + * files.el (abbreviate-file-name): Ignore automount-dir-prefix if nil. + + * rmail.el (rmail-send-actions-rmail-buffer): Mark as permanent-local. + (rmail-send-actions-rmail-msg-number): Likewise. + + * sendmail.el (mail-reply-buffer, mail-send-actions): + Mark them as permanent-local. + (mail-mode): Don't set mail-reply-buffer to nil. + + * files.el (auto-mode-alist): Treat .pm like .pl. + + * term/x-win.el (x-handle-name-switch): Renamed from + x-handle-name-rn-switch. + + * startup.el (command-line-x-option-alist): Don't handle -rn. + x-handle-name-rn-switch renamed to x-handle-name-switch. + + * tmm.el (tmm-add-prompt): If tmm-completion-prompt is nil, + don't insert it; instead delete the usual completion helptext. + (tmm-completion-prompt): Doc fix. + + * mh-utils.el (mail-user-agent): Replaces mua-paradigm. + (mh-find-path): Set mail-user-agent. + +1996-06-27 Francesco Potorti` + + * profile.el (profile-functions): No need to assume that the + current buffer is writable. + (profile-print, profile-results): Changed to display number of + calls and average time per call. + (profile-update-function): Update the number of calls. + (profile-a-function): Init the number of calls. + +1996-06-27 Paul Eggert + + * rmail.el (rmail-unix-mail-delimiter): + Accept more user names, since they can be + mangled badly by modern Unix mailers (e.g. Solaris 2.5 mail.local). + Be a little more picky about dates to compensate. + Match all the digits of a year, as per RFC 1123 section 5.2.14. + (rmail-nuke-pinhead-header): Adjust to regexp renumbering in + rmail-unix-mail-delimiter. + +1996-06-27 Richard Stallman + + * bibtex.el (bibtex-reference-head): Allow whitespace after the open + paren. + + * make-mode.el (makefile-gnumake-functions-alist): Add `addprefix'. + + * comint.el (comint-send-input): Use insert-before-markers + for all the insertions. + +1996-06-26 Richard Stallman + + * mail-extr.el (mail-extract-address-components): Rename ,-pos + to comma-pos. + + * noutline.el (outline-minor-mode): No longer permanent local. + +1996-06-25 Richard Stallman + + * tex-mode.el (tex-common-initialization): + Set skeleton-further-elements. + (tex-latex-block): Define as a skeleton. + +1996-06-25 Lars Magne Ingebrigtsen + + * nnvirtual.el, nntp.el, nnspool.el, nnml.el, nnmh.el, nnmbox.el, + * nnmail.el, nnkiboze.el, nnheader.el, nnfolder.el, nneething.el, + * nndoc.el, nndir.el, nnbabyl.el, gnus.el, gnus-vm.el, + * gnus-vis.el, gnus-uu.el, gnus-score.el, gnus-msg.el, gnus-mh.el, + * gnus-kill.el, gnus-ems.el, gnus-edit.el, gnus-cite.el, + * gnus-cache.el, custom.el: New versions installed. + + * nnsoup.el, nnoo.el, nnheaderems.el, nndb.el, message.el, + * mailheader.el, gnus-topic.el, gnus-srvr.el, gnus-soup.el, + * gnus-setup.el, gnus-scomo.el, gnus-salt.el, gnus-nocem.el, + * gnus-gl.el, gnus-demon.el: New files. + +1996-06-25 Richard Stallman + + * executable.el (executable-set-magic): Add space at end of line + if user says no to adding the shell's usual arguments. + Don't clear the buffer's modified-flag. + + * skeleton.el (skeleton-proxy-new): New function. + (define-skeleton): Define the skeleton as a defun + using skeleton-proxy-new. + +1996-06-25 Simon Marshall + + * rmailsum.el (rmail-summary-mode-map): Add rmail-summary-by-senders. + +1996-06-25 Richard Stallman + + * noutline.el (outline-minor-mode): Using change-major-mode-hook, + turn this mode off if we change major modes. + +1996-06-24 + + * skeleton.el (local-variables-section): Adapted comment to outline + minor mode. + (skeleton-pair-insert-maybe): Rewritten to support autowrapping. + (mirror-mode): Fixed change of pair-* to skeleton-pair-*. Also pairs + 8 bit characters. + +1996-06-24 Richard Stallman + + * mail-extr.el (mail-extract-address-components): Quote the comma + in ,-pos. + + * rmail.el (rmail-summary-by-senders): FIx typo in fn name. + + * goto-addr.el (goto-address-url-face, goto-address-mail-face) + (goto-address-url-mouse-face): New variables. + (goto-address-fontify): Use them. + + * files.el (set-auto-mode): Run multiple mode: specs + in left-to-right order. + +1996-06-24 Simon Marshall + + * font-lock.el (font-lock-verbose): Default to 0. Doc fix. + (font-lock-default-fontify-buffer): Interpret numeric value. + (font-lock-fontified): Don't make it permanent-local. + (font-lock-mode): Remove before-revert-hook and after-revert-hook code. + Call font-lock-turn-on-thing-lock before font-lock-mode-hook. Doc fix. + (font-lock-revert-setup, font-lock-revert-cleanup): Deleted. + (turn-on-font-lock): Don't test font-lock-defaults et. al here again. + (turn-on-font-lock-if-enabled): Do it here again. + (font-lock-support-mode): New variable. + (font-lock-turn-on-thing-lock): New function. Use it. + (font-lock-turn-off-thing-lock): Renamed font-lock-thing-lock-cleanup. + (font-lock-change-major-mode): Turn off Font Lock mode if it is on. + Add font-lock-change-major-mode to change-major-mode-hook at top level. + + * fast-lock.el: New version. Barf if loaded on 8+3 filename pseudo-OS. + (fast-lock-mode): Wrap font-lock-support-mode not font-lock-mode-hook. + (fast-lock-save-cache): Use font-lock-value-in-major-mode. + (fast-lock-set-face-properties): Wrap with save-buffer-state. + + * lazy-lock.el: New file. + + * rmail.el (rmail-variables): Include font-lock-maximum-size in + font-lock-defaults. + + * mailalias.el (mail-complete): Reread mail aliases if necessary. + +1996-06-23 Erik Naggum + + * term.el (term-exec-1): Run process on pty if possible. + +1996-06-23 Noah Friedman + + * rlogin.el (rlogin): make comint-output-filter-functions local + before adding hooks. + +1996-06-22 Richard Stallman + + * gnus-ems.el (gnus-background-mode): Set threshold for "light color" + at .6 of the total for white. + + * font-lock.el (font-lock-make-faces): Set threshold for "light color" + at .6 of the total for white. + + * faces.el (x-create-frame-with-faces): Set threshold for "light color" + at .6 of the total for white. + + * simple.el (choose-completion-string): Don't exit the minibuffer + when a directory name is chosen. + +1996-06-22 + + * skeleton.el (skeleton-autowrap): New variable. + (skeleton-abbrev-cleanup): Added variable documentation. + (skeleton-proxy): Added optional autowrappping feature. + (skeleton-proxy, skeleton-abbrev-cleanup): Use `post-command-hook' + instead of someday to be obsolete defer. + +1996-06-21 Michael Kifer + + * ediff-diff.el (ediff-setup-fine-diff-regions): + allow diff options to be passed to the diff program. + (ediff-make-diff2-buffer): Don't run Posix diff on remote files. + (ediff-make-diff2-buffer): Refuses to diff remote files. + (ediff-make-diff2-buffer,ediff-setup-diff-regions): Changed functions. + (ediff-make-diff2-buffer): New function. + Added ^\C-m$ to ok-lines regexps + + * ediff-ptch.el: New file. + + * ediff-util.el (ediff-verify-file-buffer): No longer reverts + buffers that have file name handlers. + + * ediff-mult.el (ediff-meta-insert-file-info): Write `remote file' + in the file size/modtime positions, if a file is remote. + + * ediff-wind.el (ediff-make-base-title): New function. + (ediff-refresh-control-frame): Modified. + +1996-06-21 Michael Kifer + + * viper-ex.el: Fixed the :e command for NT + + * viper.el: replaced all checks for (or (numberp ...) + (characterp ...)) with vip-characterp + (vip-change): Now hides replace overlay even for multiline changes. + (vip-paren-match): Goes to closing paren first. + + * viper.el (vip-find-char-forward,vip-find-char-backward, + vip-goto-char-forward,vip-goto-char-backward): + (viper-mode): Don't delete the startup message. + (vip-set-hooks): Added fortran-mode to viper. + + * viper-util.el (vip-ex-nontrivial-find-file-unix) + (vip-ex-nontrivial-find-file-ms,vip-get-filenames-from-buffer) + (vip-wildcard-to-regexp,vip-glob-ms-windows-files): New functions. + +1996-06-21 Richard Stallman + + * asm-mode.el (asm-mode-map): Bind C-c ; to comment-region. + + * mouse.el (mouse-drag-region): Be smart about which end + gets point and which end gets the mark. + + * hilit19.el (LaTeX-mode): Change handling of escaped $. + + * mouse.el (mouse-buffer-menu): Use aref rather than string-match. + +1996-06-19 Richard Stallman + + * rmailsum.el (rmail-summary-bury): New function. + (rmail-summary-mode-map): Put rmail-summary-bury on b. + + * paths.el (Info-default-directory-list): Doc fix. + +1996-06-19 Dave Love + + * gud.el (gud-irixdbx-marker-filter): Use %1ld, not %1d, + when printing $curline. + (dbx, irix case): Likewise in arg of gud-down. + +1996-06-18 Brian D. Carlstrom + + * smtpmail.el (smtpmail-send-it): Don't handle FCC fields until after + determining FROM field. + Delete code that converted "S:" to "Subject:". + Insert FROM field unless it already exists (code from sendmail.el). + +1996-06-18 Andrew Innes + + * smtpmail.el (smtpmail-smtp-service): Use port 25 as default. + (smtpmail-send-it): Require mail-utils upon entry. + Don't invoke sendmail-synch-aliases. + (smtpmail-deduce-address-list): Only use text matched in regexp group, + not the whole regexp. + + * smtpmail.el (smtpmail-read-response): Goto smtpmail-read-point + on every iteration to deal with multiple line banners. + + * smptmail.el (smtpmail-via-smtp): Bracket names in FROM + and RCPT TO commands. + +1996-06-18 Richard Stallman + + * ange-ftp.el (ange-ftp-kill-ftp-process): Really use the BUFFER arg. + Make it optional. + + * vc-hooks.el (vc-mode-line): If user is root, + verify file really has user-writable bit. + +1996-06-18 Kim F. Storm + + * hippie.el (he-concat-directory-file-name): Directory part may be nil. + (he-file-name-nondirectory): Referenced external variable. + +1996-06-18 Richard Stallman + + * pp.el (pp-to-string): Treat #( like (. + +1996-06-18 Francesco Potorti` + + * files.el (auto-mode-alist): Add uppercase version of archive + mode file name extensions ARC, ZIP, LXH, ZOO. + +1996-06-17 Richard Stallman + + * noutline.el (outline-up-heading): Fix error message. + (outline-backward-same-level, outline-forward-same-level): Likewise. + +1996-06-16 Richard Stallman + + * font-lock.el (global-font-lock-mode): Set up find-file-hooks. + (font-lock-default-fontify-buffer, font-lock-fontify-block) + (font-lock-mode): Fix syntax of msgs such as Fontifying...done. + + * skeleton.el (local-variables-section): Deleted. + + * undigest.el (unforward-rmail-message): In summary buffer, + switch temporarily to Rmail buffer. + +1996-06-15 Paul Eggert + + * mail-utils.el (mail-strip-quoted-names): + `"' is not special inside an RFC 822 comment. + +1996-06-15 Richard Stallman + + * sgml-mode.el (html-list): Definition deleted. + (html-headline): Definition deleted. + (html-ordered-list, html-unordered-list): New definitions. + (html-headline-1 ... html-headline-6): New definitions. + (html-mode-map): Use new commands. + +1996-06-14 Richard Stallman + + * rlogin.el (rlogin): Doc fix. + +1996-06-14 Ed Reingold + + * cal-tex.el (cal-tex-mini-calendar): Add optional paramter COLSEP. + (cal-tex-cursor-filofax-year): Use it. Also, adjust other sizes. + +1996-06-13 Richard Stallman + + * simple.el (set-fill-column): Error if no argument. + + * easymenu.el (easy-menu-create-keymaps): Add menu-alias property. + + * lmenu.el (make-lucid-menu-keymap): Add menu-alias property. + +1996-06-11 Andrew Innes + + * nnmail.el (nnmail-move-inbox): Prompt for POP3 password if + required, and include on the movemail command line. + +1996-06-12 Richard Stallman + + * imenu.el (imenu--mouse-menu): Don't check imenu-use-keymap-menu. + + * files.el (find-alternate-file): Don't clear buffer-file-truename + and friends until after calling unlock-buffer. + +1996-06-12 enami tsugutomo + + * rmailsum.el (rmail-new-summary): Fix typo; (concat ": " + description) should be eval'ed. + +1996-06-11 Richard Stallman + + * tar-mode.el (tar-mode-revert): Cope if user cancels the revert. + +1996-06-10 Richard Stallman + + * term.el (term-terminal-menu): Don't make a self-recursive keymap. + + * rmail.el (rmail-retry-failure): Nicer error message + if can't find mail-unsent-separator. + + * hexl.el (hexl-mode): Run hexl-mode-hook. + +1996-06-09 Eli Zaretskii + + * term/pc-win.el (msdos-face-setup): Use `terminal-frame' for + initial frame setup. + (make-msdos-frame): New MSDOS-specific frame creation function. + (focus-frame, unfocus-frame): Don't set to 'ignore. + (auto-raise-mode, auto-lower-mode): Likewise. + (set-background-color, set-foreground-color): Definitions deleted. + + * loadup.el: On MSDOS, don't assume that `make-frame' + is only bound under an X emulator; use `x-create-frame' instead. + + * frame.el (frame-initialize): Don't count MSDOS neither as + window-system nor as a terminal frame here. + + * dos-fns.el: No need to require 'faces and set menu-bar-mode. + (window-frame): Remove; it is now on `frame.c'. + (raise-frame, select-frame): Likewise. + +1996-06-10 Richard Stallman + + * hexl.el (hexl-mode): Set hexl-max-address early on + and call hexl-goto-address afterward. + And call hexlify-buffer even earlier. + +1996-06-08 Geoff Voelker + + * comint.el (comint-substitute-in-file-name): New function. + (comint-match-partial-filename): Use comint-substitute-in-file-name + to handle system-specific syntax. + + * shell.el (shell-directory-tracker): Use + comint-substitute-in-file-name to handle system-specific syntax. + + * comint.el (comint-dynamic-complete-as-filename) + (comint-dynamic-simple-complete) [ms-dos, windows-nt]: + (comint-dynamic-list-filename-completions) [ms-dos, windows-nt]: + Set completion-ignore-case to t for these systems. + + * shell.el (shell-chdrive-regexp): New variable. + (shell-mode): Update doc string. + (shell-directory-tracker): Update doc string. + Detect drive changes. + +1996-06-09 Richard Stallman + + * frame.el (make-frame-command): Treat msdos like no window system. + +1996-06-09 Karl Heuer + + * comint.el (comint-file-name-quote-list): Doc fix. + * texnfo-upd.el (texinfo-find-pointer): Doc fix. + (texinfo-sequentially-find-pointer): Doc fix. + (texinfo-copy-menu): Use double backslash to quote regexp. + +1996-06-08 Roland McGrath + + * etags.el (etags-list-tags): When there is an explicit tag name, skip + the \177 before it. + +1996-06-07 Karl Heuer + + * facemenu.el (facemenu-complete-face-list): Doc fix. + +1996-06-07 Roland McGrath + + * etags.el (tag-lines-already-matched): Remove defvar. + (initialize-new-tags-table): Don't make that var local. + (tag-lines-already-matched): Add docless defvar near find-tag-in-order + defun; this is a global state variable for that one function. + (find-tag-in-order): Move clearing of tag-lines-already-matched out of + loop. Make it a list of markers and search it with member; it is now + global, not buffer-local in the tags table, and records all matches in + any tags table during a single find-tag loop. When we run out of + matches, clear it and null out the markers. + +1996-06-07 Richard Stallman + + * imenu.el (imenu--mouse-menu): Always use nested keymaps. + (imenu-use-keymap-menu): Variable deleted. + + * cmacexp.el (c-macro-preprocessor): New clause for Solaris. + + * winnt.el (x-set-selection, x-get-selection): Define them + to really use TYPE. + + * smtpmail.el: New file. + (smtpmail-send-it): Fix error messages. + (smtpmail-deduce-address-list): Bind recipient-address-list with let. + (smtpmail-via-smtp): Bind greeting, n, process-buffer. + +1996-06-06 Richard Stallman + + * files.el (hack-local-variables-prop-line): Bind enable-local-eval. + + * hexl.el (hexl-mode-map): Bind prior, home, deletechar, deleteline, + insertline, S-delete, and DEL. Don't bind prev. + +1996-06-03 Geoff Voelker + + * comint.el (comint-dynamic-complete-filename) [ms-dos, windows-nt]: + Always use backslash as a directory separator when completing + in shell mode on these systems. + + * winnt.el (shell-mode-hook): Set comint-completion-addsuffix + so that the directory suffix is backslash and the file suffix is space. + +1996-06-05 Richard Stallman + + * comint.el (comint-unquote-filename): Handle quoted backslashes. + + * vc.el (vc-cancel-version): Fix paren error. + + * imenu.el (imenu): In interactive spec, pass the entire + index item, not just the string. + +1996-06-04 Per Abrahamsen + + * xt-mouse.el (xterm-mouse-event): Adjust for minibuffer prompt + width. + +1996-06-04 Richard Stallman + + * dired.el (dired-chown-program): Try /usr/sbin/chown. + + * frame.el (make-frame-command): New function. + (ctl-x-5-map): Change C-x 5 2 to make-frame-command. + + * hippie-exp.el (he-file-name-chars): Check windows-nt, not ms-windows. + +1996-06-04 Kim F. Storm + + * files.el (buffer-file-numbers-unique): New variable; + initialize to nil for windows-nt. + (find-buffer-visiting): Skip search for buffer based + on buffer-file-number if these are not unique. + +1996-06-04 Richard Stallman + + * replace.el (occur): Avoid "1 lines" in echo area. + + * shell.el (shell-match-partial-variable): Doc fix. + +1996-06-03 Richard Stallman + + * mouse.el (mouse-show-mark): Use temporary highlighting if possible + instead of a pause. + (mouse-drag-region): Use mouse-show-mark to do temp highlighting. + (mouse-save-then-kill): Call mouse-show-mark for a new selection + if we have a window system. + + * reporter.el (reporter-submit-bug-report): + Bind same-window-regexps, same-window-buffer-names, to nil. + +1996-06-02 Richard Stallman + + * rmail.el (rmail-get-new-mail): If conversion to BABYL fails + for the default inboxes, rename them so they won't be tried again. + +1996-06-02 Eli Zaretskii + + * term/pc-win.el (msdos-color-aliases): Define more colors. + (msdos-color-translate): Fix `substring' arguments. Recognize + ``medium'' prefix. + +1996-05-31 Karl Heuer + + * loaddefs.el (debug-ignored-errors): Don't use concat inside + quoted list. + +1996-05-31 Richard Stallman + + * ehelp.el (electric-helpify): Allow NAME to be given as arg. + (electric-command-apropos): Specify *Apropos* as buffer name. + + * fill.el (fill-individual-paragraphs): Don't get stuck + if no newline at the end of the region. + +1996-05-30 Richard Stallman + + * ispell.el (ispell-region): Handle ispell-skip-sgml properly + with an re-search. + + * reporter.el (reporter-submit-bug-report): + Use display-buffer to re-show the original buffer. + +1996-05-30 Karl Heuer + + * simple.el (shell-command-on-region): In output buffer, display + first page by setting point, not window-start (which can leave + point in an unexpected place). + + * info.el (Info-insert-dir): Fix default directory. + +1996-05-30 Per Abrahamsen + + * custom.el (event-point): Fix fboundp test surrounding this. + +1996-05-29 Karl Heuer + + * debug.el, edebug.el, icomplete.el, macros.el, simple.el: + Use executing-kbd-macro, not executing-macro. + +1996-05-28 Karl Heuer + + * add-log.el (change-log-font-lock-keywords): Require colon after + parenthesized function name. + +1996-05-28 Paul Eggert + + * gnus.el (gnus-article-date-ut): Avoid race condition. + * gnus-msg.el (gnus-inews-date): Likewise. + + * gnus.el (gnus-gmt-to-local): When rewriting a date to local time, + use the UTC offset in effect then, not the current UTC offset. + +1996-05-26 Roland McGrath + + * mailabbrev.el (mail-abbrev-expand-hook): Disable abbrev mode + temporarily while working, to avoid recursion in indent-relative + expanding part of the abbrev expansion as an abbrev itself. + +1996-05-25 Karl Heuer + + * Version 19.31 released. + +1996-05-21 Marc Fleischeuers + + * files.el (make-backup-file-name): Check msdos-long-file-names. + (basic-save-buffer-1, make-auto-save-file-name): Likewise. + +1996-05-21 Scott M. Meyers + + * cmacexp.el (c-macro-expansion): Delete ??! trigraph in uniquestring. + Use same syntax table in outbuf as in inbuf. + Insert newline instead of space at end, for proprocessors which + don't like truncated lines. + +1996-05-21 Francesco Potorti` + + * cmacexp.el (c-macro-expansion): Correct bug in creating tempname. + +1996-05-21 Andrew Innes + + * scroll-bar.el (scroll-bar-maybe-set-window-start): Always set + window start, to ensure scroll bar position is updated. + + * term/win32-win.el (win32-handle-scroll-bar-event): Restore + original window selection after scrolling. + +1996-05-21 Richard Stallman + + * mh-e.el (mh-version): Use mh-e-RCS-id rather than mh-e-version + and mh-e-time-stamp. + + * simple.el (do-auto-fill): Return t if real work was done. + +1996-05-20 Karl Heuer + + * cal-persia.el: Renamed from cal-persian.el to avoid 14-character + limitation. + * calendar.el, diary-lib.el: Fix autoload references. + +1996-05-18 Erik Naggum + + * sun-curs.el (sc::menu): Fix typo. + +1996-05-17 Per Bothner + + * term.el (term-send-raw-string): send-string -> process-send-string. + (term-arguments): Remove unused local `values'. + (term-handle-deferred-scroll): Fix off-by-one bug. + +1996-05-17 Richard Stallman + + * f90.el: Delete the hilit19 support--it doesn't work. + (f90-face-*, f90-auto-hilit19, f90-hilit-patterns): Vars deleted. + (f90-mode, f90-update-line): Delete the hilit19 support code. + +1996-05-15 Richard Stallman + + * tex-mode.el (latex-imenu-create-index): + Change the regexp to match the * versions of commands. + (latex-mode): Make imenu-create-index-function buffer-local. + + * enriched.el: Several doc fixes. + (enriched-mode-hook): Renamed from enriched-mode-hooks. + + * cc-mode.el (c++-mode): Set c-recognize-knr-p locally to nil. + +1996-05-13 Espen Skoglund + + * pascal.el (pascal-end-of-statement, pascal-calculate-indent): + Set parse-sexp-ignore-comments to t before parsing. + (pascal-indent-case): Save position of cursor, and restores it + after reindenting the code. + +1996-05-11 Geoff Voelker + + * winnt.el (using-unix-filesystems): Update doc string. + +1996-05-11 Andrew Innes + + * scroll-bar.el (scroll-bar-drag-position): New function. + (scroll-bar-maybe-set-window-start): New function. + + * term/win32-win.el (win32-handle-scroll-bar-event): + Use scroll-bar-maybe-set-window-start. + +1996-05-11 Richard Stallman + + * tex-mode.el (latex-imenu-create-index): New function. + (latex-mode): Use latex-imenu-create-index. + (latex-imenu-generic-expression): Variable deleted. + +1995-05-10 Per Bothner + + * term.el (term-emulate-terminal): On CR, set term-current-column + to term-start-line-column, not 0. + +1996-05-10 Richard Stallman + + * f90.el (f90-hilit-patterns): Avoid using undefined variables. + + * vc.el (vc-rename-file): After renaming, update VC info and modeline. + Preserve buffer-read-only. + +1996-05-09 Richard Stallman + + * gud.el (gud-filter): Cal gud-display-frame even + if process-window is nil. + + * vc-hooks.el (vc-find-file-hook): Follow multiple links all the way. + + * ispell.el (ispell-check-comments): Default is now t. + +1996-05-08 Richard Stallman + + * bookmark.el (bookmark-bmenu-delete-backwards) + (bookmark-write, bookmark-relocate, bookmark-insert-buffer-name) + (bookmark-insert-current-bookmark, bookmark-send-edited-annotation) + (bookmark-read-annotation, bookmark-read-annotation-text-func) + (bookmark-send-annotation, bookmark-insert-file-format-version-stamp): + Doc fix. + +1996-05-08 Karl Fogel + + * bookmark.el (bookmark-locate): ;;;###autoload this alias. + (bookmark-bmenu-mode-map): Bind C-c C-c to + bookmark-bmenu-this-window, analogously to other Emacs listing + modes such as *grep* and *occur*. + (bookmark-version): Upped to 2.6.4. + +1996-05-08 Richard Stallman + + * gud.el (gud-filter): Move the call to gud-display-frame + outside of the save-excursion. + +1996-05-07 Karl Fogel + + * bookmark.el (bookmark-make): take optional arg `info-node', pass + it on to bookmark-make-cell. + (bookmark-make-cell): if new optional arg `info-node' is non-nil, + make it be the bookmark's info-node. + (bookmark-info-current-node): new func. + (bookmark-set): call bookmark-make, passing result from above + bookmark-info-current-node. + (bookmark-send-annotation): same as above. + (bookmark-locate): defalias to bookmark-insert-location for + backward compatibility. + (bookmark-version): upped to 2.6.3. + +1996-05-07 Noah Friedman + + * rlogin.el (rlogin): Call rlogin-mode after adding + rlogin-carriage-filter to output filter functions, so user can + remove it if desired. + +1996-05-06 Richard Stallman + + * gulp.el: New file. + + * info.el (Info-enable-active-nodes): Default to nil. Mark it risky. + + * ediff-diff.el (ediff-setup-fine-diff-regions): + Use ediff-diff3-options or ediff-diff-options. + +1996-05-05 Richard Stallman + + * mouse.el (mouse-drag-region): Set the region before reading a + character, so the selection exists while we wait. + + * dos-fns.el (convert-standard-filename): Test msdos-long-file-names. + Return "." or ".." unchanged. + + * iso-acc.el (iso-accents-compose): Don't insert in the buffer + if this is not the start of the key sequence. + + * hideif.el (hide-ifdef-mode): Doc fix. + + * term/win32-win.el (win32-handle-scroll-bar-event): + Look for `up' and `down' instead of `up-arrow' and `down-arrow'. + +1996-05-04 Richard Stallman + + * ps-print.el (ps-print-preprint): Special handling if + file entered in the minibuffer is a directory. + + * sendmail.el (mail-mode): Line starting with ---- is par separator. + + * vc-hooks.el (vc-follow-link, vc-find-file-hook): + Use file-chase-links instead of file-truename. + (vc-find-file-hook): Follow a link without asking + if the target is already visited. + +1996-05-03 Richard Stallman + + * apropos.el (apropos-print): If command has no key bindings, + say how to run it with M-x. + +1996-05-03 Andrew Innes + + * winnt.el (original-make-auto-save-file-name): New symbol bound + to old value of make-auto-save-file-name. + (make-auto-save-file-name): New function overriding old. + + * term/win32-win.el (win32-handle-scroll-bar-event): New function. + +1996-05-02 Erik Naggum + + * dired-aux.el (dired-handle-overwrite): `find-backup-file-name' + may return nil, so handle that. + +1996-05-02 Richard Stallman + + * gud.el (gud-display-line): Switch to gud buffer before + calling gud-find-file. + + * info.el (Info-find-node): Don't treat file name `dir' specially + if it comes with a directory name. + +1996-05-01 Richard Stallman + + * ps-print.el (ps-print-preprint): If user enters a directory name, + use a suitable file in that directory. + +1996-04-30 Richard Stallman + + * mouse.el (mouse-drag-region): Doc fix. + +1996-04-29 Karl Heuer + + * simple.el (shell-command-on-region): Start of region to keep is + min of endpoints, not max. + +1996-04-29 Richard Stallman + + * cal-x.el (diary-frame-parameters, calendar-frame-parameters) + (calendar-and-diary-frame-parameters): Take out font, auto-lower + and auto-raise. + +1996-04-28 Richard Stallman + + * indent.el (indent-for-tab-command): Pass prefix arg to indent-tab. + (insert-tab): Handle prefix arg. + +1996-04-26 Ed Reingold + + * solar.el (diary-sabbath-candles): Don't correct for DST a second + time. + +1996-04-26 Andrew Innes + + * compile.el (compilation-error-regexp-alist): Add regexp + for Microsoft VC++ error messages containing drive letters. + + * loadup.el [windows-nt]: Load disp-table. + + * rmail.el (rmail-insert-inbox-text): When required, prompt for + pop password and pass on to movemail. + (rmail-pop-password, rmail-pop-password-required): New variables. + (rmail-read-password): New function. + +1996-04-26 Richard Stallman + + * mouse.el (mouse-drag-region): Leave region highlighted + until the next input event. + +1996-04-25 Richard Stallman + + * window.el (walk-windows): Doc fix. + +1996-04-24 Ed Reingold + + * cal-persian.el: Doc fix. + + * cal-julian.el (calendar-print-astro-day-number): Doc fix. + + * cal-menu.el (calendar-mouse-print-dates): Doc fix. + +1996-04-23 Richard Stallman + + * doctor.el (doctor-doc): Add period. + +1996-04-20 Richard Stallman + + * files.el (auto-mode-alist): .F gets fortran mode. + + * simula.el (simula-submit-bug-report): Use emacs-version. + (simula-version): Function and variable deleted. + + * window.el (walk-windows): Doc fix. + +1996-04-19 Andreas Schwab + + * info.el (Info-next-reference, Info-prev-reference): Add optional + argument RECUR to avoid infinite recursion on malformed nodes. + +1996-04-19 Hans Henrik Eriksen + + * simula.el (simula-tab-always-indent, simula-indent-level) + (simula-substatement-offset, simula-continued-statement-offset) + (simula-label-offset, simula-if-indent, simula-inspect-indent) + (simula-electric-indent, simula-abbrev-keyword, simula-abbrev-stdproc): + Added default constants. + (simula-emacs-features): new constant to hold information + on which flavor if emacs is running (from cc-mode.el). + (simula-mode-menu): Menu definition for Lucid Emacs + (simula-mode-map): Bound new command simula-indent-exp to C-M-q + and added lots of commands to [menu-bar]. + (simula-popup-menu): New function for Lucid menus. + (simula-keep-region-active): New function for Lucid menus. + (simula-indent-exp): New command that indents a whole expression. + (simula-indent-line): New strategies for finding the right amount + to indent. + (simula-skip-comment-backward): Added optional parameter stop-at-end + to stop at the first END statement. + (simula-expand-stdproc): Added abbrev expansion to verbatim copy + of abbrev table, same for function simula-expand-keyword. + (simula-search-backward): Added Doc string, and lots of error checking. + (simula-search-forward): Added Doc string, and lots of error checking. + Added hilit19 config code. + (simula-version): New variable and function to report value. + (simula-submit-bug-report): New function to submit bug report. + +1996-04-19 Richard Stallman + + * term/x-win.el [motif]: Make f10 undefined. + +1996-04-19 Torbjorn Einarsson + + * f90.el (f90-keywords-re): Added operator and result. + (f90-keywords-level-3-re): Added operator and result. + (f90-match-end, f90-looking-at-program-block-start): Fixed bug + with false matching in comments/strings. + (f90-looking-at-program-block-start, f90-imenu-generic-expression): + Added knowledge of pure and extrinsic subroutines. + (f90-abbrev-start): Fixed bug using next-command-event. + (f90-keywords-level-3-re): Added keyword "nullify". + (f90-else-like-re): Fixed indentation of case() statements. + (f90-font-lock-keywords-2): Changed highlighting of case() statements. + +1996-04-19 Richard Stallman + + * metamail.el (metamail-mailer-name): New variable. + (metamail-environment): Add MM_QUIET. + (metamail-switches): Delete -m emacs. + (metamail-interpret-header, metamail-interpret-body): New functions. + (metamail-region, metamail-buffer): New arg VIEWMODE. + + * Optional argument which value is passed to the environment + variable EMACS_VIEW_MODE is added to the function metamail-buffer + and metamail-region. + * files.el (after-find-file): Mention file name in + "auto save is newer" message. + +1996-04-18 Richard Stallman + + * term/win32-win.el (x-select-text): Remember selected text. + (x-get-selection-value): Return nil if the clipboard data is + is the same as the remembered selected text. + +1996-04-18 Lars Magne Ingebrigtsen + + * gnus.el (gnus-summary-pipe-output, gnus-buffer-configuration, + gnus-window-to-buffer): Pop up the shell buffer after piping + articles through a filter. + + * gnus-ems.el: Make invisible text intangible as well. + +1996-04-17 Simon Marshall + + * replace.el (occur): Fix up interactive code. + Strip text properties from regexp. + +1996-04-16 Francesco Potorti` + + * vc.el (vc-comment-ring): Initialise using make-ring. + (vc-clear-context): Initialise vc-comment-ring using make-ring. + (vc-finish-logentry): Don't initialise vc-comment-ring here. + +1996-04-15 Eric Ding + + * goto-addr.el (goto-address-send-using-mh-e): + Renamed from goto-address-send-using-mhe. Require `mh-comp'. + +1996-04-15 Richard Stallman + + * sh-script.el (sh-while-getopts): Punctuate help message better. + + * cl-extra.el (isqrt): Support expanded range of Lisp integers. + (cl-expt): Bug fix for (expt -1 -N). + (cl-macroexpand-all): Change to support `labels'. + * cl-macs.el (defstruct): Treat multi-nested :include properly. + (flet): Warn when flet rebinds a macro name. + (labels): Rewrite to be fully CL-compliant. + +1996-04-13 Richard Stallman + + * completion.el: Provide `completion'. + (cmpl-make-standard-completion-syntax-table): Initialize + all chars (to whitespace if nothing else). + (c-mode-map, fortran-mode-map): Add defvars to avoid warnings. + +1996-04-12 Richard Stallman + + * files.el (interpreter-mode-alist): Recognize perl5. + +1996-04-11 Richard Stallman + + * mail-utils.el (mail-fetch-field): Use skip-chars-backward + to back over whitespace; don't back up past opoint. + + * files.el (auto-mode-alist): Handle `.java'. + + * startup.el (command-line-x-option-alist): + --title or -T sets only the title. Allow -title as alias too. + +1996-04-10 Richard Stallman + + * term/x-win.el (x-handle-display): Set DISPLAY envvar too. + +1996-04-08 Richard Stallman + + * disass.el (disassemble-internal): Graceful error if compile failed. + +1996-04-07 Ed Reingold + + * diary-lib.el (fancy-diary-display): Fix length of separator + string. + +1996-04-06 Richard Stallman + + * cal-menu.el (calendar-mouse-goto-date): New function. + Call it instead of calendar-goto-date throughout this file. + (calendar-event-to-date): Switch buffers based on the event. + +1996-04-05 Simon Marshall + + * ehelp.el (electric-help-mode): Use add-hook mouse-leave-buffer-hook. + (electric-help-retain): Use remove-hook. + +1996-04-05 + + * gomoku.el (gomoku-click): Position on nearest square. Adapt keymap + accordingly. + (gomoku-mouse-play): Use it to play nearest to mouse click. + (gomoku-terminate-game): Factorize messages. + (gomoku): Allow interactive passing of board size. Don't make a fuss + about restarting a game that hasn't progressed. + (gomoku-offer-a-draw): Give user the choice it pretended to give. + (gomoku-point-x): Deleted function. + (gomoku-point-y, gomoku-point-square): Simplified because point is + always on a square. + (gomoku-goto-xy, gomoku-plot-square): Fix line count due to intangible + newlines. + (gomoku-init-display): Once again fairly fast due to minimization of + characters in buffer and text-property operations. Cursor cannot be + be off a square. + (gomoku-display-statistics): Simplified equivalently. + (gomoku-winning-qtuple-beg, gomoku-winning-qtuple-end) + (gomoku-winning-qtuple-dx, gomoku-winning-qtuple-dy): Pseudo variables + only used for non-functional argument passing deleted. + (gomoku-cross-winning-qtuple): Accordingly deleted function and + (gomoku-check-filled-qtuple): Accordingly adapted. + (gomoku-cross-qtuple): Don't be confused by tabs. + (gomoku-move-down, gomoku-move-up): Simplified because point is always + on square. + (gomoku-beginning-of-line, gomoku-end-of-line): New commands necessary + because intangible newlines perverted these. + +1996-04-04 Erik Naggum + + * dired.el (dired-noselect): Resolve symbolic links in argument. + +1996-04-04 Richard Stallman + + * electric.el (Electric-command-loop): + Set universal-argument-other-key to 0. + +1996-04-04 Richard Stallman + + * rmailsum.el (rmail-summary-scroll-between-messages): New var. + (rmail-summary-scroll-msg-down, rmail-summary-scroll-msg-up): + Obey that var. + + * isearch.el (isearch-mode): Use add-hook for mouse-leave-buffer-hook. + (isearch-done): Use remove-hook. + +1996-04-04 Simon Marshall + + * timer.el (run-at-time): Allow floating REPEAT values. + +1996-04-03 Ed Reingold + + * calendar.el (general-holidays): Spelling fix. + +1996-04-03 Richard Stallman + + * gud.el (gud-mode): Doc fix. + +1996-04-03 Erik Naggum + + * gnus.el (gnus-summary-prepare-threads): Call `gnus-message' + instead of `message'. + + * startup.el (command-line-1): Document the C- and M- conventions + more completely. + +1996-04-02 Noah Friedman + + * files.el (file-newest-backup): Return the newest backup for the + exact file name specified, not the newest backup of all files + whose names start with that substring. + +1996-04-02 Richard Stallman + + * sendmail.el (mail): Once again set default dir to home dir. + +1996-04-02 Richard Stallman + + * timer.el (timer-event-handler): Save copies of events too. + +1996-03-31 Richard Stallman + + * hexl.el (hexlify-buffer, dehexlify-buffer): Clear out the undo + info, and don't record undo info for the conversion. + +1996-03-29 Ed Reingold + + * solar.el: Misc fixes to arc-trig functions. + +1996-03-29 Richard Stallman + + * rmail.el (rmail-forward): Put the "end" line right after the + forwarded message; the signature goes after. + +1996-03-29 Ed Reingold + + * cal-persian.el: New file. + + * diary-lib.el, calendar.el: Add Persian calendar. + + * cal-menu.el (calendar-mode-map,calendar-mouse-print-dates): Add + Persian calendar. + +1996-03-28 Michael Kifer + + * viper.el and related files: copyright message updated. + Also, added eval-when-compile's to reduce the number of warnings. + * viper.el (vip-add-newline-at-eob-if-necessary): + don't add newline for read-only files. + * viper-util.el (vip-set-replace-overlay): made non-detachable + under XEmacs. + * viper-ex.el (ex-next): bug fix. + * viper-macs.el (vip-events-to-macro): + discard events represented as lists in macro + definitions. + * viper-mous.el (vip-mouse-click-insert-word): fixed a typo. + +1996-03-28 Richard Stallman + + * tmm.el (tmm-define-keys): New arg MINIBUFFER. + (tmm-add-prompt): Pass new arg in both calls. + +1996-03-27 Richard Stallman + + * facemenu.el (list-text-properties-at): Display category's properties. + +1996-03-27 Geoff Voelker + + * makefile.nt: Change uses of del to $(DEL). + +1996-03-27 Simon Marshall + + * rmail.el (rmail-fontify-message, rmail-unfontify-buffer-function): + Reset the buffer modified state if necessary. + +1996-03-27 Boris Goldowsky + + * avoid.el (mouse-avoidance-old-pointer-shape): New vbl. + (mouse-avoidance-mode): Save old pointer shape when entering + protean mode; restore when exiting. + +1996-03-26 Richard Stallman + + * sh-script.el (sh-alias-alist): Recognize lignux. + + * dired.el (dired-chown-program): Recognize lignux. + + * gnus-cus.el (gnus-make-face, custom-declare): + Rename custom-asis to custom:asis. + +1996-03-25 Richard Stallman + + * files.el (set-visited-file-name): Don't call find-buffer-visiting + if filename is nil. + + * custom.el (custom:asis): Renamed from custom-asis. + + * mouse.el (mouse-buffer-menu): Keep the order of buffers straight. + + * timer.el (timer-event-handler): Record the last few events. + +1996-03-24 Richard Stallman + + * sh-script.el (sh-shell-arg): Add no options for bash, ksh, or wksh. + + * ange-ftp.el (ange-ftp-wait-not-busy): New subroutine. + Kill ftp process if user quits. + (ange-ftp-raw-send-cmd): Use that. + (ange-ftp-fix-dir-name-for-cms): Fix error message. + + * timer.el (timer-event-handler): Inhibit quitting. + +1996-03-24 Jonathan Kamens + + * terminal.el (te-terminal-name-prefix): Change from + "emacs-virtual" to "emacs-em", so that things will work on systems + which allow only short terminal-type names. + (terminal-emulator): Delete the hyphen between + te-terminal-name-prefix and the width and height of the window. + (te-create-terminfo): Reformat the terminfo entry slightly. + + * terminal.el (te-terminfo-directory): New variable. + (te-create-terminfo, te-tic-sentinel): Use te-terminfo-directory. + +1996-03-23 Richard Stallman + + * timer.el (timer-set-time): Don't set usecs to nil. + (timer-duration): Return nil if junk at end of string. + Handle just a number--treat it as number of seconds. + + * ange-ftp.el (ange-ftp-dired-call-process): Return 1 if error. + (ange-ftp-call-chmod): If ftp chmod cmd fails, try rsh. + (ange-ftp-remote-shell): New variable. + + * timer.el (timer-event-handler): Catch errors when running the event. + + * ange-ftp.el (ange-ftp-call-chmod): Return proper value. + +1996-03-23 Per Abrahamsen + + * custom.el (custom-type-properties): + Use custom-asis instead of as-is. + (custom-asis): Set it to itself. + * gnus-cus.el: Use custom-asis instead of as-is. + +1996-03-22 Michelangelo Grigni + + * ffap.el: Doc fixes. Reorganized. Retired v18 support. + (ffap-bindings): Offers a default installation. + (ffap-string-at-point): Modified arguments. + (ffap-gnus-hook): Updated for Gnus 5. + (ffap-tex-init): Delayed initialization of `ffap-tex-path'. + (ffap-dired): New entry in `ffap-alist'. + (ffap-menu-rescan): May fontify the choices in buffer. + (ffap-read-file-or-url): `PC-completion-as-file-name-predicate' + used if available, to work with complete.el. + +1996-03-22 Richard Stallman + + * faces.el (x-frob-font-slant): Properly handle a match against + x-font-regexp-head. + (x-frob-font-weight): Separate two cond cases by analogy with + x-frob-font-slant. + + * vc.el (vc-update-change-log): Use add-log-full-name and + add-log-mailing-address only if non-nil. + + * add-log.el (add-log-full-name, add-log-mailing-address): + Add autoload cookies. + +1996-03-22 + + * gomoku.el: Ancient leading comment removed. + (gomoku-mode-map): Added numeric keypad for 8 directions, changed + comments to lowercase (C-c rather than C-C), added SPC to play and + undo's binding to go back. + (gomoku-emacs-won, gomoku-font-lock-O-face, gomoku-font-lock-X-face) + (gomoku-font-lock-keywords): New variables. + (gomoku-mode): Use it and make buffer read-only for user. + (gomoku-terminate-game): Remove (ding) -- maybe should be optonal. + (gomoku-init-display): Rewritten, makes fields intangible so you + can't go in between. Make free fields have mouse-face. + (gomoku-cross-qtuple): Take account of intangible text, and that + empty lines are now really empty. + (gomoku-move-left, gomoku-move-right): Removed thanks to intangibility. + (gomoku-move-ne, -se, -nw, -sw): Use normal left / right motion. + +1996-03-22 Lars Magne Ingebrigtsen + + * elp.el (elp-instrument-package): Don't instrument keymaps and + autoloaded functions. + +1996-03-21 Richard Stallman + + * cplus-md.el (indent-c++-exp): Use calculate-c-indent-after-brace. + (c++-mode): Require c-mode. + + * gnus-cus.el (custom-declare): Change `as' to `as-is'. + +1996-03-21 Per Abrahamsen + + * custom.el (custom-type-properties): Add new type `triggle' for + use with "boolean" face properties. + +1996-03-20 Richard Stallman + + * sh-script.el (sh-font-lock-keywords): Highlight \ only with + non-alphanumeric. + +1996-03-19 Richard Stallman + + * edebug.el (edebug-eval-defun): Convert defvar to defconst. + + * gnus-cus.el (gnus-make-face): Redo Feb 20 change. + + * custom.el (custom-face-hack): Avoid evalling the args + in the list that the export function returns. + + * inf-lisp.el (switch-to-lisp): Sometimes turn on pop-up-frames. + + * fill.el (fill-region-as-paragraph): Fix the second check for + whether we reached the end of the paragraph. + +1996-03-18 Karl Heuer + + * window.el (count-windows): Doc fix. + +1996-03-18 Francesco Potorti` + + * simple.el (insert-buffer): Interactive default changed to a more + reasonable one. + +1996-03-17 Richard Stallman + + * fill.el (fill-context-prefix): Unused var `eol' deleted. + +1996-03-16 Geoff Voelker + + * term/win32-win.el: Don't define backspace, M-backspace, delete, + and M-delete; they are already defined in winnt.el. + +1996-03-16 Richard Stallman + + * replace.el (occur): If no matches, just display in echo area. + + * emacsbug.el (report-emacs-bug): Use a different address + for pretest versions. + + * comint.el (comint-exec-1): Use dumb instead of unknown, for terminfo. + +1996-03-14 Roland McGrath + + * compile.el (compilation-find-buffer): Only choose + compilation-last-buffer if it is compilation-buffer-p. + +1996-03-14 Richard Stallman + + * map-ynp.el (map-y-or-n-p): Fix previous change. + Delete autoload cookie (file is preloaded). + + * imenu.el (imenu-generic-expression): + Autoload the make-variable-buffer-local call. + +1996-03-12 Richard Stallman + + * lisp-mode.el (lisp-fill-paragraph): Treat code-and-comment + case specially. + +1996-03-11 Lars Magne Ingebrigtsen + + * gnus-cus.el (gnus-make-face): Undo Feb 20 change. + +1996-03-08 Ethan Bradford + + * mailalias.el (mail-get-names): Understand "+username" format for + /etc/passwd lines. + +1996-03-08 Richard Stallman + + * imenu.el (imenu--menubar-select): Handle the "rescan" item. + (imenu--mouse-menu): Pass proper arg to x-popup-menu. + +1996-03-08 Gregory Neil Shapiro + + * mailabbrev.el (mail-abbrev-modtime): New variable. + (mail-abbrevs-sync-alaises): New function. Updates mail-abbrevs if + modtime of mail-personal-alias-file is different than + mail-abbrev-modtime. + (mail-abbrevs-setup): Call mail-abbrevs-sync-aliases. + +1996-03-08 Erik Naggum + + * cl-extra.el (equalp): Use string-equal on strings. + +1996-03-08 Richard Stallman + + * menu-bar.el (menu-bar-tools-menu): Delete ediff-doc and + eregistry items. + + * help.el (describe-mode): Handle minor mode w/o mode line indicator. + + * bibtex.el (bibtex-version): Variable deleted. + (bibtex-submit-bug-report): Don't use that. + +1996-03-07 Richard Stallman + + * rmailsum.el (rmail-make-basic-summary-line): Limit line count + to reformatted header if we have reformatted it. + + * ehelp.el (with-electric-help): Make buffer read-only as last thing. + +1996-03-07 Simon Marshall + + * font-lock.el (font-lock-set-defaults): Also test font-lock-keywords + against compiled null keywords. + + * rmail.el (rmail-fontify-buffer-function): Fontify any message here. + +1996-03-07 Richard Stallman + + * font-lock.el (font-lock-fontify-block): + Use facemenu-keymap to make the binding. + +1996-03-06 Espen Skoglund + + * pascal.el (pascal-declaration-end): Now locates the end of a + parameterlist correctly. + (electric-pascal-tab): Never indented a line when + pascal-tab-always-indent was set to nil. + (pascal-indent-case): Now locates the end of a case-statement + correctly. + +1996-03-06 Richard Stallman + + * tar-mode.el (tar-subfile-mode): Doc fix. + (tar-extract): Call tar-subfile-mode after setting buffer-read-only + and the buffer modified flag. + +1996-03-06 Stefan Schoef + + * bibtex.el (bibtex-pop): New generic function which unifies the + functionality of bibtex-pop-previous and bibtex-pop-next. Now, + bibtex-pop moves to the end of field after the pop. Concatenated + strings are now handled correctly. Delimiters are not added to + non-delimited entries. Changed occurences of + bibtex-text-in-cfield to bibtex-text-in-field. + (bibtex-pop-previous, bibtex-pop-next): Call bibtex-pop. + (bibtex-complete-string): Fixed bug that removed delimiters + around the following field if current field is already + undelimited on completion. + (bibtex-complete-string, bibtex-remove-double-quotes-or-braces): + Only remove delimiters if field text is not concatenated. + (bibtex-font-lock-keywords): Use the same regexps used + in all other places of bibtex.el to parse the buffer. + (bibtex-mode): Changed the definition of font-lock-defaults, + so that quote-delimited entries aren't fontified as strings anymore. + (bibtex-parse-keys): Changed the regexp used for finding + crossref entries. + (bibtex-field-const, bibtex-reference-key): Fixed the regexp + to match more of the characters allowed here by BibTeX/LaTeX. + (bibtex-field-name): Made it less restrictive. + (bibtex-field-string): Changed so that quote-delimited entries + with quotes inside aren't a problem anymore. Changed nesting + level of braces in entries to support three inner braces. + (bibtex-validate-buffer): By giving an optional argument, the + user can now let it not validate the whole buffer, but only + the portion starting at point. Small modification in strategy + used to find next entry. + (bibtex-print-help-message): Ignore case in field name when + searching for help text. + (bibtex-submit-bug-report): New function. + +1996-03-06 Richard Stallman + + * saveplace.el (save-place-kill-emacs-hook): + Always call save-places-to-alist. + + * profile.el (profile-convert-byte-code): New function. + (profile-a-function): Use profile-convert-byte-code. + + * bytecomp.el (post-command-idle-hook, post-command-idle-delay): + Mark obsolete. + + * complete.el (PC-completion-as-file-name-predicate): + Replace PC-do-completion-filename-completers. + (PC-do-completion): Use that. + +1996-03-05 Richard Stallman + + * cl-extra.el (equalp): Correctly compare last elt of two lists. + + * mailabbrev.el (mail-abbrevs-setup): Doc fix. + + * texinfo.el (texinfo-section-types-regexp) + (texinfo-section-level-regexp, texinfo-subsection-level-regexp) + (texinfo-subsubsection-level-regexp): Add defvars. + +1996-03-05 Per Abrahamsen + + * texinfo.el (texinfo-section-list): New variable. + (texinfo-outline-level): New function. + (texinfo-mode): Use them. + +1996-03-05 Richard Stallman + + * complete.el (PC-do-completion-filename-completers): New variable. + (PC-do-completion): Use it. + + * desktop.el: Global vars mam, fn, bn, misc renamed. + (desktop-buffer-misc): Renamed from misc. Add defvar. + (desktop-buffer-major-mode): Renamed from mam. Add defvar. + (desktop-buffer-file-name): Renamed from fn. Add defvar. + (desktop-buffer-name): Renamed from bn. Add defvar. + (desktop-create-buffer, desktop-buffer): Use new names. + +1996-03-04 Richard Stallman + + * desktop.el (desktop-list*): New function. + (desktop-internal-v2s): Generate output using desktop-list*. + + * saveplace.el (save-place-kill-emacs-hook): Don't save + if we never loaded the save-place-file. + + * rmail.el (unforward-rmail-message): Add autoload declaration. + * undigest.el (unforward-rmail-message): Delete autoload cookie. + + * rmail.el (rmail-unix-mail-delimiter): Don't accept newlines in month. + +1996-03-03 Richard Stallman + + * indent.el (beginning-of-line-text): + Check adaptive-fill-regexp is non-nil. + + * dunnet.el: Require cl only when compiling. + (scroll-step): Don't set it globally. + (dun-mode): Set scroll-step locally. + +1996-03-03 Per Abrahamsen + + * texinfo.el (texinfo-font-lock-keywords): Fixed regexp for `@end' + and `@item'. + +1996-03-03 Richard Stallman + + * dired-aux.el (dired-compress-file-suffixes): New variable. + (dired-compress-file): Use that to control file naming. + +1996-03-02 Richard Stallman + + * font-lock.el (global-map): Change C-M-g to M-g M-g. + + * cc-mode.el (set-c-style): Autoload the definition. + (c-set-style): Add autoload cookie. + +1996-03-01 Johan Vromans + + * forms.el (forms-insert-after): + New variable. Non-nil means: inserts of new + records go after current record, also initial position is at last + record. + (forms-mode, forms-insert-record): Use it. + +1996-03-01 Richard Stallman + + * files.el (set-visited-file-name): Query if there's already another + buffer visiting this file. + + * startup.el (command-line-normalize-file-name): Do save-match-data. + + * imenu.el (imenu--menubar-select): No longer interactive. + (imenu-create-submenu-name): Function deleted. + (imenu-example--create-lisp-index): Don't use it. + (imenu--generic-function): Don't use imenu-create-submenu-name. + (imenu-submenu-name-format): Variable deleted. + (imenu--split-menu): Use TITLE as the head of the new list. + Don't split if everything fits in one level. + (imenu--split-submenus): New function. + (imenu-update-menubar): Use imenu--split-submenus. + (imenu--mouse-menu): Use imenu--split-submenus. + + * imenu.el (imenu-submenu-name-format): Delete the `...'. + + * skeleton.el: Add provide call. + +1996-02-29 Richard Stallman + + * simple.el (backward-delete-char-untabify): + Don't handle overwrite-mode here (done in delete-backward-char). + +1996-02-29 Simon Marshall + + * lisp-mode.el (emacs-lisp-byte-compile-and-load): Correct logic. + +1996-02-28 Richard Stallman + + * server.el (server-process-filter): + Use command-line-normalize-file-name. + + * startup.el (command-line-normalize-file-name): + Convert /// at beginning to just /. + + * iso-acc.el (iso-languages): Add ~? and ~!. + +1996-02-28 Simon Marshall + + * font-lock.el (turn-on-font-lock-if-enabled): Bind inhibit-quit. + (font-lock-value-in-major-mode): New function to process alists. + (font-lock-mode, font-lock-set-defaults): Use it. + (font-lock-choose-keywords): Don't process alists here. + (global-font-lock-mode): Show message if extra arg MESSAGE is non-nil. + + * subr.el (get-buffer-window-list): Take args like next-window not + get-buffer-window. + + * timer.el (timer-set-time, timer-set-time-with-usecs): Doc fix. + (run-at-time, with-timeout): Doc fix. + (run-with-timer): Just call run-at-time. + (timer-set-idle-time): New function. + (run-with-idle-timer): Use it to set the idle time. + Doc fix. Fix interactive code. + + * time.el (display-time): Just use run-at-time to start the timer. + + * paren.el: (show-paren-delay): New variable. + (show-paren-mode): New command. Use it. Call it at the top-level. + (show-paren-mode, show-paren-idle-timer): New variables. + (show-paren-function): Renamed from show-paren-command-hook. + +1996-02-27 Richard Stallman + + * levents.el (timeout-event-p): Function deleted. + + * compile.el (compilation-parse-errors): + Collapse //'s using command-line-normalize-file-name. + + * startup.el (command-line-normalize-file-name): + Don't collapse // at start of file name. + + * server.el (server-process-filter): + Don't collapse // at start of file name. + + * frame.el (handle-delete-frame): Use save-buffers-kill-emacs. + + * time.el (display-time): Use rmail-after-get-new-mail-hook. + + * rmail.el (rmail-get-new-mail): Run rmail-after-get-new-mail-hook. + +1996-02-27 Richard Stallman + + * iso-transl.el (iso-transl-dead-key-alist): Fix syntax for ?^. + +1996-02-26 Mark Osbourne + + * hexl-mode.el (hexl-mode-exit, hexl-maybe-dehexlify-buffer): + Corrected write-contents-hook to write-contents-hooks. + +1996-02-26 Richard Stallman + + * tpu-edt.el (tpu-load-xkeys): Fix previous change. + + * make-mode.el (makefile-runtime-macros-list): Add + to the list. + +1996-02-26 Karl Heuer + + * cal-china.el, cal-islam.el: Renamed from cal-chinese.el and + cal-islamic.el to avoid 14-character limitation. + * calendar.el, diary-lib.el, holidays.el: Fix autoload references. + +1996-02-26 Richard Stallman + + * iso-acc.el (iso-acc-minibuf-setup): New function. + Add it to minibuf-setup-hook. + +1996-02-26 Erik Naggum + + * rmailsum.el (rmail-make-basic-summary-line): Fix previous change. + + * rmail.el (rmail-clear-headers): Bind case-fold-search to t + across the whole function. + +1996-02-25 Richard Stallman + + * sendmail.el (mail-mode-map): Bind M-TAB to mail-complete. + + * mailalias.el (mail-complete): Add autoload cookie. + + * undigest.el (unforward-rmail-message): Add autoload cookie. + +1996-02-26 Paul Eggert + + * vc-hooks.el (vc-find-cvs-master): Don't require a "/" after the + modification time in CVS/Entries, since the time may be followed + by a conflict notice (in CVS 1.7) or by some other value (in CVS 1.3). + +1996-02-25 Richard Stallman + + * vc-hooks.el (vc-follow-link): Kill buffer before creating new one. + + * finder.el (finder-compile-keywords-make-dist): New function. + + * emerge.el (emerge-combine-versions-template): Make the + generated comments on the #else and #endif follow the GNU standards. + + * ps-print.el (ps-generate): Bind inhibit-read-only. + + * info.el (Info-index): If fail, go back to original node. + (Info-find-node): Make error messages consistent. + (Info-insert-dir): Fix error message. + +1996-02-24 Lars Magne Ingebrigtsen + + * mail-utils.el (rmail-dont-reply-to): Allow parsing lists of + addresses with comment fields. + +1996-02-23 Richard Stallman + + * imenu.el (imenu-add-to-menubar): Add menu item for current buf only. + (imenu-update-menubar): Never add menu item here. + + * undigest.el (unforward-rmail-message): + Handle any kind of forwarding delimiters. + +1996-02-23 Lars Magne Ingebrigtsen + + * nntp.el (nntp-request-post): Clear the server buffer before + sending text to the server. + +1996-02-23 Richard Stallman + + * decipher.el: Load cl within eval-when-compile. + (decipher-font-lock-keywords): Fix doc patching error. + + * sendmail.el (mail-mode): Treat `-- ' line as paragraph separator. + + * vc-hooks.el (vc-follow-link): Simplify by taking advantage + of Feb 21 change in find-file-noselect. + +1996-02-22 Richard Stallman + + * man.el (man): Don't call Man-init-defvars here. + Do it at top level instead. + (Man-init-defvars): Now a defun, not a defsubst. + Don't set Man-uses-untabify-flag. + (Man-uses-untabify-flag): Add doc string. Make default value t. + (Man-filter-list): Add doc string. + + * rmailsum.el (rmail-make-basic-summary-line): Less space before subj. + +1996-02-22 Andre Spiegel + + * vc-hooks.el: (vc-follow-link): New function. + (vc-find-file-hook): Use it. + +1996-02-22 Erik Naggum + + * fill.el (fill-region-as-paragraph): Doc fix. + + * comint.el (make-comint, comint-run): Fix autoload cookie. + +1996-02-21 Christopher J. Madsen + + * decipher.el (decipher-mode): Removed nonstandard font-lock support. + (decipher-make-checkpoint, decipher-resync): Removed special + support for font-lock. + (decipher-resync): Removed `$' from regexps. + (decipher-set-map): Use font-lock-fontify-region-function. + (decipher-font-lock-keywords): Removed newlines from regexps. + (decipher-use-font-lock): Deleted. + (decipher-toggle-font-lock, decipher-turn-on-font-lock): Deleted. + +1996-02-21 Richard Stallman + + * vc-hooks.el: Move all the put's for menu-enable props to top level. + (vc-next-action, vc-toggle-read-only): Enable whenever vc-mode. + + * startup.el (before-init-hook, after-init-hook): Doc fix. + (term-setup-hook): Doc fix. + (emacs-startup-hook): New defvar. + + * paren.el: Use run-with-idle-timer, not post-command-idle-hook. + + * rnewspost.el (news-reply-mode-map): Delete news-reply-signature. + (news-reply-signature): Improve the message. + + * ps-print.el (ps-generate-postscript-with-faces): + Handle buffer-invisibility-spec when interpreting the invisible prop. + + * lisp-mode.el (lisp-fill-paragraph): When filling a comment, + find paragraph bounds by hand, and pass the SQUEEZE-AFTER arg + to fill-region-as-paragraph. + + * fill.el (fill-region-as-paragraph): New arg SQUEEZE-AFTER. + + * doctor.el: More censorship. + + * undigest.el (unforward-rmail-message): New command. + + * cplus-md.el (c++-mode-syntax-table): Don't use c-mode-syntax-table. + + * timer.el (run-with-idle-timer): New function. + (timer-create, timerp): Leave a slot for idle-delay. + (timer-activate-when-idle): New function. + (timer-event-handler): Handle idle-delay timers specially. + (cancel-timer, cancel-function-timers): Handle idle-delay timers. + + * perl-mode.el (perl-imenu-generic-expression): Recognize packages. + + * rnewspost.el (news-reply-yank-message-id, news-reply-yank-from): + Fix swapped args in defvars. + + * simple.el (shell-command): Call file name handler. + + * imenu.el (imenu-buffer-menubar): Add defvar. + (imenu-update-menubar): Make a buffer-specific copy of the local map. + + * ange-ftp.el (dired-call-process): Put on ange-ftp property. + * dired-aux.el (dired-call-process): Call file name handler. + + * files.el (find-file-noselect): If after-find-file switches buffers, + return the buffer that it leaves current. + + * derived.el (derived-mode-merge-syntax-tables): Use inheritance. + + * dunnet.el (dun-urinate): Renamed. + (dun-verblist): Indecent word deleted. + (dunnet): Print "censored" message. + + * time.el (display-time-update): New subroutine broken out from + display-time-event-handler. + + * time.el (display-time): Add hook to rmail-get-new-mail-hook. + + * rmail.el (rmail-get-new-mail): Don't mess with display-time here. + +1996-02-21 Boris Goldowsky + + * fill.el (canonically-space-region): Use insert-before-markers + when inserting spaces at end of line. + +1996-02-21 Anders Lindgren + + * follow.el: Update some doc string. Call `add-minor-mode'. + (follow-windows-start-end-cache, follow-cache-command-list): + New variables. + (follow-cache-valid-p, follow-invalidate-cache): New functions. + (follow-windows-start-end, follow-post-command-hook, + follow-generic-filter): Cache support added. + (follow-avoid-tail-recenter): Problem with minibuffer-only + frames corrected. + (follow-windows-aligned-p): Minor change. + +1996-02-21 Roland McGrath + + * compile.el (compilation-minor-mode): Run compilation-minor-mode-hook. + + * c-mode.el: Added provide. + +1996-02-20 Lars Magne Ingebrigtsen + + * gnus-msg.el (gnus-inews-insert-headers): Check whether Sender + and From are equal before inserting a Sender header. + + * nnheader.el (nnheader-insert-head): Make sure the entire head of + the article is inserted. + + * gnus-cus.el (gnus-make-face): + Use `as-is' parameters to `custom-face-lookup'. + +1996-02-20 Erik Naggum + + * finder.el: Removed (require 'picture). + (finder-insert-at-column): New function. + (finder-list-keywords, finder-list-matches): Use it. + +1996-02-19 Karl Heuer + + * files.el (interpreter-mode-alist): Add mawk. + (set-auto-mode): Allow either space or tab in #! line. + +1996-02-19 Christopher J. Madsen + + * decipher.el (decipher-mode): Added special support for font-lock. + (decipher-set-map, decipher-insert): Likewise. + (decipher-make-checkpoint, decipher-resync): Likewise. + (decipher-use-font-lock, decipher-font-lock-keywords): New vars. + (decipher-toggle-font-lock, decipher-turn-on-font-lock): New funcs. + +1996-02-16 Michael Kifer + + * viper-mous.el (vip-mouse-click-insert-word): Fixed a typo. + + * viper-macs.el (ex-map-read-args,ex-unmap-read-args): Fixed messages. + (vip-events-to-macro): Delete nil in macro definitions. + (vip-events-to-macro): Discard events represented as lists in + macro definitions. + + * menu-bar.el: Added [ediff-doc] and [eregistry] to + menu-bar-tools-menu. + + * ediff-util.el: Changed file name length from 8 to 7 under DOS. + (ediff-make-temp-file): Should work with DOS now. + (ediff-copy-list): Made cl-independent. + + * ediff-util.el, ediff-diff.el, ediff-wind.el: + Added face support for XEmacs TTY and DOS. + + * ediff-util.el, ediff-wind.el, ediff-init.el + (ediff-prefer-long-help-message): renamed into + ediff-use-long-help-message. + + * ediff-init.el, ediff-wind.el: Fixed make-ctl-frame for xemacs. + + * ediff-wind.el (ediff-setup-control-frame): Control frame's + surrogate minibuffer changes without the need to delete the frame. + + * ediff-merg.el: Changed some defaults. + + * ediff-mult.el (ediff-show-meta-buffer): Protected against errors + when meta-buffer is invisible. + + * ediff-wind.el (ediff-skip-unsuitable-frames): Won't select small + frames any more. + (ediff-setup-control-frame): Won't grab mouse on quit. + + * ediff-hook.el: Added Ediff Manual. + + * ediff.el, ediff-util.el (ediff-make-temp-file): Preserves buffer + file names as much as possible. + + * ediff-util.el (ediff-compute-custom-diffs-maybe): Now handles + temp file names correctly. + (ediff-intersection, ediff-union, ediff-set-difference, + ediff-copy-list): Functions modified. + (ediff-union, ediff-intersection, ediff-set-difference): New + functions. Moved ediff-documentation to ediff.el. + + * ediff.el: Made all Ediff faces hidden from facemenu. + + * ediff-init.el (ediff-hide-face): New function. + (ediff-collect-diffs-metajob): Fixed. + (ediff-check-for-cl-seq): Function deleted + (ediff-abbreviate-file-name): Now a defun. + (ediff-has-face-support-p): New function. Ediff now supports + faces whenever possible. + (ediff-force-faces): New variable. + + * ediff-diff.el (ediff-set-diff-overlays-in-one-buffer): Takes + advantage of advance-front/rear features of overlays. Works + synchronously for DOS, Windows. + + * ediff-util.el (ediff-copy-diff,ediff-pop-diff, + ediff-make-bullet-proof-overlay): These now take advantage of + advance-front/rear features of overlays. + + * ediff.el (ediff-patch-file): Epatch now ignores VERSION_CONTROL + environment variable and prevents the use of the -V option in GNU + diff. + (run-ediff-from-cvs-buffer): New function. Moved all + version-control-related stuff to a new file, ediff-vers.el. + + * ediff-util.el (ediff-save-buffer-in-file): New function + (ediff-visible-region): No longer narrows the merge buffer. + (ediff-status-info): Now tells if we are focusing on regions where + both buffers differ from the ancestor. + (ediff-jump-to-difference, ediff-get-diff-posn): Changed message. + (ediff-compute-custom-diffs-maybe): Now works for merge jobs. + + * ediff-mult.el: Now uses ediff-check-for-cl-seq to make sure + cl-seq is loaded. + (ediff-append-custom-diff): Finds custom diffs in more cases. + Ediff is no longer dependent on cl.el. Added ediff-union to + smooth out the possible differences between common emacs + intersection/union and cl.el. + + * viper.el: Added face support for devices that have faces. + (vip-forward-paragraph,vip-backward-paragraph): Now work + corretly when they are used as motion specs in other commands. + (vip-set-hooks): Added viper to tcl-mode-hook. + + * viper-util.el (vip-has-face-support-p,vip-abbreviate-file-name): + New functions. + (vip-force-faces): New variable. + + * viper-keym.el: Added special binding (vip-handle-!) for `!' in + ex-read-filename-map. + + * viper-ex.el (vip-handle-!): New function. + (vip-ex-read-file-name): Now handles SPC correctly in :r !cmd + and :w !cmd. + +1996-02-15 Karl Heuer + + * imenu.el (imenu--generic-function): Ignore text properties. + + * files.el (auto-mode-alist): Recognize GNUmakefile. + Recognize .itcl and .itk suffixes. + + * ange-ftp.el (ange-ftp-default-user): Doc fix. + +1996-02-15 Eli Zaretskii + + * info.el (info-insert-file-contents-1) [MSDOS]: Remove leading + dot only from non-empty suffixes. + +1996-02-15 Christopher J. Madsen + + * decipher.el: Doc changes. + (decipher-char): Added defvar (and also for following variables). + (decipher--prev-char): Renamed from decipher-prev-char. + (decipher--digram): Renamed from digram. + (decipher--digram-list): Renamed from digram-list. + (decipher--before): Renamed from before-array. + (decipher--after): Renamed from after-array. + (decipher--freqs): Renamed from freq-array. + +1996-02-15 Francesco Potorti` + + * hanoi.el (hanoi): Compute height and width of the window in the + correct way, give the correct error message if the window is too + small. Make rings only with numerical characters. Set default + number of rings to 7 (was 3 before). + +1996-02-15 Erik Naggum + + * gnus-kill.el (gnus-kill-file-kill-by-thread): Correct + interactive declaration. + +1996-02-15 Ed Reingold + + * cal-coptic.el (ethiopic-calendar-epoch): Correct value. + (ethiopic-calendar-month-name-array): Fix spelling. + (coptic-calendar-month-name-array): Fix spelling. + +1996-02-13 Karl Heuer + + * vc-hooks.el (vc-consult-rcs-headers): Ignore text properties. + + * startup.el (command-line-1): Don't explain recover-session if + auto-save-list-file-prefix is nil. + +1996-02-13 Francesco Potorti` + + * hanoi.el (hanoi): Don't show line and column numbers. + +1996-02-12 Roland McGrath + + * compile.el (compilation-parse-errors): Detect doubled slashes in + file names matched and fix them up in the buffer. + +1996-02-12 + + * mailalias.el (mail-names, mail-local-names, mail-directory-names) + (mail-address-field-regexp, mail-complete-alist) + (mail-complete-function, mail-directory-function) + (mail-directory-requery, mail-directory-process, mail-directory-stream) + (mail-directory-parser): New variables. + (expand-mail-aliases): Use `mail-address-field-regexp'. + (build-mail-aliases): Use space in buffer-name semantics. + (define-mail-alias): Reset `mail-names' to t. + (mail-complete): New command. + (mail-get-names, mail-directory, mail-directory-process) + (mail-directory-stream, mail-sentto-newsgroups): New functions. + +1996-02-11 Richard Stallman + + * startup.el (command-line): On windows NT, look for .emacs or _emacs. + +1996-02-11 Eli Zaretskii + + * paren.el (show-paren-command-hook): Position show-paren-overlay-1 + properly when first creating it (just like when moving it). + +1996-02-10 Richard Stallman + + * info.el (Info-find-index-name): New subroutine, from Info-index-next. + Match any type of definition, not just Function and Command. + (Info-index-next): Use Info-find-index-name. + (Info-find-node, Info-index, Info-index-next): Use `...' in err msgs. + + * doctor.el (doctor-mode): State that file has been censored. + +1996-02-09 Richard Stallman + + * picture.el (picture-mode-map): Install picture-self-insert + where completion has put its own self-insert commands. + + * cc-mode.el (c++-mode): + Delete duplicate setq of imenu-generic-expression. + +1996-02-09 Karl Heuer + + * f90.el (f90-indent-subprogram): Fix message. + +1996-02-09 Richard Stallman + + * gnus-ems.el: File censored. + +1996-02-09 Lars Magne Ingebrigtsen + + * nntp.el (nntp-send-region-to-server): Use a temporary buffer to + send text to the server. + + * ediff-init.el: Make sure `facemenu-unlisted-faces' is bound. + +1996-02-09 Richard Stallman + + * info.el (info): Doc fix. + + * add-log.el (add-log-current-defun): In Lisp, if we don't find a + real defun, return nil, not "". + + * term-nasty.el: Censored. + + * decipher.el: Load cl only when compiling. + +1996-02-08 Richard Stallman + + * rmail.el (rmail-find-all-files): In a directory, ignore `.' and `..'. + +1996-02-08 Christopher J. Madsen + + * decipher.el: New file. + +1996-02-08 Simon Leinen + + * sgml-mode.el (html-tag-alist): Within the
tag + generated with an tag, use `user-mail-address'. + +1996-02-08 Eli Zaretskii + + * term/pc-win.el (x-display-pixel-height, x-display-pixel-width): + Make the returned value consistent with one-pixel-per-character. + +1996-02-08 Simon Marshall + + * subr.el (get-buffer-window-list): New function. + + * font-lock.el (turn-on-font-lock): Turn on only if supported. + (turn-on-font-lock-if-enabled): Don't test if supported here. + Renamed from turn-on-font-lock-if-supported. + +1996-02-07 Richard Stallman + + * lisp-mnt.el: Change defconst into defvar. + Many doc fixes. + +1996-02-07 Roland McGrath + + * timer.el (run-at-time): Handle numbers as relative times in + seconds, as the original code did. + +1996-02-06 Barry Warsaw + + * cc-mode.el (c-common-init): Fix typo. + + * cc-mode.el (c++-mode-map, objc-mode-map, java-mode-map): + In XEmacs, use set-keymap-parents if it is fboundp. + + * cc-mode.el (c-delete-backslash): + Sync with old-c-mode.el. Given by Ben Wing . + + * cc-mode.el (c-emacs-features): + Determine which paragraph filling regexp suite to use based on the + Emacs version number. + + (c-fill-paragraph): Use the paragraph filling regexp suite as + determined in c-emacs-features. + + * cc-mode.el: + imenu is required in Emacs 19, but doesn't exist in XEmacs + + * cc-mode.el (c-site-default-style): New variable. + + * cc-mode.el: + (java-mode, java-syntax-table, java-mode-map, java-mode-abbrev-table): + New in support of Java. + + * cc-mode.el (c-common-init): Make comment-multi-line a local variable. + + * cc-mode.el (c-set-style): + Conditional up-casing of stylename for backwards compatibility. + + * cc-mode.el (c-backward-to-start-of-do): + Eliminate infinite loop in perverse cases. + + * cc-mode.el (c-electric-lt-gt): New command. + + * cc-mode.el (c-mode-map): + Only rebind M-q if fill-paragraph-function doesn't exist, as in + pre-Emacs 19.30. + + (c-common-init): Set fill-paragraph-function if it exists. + + * cc-mode.el (c-guess-basic-syntax): + CASE 5B.3: ansi-funcdecl-cont could include legal C++ `throw' + declaration. + + * cc-mode.el (c-offsets-alist): ansi-funcdecl-cont => + + + * cc-mode.el (c-beginning-of-statement-1): + Restore old CASE 3 logic -- checking for at a c-conditional-key. + + (c-guess-basic-syntax): CASE 5A.2: watch out for enum function + return types. CASE 15D: check for landing on a brace that opens a + nested function. + +1996-02-06 Richard Stallman + + * simple.el (text-read-only): New error symbol. + (kill-region): Use it when text has read-only text property. + (yank-pop): Turn on inhibit-read-only. + +1996-02-05 Jari Aalto + + * lisp-mnt.el (lm-header-prefix): New variable. + (lm-comment-column): defvar moved. + (lm-history-header, lm-commentary-header): New variables. + (lm-get-header-re, lm-get-package-name): New functions. + (lm-code-mark): defun --> defsubst. + (lm-history-mark, lm-commentary-mark): New functions. + (lm-header): Now accepts RCS ident style headers. + (lm-summary): Now accepts unix `what' commands prefix @(#). + (lm-crack-address, lm-authors, lm-maintainer, lm-insert-at-column): + (lm-creation-date, lm-last-modified-date, lm-version): + (lm-keywords, lm-adapted-by): Comments made into doc strings. + (lm-commentary): Added more tolerant 'cond' case. + Now uses functions lm-commentary-mark, lm-... to get points. + (lm-verify): Made interactive. Added more check points in the last + prog1 statement. + (lm-synopsis): Made interactive. + +1996-02-05 Lars Magne Ingebrigtsen + + * mail-extr.el (mail-extract-address-components): Accept strings + that end with double trailing quote marks. + +1996-02-04 Richard Stallman + + * lisp-mnt.el (lm-insert-at-column): Renamed from insert-at-column. + All callers changed. + (lm-synopsis): Add interactive spec. + + * view.el (View-search-last-regexp-forward) + (View-search-last-regexp-backward): Nice error if no prev regexp. + +1996-02-04 Lars Magne Ingebrigtsen + + * gnus.el (gnus-update-read-articles): Remove duplicated article + numbers on group exit. + (gnus-request-accept-article): Make sure there's a newline at the + end of the buffer. + (gnus-adjust-marked-articles): Don't remove illegal ticked + articles (for forwards compatability). + +1996-02-03 Lars Magne Ingebrigtsen + + * gnus.el (gnus-gnus-to-newsrc-format): Turn off version-control + before saving the .newsrc files. + + * gnus-msg.el (gnus-mail-reply-using-mail): Use the local keymap + instead of `mail-mode-map'. + +1996-02-03 Simon Marshall + + * shell.el (shell-mode): Set shell-dirstack-query for the ksh. + (shell-resync-dirs): Set shell-last-dir for the ksh. + +1996-02-02 Richard Stallman + + * view.el (view-mode-map): Don't call suppress-keymap. + + * ehelp.el (with-electric-help): + Bind inhibit-read-only around the erase-buffer. + (electric-help-form-to-execute): Renamed from to-be-executed. + Add defvar for it. + (electric-help-mode): Turn off view-mode. + +1996-02-02 Morten Welinder + + * timer.el (run-with-timer): Set repetition interval. + + * time.el (display-time): Rewrite to use built-in timers. + (display-time-event-handler): Renamed from display-time-filter; + now takes no parameters. + (display-time-sentinel): Function deleted. + (display-time-process): Variable deleted. + (display-time-timer): New variable. + +1996-02-02 Richard Stallman + + * files.el (auto-mode-alist): .ksh suffix means sh-mode. + (write-file): Interactively, prefix arg means don't confirm. + +1996-02-02 Simon Marshall + + * font-lock.el (font-lock-keywords): Doc fix. + (font-lock-defaults-alist): Use alists. + (font-lock-set-defaults, font-lock-unset-defaults): Cope with alists. + (font-lock-mark-block-function): New variable for block fontification. + (font-lock-fontify-block): New function. Use it here. + (font-lock-fontify-window): Deleted. + (font-lock-fontify-syntactically-region): Don't widen here. + (font-lock-default-fontify-region): Do it here. + (font-lock-default-fontify-buffer): Use font-lock-unfontify-buffer. + + * rmail.el (rmail-mode): Use alists for font-lock-defaults. + (rmail-fontify-buffer-function): Flag the buffer as fontified. + (rmail-unfontify-buffer-function): Remove all text properties. + +1996-02-02 Richard Stallman + + * ange-ftp.el (ange-ftp-default-user): Doc fix. + + * edmacro.el (edmacro-original-buffer, edmacro-finish-hook) + (edmacro-store-hook): Add defvars. + +1996-02-01 Richard Stallman + + * lisp-mode.el (lisp-mode-variables): Locally clear adaptive-fill-mode. + + * ange-ftp.el (ange-ftp-netrc-default-user): New variable. + (ange-ftp-netrc-default-password): + (ange-ftp-netrc-default-account): + (ange-ftp-get-user): Use ange-ftp-netrc-default-user. + (ange-ftp-get-passwd): Use ange-ftp-netrc-default-... + (ange-ftp-get-account): Likewise. + (ange-ftp-parse-netrc-group): Set ange-ftp-netrc-default-... + (ange-ftp-write-region): executing-macro -> executing-kbd-macro. + + * compile.el (compilation-filter): Run compilation-filter-hook. + +1996-01-31 Boris Goldowsky + + * format.el (format-deannotate-region): Fixed bug that created + double marking of multi-annotation text-properties (eg, bold-italic). + +1996-01-31 Richard Stallman + + * timer.el (run-at-time): Support relative time specs again. + (timer-duration): New function. + (timer-duration-words): New variable. + (timer-relative-time): New subroutine. + (timer-inc-time): Use timer-relative-time. + (timer-set-time, timer-set-time-with-usecs): Allow floating DELTA. + +1996-01-31 Caleb Deupree + + * winnt.el (mode-line-format): Include column-number-mode. + +1996-01-30 David Kegedal + + * sendmail.el (mail-setup): For mail-self-blind, use user-mail-address. + +1996-01-29 Richard Stallman + + * timer.el (timer-create): Init slot 0 to t. + +1996-01-29 Andreas Schwab + + * ada-mode.el (ada-indent-region, ada-check-matching-start, + ada-check-defun-name): Fix error format string. + * allout.el (outline-process-exposed): Likewise. + * bookmark.el (bookmark-load): Likewise. + * cpp.el (cpp-parse-error): Likewise. + * ediff-init.el (ediff-event-point, ediff-event-buffer): + Likewise. + * etags.el (visit-tags-table-buffer, tags-loop-scan, + complete-tag): Likewise. + * forms.el (forms--process-format-list): Likewise. + * gnus-ems.el (gnus-summary-insert-pseudos-xemacs): Likewise. + * hexl.el (hexl-hex-char-to-integer, hexl-oct-char-to-integer): + Likewise. + * info.el (Info-extract-pointer): Likewise. + * mh-seq.el (mh-read-seq): Likewise. + * mh-utils.el (mh-handle-process-error): Likewise. + * msb.el (msb--choose-menu): Likewise. + * nntp.el (nntp-send-strings-to-server, nntp-async-send-strings): + Likewise. + * reporter.el (reporter-dump-variable): Likewise. + * tq.el (tq-process-buffer): Likewise. + * vip.el (vip-execute-ex-command, ex-write): Likewise. + * viper-ex.el (vip-ex, ex-expand-filsyms, vip-execute-ex-command): + Likewise. + * viper-macs.el (vip-register-macro): Likewise. + * viper.el (vip-brac-function): Likewise. + +1996-01-29 Richard Stallman + + * sh-script.el (sh-shell-variables-initialized): New variable. + (sh-mode): Make sh-shell-variables and + sh-shell-variables-initialized local. + (sh-set-shell): Don't scan the buffer for variable assignments. + Set sh-shell-variables-initialized to nil. + (sh-shell-initialize-variables): New function. + (sh-add-completer): New function. Initialize sh-shell-variables + here if not yet done. + (sh-add): Use sh-add-completer for completion. + + * timer.el (timer-event-handler): Timer event is now a list, + not just a cons. + + * faces.el (face-color-gray-p): Return nil if x-color-values does. + + * timer.el (with-timeout): New macro. + (with-timeout-handler): New function. + (y-or-n-p-with-timeout): New function. + (add-timeout, timeout-event-p): New functions. + (run-with-timer): Renamed from run-after-delay. + (run-at-time, run-with-timer): Return the timer. + +1996-01-28 Richard Stallman + + * timer.el (run-after-delay): Add autoload cookie. + Delete USECS arg. Let REPEAT be a float. + + * timer.el (timer-inc-time): New function. + (run-at-time): Use that. + (run-after-delay): New function. + + * timer.el: Add a usecs slot to each timer. + Almost all functions changed. + +1996-01-28 Eli Zaretskii + + * cmacexp.el (c-macro-preprocessor): Define a preprocessor name + which is valid on MS-DOS. + (c-macro-expansion): Do not rely on ``/tmp/'' being present; use + environment variables as alternatives (MSDOS). Use + `shell-file-name' rather than ``sh''. Redirect `stderr' with + `call-process-region' option, not from the shell. Handle shells + which don't return exit code from `cpp' (MSDOS). Put messages + from `cpp' inside a comment, to avoid messing up syntax + highlighting. + +1996-01-28 Morten Welinder + + * timer.el: Complete rewrite to use built-in timer feature. + +1996-01-28 Richard Stallman + + * files.el (list-directory): Set default-directory better if the + argument is a directory's file name. + +1996-01-28 Erik Naggum + + * apropos.el (apropos-print): Fix previous change. + +1996-01-27 Richard Stallman + + * edmacro.el (edit-kbd-macro): Reject empty cmd name. + + * macros.el (name-last-kbd-macro): Reject empty cmd name. + + * apropos.el (apropos-print): Omit key sequences that contain a frame. + +1996-01-26 Richard Stallman + + * ispell.el (ispell-help): Use set-minibuffer-window. + + * dired.el (dired-get-filename): When quoting " chars, + handle all of them, including one at start of file name. + + * startup.el (command-line-normalize-file-name): New function. + (command-line-1): Call it to handle foo//bar in non-Emacs fashion. + + * server.el (server-process-filter): + In file name, collapse multiple slashes to one. + +1996-01-26 Michael Kifer + + * viper.el, viper-macs.el, viper-util.el, viper-mous.el: + Moved functions around to minimize compiler warnings. + +1996-01-26 Richard Stallman + + * tex-mode.el (tex-face-alist, tex-latex-face-alist): New variables. + (tex-common-initialization): Set facemenu-add-face-function, + facemenu-end-add-face, facemenu-remove-face-function. + + * vc.el (vc-diff): Make NOT-URGENT default to t. + +1996-01-26 Simon Marshall + + * font-lock.el (font-lock-after-unfontify-buffer): New function. + (font-lock-default-unfontify-buffer): Use it. + (font-lock-fontify-buffer-function): + (font-lock-unfontify-buffer-function): + (font-lock-fontify-region-function): + (font-lock-unfontify-region-function): + (font-lock-inhibit-thing-lock): New variables for Local Fontification. + (font-lock-set-defaults): Set them here. + (font-lock-fontify-buffer, font-lock-unfontify-buffer): + (font-lock-fontify-region, font-lock-unfontify-region): Use them. + (font-lock-default-fontify-buffer): + (font-lock-default-unfontify-buffer): + (font-lock-default-fontify-region): + (font-lock-default-unfontify-region): Renamed as `default' functions. + + * fast-lock.el: New version 3.09 from author. + (fast-lock-save-cache): Cope if fast-lock-minimum-size is a list. + (fast-lock-minimum-size): Doc fix. + (fast-lock-mode): Respect the value of font-lock-inhibit-thing-lock. + (fast-lock-after-unfontify-buffer): New function. + + * rmail.el (rmail-mode): Setup font-lock-defaults local fontification. + (rmail-fontify-buffer-function): + (rmail-unfontify-buffer-function): + (rmail-fontify-message): New functions. + +1996-01-26 Boris Goldowsky + + * make-mode.el (makefile-font-lock-keywords): Improve highlighting + of variable references inside other highlighted regions. + +1996-01-25 Karl Heuer + + * sendmail.el (mail-yank-original): Doc fix. + +1996-01-25 Richard Stallman + + * rmail.el (rmail-start-mail): Set mail-dedicated-frame frame param. + + * sendmail.el (mail-bury): Check mail-dedicated-frame frame param. + + * browse-url.el (browse-url-netscape): + Check for call-process returning a string. + +1996-01-25 Eli Zaretskii + + * dos-fns.el (mode25): Moved from `src/dosfns.c' for backward + compatibility. + (mode4350): Moved from `src/dosfns.c' for backward compatibility. + +1996-01-25 Simon Marshall + + * font-lock.el (font-lock-unfontify-buffer): New function. + (font-lock-unset-defaults): New function. + (font-lock-mode): Use them. Doc fix. + Don't make font-lock-fontified buffer local here. + (font-lock-set-defaults): Do it here. + (font-lock-compile-keyword): New function. Recognise `eval' keywords. + (font-lock-compile-keywords): Use it. + (global-font-lock-mode): New command for Global Font Lock mode. + (font-lock-global-modes): New variable. + (font-lock-change-major-mode, turn-on-font-lock-if-supported): New + functions. + + * perl-mode.el (perl-font-lock-keywords-1, perl-font-lock-keywords-2): + New variables. + (perl-mode): Use them. + + * texinfo.el (texinfo-font-lock-keywords): Tweaked command regexp. + + * sendmail.el (mail-font-lock-keywords): Use `eval' keyword. + + * rmailsum.el (rmail-summary-mode): Use make-local-hook for + post-command-hook. + (rmail-summary-disable, rmail-summary-enable): Respect hook localness. + +1996-01-25 Richard Stallman + + * gnus.el (read-news): Define as alias for gnus. + + * rmail.el (rmail-start-mail): Set unsplittable frame parameter + and make the window dedicated. + +1996-01-24 Karl Heuer + + * saveplace.el (toggle-save-place): Fix message text. + * forms.el (forms-mode, forms-toggle-read-only): Fix message text. + (forms-search-forward, forms-search-backward): Likewise. + * info.el (Info-goto-emacs-command-node): Fix error text. + * bookmark.el (bookmark-alist-from-buffer): Fix error text. + (bookmark-maybe-upgrade-file-format, bookmark-set): Likewise. + (bookmark-send-annotation, bookmark-send-edited-annotation): Likewise. + (bookmark-load): Delete redundant format call. + +1996-01-24 Andreas Schwab + + * cookie1.el (cookie-snarf): Pass proper format string to message. + * diary-lib.el (simple-diary-display, fancy-diary-display): + Likewise. + * dired.el (dired-internal-noselect): Likewise. + * ebuff-menu.el (Electric-buffer-menu-undefined): Likewise. + * edebug.el (edebug-next-breakpoint): Likewise. + * edt.el (edt-display-the-time): Likewise. + * ehelp.el (electric-help-command-loop): Likewise. + * f90.el (f90-indent-subprogram, f90-match-end): Likewise. + * facemenu.el (list-text-properties-at): Likewise. + * finder.el (finder-summary): Likewise. + * flow-ctrl.el (enable-flow-control): Likewise. + * forms.el (forms--help, forms-search-forward, + forms-search-backward): Likewise. + * help-macro.el (make-help-screen): Likewise. + * hippie-exp.el (hippie-expand): Likewise. + * holidays.el (calendar-cursor-holidays): Likewise. + * info.el (Info-edit, Info-goto-emacs-command-node): Likewise. + * ispell.el (ispell-command-loop, ispell-region): Likewise. + * ispell4.el (start-ispell, ispell-next): Likewise. + * lisp-mnt.el (lm-report-bug): Likewise. + * macros.el (kbd-macro-query): Likewise. + * medit.el (medit-save-define): Likewise. + * nnmail.el (nnmail-move-inbox): Likewise. + * picture.el (picture-mode): Likewise. + * rmail.el (rmail-insert-inbox-text): Likewise. + * rmailedit.el (rmail-edit-current-message): Likewise. + * server.el (server-process-filter): Likewise. + * sgml-mode.el (sgml-tag-help): Likewise. + * shadow.el (list-load-path-shadows): Likewise. + * shadowfile.el (shadow-shadows, shadow-add-to-todo): Likewise. + * shell.el (shell-dirstack-message): Likewise. + * simula.el (simula-electric-keyword): Likewise. + * solar.el (sunrise-sunset): Likewise. + * term.el (term-read-noecho): Likewise. + * terminal.el (te-edit): Likewise. + * type-break.el (type-break-demo-life): Likewise. + * view.el (view-mode-enter, View-scroll-lines-forward): Likewise. + * viper-ex.el (ex-pwd, vip-info-on-file): Likewise. + * viper-macs.el (ex-map-read-args, ex-unmap-read-args, + vip-record-kbd-macro): Likewise. + * viper-util.el (vip-save-setting): Likewise. + + * ada-mode.el (ada-adjust-case-region, ada-indent-region): Delete + format call inside message. + * array.el (array-what-position): Likewise. + * bookmark.el (bookmark-write-file, bookmark-load): Likewise. + * bytecomp.el (byte-compile-log-1): Likewise. + * edt.el (edt-y-or-n-p): Likewise. + * enriched.el (enriched-next-annotation): Likewise. + * ispell4.el (ispell-point): Likewise. + * mh-e.el (mh-get-new-mail): Likewise. + * saveplace.el (toggle-save-place, save-place-alist-to-file, + load-save-place-alist-from-file): Likewise. + * shadow.el (list-load-path-shadows): Likewise. + * shadowfile.el (shadow-cancel, shadow-copy-file): Likewise. + * subr.el (read-quoted-char): Likewise. + * tpu-edt.el (tpu-y-or-n-p): Likewise. + * vip.el (vip-replace-string, vip-search-forward, + vip-search-backward): Likewise. + * viper-ex.el (ex-set): Likewise. + +1996-01-24 Karl Heuer + + * startup.el (command-line-1): Update copyright in startup banner. + +1996-01-24 Andreas Schwab + + * tmm.el (tmm-prompt): Set last-command-event before calling the + selected function. + +1996-01-24 Erik Naggum + + * emacsbug.el (report-emacs-bug): Insert newlines only in the + inserted key descriptions. + + * viper.el (vip-ask-level): Prefix \ to ( at start of line. + + * term.el (term-exec-hook): Doc fix. + + * solitaire.el (solitaire): Doc fix. + + * solar.el (solar-moment, solar-ephemeris-time, + solar-equatorial-coordinates, solar-horizontal-coordinates): Doc + fixes. + + * lunar.el (lunar-new-moon-on-or-after): Doc fix. + + * dabbrev.el (dabbrev-abbrev-skip-leading-regexp): Doc fix. + +1996-01-24 Andreas Schwab + + * make-mode.el (makefile-browser-toggle): Use delete-region, + not kill-line. + +1996-01-24 Richard Stallman + + * f90.el (f90-face-*): Reinstalled code deleted on Sep 22. + (f90-hilit-patterns): New variable. + (f90-mode): Call hilit-set-mode-patterns if defined. + (f90-auto-hilit19): New variable. + (f90-fill-region): Bind f90-auto-hilit19 to nil. + (f90-update-line): Rehilight if appropriate. + +1996-01-24 + + * sgml-mode.el (sgml-quick-keys): New variable. + (sgml-mode-map): Use it, defined additional long keys to compensate. + (sgml-tag-alist): Added + (sgml-tag): Special treatment for previous construct. + (sgml-auto-attributes): Deleted variable covered by sgml-quick-keys, + changed function of same name. + (sgml-delete-tag): Newline also counts as whitespace before tag. + (html-quick-keys): Use sgml-quick-keys as default, thus changed to nil. + (html-mode-map): Added C-c C-c char combinations for when + html-quick-keys is nil. + (html-tag-alist): Added /cgi-bin/ to href completions, submit (spelling + fixed) button to form. + (html-checkboxes): New skeleton. + +1996-01-24 Ed Reingold + + * cal-x.el: Fix doc strings at top of file. + + * cal-tex.el (cal-tex-preamble): Add \hfuzz=1000pt to get rid of + overfull box messages. + + * solar.el (calendar-latitude, calendar-longitude, + calendar-location-name, solar-sunrise-and-sunset): Fix doc strings. + (solar-exact-local-noon, solar-sunrise-sunset): Refer to + (calendar-longitude) and (calendar-latitude) instead of + calendar-longitude and + +1996-01-24 Richard Stallman + + * iso02-acc.el: File deleted. + + * font-lock.el (turn-on-font-lock): Test window-system. + +1996-01-23 Richard Stallman + + * lisp-mode.el (lisp-fill-paragraph): Use fill-paragraph once again + for filling a comment. + + * paragraphs.el (forward-paragraph): Comment change. + +1996-01-23 Ralf Fassel + + * iso-acc.el (iso-languages): Restructure the list to remove + redundancy in list elements. + (iso-accents-compose-key): Function deleted. + (iso-accents-compose, iso-accents-customize, iso-accentuate, + iso-accent-rassoc-unit, iso-unaccentuate, iso-deaccentuate): Adapt + for new structure of `iso-languages'. + +1996-01-23 Eli Zaretskii + + * compile.el (compilation-handle-exit): Undo previous change. + Don't reference `proc' object. + Pass current buffer to `compilation-finish-function'. + +1996-01-22 Paul Eggert + + * version.el (emacs-build-time): Record (current-time), + not (current-time-string). + (emacs-version): Use new form of emacs-build-time. + This lessens confusion when the dumped Emacs starts up in a + different time zone. + +1996-01-21 Richard Stallman + + * iso-acc.el (iso-accents-customize): Extract accent chars + properly from iso-accents-list. + + * rmailsum.el (rmail-summary-goto-msg): + Pass along args NOWARN and SKIP-RMAIL in recursive call. + +1996-01-21 Roland McGrath + + * autoload.el (update-file-autoloads): Only give "up to date" msg + if (interactive-p). + (update-autoloads-from-directory): Call expand-file-name on arg. + +1996-01-20 Paul Eggert + + * vc-hooks.el (vc-utc-string): Remove; it wasn't reliable near DST + or leap-second transitions. + (vc-find-cvs-master): Convert UTC string to encoded time and compare + the results to the file attributes, rather than attempting to convert + file attributes to UTC string (which wasn't reliable). + +1996-01-20 Richard Stallman + + * isearch.el (isearch-other-meta-char): Avoid error if lookup in + function-key-map gives another keymap. + + * vc.el (vc-backend-checkout): Use let to restore default-directory. + (vc-next-action-dired): Likewise. + + * msb.el (msb--toggle-menu-type): Call menu-bar-update-buffers + with no argument. + + * iso02-acc.el: File deleted. + * iso-acc.el (iso-languages): Rename "default" to "latin-1". + Add a new element "latin-2" copied from iso02-acc.el. + + * type-break.el: Move defsubsts before defuns. + +1996-01-20 Karl Heuer + + * compile.el (compilation-handle-exit): If process-status doesn't + exist (e.g. on MSDOS), use an empty string. + + * rmailsort.el: Add (require 'rmail). + +1996-01-20 Michael Kifer + + * viper.el (vip-auto-indent,vip-electric-mode): Are now local + variables. + (vip-open-line,vip-Open-line,vip-autoindent): Are now electrified + functions. + (vip-set-hooks): Viperized awk, ksh, makefile, and html-helper modes. + (vip-custom-file-name): Adapted to non-Unix systems. + (vip-move-minibuffer-overlay): Removed. + (vip-read-string-with-history): Now accepts correct defaults when + called to read a shell command. + +1996-01-19 Karl Heuer + + * files.el (auto-mode-alist): Recognize ".exp" suffix. + +1996-01-19 Eli Zaretskii + + * tpu-edt.el (tpu-load-xkeys): Use `convert-standard-filename' to + set the name of the key mapping file. + * tpu-mapper.el: Likewise. + +1996-01-19 Richard Stallman + + * menu-bar.el (menu-bar-search-menu): Clean up key symbols. + (menu-bar-tools-menu): Rename vc-menu key symbol to just vc. + + * unrmail.el (unrmail): Default the directory of TO-FILE based on FILE. + + * pc-select.el (pc-selection-mode): Don't mess with c-mode-map. + + * tar-mode.el (tar-summarize-buffer): Fix "done" message. + (tar-summarize-buffer): + Insert summary lines in same order as tar-parse-info. + + * files.el (find-file-noselect): Fix error message style. + + * lisp-mode.el (emacs-lisp-mode-map): Avoid duplicate in menu bindings. + +1996-01-19 Erik Naggum + + * pp.el (pp-eval-expression): Use `frame-width' instead of + `screen-width'. + +1996-01-18 Erik Naggum + + * sh-script.el (sh-mode): Add autoload cookie. + +1996-01-18 Richard Stallman + + * rmailsum.el (rmail-make-basic-summary-line): Include msg line number. + + * uniquify.el: Several doc fixes. + +1996-01-18 Richard Stallman + + * mouse.el (mouse-buffer-menu): Delete debugging code. + +1996-01-17 Richard Stallman + + * ls-lisp.el (ls-lisp-support-shell-wildcards): Add autoload cookie. + + * cc-mode.el: Load imenu when compiling. + + * dos-fns.el (convert-standard-filename): Preserve ~ as last char. + + * make-mode.el (makefile-mode): Fix criterion for calling + makefile-define-space-face. + + * goto-addr.el (goto-address-at-point, goto-address-at-mouse): + Add autoload cookies. + +1996-01-17 Eli Zaretskii + + * dos-fns.el (convert-standard-filename): Don't do anything if the + argument is empty, or isn't a string; leave alone characters with + ASCII codes above 127 and special characters legal in DOS filenames. + +1996-01-17 Karl Heuer + + * files.el (auto-mode-alist): Use "\\`" instead of "^". + +1996-01-17 Michael Staats + + * pc-select.el: Add some keybindings. + (next-line-mark, next-line-nomark): Set this-command. + (previous-line-mark, previous-line-nomark): Likewise. + (end-of-line-mark, end-of-line-nomark): Likewise. + +1996-01-16 Richard Stallman + + * sh-script.el (sh-indent-line): Cope if no previous noncomment line. + +1996-01-16 Lars Magne Ingebrigtsen + + * nntp.el (nntp-accept-response): Add a timeout parameter to + `accept-process-output'. + + * nnkiboze.el (nnkiboze-close-group): Should only be run from + summary buffers. + + * gnus.el (gnus-group-make-help-group): Check whether + `installation-directory' is nil before using it. + +1996-01-16 Richard Stallman + + * sh-script.el (sh-shell-variables): New variable. + (sh-set-shell, sh-remember-variable): + Set sh-shell-variable, not process-environment. + (sh-mode): Don't make process-environment local. + Add a mode-class property. + (sh-add): Use sh-shell-variable in completion. + Compute alist properly from process-environment. + +1996-01-16 Stefan Schoef + + * bibtex.el (bibtex-font-lock-keywords, bibtex-mode): + Use word-syntax in patterns. + + * bibtex.el (bibtex-font-lock-keywords): Allow a more relaxed format + of the buffer and use more appropriate faces. + +1996-01-16 Erik Naggum + + * autoload.el (update-file-autoloads): Fix message. + +1996-01-15 Richard Stallman + + * dos-fns.el (ps-lpr-switches, ps-lpr-command): Just setq them; + duplicate defvar is a bad idea. + + * cc-mode.el (c-common-init): Make comment-multi-line buffer-local. + +1996-01-15 Eli Zaretskii + + * dos-fns.el (dos-printer): New variable, the local printer device. + (dos-print-region-function): New function, used for + `print-region-function'. + (dos-ps-printer): New variable; if a string, it's the name of the + local printer device. + (ps-lpr-command, ps-lpr-switches): Set them properly for Ghostscript. + (lpr-headers-switches): Set to non-nil, to disable page headers' + support under MS-DOS. + + * lpr.el (print-region): Make pipes use binary mode if file is binary. + + * ps-print.el (ps-do-despool): On MS-DOS, allow both the usual and + the alternative printing methods. + +1996-01-15 Erik Naggum + + * autoinsert.el (auto-insert-alist): Use FSF's new address. + +1996-01-14 Morten Welinder + + * desktop.el (desktop-read): Do nothing in batch mode. + Clear desktop-delay-hook after use. Simplify. + + * tar-mode.el (tar-summarize-buffer): Speed-up for large files. + +1996-01-14 Erik Naggum + + * all files: Update FSF's address in, and unify formatting of, + comment preambles. + +1996-01-13 Erik Naggum + + * files.el (auto-mode-alist): Add sgml-mode and html-mode. + +1996-01-12 Erik Naggum + + * sgml-mode.el: Remove redundant auto-mode-alist hacking. + Removed auto-mode-alist hacking for html-mode to files.el. + + * cc-mode.el (c-add-style): Fix typo. + +1996-01-12 Richard Stallman + + * page.el (forward-page): Simplify how we avoid getting stuck + when moving backwards. + +1996-01-12 + + * sgml-mode.el: Also load for .sgm and .dtd files. + (sgml-specials, sgml-name-8bit-mode, sgml-char-names) + (sgml-font-lock-keywords, sgml-face-tag-alist, sgml-tag-face-alist) + (sgml-display-text, sgml-tag-alist, sgml-tag-help) + (sgml-auto-attributes): New variables. + (sgml-mode-common): New function. + (sgml-mode): Most code moved to it. + (sgml-name-char, sgml-name-self, sgml-maybe-name-self) + (sgml-name-8bit-mode, sgml-tag, sgml-attributes, sgml-auto-attributes) + (sgml-tag-help, sgml-maybe-end-tag, sgml-skip-tag-backward) + (sgml-skip-tag-forward, sgml-tags-invisible): New commands. + (sgml-beginning-of-tag, sgml-value): New functions. + + (html-*): All these functions and variables are new. + Mostly they parametrize everything preceding. + + * autoinsert.el (auto-insert-alist): For html-mode, use `sgml-tag'. + + * facemenu.el (facemenu-add-face): Adding default to no region + once again sets it for following typed in text. + +1996-01-12 Richard Stallman + + * hideshow.el: Many doc fixes. + (hs-hide-hook): Renamed from hs-hide-hooks. + (hs-show-hook): Renamed from hs-show-hooks. + +1996-01-11 Richard Stallman + + * files.el (write-contents-hooks): Doc fix. + +1996-01-11 Erik Naggum + + * apropos.el (apropos-print): Fix previous change to mouse message. + +1996-01-11 Richard Stallman + + * dired.el (dired-ls-F-marks-symlinks): Doc fix. + +1996-01-10 Andre Spiegel + + * vc.el (vc-cancel-version): Use search-forward to scan error + message. Added comments. + + * vc-hooks.el (vc-follow-symlinks): New variable. + (vc-find-file-hook): Use it. + +1996-01-10 Richard Stallman + + * sh-script.el (sh-mode): Don't move point. + (sh-set-shell): New args NO-QUERY-FLAG and INSERT-FLAG. + Pass them to executable-set-magic. + Really set font-lock-syntax-table. Slight cleanups. + + * cc-mode.el (c-add-style): Downcase STYLE before use. + +1996-01-10 Roland McGrath + + * diff.el (diff): Fix local compilation-exit-message-function to + take the proper arguments; remove gratuitous use of if around + cond; return useful mode line messages for normal completion. + +1996-01-09 Karl Heuer + + * imenu.el (imenu--create-keymap-2): Delete debugging line. + + * ange-ftp.el (ange-ftp-name-format): Don't match "/:" or "/.:". + +1996-01-08 Karl Heuer + + * man.el (Man-filter-list): Recognize "Rev" footers. + +1996-01-08 Michael Ernst + + * uniquify.el (uniquify-rationalize-file-buffer-names): If + newbuffile is nil, don't call expand-file-name on it. + +1996-01-08 Dave Love + + * vc.el (vc-update-change-log): Use add-log-full-name and + add-log-mailing-address if they are defined. + +1996-01-08 Richard Stallman + + * edt.el (edt-emulation-on): system-type is a symbol. + + * apropos.el (apropos-print): Fix message about mouse command. + + * tmm.el (tmm-menubar-mouse): Add autoload cookie. + + * make-mode.el (makefile-space-face): Don't work on + facemenu-unlisted-faces if it isn't bound. + + * iso-acc.el (iso-accents-accent-key): Check iso-accents-enable here. + (iso-accents-customize): Define all possible accent keys with + translations, not just the enabled ones. + Don't bind iso-accents-enable around the initial call to this function. + (iso-accents-enable): Make the default once again include all prefixes. + + * term/x-win.el (x-cut-buffer-or-selection-value): Don't print messages + about failure to get selection or cut buffer. + + * ediff-hook.el: Delete spaces before `...' in menu strings. + + * emerge.el (menu-bar-emerge-menu): Delete spaces before `...'. + +1996-01-07 Richard Stallman + + * executable.el (executable-find): Renamed from `executable'. + (executable-set-magic): Use new name `executable'. Fix messages. + Add save-excursion. Don't test this-command--use interactive + to get the information. Simplify considerably. + + * winnt.el (using-unix-filesystems): + Don't do anything to write-contents-hooks. + + * mh-utils.el (mh-display-msg): Use kill-local-variable + to clear out write-contents-hooks. + + * files.el (write-contents-hooks): Call make-variable-buffer-local. + Doc fix. + (local-write-file-hooks, write-file-hooks): Doc fixes. + + * lisp-mode.el (emacs-lisp-byte-compile): Fix error message. + (emacs-lisp-compile-and-load): New function. + (emacs-lisp-mode-map): Add emacs-lisp-compile-and-load to menu bar. + + * imenu.el (imenu--create-keymap-2): Fix bug in constructing + the lambda expression. Use backquote. Don't use incf. + + * sh-script.el (sh-alias-alist): Don't map sh to bash. + (sh-canonicalize-shell): New function. + (sh-shell-file): Renamed from sh-shell-path. + (sh-set-shell): Don't set local-abbrev-table. + (sh-abbrevs): Variable and function definition commented out. + + * diff.el (diff): Set compilation-exit-message-function. + +1996-01-06 Richard Stallman + + * dos-fns.el (convert-standard-filename): Make sure firstdot + is not nil. + + * easymenu.el (easy-menu-define): Doc fix. + +1996-01-06 Roland McGrath + + * compile.el (compilation-error-regexp-alist, grep-regexp-alist + compilation-mode-font-lock-keywords): Allow leading "[a-zA-Z]:" in file + name regexps, for DOS drive letters. + +1995-11-06 Dave Love + + * compile.el (compilation-error-regexp-alist): Add MIPS lint + regexps. + +1996-01-06 Roland McGrath + + * compile.el (compilation-error-regexp-alist): Broaden GNAT regexp + to match column numbers. + + * compile.el (compilation-handle-exit): New function, broken out + of compilation-sentinel. + (compilation-sentinel, compile-internal): Use it. + (compilation-exit-message-function): Doc fix for protocol change: take + process status and exit-code args instead of process object. + (grep): Use new protocol for compilation-exit-message-function. + + * autoload.el (update-file-autoloads): Fix placement of new + sections. + + * autoload.el (update-file-autoloads): Notice when searching found + nothing at all. + (update-autoloads-from-directory): New function. + (batch-update-autoloads): Use it. + (update-directory-autoloads, update-autoloads-here): Functions removed. + +1996-01-05 Stephen Gildea + + * time-stamp.el (time-stamp-line-limit): negative value counts + from end of file. + +1996-01-05 Richard Stallman + + * fill.el (fill-region-as-paragraph): Check again for reaching + the end of the paragraph, after we adjust for places we can't break + and make sure to keep at least one word. + + * dired.el (dired-standard-move-to-filename-regexp): New variable. + (dired-insert-directory): Don't alter environment if would use the + C locale anyway, or if dired-move-to-filename-regexp has been + changed from the default value. + When changing the environment, avoid need for setenv. + +1996-01-05 Karl Eichwalder + and Karl Fogel + + * bookmark.el: "cyclic.com" addresses changed to "red-bean.com". + (bookmark-bmenu-mode-map): Don't bind C-k. + (bookmark-bmenu-mode): Better key description. + (bookmark-bmenu-execute-deletions): Display message while working. + (bookmark-version): Upped to 2.6.20. + (bookmark-load): Fixed "done" message, duh. + +1996-01-05 Richard Stallman + + * rmail.el (rmail-retry-failure): Bind inhibit-read-only. + + * mail-extr.el (mail-extr-nuke-outside-range): Fix error message. + (mail-extract-address-components, what-domain): Fix error messages. + +1996-01-04 Richard Stallman + + * files.el (interpreter-mode-alist): Add most shells, with sh-mode. + Add tail, more, less, pg with text-mode. + (auto-mode-alist): Recognize extensions that indicate + shell scripts, as well as common init file names. + * executable.el (interpreter-mode-alist): Don't alter this here. + * sh-script.el (interpreter-mode-alist, auto-mode-alist): + Don't alter this here. + + * autoload.el (batch-update-autoloads): Use error-message-string. + +1996-01-04 Paul Eggert + + Spelling corrections. + + * ediff-wind.el (ediff-mouse-pixel-threshold): Renamed from + ediff-mouse-pixel-threshhold. + * gnus.el (gnus-cache-removable-articles): Renamed from + gnus-cache-removeable-articles. + (gnus-newsgroup-savable-name): Renamed from + gnus-newsgroup-saveable-name. + (gnus-bugaboo): Renamed from gnus-boogaboo. + * sendmail.el (sendmail-sync-aliases): Renamed from + sendmail-synch-aliases. + * type-break.el (type-break-guesstimate-keystroke-threshold): + Renamed from type-break-guestimate-keystroke-threshold. + * vi.el (vi-backward-windowful): Renamed from vi-backward-windowfull. + (vi-forward-windowful): Renamed from vi-forward-windowfull. + + * cc-mode.el (c++-c-mode-syntax-table): Fix misspelling in + initialization. + * tex-mode.el (slitex-mode): Fix misspelling in value. + + * dunnet.el (dun-cd): Fix local var misspelling. + * ediff-diff.el (ediff-exec-process): Likewise. + * terminal.el (te-process-output): Likewise. + + * custom.el (custom-default-validate): Fix message spelling. + * debug.el (debug): Likewise. + * doctor.el (make-doctor-variables, doctor-othermodifierp, + doctor-strangelove): Likewise. + * dunnet.el (dun-sauna-heat, dun-login): Likewise. + * gnus.el (gnus-summary-save-article): Likewise. + * hideshow.el (hs-hide-block): Likewise. + * hilit19.el (hilit-submit-feedback): Likewise. + * mail-extr.el (mail-extr-nuke-outside-range, + mail-extr-all-top-level-domains): Likewise. + * simple.el (shell-command): Likewise. + * term.el (term-process-pager): Likewise. + * term/sun-mouse.el (describe-mouse-briefly): Likewise. + + * ada-mode.el (ada-case-keyword, ada-auto-case, ada-krunch-args, + ada-call-pretty-printer): Doc fix. + * allout.el (outline-primary-bullet, outline-numbered-bullet, + outline-override-protect, outline-explicitly-deactivated, + outline-init, outline-chart-subtree, outline-chart-spec, + outline-make-topic-prefix, outline-open-topic, + outline-reindent-body, outline-yank-processing, outline-yank, + outlineify-sticky): Doc fix. + * apropos.el (apropos-files-scanned): Doc fix. + * arc-mode.el (archive-summarize-files): Doc fix. + * bib-mode.el (capitalize-title-stop-words): Doc fix. + * bibtex.el (bibtex-generate-autokey, bibtex-find-entry-location): + Doc fix. + * bookmark.el (bookmark-save-flag, bookmark-read-annotation-text-func, + bookmark-rename, bookmark-bmenu-mode, bookmark-menu-rename): Doc fix. + * cc-mode.el (c-file-offsets, c++-mode, c-mode, objc-mode, + c-postprocess-file-styles): Doc fix. + * cl-extra.el (cl-copy-tree): Doc fix. + * comint.el (comint-ptyp, comint-completion-autolist): Doc fix. + * compile.el (compilation-error-list): Doc fix. + * cplus-md.el (c++-mode): Doc fix. + * cpp.el (cpp-unknown-face, cpp-face-mono-list, cpp-face-all-list): + Doc fix. + * custom.el (rear-nonsticky, custom-property-set, custom-field-accept, + custom-repeat-extract, custom-pair-extract, custom-list-extract, + custom-choice-extract, custom-choice-validate, custom-mode-map): + Doc fix. + * dired-x.el (dired-mark-sexp): Doc fix. + * docref.el (docref-subst): Doc fix. + * edebug.el (edebug-read): Doc fix. + * ediff-init.el (ediff-keep-variants): Doc fix. + * ediff-wind.el (ediff-prefer-iconified-control-frame): Doc fix. + * edt.el (edt-find-forward, edt-find-backward, edt-find, + edt-find-next-forward, edt-find-next-backward, edt-find-next): Doc fix. + * ffap.el (ffap-list-env): Doc fix. + * files.el (make-directory): Doc fix. + * fill.el (fill-context-prefix, unjustify-current-line, + unjustify-region): Doc fix. + * font-lock.el (font-lock-keywords): Doc fix. + * format.el (format-annotate-atomic-property-change): Doc fix. + * forms.el (forms-toggle-read-only, forms-enumerate): Doc fix. + gnus-cus.el: Doc fix. + * gnus-edit.el (gnus-score-custom-data): Doc fix. + * gnus-uu.el (gnus-uu-do-not-unpack-archives): Doc fix. + * gnus.el (gnus-buffer-configuration, + gnus-article-hide-headers-if-wanted): Doc fix. + * hexl.el (hexl-program, hexl-beginning-of-1k-page, + hexl-end-of-1k-page, hexl-beginning-of-512b-page, + hexl-end-of-512b-page): Doc fix. + * hideshow.el (hs-unbalance-handler-method, hs-show-block): Doc fix. + * hilit19.el (hilit-lookup-face-create): Doc fix. + * icomplete.el (icomplete-simple-completing-p, icomplete-completions): + Doc fix. + * info.el (Info-get-token): Doc fix. + * isearch.el (isearch-abort, isearch-no-upper-case-p): Doc fix. + * iso-acc.el (iso-accents-mode): Doc fix. + * iso-cvt.el (iso-fix-tex2iso): Doc fix. + * ispell4.el (ispell-gnu-look-still-broken-p, ispell-message-text-end): + Doc fix. + * make-mode.el (makefile-insert-special-target, + makefile-backslash-region): Doc fix. + * mh-e.el (mh-good-msg-regexp): Doc fix. + * modula2.el (m2-case, m2-for, m2-if): Doc fix. + * msb.el (msb-max-file-menu-items, msb-menu-cond): Doc fix. + * nnmail.el (nnmail-message-id-cache-length): Doc fix. + * pascal.el (pascal-auto-newline, pascal-mode, electric-pascal-hash): + Doc fix. + * rcompile.el (remote-compile-run-before): Doc fix. + * refbib.el (r2b-additional-stop-words, capitalize-title-stop-words): + Doc fix. + * regi.el (regi-interpret): Doc fix. + * reporter.el (reporter-dont-compact-list): Doc fix. + * sh-script.el (sh-mode-syntax-table): Doc fix. + * simple.el (next-completion): Doc fix. + * skeleton.el (skeleton-insert): Doc fix. + * supercite.el (sc-citation-nonnested-root-regexp, + sc-add-citation-level, sc-no-blank-line-or-header): Doc fix. + * tempo.el (tempo-local-tags, tempo-user-elements, tempo-use-tag-list): + Doc fix. + * term.el (term-ptyp, term-termcap-format, term-scroll-region, + term-completion-autolist): Doc fix. + * texinfo.el (texinfo-master-menu): Doc fix. + * texnfo-upd.el (texinfo-master-menu): Doc fix. + * thingatpt.el (read-from-whole-string): Doc fix. + * tmm.el (tmm-get-keybind): Doc fix. + * tpu-edt.el (GOLD-map, GOLD-CSI-map, GOLD-SS3-map, tpu-set-mark): + Doc fix. + * type-break.el (type-break-keystroke-threshold, type-break-mode): + Doc fix. + * vip.el (vip-shift-width): Doc fix. + * viper.el (vip-insert-diehard-minor-mode, vip-toggle-search-style, + vip-del-backward-char-in-replace, vip-query-replace): Doc fix. + * vmsproc.el (display-subprocess-window): Doc fix. + * xscheme.el (xscheme-control-g-synchronization-p): Doc fix. + +1996-01-04 Karl Heuer + + * browse-url.el (browse-url-usr1-signal): Doc fix. + +1996-01-04 Roland McGrath + + * autoload.el (generate-file-autoloads): Preserve whitespace after + cookie in literal text copied to output; eat only a single space. + +1996-01-04 Richard Stallman + + * subr.el (error): Doc fix. + +1996-01-04 Andre Spiegel + + * vc.el: Better doc strings for a few variables. + (vc-cancel-version): Handle versions that start a new branch. + (vc-backend-checkout): SCCS case: handle empty revision number. + (vc-diff): Don't pop to the *vc-diff* buffer if file is unchanged. + + * vc-hooks.el: Better doc strings. + +1996-01-04 Richard Stallman + + * browse-url.el (browse-url-mosaic): Print "done" message + after starting mosaic. Change the message about sending a signal. + (browse-url-netscape): Print "done" message after starting. + (browse-url-usr1-signal): Use SIGUSR1 in upper case. + (browse-url-at-point, browse-url-at-mouse, browse-url-of-buffer) + (browse-url-of-file, browse-url-of-dired-file): Add autoload cookies. + +1996-01-03 Richard Stallman + + * dired.el (dired-insert-directory): Force use of C locale. + + * sendmail.el (mail-header-separator): Don't put on read-only property. + +1996-01-02 Richard Stallman + + * man.el (Man-mode-map): Delete `toggle-truncate-lines' binding. + + * xt-mouse.el (xterm-mouse-translate, xterm-mouse-event): + Variable `last' renamed to `xterm-mouse-last'. + (xterm-mouse-last): Add defvar. + + * sendmail.el (sendmail-send-it): Make deletion of empty subject line + work reliably. + + * tmm.el (tmm-prompt): Major cleanups. Handle pop-menu case nicely. + Arg BIND renamed to MENU. + Look at MENU to decide whether it is a keymap. + Arg IN-POPUP now used only in recursive call. + Use "Menu bar" as the default menu name. + Delete some debugging code. + + * tmm.el (tmm-menubar-mouse): New function, handles [menu-bar mouse-1]. + (tmm-menubar): New arg x-position. + (tmm-prompt): New arg default-item specifies item to offer by default. + +1996-01-01 Richard Stallman + + * startup.el (normal-top-level): + Add ~ at end of auto-save-list-file-prefix. + + * completion.el (save-completions-file-name): + Use convert-standard-filename. + + * paths.el (abbrev-file-name): Use convert-standard-filename. + + * saveplace.el (save-place-file): Use convert-standard-filename. + + * viper.el (vip-custom-file-name): Use convert-standard-filename. + + * dired-x.el (dired-local-variables-file): + Use convert-standard-filename. + + * files.el (convert-standard-filename): New function. + * dos-fns.el (convert-standard-filename): New alternate definition. + +1996-01-01 Eli Zaretskii + + * term/pc-win.el (x-colors): New variable, a list of colors + supported by PC color displays under MS-DOS. + (msdos-color-translate): Use `x-colors'. + (x-defined-colors): New alternate definition. + + * facemenu.el (facemenu-read-color, list-colors-display) + (facemenu-get-face): Treat all non-nil window-system values alike. + (facemenu-color-equal): Special case for MSDOS. + +1995-12-31 Eli Zaretskii + + * cpp.el (cpp-config-file): New variable. + (cpp-edit-load): Use `cpp-config-file'. + (cpp-edit-save): Use `cpp-config-file'. + + * completion.el (save-completions-file-name): Under MS-DOS set to + a filename without a leading dot. + + * custom.el (custom-file): Under MS-DOS set to a filename without + a leading dot. + + * vip.el (vip-startup-file): New variable. + (vip-mode): Use `vip-startup-file' for the startup file name. + + * ffap.el (ffap-list-env): Use `path-separator' rather than ":". + + * startup.el (auto-save-list-file-prefix): Under MS-DOS, use `.s-'. + (normal-top-level): Under MS-DOS, use `make-temp-name' to produce + a unique `auto-save-list-file-name' (PID is not unique enough). + (command-line-1): Delete explicit test for msdos and windowsnt; + test just `window-system'. + + * files.el (abbrev-file-name): Drive letter can go beyond `Z' + under MS-DOS/Novell. + (auto-mode-alist): Support txt and txi like text and texi. + (backup-buffer): Use convert-standard-filename. + (basic-save-buffer-1): Make the name of the temporary file (where + precious files are saved) conform to MS-DOS 8+3 constraints. + +1995-12-31 Richard Stallman + + * jka-compr.el (auto-compression-mode): Add `interactive'. + Put \-newline in doc string. + (toggle-auto-compression): New arg MESSAGE. Don't use interactive-p. + + * mouse.el (mouse-drag-region, mouse-drag-secondary): + Bind echo-keystrokes to 0. + + * hexl.el (hexl-mode): Don't call kill-all-local-variables. + Save write-contents-hooks, require-final-newline, the syntax table. + Use make-local-hook for change-major-mode-hook. + (hexl-mode-exit): Restore those vars; remove our local hooks. + +1995-12-30 Richard Stallman + + * find-file.el: Doc fixes. + (ff-get-file): Use get-file-buffer to avoid false match. + (ff-switch-to-buffer): Rename arg FILE to BUFFER-OR-NAME. + + * lpr.el (lpr-page-header-switches, lpr-headers-switches): Doc fixes. + +1995-12-30 + + * facemenu.el (facemenu-add-face-function, facemenu-end-add-face) + (facemenu-remove-face-function): New variables. + (list-text-properties-at): Output in echo area when one short prop. + (facemenu-self-insert-face): Deleted function. + (facemenu-add-face): 2nd & 3rd arg optional, thus also handles + `facemenu-self-insert-face'. Use new variables to potentially do + something other than set a face under mode (TeX, HTML) control. + When region is empty, add face to next input. + + * tex-mode.el (tex-face-alist, tex-latex-face-alist): New variables. + (latex-mode, tex-common-initialization): Use them to set up facemenu. + +1995-12-29 Richard Stallman + + * term/x-win.el (x-handle-switch, x-handle-numeric-switch) + (x-handle-args): Use command-line-x-option-alist. + (x-option-alist, x-switch-definitions, x-long-option-alist): Deleted. + +1995-12-29 Erik Naggum + + * vc.el (vc-backend-checkin): Use vc-checkin-switches. + +1995-12-29 Richard Stallman + + * startup.el (command-line-x-option-alist): Use x-handle-geometry + for geometry options. + + * startup.el (command-line-x-option-alist): New variable. + (command-line-1): Ignore X options when not using X. + + * jka-compr.el (auto-compression-mode): This is now a stub function + that calls toggle-auto-compression, and is put bodily into loaddefs.el. + (toggle-auto-compression): Renamed from auto-compression-mode. + Not autloaded. + +1995-12-28 Karl Eichwalder + + * dired.el (dired): Fix typo. + +1995-12-28 Richard Stallman + + * ps-print.el (ps-do-despool): Alternative output method for MSDOS. + + * files.el (recover-session): Bind ls-lisp-support-shell-wildcards. + +1995-12-28 Eli Zaretskii + + * ls-lisp.el (ls-lisp-support-shell-wildcards): New variable. + (insert-directory): Convert the filename wildcard to an equivalent + Emacs regexp, when `ls-lisp-support-shell-wildcards' is non-nil. + Handle file patterns like "/foo*/" as if it were "/foo*", like the + shell would. Print zero total for files whose total size is + exactly zero (in particular, for no files at all). Say "No match" + when no files match the given wildcard. + (ls-lisp-format): Make directory listing format more like POSIX ls. + + * files.el (wildcard-to-regexp): New function. + +1995-12-28 1995 Marc Fleischeuers + + * files.el (make-auto-save-file-name): Make name always end in #, + i.e. overwrite third char in extension if required. + +1995-12-27 Ed Reingold + + * diary-lib.el: Replaced all uses of get-file-buffer with + find-buffer-visiting. + + * cal-menu.el (calendar-mouse-print-dates): Put date on top of menu. + + * calendar.el: Fix autoloads for astro functions. + + * solar.el: Rewrote completely for better accuracy. + +1995-12-26 Richard Stallman + + * mouse.el (mouse-menu-buffer-maxlen): New variable. + (mouse-buffer-menu): Use it. + +1995-12-26 Karl Eichwalder + + * menu-bar.el (buffers-menu-max-size): Move definition to top of file. + +1995-12-25 Richard Stallman + + * mouse.el (mouse-buffer-menu): If lots of buffers, + group them into multiple panes. + + * cc-mode.el: Switch to GNU style only the first time file is loaded. + + * hideif.el: Many doc fixes. + (hide-ifdefs): New arg NOMSG. Set hif-outside-read-only here. + (hif-before-revert-function): New function. Put on after-revert-hook. + + * files.el (revert-buffer): New arg preserve-modes. + (after-find-file): New arg nomodes. + * vc.el (vc-revert-buffer1): Pass t as preserve-modes to revert-buffer. + + * vc.el: Fix error message style. + (vc-backend-checkout, vc-backend-checkin): + Allow vc-checkin-switches and vc-checkout-switches to be a string. + +1995-12-24 Noah Friedman + + * window.el (split-window-vertically): Don't change point in old + window if both the original point and the end of the buffer are + visible after splitting, when split-window-keep-point is nil. + +1995-12-24 Michael Ernst + + * uniquify.el (uniquify-fix-list-filename-lessp): + Renamed from uniquify-filename-sort. + +1995-12-24 Richard Stallman + + * make-mode.el (makefile-add-log-defun): Rewrite to scan back + checking one line at a time. Notice blank lines and comments. + +1995-12-24 Karl Fogel + + * bookmark.el: Removed all `bookmark-xemacsp' conditional code + relating to menus. Do ";;;###autoloads" the as they were done in + 2.6.13. + (bookmark-version): new var, set to 2.6.19. + (baud-rate): set to 19200 if not already bound. + (bookmark-make): don't call `set-text-properties' on a Lisp string + if this is XEmacs, because it won't work. + (buffer-substring-no-properties): if this is not fboundp, then + fset it to `buffer-substring-without-properties'. + +1995-12-24 Richard Stallman + + * iso-acc.el: When turning on default settings, + preserve iso-accents-enable if it's already set. + + * rmail.el (rmail-forward): Quote lines with `- ' when necessary. + +1995-12-24 Roland McGrath + + * files.el (save-some-buffers): Don't give message if we queried. + +1995-12-23 Geoff Voelker + + * term/win32-win.el: Disable scrollbars until fully functional. + +1995-12-23 Richard Stallman + + * ps-print.el (ps-spool-buffer-with-faces): Fix typo in previous chg. + (ps-spool-region-with-faces): Likewise. + + * cc-mode.el (c-fill-paragraph): Return t if did special filling. + Otherwise return nil and don't change the buffer. + + * fill.el (fill-paragraph-function): Doc fix. + + * iso-acc.el (iso-languages): Add entry for `irish'. + + * cc-mode.el (c-mode-map): Don't rebind M-q. + (c-common-init): Set fill-paragraph-function. + + * rmail.el (rmail): Allow nonexistent file as arg. + +1995-12-22 Eli Zaretskii + + * compile.el (compile-internal): On systems with no asynchronous + processes: do relevant parts of compilation-sentinel after the + process exits; make modeline during and after compilation be + similar to what compilation-sentinel displays. + +1995-12-22 Erik Naggum + + * paths.el (rmail-spool-directory): Append slash to all pathnames. + +1995-12-21 Karl Heuer + + * emacsbug.el (report-emacs-bug): Don't die if *Messages* buf is gone. + +1995-12-21 Richard Stallman + + * disp-table.el (standard-display-european): Make 160 display as space. + + * files.el (save-buffer): Doc fix. + +1995-12-21 + + * sendmail.el (mail-setup): Put text property on mail-header-separator. + (mail-header-separator): Set it up for use as a category property. + (mail, mail-send): Turn on inhibit-read-only temporarily. + +1995-12-20 Richard Stallman + + * disp-table.el (standard-display-european): Test code 161, not 160. + + * loaddefs.el (debug-ignored-errors): Set it. + +1995-12-18 Richard Stallman + + * startup.el (normal-top-level): Don't set auto-save-list-file-name + if auto-save-list-file-prefix is nil. + +1995-12-17 Richard Stallman + + * simple.el (shell-command-on-region): If current buffer is + *Shell Command Output*, use the replacement case. + + * iso-acc.el: Many doc fixes. + + * iso-ascii.el (iso-ascii-convenient): New variable. + (iso-ascii-display): New function to implement that variable. + Use it instead of using standard-display-ascii directly. + + * startup.el (normal-top-level): Don't set auto-save-list-file-name + if it was already set non-nil (by .emacs, for example). + (auto-save-list-file-prefix): Doc fix. + + * imenu.el (imenu-update-menubar): New function. + (imenu-add-to-menubar): Use an ordinary menu bar submenu. + Add imenu-add-to-menubar to menu-bar-update-hook to update the submenu. + (imenu--make-index-alist): Add noerror argument. + (imenu--menubar-select): New function. + (imenu--create-keymap-1, imenu--create-keymap-2): New arg COMMANDS. + (imenu): Allow a string as arg. + +1995-12-16 Richard Stallman + + * emacsbug.el (report-emacs-bug): If `mail' asks for confirmation + and the user doesn't give it, don't do anything more. + Explain a way to cancel the message. + Include recent keys and recent *Messages* messages at end. + +1995-12-15 Richard Stallman + + * ps-print.el: Doc fixes. + + * edebug.el (edebug-read-syntax-table): Add backquote. + (edebug-read-alist): Handle comma and backquote. + (edebug-read-backquote, edebug-read-comma): New functions. + (edebug-read-list): Special handling for backquote. + + * rmail.el (rmail-ignored-headers): Add resent-date, nntp-posting-host. + + * make-mode.el (makefile-font-lock-keywords): Fix bad structure + for the "^\t+#" element. + + * startup.el (command-line-1): Use auto-save-list-file-prefix + when checking for existing files. + +1995-12-14 Richard Stallman + + * calendar.el (calendar-astro-from-absolute): Autoload it. + + * subr.el (add-to-list): Doc fix. + + * supercite.el (sc-attribs-extract-namestring): Do look for + doublequotes after finding angle brackets. + + * rmail.el (rmail-retry-failure): Fix previous change. + Combine variables mail-buffer and rmail-buffer. + Look for an end-delimiter in case where the start-of-bounce + delimiter looks like -- plus some more text. + +1995-12-13 Kevin Rodgers + + * ange-ftp.el (ange-ftp-load): Added missing form to `cdr' down + tryfiles in `while' loop. + +1995-12-12 Michael Ernst + + * uniquify.el (uniquify-fix-list-filename-lessp): Rename from + uniquify-filename-sort. + Correct doc references to Emacses that aren't FSF GNU Emacs 19. + +1995-12-12 Richard Stallman + + * flow-ctrl.el (enable-flow-control-on): Try the whole TERM name + before trying to strip off words from the end. + + * rmail.el (rmail-search): Doc fix. + +1995-12-11 Ake Stenhoff + + * cc-mode.el (cc-imenu-c++-generic-expression): New variable. + (cc-imenu-c-generic-expression): New variable. + (c++-mode): Set imenu-generic-expression. + (c-mode): Set imenu-generic-expression. + +1995-12-10 Richard Stallman + + * isearch.el (isearch-done): Use executing-kbd-macro. + + * rmailsum.el (rmail-make-basic-summary-line): + Recognize user-mail-address in From field means msg is from you. + +1995-12-07 Richard Stallman + + * byte-opt.el (byte-compile-unfold-lambda): Recursively optimize body. + + * cc-mode.el (c-style-alist): Downcase the style names. + (c-set-style): Downcase style names for lookup. + (cc-mode style): Define with lower-case name. + +1995-12-06 Richard Stallman + + * ange-ftp.el (ange-ftp-start-process): Bind env var TERM to dumb. + + * lpr.el (lpr-switches, lpr-add-switches): Doc fixes. + +1995-12-05 Richard Stallman + + * cc-mode.el (c-progress-fini): Fix "done" message. + +1995-12-04 Richard Stallman + + * subr.el (buffer-substring-no-properties): Function deleted. + +1995-12-03 Richard Stallman + + * paren.el (window-setup-hook): Clear blink-matching-paren-on-screen; + don't touch blink-paren-function. + + * simple.el (blink-matching-paren-on-screen): New variable. + (blink-matching-open): Obey it. + + * completion.el (symbol-under-point, symbol-before-point) + (symbol-under-or-before-point, symbol-before-point-for-complete): + Use unwind-protect to restore syntax table. + (symbol-before-point, symbol-before-point-for-complete): + Start the backward scan-sexps from point, not (1+ (point)). + + * bytecomp.el (byte-compile-output-docform): Don't do dynamic doc + strings if byte-compile-compatibility. + + * isearch.el (isearch-search-and-update): Use isearch-case-fold-search + around the looking-at call. + +1995-12-02 Richard Stallman + + * paths.el (rmail-spool-directory): Try /var/spool/mail. + (news-path): Use /var/spool/news as last resort. + + * lisp-mode.el (lisp-fill-paragraph): Several changes. + Change how to recognize partial comment lines, + how to find start of region to fill. Use fill-region. + Use tabs when making comment-fill-prefix. + +1995-12-01 Richard Stallman + + * isearch.el (isearch-just-started): New variable. + (isearch-mode): Set it. + (isearch-search): Clear it. + (isearch-repeat): If isearch-just-started, don't test for empty match. + (isearch-unread): Use store-kbd-macro-event. + +1995-12-01 Francesco Potorti` + + * gud.el (gud-sdb-marker-filter): Modify the regexp for sysVR3 to + take care of the asterisk prompt. Correctly set gud-marker-acc. + +1995-12-01 Francesco Potorti` + + * make-mode.el: Add faces to menu only if window-system. + (makefile-mode): Do not check if makefile-define-space-face is + defined. Call it only if window-system. + +1995-11-30 Richard Stallman + + * gnus-msg.el (gnus-post-news): Add autoload. + +1995-12-20 Roland McGrath + + * compile.el (compilation-mode): Add autoload cookie. + +1995-12-19 Noah Friedman + + * yow.el (apropos-zippy): New command. + (yow-load-message, yow-after-load-message): New constants. + (yow, read-zippyism): Use them. + Now KEN and BARBIE are PERMANENTLY ADDICTED to MIND-ALTERING DRUGS.. + +1995-12-19 Daniel Pfeiffer + + * apropos.el (apropos-match-face): Use `secondary-selection' rather + than `highlight' to distinguish it from mouse-face highlighting of + hyperlinks. + (apropos-mode-map): Rename from `apropos-local-map'. + (apropos-mode): Set it rather than have a local-map that made RET + locally unusable when copied to other buffer. + (apropos-print): Use it. When there is only one property, show + what it is. Remove superfluous `save-excursion', thus making help + commands' return-message be correct. + (apropos-print, apropos-describe-plist): `print-help-return-message' + like help commands. + +1995-12-19 Eli Zaretskii + + * time.el (display-time): make it work under ms-dos by setting the + `dos-display-time' variable instead of invoking `wakeup' as + asynchronous process (which doesn't work under ms-dos). + +1995-12-19 Karl Heuer + + * files.el (auto-mode-alist): Recognize .S and .asm extensions. + + * files.el (make-backup-file-name, backup-file-name-p): Use ~ even + on ms-dos. + * dired.el (dired-flag-backup-files): Undo previous change. + +1995-12-16 Lars Magne Ingebrigtsen + + * nntp.el (nntp-open-server): Enable successful "connectionless" + server switching. + +1995-12-15 Eric Ding + + * goto-addr.el: Mouse-click method now bound using text + properties rather than local-set-key. + +1995-12-15 Karl Heuer + + * sendmail.el (mail-bury): Use window-dedicated-p. + + * files.el (set-auto-mode): Recognize `#!/bin/env INTERPRETER' hack. + +1995-12-14 Lars Magne Ingebrigtsen + + * gnus.el (gnus-summary-mode-line-format, + gnus-article-mode-line-format, gnus-group-mode-line-format): + Include the buffer name in the default mode strings. + (gnus-mode-non-string-length): Changed the default to not + limit/pad mode line lengths. + (gnus-set-mode-line): Supply new values for the mode string + variables. + (gnus-summary-remove-lines-marked-with): Put point on the current + article after expunging lines. + +1995-12-14 Roland McGrath + + * etags.el: Fix changes of 4 Feb 95 by brat@htilbom.ernet.in. + (find-tag-file-order): Variable removed. + (find-tag-noselect): Remove variable SEARCH-TAG and special case + setting find-tag-order for patterns ending in dot. + (find-tag-in-order): Remove variable TAGS-TABLE-FILE. + Remove variable MATCH-TYPE and code testing it for special case. + (etags-recognize-tags-table): Put tag-exact-file-name-match-p first in + find-tag-tag-order list. Don't set find-tag-file-order. + (etags-snarf-tag): Notice file name match and return tag info with t + in place of tag text. + (etags-goto-tag-location): If (car TAG-INFO) is t, go directly to + the specified location. + (tag-exact-file-name-match-p): Renamed from tag-filename-match-p, + and fixed. + (tags-table-files): Doc fix: names are returned unexpanded. + (etags-tags-table-files): Don't expand file names. + (tags-table-including, next-file): Expand result of (tags-table-files). + (tags-complete-tags-table-file): New function, helper for interactive + spec of list-tags. + (list-tags): Revert to original code, but use that function to lazify + the completion table. + (tags-list-functions-in-file, tags-locate-file-in-tags-table): + Functions removed. + + * autoload.el (generate-file-autoloads): If no buffer visiting + FILE exists, read it into a temp buffer for processing without + visiting it. + +1995-12-13 Stefan Schoef + + * bibtex.el (bibtex-auto-fill-function): Adapted for use with + changed autofill policy of emacs-19.30 (uses now fill-prefix + instead of indent-line-function). + (bibtex-indent-line-function): Removed (not used any more). + + * bibtex.el (bibtex-make-field): Was broken when called + non-interactively. + + * bibtex.el (bibtex-make-field): Point is now placed on closing + brace or quote (suggested by Karl Eichwalder ). + + * bibtex.el (bibtex-clean-entry): Comma after last field isn't + deleted anymore (new standard in BibTeX 0.99 and 1.xx). + (bibtex-enclosing-reference-maybe-empty-head): Works with entries + with comma after last field. + (bibtex-reference): Permits entries with comma after last field. + (bibtex-font-lock-keywords): Enhanced to support new field-name + characters (suggested by Martin Maechler + ). + + (bibtex-field-name): Now numbers (not as the first sign), dashes, + and underscores are allowed (suggested by Martin Maechler + and Oren Patashnik + ). + + * bibtex.el (bibtex-make-field): Was broken on lines containing + non-parenthesized entries (reported by Karl Eichwalder + ). + + * bibtex.el (bibtex-validate-buffer): Changed so that preamble + references are ignored (same as string entries) (reported by + Martin Maechler ). + + * bibtex.el (bibtex-enclosing-reference-maybe-empty-head): + New function to be used in case reference head may be empty. + (bibtex-clean-entry, bibtex-pop-previous, bibtex-pop-next): Uses + now bibtex-enclosing-reference-maybe-empty-head. + (bibtex-mode): Added support for font-lock mode. + (bibtex-font-lock-keywords): New variable with font-lock keywords + for BibTeX mode. + + * bibtex.el (bibtex-make-optional-field): Not longer interactive + (suggested by Karl Eichwalder ). + + * bibtex.el (bibtex-maintain-sorted-entries): Set to nil, since it + requires more user attention and more restricted files to have + this set to t. + (bibtex-maintain-sorted-entries, + bibtex-sort-ignore-string-entries): Made buffer local, since it + may depend on the buffer which preferences to use. + (bibtex-validate-buffer): Looking for correct sort order only when + bibtex-maintain-sorted-entries is non-nil. + Put a comment in the `KNOWN BUGS' section about the + quote-inside-quotes problem. + (whole file): Changed string `true' in some documentation strings + to `non-nil' (e.g. `if variable has a true/non-nil value'). + (bibtex-mode-map): Changed `move/edit' to `bibtex-edit'. + + * bibtex.el (bibtex-sort-entries): Now works correctly with + `@String' entries inside BibTeX files (i.e. after the occurence of + other references). + (bibtex-validate-buffer): Inserted code which looks if entries are + balanced (a single non-escaped quote inside braces was not + detected till now, but bibtex-sort-entries stumbles about it). + + * bibtex.el (bibtex-entry): bibtex-move-outside-of-entry is only + called when bibtex-maintain-sorted-entries is nil (otherwise + bibtex-find-entry-location determines the correct location). + (bibtex-find-entry-location): Now uses binary search. As before, + it assumes that the buffer is sorted without duplicates (but as + before it is only called when bibtex-maintain-sorted-entries is + t). Ignores `@String' entries if told so via variable + bibtex-sort-ignore-string-entries. + + * bibtex.el (bibtex-clean-entry): Respect + bibtex-maintain-sorted-entries when inserting autokey. + (bibtex-validate-buffer): Searching whole buffer for duplicates + and correct order is now done directly instead of calling + bibtex-find-entry-location (since this is to be reprogrammed to + use a binary search instead a sequential one). + + * bibtex.el (bibtex-parse-keys): May now be called with an + optional parameter which (if t) tells bibtex-parse-keys that it + should abort if input is pending. + (bibtex-mode): The instance of bibtex-parse-keys called in + auto-save-mode-hook is now called with this new parameter set to + t, so an auto-save caused by exceeding auto-save-interval is now + aborted immediately if user is still typing. + + * bibtex.el (bibtex-print-help-message, bibtex-clean-entry): Use + now constant strings instead of custom ones. + + * bibtex.el (bibtex-clean-entry): Changed the call of + bibtex-enclosing-reference to a more specific call so entries + without a key (here allowed) can be handled. + (bibtex-reference-key): Cleared off parentheses (caused string + entries enclosed by parentheses instead of braces to be not added + to bibtex-completion-candidates). + (bibtex-complete-string): Made it use bibtex-string. + + * bibtex.el (bibtex-keys, + bibtex-buffer-last-parsed-for-keys-tick): New buffer-local + variables to make parsing of BibTeX buffer for reference keys + (needed by TAB completion in minibuffer when entering key) more + occasional. + (bibtex-parse-keys): New function to parse for keys (functionality + was partially included in bibtex-entry). + (bibtex-entry): Changed to use bibtex-parse-keys. + (bibtex-mode): Installs bibtex-parse-keys as an + auto-save-mode-hook, so whole buffer is parsed at most when it is + autosaved. + (bibtex-clean-entry): Calls bibtex-parse-keys on the new entry, so + bibtex-keys remains consistent for new entries that are finished + by calling this function (most should). + + * bibtex.el (bibtex-inside-field): Be independent on current + setting of bibtex-field-right-delimiter (allows more intermixing + between quotes and braces). + (bibtex-make-field): Last change didn't make it work correctly + when called non-interactively by bibtex-entry (fixed). + +1995-12-13 Eli Zaretskii + + * dired.el (dired-flag-backup-files): Under MS-DOS, search for + possible backup files by checking for filenames which end with a + `k' (the backup extension is `.bak'). + +1995-12-13 Simon Marshall + + * faces.el (modify-face): Take extra optional arg FRAME. + Use face-try-color-list to change foreground and background colours. + If BOLD-P, ITALIC-P or UNDERLINE-P not nil or t, don't change the + display attribute corresponding to that arg. Doc fix. + +1995-12-12 David K}gedal + + * sendmail.el (sendmail-send-it): Added support for Resent-CC and + Resent-BCC headers. + +1995-12-12 Karl Heuer + + * rmail.el (rmail-forward): Delete trailing blank lines. + + * fill.el (fill-context-prefix): Doc fix. + + * sh-script.el: Provide sh-script. + +1995-12-12 Karl Eichwalder + + * add-log.el (change-log-mode): Defaults for `indent-tabs-mode' + and `tab-width'. + +1995-12-12 Daniel Pfeiffer + + * sh-script.el (sh-mode-map): Make the code more legible. + (sh-font-lock-keywords-1): Allow keyword `in' at eol too. + (sh-font-lock-keywords-only): New variable to prevent an apostrophe + in comment from misfontifying buffer, but to allow users who don't + have such to get strings fontified. + (sh-mode): Use it. + +1995-12-12 Simon Marshall + + * faces.el (x-frob-font-weight, x-frob-font-slant): Make sure + case-fold-search is bound to t. + +1995-12-11 Simon Marshall + + * comint.el (send-invisible): Send string using comint-input-sender. + +1995-12-09 Simon Marshall + + * font-lock.el (font-lock-mode): Don't turn on in any buffer with + a leading space in its name, and widen when unfontifying. Doc fix. + (font-lock-fontify-buffer): Widen when fontifying. + (font-lock-fontify-window): New command. Bind to C-S-l. + (font-lock-fontify-region, font-lock-unfontify-region): Bind both + change hooks to nil while changing text properties. + +1995-12-09 Lars Magne Ingebrigtsen + + * gnus.el (gnus-simplify-mode-line): New function to simplify the + mode line in a safer manner. + (gnus-group-mode, gnus-browse-mode, gnus-summary-mode, + gnus-article-mode, gnus-server-mode): Use the function. + +1995-12-08 Lars Magne Ingebrigtsen + + * gnus.el (gnus-group-set-mode-line): Allow user defined specs in + the group format mode line. + +1995-12-06 Lars Magne Ingebrigtsen + + * gnus.el (gnus-parse-headers-hook): New hook. + (gnus-get-newsgroup-headers): Call it. + (gnus-get-newsgroup-headers-xover): Call it. + (gnus-group-mode-map): Moved `gnus-group-fetch-faq' from `M-f' to + `H f'. + (gnus-summary-copy-article): Allow respooling to any backend. + (gnus-summary-set-process-mark): Make sure each article can only + be process marked once. + (gnus-summary-remove-lines-marked-with): Put point on a valid + article after removing lines. + (gnus-summary-sort-by-author): Didn't allow sorting when + pseudo-articles were present. + (gnus-summary-sort-by-subject): Ditto. + +1995-12-06 Erik Naggum + + * files.el (recover-file): Also recover new, unsaved files. + +1995-12-05 Ed Reingold + + * cal-menu.el (calendar-mode-map): Undefine search button. + Many places: Use correct names of functions. + + * diary-lib.el: Changed all occurrences of buffer-substring to + buffer-substring-no-properties. + (diary-iso-date): Autoload it. + + * cal-dst.el (dst-in-effect): Fixed calculations for southern + hemisphere and made the doc string clearer. + +1995-12-03 Karl Heuer + + * copyright.el (copyright-regexp): Recognize ISO copyright symbol. + (copyright-update): Pattern is now match #2, not #1. + +1995-12-02 Erik Naggum + + * disp-table.el (display-table-slot,set-display-table-slot): + Document the slot names. + +1995-12-01 Francesco Potorti` + + * gud.el (gud-sdb-marker-filter): start may be nil, so check it + with numberp before using it. + + * isearch.el (isearch-edit-string): Consider the case when + isearch-string is empty and so are the search rings. + +1995-11-30 Richard Stallman + + * gnus-msg.el (gnus-post-news): Add autoload. + +1995-11-29 Paul Eggert + + * cal-chinese.el (calendar-chinese-sexagesimal-name): Renamed from + calendar-chinese-sexagisimal-name to fix misspelling. + * cal-hebrew.el (holiday-rosh-hashanah-etc): Fix misspelled var. + * holidays.el (holiday-easter-etc): Fix misspelling of "Whitmonday". + * calendar.el (calendar-setup, calendar-basic-setup, + calendar-next-calendar-round-date, + calendar-previous-calendar-round-date, cal-tex-cursor-year), + cal-julian.el (calendar-absolute-from-astro), + cal-mayan.el: (calendar-next-calendar-round-date, + calendar-previous-calendar-round-date), + diary-lib.el (list-sexp-diary-entries), + solar.el (solar-longitude): Doc fixes to fix misspellings. + +1995-11-29 Richard Stallman + + * files.el (auto-mode-alist): Don't purecopy the alist elts. + + * saveplace.el (save-place-limit): New variable. + (load-save-place-alist-from-file): Obey it. + Fix "done" message. + (save-place-alist-to-file): Fix "done" message. + +1995-11-28 Gary Oberbrunner + + * gud.el (gud-dbx-find-file): Find correct source file. + +1995-11-27 Erik Naggum + + * apropos.el (apropos-follow): Rewrite to use whole line as target + of reference. + +1995-11-27 Richard Stallman + + * apropos.el (apropos-mouse-follow): Do save-excursion. + Error if not adjacent to a mouse-face property. + +1995-11-26 Richard Stallman + + * rmailsum.el (rmail-summary-get-new-mail): Don't call + rmail-summary-goto-msg if msg is 0. + +1995-11-24 Simon Marshall + + * mailalias.el (build-mail-aliases): Use buffer-substring-no-properties + not buffer-substring. + +1995-11-24 Richard Stallman + + * Version 19.30 released. + + * diary-lib.el: Renamed from diary.el. + * calendar.el, cal-tex.el: Use new name diary-lib. + + * cc-mode.el (c++-mode, objc-mode, c-mode): Doc fix. + + * font-lock.el (font-lock-make-faces): Add special code for ms-dos. + + * view.el (view-mode, view-mode-enter): Doc changes. + (view-mode-map): Change h and ? to use describe-mode. + Delete binding of help char. + (view-mode-enter): Use describe-mode in message. + +1995-11-23 Andreas Schwab + + * ediff-mult.el (ediff-intersect-directories): Quote symbols + starting with `:'. + + * view.el (view-mode-enter): Replace Help-helper by help-command + in doc string and message. + + * sort.el (sort-regexp-fields): Doc fix. + * inf-lisp.el (inferior-lisp-load-command): Doc fix. + * imenu.el (imenu-generic-expression, imenu--generic-function): + Doc fix. + + * add-log.el (add-change-log-entry): Initialize add-log-full-name + and add-log-mailing-address before prompting. + +1995-11-23 Richard Stallman + + * completion.el (cmpl-make-standard-completion-syntax-table) + (cmpl-make-c-def-completion-syntax-table): Use make-syntax-table. + (completion-c-mode-hook): Encapsulate C-mode changes in new function. + Either call it now or put it on c-mode-hook. + +1995-11-22 Barry Warsaw + + * cc-mode.el (c-beginning-of-statement-1): CASE 3, can't just + return t at end of let clause since this will break + arglist-cont-nonempty lines. + +1995-11-22 Geoff Voelker + + * makefile.nt (install, clean): Don't use switches to del not + supported by Windows 95. + +1995-11-21 Richard Stallman + + * man.el (Man-fontify-manpage, Man-cleanup-manpage): + Convert \255 to a dash. + + * apropos.el (apropos-print): Put the item property + on the whole printed symbol. + (apropos-follow): Look for the item property only adjacent to point. + Signal an error if there is none. + +1995-11-20 Richard Stallman + + * apropos.el (apropos-print): Use apropos-local-map as buffer's map, + not as a text property. + + * ediff-hook.el (menu-bar-epatch-menu, menu-bar-ediff-merge-menu) + (menu-bar-ediff-menu): Give names to the menus. + + * ediff-mult.el: Renamed from ediff-meta.el. Changed provide. + * ediff.el, ediff-util.el: Require ediff-mult. + * ediff-hook.el (ediff-show-registry): Use renamed file ediff-mult.el. + + * array.el (array-mode): Set overwrite-mode to overwrite-mode-textual. + + * term/pc-win.el (msdos-color-aliases): Add more aliases. + (msdos-face-setup): Change colors for bold, bold-italic, underline. + (x-frob-font-slant): Define as no-op. + + * saveplace.el (save-place-to-alist): Handle hexl-mode specially. + +1995-11-19 Erik Naggum + + * calendar.el (cal-tex-cursor-week-iso): Doc fix. + +1995-11-19 Richard Stallman + + * calendar.el: + (cal-tex-cursor-filofax-week): Renamed from cal-tex-cursor-week6. + (cal-tex-cursor-filofax-2week): Renamed from cal-tex-cursor-week5. + (cal-tex-cursor-week-monday): Renamed from cal-tex-cursor-week4. + (cal-tex-cursor-week-iso): Renamed from cal-tex-cursor-week3. + + * cal-tex.el (cal-tex-version): Deleted. + (cal-tex-cursor-year-landscape): Doc fix. + (cal-tex-cursor-filofax-week): Renamed from cal-tex-cursor-week6. + (cal-tex-cursor-filofax-2week): Renamed from cal-tex-cursor-week5. + (cal-tex-cursor-week-monday): Renamed from cal-tex-cursor-week4. + (cal-tex-cursor-week-iso): Renamed from cal-tex-cursor-week3. + + * info.el (Info-directory-list): Use source-directory. + +1995-11-18 Richard Stallman + + * calendar.el (calendar-goto-info-node): Don't let + same-window-buffer-names do its usual job--force *info* buffer + into another window. + + * simple.el (do-auto-fill): Look at 2nd line for fill prefix + even when on the first line. Don't accept non-whitespace prefix + from the first line. + + * fill.el (fill-context-prefix): New arg first-line-regexp. + + * finder.el (finder-known-keywords): Delete `debugging'. + +1995-11-18 Lars Magne Ingebrigtsen + + * nntp.el (nntp-open-server): Accept a second optional parameter + for just changing virtual server. Doc fix. + (nntp-possibly-change-server): Use it. + (nntp-close-server): Ditto. + +1995-11-17 Richard Stallman + + * cc-mode.el (c-guess-basic-syntax, c-beginning-of-statement-1): + Do not check for c-conditional-key when skipping backwards over + statements that look sort of like conditionals. This makes + statements following nested functions indent correctly. CASE 9B.3 + (unknown catchall) now gets triggered by the brace that opens a + nested function. Also, this changes the relpos for top-level + defun-open braces, but that will be very hard to fix, and it may + break backward compatibility. + + * cc-mode.el (c-guess-basic-syntax): + CASE 5H, inclass relpos should be relative to + boi of the open brace, not the beginning of the class keyword. + + * cc-mode.el (c-fill-paragraph): Doc fix. + +1995-11-17 Lars Magne Ingebrigtsen + + * gnus.el (gnus-group-quit-config): Return the quit-config instead + of a list containing the quit-config. + +1995-11-17 Andreas Schwab + + * mail-utils.el (rmail-dont-reply-to): Preserve whitespace after comma. + +1995-11-17 Richard Stallman + + * etags.el (next-file): Make interactive arg t if had any prefix arg. + + * faces.el (face-color-supported-p): Return nil if no window system. + +1995-11-17 Ed Reingold + + * cal-coptic.el: Fix epoch of Ethiopiac calendar. + + * cal-chinese.el: Minor fixes. + +1995-11-17 Boris Goldowsky + + * indent.el (move-to-left-margin): Removed left-over code that + made it fail on right-justified and centered text. + + * fill.el (fill-region-as-paragraph): Remove redundant "setq from". + Don't add extra newline at end if there is no text in paragraph -- + doing so can make fill-region loop. + When testing for indentation exceeding fill-column, skip back over + tabs too. + +1995-11-17 Karl Heuer + + * rmail.el (rmail-retry-failure): Add missing colons in regexp. + Use " +", not " *", to check for indented text. + Don't make a temp buffer; just record the indent amount. Simplify. + +1995-11-17 Richard Stallman + + * simple.el (do-auto-fill): Ignore the result of fill-context-prefix + if it is empty. + + * cc-mode.el (c-common-init): Set adaptive-fill-regexp to nil. + + * fill.el (fill-context-prefix): Use adaptive-fill-regexp only if non-nil. + +1995-11-16 Andreas Schwab + + * calendar.el (calendar-julian-date-string): Autoload this. + +1995-11-16 Richard Stallman + + * ange-ftp.el (ange-ftp-process-handle-hash): If + ange-ftp-hash-mark-unit is nil, don't display a message. + (ange-ftp-process-filter): Call ange-ftp-process-handle-hash even + if ange-ftp-hash-mark-unit is nil. + +1995-11-16 Johan Vromans + + * forms.el: Use `buffer-substring-no-properties' instead of + `buffer-substring' to avoid the properties being copied. + +1995-11-16 Richard Stallman + + * cc-mode.el (c-beginning-of-statement, c-end-of-statement): + New arg sentence-flag. Use that instead of interactive-p. + (c-mode-help-address): Send bug reports to bug-gnu-emacs too. + + * fill.el (fill-context-prefix): Check adaptive-fill-function non-nil. + +1995-11-16 Per Abrahamsen + + * menu-bar.el (minibuffer maps): Delete extra quote. + +1995-11-16 Richard Stallman + + * info.el (Info-complete-menu-item): Don't treat `* Menu:' + as a menu item. + +1995-11-15 Richard Stallman + + * nntp.el (nntp-close-server-internal): + Don't call nntp-possibly-change-server. + + * cplus-md.el (c++-mode): Remove autoload cookie. + + * mouse-sel.el (mouse-sel-lost-selection-hook): Undo prev change. + + * tmm.el (tmm-prompt): Delete tmm-add-prompt if we fail. + Don't switch to *Completions* if it wasn't created. + + * startup.el (command-line-1): Mention F10. + +1995-11-14 Richard Stallman + + * fill.el (fill-individual-paragraphs): Advance 1 line in inner loop. + (fill-region-as-paragraph): Handle left margin extending to or past + fill-column. + + * mouse-sel.el (mouse-sel-lost-selection-hook): Use (car selection). + + * indent.el (indent-line-to): Delete spaces before inserting a tab. + + * calendar.el (calendar-julian-from-absolute): Autoload it. + + * goto-addr.el (goto-address): Use S-mouse-2, not S-mouse-1. + Add autoload cookie. + + * startup.el (command-line-1): Reorganize the initial help output. + + * hexl.el (hexl-mode): Set require-final-newline to nil. + If point was at end of buffer, move it back one byte. + +1995-11-14 Eric Ding + + * goto-addr.el (goto-address-highlight-p): New variable. + (goto-address-fontify): Removed check for invisible text, + set inhibit-point-motion-hooks instead + +1995-11-13 Richard Stallman + + * vc-hooks.el (vc-locking-user): In CVS case, convert + user number to a string. + + * vc.el (vc-directory): Require dired. + (vc-revert-buffer): Ignore vc-suppress-confirm. + +1995-11-13 Morten Welinder + + * arc-mode.el (archive-remote-regexp): Doc fix. + +1995-11-12 Andreas Schwab + + * compile.el (compilation-sentinel): Use the local value of + compilation-exit-message-function in the process buffer. + +1995-11-12 Richard Stallman + + * tmm.el (tmm-define-keys): Don't define ESC ESC. + + * ffap.el: New file. + + * info.el (info-insert-file-contents-1): Various rewrites. + Compute EXT-LEFT after removing the dot from SUFFIX. + +1995-11-11 Richard Stallman + + * window.el (balance-windows): Don't count the menu bar's lines + in the frame height. + + * menu-bar.el (delete-frame): Don't use delete-frame as event name. + + * startup.el (command-line): Don't reject unknown args here. + (command-line-1): Detect it here. + + * dabbrev.el (dabbrev-case-replace): Doc fix. + +1995-11-10 Richard Stallman + + * tmm.el: Define menu-bar mouse-1 as tmm-menubar. + + * simple.el (universal-argument-other-key): Add to existing + unread-command-events value. + +1995-11-10 Per Abrahamsen + + * xt-mouse.el (global-map): Removed bindings of down events to ignore. + (xterm-mouse-translate): Only generate down event when bound. + Cleanup. Support for mode line and vertical bar dragging, and + menu-bar events. + (xterm-mouse-x): New variable. + (xterm-mouse-y): New variable. + (mouse-position): Advice to use above variables. + (xterm-mouse-event): Support menu-bar. Set xterm-mouse-x and + xterm-mouse-y. + +1995-11-10 Boris Goldowsky + + * add-log.el (change-log-mode): Remove incorrect "^" anchors from + paragraph-start and -separate. + (change-log-fill-paragraph): Use regular value of paragraph-start + to bound paragraph to be filled, modified values only to do the + filling. Make lines beginning with parentheses + paragraph-starters, but not paragraph-separators. + + * cc-mode.el (c-common-init): Remove "^" from paragraph-start and + paragraph-separate. Moved page-delimiter first in case it has a + "^" also. + + * lisp-mode.el (lisp-mode-variables, lisp-fill-paragraph): Remove + "^" from paragraph-start and paragraph-separate. Moved + page-delimiter first in case it has a "^" also. + + * sh-script.el (sh-mode): as above. Use page-delimiter rather than + literal "^L". + + * fill.el (fill-region-as-paragraph): Since adaptive-fill-regexp + is supposed to match text STARTING at the left margin, use + `looking-at' rather than `re-search-forward'. + (fill-individual-paragraphs): Match fill-prefixes starting at + left-margin. + +1995-11-10 Erik Naggum + + * view.el (View-scroll-lines-forward): Don't recenter at end. + +1995-11-10 Kevin Rodgers + + * files.el (find-file-noselect): Respect the value of + find-file-visit-truename when FILENAME is a directory and + find-file-run-dired is non-nil. + +1995-11-10 Boris Goldowsky + + * facemenu.el (facemenu-unlisted-faces): Remove font-lock faces from + the default list. The list of face names was out of sync; to + prevent this from happenning again I made font-lock.el, and other + packages that create "private" faces, put them on the list + themselves. This should give them a better chance of being + updated when the packages are changed. + + * calendar.el (holiday-face, calendar-today-face, diary-face): Add + faces to facemenu-unlisted-faces before creating so that facemenu + won't list them as faces to be added interactively. + + * viper.el: Don't list any faces in menu. + + * paren.el (show-paren-command-hook): Don't list `paren-mismatch' + face in menu. + + * make-mode.el (makefile-space-face): Don't list in facemenu. + + * ediff-init.el: All faces added to facemenu-unlisted-faces list. + + * facemenu.el (facemenu-active-faces): Replaces function + `facemenu-discard-redundant-faces'. This version, written by + Simon Marshall, is faster and does not require optional + argument for recursive re-entry. New argument FRAME allows + check to be done relative to face definitions in any frame. + +1995-11-10 Richard Stallman + + * enriched.el (enriched-next-annotation): Doc fix. + + * dos-fns.el: Fix previous change. + +1995-11-09 Richard Stallman + + * make-mode.el (makefile-mode): Call makefile-define-space-face + only if it is defined. + (makefile-define-space-face): Create the face unconditionally; + alter it only if have X. + + * cal-x.el: Require calendar. + +1995-11-09 Richard Stallman + + * simple.el (do-auto-fill): Use fill-context-prefix. + + * fill.el (fill-region-as-paragraph): Use fill-context-prefix. + (fill-context-prefix): New function. + +1995-11-09 Simon Marshall + + * font-lock.el (font-lock-mode): Use make-local-hook. + (font-lock-fontify-buffer): Don't preserve buffer modification here, + it is done elsewhere, but do preserve match-data. + (font-lock-fontify-syntactically-region, + font-lock-fontify-keywords-region): Don't preserve buffer modification + and temporarily install font-lock-syntax-table here. + (font-lock-fontify-region): Do it here instead. + (font-lock-fontify-anchored-keywords): Ensure LIMIT is end of line. + (font-lock-match-c++-style-declaration-item-and-skip-to-next): No need + to do end-of-line here now. + (font-lock-keywords): Doc fix. + (font-lock-make-face): Add the face to facemenu-unlisted-faces, from + Boris Goldowsky . + + * compile.el (compilation-mode-font-lock-keywords): No leading spaces. + +1995-11-08 Richard Stallman + + * apropos.el (apropos-print): Use buffer *Apropos*, not *Help*. + (apropos-follow): Don't print a "how to get back" message. + + * awk-mode.el (awk-mode): Require cc-mode. + + * term/pc-win.el (x-display-color-p): Accept optional arg. + + * dos-fns.el (mode-line-format): Modify it, don't override it entirely. + + * startup.el (command-line): Complain about unknown options. + +1995-11-07 Richard Stallman + + * simple.el (shell-command-on-region): Use region-beginning + and region-end, to put them in the command history. + +1995-11-07 Kevin Gallo + + * term/win32-win.el: New file. + + * startup.el [win32] (normal-top-level, command-line, command-line-1): + * mouse.el [win32] (mouse-set-region): + * faces.el [win32] (make-face, make-face-x-resource-internal): + * facemenu.el [win32] (face-menu-read-color, list-colors-display, + facemenu-color-equal, face-menu-get-face): + Test for 'win32 window system as well as 'x. + + * makefile.nt (install): Change same-dir test to create test file in + installation tree and thereby support read-only shares. + +1995-11-06 Richard Stallman + + * apropos.el (apropos-follow): Fix error message. + + * startup.el (command-line): Handle = in option only if starts with --. + + * tmm.el (tmm-define-keys): New subroutine. + (tmm-add-prompt): Use that to define keys in both maps separately. + + * term/internal.el: Rewrite for new case tables. + +1995-11-06 Boris Goldowsky + + * fill.el (fill-region-as-paragraph): Don't insert extra space + at end of filled region. + +1995-11-06 Simon Marshall + + * bytecomp.el (byte-force-recompile): Make suitably interactive. + +1995-11-04 Richard Stallman + + * tmm.el: Use f10 as well as M-`. + + * menu-bar.el (menu-bar-tools-menu): Always define GNUS entry. + + * bytecomp.el (byte-compile-associative): Do operations left to right. + +1995-11-04 Karl Heuer + + * make-mode.el (makefile-define-space-face): Don't make face if non-X. + +1995-11-04 Lars Magne Ingebrigtsen + + * nnvirtual.el, nntp.el, nnspool.el, nnml.el, nnmh.el, nnmbox.el, + * nnmail.el, nnkiboze.el, nnheader.el, nnfolder.el, nneething.el, + * nndoc.el, nndir.el, nnbabyl.el, gnus.el, gnus-vm.el, + * gnus-vis.el, gnus-uu.el, gnus-score.el, gnus-msg.el, gnus-mh.el, + * gnus-kill.el, gnus-ems.el, gnus-edit.el, gnus-cite.el, + * gnus-cache.el, custom.el: New files. + +1995-11-03 Erik Naggum + + * gnus.el, gnusmail.el, gnuspost.el, gnusmisc.el, gnus-uu.el, + * mhspool.el, nnspool.el, nntp.el: GNUS release 4 files deleted. + + * hilit19.el: Removed old gnus hooks. + (gnus-group-mode): Adapt to new Gnus. + (gnus-summary-mode): Removed. + +1995-11-03 Karl Heuer + + * sendmail.el (mail): Don't change directory for *mail* buffer. + (sendmail-send-it, mail-recover): Instead, temporarily change to a + safe directory for just the subprocess. + + * tex-mode.el (tex-send-command): Give meaningful error message. + +1995-11-03 Richard Stallman + + * sendmail.el (mail-yank-clear-headers): Do nothing if + mail-yank-ignored-headers is nil. + + * pc-select.el (pc-selection-mode): Don't mess with c-mode-map. + + * startup.el (user-mail-address): Doc fix. + + * view.el (view-mode-map): Use ordinary Help command. + +1995-11-02 Daniel Pfeiffer + + * sh-script.el (sh-shells): Eliminated variable redundant with + `interpreter-mode-alist'. + (sh-beginning-of-command): Take into account \quoted newline. + (sh-builtins, sh-leading-keywords, sh-other-keywords): Now three + distinct sets for font-locking. + (sh-font-lock-keywords-1, sh-font-lock-keywords-2): New variables + and functions to give the user finer control over how much to fontify, + including new distinction between keywords and builtins. + (sh-mode): Use new features of `font-lock-defaults' and adaptation + to skeleton changes. + (sh-while): Fix csh, es & rc skeletons. + + * skeleton.el (skeleton-end-hook): Now defvared and responsible for + pushing out anything following skeleton to next line. Thus this + behaviour can now be controlled by modes. + (skeleton-insert): Parameter `no-newline' removed. + (skeleton-read): Take this into account. + (skeleton-internal-1): Less spurious empty lines when wrapping. + + * sh-script.el (sh-remember-variable): Set variable to empty string, + so as not to mess up subprocesses' environment. Not so nice for + completion. + + * two-column.el (minor-mode-map-alist): Use substitute-key-definition + to find the appropriate bindings for window enlarge/shrink. + (2C-shrink-window-horizontally, 2C-enlarge-window-horizontally): + Renamed from shrink-window-horizontally, enlarge-window-horizontally + to avoid redefining the standard functions. + +1995-11-02 Stephen Gildea + + * mh-e.el (mh-make-folder-mode-line): support mh-msg-count. + (mh-delete-scan-msgs): use fast new mh-goto-msg. + * mh-utils.el (mh-goto-msg): binary search (much faster!). + (mh-prompt-for-folder): error if regular file. + * mh-comp.el: reporter.el support. + +1995-11-02 Richard Stallman + + * rmail.el (rmail-delete-message-hook): New hook. + (rmail-delete-message, rmail-delete-forward): Run the hook. + + * rmail.el (rmail-mode-hook, rmail-get-new-mail-hook): Add defvars. + (rmail-show-message-hook): Likewise. + + * simple.el (do-auto-fill): When choosing fill-prefix, + don't include the left-margin indentation. + + * fill.el (fill-individual-paragraphs): Insist on nonempty header name, + in the special mailp case. + +1995-11-02 Erik Naggum + + * ehelp.el (with-electric-help): Add missing argument MINHEIGHT. + +1995-11-02 Andre Spiegel + + * vc-hooks.el (vc-utc-string): Use timezone of TIMEVAL for the + correction, not the current one. + (vc-rcsdiff-knows-brief): New variable. + (vc-rcs-lock-from-diff): Use it. + + * vc.el (vc-backend-diff): Use new variable vc-rcsdiff-knows-brief. + +1995-11-01 Karl Heuer + + * make-mode.el: Renamed from makefile.el. + + * term/x-win.el: Don't require initial whitespace in vendor name. + + * tpu-edt.el (tpu-set-mode-line): Add element for column number. + +1995-10-31 Richard Stallman + + * cc-mode.el (c-recognize-knr-p): Default now t. + + * server.el (server-log): Record the current time. + End with newline whenever STRING doesn't end with one. + + * sh-script.el (sh-mode-map): Put sh-execute-region on C-M-x. + Put executable-interpret on C-c C-x. + +1995-10-31 Richard Stallman + + * loadup.el: Always load menu-bar. + + * msb.el (msb--toggle-menu-type): Pass t as arg. + + * startup.el (command-line-1): Say how to invoke menu bar, if not X. + + * jka-compr.el (auto-compression-mode): Make arg optional. + + * loadup.el: Fix previous change. + +1995-10-30 Richard Stallman + + * mailabbrev.el (mail-abbrev-syntax-table): Fix initialization. + + * startup.el (command-line): If not X, do enable menu bar. + +1995-10-30 Stephen Gildea + + * time-stamp.el: Update some doc strings. + (time-stamp-strftime): Ignore some additional chars we might want + to use in the future for additional controls or parameters. + (time-stamp): Minor optimizations. + +1995-10-30 Richard Stallman + + * help.el (describe-function): Call documentation just once. + (describe-key): Likewise. + + * files.el (set-auto-mode): If mode cmds move point, obey them. + + * help.el (describe-variable): Don't call substitute-command-keys. + + * rmailsum.el (rmail-summary-overlay): Make it a permanent local. + + * vmsx.el: File deleted. + +1995-10-30 Simon Marshall + + * makefile.el (makefile-define-space-face): Use frame-parameters for + frame and display attributes. + +1995-10-29 Andreas Schwab + + * loadup.el (finding existing executable versions): + Add a period to the end of BASE. + + * arc-mode.el (archive-zoo-summarize): Handle archives + with long file names. + + * disass.el (disassemble-internal): Handle lazy-loaded doc strings. + (disassemble-1): Handle lazy-loaded bytecode objects. + + * etags.el (select-tags-table): Don't modify the value of + tags-table-list. + +1995-10-29 Richard Stallman + + * tmm.el (tmm-old-mb-map): Initialize to nil. + (tmm-delete-map): Don't use tmm-old-mb-map if nil. + (tmm-add-prompt): Bind C-n and C-p. + Put only the shortcuts into the completion buffer's map. + Produce the completion list by hand so as not to sort it. + (tmm-prompt): Start at the first item in the menu. + Don't reverse tmm-km-list; reverse compl-list instead. + Use try-completion in last-ditch attempt to find a match. + Rename compl-list to history. + (tmm-get-keybind): Put more local bindings last in a menu. + Major rewrite. + (tmm-menubar): Handle menu-bar-final-items. + (tmm-remove-shortcuts): Function deleted. + (tmm-add-shortcuts): If we can't find a letter shortcut, + use a numeric shortcut. + + * simple.el (column-number-mode): Make default value nil. + + * cc-mode.el (c-guess-basic-syntax): Verify c-access-key is non-nil + before looking for it. + + * bytecomp.el (byte-recompile-directory): New arg FORCE. + (byte-force-recompile): New function. + + * case-table.el (describe-buffer-case-table): Use set-char-table-range. + +1995-10-28 Erik Naggum + + * iso02-syn.el: Adapt to new char-table implementation. Fix name + of file in the first line, part number syntax of ISO standards, + and `provide' clause. Register file with RCS. + + * ange-ftp.el (ange-ftp-ftp-name,ange-ftp-replace-name-component): + Use posix-string-match for complex regexp in `ange-ftp-name-format'. + (ange-ftp-process-sentinel): Quote final * in buffer name match. + +1995-10-27 Noah Friedman + + * rlogin.el (rlogin): If `buffer' arg is a buffer object, + initialize `buffer-name' to the buffer name. + Set `buffer' to buffer actually created or returned by + get-buffer-create. + Set `proc' to the process actually in the new buffer, not the + process with the name buffer-name; they may not be the same if + buffers have been renamed. + +1995-10-26 Ed Reingold + + * cal-chinese.el (calendar-chinese-sexagisimal-name): New + function. + (holiday-chinese-new-year,calendar-chinese-date-string): Use it. + +1995-10-26 Richard Stallman + + * files.el (set-visited-file-name, basic-save-buffer): + Set buffer-file-number consistently with find-file-noselect. + +1995-10-26 Simon Marshall + + * font-lock.el: General reorganisation. + (font-lock-fontify-syntactically-region): Renamed from + font-lock-fontify-region. Assume that region end-points are at bol. + Don't bother wrapping with save-excursion; caller does this. + (font-lock-fontify-keywords-region): Renamed from + font-lock-hack-keywords. Call font-lock-fontify-anchored-keywords if + car of HIGHLIGHT is not a number (i.e., is another MATCHER, not a + MATCH), for new MATCH-ANCHORED font-lock-keywords structure. + (font-lock-fontify-region): Use them. + (font-lock-after-change-function): Use it. Don't bother invalidating + font-lock-cache-position; called function does this. + (font-lock-keywords-only): Renamed from font-lock-no-comments. + (font-lock-maximum-decoration, font-lock-maximum-size): Doc fix for new + functionality. + (font-lock-set-defaults, font-lock-mode): Cope if they are lists. + (font-lock-keywords): Doc fix for new MATCH-ANCHORED structure and + new OVERRIDE values. + (font-lock-fontify-anchored-keywords): New function for processing the + new MATCH-ANCHORED structure. + (font-lock-fillin-text-property, font-lock-prepend-text-property, + font-lock-append-text-property): New text property functions. + (font-lock-apply-highlight): Use them for new OVERRIDE values. + (scheme-font-lock-keywords): New variable. + (c-font-lock-keywords-3, c++-font-lock-keywords-3): New variables. + (font-lock-defaults-alist): Use them for Scheme, C and C++ modes. + + * fast-lock.el (fast-lock-read-cache): Set fast-lock-cache-filename. + (fast-lock-cache-data): Don't set it here via caller's local variable. + + * fortran.el (fortran-mode): Addition for font-lock-defaults. + (fortran-font-lock-keywords-3): Rewrite using MATCH-ANCHORED structure. + + * rmail.el (rmail-font-lock-keywords): Better citation regexp. + + * sendmail.el (mail-font-lock-keywords): Likewise. + +1995-10-26 Richard Stallman + + * morse.el: New file. + +1995-10-25 Richard Stallman + + * cc-mode.el (c-mode): Add autoload. + + * loadup.el: Don't load c-mode. + * loaddefs.el: Get rid of cplus-md.el; add cc-mode.el. + + * cmacexp.el: Require cc-mode. + + * hideif.el: Provide hideif; require cc-mode. + + * help.el (describe-key, describe-key-briefly): For a mouse click, + go to its buffer and position before looking up the key. + +1995-10-25 Gregor Schmid + + * tcl-mode.el: Add support for imenu. + Add support for font-lock-mode (thanks to ). + +1995-10-24 Richard Stallman + + * files.el (set-visited-file-name): Abbreviate buffer-file-name. + + * mouse.el (mouse-drag-region): Set end-of-range after + calling mouse-scroll-subr. + (mouse-set-region): Don't do the sit-for on a pc frame. + +1995-10-24 Brian D. Carlstrom + + * gud.el (gud-dbx-directories): New variable. + (gud-dbx-massage-args): Use gud-dbx-directories. + (gud-dbx-file-name): New function. + (gud-irixdbx-marker-filter): Use gud-dbx-file-name. + (gud-dbx-file-file): Use gud-dbx-file-name. + + * gud.el (gud-filter): Fix previous change. + +1995-10-24 Ed Reingold + + * cal-menu.el (calendar-mouse-print-dates): Fix entry for Chinese + calendar. + + * cal-chinese.el: Completely rewritten! + +1995-10-24 Richard Stallman + + * add-log.el (get-method-definition, get-method-definition-1): + Rename var md to get-method-definition-md and defvar it. + +1995-10-23 Richard Stallman + + * ange-ftp.el (internal-ange-ftp-mode): + Set comint-password-prompt-regexp locally to not match anything. + + * informat.el (Info-validate, Info-validate-node-name): + Use buffer-substring-no-properties. + (Info-tagify, batch-info-validate, Info-validate-tags-table): Likewise. + + * informat.el (Info-validate-tags-table): Change handling + of newline in the loop reading node names. + + * info.el (Info-following-node-name, Info-extract-menu-node-name) + (Info-select-node): Use buffer-substring-no-properties. + +1995-10-22 Richard Stallman + + * case-table.el (copy-case-table): New function. + (set-case-syntax-delims, set-case-syntax-pair, set-case-syntax): + Clear out the three extra slots. + +1995-10-22 Erik Naggum + + * derived.el (derived-mode-init-mode-variables): Make proper + syntax-table. + + * iso-syntax.el: Handle new case-table implementation. + +1995-10-21 Richard Stallman + + * msb.el: Require cl only when compiling. + +1995-10-21 Axel Boldt + + * electric.el (Electric-command-loop): Don't display a prompt + if 2nd arg equals or returns 'noprompt. + + * ehelp.el: Fix key bindings. + (electric-help-mode): Use mouse-leave-buffer-hook. + (electric-help-retain): Remove mouse-leave-buffer-hook. + (with-electric-help): New argument minheight. + (electric-help-execute-extended): New function. + (electric-help-ctrl-x-prefix): New function. + (electric-help-command-loop): Make messages more consistent. + Include strategic sit-for 0, so that + pos-visible-in-window-p will return the right thing. + Make 2nd arg of Electric-command-loop return 'noprompt if we + are in isearch-mode. + Eval to-be-executed at the very end. + (ehelp-map): Electrify apropos too. + +1995-10-20 Richard Stallman + + * noutline.el (outline-view-change-hook): New hook variable. + (outline-flag-region): Run the hook. + + * informat.el (Info-validate-tags-table): Fix the scan of the + tags table checking that the positions are right. + (Info-validate): Use buffer-substring-no-properties. + + * dabbrev.el (dabbrev-expand): When no more expansions, + Put back the original abbrev with its original case pattern. + (dabbrev--find-expansion): Move buffers that are visible on the screen + to the front of the list to be searched. + + * startup.el (normal-top-level): Set auto-save-list-file-name later, + after calling command-line. + +1995-10-20 Erik Naggum + + * comint.el (comint-exec-1): Fix previous change. + +1995-10-20 Richard Stallman + + * add-log.el (add-log-current-defun): + Handle `private', `public' in C++ class definitions. + +1995-10-19 Richard Stallman + + * isearch.el (isearch-message-prefix): + Change "wrapped" to "overwrapped" when past original start point. + + * comint.el (comint-exec-1): Don't alter EMACS envvar + if it's already defined. + + * cplus-md.el (calculate-c++-indent): Skip over paren-group + when looking back to determine context of a top-level line. + Don't treat a line starting with } as a continuation. + +1995-10-18 Richard Stallman + + * emacsbug.el (report-emacs-bug): Don't mention + system-configuration-options if it is empty. + Make it clearer what that text is. + +1995-10-17 Richard Stallman + + * tex-mode.el (tex-start-of-header): Now a regexp. + (tex-end-of-header): Likewise. + (plain-tex-mode, latex-mode, slitex-mode, tex-region): + Changed accordingly. + + * pc-select.el (pc-selection-mode): Add autoload cookie. + + * pc-select.el: New file. + +1995-10-16 Rolf Ebert + + * ada-mode.el: + All doc strings changed to comply with standard Emacs conventions. + (ada-mode): Support new font-lock-mode. + (ada-format-paramlist): Changed all `accept' to `access'. + (ada-insert-paramlist): Changed all `accept' to `access'. + (ada-in-comment-p): Use standard Emacs way `parse-partial-sexp'. + (ada-font-lock-keywords-1): Change order of some alternatives. + +1995-10-16 Richard Stallman + + * cc-mode.el (c-emacs-features): Don't expect integer in syntax table. + + * flow-ctrl.el (enable-flow-control): Use a char-table. + +1995-10-15 Richard Stallman + + * mailabbrev.el (mail-abbrev-syntax-table): Rewrite using + map-char-table. + + * derived.el (derived-mode-merge-syntax-tables): Rewrite using + map-char-table. + + * hippie-exp.el (he-transfer-case): Fix typo in prev change. + +1995-10-13 Michael Kifer > + + * ediff.el (ediff-version): is now autoloaded. + * ediff-init.el: Moved defsubsts up. + * ediff-hook.el: Now defines [window] in menu-bar-ediff-menu. + +1995-10-13 Michael Kifer > + + * viper.el (vip-set-hooks): Use view-mode-hook in emacs and view + hook in xemacs. + (vip-read-string-with-history): minibuffer-setup-hook no longer + waits for the user to type, if there are unread events. + Added (vip-leave-region-active) to all simple movement commands. + Viper now understands syntactic tables. + Harnessed view-minor-mode. + (vip-read-string-with-history,vip-search): won't pause inside + macros any more. + * viper-mous.el (vip-surrounding-word): modified to understand + tripple clicks. + * viper-util.el (vip-leave-region-active): new function. + * viper-ex.el (ex-write): uses better defaults. + * viper-macs.el (vip-record-kbd-macro): correctly escapes `.' and + `[' now. + +1995-10-13 Richard Stallman + + * help.el (variable-at-point, function-called-at-point): + Switch temporarily to emacs-lisp-mode-syntax-table. + + * goto-addr.el: New file. + * browse-url.el: New file. + +1995-10-13 Anders Holst (aho@nada.kth.se) + + * hippie-exp.el: + (hippie-expand): Removed bug - don't undo from another buffer. + (he-reset-string): Removed bug - don't move markers. + (he-capitalize-first): New function, defining new "case". + (he-transfer-case): New function. + (he-transfer-case-ok): Function removed. + (he-substitute-string,he-ordinary-case-p,he-string-member): Use the + new functions above, for the new case handling. + (he-file-name-chars): New variable. + (he-file-name-beg): Use `he-file-name-chars'. + (he-file-name-nondirectory,he-file-name-directory, + he-file-directory-p,he-concat-directory-file-name): New functions + to handle VMS and PC filename formats more accurately. + (try-complete-file-name,try-complete-file-name-partially): Use the + new functions above. + (try-expand-line-all-buffers,try-expand-list-all-buffers, + try-expand-dabbrev-all-buffers): Use `case-fold-search' from the + original buffer. + (he-line-beg): Removed bug that made point move. + (try-expand-all-abbrevs): Check that abbrev tables exist before use. + (try-expand-dabbrev-visible): New try function. + (he-search-window): New variable used by `try-expand-dabbrev-visible'. + (he-dab-search-regexp): Function removed. + (he-dab-search): Renamed to `he-dabbrev-search'. + (he-dabbrev-search): Find only whole matching symbols. + (he-dabbrev-skip-space): New variable. + (he-dabbrev-beg): Use `he-dabbrev-skip-space'. + (try-expand-dabbrev-from-kill,he-dabbrev-kill-search): New try + function, with requisites. + (try-expand-whole-kill,he-whole-kill-search,he-kill-beg): New try + function, with requisites. + (he-search-loc2): New variable, used by `try-expand-whole-kill' + and `try-expand-dabbrev-from-kill'. + (hippie-expand-try-functions-list): Added the try functions + `try-complete-file-name-partially', `try-expand-dabbrev-from-kill' + and `try-complete-lisp-symbol-partially'. + (Several functions): Adjusted and corrected use of `he-tried-table'. + +1995-10-13 Ed Reingold + + * cal-tex.el: Minor fixes to doc strings and other small changes. + +1995-10-12 Richard Stallman + + * help.el (variable-at-point, function-called-at-point): + Fix revious changes. + + * iso-transl.el: Handle aliases dead-acute,... + +1995-10-12 Ed Reingold + + * cal-tex.el: New file. + + * calendar.el: Add autoloads and key definitions for cal-tex.el. + + * cal-menu.el: Add menu items for cal-tex.el. + +1995-10-11 Robert J. Chassell + + * texinfmt.el (texinfo-unsupported): Handle commands in all capitals. + +1995-10-11 Richard Stallman + + * files.el (find-alternate-file-other-window): New function. + +1995-10-11 Michael Kifer + + * menu-bar.el: Moved (define-key menu-bar-ediff-menu ...) to + ediff-hook.el, as menu-bar-ediff-menu is not defined yet. + +1995-10-11 Richard Stallman + + * fill.el (adaptive-fill-function): Change defun to defvar. + +1995-10-10 Richard Stallman + + * simple.el (next-completion): Specify the LIMIT arg when + searching for text properties. + + * help.el (function-called-at-point, variable-at-point): + Don't back up if we start at the beginning of a symbol. + + * disp-table.el (display-table-slot, set-display-table-slot): + Get slot number from a property of its name. + Eliminate the type-checking. + (make-display-table): Call make-char-table the new way. + (describe-display-table): Use slot names to access slots. + (display-table): Give it the char-table-extra-slots property. + (display-table-char-p, display-table-vector-p): Functions deleted. + (display-table-slot-name-alist): Variable deleted. + +1995-10-09 Andreas Schwab + + * mail-utils.el (mail-strip-quoted-names): Preserve white space + after comma when stripping text outside of <> delims. + +1995-10-09 Richard Stallman + + * view.el: Doc fixes. + (view-highlight-face): New variable. + (view-search): Use that variable. + +1995-10-09 Roland McGrath + + * etags.el (tags-table-check-computed-list): Map + tags-expand-table-name over lists of included tables. + +1995-10-09 Erik Naggum + + * disp-table.el: New implementation with char-tables. + +1995-10-09 Richard Stallman + + * xt-mouse.el: New file. + +1995-10-09 Noah Friedman + + * mailabbrev.el (mail-abbrev-syntax-table): Use `equal' instead of + `=', in case elts of syntax table are lists, not integers. + +1995-10-08 Erik Naggum + + * ada-mode.el (ada-gen-treat-proc): Bind `procname' and `functype'. + + * view.el (view-exit): Delete view-overlay only if it exists. + +1995-10-08 Richard Stallman + + * server.el (server-start): Try both full hostname and shortened + hostname when deleting the socket file. + + * gud.el (gud-filter): Move the gud-display-frame call + outside of the save-excursion. New var process-window + controls which window to do it in. + +1995-10-07 Richard Stallman + + * subr.el (make-syntax-table): Use nil for "inherit". + +1995-10-06 Richard Stallman + + * bytecomp.el (byte-compile-from-buffer): Bind print-level. + + * simple.el (newline): Call barf-if-buffer-read-only. + + * iso-acc.el: Fix typo calling iso-accents-customize. + (iso-accents-compose): If this-command is non-nil, do prompt. + +1995-10-05 Michael Kifer + + * ediff-meta.el: new file. + * ediff-hook.el: new file. + * ediff.el: Moved menubar definitions to a new file, ediff-hook.el + (ediff-files,ediff-merge-files): better file-name defaults. + (ediff-split-string): new function. + (ediff-exec-process): now handles diff args separated by space. + (ediff-backup-extension): new variable. + Replaced -hooks with -hook. + (ediff-revision-key): variable deleted. + * ediff-util.el (ediff-toggle-read-only,ediff-read-file-name): + replaced abbreviate-file-name with ediff-abbreviate-file-name. + (ediff-documentation): bug fix. + (ediff-setup,ediff-really-quit): modified to work with Ediff + session groups. + (ediff-quit,ediff-really-quit): now ask if the user wants to delete + buffers. + * ediff-init.el (ediff-abbreviate-file-name): function modified. + (ediff-truncate-string-left): new function. + (ediff-strip-last-dir,ediff-key-press-event-p,ediff-event-point, + ediff-event-buffer): new functions. + (ediff-frame-has-menubar,ediff-protect-meta-chars): functions deleted. + * ediff-wind.el (ediff-make-frame-position): fixed bugs. + (ediff-control-frame-parameters): fixed defaults. + * ediff-diff.el (ediff-setup-diff-regions,ediff-setup-diff-regions3, + ediff-setup-fine-diff-regions): functions modified. + (ediff-shell-command,ediff-shell-command-sentinel, + ediff-shell-command-filter): deleted. + (ediff-exec-process,ediff-process-sentinel,ediff-process-filter): new. + +1995-10-05 Richard Stallman + + * appt.el (appt-disp-window): Call raise-frame. + + * view.el (View-search-regexp-forward, View-search-regexp-backward): + If arg is empty, use view-last-regexp. + (view-overlay): New variable, local in all buffers. + (view-search): Highlight the match using view-overlay. + (view-exit): Delete view-overlay. + +1995-10-04 Richard Stallman + + * desktop.el (desktop-outvar): Support truncation. + (desktop-globals-to-save): Doc fix. + + * startup.el (command-line): Init user-mail-address here, + after reading init file. + (normal-top-level): Not here. + + * gnuspost.el (gnus-inews-do-fcc): Use mail-file-babyl-p. + + * gnus.el (gnus-summary-save-in-mail): Use mail-file-babyl-p. + + * startup.el (auto-save-list-file-prefix): New variable. + (normal-top-level): Use it. + + * files.el (recover-session): Use auto-save-list-file-prefix. + + * sendmail.el (mail-signature-file): New variable. + Fix various doc strings to mention it. + (mail-signature): Use mail-signature-file. + + * unrmail.el (unrmail): Call rmail-toggle-header. + + * isearch.el (isearch-forward): Doc fix. + +1995-10-04 Andre Spiegel + + * vc.el (vc-next-action-on-file): When locking the latest trunk + version, use empty version number. + +1995-10-01 Noah Friedman + + * terminal.el (te-escape): Remove spurious partial duplicate + definition. + +1995-10-01 Richard Stallman + + * files.el (recover-session-finish): Ask only about files that + have auto-save files now. Don't put "temp" into temp file names. + +1995-09-30 Roland McGrath + + * files.el (cd): Fix interactive spec to require match if there is + no CDPATH. + +1995-09-28 Richard Stallman + + * comint.el (comint-password-prompt-regexp): Recognize + Old Password and New password. + +1995-09-28 Michael Ernst + + * ispell.el (ispell-message-text-end): Match reporter.el bug reports. + +1995-09-28 Richard Stallman + + * help.el (print-help-return-message): Handle lists in + special-display-regexps and same-window-regexps. Also in + special-display-buffer-names and same-window-buffer-names + + * files.el (interpreter-mode-alist): Handle nawk. + +1995-09-27 Richard Stallman + + * sendmail.el (sendmail-send-it): Handle FCC after all text changes. + (mail-do-fcc): Don't add From field here. + + * undigest.el (undigestify-rmail-message): Better error messages. + +1995-09-26 Richard Stallman + + * ange-ftp.el (ange-ftp-dumb-unix-host): Avoid error if HOST is nil. + +1995-09-25 Richard Stallman + + * add-log.el (add-log-current-defun): Ignore quotes before fcn name. + +1995-09-25 Karl Heuer + + * info.el (Info-title-face-alist): New var. + (Info-fontify-node): Check for headings that are `underlined' with + characters on the following line. + +1995-09-25 Richard Stallman + + * help.el (help-mode): Call view-mode. + + * diary.el (mark-sexp-diary-entries): Add \ for C-M-f's sake. + + * view.el (view-mode-enter): Renamed from view-mode. Callers changed. + Don't create local vars here. Set view-mode-auto-exit. + Don't change local map--just set view-mode. + (view-mode): New function toggles minor mode in the usual way. + (view-mode-map): Put this on minor-mode-map-alist. + (view-mode-exit): Do the exit actions only if view-mode-auto-exit. + (View-scroll-lines-forward): Exit only if view-scroll-lines-forward. + (view-mode-auto-exit, view-old-buffer-read-only) + (view-old-Helper-return-blurb, view-scroll-size, view-last-regexp) + (view-exit-action, view-return-here, view-exit-position): + Defvar them and make them always-local. + +1995-09-25 Erik Naggum + + * startup.el (command-line-1): --eval: Don't print the value. + (command-line-1): --insert: Don't complain on --insert=file. + +1995-09-24 Richard Stallman + + * replace.el (occur): Indent better for matches that contain newlines. + +1995-09-23 Richard Stallman + + * jka-compr.el (auto-compression-mode): Add autoload cookie. + Renamed from toggle-auto-compression. + (toggle-auto-compression): Define as alias. + +1995-09-22 Erik Naggum + + * cl-macs.el (get-setf-method): Protect caller's match-data from + string-match. + +1995-09-22 Karl Heuer + + * edt.el (edt-setup-default-bindings): Revert function is + revert-buffer, not revert-file. + +1995-09-22 Torbjorn Einarsson + + * f90.el: Major revision. + Much improved and quicker highlighting using font-lock. + Support for hilit19 removed. + Support for imenu added. + Changed indentation for continue statements. + Added treatment of preprocessor directives. + (f90-directive-comment-re) is now a regular expression. + Many bug fixes. + +1995-09-22 Ed Reingold + + * cal-menu.el (calendar-mouse-chinese-date): New function. + (calendar-mouse-print-dates): Use it. + +1995-09-21 Richard Stallman + + * sendmail.el (mail-do-fcc): Erase the ` mail-temp' buffer. + (mail-do-fcc): Clear read-only flag in ` mail-temp' buffer. + + * undigest.el (undigestify-rmail-message): Scan back as far as start + of message, to find end of digest. + + * rmailout.el (rmail-file-p): Function moved to mail-utils.el + ad renamed to mail-file-babyl-p. + (rmail-output, rmail-output-to-rmail-file): Use new name. + * mail-utils.el (mail-file-babyl-p): Function moved from + rmail.el and renamed. + + * sendmail.el (mail-file-babyl-p): Function deleted. + (sendmail-send-it): Load mail-utils first thing. + +1995-09-21 Erik Naggum + + * byte-opt.el (byte-boolean-vars): Update list to reflect actual + DEFVAR_BOOL symbols in the C code. + +1995-09-21 Karl Heuer + + * edt.el (edt-set-screen-width-80, edt-set-screen-width-132): + If a terminal-specific function exists, call it. + * edt-vt100.el (edt-set-term-width-80, edt-set-term-width-132): + Terminal-specific functions. + Don't redefine edt-set-screen-width-80 and edt-set-screen-width-132. + + * terminal.el (te-escape, te-escape-help): Handle non-ASCII events. + +1995-09-19 Edward M. Reingold + + * cal-chinese.el: New file. + + * cal-coptic.el: New file. + + * cal-julian.el: New file. All Julian calendar related code moved here + from calendar.el, holidays.el, and diary-lib.el. + + * cal-iso.el: New file. All ISO calendar related code moved here + from calendar.el and diary-lib.el. + + * cal-islamic.el: New file. All Islamic calendar related code + moved here from calendar.el, holiday.el, diary-lib.el, and + diary-ins.el. + + * cal-hebrew.el: New file. All Hebrew calendar related code + moved here from calendar.el, holiday.el, diary-lib.el, and + diary-ins.el. + + * cal-move.el: New file. All functions related to movement in the + calendar moved here from calendar.el. + + * diary.el: New file. Functions related to the diary moved from + diary-lib.el and diary-ins.el. + + * holidays.el (holiday-hebrew): Moved to cal-hebrew. + (holiday-islamic): Moved to cal-islamic. + (holiday-julian): Moved to cal-julian. + + * cal-x.el (calendar-setup): Moved to calendar.el. + + * diary-lib.el: Deleted. + (diary-date, diary-remind): New functions. + (list-sexp-diary-entries): Mention them in doc string. + (diary-remind-message, marking-diary-entries, + marking-diary-entry): New variables. + (diary-mark-sexp-diary-entries, mark-diary-entries): Rewritten to + accomodate marking-diary-entries. + (diary-sexp-entry): Fix indentation. + (diary-chinese-date, diary-coptic-date, diary-ethiopic-date): + Do autoloads. + (diary-islamic-date, list-islamic-diary-entries, + mark-islamic-diary-entries, mark-islamic-calendar-date-pattern): + Moved to cal-islamic.el. + (diary-hebrew-date, list-hebrew-diary-entries, + mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern): + Moved to cal-hebrew.el. + Everything else moved to diary.el. + + * diary-ins.el: Deleted. + (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry, + insert-yearly-islamic-diary-entry): Moved to cal-islamic.el. + (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry, + insert-yearly-hebrew-diary-entry): Moved to cal-hebrew.el. + Everything else moved to diary.el. + + * cal-menu.el (calendar-mouse-print-dates): Add Chinese and Coptic + dates; fix astro date message. + (calendar-mouse-2-date-menu): Add dayname to menu. + + * cal-french.el (french-calendar-special-days-array, + calendar-french-date-string): Fix accents. + (calendar-goto-french-date): Use reverse instead of nreverse; fix + accents. + (french-calendar-epoch): New variable. + (calendar-french-from-absolute, calendar-absolute-from-french): Use it. + + * cal-dst.el: Fix commentary. + (dst-adjust-time): Moved and renamed from solar.el. + (dst-in-effect): New function. + + * solar.el (solar-equinoxes-solstices, solar-ephemeris-correction, + solar-equinoxes/solstices): Rewritten. + (solar-apparent-longitude-of-sun): Deleted. + (solar-longitude, solar-date-next-longitude): New functions. + (solar-adj-time-for-dst): Renamed dst-adjust-time and moved to + cal-dst.el. + (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees): + Take angle mod 360.0. + (solar-tangent-degrees): Change to macro. + + * calendar.el (calendar-mod, calendar-absolute-from-astro, + calendar-astro-from-absolute): New functions. + (calendar-astro-date-string, calendar-goto-astro-day-number): Use + them. Autoload holiday-chinese-new-year, + calendar-goto-chinese-date, calendar-print-chinese-date, + calendar-chinese-date-string, calendar-goto-coptic-date, + calendar-print-coptic-date, calendar-coptic-date-string, + calendar-goto-ethiopic-date, calendar-print-ethiopic-date, + calendar-ethiopic-date-string, calendar-one-frame-setup, and + calendar-two-frame-setup. (oriental-holidays): New variable for + Chinese New Year. (calendar-mode-map): Put Chinese and Coptic + calendar functions on keys. (calendar-setup): Moved here from + cal-x.el. (diary-file): Mention Chinese, Coptic, and Ethiopic + dates. (calendar-goto-today, calendar-forward-month, + calendar-forward-year, calendar-backward-month, + calendar-backward-year, scroll-calendar-left, + scroll-calendar-right, scroll-calendar-left-three-months, + scroll-calendar-right-three-months, + calendar-cursor-to-nearest-date, calendar-forward-day, + calendar-backward-day, calendar-forward-week, + calendar-backward-week, calendar-beginning-of-week, + calendar-end-of-week, calendar-beginning-of-month, + calendar-end-of-month, calendar-beginning-of-year, + calendar-end-of-year, calendar-cursor-to-visible-date, + calendar-goto-date, calendar-goto-iso-date): Moved to cal-move.el. + (calendar-goto-julian-date): Moved to cal-julian. + (calendar-cursor-to-date, generate-calendar-month): Consider the + space next to a one-digit date as being on that date. + + * cal-mayan.el (calendar-mayan-tzolkin-from-absolute): Use them. + (mayan-adjusted-mod): Moved to calendar.el and renamed calendar-mod. + + * lunar.el (lunar-new-moon-time, lunar-new-moon-on-or-after) New + functions. + + +1995-09-18 Richard Stallman + + * subr.el (substitute-key-definition): Do recursively scan + where KEYMAP has nothing at all. + + * mouse.el (C-down-mouse-1): Use buffer menu, not font menu. + (S-down-mouse-1): Put font menu here. + + * mouse.el (mouse-drag-vertical-line): New function. + (mouse-scroll-min-lines): New variable. + (mouse-scroll-subr): Use it. + +1995-09-17 Richard Stallman + + * files.el (find-alternate-file): Kill any preexisting ` **lose**' buf. + +1995-09-14 Richard Stallman + + * dunnet.el (dun-climb): Handle unknown object name. + (dun-objnames): Add "palm" as alias for "tree". + + * indent.el (indent-for-tab-command): Get the prefix arg + and pass it along to indent-line-function if it isn't nil. + +1995-09-14 Andre Spiegel + + * vc-hooks.el (vc-fetch-master-properties): Call "cvs status" + in the right directory, passing only the nondirectory part of + the file name. + (vc-find-cvs-master): Bind `mtime' locally instead of using it + as a free variable. + +1995-09-12 Erik Naggum + + * dired-x.el: Remove `dired-up-directory'. + (dired-find-buffer-nocreate): Add optional argument `mode' like + the function it redefines from dired.el. + + * dired.el (dired-up-directory): Add optional argument + `other-window' to obviate the need to redefine it in dired-x.el. + +1995-09-12 Richard Stallman + + * files.el (auto-mode-alist): .pl is now Perl. + + * delsel.el (clipboard-yank): Add delete-selection property. + +1995-09-11 Richard Stallman + + * server.el (server-process-filter): Ignore lines that don't start + with `Error:' or `Client:'. + +1995-09-08 Andre Spiegel + + * dired.el (dired-internal-noselect): Set dired-directory + when refreshing a buffer that displays a list of files. + (dired-find-buffer-nocreate): Handle the case when + dired-directory is a list. + (dired-sort-other): Don't set mode-name if we are not in + dired-mode. + + * vc.el (vc-dired-mode): Now a major mode derived from dired-mode. + (vc-directory): Take DIRNAME as an argument. Ask for it in + the minibuffer. Don't kill pre-existing vc-dired buffers + (dired now re-uses the right one). + (vc-file-tree-walk): New argument DIRNAME. Updated all callers. + (vc-dired-update): New function. `g' in vc-dired-mode calls it. + (vc-dired-reformat-line): Handle different ls -l formats. + + * vc-hooks.el (vc-locking-user): Fixed wrong parentheses. + +1995-09-08 Richard Stallman + + * register.el: Rename all register-name args to `register'. + +1995-09-07 Paul Eggert + + * env.el (setenv): Call set-time-zone-rule when setting TZ. + +1995-09-07 Richard Stallman + + * text-mode.el (center-line): New arg NLINES. + Do nothing for lines that are too wide. + + * hexl.el (hexl-current-address): New arg VALIDATE. + Handle point values in the ASCII text section and in the addresses. + (hexl-insert-char): Handle point located in the ASCII text. + +1995-09-06 Richard Stallman + + * info.el (Info-suffix-list): Add .inf to MSDOS list. + + * ange-ftp.el (ange-ftp-gwp-filter): Go to process buffer + before getting text from it. + + * mouse.el (mouse-drag-region): Record where the mouse drag has reached + and use that to adjust the drag event before replaying it. + + * gud.el (gud-filter): Save up text that arrives while processing + previous text. + +1995-09-06 Fred Pierresteguy + + * rmailsum.el (rmail-summary-construct-io-menu): Use all of FILES. + Also disable the menu instead of not displaying it, if FILES is empty. + +1995-09-05 Richard Stallman + + * browse-url.el: New file. + +1995-09-04 Richard Stallman + + * mailabbrev.el (mail-interactive-insert-alias): + Call mail-abbrev-expand-hook. + +1995-09-02 Richard Stallman + + * info.el (info-insert-file-contents): Use info-insert-file-contents-1 + to set FULLNAME. Use call-process-region to run the decode program. + (Info-find-node): Use info-insert-file-contents-1. + (info-insert-file-contents-1) [MSDOS]: Don't use the dot in SUFFIX + if FILENAME already has one. + + * dired.el (dired-internal-noselect): New arg MODE. + If it's non-nil, switch to that nil. + (dired-find-buffer-nocreate): New arg MODE. + + * mouse.el (mouse-drag-region): Store the right end position + in the drag-event before replaying it at the end. + + * files.el (auto-mode-alist): Handle .f90 files. + + * dired.el (dired-internal-noselect): Use dirname when finding + existing buffer. + +1995-08-31 Richard Stallman + + * cc-compat.el: New file. + + * sendmail.el (sendmail-send-it): Use user-mail-address. + +1995-08-31 Barry Warsaw + + * cc-mode.el (c-backslashify-current-line): Obsolete. + (c-append-backslash, c-delete-backslash): Taken from c-mode.el. + (c-backslash-region): Likewise. + + * cc-mode.el (c-indent-defun): Watch out for point being on the + first top-level open brace in the buffer. + + * cc-mode.el (c-copy-tree, c-mapcar-defun): Define functions only + available in XEmacs 19.12, or Emacs 19 + lucid.el. + + * cc-mode.el (c-lineup-ObjC-method-call): New implementation + better handles 1. indentation of arguments to keyword parameters, + 2. multiline method calls. + + * cc-mode.el (c-electric-brace): Fixed preservation of + no-whitespace before brace. + + * cc-mode.el (c-guess-basic-syntax): CASE 5A.1: Watch out for + c-state-cache; it may or may not be in place, but it should be + ignored. + + * cc-mode.el (c-electric-colon): In call to c-lookup-lists, fixed + incorrect quoting of symbols in the quoted list. + + * cc-mode.el (c-search-uplist-for-classkey): Watch out for + embedded c-class-key keywords. + + * cc-mode.el (c-common-init): Make a deep copy of c-offsets-alist + so that changing the buffer-local value in one buffer doesn't + affect the global value, or other buffers. + + * cc-mode.el (c-snug-do-while): forward-sexp call could fail; + wrap it in a c-safe. + + * cc-mode.el (c++-mode, objc-mode): comment-multi-line must be nil + if // is the default comment style. + +1995-08-31 Richard Stallman + + * ange-ftp.el (ange-ftp-vms-sans-version): Accept extra args. + +1995-08-30 Richard Stallman + + * simple.el (kill-new): Compute 2nd arg to interprogram-cut-function + based on REPLACE. + + * files.el (list-directory): Set default-directory. + +1995-08-30 Per Abrahamsen + + * mouse.el (mouse-skip-word): Skip complete symbol when over a + character with symbol syntax. + +1995-08-29 Richard Stallman + + * dired-aux.el (dired-byte-compile): Report failure if output file + is not created. + + * term/x-win.el (function-key-map): Consistently map CLEAR to C-l. + +1995-08-29 Andre Spiegel + + * vc-hooks.el (vc-utc-string): New function. + (vc-find-cvs-master): Use it to compare mtime and checkout time. + (vc-locking-user): CVS case: *only* use checkout time. + (vc-find-cvs-master): Don't attempt to find the RCS master file. + Throw the full name of CVS/Entries. + (vc-name): Doc change (special CVS case). + (vc-after-save): Handle the case when a file is saved in the very + second in which it was checked out. + + * vc.el (vc-dired-update-line): Don't use dired-do-redisplay. + (vc-next-action-dired): Adjust default-directory before calling + vc-next-action-on-file. + (vc-next-action-on-file): Handle CVS merge in vc-dired-mode correctly. + (vc-next-action): Ask for a check-in comment if there are "added" + CVS files. Don't special-case single files in vc-dired-mode. + (vc-file-clear-masterprops): Typo fix. + (vc-latest-on-branch-p): Always true for CVS. + (vc-directory): Header change. Do display the buffer, even if no + locked/registered files were found. + +1995-08-28 Richard Stallman + + * files.el (recover-session-finish): Catch error in recover-file. + + * makefile.el (makefile-font-lock-keywords): Highlight lines with + tab followed by #, and initial spaces preceding tabs--not all + initial spaces. + +1995-08-27 Richard Stallman + + * tmm.el: Fix typo in global-map define. + + * cl-seq.el (rassoc): Definition deleted. + + * mailabbrev.el (mail-mode-syntax-table): defvar deleted. + + * edebug.el: Delete redundant defvars of built-in variables. + + * edmacro.el: Load cl only during compilation. + (edmacro-mismatch, edmacro-subseq): New functions. + Use them instead of mismatch and subseq. + + * hideif.el (hide-ifdef-hiding): Delete duplicate defvar. + + * modula2.el (m2-execute-monitor-command): Renamed from + execute-monitor-command. + +1995-08-26 Richard Stallman + + * refer.el (refer-every): Renamed from every. + (refer-convert-string-to-list-of-strings): Renamed from + convert-string-to-list-of-strings. + + * levents.el (eventp): Duplicate definition deleted. + + * ws-mode.el (wordstar-center-line): Renamed from center-line. + (wordstar-center-region): Renamed from center-region. + (wordstar-center-paragraph): Renamed from center-paragraph. + + * x-menu.el: Doc fixes. + (caar, cdar): Deleted--use (car (car ...)). + + * find-file.el (ada-spec-suffix): Definition deleted. + (ada-make-filename-from-adaname): Delete autoload. + (ff-special-constructs): Load ada-mode before referring to + ada-spec-suffix and ada-make-filename-from-adaname. + + * life.el (abs): Function definition deleted. + (goto-beginning-of-buffer): Macro deleted. Use goto-char. + (goto-end-of-buffer): Macro deleted. Use goto-char. + (maxint): Macro deleted. + (life-increment): Renamed from increment. + (life-initialized): New variable. + (life): Do (random t) only once and only when `life' is called. + + * info.el (Info-default-directory-list): Duplicate defvar deleted. + +1995-08-25 Richard Stallman + + * uniquify.el: New file. + + * mailabbrev.el (rebuild-mail-abbrevs): FILE defaults to visited file. + + * executable.el (executable-set-magic): Use make-local-hook + for after-save-hook. + + * files.el (basic-save-buffer): Doc fix. + (after-save-hook): Add defvar. + +1995-08-25 Andre Spiegel + * vc.el: Enhanced vc-dired-mode. + (vc-directory): Kill existing vc-dired buffers for this directory. + Provide a better header. Corrected the check whether any files were + found at all (don't display a listing in this case). Under CVS, + display cvs-status rather than vc-locking-user. + (vc-next-action-on-file): When doing a check-in in vc-dired-mode, find + the file in another window. + (vc-next-action-dired): Update dired listing while processing the + files. + (vc-next-action): Check whether a check-in comment is really needed + for this mass operation. + (vc-checkout): Resynch the buffer, even if it's not current. + (vc-dired-state-info, vc-dired-update-line): New functions. + (vc-dired-prefix-map): Added local definition for `g' and `='. + (vc-dired-reformat-line): Simplified. Erase the hardlink count from + the listing, because it doesn't relate to version control. + + * vc.el: Added functions to dispatch on backend release numbers. + Under RCS, use this to find out whether new features can be used. + (vc-rcs-release, vc-cvs-release, vc-sccs-release): New variables, may + be set by the user. + (vc-backend-release, vc-release-greater-or-equal, + vc-backend-release-p): New Functions. + (vc-do-command): Allow FILE to be nil. + (vc-backend-checkin): When creating a branch, don't bother to unlock + the old version if this is RCS 5.6.2 or higher. + (vc-next-action-on-file): Allow lock-stealing only if RCS 5.6.2 or + higher. + (vc-backend-admin, vc-backend-checkin): If available, use ci -i + and -j. Updated Developer's Notes. + + * vc.el (vc-backend-diff): Handle the case of a locally added CVS + file correctly. + + * vc-hooks.el (vc-fetch-master-properties): Count cvs status + "Needs Patch" as `needs-checkout'. + (vc-after-save): Clear the cvs status. + +1995-08-25 Roland McGrath + + * etags.el (next-file): Advance next-file-list before finding the + file named in its car, in case finding signals an error. + +1995-08-25 Richard Stallman + + * help.el (describe-function): Show file name for autoloaded fns. + + * simple.el (what-line): Print narrowed linenum with full buffer num. + +1995-08-24 Tom Tromey + + * makefile.el (makefile-mode-syntax-table): "]" is a close-paren. + (makefile-add-log-defun): Avoid error at eob. + +1995-08-23 Richard Stallman + + * makefile.el: Doc fixes. + (makefile-font-lock-keywords): Highlight lines of just whitespace. + +1995-08-22 Richard Stallman + + * edebug.el (edebug-outside-post-command-idle-hook) + (post-command-idle-hook): New variables. + (edebug-enter, edebug-outside-excursion): Use them. + + * avoid.el (mouse-avoidance-mode): Use post-command-idle-hook. + Use remove-hook. + + * two-column.el (2C-mode): Use make-local-hook and add-hook. + + * icomplete.el (icomplete-minibuffer-setup): Use make-local-hook + and add and remove hooks locally. + + * ediff-util.el (ediff-profile): Use make-local-hook + and add and remove hooks locally. + +1995-08-22 Andre Spiegel + + * files.el (basic-save-buffer): Call vc-after-save, to + support implicit locking in VC. + + * vc-hooks.el (vc-simple-command): New function. + (vc-fetch-master-properties): CVS case: Use it. + (vc-lock-from-permissions, vc-file-owner, vc-rcs-lock-from-diff): + New functions. + (vc-locking-user): Largely rewritten. Uses the above, handles RCS + non-strict locking. Under CVS in CVSREAD-mode, learn the locking + state from the permissions. + (vc-find-cvs-master): Use vc-insert-file, rather than + find-file-noselect. Greatly speeds up things. + (vc-consult-rcs-headers): Bug fix, return status in all cases. + + * vc.el: Removed the comment that said we assume strict locking. + (vc-next-action-dired): Don't switch to vc-parent-buffer, because + that was already done. + +1995-08-22 Richard Stallman + + * sc.el: Provide sc. + +1995-08-21 Roland McGrath + + * compile.el (compilation-exit-message-function): New variable. + (compilation-sentinel): If compilation-exit-message-function is + non-nil, call it to produce messages for buffer and mode line. + (grep): Use that variable to produce snazzier messages. + +1995-08-21 Richard Stallman + + * paren.el: Use post-command-idle-hook. + (show-paren-command-hook): No need to test for idleness. + +1995-08-21 Andre Spiegel + + * vc-hooks.el (vc-fetch-master-properties): RCS case: get locking + mode. CVS case: new state `locally-added'. + (vc-locking-user): Under RCS with non-strict locking, don't trust + the file permissions. CVS case: change which states count as + "locked". + (vc-consult-rcs-headers): Streamlined. Don't set vc-locking-user if + this is called under CVS. Under RCS, use a heuristic to find the + value of vc-checkout-model without examining the master file. + (vc-parse-locks): Set vc-checkout-model. + (vc-status): Comment change. + (vc-after-save-hook, vc-after-save): The former renamed to the + latter. Now unconditionally called by `basic-save-buffer', determines + whether the buffer should be "locked" or not. + (vc-checkout-model): Values are now `manual' and `implicit'. Derive + the property on a per-file basis, supporting all possible modes. + (vc-mode-line): No longer use dynamic after-save-hook. Changed + references to `automatic' into `implicit'. + + * vc.el (vc-latest-on-branch-p): Under CVS, handle the case when + the file is added, but not yet committed. + (vc-backend-checkout): RCS case: In non-strict locking mode, force + to overwrite the writable workfile. CVS case: Do the right thing in + CVSREAD-mode. + +1995-08-21 Richard Stallman + + * files.el (auto-mode-alist): Turn on use of makefile-mode. + + * rmailsum.el: Require rmail. + (rmail-new-summary): Specify size in split-window. + Call rmail-select-summary to force size to specified amount. + +1995-08-21 Simon Marshall + + * fast-lock.el: New version 3.07 from author. + (fast-lock-mode): Use buffer-file-truename, not buffer-file-name. + (fast-lock-cache-directories, fast-lock-cache-name): Doc fixes. + +1995-08-21 Richard Stallman + + * solar.el: Doc fixes. + +1995-08-20 Andreas Schwab + + * icon.el: Define user options with defvar, not defconst. + +1995-08-20 Richard Stallman + + * dired.el (dired-string-replace-match): Simplify using replace-match. + + * dired-aux.el (dired-expand-newtext): Function deleted. + + * bytecomp.el (byte-compiler-base-file-name): New function. + (byte-compile-dest-file): Call byte-compiler-base-file-name. + + * jka-compr.el (jka-compr-byte-compiler-base-file-name): New function. + Use it to handle byte-compiler-base-file-name operation. + +1995-08-20 Michael Kifer > + + * viper.el (vip-set-hooks): Use view-mode-hook in emacs and view + hook in xemacs. + (vip-read-string-with-history): minibuffer-setup-hook no longer + waits for the user to type, if there are unread events. + Harnessed view-minor-mode. + Added (vip-leave-region-active) to all simple movement commands. + * viper-mous.el (vip-surrounding-word): modified to understand + tripple clicks. + * viper-util.el (vip-leave-region-active): new function. + +1995-08-19 Richard Stallman + + * vc.el (file-regular-p-18): Fix test for whether to use this. + + * info.el (Info-find-emacs-command-nodes): Fix previous change. + (Info-suffix-list): For MS-DOS, use gunzip as the only uncompressor, + and don't include .info as suffix. + (info-insert-file-contents-1): New function. + (info-insert-file-contents): Use info-insert-file-contents-1. + + * macros.el (insert-kbd-macro): Express vector char modifiers with + escape prefixes. Express big basic char codes in octal. + +1995-08-19 Karl Heuer + + * hilit19.el (hilit-submit-feedback): New ftp site. + +1995-08-19 Richard Stallman + + * info.el (Info-file-list-for-emacs): New variable. + (Info-find-emacs-command-nodes): Look in those files, if appropriate. + + * files.el (basic-save-buffer): Confirm for overwriting old file + when a file name is specified. + +1995-08-18 Daniel Pfeiffer + + * skeleton.el (skeleton-newline-indent-rigidly): New variable. + (skeleton-internal-1): Use it for indenting after \n because previous + behaviour was only useful for `sh-script.el' and old `ada.el'. Other + modes now get their own indentation. + (skeleton, skeleton-modified, skeleton-point, skeleton-regions): `New' + variables for passing between the mutually recursive functions of + the skeleton engine. Introduced to remove compiler warnings. + (skeleton-proxy): New argument `str' to make this settable when calling + a skeleton as a function. + (skeleton-insert): New argument `str' to pass down. Element `\n' + now usually indents according to mode. Subskeletons may also have + a list of strings as iterator. Earlier modification also removed + meaning of `quit' -- I did not put it back in since it's useless. + When quitting out of a subskeleton while still wrapping around text + don't duplicate first line of that text. + (skeleton-end-hook): New hook useful say for modes that leave a `;' on + an empty line to indent right and then want to clean it up when doing + a skeleton there. + + * sh-script.el (sh-newline-and-indent): Don't interpret prefix arg + since `newline-and-indent' doesn't either. Don't turn a trailing + quoted tab into a space. + (sh-mode): Use new `skeleton-newline-indent-rigidly'. + (sh-set-shell): Make maximum font-locking also hightlight keywords + after ``' and `!'. (The latter is for ksh '93 but should't hurt other + shells.) + +1995-08-18 Andre Spiegel + + * vc.el (vc-next-action-on-file): Changed doc string, CVS case. + (vc-backend-checkin): Clear master properties before doing the + check-in. In the CVS case, catch error and display an appropriate + message in the echo area. + (vc-backend-revert): Clear master properties, because some might get + outdated by the operation. + (vc-backend-merge-news): Scan the output of "cvs update" and find out + whether conflicts have occurred. + + * vc-hooks.el (vc-fetch-master-properties): + Recognize cvs status "Unresolved Conflict". + (vc-locking-user): Count cvs status `unresolved-conflict' as "locked". + + * vc.el (vc-finish-logentry): + Delete the *VC-log* buffer *before* doing the + actual check-in. That leads to a better display in case the check-in + fails. + + * vc.el (vc-latest-on-branch-p): Defined it for CVS in the obvious way. + (vc-next-action-on-file): Removed special CVS cases. At this level, + CVS is now mostly handled like the other backends. + (vc-backend-checkout): CVS case: Clear sticky tag as default when + doing a verbose checkout. (This used to be done in + vc-next-action-on-file.) + + * vc-hooks.el (vc-checkout-model): + New property and access function (still simplistic). + (vc-after-save-hook): New function. + (vc-mode-line): When the file is locked by somebody else, make the + buffer read-only. (Formerly this was only done for root.) Don't + write-protect the buffer if the file is unlocked. Instead, install + vc-after-save-hook, which "locks" the file when modifications are + saved. + +1995-08-18 Richard Stallman + + * makefile.el (makefile-space-face): New variable. + (makefile-define-space-face): New function. + (makefile-tab-face): Variable deleted. + (makefile-define-tab-face): Function deleted. + (makefile-font-lock-keywords): Highlight leading spaces, not tabs. + +1995-08-17 Karl Heuer + + * hilit19.el (hilit-submit-feedback): New bug-reporting address. + +1995-08-17 Andre Spiegel + + * vc.el (vc-next-action-on-file): Moved the setting of the default + branch to vc-backend-checkout, where it belongs. + (vc-backend-checkout): If an explicit version was specified, adjust + the default branch accordingly. + + * vc-hooks.el (vc-top-version): Renamed to vc-master-workfile-version. + Updated all references. + vc.el: Changed references to vc-top-version into + vc-master-workfile-version. + + * vc.el (vc-next-action-on-file): Query when trying to lock + non-latest version. + + * vc.el: Let vc-cancel-version handle branches correctly, and + behave more comfortably in the `norevert' case. + (vc-revert-buffer1): Split part of the function into vc-buffer-context + and vc-restore-buffer-context, so we can use it also in other + circumstances. + (vc-buffer-context, vc-restore-buffer-context): New functions. + (vc-clear-headers): New function, uses the above. + (vc-cancel-version): When `norevert', locks the most recent remaining + version. Also, refuse to work on anything but the latest version of + a branch. Removed the check whether the version is the user's, + because that is difficult to decide, now that multiple branches are + possible. + (vc-latest-on-branch-p): New function. + (vc-head-version): New access function to the already existing + property. + (vc-trunk-p, vc-branch-part): Functions moved before first use. + +1995-08-16 Fred Pierresteguy + + * rmailsum.el (rmail-new-summary): Enable the Input/output menu. + +1995-08-16 Richard Stallman + + * pascal.el (pascal-mode): Set comment-start. + (pascal-toggle-completions): Doc fix. + +1995-08-16 Richard Stallman + + * simple.el (blink-matching-paren-dont-ignore-comments): New var. + (blink-matching-open): Use it. + Also, if the matching char hasn't paren syntax, call that mismatch. + + * inf-lisp.el (inferior-lisp): Use pop-to-buffer. + Add *inferior-lisp* to same-window-buffer-names. + + * cmuscheme.el (run-scheme): Use pop-to-buffer. + Add *scheme* to same-window-buffer-names. + + * xscheme.el (run-scheme): Use pop-to-buffer. + +1995-08-15 Karl Heuer + + * sh-script.el (sh-mode-map): Use new name skeleton-pair-insert-maybe. + (sh-mode): Use new names skeleton-pair-alist, skeleton-pair-filter. + +1995-08-15 Daniel Pfeiffer + + * skeleton.el (skeleton-pair-insert-maybe): Plain insert in Ovwrt mode + (skeleton-insert): If skeleton doesn't fit in window, put beginning + at top before going to _ point. + (skeleton-internal-list): Rewritten so that resume: sections pertain + only to inferior skeletons and make str available there + (skeleton-read): Don't quit and remove partial skeleton when empty + string entered for outer iterator. Added implicit argument `input'. + (define-skeleton, skeleton-insert, skeleton-internal-list): Use `x + rather than backquote's (` x) or own (list 'x) + + * sh-script.el (sh-test): New variable. + (sh-if, sh-until, sh-while): Use it. + (sh-while-getopts): Handle csh passably well. + (sh-font-lock-keywords): Use `font-lock-variable-name-face'. + (sh-set-shell): Respect `font-lock-maximum-decoration'. + +1995-08-15 Richard Stallman + + * supercite.el (sc-attribs-extract-namestring): If name has <...>, + treat everything before that as the full name. + +1995-08-14 Karl Heuer + + * view.el: Rewrite as a minor mode. + + * viper.el (vip-set-hooks): Use view-mode-hook, not view-hook. + +1995-08-14 Richard Stallman + + * files.el (basic-save-buffer-1): Pass new arg to write-region. + +1995-08-14 Erik Naggum + + * files.el (insert-file-contents-literally): New function. + (find-file-noselect): Use it if new optional argument `rawfile' is + non-nil. + + * startup.el (command-line-1): Add option --eval to evalute an + expression on the command line and print the result. + +1995-08-14 Richard Stallman + + * paren.el (show-paren-command-hook): Do nothing if have unread events. + +1995-08-13 Richard Stallman + + * mouse.el (mouse-drag-region): Unread the up-event + rather than execute it here. + +1995-08-12 Richard Stallman + + * rmail.el (rmail-convert-file): Look back for ^_ only at bol. + + * simple.el (shell-command-on-region): Don't examine order of + point and mark; use order of START and END instead. + Interactively pass point and mark, not region-beg and region-end. + +1995-08-10 Richard Stallman + + * isearch.el (isearch-other-meta-char): Avoid bug checking whether + a key is defined in the function key map. + Call cancel-kbd-macro-events. + + * bytecomp.el (byte-compile-insert-header): Use 19.29, not 19.28.90 + as limit for where dynamic docstrings are allowed. + + * server.el (server-buffer-done): Pause between client commands, + but not after the last one. + + * files.el (recover-file): It's ok if the visited file doesn't exist. + (recover-session-finish): Compute "file name" from autosave file + if no visited file. + +1995-08-10 Andre Spiegel + + * vc.el (vc-dired-reformat-line): Display eight character user names + correctly. + +1995-08-10 Simon Marshall + + * font-lock.el (font-lock-beginning-of-syntax-function): New variable. + (font-lock-defaults-alist): New element to specify it. + (font-lock-set-defaults): Set it. + (font-lock-fontify-region): Use it when calculating the cache state. + (font-lock-maximum-size): Add autoload cookie. + (font-lock-fontify-region, font-lock-unfontify-region): Also wrap + value of buffer-file-truename to avoid clash detection. + (font-lock-hack-keywords): Likewise. Also use a while loop, not + mapcar, when applying keywords. + (tex-font-lock-keywords): Rewritten again. + (scheme-font-lock-keywords): New keywords. + (font-lock-defaults-alist): Specify defaults for them. + + * fortran.el (fortran-font-lock-keywords-1): Fix column 72 comments. + + * texinfo.el (texinfo-font-lock-keywords): Rewritten. + (texinfo-mode): Set up font-lock-defaults for keywords only. + + * help.el (help-font-lock-keywords): New keywords. + (help-mode): Set up font-lock-defaults. + +1995-08-09 Francesco Potorti` (pot@cnuce.cnr.it) + + * man.el (Man-translate-references): Anchor the regexps. + +1995-08-08 Boris Goldowsky + + * forms.el (forms-check-number-of-fields): New vbl. + (forms-mode): Don't issue warning if vbl says not to. + +1995-08-08 Richard Stallman + + * vc.el (vc-revert-buffer): In a dedicated solitary window, + make the frame invisible instead of trying to delete window. + + * paragraphs.el (forward-paragraph): Don't overlook a paragraph-start + line just because it ends at eob. + + * edebug.el (edebug-functionp): Return t for a bytecode function. + + * dired.el (dired-mode-map): Set up the map completely + before storing it into dired-mode-map. + +1995-08-07 Richard Stallman + + * bytecomp.el (byte-compile-insert-header): New args inbuffer and + outbuffer. Test byte-compile-dynamic-docstrings in the initially + current buffer. + (byte-compile-from-buffer): Add new args to byte-compile-insert-header. + + * startup.el (command-line-1): Fix previous change. + + * bytecomp.el (byte-compile-output-docform): Check + byte-compile-dynamic-docstrings in input buffer, not output buffer. + +1995-08-06 Richard Stallman + + * delsel.el (delete-selection-pre-hook): New type value `yank'. + (yank): Use `yank' as delete-selection property. + + * simple.el (column-number-mode, line-number-mode): Default now t. + +1995-08-05 Richard Stallman + + * faces.el (set-face-background): When using face-color-supported-p, + specify foreground, not background. + +1995-08-04 Richard Stallman + + * bibtex.el (bibtex-maintain-sorted-entries): Make nil the default. + + * ps-print.el: Renamed `fsf' to `emacs' in all names. + (ps-print-emacs-type): Renamed from emacs-type. + +1995-08-04 Stephen A. Wood + + * fortran.el (fortran-auto-fill-mode, fortran-do-auto-fill, + fortran-fill): Invoke auto filling only when past fill-column. + +1995-08-04 Roland McGrath + + * compile.el (compilation-error-regexp-alist): Add regexp for Sun + ada. + +1995-08-03 Richard Stallman + + * solitaire.el: New file. + +1995-08-03 Morten Welinder + + * arc-mode.el: Standardize layout of doc strings. + +1995-08-03 Richard Stallman + + * rsz-mini.el (resize-minibuffer-setup): Use make-local-hook. + + * tmm.el: Don't alter bindings in minibuffer-local-must-match-map + or completion-list-mode-map. + (tmm-add-prompt): Use make-local-hook; add hook locally. + (tmm-delete-map): Delete hook locally. + + * indent.el (tab-to-tab-stop): Expand abbrevs only after a word-char. + +1995-08-02 Rob Riepel + + * tpu-edt.el (tpu-control-keys): New initial value, nil. + (tpu-help): Back up one page at a time. + (tpu-set-control-keys): New function. + (tpu-edt-on): Call tpu-set-control-keys. + +1995-08-02 Richard Stallman + + * jka-compr.el (jka-compr-load): Bind load-force-doc-strings. + + * dired-aux.el (dired-do-copy): Doc fix. + + * arc-mode.el (archive-remote-regexp): Don't accept hostnames + ending in period. (See previous ange-ftp.el change.) + + * gud.el (gud-xdb-marker-filter): Change pattern to accept spc at end. + +1995-08-01 Richard Stallman + + * ange-ftp.el (file-name-handler-alist): Don't match host name + ending in period. + +1995-08-01 Daniel Pfeiffer + + * two-column.el (2C-toggle-autoscroll, 2C-autoscroll): + Only (sit-for 0) once for smoother scrolling. + (2C-associated-buffer): go to same line and column. + (2C-newline): new function. + (2C-other): optional arg to signal missing other buffer. + +1995-08-01 Richard Stallman + + * byte-opt.el (byte-optimize-nthcdr): Fix previous change. + +1995-07-31 Richard Stallman + + * startup.el (command-line-1): + Mention recover-session if there's a .saves file. + + * files.el (recover-session): Mention deletion is possible. + (recover-session-finish): Call dired-do-flagged-delete. + + * dired.el (dired-do-flagged-delete): New arg nomessage. + + * vi.el (vi-scroll-amount, vi-shift-width): Fix syntax of doc strings. + +1995-07-31 Simon Marshall + + * subr.el (run-hooks): Variable doc fix. + (run-hooks, run-hook-with-args-until-success, + run-hook-with-args-until-failure): Functions moved to C. + +1995-07-30 Andreas Schwab + + * dired-aux.el (dired-read-shell-command): Use + `shell-command-history' in read-string. + +1995-07-30 Richard Stallman + + * iso-acc.el: Major additions by Gustavo Chaves. + (iso-languages): New variable. + (iso-accents-list): Now set by iso-customize-accents. + (iso-customize-accents): New function. + (iso-accentuate, iso-deaccentuate, iso-unaccentuate): + (iso-accent-rassoc-unit): New functions. + + * rmail.el (rmail-unix-mail-delimiter): Allow two-letter timezone name. + + * faces.el (set-face-background): Don't treat nil as a color. + + * loadhist.el (unload-feature): Delete the file's load-history element. + (file-set-intersect): Renamed from set-intersect. + (file-dependents): Use new name. + + * ehelp.el (with-electric-help): Doc fix. + + * files.el (cd): When reading arg, use just directory as the default. + + * bytecomp.el (byte-compile-insert-header): If compiling for vers 18, + arrange to set current-load-list when loading the file. + +1995-07-29 Richard Stallman + + * fill.el (fill-region-as-paragraph): Don't find adaptive-fill-regexp + on first line of paragraph if it's a paragraph-separate line. + Don't look past the intended line. + (adaptive-fill-function): New variable. + (fill-region-as-paragraph): Use it. + (colon-double-space): New variable. + (canonically-space-region): Put two spaces after colon if necessary. + + * simple.el (do-auto-fill): Use adaptive-fill-function. + + * paragraphs.el (forward-paragraph): Don't move back over a line + before the paragraph which doesn't start with fill-prefix unless + that is the only line we've moved over. + +1995-07-28 Michael Ernst + + * simple.el (scroll-other-window-down): Bind to S-C-M-v. Enhance + documentation. + +1995-07-28 Richard Stallman + + * info.el (Info-read-node-name-1): New function. + (Info-read-node-name): Use Info-read-node-name-1 + to avoid getting confused by spaces when text starts with (FILENAME). + +1995-07-28 Andre Spiegel + + * vc.el (vc-resynch-buffer): New function. + (vc-locked-example): Renamed to vc-snapshot-precondition. It now also + checks whether any of the files are visited. + (vc-retrieve-snapshot): If any files are visited, ask whether to + revert their buffers. Use vc-backend-checkout and vc-resynch-buffer + to do that, instead of vc-checkout. + + * vc.el (vc-backend-checkout): Adjust default-directory so that the + checked-out file goes to the right place. + +1995-07-28 Richard Stallman + + * dired.el (dired-insert-set-properties): Catch errors. + + * simple.el (next-line): Doc fix. + + * dabbrev.el (dabbrev-expand): Save previous point for undo. + +1995-07-27 Richard Stallman + + * simple.el (do-auto-fill): Handle adaptive-fill-regexp. + + * texnfo-upd.el (texinfo-specific-section-type): + Use buffer-substring-no-properties. + +1995-07-27 Karl Heuer + + * imenu.el: (imenu-generic-lisp-expression) + (imenu-generic-c++-expression, imenu-generic-c-expression) + (imenu-generic-ada-expression, imenu-generic-texinfo-expression) + (imenu-generic-latex-expression): Vars deleted; now handled by the + major modes themselves. + (imenu--scanning-method-alist): Var deleted. + (imenu-default-create-index-function): Don't use that alist. + * cplus-md.el (c++-imenu-generic-expression): Var defined. + (c++-mode): Set imenu-generic-expression. + * c-mode.el (c-imenu-generic-expression): Var defined. + (c-mode): Set imenu-generic-expression. + * tex-mode.el (latex-imenu-generic-expression): Var defined. + (latex-mode): Set imenu-generic-expression. + * texinfo.el (texinfo-imenu-generic-expression): Var defined. + (texinfo-mode): Set imenu-generic-expression. + * ada-mode.el (ada-imenu-generic-expression): Var defined. + (ada-mode): Set imenu-generic-expression. + * lisp-mode.el (lisp-imenu-generic-expression): Var defined. + (lisp-mode-variables): Set imenu-generic-expression. + + * faces.el (x-font-regexp): Add \\(\\) for substring extraction. + +1995-07-27 Ulrich Mueller + + * fortran.el (fortran-break-line): Fixed a bug that sometimes + deleted first character in statement field of continuation line. + +1995-07-27 Espen Skoglund + + * pascal.el (pascal-mode): Added imenu support. + (pascal-imenu-generic-expression): New variable. + +1995-07-27 Richard Stallman + + * texinfo.el (texinfo-environment-regexp): Allow whitespace at BOL. + + * isearch.el (isearch-mode-map): Don't bind tab, return, kp-N, etc. + (isearch-other-meta-char): Special handling for keys like tab, etc. + +1995-07-26 Stefan Schoef + + * bibtex.el: Add keywords and comments as per conventions. + + * bibtex.el: Changed almost all occurences of buffer-substring to + buffer-substring-no-properties.. + + * bibtex.el (bibtex-find-entry-location, bibtex-clean-entry): + Added support to handle invalidate buffers in a more friendly + manner. + + * bibtex.el (bibtex-make-field): Changed to be called either + interactively with a string (field name) or from Lisp with a list + of two strings (FIELDNAME COMMENT). + +1995-07-26 Rob Riepel + + * tpu-edt.el (tpu-version): New version. + (tpu-help-keypad-map): New help text. + (tpu-backward-line): Only move to BOL if not already there. + + * tpu-extras.el (tpu-backward-line): Only move to BOL if not + already there. + +1995-07-26 Richard Stallman + + * indent.el (indent-region-function): Doc fix. + + * lisp-mode.el (shared-lisp-mode-map): + Don't bind TAB, just set indent-line-function. + +Wed Jul 26 15:40:00 Michael Kifer (kifer@cs.sunysb.edu) + + * viper-ex.el (vip-submit-report): fnc modified. + + * viper-keym.el (vip-overriding-map): new variable. + + * viper-macs.el (vip-repeat-from-history-key): new default. + (vip-read-fast-keysequence, ex-unmap-read-args, ex-map-read-args): + changed to use vip-read-key. + + * viper-mous.el (vip-multiclick-timeout): new default. + (vip-surrounding-word, vip-mouse-click-get-word): fnc modified. + + * viper-util.el (vip-add-hook, vip-remove-hook): new fncs. + + * viper.el (vip-info-file-name): variable removed. + (vip-envelop-ESC-key, vip-start-replace, vip-finish-R-mode, + vip-start-R-mode, vip-insert-state-pre-command-sentinel, + vip-R-state-post-command-sentinel, vip-replace-char) fncs modified. + +1995-07-25 Karl Heuer + + * faces.el (x-font-regexp-weight-subnum, x-font-regexp-slant-subnum) + (x-font-regexp-swidth-subnum, x-font-regexp-adstyle-subnum): Defconst. + +1995-07-25 Richard Stallman + + * imenu.el (imenu--history-list): Don't make this buffer-local. + (imenu): Call imenu-choose-buffer-index from interactive spec. + +1995-07-25 Karl Heuer + + * subr.el (run-hook-with-args): Deleted; now in C code. + +1995-07-24 Richard Stallman + + * imenu.el: Many doc fixes. + +1995-07-25 Ake Stenhoff + + * perl-mode.el (perl-imenu-generic-expression) New variable. + (perl-mode): Set imenu-generic-expression. + + * imenu.el (imenu-generic-expression): Call make-variable-buffer-local. + (imenu-create-index-pattern): Variable deleted. + +1995-07-22 Richard Stallman + + * tar-mode.el (tar-copy): Inhibit use of jka-compr handler + when both to- and from- files would use it. + +1995-07-22 Daniel Pfeiffer + + * apropos.el: Add latest changes of old library and some more. + (apropos): Only show unbound symbols when do-all + (apropos-documentation-check-elc-file): new copied function. + (apropos-command): also use `apropos-do-all' when called as function. + (apropos-print-doc): renamed from `apropos-print-documentation', i + is numeric index, replaces parameter tem. + (apropos-macrop): new function. + (apropos-print): use it to differentiate macros. + (apropos-symbol-face, apropos-keybinding-face, apropos-label-face) + (apropos-property-face, apropos-match-face): new variables + replace and extend the effect of `apropos-use-faces'. + (apropos-safe-documentation): renames `safe-documentation', also + returns a cons. + (apropos-regexp, apropos-files-scanned, apropos-accumulator) + (apropos-item): new variables to prevent compiler warnings. + (apropos-value-internal, apropos-documentation-internal): new fns. + +1995-07-21 Richard Stallman + + * byte-opt.el (byte-optimize-lapcode): Fix format calls. + + * imenu.el (imenu-choose-buffer-index): + Avoid trying to select WINDOW if it is nil. + + * menu-bar.el (menu-bar-buffer-menu): Function deleted. + (global-map): Define [menu-bar buffer] as a keymap with no fcn name. + (menu-bar-update-buffers): After defining it, call it. + + * faces.el (make-face-bold, make-face-italic, make-face-bold-italic) + (make-face-unbold, make-face-unitalic): + No error if font is already bold, italic, or whatever. + + * font-lock.el (font-lock-make-faces): Redo logic for whether + to call font-lock-make-face for a given face. + +1995-07-20 Richard Stallman + + * rmail.el (rmail-insert-inbox-text): Always use movemail + when renaming a file. + + * simple.el (indent-new-comment-line): + fill-prefix overrides comment indentation. + + * skeleton.el (local-variables-section): Delete autoload cookie. + (skeleton-pair-insert-maybe): Renamed from pair-insert-maybe. + (skeleton-pair, skeleton-pair-filter, skeleton-pair-alist) + (skeleton-pair-on-word): Renamed from pair-... + (mirror-mode): Commented out. + + * info.el (Info-current-file): Doc fix. + (Info-find-node): Set Info-current-file to file name as specified. + +1995-07-20 Dave Love + + * mail-utils.el (mail-fetch-field): Use buffer-substring-no-properties. + +1995-07-20 Richard Stallman + + * derived.el (derived-mode-set-keymap): Cope if old-map is nil. + + * menu-bar.el (menu-bar-update-yank-menu): Treat all-dashes specially. + +1995-07-19 Richard Stallman + + * sendmail.el (mail-default-reply-to): Doc fix. + +1995-07-18 Richard Stallman + + * backquote.el (backquote): Doc fix. + + * noutline.el (outline-next-visible-heading): Rewritten to handle + backwards motion and handle beg/end of buffer properly. + + * menu-bar.el (menu-bar-tools-menu): Don't define gnus entry + if no network support. + + * faces.el (x-create-frame-with-faces): + Specify frame arg to x-color-values and frame-parameters. + (set-face-background): Pass background-p arg to face-color-supported-p. + +1995-07-18 Michael Ernst + + * ehelp.el (electric-helpify): Autoload with-electric-help, + electric-helpify. + +1995-07-18 Rolf Ebert + + * ada-mode.el (ada-ident-re): Doc fix. + (ada-end-stmt-re): Corrected serious pb of wrong parentheses. + (ada-subprog-start-re): Removed 'body' from the list. + (ada-format-paramlist): Simplified a regexp. + (ada-indent-current): On first line of the buffer, indent to column 0. + Don't reindent if new position is the same as the old one. Thus, a + correcly indended line is not modified. + (ada-get-indent-subprog): Simplified a regexp. + (ada-goto-matching-decl-start): Distinguish between normal type + declaration and protected types, which are more like procedures. + (ada-remove-trailing-spaces): Use save-match-data, save-restriction + and widen when removing whitespace. + (ada-font-lock-keywords-1): Add 'pragma' as keyword. + (ada-font-lock-keywords-2): Allow *qualified* idents after 'end'. + + * files.el (auto-mode-alist): Recognize *.ads and *.adb as Ada + specs and bodies. + +1995-07-18 Dave Love + + * nroff-mode.el (font-lock-defaults): New variable. + (nroff-mode-syntax-table): New variable to provide comment syntax + for font-lock; I'm not sure if this is (or should be) necessary in + 19.29 with font-lock-defaults. + (nroff-font-lock-keywords): New variable. + (nroff-mode): Install nroff syntax table and font lock keywords. + Comment about comments in filling and line-counting. + +1995-07-18 Andre Spiegel + + * vc.el (vc-do-command): Added parameter BUFFER (the default, + if nil, is *vc*). Updated all callers. + (vc-next-action-on-file, vc-diff, vc-version-diff, vc-backend-diff): + Use buffer *vc-diff* for diff output instead of *vc*. + + * vc-hooks.el (vc-mode-line, vc-find-file-hook): Moved the test for + version-controlled symbolic link from the former to the latter. + + * files.el (file-name-sans-versions): + Recognize version control version numbers. + +1995-07-18 Mike Williams + + * mouse-sel.el: Don't (require 'backquote). + + * mouse-sel.el (mouse-extend-internal): Select space in between + "things" when extending selection, ie. we are extending to + "thing" boundaries. + + * mouse-sel.el: Use x-lost-selection-hooks to handle loss of selection. + (mouse-sel-lost-selection-hook): New function. + (mouse-sel-selection-owner-p-function): Variable removed. + (mouse-sel-selection-owner-p): Function removed. + (mouse-sel-validate-selection): Function removed. + + * thingatpt.el (forward-same-syntax): New function. + +1995-07-16 Richard Stallman + + * appt.el: Add provide. + +1995-07-15 Richard Stallman + + * byte-opt.el (byte-optimize-if): Optimize (if (not foo) nil ...). + + * add-log.el (add-log-current-defun): Handle C struct definitions. + (add-change-log-entry): Use case-sensitive search for file name. + Find first blank line correctly. + +1995-07-14 Karl Fogel + + * bookmark.el (bookmark-make): Strip text properties off name. + (bookmark-make-cell): Use `buffer-substring-no-properties'. + +1995-07-14 Richard Stallman + + * bytecomp.el (byte-compile-output-file-form): Bind print-length + and print-level to nil. + +1995-07-13 Richard Stallman + + * mouse.el (mouse-major-mode-menu): Catch quit in read-key-sequence. + +1995-07-12 Richard Stallman + + * bookmark.el (bookmark-yank-word): Use buffer-substring-no-properties. + +1995-07-13 Richard Stallman + + * files.el (auto-mode-alist): Move .scm.[0-9] before nroff-mode. + Escape the second period. + +1995-07-12 Richard Stallman + + * dabbrev.el (dabbrev--search): Don't let spurious match in middle + of word obscure real match at start of same word. + + * term/x-win.el (vendor-specific-keysyms): + In Sun keys, f36 was misnamed f35 and f37 misnamed f36. + + * fill.el (canonically-space-region): Doc fix. + + * menu-bar.el (menu-bar-help-menu): Add finder-by-keyword. + + * ediff-wind.el (ediff-skip-unsuitable-frames): Use make-frame, + not ediff-make-frame. + +1995-07-12 Richard Stallman + + * paths.el (remote-shell-program): Try rcmd also. + +1995-07-11 Andre Spiegel + + * vc-hooks.el (vc-mode-line): Don't write-protect a + VC-Log buffer. Better mode line text for initial comments. + Streamlined the function. + +1995-07-10 Richard Stallman + + * faces.el (x-create-frame-with-faces): Set background-mode + and display-type frame parameters. + + * mouse.el (mouse-major-mode-menu): Don't call command-execute + if lookup-key gives nil. + + * byte-opt.el (byte-optimize-nth, byte-optimize-nthcdr): + Do nothing if form wrong length. + (byte-optimize-multiply): Fix bug in 0 case. + (byte-optimize-divide): Optimize (/ CONST CONST) if safe. + +1995-07-09 Richard Stallman + + * fill.el (fill-region-as-paragraph): In adaptive-fill-mode, + if paragraph has one line, take the fill prefix from it. + (adaptive-fill-regexp): Doc fix. + + * startup.el (normal-top-level): Don't use mail-host-address + for auto-save-list-file-name. + + * sendmail.el (mail-setup-hook): New defvar. + (mail): Doc fix. + +1995-07-06 Francesco Potorti` + + * simple.el (shell-command): Use save-match-data. + Put the buffer in shell mode, don't use shell-command-filter. + (shell-command-filter): Deleted. + (shell-command-sentinel): Don't reset the mode line. + Don't test the buffer name--what was that for, anyway?. + +1995-07-06 Andre Spiegel + + * vc.el (vc-backend-merge-news): Force to refetch the + properties after the merge. + + * vc-hooks.el (vc-locking-user): Consider a cvs file "locked" + if its status is either 'locally-modified or 'needs-merge. + (vc-workfile-version): Catch 'found when calling vc-find-cvs-master. + (vc-fetch-master-properties): Handle cvs status "Needs Checkout". + This is intended for future use. + +1995-07-06 Richard Stallman + + * byte-opt.el (byte-optimize-logmumble): Fix (logior -1 ...) case. + + * cc-mode.el (c-set-style-1): Copy c-offsets-alist if nec. + +1995-07-05 Richard Stallman + + * faces.el (x-frob-font-slant, x-frob-font-weight): + Replace the adstyle field with *, if we can find it. + + * find-file.el (ff-set-point-accordingly): Doc fix. + + * vc-hooks.el (vc-fetch-master-properties): Shrink the window + that displays the error message. + + * faces.el (set-face-background): Use face-color-supported-p. + +1995-07-04 Ralf Fassel + + * fill.el (fill-individual-paragraphs): Use `adaptive-fill-regexp' + to determine `fill-prefix' if `adaptive-fill-mode' is non-nil. + +1995-07-04 Richard Stallman + + * cc-mode.el (c-common-init): Copy c-offsets-alist. + +1995-07-02 Richard Stallman + + * ebuff-menu.el (electric-buffer-list): Save point before + finding the first buffer line, and use that saved point to + determine the buffer to use, if it is a reasonable value. + + * faces.el (face-color-gray-p): New function. + (face-default-stipple): New variable. + (set-face-background): Use face-default-stipple for all grays. + (set-face-stipple): Change arg name. + (face-color-supported-p): Use face-color-gray-p. + + * simple.el (column-number-mode): New variable and new command. + * loaddefs.el (mode-line-format): Use column-number-mode. + +1995-07-17 Richard Stallman + + * sh-script.el (interpreter-mode-alist): Delete autoload cookie. + * executable.el (interpreter-mode-alist): Delete autoload cookie. + +1995-07-12 Karl Heuer + + * comint.el (comint-kill-output): Preserve entire partial line at + end, even if it doesn't match comint-prompt-regexp. + +1995-07-12 Roland McGrath + + * copyright.el: Fixed Author: comment. This code bears no + relation to what I wrote. + +1995-07-09 Simon Marshall + + * font-lock.el: Moved font-lock-doc-string-face to bytecomp.el. + (font-lock-fontify-region): Do all cleanups inside unwind-protect. + (font-lock-hack-keywords): Likewise. + (font-lock-choose-keywords): Don't eval here. + (font-lock-set-defaults): Do it here and compile too. + + * bytecomp.el: Make executing-macro, before-change-function, + after-change-function and font-lock-doc-string-face obsolete. + + * version.el: Do a purecopy of emacs-version for UN*X's what command. + +1995-07-08 Johan Vromans + + * forms.el (forms-mode): Treat local-write-file-hooks as a list. + +1995-07-07 Francesco Potorti` + + * mailalias.el (build-mail-aliases): Fixed the regexp for "^group". + +1995-07-07 Daniel Pfeiffer + + * apropos.el: Restructured, largely rewritten and extended. + (apropos-use-faces, apropos-local-map): New variables. + (apropos-command): New name for `command-apropos' no longer in help.el. + (apropos-value): New command. + (apropos-documentation): New name for `super-apropos' + (apropos-follow, apropos-mouse-follow): New commands for hypertext. + (apropos-describe-plist): New function. + + * help.el: (command-apropos): Deleted function. This is replaced by + apropos-command in apropos.el. + + * autoload.el: (make-autoload): Generate `(autoload ...)' form for + `(define-skeleton ...)' + + * skeleton.el: partly rewritten and extended. + (skeleton-filter, skeleton-untabify, skeleton-further-elements) + (skeleton-abbrev-cleanup): New variables + (skeleton-proxy, skeleton-abbrev-cleanup): New functions + (skeleton-insert): Sublanguage element < must now be handled via + `skeleton-further-elements' (used only in sh-script and ada). Lisp + expressions can be quoted to ignore the return value. + (skeleton-read): New name for `skeleton-internal-read' because this may + be useful in skeletons. + (local-variables-section): New skeleton command, might go to simple.el. + + * autoinsert.el: extended to use skeletons or call functions + (auto-insert, auto-insert-query, auto-insert-prompt): New variables + (auto-insert-alist): New features + (auto-insert): New name for `insert-auto-insert-files' + (define-auto-insert): New function + + * copyright.el: New name for generalized upd-copyr.el + (copyright-limit, copyright-regexp): New variables + (copyright-query): New name for `inhibit-update-copyright' + (copyright-current-year): New name for `current-year' + (copyright-current-gpl-version): New name for `current-gpl-version' + (copyright-update): New name for `update-copyright' and + `ask-to-update-copyright' + (copyright): New skeleton command + + * executable.el: New file extracted and optimized from sh-script.el + + * sh-script.el: restructured, largely rewritten without the bugs and + extended to cover over 15 shells. Most variables can now work as a + lookup table, and, unless set by user, do. + (sh-mode-syntax-table): Possibly multiple tables. + (sh-shell): Set initially so shell or other libraries may use features. + (sh-assignment-regexp): Replaces `sh-assignment-space'. + (sh-here-document-word): Set to more common "EOF". + (sh-variables): Changed semantics. + (sh-font-lock-keywords): Much nicer. + (sh-ancestor-alist, sh-alias-alist, sh-shells, sh-abbrevs) + (sh-dynamic-complete-functions, sh-require-final-newline) + (sh-comment-prefix, sh-indentation, sh-header-marker, sh-builtins) + (sh-leading-keywords): New variables. + (sh-use-prefix, sh-find-file-modifies, sh-query-for-magic) + (sh-magicless-file-regexp, magic-number-alist, sh-executable) + (sh-chmod-argument, sh-shell-is-csh, sh-tab-width) + (sh-sh-font-lock-keywords, sh-ksh-font-lock-keywords) + (sh-bash-font-lock-keywords, sh-csh-font-lock-keywords) + (sh-tcsh-font-lock-keywords): Variables deleted, see also executable.el. + + (sh-mode): Shell dependent code moved to `sh-set-shell'. + (sh-feature, sh-abbrevs, sh-syntax-table, sh-append, sh-modify): New + functions. + (sh-execute-region): New command. + (sh-indexed-loop): Far more efficient code generated for sh. + (sh-repeat, sh-tmp-file, sh-while-getopts): New skeletons. + (sh-or-other-mode, define-sh-skeleton, sh-executable, sh-chmod) + (sh-query-for-variable): Command deleted. + + * two-column.el: Symbols renamed to be like mode-line indicator. + Supposed to now also work for Lucid. + (2C-mode-map): New name for `tc-mode-map'. Additionally bound to [f2]. + (2C-minor-mode-map) New variable. + (2C-mode): New name for `tc-other'. + (2C-mode-line-format): New name for `tc-mode-line-format'. + (2C-other-buffer-hook): New variable. + (2C-separator): New name for `tc-separator'. + (2C-window-width): New name for `tc-window-width'. + (2C-beyond-fill-column): New name for `tc-beyond-fill-column'. + (2C-autoscroll, 2C-autoscroll-start): New variables. + + (2C-other): New name for `tc-other'. + (2C-mode): New name for `tc-mode', `tc-two-columns'. + (2C-two-columns): New function. + (2C-associate-buffer): New name for `tc-associate-buffer'. + (2C-split): New name for `tc-split'. + (2C-dissociate): New name for `tc-dissociate'. + (2C-merge): New name for `tc-merge'. + (2C-associated-buffer): New name for `tc-associated-buffer'. + (2C-toggle-autoscroll, 2C-autoscroll): New functions. + (tc-scroll-line, tc-scroll-up, tc-scroll-down, tc-recenter): Deleted + functions. + +1995-07-06 Karl Heuer + + * timezone.el (timezone-parse-date): Ignore text properties. + + * find-dired.el (find-dired): Undefine the g command. + +1995-07-02 Richard Stallman + + * bytecomp.el (byte-compile-obsolete): Do the funcall to compile + the form whether or not we warn. + + * c-mode.el (calculate-c-indent-after-brace): New function. + (calculate-c-indent, indent-c-exp): Use it. + + * faces.el (x-font-regexp): Include the avgwidth. + + * iso-transl.el (iso-transl-char-map): Treat m, *m like u and *u. + +1995-07-01 Richard Stallman + + * subr.el (shell-quote-argument): Don't do anything, on MS-DOS. + + * sendmail.el (mail-default-reply-to): Initialize to nil. + (mail-setup): Override it from env var if nil. + + * talk.el (talk-disconnect): Make it interactive. + (talk-add-display): Ignore dead buffers and deleted frames. + + * font-lock.el (font-lock-make-faces): On grayscale screen, + use grays for background, not foreground. + + * faces.el (describe-face): new function. + +1995-06-30 Andre Spiegel + + * vc-hooks.el (vc-fetch-master-properties): Better error + message in case the "cvs status" command fails. + +1995-06-30 Richard Stallman + + * man.el (Man-underline-face): Doc fix. + + * mailalias.el (define-mail-alias): Doc fix. + +1995-06-30 Paul Eggert + + * sendmail.el (sendmail-send-it): If mail-from-style is parens, + don't escape all parentheses; escape only the nonmatching ones. + + * sendmail.el (sendmail-send-it): If user-full-name contains + special characters, quote or escape them for the From: line. + +1995-06-30 Richard Stallman + + * rmail.el (rmail-find-all-files): Bind case-fold-search. + + * term/x-win.el (x-colors): Doc fix. + +1995-06-30 Kevin Rodgers + + * mailabbrev.el (mail-resolve-all-aliases-1): + Downcase address before recursive call. + +1995-06-29 Richard Stallman + + * time.el (display-time-filter): Move run-hooks inside let. + + * simple.el (switch-to-completions): Make a completions window if none. + + * mouse.el (mouse-selection-click-count-buffer): New variable. + (mouse-drag-region): Set it. + (mouse-save-then-kill): Test it. + +1995-06-29 David M Smith + + * ielm.el (ielm-font-lock-keywords): New variable + (inferior-emacs-lisp-mode): Use it for font-lock support + +1995-06-29 Bryan O'Sullivan + + * ange-ftp.el (ange-ftp-normal-login): if ange-ftp-smart-gateway + is set but ange-ftp-gateway-host is nil, use user@host + proxy protocol. + +1995-06-29 Morten Welinder + + * arc-mode.el (archive-mode): Add autoload cookie. + + * files.el (auto-mode-alist): Make archive-mode the default for + .arc, .lzh, .zip, and .zoo files. + +1995-06-29 Karl Fogel (kfogel@wombat.gnu.ai.mit.edu) + + * bookmark.el: use "Save" and "Save As" instead of the nonstandard + "Save" and "Write", in menu item titles. + +1995-06-29 Richard Stallman + + * menu-bar.el (find-tag): Delete the menu-enable property. + + * info.el (Info-goto-node, Info-search): + In Transient Mark mode, deactivate the mark. + + * faces.el (make-face-x-resource-internal): Give special meanings + to font "names" `italic', `bold', and `bold-italic'. + + * rmail.el (rmail-summary-by-sender): Autoload this. + (rmail-mode-map): Add rmail-summary-by-senders. + +1995-06-28 Richard Stallman + + * fill.el (current-fill-column): If fill-column is nil, return nil. + * simple.el (do-auto-fill): No-op if (current-fill-column) is nil. + + * loadup.el: Put isearch before menu-bar. + + * loaddefs.el: Don't set up key-translation-map. + + * help-macro.el (make-help-screen): Handle help-event-list. + Handle backspace like delete. + * help.el: Bind f1 and help like C-h. + + * supercite.el (sc-electric-mode-map): Bind f1 and help like C-h. + * ediff-util.el (ediff-setup-keymap): Bind f1 and help like C-h. + * edt.el (edt-setup-default-bindings): Bind f1 and help like C-h. + + * cplus-md.el (electric-c++-terminator): Fix logic for handling colon. + + * menu-bar.el: Make more menu-enables check (not buffer-read-only). + Add minibuffer local menu bar menus. + + * startup.el: Update copyright year in message. + + * server.el (server-process-filter): Detect error messages from server. + +1995-06-27 Richard Stallman + + * edt.el (edt-emulation-on): Check window-system for x, specifically. + +1995-06-27 Andre Spiegel + + * vc-hooks.el (vc-consult-rcs-headers): Use an even more + pedantic regexp to match RCS time strings. Improved + efficiency by using looking-at instead of re-search "\\=... + +1995-06-27 Richard Stallman + + * ediff-wind.el (ediff-control-frame-parameters): + Specify user-position. + + * imenu.el (imenu-choose-buffer-index): Understand that (menu-bar) + doesn't specify a window. + + * startup.el (command-line): Extract arg value properly for -u. + + * subr.el (lambda): Doc fix. + +1995-06-26 Ake Stenhoff + + * imenu.el (imenu-use-keymap-menu): New variable. + (imenu-auto-rescan): New variable. + (imenu-auto-rescan-maxout): New variable. + (imenu-generic-expression): Doc changes. + (imenu-generic-lisp-expression): New variable. + (imenu-generic-c-expression): New variable. + (imenu-example--generic-c++-expression): Changed the name to + imenu-generic-c++-expression. + (imenu-example--generic-texinfo-expression): Changed the name to + imenu-generic-texinfo-expression. + (imenu-example--generic-latex-expression): Changed the name to + imenu-generic-latex-expression. + (imenu--scanning-method-alist): New variable. + (imenu--split-menu): Changed it to make the title "Index menu" + instead of "Function menus". + (imenu--make-index-alist): Changed to handle auto rescan. + (imenu--create-keymap-2): New function to create a keymap. + (imenu--create-keymap-1): New function. + (imenu--in-alist): New function. + (imenu-default-create-index-function): Changed to handle + imenu--scanning-method-alist). + (imenu--generic-extract-name): Removed. + (imenu--generic-function): Rewritten to handle submenus. + (imenu--mouse-menu): Changed to handle keymaps. + +1995-06-26 Richard Stallman + + * paths.el (remote-shell-program): Fix typo checking /usr/bin/remsh. + +1995-06-26 Eric S. Raymond + + * vc.el (vc-start-entry): Prevent lossage when doing a mass checkin + from a VC-dired buffer. + +1995-06-26 Andre Spiegel + + * vc-hooks.el (vc-consult-rcs-headers): Handle the new time + string formats of RCS 5.7. + +1995-06-26 Mike Long + + * view.el (view-file-other-window): Re-add missing argument to + switch-buffer-other-window. + (view-mode-map): Leave C-c alone! + (view-mode): Doc fix. + +1995-06-26 Simon Marshall + + * font-lock.el (font-lock-defaults-alist): List all keywords for C and + Emacs Lisp modes. Doc fix. + (font-lock-maximum-decoration): Doc fix. + (font-lock-choose-keywords): New function. Use them. + (font-lock-set-defaults): Use it. Doc fix. + (lisp-font-lock-keywords): Default to lisp-font-lock-keywords-1. + (c-font-lock-keywords): Default to c-font-lock-keywords-1. + (c++-font-lock-keywords): Default to c++-font-lock-keywords-1. + + * fortran.el (fortran-mode): List all keywords for font-lock-defaults. + (fortran-font-lock-keywords): Default to fortran-font-lock-keywords-1. + +1995-06-24 Richard Stallman + + * rmail.el (rmail-revert): Use the default revert-buffer-function + + * simple.el (newline): Put point at right place if insert gets error. + +1995-06-24 Karl Fogel + + * mail-hist.el (mail-hist-text-size-limit): New var. + (mail-hist-text-too-long-p): New func. + (mail-hist-add-header-contents-to-ring): call above; if the text is + too long, then store the empty string in the history. + +1995-06-24 Richard Stallman + + * pc-mode.el (pc-bindings-mode): Add autoload. + + * enriched.el (excerpt): Ignore error making `excerpt' italic. + +1995-06-23 Tom Tromey + + * makefile.el (makefile-define-tab-face): New function. + (makefile-tab-face): Don't create face here. + (makefile-mode): Call makefile-define-tab-face. + +1995-06-23 Richard Stallman + + * cc-mode.el (c-mode): Delete autoload cookie. + + * mail-hist.el: Don't autoload anything to turn on mail-hist. + (mail-hist-enable): New function, autoloaded. + +1995-06-23 Andre Spiegel + + * vc-hooks.el: Fix bug concerning vc-latest-version. + Accessing that property left erroneous contents in the + *vc-info* buffer, which could later be misinterpreted by + other functions. + (vc-insert-file): Erase the current buffer before inserting the file. + (vc-fetch-master-properties, vc-fetch-properties): Don't erase the + buffer because that is now done in vc-insert-file. + (vc-fetch-properties): Kill the *vc-info* buffer when done. + +1995-06-23 Paul Eggert + + * vc.el (vc-backend-admin, vc-backend-checkin): Assume that + comments are empty if they contain only white space. + +1995-06-22 Andre Spiegel + + * vc-hooks.el (vc-fetch-master-properties): Pass an absolute + pathname to the cvs status command. This is required to make + recursive vc-directory listings work. + +1995-06-22 Ethan Bradford + + * vt-control.el (vt-keypad-on, vt-keypad-off): Updated codes sent + to terminal to eliminate some garbage that made NCSA telnet crash. + +1995-06-22 Richard Stallman + + * vip.el (vip-push-mark-silent): Use (mark t). + + * mouse.el (mouse-yank-at-click): Clear mouse-selection-click-count. + +1995-06-21 Richard Stallman + + * files.el (buffer-file-truename): Duplicate definition deleted. + + * simple.el (mark-even-if-inactive): Duplicate definition deleted. + + * lisp-mode.el (eval-defun): Don't change defvar to defconst + if it has just one argument. + +See ChangeLog.5 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/ChangeLog.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ChangeLog.1 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,3524 @@ + +1986-05-18 Richard M. Stallman (rms at prep) + + * alloc.c (malloc_warning_1): Add some advice on + the significance of the warning. + +1986-05-09 Richard M. Stallman (rms at prep) + + * sysdep.c (get_screen_size): + Reject values of TIOCGSIZE if they are ridiculous. + +1986-05-05 Richard M. Stallman (rms at prep) + + * process.c (send_process_1): + If pipe buffer is full, wait a second and try again. + +1986-05-02 Richard M. Stallman (rms at prep) + + * termcap.c (tputs): round rather than truncating + when dividing padcount. + +1986-04-24 Richard M. Stallman (rms at prep) + + * insdel.c (del_range): args passed to adjust_markers + are now properly adjusted for the gap. + +1986-04-20 Richard M. Stallman (rms at prep) + + * alloca.c: Declare xmalloc. + +1986-04-17 Richard M. Stallman (rms at prep) + + * filelock.c (unlock_buffer): New function to unlock + a specified buffer. Use in Fdelete_buffer_internal + to avoid lossage if buffer being killed is not current. + +1986-04-14 Richard M. Stallman (rms at prep) + + * alloc.c (malloc_warning, Fgarbage_collect): + If malloc_warning is called during GC, just save warning + in malloc_warn_string. Try again to warn when GC ends. + +1986-04-12 Richard M. Stallman (rms at prep) + + * m-celerity.h: Remove spurious effectless #define BSTRINGS + +1986-04-10 Richard M. Stallman (rms at prep) + + * xfns.c (Fx_get_default): + Avoid doing strlen(value) if value is 0. + +1986-04-08 Richard M. Stallman (rms at prep) + + * indent.c (compute_motion): + Change unsigned short back to short. unsigned short is plain + wrong and causes infinite loops when horizontal scrolling is used. + Introduced macros HPOS and VPOS for extracting components of cpos. + Alternate HPOS definition for Celerity since casting to (short) + loses there. + +1986-04-07 Richard M. Stallman (rms at prep) + + * dispnew.c (update_screen): + Don't zero OPhysScreen and DesiredScreen until after + final error check. Omit the error check unless debug_end_pos. + +1986-04-06 Richard M. Stallman (rms at prep) + + * cm.c (calccost): + Was returning garbage if arrived at fail: by goto fail;. + +1986-03-27 Richard Mlynarik (mly at prep) + + * dispnew.c: + Typo: `#ifdef defined...' => `#if defined...' + +1986-03-26 Richard M. Stallman (rms at prep) + + * doc.c (FSnarf_documentation): + Appending the arg to the file name must be done + whether or not CANNOT_DUMP. + +1986-03-25 Richard M. Stallman (rms at prep) + + * fileio.c (Fsubstitute_in_file_name): + // at beginning of filename is meaningful on Apollo. + + * keyboard.c (command_loop_1): + If C_ALLOCA, cause it to garbage collect each time around this loop. + + * crt0.c: If NEED_ERRNO defined, declare errno. + * m-7300.h: New file. + +1986-03-25 Richard Mlynarik (mly at prep) + + * alloc.c (Fmake_symbol): + CHECK_STRING the argument. + +1986-03-24 Richard M. Stallman (rms at prep) + + * xfns.c (Fx_proc_mouse_event): + Use shifts rather than byte addressing to extract from .detail. + +1986-03-24 Richard Mlynarik (mly at prep) + + * minibuf.c (do_completion): + Only funcall predicate if it is non-nil + Make completion of "nil" in obarrays work. + +1986-03-21 Richard M. Stallman (rms at prep) + + * fileio.c (Fsubstitute_in_file_name): + #if 0 last change (LOGNAME); it makes vax running 5.0 crash. + +1986-03-20 Richard M. Stallman (rms at prep) + + * unexec.c (make_hdr): avoid comparing a_bss field with 0. + It is unsigned on some machines. Save sbrk (0) in tem. + +1986-03-19 Richard M. Stallman (rms at prep) + + * minibuf.c (do_completion): + Don't say string is exact match if it fails the predicate. + + * process.c (create_process): + For STRIDE: use FIONBIO to make pipe/pty non-blocking. + The fcntl alone failed to do it. + + * fileio.c (Ffile_directory_p, Ffile_modes): + Don't remove trailing slash for stat if path is "/". + + * process.c (kill_buffer_processes): + Pass nil, not 0, to sig_process for current_group arg. + +1986-03-18 Richard M. Stallman (rms at prep) + + * process.c (handle_process_output): + Avoid error if process's buffer is dead. + + * eval.c (un_autoload,do_autoload): + The Vautoload_queue mechanism was all broken. + + * fileio.c (Fsubstitute_in_file_name): + On USG, if looking for env var USER and not found, use LOGNAME. + +1986-03-16 Richard M. Stallman (rms at prep) + + * s-usg*.h, s-unipl*.h: + Replace default ADDR_CORRECT with a no-op. + Default triggers compiler bug on some systems. + Remove same thing from m-stride.h since now redundant there. + + * keyboard.c (init_keyboard, interrupt_signal): + For USG, handle SIGQUIT just like SIGINT. + + * sysdep.c (init_sys_modes): + For HPUX, use C-g for the SIGQUIT char as well as the SIGINT char + as using CDEL causes Meta-DEL to send a SIGQUIT! + + * process.c: On Uniplus, time.h is under sys/, as in bsd. + + * sysdep.c (reset_sys_modes): + Don't use FASYNC if it is not defined. + +1986-03-15 Richard M. Stallman (rms at prep) + + * window.c (save_window_restore): + Fix logic for handling dead buffers. + Don't try to store nil for the mark into the buffer + if the buffer is nil. + + * alloca.s: put #ifndef HAVE_ALLOCA AFTER including config. + + * ymakefile: always assemble alloca.s if C_ALLOCA isn't set. + +1986-03-14 Richard M. Stallman (rms at prep) + + * s-usg5.0.h: Remove LOADER_N_SWITCH. + +1986-03-14 Richard Mlynarik (mly at prep) + + * editfns.c + Improve doc for bolp, bobp, eolp + +1986-03-14 Richard M. Stallman (rms at prep) + + * cm.c (calccost): Refuse to use incremental cursor motion + after wrapping on terminals with MagicWrap (xn flag). + +1986-03-13 Richard M. Stallman (rms at prep) + + * emacs.c (main): For APOLLO: reserve 4meg with set_sbrk_size. + + * alloc.c (Fpurecopy): fix typo unsignedint. + +1986-03-12 Richard M. Stallman (rms at prep) + + * dired.c (file_name_completion): + Allow exact match against an ignored extension. + Can thus delete foo.o even if foo.out exists. + + * s-hpux.h: Turn off HAVE_PTYS since their csh has "sanity + checking" and other programs seem to lose with ptys. + +1986-03-11 Richard M. Stallman (rms at prep) + + * sysdep.c ({un,}request_sigio and callers): + Make alternate names init_sigio and reset_sigio; + callers in sysdep.c use those names. + In 4.1, change {un,}request_sigio to do sighold/sigrelse; + don't change init_sigio and reset_sigio. + + * m-vax.h: If USG5_2, use -lPW and HAVE_ALLOCA. + + * alloc.c (Fpurecopy, mark_object): In tests for pureness, + always use XUINT and unsigned comparison. + * lisp.h (CHECK_IMPURE): Likewise. + + * doc.c (FSnarf_documentation): + If CANNOT_DUMP, find DOC in directory PATH_EXEC. + + * ymakefile (APOLLO only): set LTERMCAP. + * m-apollo.h: Alter VALBITS and GCTYPEBITS. + + * term.c (delete_chars): Pass num chars to the hook. + * term.c (raw_topos), termhooks.h: Add raw_topos_hook. + + * unexec.c (make_hdr): + New compiler switch NO_REMAP means don't change text/data boundary. + +1986-03-10 Richard M. Stallman (rms at prep) + + * indent.c, window.c, xdisp.c: + Make compute_motion, vmotion and display_text_line + all return a pointer to a global structure, not a struct itself. + Add * to all calls. + + * syntax.c (scan_sexps_forward): + Make it return a pointer to a global structure, + not a struct itself. Change caller (Fparse_partial_sexp). + + * s-usg*: #define static as nothing. + * m-hp200.h: No longer needs to #define static. + + * unexec.c (adjust_lnnoptrs): + Replace dummy defn with one that does the job. Also + involves including syms.h and making global vars + bias and lnnoptr that are set in make_hdr. + +1986-03-08 Richard M. Stallman (rms at prep) + + * editfns.c (init_editfns): + Make AMPERSAND_FULL_NAME case start with USER_FULL_NAME. + + * crt0.c (BOGUS case): + Move "start:" from non-tower32 case to unconditional. + + * unexec.c for COFF: + Put the rounding-to-page-boundaries of section positions + within the file into a UMAX conditional. (See Feb 19). + +1986-03-06 Richard M. Stallman (rms at prep) + + * ymakefile: Add -k100000 switch to ld, for celerity. + + * eval.c (funcall_lambda): + Change a comma-sequence to a compound statement. + +1986-03-03 Richard M. Stallman (rms at prep) + + * xfns.c, xterm.c: + Install much-changed versions already tested at Athena. + + * ymakefile: Replace -lc with $(LIBSTD) and define LIBSTD + according to a config macro LIB_STANDARD. + m-tower32.h must define LIB_STANDARD. + + * process.c (read_process_output): + New subroutine that does the reading and handling of process output. + Do so until none is left. + (wait_reading_process_input): call new subroutine. + (sig_process): If we get a pgrp number, make it negative. + Always send signal to pggrp; use killpg if BSD, kill otherwise. + (child_signal): Don't deactivate dead processes here. + (change_msgs): Deactivate them here, when notification is done. + But first, call read_process_output to get any output that's left. + + * keyboard.c (read_avail_input): + (for sysV) Use fcntl, not ioctl, to make read not wait. + + * alloca.s: put entire file inside #ifndef HAVE_ALLOCA. + + * sysdep.c (child_setup_tty, init_sys_modes): + (for sysV) Set VTIME to zero; with VMIN=1 this means + no time limit. + +1986-03-02 Richard M. Stallman (rms at prep) + + * keyboard.c (quit_throw_to_get_char): + Before really throwing, clear waiting_for_input + so another interrupt won't also try to throw. + (get_char): Add error check for getcjmp being zero + where it should not be. Put this under DEBUG switch. + +1986-03-01 Richard M. Stallman (rms at prep) + + * crt0.c: Defining BOGUS forces use of the vax-tahoe-sequent case. + Add a small conditional within it for tower32. + Don't allow use of the m68000/m68k code if BOGUS is defined. + + * sysdep.c (init_sys_modes): + For sysV: If want flow control, actively set IXON, + and also clear IXANY if that is defined. + + * sysdep.c (rename): + It was doing completely wrong things to various files. + + * tparam.c (tgoto): Move buf outside the function + and rename as tgoto_buf. In case #define static as nothing. + + * unexec.c (make_hdr): + If macro EXEC_MAGIC is defined, let it specify the magic + number for the output file. + + * xdisp.c (message): Change name `buf' to `message_buf' + to avoid name clash when #define static as nothing. + + * ymakefile: Change DOCSTR to DOC. + +1986-02-28 Richard M. Stallman (rms at prep) + + * buffer.c (Fdelete_buffer_internal): + Unchain all markers from a buffer being killed. + +1986-02-27 Richard M. Stallman (rms at prep) + + * unexec.c, malloc.c: + If NBPG is used for getpagesize, multiply it by CLSIZE + and define that as 1 if not otherwise defined. + +1986-02-26 Richard M. Stallman (rms at prep) + + * lread.c (Fload): + Detect when fdopen returns 0 given a valid descriptor. + + * sysdep.c (stuff_char): + Declare arg as char, so TIOCSTI does not give wrong address. + +1986-02-25 Richard M. Stallman (rms at prep) + + * dispnew.c (update_screen): + * xdisp.c (DoDsp, Fredraw_display): + Insert checks to abort if screen_height is zero, + to detect the memory clobbering bug. + + * process.c: + For 4.1, include wait.h, not sys/wait.h + Use O_NDELAY only if it is defined. + + * s-bsd4.1.h: + Don't HAVE_TIMEVAL. Define open as sys_open and lstat as stat. + Define the O_ symbols for open args. + Turn off CLASH_DETECTION, for now. Turn off HAVE_TIMEVAL. + + * sysdep.c (bcopy, bzero, bcmp): + Make them really do the work, not try to use memset, memcopy, etc. + + * sysdep.c (get_system_name): + 4.1 needs its own definition of this. + + * sysdep.c (for BSD 4.1): + Define sys_open, since 4.1 open takes only two args. + Redefine LLITOUT as 0; it loses in 4.1. + Define LNOFLSH. Include wait.h, not sys/wait.h. + +1986-02-24 Richard M. Stallman (rms at prep) + + * malloc.c: Define getpagesize as macro when not avail as syscall. + +1986-02-23 Richard M. Stallman (rms at prep) + + * terminfo.c: Provide a definition of ospeed. + +1986-02-22 Richard M. Stallman (rms at prep) + + * alloca.s (hack_sky): + Move label hack3; bug was making some floating ops dump core. + + * dispnew.c (update_screen): + Don't free a line twice if it is in both DesiredScreen + and OPhysScreen. Can happen if line is copied into + DesiredScreen by `scrolling', then lost from PhysScreen + by the scrolling that is done. + Also remove a debugging check that did not go off + when this bug hit. + +1986-02-18 Richard M. Stallman (rms at prep) + + * indent.c (compute_motion): + Change all short to unsigned short. Needed for celerity. + + * keyboard.c (init_keyboard): + Initialize kbd_ptr. Needed for celerity. + + * unexec.c (make_hdr for celerity): + Copy their own header field a_scovfrl from ohdr. + + * unexec.c for COFF: + Round positions of text and and data sections in output file + to page boundaries. + + * crt0.c: Install version for Encore machines. + Also for celerity (same as pyramid and orion). + + * ymakefile: + Don't use -X for BSD systems that use COFF. + On UMAX, give ld the file align.umax (a new file) + via the make-macro ALIGNMENT. + + * align.umax, s-umax.h: + Two new files for Encore computers. + + * lread.c (Vload_path): Make it not static. + In sysV, static vars go in a place in memory below my_edata + + * dispnew.c (make_display_lines): + Store all the lines in an array for debugging, to help + debug the problem where lines get lost. + +1986-02-14 Richard M. Stallman (rms at prep) + + * alloca.s (ns16000): + Change non-sequent defn of REGISTER: add a displacement of zero. + +1986-02-13 Richard M. Stallman (rms at prep) + + * alloc.c (purecopy, mark_object), lisp.h: + Use XUINT, not XINT, in VIRT_ADDR_VARIES checks for pure object. + +1986-02-11 Richard M. Stallman (rms at prep) + + * fns.c (Fload_average): + Don't use struct nlist if no LOAD_AVE_TYPE. + + * crt0.c: Add missing semicolon in vax/tahoe/sequent code. + +1986-02-10 Richard M. Stallman (rms at prep) + + * crt0.c: Remove duplicate _start for pyramid. + +1986-02-07 Richard M. Stallman (rms at prep) + + * sysdep.c (gettimeofday): Define this only if HAVE_TIMEVAL. + + * m-vax.h: + If USG, don't define LOAD_AVE_... and do define C_ALLOCA. + + * filelock.c: On USG, include fcntl.h. + (lock_file): declare getpwuid external. + + * window.c (Fmove_to_window_line): + If window start is out of restriction, + choose a new start here. + + * alloca.s: + Modify ns16000 assembler syntax for the sequent machine. + + * crt0.c: Sequent uses same code as vax except start1 + takes one extra first arg that it ignores. + A new macro BOGUS is defined to allow machines to use the + same code and control how many args to ignore. + + * unexec.c: For sequent machine, handle its incompatible + meaning of N_TXTOFF, and use N_ADDRADJ where necessary. + +1986-02-06 Richard M. Stallman (rms at prep) + + * sysdep.c (init_sys_modes): + Set tty flags ISTRIP, CS8 and PARENB right for Meta key. + + * ymakefile: + Define CPP macro as name of cpp to use. Use it for alloca.s. + Make LOADER_N_SWITCH control solely the -N. + +1986-02-06 Richard Mlynarik (mly at prep) + + * fns.c (Frequire): + Fix documentation + +1986-02-06 Richard M. Stallman (rms at prep) + + * indent.c (compute_motion): + For tabs, make sure to take remainder of positive # + since % can round upward with negative numbers. + + * bytecode.c (syms_of_bytecode): + Fix typo in symbol name "byte-code". + + * xdisp.c (try_window_id): + Use adjusted hpos of bp in computation of ep. + Adjustde hpos can be negative after a continuation. + + * fileio.c (Finsert_file_contents): + Was failing to update n as chars were read. + Rearrange order of actions to make it more like InsCStr. + Call prepare_to_modify_buffer even if no CLASH_DETECTION. + Don't make gap if gap is big enough. + +1986-02-05 Richard M. Stallman (rms at prep) + + * termcap.c (tgetent): + Only use TERMCAP var as termcap entry value + if it has a name that matches the specified one. + New function name_match to match an entry against a name. + Do allow matching the first name in an entry. + + * indent.c (pos_tab_offset): + Take remainder by window-width - 1 (# of effective columns) + to fix bug where alternating TAB 1 TAB 1... causes a 1 + to shift sideways in incremental redisplay in DoDsp. + +1986-02-04 Richard M. Stallman (rms at prep) + + * keyboard.c (command_loop_1): + Don't do direct output if input is pending. + + * xterm.h: Find the file Xlib.h in /usr/include/X. + +1986-02-03 Richard M. Stallman (rms at prep) + + * process.c (pty): HPUX has different dir for pty-tty devices. + + * termcap.c: Don't include types.h or file.h. + +1986-02-02 Richard M. Stallman (rms at prep) + + * print.c (print): + Print a marker's corrected position, not its bufpos. + + * window.c (Fselect_window): + If old and new windows show same buffer, + make sure new point is inside the clipping region. + +1986-01-31 Richard M. Stallman (rms at prep) + + * fns.c (Fload_average): + In NLIST_STRUCT case, set nl[1] to 0, not "". + Fix KERNEL_FILE and LDAV_SYMBOL for HPUX. + +1986-01-30 Richard M. Stallman (rms at prep) + + * m-pyramid.h: Turn on NO_UNION_TYPE. + + * fns.c: For BSD, include sys/param.h + +1986-01-29 Richard M. Stallman (rms at prep) + + * fns.c (Fload_average): + Define a few symbols LDAV_SYMBOL and KERNEL_FILE_NAME + and NLIST_STRUCT to use later to simplify the code. + + * s-usg5.2.h: Turn on `subprocesses'. + + * sysdep.c: + #undef open, read and write at the start. + Make sys_read, etc. always available for uses that need + a nonaborting read. + (select): several bug fixes for system V. + (init_sys_modes, child_setup_tty): Init VTIME to a large #, not 0. + Use TCSETA, not TCSETAW (why wait?). + + * process.c: + (wait_reading_process_output): if don't HAVE_TIMEVAL + and no timeout desired, use 100000 seconds, which + the select emulator recognizes. + When reading data, if a char is buffered in proc_buffered_char, + put it at the front of the data read. + (kill_buffer_process): ignore processes really already dead. + (init_process): initialize proc_buffered_char to -1 (empty). + + * keyboard.c (fake_suspend): + Don't mess with the SIGCLD handler. + Use wait_for_termination to detect subshell termination. + (read_avail_input, for USG): + Use TCSETA, not TCSETAW; no waiting. + + * term.c (set_terminal_modes): Don't clear screen here. + * xdisp.c (Fredraw_display): Clear screen here instead. + +1986-01-28 Richard M. Stallman (rms at prep) + + * s-hpux.h: Do #undef SIGIO. + + * callproc.c, data.c, dispnew.c, emacs.c, keyboard.c, + process.c, sysdep.c: + Include signal.h before config so can #undef SIGIO in config. + + * lread.c (read_escape): + Make ?\^? produce 0177. + + * sysdep.c: + Define SIGCHLD as SIGCLD only if SIGCHLD not already defined. + (select): Don't give select_alarmed an initialization. + + * unexec.c: + For HPUX, copy the peculiar header fields for debugger info. + + * keyboard.c (kbd_buffer_get_char): Don't call read_avail_input + if kbd_count is nonzero. (Don't know how it can be, but + it is observed to happen.) + + * process.c: + Define SIGCHLD as SIGCLD only if SIGCHLD not already defined. + (wait_handling_process_output):Fill in one non-HAVE_TIMEVAL case. + +1986-01-27 Richard M. Stallman (rms at prep) + + * sysdep.c (reset_sys_modes): + Call unrequest_sigio twice. + Make sure FASYNC is clear in old_fcntl_flags. + +1986-01-26 Richard M. Stallman (rms at prep) + + * fns.c (Frandom): + Removed case for number as arg, since it has problems + in union-type case and it is not documented or used. + + * lisp.h (XSET): + Fix bugs in the union-type definition. + +1986-01-24 Richard M. Stallman (rms at prep) + + * process.c: + Define macros for accessing the `union wait' structure. + + * keyboard.c (fake_suspend): + Set subshell current dir to current buffer's default dir. + +1986-01-23 Richard M. Stallman (rms at prep) + + * dispnew.c (Fsit_for): + Call gobble_input only if SIGIO exists. + + * keyboard.c (fake_suspend): + Save and restore the SIGCLD handler, if that exists. + + * process.c (create_process): + SKTPAIR-or-not now controls only what to do if cannot use a pty. + For USG other than UNIPLUS, instead of sigsetmask (nonexistent), + save away and temporarily turn off the SIGCHLD handler. + (child_sig): Various USG changes. + + * sysdep.c (wait_for_termination): + Provide case for sysV not UNIPLUS (right for STRIDE at least). + * sysdep.c (child_setup_tty): + Set the VMIN and VTIME fields. + + * callint.c (Fcall_interactively): + Globalize the variable argfuns, for HPUX's sake. + + * keyboard.c (fake_suspend): + Use execlp, not execl. + + * sysdep.c (random, srqndom): + Add dummy for srandom => srand. Enable both for 4.1 and USG. + * fns.c (Frandom): + Remove conditional; let those dummies serve. + + * Makefile: + Use sed to remove blank lines and from xmakefile. + + * ymakefile: + Pass alloca.s thru more seds to remove #... lines, etc. + Move tparam.o into otherobjs; for HPUX, use terminfo.o instead. + No need to conditionalize recipes for xfns.o and xterm.o. + No longer need to duplicate the xemacs: line. + For HPUX, define LIBBSD. Use that in LIBES. + + * editfns.c (init_editfns): + Handle case of pw == 0 (USER is not a known user). + + * cm.c: + Include config. Make cost and evalcost global. + (cmcostinit): Don't pass 0 as string to tgoto (new macro CMCOST). + + * terminfo.c (new file): + Defines a version of tparam for use with terminfo. + +1986-01-22 Richard M. Stallman (rms at prep) + + * dispnew.c: + If HPUX, insert time.h instead of sys/time.h. + + * sysdep.c: + If HPUX, insert time.h instead of sys/time.h. + In get_system_name, globalize a static variable `name'. + In readdir, globalize `dir' as `dir_static'. + Make some system-call imitations "not HPUX". + + * process.c: + If HPUX, insert time.h instead of sys/time.h. + Do them only if HAVE_TIMEVAL. + If HAVE_PTYS and HPUX, insert sys/ptyio.h. + In function `pty', globalize static var `name' as `ptyname'. + + * term.c: + (term_init): If TERMINFO, where tbuf is not used, + allocate combuf with size 2044. + (evalcost): Flush it. Make it extern and use the one in cm.c. + + * dired.c: + Include stat.h before config.h so config can override S_IFLNK on + HPUX (where that symbol exists but there are no symbolic links). + Do not include time.h; not needed. + + * xdisp.c (fmodetrunc, decode_mode_spec): + Rename local static buffers buf, tbuf and make them global. + Static variables go into initialized data space in HPUX. + * fns.c (Fload_average): + Similar hack for internal static vars initialized, channel, nl. + + * lread.c: + Change condition for defining X_OK to be that X_OK is not defined. + + * alloc.c (init_alloc_once): + Fix erroneous names data_bytes_{un,}used + inside the VIRT_ADDR_VARIES conditions. + + * emacs.c: + Don't include time.h or resource.h; just #define PRIO_PROCESS. + + * xdisp.c (redisplay_window): + Don't shift window-start to avoid end of buffer + unless window contents have changed too. + + * xdisp.c (DoDsp): + If nothing has changed except minibuffer message, + no need to call redisplay_window. + + + * Problem: standard sysV has no file ioctl.h. + + * process.c, keyboard.c, dispnew.c, sysdep.c: + Include ioctl.h in BSD, termio.h and/or fcntl.h in sysV. + + * callproc.c: No longer needs ioctl.h; don't include. + * xdisp.c: No longer needs ioctl.h or signal.h; don't include. + + * emacs.c: + Include sys/ioctl.h only for BSD. ioctl used only in BSD. + +1986-01-21 Richard Mlynarik (mly at prep) + + * keyboard.c (EchoThem): + Always display an explicit prompt, even if echo_keystrokes == 0 + +1986-01-21 Richard M. Stallman (rms at prep) + + * keyboard.c (kbd_buffer_store_char, fake_suspend): + Take the STRIDE code for subshell out of kbd_buffer_store_char + and call it fake_suspend. Call it from previous place and + also from Fsuspend_buffer, on all systems that lack SIGTSTP. + Clean the code up a little bit. + + * process.c: + Don't include sgtty.h; no longer needed. + Make use of wait3 depend on existence of WNOHANG. + + * unexec.c: + Allow the m- file to override defn of ADDR_CORRECT (m-stride.h does). + Have and use pagemask to round data_start in COFF case too. + Always define getpagesize as macro, for 4.1 and USG where + it is not provided as a system call. + This takes care of the STRIDE changes for unexec. + + * ymakefile: + Give ld the arg $(STARTFLAGS), and define that based on cpp macro + TEXT_START_ADDR when that is defined. This is for systems where + the -T switch is necessary. + + * unexec.c (make_hdr): + Make one sun3 fix machine-independent. + (Prevent a_bss from being negative). + + * casefiddle (casify_region): + New flag value CAPITALIZE_UP which is like CAPITALIZE + but changes only the initials. Function upcase_initials_region + is an interface to this mode. + + * abbrev.c (Fexpand_abbrev): Use upcase_initials_region. + + * process.c (create_process): + Install Fish's other new UNIPLUS conditionalization + on the hackery for xforkin, etc. + +1986-01-20 Richard M. Stallman (rms at prep) + + * fns.c (Frandom): + Optional arg of t means randomize the seed. + This change was really made at some previously time; + just changed the doc string now. + + * eval.c (do_autoload): + Bind autoload-queue to avoid loss on recursive autoloads. + + * xdisp.c (try_window_id): + If everything on screen below change is whitespace, + don't scroll, and return -2. + + * dispnew.c (update_screen): + Rewrite to avoid dependence on distance between + the two arrays PhysScreen and DesiredScreen. + +1986-01-19 Richard M. Stallman (rms at prep) + + * fns.c (mapcar1): + Preinitialize contents of vals, so it won't contain junk + to be seen by a GC inside this function. + + * eval.c (various): + Use error, not Fsignal, to report eval-depth-overflow. + Previous calls to Fsignal were buggy. + +1986-01-17 Richard Mlynarik (mly at prep) + + * lread.c (init_obarray): + Kludge around losing pyramid compiler. + +1986-01-14 Richard Mlynarik (mly at prep) + + * window.c (Fdelete_window): + When deleting a dummy parent window, don't try to GC buffer stuff. + + * process.c (list_processes_1): + Don't blow out if buffer associated with process is, + through some bug I don't understand, killed. + + * keymap.c (get_keyelt), keyboard.c (Fcommand_execute): + Allow (lambda ...) to appear as a key's definition. + + * m-sun3.h, unexec.c: + Sun3 changes from Barry Shein. + +1986-01-10 Richard Mlynarik (mly at prep) + + * m-stride.h, s-stride.h, crt0.c, fns.c, keyboard.c, process.c, + sysdep.c. + Changes for STRIDE micro + Changes still pending for etc/loadst.c + + Fsuspend_emacs in keyboard.c is defined to run a subshell under + emacs -- perhaps this is a reasonable thing in all wimpy unix + versions. + +1986-01-10 Richard M. Stallman (rms at prep) + + * dispnew.c (update_line): + Don't consider spaces at beginning as special if line is + highlighted. + Avoids losing the inverse-video on leading spaces in mode lines + on terminals where erasing does not turn on highlightig (vt100?). + + * process.c (pty): + On UNIPLUS, don't try opening other side. + + * filelock.l (lock_file_1): + If lock file is invalid, delete it and continue. + If delete fails, ignore the lock. + +1986-01-09 Richard Mlynarik (mly at prep) + + * syntax.c: + New function check_syntax_table + + Make Fmodify_syntax_entry take third arg SYNTAX-TABLE, + which defaults to current buffer's syntax table. + -- doc change in auxdoc.c + + Rename Fmake_syntax_table FCopy_syntax_table + after making it take an arg (default Vstandard_syntax_table) + -- retain alias in subr.el + +1986-01-08 Richard M. Stallman (rms at prep) + + * sysdep.c, term.c (get_screen_size): + New function to get screen size from kernel when possible. + In sysdep; called from term_init in term.c. + Must test this on Sun and on 4.3. + + * dispnew.c (Fding): + Make doc say it terminates kbd macros. + +1986-01-07 Richard Mlynarik (mly at prep) + + * doc.c (Fsubstitute_command_keys): + Insert an explanatory message for "\\{unbound-variable}" + +1986-01-06 Richard Mlynarik (mly at prep) + + * termcap.c (tputs): + Punt if passed (char) 0. + +1985-12-31 Richard M. Stallman (rms at prep) + + * dispnew.c (Ding): + Expand error message for keyboard macro case. + + * dired.c (Ffile_attributes): + Fix documentation error about meaning of ctime. + +1985-12-28 Richard M. Stallman (rms at prep) + + * callproc.c (Fcall_process): + Fix typo in name synch_process_pid. + +1985-12-27 Richard M. Stallman (rms at prep) + + * s-unipl5.2.h: + Define HAVE_SELECT. + + * ymakefile (xemacs): + If the commands are conditional, the target/dependencies line must + be conditional also. + +1985-12-20 Richard M. Stallman (rms at prep) + + * print.c (printchar, strout): + If output stream is Qt and noninteractive, + don't do the usual interactive output stuff. + In strout, avoid changing i so do not truncate the output. + +1985-12-19 Richard M. Stallman (rms at prep) + + * fns.c (merge): + Don't assume args are consecutive; GCPRO each one separately. + + * insdel.c (make_gap): + Was adding k bytes of gap; k is supposed to be + new desired amount of gap. Wasted a lot of memory! + + * alloc.c (malloc_warning): + Passing Fprinc to internal_with_output_to_temp_buffer + loses since Fprinc needs 2 args. Use intermediate + function malloc_warning_1. + +1985-12-18 Richard M. Stallman (rms at prep) + + * filelock.c (lock_if_free): + kill failing means lock is free only if errno is ESRCH. + + * fns.c (Fy_or_n_p, Fyes_or_no_p): + Call Fdiscard_input if user gives invalid answer. + +1985-12-17 Richard M. Stallman (rms at prep) + + * eval.c (apply_lambda): + Do debug-on-exit here, because if we return to Feval + the stack vector of evaluated args will be deallocated by then. + + * sysdep.c (wait_for_termination): + Add new variable wait_debugging. Set it nonzero to make + this function work in a way that works under dbx. + + * process.c (send_process_1): + If not all the data is written, try again to write the rest. + Eliminate the alarm stuff, including send_process_alarm. + Call report_file_error if write returns negative. + +1985-12-15 Richard M. Stallman (rms at prep) + + * alloc.c (init_alloc_once): + Stop looping if shift produces 1, as well as if produces 0. + +1985-12-14 Richard M. Stallman (rms at prep) + + * editfns.c (Fregion_{beginning,end}): + New Lisp primitives, needed for the things that + are put on the command history for "r" arguments. + + * callint.c (Fcall_interactively): + If an argument was point or mark, represent it with + a suitable expression (point) or (mark) in the + command history element. Also adjust for changed + calling conventions of quotify_args. + + * callint.c (quotify_arg): + Take one arg; return it if constant, else return + a quote-expression for it. + + * callint.c (quotify_args): + Don't exempt the first arg. Use quotify_arg to do the work. + +1985-12-13 Richard M. Stallman (rms at prep) + + * fileio.c (Fdo_auto_save): + Use message1 to output "Auto-saving..." + so do not clobber the old message to be restored at end. + +1985-12-12 Richard M. Stallman (rms at prep) + + * syntax.c: + After turning on immediate_quit, must do QUIT; + + * callproc.c (Fcall_process): + Quitting out of running subproc did not happen immediately. + Added QUIT;s after setting immediate_quit on, + removed those after turning it off (not needed there). + + * lread.c (init_read): + Don't put ../lisp on Vload_path if CANNOT_DUMP. + + * emacs.c (main): + If CANNOT_DUMP, load "loadup.el" as soon as enter editor loop + unless -nl switch is given. + + * lread.c (read_list): + Don't use Fsetcdr, since might be changing a cell + in pure space during initial loadup. + Do explicit assign instead. + + * lisp.h: + Define CHECK_IMPURE, to get error if object is pure. + + * data.c (Fsetcar, Fsetcdr, Faset): + Use CHECK_IMPURE instead of old error checking code. + + * data.c (pure_write_error): + New subroutine, called by CHECK_IMPURE. + + * m-apollo.h: + Define VIRT_ADDR_VARIES. + + * alloc.c: + We now load things into pure space even if cannot dump, + to speed garbage collection. + Turn on Vpurify_flag unconditionally. + Give pure its full size unconditionally. + Change remaining CANNOT_DUMP and APOLLO conditionals + into VIRT_ADDR_VARIES conditionals. + +1985-12-10 Richard M. Stallman (rms at prep) + + * fns.c: + Don't include files for load-average if load-average not supported. + + * alloc.c: + If CANNOT_DUMP, allocate `pure' very small. + [This has been undone.] + + * buffer.c (list_buffers_1): + Use 2 spaces minimum only after buffer name; + go back to 1 space minimum after size and major mode. + + * termcap.c: + Avoid use of O_RDONLY and index, so no need for explicit + dependence on system type. + + * sysdep.c: + Delete definition of `index'. Now it's a macro when nec. + + * s-usg5.2.h, s-unipl5.2.h: + Define index and rindex as macros. + + * dispnew.c (Fsit_for): + Assume select is always available for use. + + * buffer.c (Fpop_to_buffer): + Take second arg and pass as second arg to Fdisplay_buffer. + + * insdel.c (GapTo): + Dump core if bf_p1, bf_p2 don't differ by gap size. + + * keyboard.c (Fsuspend_emacs): + * emacs.c (Fkill_emacs): + Both call new subroutine stuff_buffered_input (in keyboard.c) + which stuffs a string's contents plus any unused input Emacs has + already read. + +1985-12-09 Richard M. Stallman (rms at prep) + + * fileio.c (Fdo_auto_save): + Don't auto save a buffer that is not modified + since last real save. + + * minibuf.c (minibuffer_completion_help_1): + Use make_number for args to Findent_to. + Omitting make_number always loses on Pyramid, it seems. + +1985-12-08 Richard M. Stallman (rms at prep) + + * minibuf.c (Fminibuffer_complete_word): + If next char not unique, try adding an actual space. + If do achieve some completion, replace old buffer text + with the completion (in case of different case). + Also a little cleanup. + + * minibuf.c (Ftry_completion): + Fix lossage when second completion found is an initial segment of + the first one. + +1985-12-07 Richard M. Stallman (rms at prep) + + * xdisp.c (redisplay_window): + Don't use the clause for only-point-has-changed + for the minibuffer; loses when redisplaying to bring + back minibuffer after an echo area message. + + * crt0.c: + Vax code is now used for tahoe machine also. + + * alloc.c (init_alloc_once): + For APOLLO, set data_bytes_{free,used} to plausible constant + values. + + * eval.c (unautoload): + Declare return type Lisp_Object. + + * filelock.c (lock_file): + Check attack with !NULL, not ==. + + * keymap.c (describe_command): + Don't apply NULL directly to result of Fkeymapp. + + * lisp.h (XSET): + Fix type field assignment in union-type case. + + * process.c (Faccept_process_output): + Use XFASTINT around infd field of process. + + * search.c (signal_failure): + Returns type Lisp_Object. + + * dired.c (Ffile_name_completion): + If arg is null string, return null string immediately. + Idea is don't want to complete "/foo/" into "/foo/bar" + if "bar" is the only file in "/foo/". + + * minibuf.c (Ftry_completion): + Handle correctly scmp returning -1. + + * alloc.c: + Make malloc_sbrk_used and malloc_sbrk_unused + not be external if APOLLO. + +1985-12-06 Richard M. Stallman (rms at prep) + + * emacs.c, keyboard.c, sysdep.c: + Rename InitDsp -> init_sys_modes and RstDsp -> reset_sys_modes. + + * emacs.c (main): + Call init_keyboard before init_sys_modes + so correct value of interrupt_input is set up. + Fixes the mysterious first C-z bug. + + * minibuf.c: + New Lisp variable completion-ignore-case. + Affects Ftry_completion and Fall_completions. + + * emacs.c (main): + Don't change C variable `noninteractive' if user + sets the Lisp variable `noninteractive'. + +1985-12-05 Richard M. Stallman (rms at prep) + + * callproc.c (Fcall_process): + Close filefd if about to get error. + + * fileio.c (Finsert_file_contents, Fwrite_region): + Set up unwind protect to close file if error happens. + + * fileio.c (Fcopy_file): + Close input file if fail to open output file. + + * dispnew.c (change_screen_size): + Change name from ChangeScreenSize. + Do set_terminal_window (0); after changing height. + + * indent.c (vmotion & callers): + Take window as fifth arg. All callers pass window + being displayed or selected window. + If window is minibuffer, knows that first line starts at + hps = minibuf_prompt_width. + + * minibuf.c (read_minibuf{,_string_unwind}): + Save and restore minibuf_prompt_width. + + * xdisp.c: + (display_text_line): set minibuf_prompt_width if display the + prompt. + (various): Pass window being displayed as arg to vmotion. + (various): Compute starting-hpos arg to compute_motion + using minibuf_prompt_width if in minibuf starting at top. + + * window.c (Fdisplay_buffer & callers): + Take second arg, non-nil means do not use selected window + even if that already contains specified buffer. + + * buffer.c (Fpop_to_buffer): + Pass t as second arg to Fdisplay_buffer. + + * buffer.c (list_buffers_1): + Make at least two spaces between all fields on a line. + +1985-12-04 Richard M. Stallman (rms at prep) + + * xfns.c: + Define Fx_pop_up_window. + Use make_string, not Fmake_string, in x-get-cut-buffer. + Mysterious change from Martillo in Fx_change_display. + Rename variable mouse-pos to x-mouse-pos. + + * xterm.c: + Changes from Martillo. + Change mouse command to C-c C-m. + + * term.c (calculate_costs): + Return immediately if dont_calculate_costs is set. + + * lread.c (Fintern, Fintern_soft): + Don't allow a symbol as argument to intern or intern-soft. + +1985-12-04 Richard Mlynarik (mly at prep) + + * editfns.c (Fsubst_char_in_region): + Typo. + +1985-12-03 Richard M. Stallman (rms at prep) + + * fileio.c (Fdo_auto_save): + Always restore old minibuf message if any. + + * alloc.c (Fgarbage_collect): + Always restore old minibuf message if any. + Truncate command-history to 30 elements. + Add some register decls. + +1985-12-03 Richard Mlynarik (mly at prep) + + * lread.c (Fload): + Suppress "Loading %s... done" if noninteractive + + * alloc.c (Fgarbage_collect): + Suppress "garbage collecing..." message if noninteractive. + + * regex.c (re_compile_pattern): + Fix error message (double "\"'s for c compiler) + +1985-12-03 Richard M. Stallman (rms at prep) + + * editfns.c (Fsubst_char_in_region): + If 5th arg is non-nil, don't record for undo. + +1985-12-02 Richard M. Stallman (rms at prep) + + * unexec.c (copy_sym, make_hdr): + Pass file names to these functions. + Use PERROR properly, with filename as arg. + + * window.c (Fdelete_window): + Don't let stretching the siblings delete them. + + * window.c (set_window_{height,width}): + Make `nodelete' apply to children as well. + +1985-11-28 Richard M. Stallman (rms at prep) + + * indent.c (compute_motion): + Omit one register decl if TAHOE_REGISTER_BUG. + + * m-tahoe.h: + New file. + +1985-11-27 Richard M. Stallman (rms at prep) + + * sysdep.c (RstDsp): + Do TIOCSETC before doing fcntl F_SETOWN. + + Note: bizarre bug exists: Fsuspend_emacs + in impure temacs under vax 4.2 gets stopped + in that TIOCSETC; but in dumped Emacs, that + does not happen. No idea why. This change + did not fix it. + + * keymap.c (describe_buffer_bindings): + Avoid passing a null pointer to InsStr. + + * xterm.c: + Many random bug fixes from Martillo. + + * xfns.c: + Bug fixes in Fx_change_display. + New function Fx_set_icon. + Fx_set_bell must take 1 arg, not 0. + Fx_set_window_edges: don't set window size if new size same as old. + + * term.c, termchar.h: + Define variable `dont_calculate_cost's: + If set nonzero, `calculate_costs' is not called. + +1985-11-25 Richard M. Stallman (rms at prep) + + * sysdep.c, keyboard.c: + Clean up USG simulation of FIONREAD. + In keyboard.c, new function read_avail_input reads all + input now in system buffer into kbd_buffer. + get_pending_input is moved to keyboard.c, and works + using read_avail_input when FIONREAD is not defined. + select emulator in sysdep also uses read_avail_input. + + * unexec.c: + Make PERROR do a return, in non-emacs version. + Remove explicit returns following PERRORs. + Replace ERROR with ERROR0, ERROR1 and ERROR2 + which pass along message and args to report_error_1. + Make those macros do a return, in non-emacs version. + + * process.c (wait_reading_process_output): + If read_kbd is 10 + I, don't read kbd, but don't + return until input has arrived from channel I. + + * process.c (Faccept_process_input): + New Lisp function. + +1985-11-24 Richard M. Stallman (rms at prep) + + * unexec.c: + Close output descriptor if get an error. + +1985-11-23 Richard M. Stallman (rms at prep) + + * termcap.c (tgetstr): + Supply second arg in call to tgetstr1. + +1985-11-22 Richard M. Stallman (rms at prep) + + * s-bsd4.3.h: + Undefine INTERUPT_INPUT. Noninterrupt input should work + properly given LPASS8 and LNOFLUSH. + + * dispnew.c, keyboard.c (Fset_input_mode): + Move it from dispnew.c to keyboard.c. + + * sysdep.c (InitDsp): + Use LNOFLUSH in BSD. + + * term.c (topos): + Call hook before checking curY and curX. + +1985-11-22 Richard Mlynarik (mly at prep) + + * fileio.c (Frename_file): + Supply third arg to Fcopy_file + +1985-11-22 Richard M. Stallman (rms at prep) + + * keymap.c (push_text_char_description): + Represent ESC by ^[, not $. + +1985-11-20 Richard M. Stallman (rms at prep) + + * minibuf.c (read_minibuf): + Make Vminibuffer_help_form do its intended job. + Use alloca to get the space for the prompt. + +1985-11-20 Richard Mlynarik (mly at prep) + + * callproc.c (Fcall_process_region): + Documentation fix (why isn't this function written in lisp?) + + * minibuf.c (read_minibuf) + Use MScreenWidth + +1985-11-20 Richard M. Stallman (rms at prep) + + * tparam.c (tparam): + Don't pass `left' or `up' to strcat if it is null. + + * cmds.c (SelfInsert): + Split register arg c into arg c1 and register local c. + Using & on a register argument happens to work on vax. + +1985-11-19 Richard M. Stallman (rms at prep) + + * xdisp.c (try_window_id): + If change is on top line and display is not starting + at a real line-beginning, give up so real scrolling is done. + Return -1, which now tells redisplay_window not to try + slow redisplay with the same window start. + +1985-11-18 Richard M. Stallman (rms at prep) + + * m-apollo.h: + New file. Use with s-bsd4.2.h? + + * data.c (Fsetcar, Fsetcdr, Faset): + Conditionalize checks for existing objects being pure + on CANNOT_DUMP. + + * alloc.c (mark_object, Fpurecopy): + Conditionalize checks for existing objects being pure + on not CANNOT_DUMP. Don't turn on Vpurify_flag if CANNOT_DUMP. + + * emacs.c (Fdump_emacs): + Conditionalize existence of function on not CANNOT_DUMP. + + * lread.c (read_list, intern): + Avoid using a conditional expression to compute function to call. + Conditionalize the entire call (pure_cons vs Fcons or + make_pure_string vs make_string). + + * syntax.c (scan_sexps_forward (case Sopen)): + Changed around curlevel++->last since Apollo C compiler loses. + + * lisp.h: + Define VALBITS and GCTYPEBITS inside #ifndefs + so config.h can override them. + + * fileio.c (Fexpand_file_name, Fsubstitute_in_file_name): + APOLLO conditionals to consider // at start of file name + legitimate. + + * ymakefile: + Make mention of alloca.o be conditional on not APOLLO. + Make -lg conditional likewise. + +1985-11-15 Richard M. Stallman (rms at prep) + + * ymakefile, read.c: + Rename read.* to lread.* to avoid trouble with + #define read sys_read. + +1985-11-14 Richard M. Stallman (rms at prep) + + * New files xfns.c, xterm.c for X window system. + xfns contains Lisp subrs for interacting with X. + TrmTERM.c is eliminated. + + * ymakefile: + Make compilation and loading of xterm.o and xfns.o + conditional on HAVE_X_WINDOWS. + + * term.c, termhooks.h: + Define fix_screen_hook. + + * process.c (wait_handing_process_output): + Call the terminal's fix_screen_hook, if one is set up. + + * keymap.c: + Define and initialize MouseMap, a keymap for mouse commands. + + * emacs.c (main): + Call syms_of_xfns. + + * dispnew.c (init_display): + For X window system terminals, call x_term_init. + + * buffer.c: + Flush Lisp variable buffer-number. + +1985-11-13 Richard M. Stallman (rms at prep) + + * term.c (term_init): + For c100, do not set TS_set_window if termcap entry gives one + or if the :ti string fails to fix the screen at the top + of the display memory. + + * nearly every file changed. + + * New macro XSET to set both fields of a Lisp_Object. + Most places where XSETTYPE was used, followed by setting + the pointer field, now use XSET. + + * Many uses of wrong_type_argument replaced with use + of CHECK_*, including new CHECK_MARKER. + + * Other uses of wrong_type_argument fixed so value + returned gets used in place of the invalid object. + Also, the third argument was deleted. + + * New functions xmalloc and xrealloc signal an error + if memory is not available. Many calls to malloc and + realloc are replaced with them. + + * Some unused variables' declarations have been flushed. + * Some register declarations have been added. + + * alloc.c: + New functions xmalloc and xrealloc. + + * process.c: + (pty): Flush unused variable. Return 0 at end. + (list_processes):New buffer tembuf for sprintf to use. + (send_process_trap): Flush unused arg. + (sig_process): Rename arg `signal' to `signo'. + + * read.c: + Avoid `file' as variable name for lint's sake. + + * sysdep.c: + Compile stuff_char only if SIGTSTP exists. + Changed conditionals within stuff_char. + Compile wait_without_blocking only if no subprocesses. + Pass one arg (zero) to `wait'. + Include old_fcntl_flags in #ifdef FASYNC condition. + Put old_fcntl_owner inside #ifdef F_SETOWN condition. + Don't compile end_of_text and end_of_data. + Delete definitions of readlink and symlink; + their callers should not exist when system doesn't have symlinks. + + * term.c: + Don't give the impression that hooks' values are supposed + to be returned. + + * userid.c: + Entire file commented out; supposedly not used. + + * dispnew.c: + Comment out preserve_my_columns, not used. + Clean up conditionals in Fsleep_for and Fsit_for. + + * doc.c: + Fix incorrect args to describe_map_tree. + + * eval.c: + Flush Ffunction_type. + Make Fautoload override an existing autoload definition. + wrong_type_argument: check the user's new value + and get error again unless it fits the predicate. + + * minibuf.c: + Comment out Fread_function, not used. + +1985-11-12 Richard M. Stallman (rms at prep) + + * keymap.c: + Comment out synkey, which nobody calls. + + * lisp.h: + Define XSET (var, type, ptr) to set both fields of a var. + Use it in DEFSIMPLE. + Remove extern decls of non-ex functions; fix dot -> point. + Remove incorrect decl of staticprolist. + + * fns.c (Flength): + (concat2, nconc2): Add /* ARGSUSED */ for lint. + + * fileio.c: + A few declarations for lint's sake. + Make alias file-readable-p for file-exists-p. + +1985-11-11 Richard M. Stallman (rms at prep) + + * emacs.c (Fkill_emacs): + Return arg as exit code if arg is numeric even if interactive. + Rearrange code to make it smaller. + + * callint.c (Fcall_interactively, case 'v'): + Use Fread_variable. + + * tparam.c (tparam): + Rename %s as %f. + +1985-11-10 Richard M. Stallman (rms at prep) + + * read.c (Fload): + Rename closefile to load_unwind. + New boolvar load-in-progress, set to t while loading, nil otherwise. + + * term.c (clear_end_of_line): + Correct first_unused_hpos by chars_wasted, since curX is corrected. + Set chars_wasted to zero if about to erase a standout marker. + + * term.c (write_standout_marker): + Do write the end-standout marker even when sg#0. + +1985-11-09 Richard M. Stallman (rms at prep) + + * term.c (set_scroll_region): + Change parameters given to the `cs' string + to adjust for changed effect of %i. + + * tparam.c (tparam): + %i now increments two args, not just one. + Redefine %a somewhat, as will be described in termcap.texinfo. + +1985-11-08 Richard Mlynarik (mly at prep) + + * emacs.c (Fkill_emacs): + arg default is 0 if noninteractive, nil if interactive + + * minibuf.c (Fread_variable): + Only recognize symbols that are user-variable-p. + +1985-11-08 Richard M. Stallman (rms at prep) + + * sysdep.c (init_display): + Turn on LPASS8 if it is defined. + Gives 8-bit input in CBREAK mode. + +1985-11-06 Richard M. Stallman (rms at prep) + + * sysdep.c (get_input_pending, select): + Provide alternate code for USG without FIONREAD. + I suspect it does not really work, though. + + * fns.c (Fload_average): + If LOAD_AVE_TYPE is not defined, just get an error, + and allow LOAD_AVE_CVT to be undefined as well. + + * m-dual.h: + Don't define LOAD_AVE_TYPE or LOAD_AVE_CVT. + +1985-11-05 Richard Mlynarik (mly at prep) + + * print.c (print): + Hack deleted buffers. + +1985-11-04 Richard M. Stallman (rms at prep) + + * syntax.c (describe_syntax_1): + Return type Lisp_Object and value Qnil. + +1985-11-04 Richard Mlynarik (mly at prep) + + * minibuf.c (Fread_variable): + Choose amongst user-variable-p frobs rather than boundp ones + +1985-11-02 Richard M. Stallman (rms at prep) + + * window.c (window_scroll): + Get error if try to scroll back when at top. + + * window.c (Fscroll_down, Fscroll_up): + Share new subroutine scroll_command to compute amount to scroll by. + +1985-11-01 Richard M. Stallman (rms at prep) + + * dispnew.c (Fset_input_mode): + Always set interrupt_input to 0 when SIGIO is undefined. + + * keyboard.c (gobble_input, input_available_signal, kbd_buffer_store_char): + Make these functions exist only if SIGIO is defined. + +1985-10-30 Richard M. Stallman (rms at prep) + + * sysdep.c (select): + Use signal, not sigset, since we simulate signal on + all system versions when nec. + + * buffer.c (syms_of_buffer, init_buffer_once, + reset_buffer_local_variables): + Define default-abbrev-mode, and init new buffers' abbrev-mode + from it. Move definition of abbrev-mode here from abbrev.c. + + * print.c (Fmessage): + Simplify it by using `message' to do the output. + + * alloca.s: + Provide alloca for 3b5. + +1985-10-30 Richard Mlynarik (mly at prep) + + * editfns.c, print.c (Fmessage): + Move Fmessage from editfns to print + If noninteractive, do not truncate message at all. + If interactive truncate at MScreenWidth (not at 100) + + * alloc.c (mark_buffer): + Catch a few places which should have been marked but weren't + + * buffer.h, abbrev.c, cmds.c, xdisp.c + abbrev_mode is buffer-local (like all other minor modes) + +1985-10-29 Richard M. Stallman (rms at prep) + + * sysdep.c (wait_for_termination): + Install case for 4.1 with subprocesses. + Realize that what was thought to be that + was really for no subprocesses; fix it up + to avoid using synch_process_pid since child_sig won't maintain that. + + * read.c (Fload): + If arg is empty string, just get error; + don't try to open any file. + + * eval.c (internal_condition_case): + Before unwinding after throw, remove any backtrace frames, + catches or handlers that are in stack frames that have been exited, + + * window.c (save_window_restore): + If saved state uses a dead buffer, don't use Fother_buffer + to find a buffer to use instead, since that can call Fnext_window + and the window hierarchy might be malformed at that time. + + * fns.c (Fequal): + Markers are equal if they point at the same place. + +1985-10-29 Richard Mlynarik (mly at prep) + + * fns.c (Frequire): + Don't print message whilst loading required file. + +1985-10-29 Richard M. Stallman (rms at prep) + + * syntax.c (scan_lists): + Initialize mathexit. + +1985-10-28 Richard M. Stallman (rms at prep) + + * process.c (child_sig): + Rename `dead_pid' to `synch_process_pid'. + Remove conditionals around calls to deactivate_process. + + * callproc.c (Fcall_process): + In 4.1, store the pid in synch_process_pid. + + * sysdep.c (wait_for_termination): + Add case for 4.1 (only with subprocesses) + waiting for synch_process_pid to be zeroed by child_sig. + + * crt0.c: + Add version for the orion machine. + + * data.c (arith_error): + In 4.1, do sigrelse to reallow arith error signals. + + * read.c (read_escape): + After C-, don't clear meta bit of what follows. + +1985-10-27 Richard M. Stallman (rms at prep) + + * m-*.h: + Define SIGN_EXTEND_CHAR for all machines. + +1985-10-26 Richard M. Stallman (rms at prep) + + * xdisp.c (display_mode_line): + If window is not full width but its parent is, + display the mode line in inverse video. + + * cmds.c (SelfInsert): + Call the blink paren hook for syntax class $ also. + + * eval.c (Fautoload): + Accept fifth arg, non-nil meaning function will be a macro + once it is loaded. + + * eval.c (Fmacroexpand): + Autoload anything that will be a macro once loaded. + If a symbol's definition is a symbol that is a macro, + expand either one seen. + +1985-10-23 Richard M. Stallman (rms at prep) + + * eval.c (Fthrow): + If TAG is nil, always say it is not found, to avoid + interference with condition-case, which uses nil as catch tag. + + * print.c (PRINTPREPARE & uses): + Don't change print_depth in PRINTPREPARE; + those callers for which it matters now do it themselves. + + *print.c (print): + Do QUIT; at the beginning. Also in string and symbol loops. + + * window.c (set_window_{height,width}): + In args to recursive calls, use XINT, not XFASTINT. + Perhaps a "too small" window could have negative size. + + * window.c (change_window_height): + Fix calls to sizefun and setsizefun to dereference first. + + * window.c (save_window_restore): + Make it return a Lisp_Object. + + * fns.c (concat & callers): + New arg last_special which if non-0 says don't copy last arg. + Only Fappend supplies it as nonzero. + + * keyboard.c (Fsuspend_emacs): + Take already-read input and stuff it. + + * fileio.c (Ffile_directory_p, Ffile_modes): + Remove final slash from file name before doing stat. + In 4.2, final slash can cause wrong result + if file is read-protected. + +1985-10-22 Richard Mlynarik (mly at prep) + + * eval.c (Fcondition_case): + Add some error-checks to condition-case; + prevent core-dump when handler list is illegal. + + * keyboard.c (cmd_error): + Do the file-error hack for conditions including file-error, + not just file-error itself. + + * callint.c (Fcall_interactively): + Quotify car of command-history in (interactive ) case + New function quotify_args to do the work. + + * fns.c (Fnconc): + typo: wrong_type_arg called with Flistp, not Qlistp + +1985-10-22 Richard M. Stallman (rms at mit-prep) + + * process.c (Fset_process_buffer, Fstart_process): + Allow a process's buffer to be nil. + +1985-10-21 Richard M. Stallman (rms at mit-prep) + + * window.c (Fscroll_{left,right}): + Default arg is now window width minus 2. + + * search.c (Freplace_match): + If not literal, make \ always an escape. + Thus two \'s are needed for one literal one. + + * data.c (wrong_type_argument): + Eliminate third arg from function and its explicit callers. + + * window.c (Fpos_visible_in_window_p): + Provide missing tab_offset arg to compute_motion. + + * xdisp.c (init_xdisp): + Provide missing 3rd arg to set_window_height. + + * fileio.c (e_write): + Make it really return -1 if write doesn't write everything. + + * data.c (Fsymbol_{function,value}): + Replace Qvoid_symbol condition with two conditions + Qvoid_{variable,function}. No longer pass boundp or fboundp + as part of the extra info, since would be redundant. + +1985-10-18 Richard M. Stallman (rms at mit-prep) + + * editfns.c (Fformat): + Remove limit on length of output. + + * doprnt.c (doprnt): + Rearrange so can handle %2s, etc. + +1985-10-17 Richard M. Stallman (rms at mit-prep) + + * process.c: + Define sys_siglist for 4.1, which doesn't provide one. + Use new flag HAVE_PTYS to enable compilation of `pty' + and of some code in `create_process'. + Flist_processes: omit unused third arg to Findent_to. + create_process: Omit some code for ptys unless HAVE_PTYS. + Provide 4.1 alternatives for sigsetmask. + wait_reading_process_input: + If not HAVE_TIMEVAL, provide alternative code using ints. + Handle failure of FIONREAD. + send_process_trap: + In 4.1, release SIGPIPE and SIGALRM. + sig_process: check current_group for nil or not, + rather than 0 or not. + count_active_processes: get rid of arg `buffer' which was unused. + child_sig: strange hacks with dead_pid for 4.1. + Hold and release SIGCHLD in 4.1. + Do not call deactivate_process in 4.1 (puzzles me). + + * sysdep.c: + Omit fcntl.h under 4.1. + get_input_pending: return 0 if input not a tty. + discard_terminal_input: do nothing if batch mode. + stuff_char: err instead of aborting on system V. + init_baud_rate: always set ospeed = 0 if batch mode. + InitDsp: turn ANYP on rather than off. Make lmode global. + In 4.1, turn on LINTRUP if interrupt_input. + child_setup_tty: in 4.1, clear LINTRUP in the child. + tabs_safe_p: always say tabs are safe if batch mode. + RstDsp: In 4.1, turn off LINTRUP if interrupt_input. + setpriority: define as noop for 4.1. + request_sigio: for 4.1, turn on LINTRUP. + unrequest_sigio: for 4.1, turn off LINTRUP. + + * read.c (readevalloop, read_list, read_vector, intern): + Dereference expressions of type pointer-to-function before calling. + + * read.c (hash_string): + Use unsigned char, not char, for strings. + + * read.c (map_obarray): + Expect function to be mapped to return int, not Lisp_Object. + + * undo.c: + Include lisp.h before undo.h. + + * unexec.c: + Introduce ADDR_CORRECT. Apply it to supplied values + for bss_start and data_start, and to values returned by sbrk. + Use NBPG instead of getpagesize () in BSD4.1. + Use char *'s for ptr and end in copy_text_and_data. + + * print.c (print): + Remove unused fourth arg from recursive calls. + + * minibuf.c (Fminibuffer_complete{,_and_exit}): + Copy function value into variable before switching on it. + (Direct way loses on orion). + + * s-*.h: + Define HAVE_SELECT and NONSYSTEM_DIR_LIBRARY where appropriate. + Reorder the flags, and make all the s- files look parallel. + + * keyboard.c: + Define new constructs sigfree, sigholdx, sigblockx, + sigunblockx, sigpausex which do one thing in 4.1 and another in + 4.2. In 4.1, use SIGTINT as if it were SIGIO. + + * keyboard.c (getchar, interrupt_signal): + Don't omit the arg DoDsp or Fdo_auto_save wants. + + * keyboard.c: (echo_them, input_available_signal): + Put in hair for 4.1 for interfacing with select emulation. + + * keyboard.c (top_level_1): + * macro.c (pop_kbd_macro): + Must have type Lisp_Object, and return a valid one. + + * keymap.c (describe_{vector,alist}): + Expect elt_describer to return int, not Lisp_Object. + Dereference that variable before calling it. + + * keymap.c (apropos1): + Must have type Lisp_Object, and return a valid one. + + * syntax.c (describe_syntax): + Make it return type int, and don't bother about what int. + + * search.c (search_buffer): + If fwd, require match to end not beyond search limit. + +1985-10-16 Richard M. Stallman (rms at mit-prep) + + * alloc.c: + New vars data-bytes-{used,free} that ref malloc_sbrk{,un}used. + + * editfns.c (save_{excursion,restriction}_restore): + Must have type Lisp_Object, and return a valid one. + + * editfns.c (format1): + Handle NO_ARG_ARRAY case. + + * eval.c (internal_catch, internal_condition_case, unbind_to): + Dereference variables of type pointer-to-function before calling. + + * eval.c (Fautoload, call1, call2, call3): + If NO_ARG_ARRAY, don't assume that consecutive args can be + treated as an array. Copy them into another array. + + * fileio.c (barf_or_query_if_file_exists): + Fix paren error. + + * fileio.c (Fcopy_file): + Use chmod instead of fchmod on 4.1bsd as well as usg. + + * fileio.c (Frename_file, Fmake_symbolic_link, Fadd_name_to_file): + If NO_ARG_ARRAY, don't assume that consecutive args can be + treated as an array. Copy them into another array. + + * fileio.c (Frename_file): + In 4.1bsd, use link and unlink, since don't have rename. + + * fileio.c (Fmake_symbolic_link): + Eliminate this if S_IFLNK not defined. + + * fileio.c (Ffile_symlink_p): + Always return nil if S_IFLNK not defined. + + * fileio.c (auto_save_error, auto_save_1): + Must have type Lisp_Object, must really return something. + + * fns.c (concat2, nconc2): + If NO_ARG_ARRAY, don't assume that consecutive args can be + treated as an array. Copy them into another array. + + * fns.c (Frequire): + Was calling Fload with only 1 arg. Pass 2 extra nil's. + + * fns.c (Fload_average): + If FIXUP_KERNEL_SYMBOL_ADDR is defined, must detect + if address of _avenrun is not abs, and fix it up if so. + + * indent.c (position_indentation): + Add parens in nested ?...: for clarity. + + * sysdep.c: + Add opendir, closedir and readdir, if NONSYSTEM_DIR_LIBRARY. + + * unexec.c: + Add some definitions for case of USG and not COFF. + These define the BSD names for hdr components in terms of pre-BSD names. + + * sysdep.c, editfns.c, s-*.c: + Use (new) get_system_name (defined in sysdep) to get system name + in init_editfns. No more need for SYSTEM_NAME and + SYSTEM_NAME_DECL. + + * sysdep.c (select): + Use not HAVE_SELECT as condition to define this. + + * keyboard.c: + Get error instead of croaking if want to send SIGTSTP. + Get compile time error in gobble_input if SIGIO is not defined. + + * emacs.c: + Always include types.h. Omit time.h and resource.h in 4.1. + + * dispnew.c (Fsit_for, Fsleep_for): + Rearrange conditionals to use only HAVE_TIMEVAL and (new) HAVE_SELECT. + + * dired.c: + Flush NO_DIR_LIBRARY case. If NONSYSTEM_DIR_LIBRARY, + use "ndir.h" which will come with Emacs. + + * alloca.s, crt0.c: + Check m68000 flag only if m68k flag is not defined. + + * fileio.c (Finsert_file_contents): + Set up for this to be undone. + +1985-10-15 Richard M. Stallman (rms at mit-prep) + + * syntax.c (Fmodify_syntax_entry): + Use %s rather than %c in interactive string. + + * callint.c (Fcall_interactively): + For arg read with code `c', convert as char to a string + for use in prompting for future args. + + * keymap.c (describe_{map,map_tree,vector,alist}): + All take additional arg PARTIAL which, if nonzero, + means check each definition for a `suppress-keymap' + property and ignore it if property non-nil. + + * keymap.c (describe_bindings): + * doc.c (Fsubstitute_command_keys): + * syntax.c (describe_syntax): + Pass zero or 1 as PARTIAL arg to those functions. + + * filelock.c: + Use PATH_SUPERLOCK as name of superlock file, + and PATH_LOCK as name of lock directory. + * paths.h, paths.h.dist: + Define those two. + + * callproc.c (Fcall_process): + Always try opening program before forking. + +1985-10-14 Richard M. Stallman (rms at mit-prep) + + * Makefile: + Now it takes ymakefile, passes it thru cpp to get xmakefile, + then runs `make' on that. ymakefile is the old Makefile. + All comments now are within /*...*/, and #ifdef's are used + to select the flags and libraries to be used. + + * s-*.h: + Define new macro SYSTEM_NAME_DECL which does any global + declarations needed to prepare for using SYSTEM_NAME. + The flag ASSEMBLY is no longer needed to prevent s-*.h + from doing anything besides defining macros. + + * editfns.c: + Use SYSTEM_NAME_DECL. + + * alloca.s: + No longer need to define ASSEMBLY. + + * eval.c (apply_lambda, funcall_lambda): + Flush "e support. + +1985-10-11 Richard M. Stallman (rms at mit-prep) + + * fileio.c (Frename_file): + If fails due to moving across devices, copy and delete old file. + + * keymap.c (insert_first_line): + If the first line contains `\[', pass the string thru + substitute-command-keys and try again. + +1985-10-10 Richard M. Stallman (rms at mit-prep) + + * Makefile: + Define new parameter LDFLAGS, and make more use of LIBES. + Have new code to define their values for various systems. + + * sysdep.c, s-unipl5.2.h: + Define MAXPATHLEN here if not def by system. + Do not define it in s- files. + + * keyboard.c (interrupt_signal): + In system V, cannot actually stop, but do offer to auto-save + or abort. + + * dired.c: + Do not include dir.h if including ndir.h. + +1985-10-09 Richard M. Stallman (rms at mit-prep) + + * fileio.c (Fsubstitute_in_command_name): + Simplify /~ and // if produced as result of variable substitution. + +1985-10-08 Richard M. Stallman (rms at mit-prep) + + * fns.c (concat): + Failed to initialize data type of `len'. + + * editfns.c (Fregion_to_string): + Delete it. Put it in mlsupport.el. + + * search.c (Fregion_around_match): + Delete it. Put it in mlsupport.el. + + * syntax.c (scan_lists): + Fix bug of ignoring the character before a comment-start pair + when parsing backward. Also don't consider /*/ a complete comment. + + * dispnew.c (Fsit_for): + Use simulator for select, if not HAVE_TIMEVAL. + * dispnew.c (ChangeScreenSize): + Pass zero as third arg to set_window_{height,width}. + * dispnew.c (update_screen): + Detect failure of ioctl TIOCOUTQ. + * dispnew.c: + Don't use fcntl.h; appears not to be needed. + + * dired.c: + Handle fact that 4.1 has no symbolic links, just like sysV: + Make conditionals check S_IFLNK rather than USG. + Also, check new flag NONSYSTEM_DIR_LIBRARY which 4.1 will set. + + * cm.c (cmcostinit, cmgoto, cmputc): + Make these the names of the functions that do the work + instead of macros going through variables that + might fail to be set up. + +1985-10-07 Richard Mlynarik (mly at mit-prep) + + * print.c (print) + No need to escape symbols + and - if not followed by digits + +1985-10-07 Richard M. Stallman (rms at mit-prep) + + * filelock.c: + New file containing stuff to handle locking files while + they are being edited. + + * buffer.c (Fset_buffer_modified_p): + Lock or unlock the visited file accordingly. + + * buffer.c (Fdelete_buffer_internal) + Unlock the visited file. + + * fileio.c (Fread_file_contents): + Mark buffer as modified using modify_buffer. + If visiting, unlock old and new visited files. + + * fileio.c (Fwrite_region): + Lock file to begin with; unlock on error or when done. + + * undo.c (Fundo_more): + Unlock file if undoing makes buffer unmodified. + +1985-10-06 Richard M. Stallman (rms at mit-prep) + + * dired.c (file_name_completions): + If looking for list of all completions, don't ignore any. + Do this by starting with passcount = 1. + +1985-10-05 Richard M. Stallman (rms at mit-prep) + + * xdisp.c (message): + Use doprnt instead of sprintf: prevent overflowing buf. + + * xdisp.c (decode_mode_spec): + Protect against overflowing tbuf even if strings are clobbered + and have negative length. + +1985-10-02 Richard M. Stallman (rms at mit-prep) + + * insdel.c (delete_range): + Must immediately relocate markers into deleted text. + Otherwise if an insertion follows they may end up pointing + into the middle of it. + +1985-10-01 Richard M. Stallman (rms at mit-prep) + + * dispnew.c, xdisp.c, minibuf.c: + cursX and cursY are now origin zero. + last_point_x and last_point_y of a window, likewise. + + * term.c (set_scroll_region, term_init, calculate_costs): + New "cS" string, in TS_set_scroll_region_1, + accepts four params suitable for handling aaa's \E[...p cmd. + +1985-09-30 Richard M. Stallman (rms at mit-prep) + + * xdisp.c (redisplay_window): + Don't clobber the point value of the buffer + being redisplayed. + Make sure the displayed point value is inside + the buffer bounds; correct it if not. + + * term.c (reassert_line_highlight): + Define reassert_line_highlight_hook, and call it. + + * dispnew.c (direct_output_for_self_insert): + Call reassert_line_highlight. + +1985-09-29 Richard M. Stallman (rms at mit-prep) + + * print.c (print): + Fix one-off bug in Vprint_length; one element too few + used to be printed. + + * fileio.c (Fread_file_name_internal): + Avoid error when spec'd name has no slashes. + +1985-09-28 Richard M. Stallman (rms at mit-prep) + + * term.c (clear_to_end, clear_screen): + Set cleared lines to the background highlighting state. + + * read.c (read1): + Don't ignore pure doc strings once DOCSTR already parsed. + + * read.c (readevalloop & callers): + Eliminate delayflag feature. + + * eval.c (do_autoload): + Set up unwind-protect un_autoload and bind + Vautoload_queue non-nil. This will undo all defuns and + provides if the file does not finish loading. + + * data.c (Fset): + If Vautoload_queue non-nil, record function and old definition + by consing onto Vautoload_qeueue. + + * fns.c (Fprovide): + If Vautoload_queue is non-nil, record old value of Vfeatures. + +1985-09-27 Richard M. Stallman (rms at mit-prep) + + * abbrev.c (Fdefine_global_abbrev, Fdefine_mode_abbrev): + Convert name to lower case before defining. + (Since expansion always does that too.) + + * buffer.c (init_buffer): + Don't add / to end of wd if it ends in / already. + * buffer.c (init_buffer_once): + Add variable `tem'. Don't call Fcurrent_buffer. + +1985-09-26 Richard M. Stallman (rms at mit-prep) + + * fileio.c (Fexpand_file_name): + Discard through any slash that precedes a tilde. + +1985-09-20 Richard M. Stallman (rms at mit-prep) + + * fns.c (concat): + In the case of append, don't copy or test the last arg. + +1985-09-19 Richard M. Stallman (rms at mit-prep) + + * keyboard.c (command_loop_1): + If minibuffer and echo area both in use, + wait 2 sec and redraw minibuffer. + + * keyboard.c (cmd_error): + Remove similar feature for errors only. + + * read.c (readevalloop and callers): + Don't eval any forms until all forms read. + + * dispnew.c (scrolling): + Postpone fixup of free_at_end_vpos + until unchanged_at_bottom is set up. + + * everywhere: + Remove many variables not really used. + + * process.c (count_active_processes): + Fix garbage code to ignore, correctly, + stopped or dead processes. + +1985-09-17 Richard M. Stallman (rms at mit-prep) + + * Don't use strings.h (not all Unix versions have it). + Declare index explicitly where needed. + + * sysdep.c: + Define select, for 4.1. + + * s-*.h, sysdep.c: + New flag BSTRING says system has bcopy, etc., functions. + If not, define them in sysdep.c. + + * buffer.c: + Define MAXPATHLEN if system does not. + Pass two args to Fnext_window, as it expects. + + * abbrev.c (Fdefine_global_abbrev, Fdefine_local_abbrev): + Always pass Fdefine_abbrev five args. + + * term.c (write_chars): + Clear error flag of stdout to recover from 4.2 kernel bug. + + * unexec.c (make_hdr): + Remove sun data_start rounding change: round down again. + +1985-09-13 Richard M. Stallman (rms at mit-prep) + + * minibuf.c (minibuf_completion_help_1): + Always indent at least one space between the two function names on + a line. + +1985-09-12 Richard M. Stallman (rms at mit-prep) + + * syntax.h, syntax.c: + Define new syntax class Spunct, for punctuation. + Acts like whitespace in word and list parsing. + Define all non-whitespace that used to be Swhitespace as + being punctuation. + +1985-09-11 Richard M. Stallman (rms at mit-prep) + + * dired.c (file_name_completions): + Fix bug matching implicit slash after name of dir + against an implicit slash in bestmatch. + +1985-09-10 Richard M. Stallman (rms at mit-prep) + + * cmds.c (Fnewline): + Barf immediately if buffer read only. + + * doc.c (Fsubstitute_command_keys): + If string contains \{VAR}, get value of VAR and describe as + keymap. + + * keymap.c (describe_map_tree): + New function to describe a map and all maps reachable from it. + + * keymap.c (describe_bindings): + Describe local bindings first. + + * abbrev.c (describe_abbrev): + Direct final newline to same stream as everything else. + +1985-09-08 Richard M. Stallman (rms at mit-prep) + + * editfns.c, dispnew.c: + Definition of baud-rate moved to dispnew.c. + + * editfns.c: + Functions point{-marker}, point-max{-marker} and + point-min{-marker} defined. Old dot- names still exist + as aliases. + + * Pervasive: + "dot" changed to "point" in just about everything, + including names that contain it, such as SetDot. + + * callint.c (Fcall_interactively): + Make elements of command-history be expressions + by quoting each arg that is not self-evaluating. + + * eval.c (Fsignal, find_handler_clause): + If debugger returns, return its value from Fsignal. + + * All calls to Fsignal: + Do something reasonable if Fsignal returns. + Often, just return what it returned. + `error' still never returns to its caller. + + * Signalling Qargs_out_of_range: + Use new functions args_out_of_range and args_out_of_range_3 + (in data.c) to do this. + +1985-09-07 Richard M. Stallman (rms at mit-prep) + + * search.c (compile_pattern & callers): + Must recompile even the same string if translate table is + different. Pass translate table as arg to compile_pattern. + + * buffer.c (switch-to-buffer-other-window): + Eliminate this name; it's now defined in files.el. + + * window.c (Fget_lru_window): + Give preference to full-width windows. + * window.c (display_buffer): + only split full-width windows. + + * search.c (Fstring_match): + Set the search_regs, like buffer searching commands. + +1985-09-06 Richard M. Stallman (rms at mit-prep) + + * editfns.c (Finsert_before_markers): + User interface to insert_before_markers. + + * insdel.c (insert_before_markers): + New function that inserts and moves all markers pointing at + insertion point to point after the inserted text. + + * sysdep.c (wait_for_termination): + Cause a SIGCHLD just in case, when termination is detected. + + * unexec.c: + Round data-end-address on Sun up, not down, to segment bdry. + + * crt0.c, alloca.s, m-sun2.h: + For sun 2, call hack_sky from _start. hack_sky is new, in alloca.s. + m-sun2.h is a new file, which defines the symbol sun2. + + * buffer.c (Fswitch_to_buffer): + Second arg non-nil means don't record buffer on selection history. + + * syntax.c (scan_sexps_forward): + Stop properly if end of range comes after a char quote within a string. + +1985-09-05 Richard M. Stallman (rms at mit-prep) + + * fileio.c (Fread_file_name): + Abbreviate the default dir using ~ if possible. + + * search.c (search_buffer): + Notice when re_search_2 returns "failure", in backward search. + + * term.c (write_chars): + When using TS_repeat, the count was wrong, and len was not updated. + +1985-09-05 Richard M. Stallman (rms at mit-prep) + + * process.c (handle_process_output): + Preserve logical ordering of input and output when there is type ahead. + +1985-09-05 Richard M. Stallman (rms at mit-prep) + + * macros.c: + Define executing-kbd-macro as alias for executing-macro. + Eventually old name will be flushed. + +1985-09-04 Richard M. Stallman (rms at mit-prep) + + * keyboard.c (Fsuspend_emacs): + Put back `kill', accidentally deleted. + + * buffer.c: define switch-to-buffer-other-window = pop-to-buffer. + + * dispnew.c (update_line): + Simplify handling of nlen == screen_width case + to avoid calling write_chars on -1 chars. + +1985-09-02 Richard M. Stallman (rms at mit-prep) + + * term.c ((re)set_terminal_modes): + Use the correct hook in each case. + (topos): define topos_hook. + + * search.c (search_buffer): + In backwards regexp search, use new `mstop' to re_search_2 + to avoid matches that extend forward past starting point. + + * editfns.c (init_editfns): + Change #endif to #else; make AMPERSAND_FULL_NAME conditionals right. + + * print.c (print): + Define variable print-length, and refer to it as nec. + +1985-08-31 Richard Mlynarik (mly at mit-prep) + + * editfns.c (init_editfns) + Try to improve AMPERSAND_FULL_NAME frobbing a little. + + * eval.c, callint.c + Define function user-variable-p, which returns t if first char of + var doc string is "*". Make (interactive "v") use it. + +1985-08-31 Richard M. Stallman (rms at mit-prep) + + * syntax.c (scan_words): + Always clear immediate_quit on exit. + +1985-08-30 Richard M. Stallman (rms at mit-prep) + + * process.c (handle_process_output): + Don't use the name `howmany' to avoid possible conflict + with system header files. + + * xdisp.c (decode_mode_spec): + Never try to output 100% -- output 99% instead. + +1985-08-11 Richard Mlynarik (mly at mit-prep) + + * m-sun.h + Don't define SUN -- "sun" already exists. + Define COMPILER_REGISTER_BUG and use it in a few places in the + source which used to be conditionalized on SUN + + * config.h, config.h.dist + Increase pure size (sigh) + + * search.c (compile_pattern): + Signal an invalid-regexp error if lose. + +1985-08-09 Richard Mlynarik (mly at mit-prep) + + * term.c (clear_end_of_line) + Calling cmplus before chars output when terminals lacks clreol + (crl@newton.purdue.edu) + +1985-08-06 Richard Mlynarik (mly at mit-prep) + + * macros.c (end-kdb-macro): + Barf if not defining a macro. + + * doc.c, keymap.c + Interactive for Fdocumentation declaration was wrong, and has been + deleted. (describe-function is what people should be using) + + Make where_is_in_buffer take a firstonly arg to speed up + substitute-command-keys. Make it really use its buf argument. + (crl@newton.purdue.edu) + + * emacs.c (kill-emacs): + If noninteractive and arg is fixnum, return arg as program return + code by exit(arg) + + * search.c (Fsearch_string): + Wasn't initializing translate table based on case-fold-search + + * process.c (deactivate_process): + Fix timing screw if SIGCHLD received in middle of deactivation + (by silogic!eggert@ucla-cs.arpa) + +1985-08-05 Richard Mlynarik (mly at mit-prep) + + * callint.c + Improve doc of {current-}prefix-arg + + * minibuf.c (Fread_from_minibuffer): + Thought it accepted maximum of 3 args, not 4. + + * sysdep.c (InitDsp): + When you are (sigh) using CBREAK and flow control, C-@ + is botched. Some tables are being initialized to zero (i.e. C-@) + when they should be initialized to -1. More debatably, LDECCTQ is + needed for real, bad flow control. + -- silogic!eggert@ucla-cs.arpa + +1985-07-21 Richard Mlynarik (mly at mit-prep) + + * sysdep.c (tabs_safe_p): + gtty call was missing fd arg. + +1985-07-15 Richard M. Stallman (rms at mit-prep) + + * xdisp.c, minibuf.c, fileio.c: + Add * to some variables' doc, remove from others. + + * term.c (ins_del_lines): + Always go to real hpos 0 before insert or delete. + + * buffer.c (init_buffer_once): + Pass correct data type to Fbuffer_flush_undo. + + * term.c (write_standout_marker): + Don't output `se' if it's the same as `so'. + + * window.c (set_window_height): + Pass correct data type (int) when call self at end. + Similar in set_window_width. + +1985-07-14 Richard M. Stallman (rms at mit-prep) + + * editfns.c (subst-char-in-region): + * casefiddle.c (operate_on_region): + Don't call modify_region before recording the changes. + + * editfns.c (Fgoto_char): + interactively read arg using n, not p. + + * undo.c (RecordChange1): + A local and an arg were both named p. Change arg to bufp. + Fixed bug in undoing the undoing of RecordChange (such as Meta-l). + + * minibuf.c (read_minibuf): + Postpone incrementing MinibufDepth until point where + can no longer quit before setting up to decrement it on quits. + + * fns.c (Fyes_or_no_p): + Use Fsleep_for rather than sleep, to allow immediate quit. + + * abbrev.c (expand_abbrev): + Handle case of scan_words returning 0. + + * casefiddle.c (operate_on_word): + Handle case of scan_words returning 0. + +1985-07-12 Richard M. Stallman (rms at mit-prep) + + * xdisp.c (display_string): + Regard display chars as unsigned chars. + +1985-07-12 Richard Mlynarik (mly at mit-prep) + + * callint.c + Stuff was being added to command-history even if aborted out + +1985-07-11 Richard M. Stallman (rms at mit-prep) + + * process.c: delete-exited-processes is boolean. + + * term.c: + chars_wasted is 0 if no `so' or `se' string; + 0100 | nchars if there is a `so' or `se' string. + Should fix lossage with :sg#0: + +1985-07-10 Richard M. Stallman (rms at mit-prep) + + * keyboard.c: + Rename waiting to waiting_for_input, no longer static. + In get_char, be sure to clear alarm and zero input_available_clear_word + when thrown to from quit_throw_to_get_char. + + * eval.c (Fsignal): + Crash if waiting_for_input. + + * process.c (create_process): + Set up alarm signal handler before requesting alarm. + +1985-07-09 Richard M. Stallman (rms at mit-prep) + + * process.c (create_process): + Don't let child change Emacs's values of forkin and forkout. + Use a timer interrupt to unhang `close (forkin)' + since it gets wedged if the child exited already. + +1985-07-08 Richard M. Stallman (rms at mit-prep) + + * xdisp.c (redisplay_window): + It was returning garbage. + + * keyboard.c, sysdep.c: + Make stuff_char work correctly assuming its arg + is the character to stuff, and always pass it the character. + +1985-07-07 Richard M. Stallman (rms at mit-prep) + + * dispnew.c, cm.h, sysdep.c: + ospeed must be short, not int. + + * dispnew.c (update_line): + Protect against old being null in call to change_line_highlight. + + * dispnew.c (make_display_lines): + Take account of fact that `free' clobbers the area freed. + + * buffer.c (SefBfp): + Don't check c->major_mode if c is zero. + + * lisp.h, m-*.h: + EXPLICIT_SIGN_EXTEND controls whether to define XINT using shifts. + +1985-07-05 Richard M. Stallman (rms at mit-prep) + + * cmds.c (newline): + Make it REALLY do auto-filling. + + * term.c (term_init): + Turn on must_write_spaces for Concepts. + Append \E^G! (i/d char within line) to `ti' string for Concepts. + + * dispnew.c (update_line): + If need to do clear-eol but text reaches to right margin, + clear before outputting the last character of text. + + * cm.h, term.c: + Define Wcm.cm_losewrap, which says that reaching right margin + has undefined results. Turn this on for supdup terminals. + +1985-07-04 Richard M. Stallman (rms at mit-prep) + + * dispnew.c (update_line): + If want to insert chars early in line and delete chars late in line, + do the deletion first. + + * dispnew.c (update_screen): + Round outq down, not to nearest second, to get sleep time. + +1985-07-03 Richard M. Stallman (rms at mit-prep) + + * term.c (term_init): + Was storing "dc" string in wrong place. + + * term.c (ins_del_lines): + On telerays, indicate that cursor is left in column 0. + + * dispnew.c (line_hash_code): + Make line be null-terminated. + + * dispnew.c (direct_output_for_insert): + Make line remain null-terminated. + +1985-07-02 Richard M. Stallman,,, (rms at mit-prep) + + * window.c (window_loop, case 5): + Change < to > so get-largest-window gets largest, not smallest. + + * term.c (ins_del_line): + Don't pass negative length arg to bzero, for chars_wasted. + + * editfns.c (init_editfns): + In user full name, discard stuff starting with first comma if any. + Change names of static structure: now user_real_name and + user_full_name. + Clean up AMPERSAND_FULL_NAME code a little. + +1985-07-01 Richard M. Stallman (rms at mit-prep) + + * minibuf.c: (minibuffer-complete-word): + Fix case of Space in filename, where front of minibuffer + gets deleted by completion. + + * Gross rewrite of display code. No Gosling code left. + Files fixedpoint.* and display.* and Trm*.* flushed. + New files term.c, scroll.c, termhooks.h, termopts.h, + and termchar.h. Many changes in dispnew.c. + + * keyboard.c: make stop_character not static. + +1985-06-26 Richard M. Stallman (rms at mit-prep) + + * xdisp.c (try_window_id): + If C-k is done at end of next-to-last line, + this fn updates window_end_vpos and cannot leave + window_end_pos nonnegative (it is zero, in fact). + If display is preempted before lines are output, + this is inconsistent. Fix by setting + blank_end_of_window to nonzero. + +1985-06-25 Richard M. Stallman (rms at mit-prep) + + * cmds.c (Fnewline): + Call the auto fill hook if appropriate. + + * xdisp.c (try_window_id): + If dot is found by compute_motion after xp, record that + permanently. If display_text_line sets dot position wrong + (case where like is killed, dot is at eob and that line + is not displayed), detect and set it again in final compute_motion. + + * display.c, dispnew.c, sysdep.c, xdisp.c: + Rewrite UpdateScreen (now update_screen), + PrintM (now print_scrolling) and init_display; + all vestiges of Gosling code gone. They are now in dispnew.c. + Some changes in how screen_garbaged is handled; + work now done in Fredraw_display. + Minor changes in InitDsp and in minibuf. + + * TrmAmb.c flushed. + * Trm*.c: tt.t_init routine now passed no arguments. + +1985-06-23 Richard M. Stallman (rms at mit-prep) + + * display.c: include sys/ioctl.h so conditionals work right. + +1985-06-22 Richard M. Stallman (rms at mit-prep) + + * doprnt.c: Flush extra increment of fmt for %%. + + * search.c (replace-match): + Test of prevc was backwards in determining value for case_action. + + * TrmTERM.h (wipeline): + Update curY and curX when ESC S is sent to Teleray. + * TrmTERM.h (TrmTERM): + Turn off use of LF on Teleray. + + * process.c (pty): Don't turn on FIONBIO. + +1985-06-18 Richard M. Stallman (rms at mit-prep) + + * process.c (create_process): + Make pty terminal the controlling terminal of the child. + + * fileio.c: Replace %1 with %s in various interactive strings. + I wonder why they said "%1", and whether that ever worked. + + * process.c (change_msgs): + Advance dot if at dot is at end; otherwise don't change dot. + + * search.c (replace-match): + Fix bug in case preservation by initializing `last' for final loop. + +1985-06-17 Richard M. Stallman (rms at mit-prep) + + * sysdep.c: New file containing interfaces to system-dependent + kernel entries and libraries. + + * aux.c, dsp.c: Files eliminated. + + * m-dual68.h: m- file for Duals running unisoft port. + + * s-uniplus5.0.h: s- file for unisoft port of sys V rel 0. + * s-uniplus5.2.h: s- file for unisoft port of sys V rel 2. + + * syntax.c: Eliminate find-line-comment and find-line-comment-body. + Lisp code should use comment-start-skip to find comments. + +1985-06-15 Richard M. Stallman (rms at mit-prep) + + * TrmTERM.c: + Suppress use of ^M on telerays. Know that ins line + leaves cursor in column 0 on telerays. + Don't decrement width for :am: terminals; this is an experiment. + +1985-06-14 Richard M. Stallman (rms at mit-prep) + + * TrmTERM.c (TrmTERM): + Override termcap's so and sg for telerays (xt is set). + + * display.c (hashline): + Don't ignore trailing spaces if tt.t_needspaces is set. + May fix C100 lossage. + + * Various files: minor changes for system V. + + * disp_extern.h: rename as dispextern.h. + + * commands.h (INTERACTIVE): + Be false in batch mode. + + * aux.c: + New file, containing system-dependent subroutines. + + * keyboard.c: + Use new subroutines get_input_pending, stuff_char, + discard_tty_input, in aux.c for now. + + * display.c (term_init): + Use new subroutine init_baud_rate; avoid direct use of gtty. + + * callproc.c: + Use new subroutines wait_without_blocking, setpgrp_of_tty, + child_setup_tty, set_exclusive_use. + + * keyboard.c (EchoThem): + Process quits only if `waiting' is set. + +1985-06-12 Richard Mlynarik (mly at mit-prep) + + * minibuf.c, callint.c, read.c, mocklisp.c + New function read-from-minibuffer does all you could ever want. + read-minibuffer, eval-minibuffer, read-string take second optional + initial-contents arg. read-input now a synonym for read-string. + + * keymap.c, callint.c, minibuf.c, fns.c, commands.h + Rename MinbufLocalMap to Vminibuffer_local_map, etc + Rename minibuf-local-{,-ns,-completion,must-match}map, + and DefLispVar them (document even!) + => New lisp variables minibuffer-local-map, minibuffer-local-ns-map, + minibuffer-local-completion-map, minibuffer-local-must-match-map. + +1985-06-12 Richard M. Stallman (rms at mit-prep) + + * keymap.c: + Supply missing defsubr of keymapp. + +1985-06-11 Richard M. Stallman (rms at mit-prep) + + * callint.c, editfns.c, doprnt.c: + Use new function doprnt instead of _doprnt. + +1985-06-10 Richard M. Stallman (rms at mit-prep) + + * TrmC100.c: Do termscript output. + +1985-06-10 Richard Mlynarik (mly at mit-prep) + + * print.c, lisp.h, buffer.c + New function prin1-to-string. + (Needs an initialization done in buffer.c) + +1985-06-10 Richard M. Stallman (rms at mit-prep) + + * TrmTERM.c: + Fix interaction of XTflag with SGnum (telerays): + Don't put SEstr on most lines; special hair + to erase SOstr when necessary. + + * keyboard.c: + Clear Vquit_flag in read_key_sequence, not in get_char. + This makes it possible to quit out of y-or-n-p again. + +1985-06-10 Richard Mlynarik (mly at mit-prep) + + * dired.c (file_name_completion) + Check Vquit_flag each time around and quit if requested. + +1985-06-10 Richard M. Stallman (rms at mit-prep) + + * minibuf.c: Use Tab for completion, not ESC. + + * unexec.c: round bss_start up to page bndry. + +1985-06-09 Richard M. Stallman (rms at mit-prep) + + * keyboard.c (kbd_buffer_store_char): + Call interrupt_signal for every C-g, even while waiting. + + * keyboard.c (input_available_signal): + If C-g seen, ignore rest of chars already available. + + * keyboard.c (quit_throw_to_get_char): + Don't clear Vquit_flag. Let Lisp program see quit-flag set. + +1985-06-08 Richard M. Stallman (rms at mit-prep) + + * various files: + Make functions called by internal_with_output_to_temp_window + all return Lisp_Object. + + * bytecode.c (case Bdup): + PUSH (TOP) loses due to invalid assumption about where + autoincrement gets done. + + * read.c (read_vector): + Pass make_pure_vector an int, as it expects, not a Lisp_Object. + +1985-06-07 Richard Mlynarik (mly at mit-prep) + + * buffer.c + documentation fixes + +1985-06-07 Richard M. Stallman (rms at mit-prep) + + * TrmTERM.c: + HLflags is now a three-way flag: 1 => line has SOstr, + 2 => line has SEstr, 0 => line has neither. + State 0 results from clearing screen, ins/del line. + + * dispnew.c (preserve_other_columns): + If copying beginning of line from other window, + don't increase length of line beyond last column copied. + + * keyboard.c: + Eliminate `executing' flag. + Quit now always sets Vquit_flag; input code tests it. + +1985-06-06 Richard Mlynarik (mly at mit-prep) + + * doc.c (Fdocumentation): + Handle sparse keymaps (lists whose car is `keymap') + by way of canned string. + +1985-06-06 Richard M. Stallman (rms at mit-prep) + + * keyboard.c (kbd_buffer_get_char): + Keep doing gobble_input and waiting, until kbd_count becomes nonzero. + +1985-06-05 Richard M. Stallman (rms at mit-prep) + + * dired.c (file-name-completion, file-name-all-completions): + Make these functions share most of their code. + Use two passes: first try all filenames that don't end in an + "ignored extension" and, if that yields nothing, try all filenames. + + * doc.c (Fdocumentation): + Handle keyboard macros (symbols with strings as definitions) + with a canned string. + +1985-06-05 Richard Mlynarik (mly at mit-prep) + + * dired.c (file-name-completion) + Spazz comparing against completion-ignored-extensions (boole!eggert) + That was no spazz, that was a feature - rms. + +1985-06-05 K. Shane Hartman (shane at mit-prep) + + * cmds.c (end-of-line): Fix documentation. Claimed it moved to + beginning of line. + + * buffer.c (fill-column): Fix typo in documentation. + +1985-06-04 Richard M. Stallman (rms at mit-prep) + + * bytecode.c: + Make Bread_char check for quit before finishing. + A quit is likely to requested during the read_char. + +1985-06-04 Richard Mlynarik (mly at mit-prep) + + * dired.c (file-name-completion, file-name-all-completions) + Append "/" to names of directories. + +1985-06-04 K. Shane Hartman (shane at mit-prep) + + * minibuf.c (Vminibuffer_help_form): + Change the lisp name to be minibuffer-help-form rather than + Vminibuffer-help-form. + +1985-06-02 Richard M. Stallman (rms at mit-prep) + + * config.h, s-*.h: + Eliminate CBREAK_INPUT and FRONT_END_PROCESS; + INTERRUPT_INPUT just controls default for interrupt_input. + + * dsp.c, keyboard.c, xdisp.c: + Use variable interrupt_input rather than switch INTERRUPT_INPUT. + Don't change stopc/startc if flow_control is nonzero. + + * dsp.c, display.c: + Change OldTchars => old_tchars, etc. + Initialize new tchars from old tchars. + Move setting window to 0 from InitDsp to term_init. + + * dispnew.c (set-input-mode): + New function to set interrupt_input and flow_control. + + * read.c (read_escape): + \ followed by one or two digits unreads following char. + + * TrmTERM.c (flash): + If no bell defined, output C-g. + + * minibuf.c (read_minibuf, read_minibuf_unwind): + Define Vminibuffer_help_form. + Bind help_form to that inside minibuf. + + * callproc.c, doc.c: + Make Vexec_directory end in a slash. + + * process.c (wait_reading_process_input): + Remove debugging trap. It showed that the select had + returned, there was input available, it had not + been read by interrupt level but FASYNC was set. + (Kernel bug). + + * keyboard.c (kbd_buffer_get_char): + If wait_reading_process_input returns and kbd_count stil 0, + gobble the buffered input. + +1985-06-01 Richard M. Stallman (rms at mit-prep) + + * dispnew.c (sit-for): + Gobble any pending input before calling wait_reading_process_input. + + * process.c (wait_reading_process_input): + Dump core if `select' says input available and did not + already get a SIGIO interrupt for it. + + * emacs.c (main): + Detect -batch even when it's the only arg. + + * minibuf.c (read_minibuf): + Don't call UpdateScreen if in batch mode. + + * keyboard.c: + Use sigsetmask to prevent recursive SIGIO handling + rather than kill, as previous change caused + kbd_buffer_get_char to return -1 mysteriously. + Change kbd_buffer_get_char never to return -1; + kill emacs on eof in batch mode, abort on eof non-batch. + + * keyboard.c: + Eliminate dribble_count. fflush (dribble) after each char. + + * undo.c, undo.h: + Define Uunmod; record when buffer becomes "modified" + and clear out "modified" if undo past there. + + * undo.c (RecordDelete): + Correct the condition for combining with previous delete. + + * keyboard.c (kbd_buffer_get_char): + Actually cause SIGIO if have unread input. + + * display.c, TrmTERM.c: + Do fflush(termscript) in UpdateScreen, not in TrmTERM. + +1985-05-31 Richard M. Stallman (rms at mit-prep) + + * TrmVT100.c: Generate termscript output. + + * dsp.c: define request_sigio, unrequest_sigio. + + * xdisp.c (DoDsp): + Unrequest sigio on entry, rerequest on exit. + Thus, no interrupts during redisplay. + + * keyboard.c (detect_input_pending): + Check FIONREAD even if INTERRUPT_INPUT. + + * m-*.h: + Add macros LOAD_AVE_TYPE and LOAD_AVE_CVT + + * fns.c (load-average): Use those two. + Makes it work on suns. + + * keyboard.c (kbd_buffer_get_char): + #ifndef INTERRUPT_INPUT, always read at least 1 character. + +1985-05-30 Richard M. Stallman (rms at mit-prep) + + * display.c (UpdateScreen): + Allow preemption at beginning if already input avail. + + * keyboard.c (EchoKeys): + If 1st char is help-char, echo it specially verbosely. + + * keymap.c (access_keymap): + If nothing in keymap under specified character code, + try converting to lower case and look again. + + * data.c (listp, nlistp, eq, null): + Use EQ or NULL rather than old slow comparisons. + + * data.c (symbol-function, symbol-value): + Pass Qboundp or Qfboundp as extra info when signal void-symbol. + +1985-05-29 Richard M. Stallman (rms at mit-prep) + + * fileio.c (add-name-to-file): + If no query or error about new name existing, delete it + to avoid system error later. + + * buffer.c (generate-new-buffer): + Remove duplicate declaration of local var `name'. + + * Makefile: + Assume distribution contains paths.h.dist and config.h.dist. + Copy them into paths.h and config.h if those don't exist; + warn user if those exist but are older. + + * dispnew.c (Ding): + If -batch mode, just output ^G. + + * cm.c (mytgoto): + Eliminate "magic" treatment of \0 and \004. + Flush cmevalcost, cmput; use evalcost, put. + + * TrmTERM.c: Always set DontSend to zero. + + * alloca.s: + Add pyramid version of alloca, and _longjmp and _setjmp. + + * data.c, eval.c, fns.c, read.c, window.c: + To get around Pyramid C compiler bugs: + Eliminate many constructs return FOO = BAR; + Eliminate some cases of calling function computed + by conditional expression. + + * dired.c (directory-files): + Avoid making double slash if spec'd directory ends in slash. + + * callint.c (case 'b'): + Don't allow a minibuffer to be the default buffer. + +1985-05-28 Richard Mlynarik (mly at mit-prep) + + * minibuffer.c (read_minibuf) + Added variable enable-recursive-minibuffers + (enable_recursive_minibuffers) so that Real Men may confuse + themselves. (Some commands such as c-h f can also use it) (This + is not quite the right thing for commands to bind to read their + arguments since it enables arbitrary recursiveness, not just one + level to read args) + + * buffer.c + Wrote generate-new-buffer --- like gentemp for buffer names. + Rewrote create-file-buffer into lisp code in lisp/files.el + +1985-05-27 Richard M. Stallman (rms at mit-prep) + + * crt0.c: + Make each machine type use completely separate code. + Put in code for pyramid. + + * display.h, Trm.h, disp_extern.h: + Move InverseVideo to Trm.h, rename to inverse_video. + Rename VisibleBell to visible_bell. + Move ScreenLength and ScreenWidth to Trm.h. + Rename ScreenGarbaged to screen_garbaged. + + * TrmVT100.c: + Eliminate VT100_INVERSE. People can do this with setq. + + * fixedpoint.c: + Use new variable FPdebug instead of RDdebug. + Include only Trm.h and fixedpoint.h, not display.h. + + * display.c: + IDdebug and RDdebug are mentioned in this file only. + + * xdisp.c (decode_mode_spec): + Display "Narrow" after minor modes if buffer has any clipping. + + * keyboard.c (command_loop_1): + Kill Emacs on end of file only if not executing a macro. + +1985-05-26 Richard M. Stallman (rms at mit-prep) + + * display.h, Trm.h: + Move VisibleBell and baud_rate to Trm.h. + Define tt.t_padspeed, minimum speed at which padding needed (pb#). + + * Trm*.c, dispnew.c (Ding): + tt.t_flash is always set; it flashes the screen or beeps using `bl='. + + * TrmTERM.c: + Use `IC', `DC', `rp' and `bl' termcap strings when appropriate. + No longer look for nonstandard `nn' or `rn' flags or `ds' string. + Do not assume ^M and ^J can be used unless `cr' or 'do' or `nl' + says so. + ?? Make second arg to tputs always number of LINES below cursor + because the termcap documentation says so. Is this right ?? + +1985-05-24 Richard M. Stallman (rms at mit-prep) + + * keymap.c (push_key_description): + Use DEL for 0177, RET for 015, LFD for 012, TAB for 011, SPC for 040. + + * search.c (search_buffer): + For n < 0 re-search, test search_regs.end[0] vs startpos, not pos. + + * callint.c (call-interactively): + If interactive spec is a list, use num_input_chars + to tell whether it read args from the command input. + + * keyboard.c (get_char): + Increment new variable num_input_chars on each call. + + * All .h files: make all variable definitions `extern'. + + * buffer.c, window.c, xdisp.c, display.c, dispnew.c, + syntax.c, fixedpoint.c: Put in one non-extern definition + for each variable that used to have them only in the .h files. + + * keyboard.c: + Refs to Cant1WinOpt should say windows_or_buffers_changed. + + * buffer.c (kill-all-local-variables): + Don't clobber a variable currently set up for some other buffer. + Was losing the other buffer's recent setq's if the other + buffer had the same variable local. + +1985-05-23 Richard M. Stallman (rms at mit-prep) + + * buffer.c (list_buffers_1): + Put back the lost column in the entries + rather than removing it from the header. + +1985-05-23 Richard M. Stallman (rms at mit-prep) + + * xdisp.c (decode_mode_spec): + Display "Abbrev" if abbrev_mode is set. + Don't clobber past end of tbuf. + + * keyboard.c: + kbd_buffer_get_char: If noninteractive, read from stdin. + open-dribble-file: take filename as argument. + command_loop_1: on end of file, call kill-emacs. + +1985-05-22 Richard M. Stallman (rms at mit-prep) + + * window.c (save_window_restore): + Set windows_or_buffers_changed. + + * buffer.c (list_buffers_1): + Print % not R for read-only buffers. + + * cmds.c (SelfInsert): + !NULL => NULL testing buffer read onliness for abbrev expansion. + + * eval.c (interactive-p): + Return nil if called within expression being evalled + by a built-in C function such as eval-region. + +1985-05-22 K. Shane Hartman (shane at mit-prep) + + * config.h, TrmXTERM.c, display.c + Change define for XWINDOW to XVSWINDOW because XWINDOW + is defined as a macro in lisp.h. + +1985-05-22 Richard M. Stallman (rms at mit-prep) + + * print.c (printchar, strout): + Output minibuffer chars to stdout if noninteractive. + + * xdisp.c (message, message1): + Noninteractively, output newline if previous output was from print. + + * keyboard.c (cmd_error): + If noninteractive, force out error message at end. + + * keyboard.c (get_char): + Fix bugs in handling help_char: + do a redisplay after restoring window configuration; + clear NextK after reading a space. + + * buffer.c (other-buffer): + Init notsogood to nil so don't return garbage value. + + * buffer.c (list_buffers_1): + Put back missing space before each buffer name. + + * buffer.c (SetBfp): + New code to dump core when paragraph-start gets its global value + in a buffer in Lisp mode. + + * TrmXTERM.c: new file. Used for interface to + MIT's `X' window system. + +1985-05-22 Richard Mlynarik (mly at mit-prep) + + * buffer.c (list_buffers_1): + made list-buffers print "R" if buffer read-only. + (No change is needed to lisp/buff-menu.el) + +1985-05-22 Richard M. Stallman (rms at mit-prep) + + * keyboard.c (get_char): + Use (in effect) save-window-excursion to flush the window + made by or for the help-form. + * minibuf.c: + Flush remove_help_window and its DefBoolVar. + * lisp.h: + Flush obsolete externs for remove_help_window and flushhelp. + + * config.h: increase maximum screen dimensions to 300x300. + Define XWINDOW flag (off by default). + + * Trm.h: add tt.t_socketinput slot, and t_ReadSocket slot. + * dsp.c, keyboard.c: code for using those slots. + * display.c: install code for XVSWINDOW. + + * dispnew.c (sleep-for): flush spurious reference to + nonexistent variable time_limit. + +1985-05-21 Richard Mlynarik (mly at mit-prep) + + * The documentation for substitute-command-keys was fazed out by + its own hairy heuristics! Moby quoting (past the c compiler, and + then past substitute-command-keys) added. + People should be careful of this. Also, hacks which make + printed documentation out of doc strings need to know about this + cruft. + +1985-05-21 Richard M. Stallman (rms at mit-prep) + + * TrmTERM.c, dispnew.c, cm.c: + open-termscript opens a termscript file, + into which are written a copy of all characters (except padding) + sent to the terminal. + + * Makefile: + Recompute DOCSTR file only if other things have changed. + +1985-05-20 Richard M. Stallman (rms at mit-prep) + + * keyboard.c (command-execute): + Use do_autoload. + + * data.c (car, cdr, car-safe, cdr-safe): + Open code them. Flush carcdr and car_1. + + * eval.c: + Define do_autoload to autoload a function and barf if that + did not define it. Use this in eval, apply, funcall. + Make Fautoload do nothing if function is already defined. + Open code the loops that trace function definitions of symbols. + +1985-05-19 Richard M. Stallman (rms at mit-prep) + + * buffer.c, window.c: + Change algorithm for reordering Vbuffer_alist: + select-window now calls record_buffer. + other-buffer now prefers buffers not visible in any window. + bury-buffer, which puts a buffer at the end of the list, + is now defined. + + * keyboard.c (get_char): + Make first char of a command go into keybuf + even if it is being reread. + Make all chars go into keybuf if coming from a macro. + + * process.c (make_process): + Fix bug where incremented-for-uniqueness name wasn't really used. + +1985-05-17 Richard M. Stallman (rms at mit-prep) + + * undo.c: + Fix bug of reinserting/replacing undone chars + wrapping around wrong at end of undo buffer. + Use tembuf to handle properly a Uchange + of length > half the undo buffer. + +1985-05-16 Richard M. Stallman (rms at mit-prep) + + * window.c (set-window-start): + accept third arg NOFORCE meaning don't set w->force_start. + + * indent.c (compute_motion): + Clear tab_offset when scanning past a newline. + + * lisp.h, bytecode.c: define Qbytecode. + * eval.c: fix interactive-p to look past a call to `bytecode'. + Makes interactive-p work in compiled code. + + * xdisp.c: + Supply missing taboffset arg to display_text_line from DoDsp. + Fixes bug that inserting a character could shift line sideways. + + * display.c: + Remove spurious * in setting terminal_driver. + + * lisp.h: + Remove some obsolete externs for symbols that no longer exist. + + * dispnew.c: + Define send-string-to-terminal. + + * TrmTERM.c, TrmVT100.c: + Turn on alternate keypad on entry, turn off on exit. + +1985-05-16 Richard Mlynarik (mly at mit-prep) + + * fileio.c: added optional third arg ok-if-exists to + rename-file, make-symbolic-link, add-name-to-file and copy-file. + If the destrination filename exists, then if ok-if-exists + is non-nil it is silently bashed; else if the function was + called interactively the user is queried as to whether s/he + wants to bash the file; otherwise (ok-if-exists nil, non-interactive) + a file-already-exists error is signalled. + + * window.c: made get-window-buffer return nil if get-buffer of + its arg returns nil, rather than erring. + +1985-05-14 Richard M. Stallman (rms at mit-prep) + + * dispnew.c, display.c: + Function scroll_max_lines_saved returns # lines in common + between PhysScreen and DesiredScreen. + UpdateScreen skips i/d calc on big window, fast screen + when there are too few lines in common. + +1985-05-13 Richard M. Stallman (rms at mit-prep) + + * indent.c: + Fix cursor position calculation for continued tabs. + New tab_offset argument to compute_motion. + + * xdisp.c: + Make display of continued tabs work. + + * Makefile: + Do inc-version in a separate invocation of temacs + to make the dumped xemacs smaller. + + * eval.c: + Put star in front of XSUBR (fun)->function where it is being called. + + * alloc.c: + Mark buffers when pointers to them are found, + like all other Lisp object types. + + * buffer.h, buffer.c: + Created chain `all_buffers' containing all existing buffers + not yet reclaimed by gc, including dead buffers. + + * read.c: + Fix up register declarations. + + * emacs.c, dsp.c, xdisp.c: + Define -batch switch: do no redisplay, don't change terminal modes. + Lisp variable `noninteractive' is non-nil in this mode. + + * syntax.c: + Made most scanning loops turn on immediate_quit. + + * eval.c: + Fsignal clears immediate_quit. + +1985-05-12 Richard M. Stallman (rms at mit-prep) + cmds.c: modified `newline' to insert before an existing + newline before dot. This produces better redisplay. + xdisp.c: fixed bug that modifying buffer displayed in two windows + failed to redisplay both mode lines with stars. + xdisp.c: try_window_id: if scrolling upward and changed text is empty + scroll up all the lines that fit below bp. + xdisp.c: introduce num_contin, to display tabs right in contin. lines + doc.c: define substitute-command-keys, using crl@purdue's code. + Make `documentation' call it. + eval.c, fns.c, bytecode.c: put in register decls for Lisp_Objects. + saved 2500 bytes of object code. + +1985-05-11 Richard M. Stallman (rms at mit-prep) + editfns.c: Put in code for & in fullname, + under AMPERSAND_FULL_NAME flag. + lisp.h: Install NO_UNION_TYPE flag in lisp.h. + This means XMARKBIT can no longer be on left side of =. + New macros XMARK and XUNMARK and XSETMARKBIT are used + instead. + alloc.c, marker.c: use XMARK, XUNMARK, XSETMARKBIT where needed. + TrmTERM.c: Ignore `xs' termcap flag. + Always use the SEstr on sg >= 0 terminals. + minibuf.c: Don't allow entry to minibuffer + while minibuffer is selected. + + + +Local Variables: +mode: indented-text +eval: (auto-fill-mode 1) +left-margin: 8 +fill-column: 74 +version-control: never +End: diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/ChangeLog.2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ChangeLog.2 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,4780 @@ +1988-08-31 Richard Stallman (rms at corn-chex.ai.mit.edu) + + * Version 18.52 released. + + * x11term.c (XT_GetDefaults): Replaced entire function. + + * unexhp9k800.c: #endif was missing. + + * crt0.c [hp9000s300]: New variable flag_68010. + +1988-08-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-isi-ov.h (LOAD_AVE_{CVT,TYPE}): On 4.3, different definitions. + + * m-iris4d.h: Define XSETMARKBIT. + +1988-08-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-ibmrt.h (CANNOT_DUMP): Was defined by mistake in last change. + + * m-amdahl.h (NSIG): If it's 19, make it 20. + Overrides Amdahl's mistake. + +1988-08-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * x11fns.c, x11term.c (XXscreen): New variable, default screen number. + All calls to BlackPixel, WhitePixel, DisplayCells, DefaultColormap + pass this. + +1988-08-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * data.c (init_data) [uts]: Handle SIGEMT. + + * m-apollo.h (APOLLO_SR10): Define this if BSD4_3. + (BSTRING): If APOLLO_SR10, don't alter this. + + * emacs.c [APOLLO]: If APOLLO_SR10, omit the acl code. + + * filemode.c (ftypelet): If S_IFIFO==S_IFSOCK, avoid duplicate cases. + + * m-alliant4.h: Add missing `*/'. + +1988-08-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * x11term.c (writechars): Don't call updateline; + output just the chars that are specified; don't clear to end. + + * m-ibmrt-aix.h: Define getwd. Define bcopy, etc. as macros. + Define LIBX10_MACHINE and change LIBS_MACHINE. + +1988-08-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xterm.c (XTread_socket): If HAVE_SELECT, call xfixscreen + before waiting. + + * dispnew.c (update_line): comments added. + + * xterm.c (writechars): Output only the chars specified + even if in update; don't clear to end. + (XTread_socket): Check O_NDELAY only if it and F_GETFL are defined. + (x_term_init) [IBMRTAIX]: do call gethostname. + () [IBMRTAIX]: Include sys/time, not time. + +1988-08-23 Chris Hanson (cph at kleph) + + * xterm.c (XTread_socket): Do not call `xfixscreen' if O_NDELAY is + set. On hpux, this causes an I/O error. + +1988-08-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-news800.h: define HAVE_ALLOCA. + +1988-08-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c (read_avail_input) [no FIONREAD]: Always set O_NDELAY. + +1988-08-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xterm.c, x11term.c (XTclear_end_of_line): + Arg was misinterpreted as place to *start* clearing. + (x_clear_end_of_line): New fn does what XTclear_end_of_line did. + All callers in this file changed. + + * sysdep.c [USG] (getwd): Free the entire string retd by getcwd. + +1988-08-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-ibmrt.h: Delete the USG conditionals. + + * m-ibmrt-aix.h: New file. + + * process.c (wait_reading_process_input) [IBMRTAIX]: Do `select' + as on HPUX. + * process.c [IBMRTAIX]: Use sys/time.h. + + * dispnew.c (update_line): Handle case of !char_ins_del_ok. + + * xterm.c (x_term_init): Use X keymap spec'd in user's xdefaults. + Also use macro X_DEFAULT_FONT to determine ultimate default font. + + * sysdep.c (child_setup_tty) [IBMRTAIX]: Turn off extra tty features. + (init_sys_modes) [IBMRTAIX]: Turn off enhanced line editor. + Also, call hft_init. + (init_sys_modes) [TCXONC]: Make sure output isn't stopped. + (reset_sys_modes) [IBMRTAIX]: Call hft_reset. + (hft_init, hft_reset): New function. + (sys_siglist) [IBMRTAIX]: Alternate signal defs. + + * unexec.c: Treat IBMRTAIX like IRIS. + + * fileio.c (Fcopy_file): If USE_UTIME, use `utime' instead of `utimes'. + + * emacs.c (main) [IBMRTAIX]: Handle additional fatal signals. + +1988-08-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * search.c (Fstore_match_data): Failed to skip the 2nd nil in a pair. + + * search.c (search_buffer) [C_ALLOCA]: Use auto space for BM_tab. + +1988-08-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c: Declare errno. + +1988-08-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-news800.h: Define COMPILER_REGISTER_BUG and LIBS_TERMCAP. + +1988-08-12 Mike Haertel (mike at spiff.ai.mit.edu) + + * m-7300.h: Made it understand how do undump a demand-paged + executable. + +1988-08-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * unexec.c (adjust_lnnoptrs): auxent is a union, not a struct. + +1988-08-10 Chris Hanson (cph at kleph) + + * keyboard.c (read_avail_input): Do not set O_NDELAY if + `read_socket_hook' is in use. This causes Xlib to get an IO error + under X10, and could potentially do the same for X11. + + * s-hpux.h (ADJUST_EXEC_HEADER): Undefine this. Demand loaded + exec format doesn't work correctly in hpux. + (HAVE_SOCKETS): hpux has BSD-style sockets. + + * xfns.c, xterm.c, x11term.c, x11fns.c: Conditionalize "time.h" + inclusion on USG instead of HPUX. + + * xterm.c, x11term.c (XTread_socket): Conditionalize call to + `XPeekEvent' on `HAVE_SELECT'. + + * xterm.c: Supply missing definition of `handler'. + +1988-08-09 Chris Hanson (cph at kleph) + + * indent.c (current-column): fix typo. + + * keyboard.c, undo.c: add explicit storage class to several + variable declarations so that GCC does not generate warning + message. + +1988-08-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * eval.c: doc fix. + +1988-08-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c: Doc fix. + + * keymap.c (Fwhere_is_internal): Call get_keyelt. + +1988-08-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * unexec.c [sun386]: control header files, like STRIDE, etc. + + * s-sunos4.h: Define LD_SWITCH_SYSTEM, not LD_SWITCH_MACHINE. + * m-sun386.h: Vice versa. + (O_NDELAY): Delete definition; duplicates s-sunos4.h. + (LD_SWITCH_SYSTEM): Undefine this, since the s-sunos4.h defn + is wrong for the 386. + +1988-07-31 Richard Stallman (rms at juicy-juice.lcs.mit.edu) + + * sysdep.c (select_alarm): If read_alarm_should_throw, throw back + to read_input_waiting. + (read_input_waiting): Call setjmp, so that can be done. + * xterm.c (XTread_socket) [no SIGIO]: + If O_NDELAY not set, wait for an event. + Set read_alarm_should_throw while waiting. + * x11term.c (internal_socket_read): Similar change. + + * x11fns.c (Fx_set_mouse_color): Don't free save_color; can be literal. + * x11term.c (x_term_init): Clear reversevideo if fg or bg color specd. + +1988-07-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * print.c (Fwith_output_to_temp_buffer): Detect error for non-strings. + +1988-07-22 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * s-usg5-3.h: Define LIBX{10,11}_SYSTEM. + + * ymakefile: New variables LIBX{10,11}_SYSTEM to be set in s- file. + + * xterm.c (XExitGracefully): Declare the args, for debugging. + (x_io_error): New function now used as handler for X I/O errors. + + * xfns.c [not HAVE_TIMEVAL]: Don't include any time.h. + + * sysdep.c (sys_suspend) [VMS]: Ignore SIGINT while suspended. + + * undo.c (Fundo_more): Better err msg. + +1988-07-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * indent.c (current_column, Fmove_to_column): ignore invisible lines. + + * keyboard.c (command_loop_1): No direct output if selective display. + +1988-07-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile (LD_TEXT_START_FLAGS): -e should be __start, not address. + + * m-orion105.h: New file. + +1988-07-15 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * alloca.s (pyramid): Define _setjmp, _longjmp only if PYRAMID_OLD. + +1988-07-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s-rtu.h (fsync): Define this as no-op. + + * process.c, sysdep.c: Rename MASSCOMP flag to RTU. + +1988-07-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * term.c (write_chars): Compensate for wasted_chars when comparing curX + +1988-07-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lread.c (openp): Don't call strncat if lsuffix is 0. + +1988-06-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * callint.c (Fcall_interactively): On VMS, treat 'f' like 'F'. + +1988-06-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * emacs.c (Fkill_emacs): Run kill-emacs-hook. + +1988-06-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile: Add missing dependencies. + + * cmds.c (Fself_insert_command): Pass correct 2nd arg to SelfInsert. + + * ymakefile: Avoid newline after cpp in commands for alloca.s. + +1988-06-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile: #undef register, in case m- or s- defines it. + +1988-06-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * unexhp9k800.c: Complete replacement. + + * x11fns.c (x_set_cursor_colors): Send current colors to X server. + (Fx_set_mouse_color): Use that function. + * x11term.c (XFlipColor, XInitWindow): Use that function. + Variable `mous' deleted; handle reverse video for `mous_color' + by checking it with `strcmp'. + + * x11term.c (x_term_init): `sizeof' was used for strings, in mallocing. + Delete unused vars `cursor_fore' and `cursor_back'. + + * x11term.c (CursorToggle): Make solid cursor proper color + when no text char is there. + + * x11term.c (XT_Set_Size_Hints): New arg PR. + At startup, it's the value from XGeometry, else 0. + Use it when setting the flags (which dims are user-specified). + + * x11term.c (XT_Set_Size_Hints): Conditional for XICCC. + + * x11term.c (internal_socket_read): Don't call change_window_size + with arguments too small for it to handle. + + * dispnew.c (window_change_signal, {un,}hold_window_change): + If a signal happens during update_screen, just set flag; + resignal when update_screen finishes. + * xdisp.c (DoDsp, message, message1): Call {un,}hold_window_change. + + * dispnew.c (Vwindow_system_version): New variable. + (syms_of_dispnew, init_display): Set this variable. + + * callint.c (Fcall_interactively): For `N', convert prefix to number. + +1988-06-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * termcap.c (tgetst1): Tolerate missing colon at end of entry. + +1988-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * data.c (Fkill_local_variable): Used to clobber other buffer's value. + +1988-06-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * x11fns.c, x11term.c: "Mouse queue" was a stack; make it a queue. + New vars XXm_queue_in, XXm_queue_out. + (Fx_{proc,get}_mouse_event): Use XXm_queue_out as fetch index. + (internal_socket_read): Use XXm_queue_in as store index. + (x_term_init): Init the new vars. + +1988-06-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fset_window_configuration): Handle change in screen size. + + * s-hpux.h: Delete -lBSD from LIBS_SYSTEM. + * m-hp9000s300.h: Define string fns as macros even in version 6. + +1988-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * buffer.c (SetBfp): Initialize `swb'. This matters when SetBfp + is called during initialization, on Masscomp. + +1988-06-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c (kbd_input_ast, end_kbd_input): Eliminate `ast_active'. + (end_kbd_input): Use LIB$AST_IN_PROG. + + * lread.c (init_read): Don't be confused by Qnil in normal_path. + + * data.c (Fsymbol_value): Check nullness of per-buffer sym's buffer. + + * callint.c (Fcall_interactively): Don't put non-strings into visargs. + +1988-06-02 Richard Stallman (rms at rice-krispies.ai.mit.edu) + + * keyboard.c (read_avail_input, input_available_signal): + Make `buf' as long as kbd_buffer. + +1988-06-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xdisp.c (decode_mode_spec): Output `%%' as a `%'. + + * sysdep.c (kbd_input_ast): Save and restore errno. + * keyboard.c (input_available_signal, interrupt_signal): Likewise. + * dispnew.c (window_change_signal): Likewise. + * process.c (child_sig): Likewise. + +1988-05-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * x11fns.c (Fx_proc_mouse_event): When looking up a meta-click, + look for the meta-prefix-char first. + + * xmenu.c (Fx_popup_menu): Typo calling BLOCK_INPUT_DECLARE. + +1988-05-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s-iris3-{5,6}.h: Undo Jan 11 change. + +1988-05-23 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * minibuf.c (read_minibuf): If PROMPT's not a string, make it one. + +1988-05-22 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * m-alliant.h: Typo made m-alliant1.h lose. + * m-alliant4.h: New file. + + * fns.c (Freverse): Rename `vector' to `vec'. + On alliant, `vector' is a typedef in param.h. + +1988-05-20 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * process.c (kill_buffer_processes): Send SIGHUP, not SIGKILL. + +1988-05-19 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * m-mips.h, m-iris4d.h (XUNMARK): Cast unsigned before shifting. + + * m-sequent.h: No need for DKSTAT_HEADER_FILE. + +1988-05-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * x11term.c: First include system headers, then config.h, then maybe + undef FIONREAD and SIGIO, then read x11term.h which depends on them. + +1988-05-15 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * keyboard.c (get_input_pending): Hold SIGIO around read_avail_input. + +1988-05-14 Richard Stallman (rms at lucky-charms.ai.mit.edu) + + * keyboard.c (init_keyboard): Call keyboard_init_hook if nonzero. + * x11term.c (x_init_1): Move all keyboard-related inits here. + (x_term_init): Don't call x_init_1; put it in keyboard_init_hook. + + * m-sun3.h, s-sunos4.h, s-bsd4-3.h: Delete DK_HEADER_FILE. + * m-sequent.h: Change it to DKSTAT_HEADER_FILE. + +1988-05-13 Richard Stallman (rms at lucky-charms.ai.mit.edu) + + * xdisp.c (DoDsp): if pause, and window is partial-width, + next redisplay must do all windows since preserve_other_columns + may lack the data to work right if we just did scrolling. + +1988-05-13 Chris Hanson (cph at kleph) + + * m-hp9000s300.h: Conditionalize a couple of things on `__GNUC__'. + +1988-05-12 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * xdisp.c (mark_window_display_accurate): Don't use XBUFFER on nil. + + * keyboard.c (keys_of_keyboard): Change ndefkey to defkey. + * keymap.c (keys_of_keymap): Change ndefkey to defkey. + +1988-05-10 Richard Stallman (rms at corn-chex.ai.mit.edu) + + * sysdep.c: Define sigmask. + +1988-05-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * Version 18.51 released. + + * process.c (Fdelete_process): Change status of proc to `signaled'. + Then call change_msgs to run the sentinel. + + * m-sequent.h, m-sun3.h, s-sunos4.h, s-bsd4-3.h: Define DK_HEADER_FILE. + + * m-7300.h: Take out the Feb 11 change; umix!sendai!rich@rutgers.edu + says it doesn't work. + +1988-04-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * xdisp.c (DoDsp): Set clip_changed if Voverlay_... has changed. + +1988-04-28 Chris Hanson (cph at kleph) + + * s-hpux.h: Define HAVE_PTYS. HP-UX has them and they work fine + almost all of the time. The one case where they would fail + regularly (inferior Scheme) has been bypassed by using pipes. + +1988-04-28 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * keyboard.c (Fsuspend_emacs): Do init_sys_modes via unwind protect. + + * fileio.c [VMS] (Fdefine_logical_name): Empty string value + means delete the name. + +1988-04-27 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * sysdep.c [VMS]: RAB's never a macro; let RAB$C_BID control rab.h. + + * sysdep.c [VMS] (sys_getenv): only if value of lib$sys_trnlog + is exactly 1 does it mean it found something. + + * sysdep.c (creat_copy_attrs): Downcase remaining SYS$OPEN, SSY$CLOSE. + +1988-04-25 Richard Stallman (rms at lucky-charms.ai.mit.edu) + + * fileio.c (Fdo_auto_save): Ignore shrinkage if not visiting file. + Wait only 1 second after shrinkage message. + (Fset_buffer_auto_saved): Update the buffer's save_length. + (auto_save_error): Mention buffer name in message. + + * buffer.c (Fswitch_buffer): Error if in minibuffer window. + +1988-04-24 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * sysdep.c (sys_close): Define this only if INTERRUPTABLE_CLOSE. + * s-usg5-3.h: Define INTERRUPTABLE_CLOSE. + +1988-04-22 Richard Stallman (rms at rice-krispies.ai.mit.edu) + + * sysdep.c (init_sys_modes) [VMS]: Undef _IOFBF so don't use setvbuf. + +1988-04-20 Richard Stallman (rms at rice-krispies.ai.mit.edu) + + * m-sun386.h: New file, for Roadrunner. + +1988-04-19 Chris Hanson (cph at kleph) + + * x11term.h, x11term.c, x11fns.c: Again (for the third time) + abstract input blocking so these files compile on systems without + SIGIO. + + * x11term.c (x_term_init): Comment out fatal error which prevents + X11 interface from being used if interrupt_input is false. This + is unnecessary and untrue -- the interface works, but + suboptimally. + +1988-04-19 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * sysdep.c (sys_access) [VMS]: If arg is dirname, cvt to name as file. + (sys_getenv): If arg is TERM, also look for TERM as logical name. + + * unexconvex.c: New file. + +1988-04-18 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * emacs.c (main) [APOLLO]: Eliminate call to set_sbrk_size. + + * search.c (match_limit): Return nil for a paren-pair with no match. + +1988-04-17 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * vmsfns.c (Fvms_system_info, Fshrink_to_icon): New functions. + Former comes with many subroutines. + +1988-04-16 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * x11term.c (updateline, write_chars): Restore sigmask at every return. + (stufflines): Restore signal mask only once, at the end. + + * sysdep.c ({un,}request_sigio): SIGWINCH mask actions were backwards. + Never change any other mask bit. + + * x11term.c (internal_socket_read): Initialize COUNT. + + * ymakefile (LIBX): /usr/X11/lib/oldX/liboldX.a becomes -loldX. + +1988-04-14 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * fileio.c (auto_save_error): Print msg that there was an error. + (Fdo_auto_save): If don't save a bfr because it has shrunk, print msg. + +1988-04-13 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * s-umax.h: Define MAIL_USE_FLOCK (LaLiberte says so). + +1988-04-10 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * fileio.c (Fdefine_dcl_symbol): Deleted. + (Fdefine_logical_name): New function created. + * sysdep.c (define_dcl_symbol): Deleted. + (define_logical_name, delete_logical_name): New fns to make + job-wide logical names. "This is more useful for communicating with + other processes, since when Emacs is run in a subprocess (as it + usually is), the others see job-wide logical names, not DCL symbols)." + +1988-04-09 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * ymakefile: If UNEXEC is defined, it specifies object file for unexec. + * unexmips.c: New file contains MIPS unexec code, moved from unexec.c. + * m-mips.h, m-iris4d.h: Define UNEXEC as unexmips.o. + No longer need to define COFF. + * unexenix.c, s-xenix.h: Likewise. + * unexhp9ks800.h: New file; m-hp9000s800.h says to use. + * unexec.c: Delete MIPS and Xenix code. + + * dired.c (file_name_completion) [VMS]: specbind completion-ignore-case + to non-nil. + + * m-sequent.h: Define PTY_ITERATION, etc., for Dynix 3.0 pty names. + +1988-04-08 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * unexec.c (EXEC_HDR_TYPE): New macro overrides `struct exec' if def. + + * unexec.c (DEFAULT_ENTRY_ADDRESS): Allow config to define this. + * m-iris4d.h: Define it here, instead of IRIS4D conditional in unexec. + + * m-tek4300.h: New file. + + * fileio.c: doc fix. + +1988-03-29 Richard M. Stallman (rms at wilson) + + * ymakefile: Default LIBX10_MACHINE and LIBX11_MACHINE to null. + Use them when defining LIBX. + + * xterm.c: On all USG, include sys/time.h. + * xterm.c (XtFlash, flashback): Bodies conditional on ITIMER_REAL. + * xterm.c (x_term_init): Call gethostname only if BSD or HPUX. + * xterm.c (x_init_1): Don't mess with SIGIO if USG. + + * sysdep.c: Fix typo, USG_SYSTEM_DIR => SYSV_SYSTEM_DIR. + Externally define sys_errlist, except on VMS. + Don't include rab.h if RAB is already defined. + + * sysdep.c ({request,unrequest}_sigio) BSD4.2 version: + Also block and unblock SIGWINCH if that's defined. + + * m-mips.h (XSETMARKBIT): New, test 2nd arg for only zero or nonzero. + + * s-usg5-3.h: #define close sys_close (like open, read, write). + * sysdep.c: Undef `close', like `open'. + * sysdep.c (sys_close): New function. + All refs to close in sysdep.c renamed to sys_close. + + * sysdep.c (read_input_waiting): Call `read_socket_hook'. + Define BUFFER_SIZE_FACTOR as in keyboard.c. + + * sysdep.c (dup2): Alternate defn #ifdef F_DUPFD. + +1988-03-27 Richard M. Stallman (rms at wilson) + + * process.c [CYDRIX]: Include sys/tiuser.h; don't include pty.h. + + * process.c (pty): Don't do ioctl FIONBIO if not defined. + New macros PTY_ITERATION, PTY_NAME_SPRINTF and + PTY_TTY_NAME_SPRINTF customize how to test all pty names. + + * unexec.c (make_hdr): DATA_SECTION_ALIGNMENT, new, acts like + SECTION_ALIGMENT, but for data section only. + + * callproc.c (init_callproc): Cvt dirname to filename for `access'. + * lread.c (init_read): Likewise. These used to lose on VMS. + + * dired.c (file_name_completion) [VMS]: READFUNC is a ptr, not a fcn. + +1988-03-24 Richard M. Stallman (rms at wilson) + + * sink.h, sinkmask.h: Don't declare the array static. + * xfns.c: Make sink_bits and sink_mask_bits extern; + don't include sink.h and sinkmask.h here. + Define macros sign_width, etc. + + * xterm.c (writechars, dumprectangle): Flush `if (PhysScreen)', etc., + since an array is always nonzero as a pointer. + + * filelock.c: Include config.h after sys/stat.h so can undef S_IFLNK. + + * sysdep.c (sys_suspend): Use BSD, not SIGTSTP, as cond. for killpg. + + * dispnew.c (init_display): Set Vwindow_system to `x' for X11. + * xterm.c, x11term.c (x_term_init): Set `window-system-version' + to 10 or 11. + + * dispnew.c (update_screen): If cursor_in_echo_area is negative, + put cursor at left margin in echo area. + + * fns.c (Fy_or_n_p): Make cursor_in_echo_area -1 when echoing response. + Don't alter cursX. + +1988-03-23 Richard M. Stallman (rms at wilson) + + * x11term.h: Use X11/ not X/ for dir of include files. + * xmenu.c: Likewise, in the X11 case. + + * m-7300.h: Fix unterminated comment near end. + + * s-xenix.h: Define n_zeroes so usage of struct nlist in fns.c works. + + * term.c (fatal): Do fflush(stderr). + + * sink11.h, sink11msk.h: New files. + + * x11term.h: Define CLASS here. + Don't define X11 since this is included only if X11. + + * x11term.c: Use sink11.h and sink11msk.h, not sink.h and sinkmask.h. + Don't define CLASS. Delete everything about BIGDEBUG. + Delete everything pertaining to read_events_block. + (XXidentity): now global. + (CursorOutline): New var; nonzero means cursor is hollow. + (XXicon_usebitmap): New var; nonzero means use bitmap icon. + (XTset_terminal_modes, ClearCursor): Set CursorOutline. + (XTflash, flashback): Combine into one function; use `select' to wait. + (CursorToggle): Handle CursorOutline. + (internal_socket_read): Delete 3rd arg, and code that handles it. + Handle MappingNotify events. + Handle EnterNotify and LeaveNotify (change solid to outline cursor). + (XT_GetDefaults): If asked for .BodyFont, look for .Font also. + (x_term_init): Init XXicon_usebitmap; strip dirs from `progname'. + Handle -i switch. Handle -geometry like -w. + (XT_Set_WM_Hints): Obey XXicon_usebitmap. + (XInitWindow): Use `fatal' for fatal error messages. + Init CursorOutline. Ask for EnterNotify and LeaveNotify events. + + * x11fns.c (Fx_get_default): Use XXidentity. Clean up docstring. + + * sysdep.c [VMS] (input_wait_timeout, wait_for_kbd_input): + Use detect_input_pending, not get_input_pending. + + * process.c (wait_reading_process_input): + Use only detect_input_pending to check for pending kbd input. + (That `select' saw something on channel 0 doesn't mean it is + kbd input; it could be an expose event.) + + * keyboard.c (read_avail_input) [FIONREAD]: Now static. + New arg specifies value of NREAD; + if it is nonzero, don't call get_input_pending to get it. + Use kbd_buffer_store_char to put chars into kbd_buffer. + Always abort if kbd_count is nonzero at start. + Don't call {set,clear}_waiting_for_input. + + (get_input_pending): Now static. + Return immediately if kbd_count > 0 or if Vquit_flag is non-nil. + If FIONREAD and not interrupt_input and read_socket_hook, + call read_avail_input to see how much pending input is really + kbd characters; don't say we have some if an expose event is pending. + + * dispnew.c (init_display): Check result of egetenv for emptiness + as well as nullness. + +1988-03-21 Richard M. Stallman (rms at wilson) + + * alloca.s [WICAT]: Don't clobber a2. Return value in a0 and in d0. + +1988-03-20 Richard M. Stallman (rms at wilson) + + * crt0.c (errno): Don't initialize it -- put it in bss space. + [M68K]: Define splevel% with `comm' -- put it in bss space. + + * sysdep.c [MISSING_UTIMES]: Define `utimes' as a no-op. + * s-hpux.h: Define MISSING_UTIMES. + + * buffer.c (Fbuffer_local_variables): The buffer's alist can be out + of date for a non-current buffer, so call Fsymbol_value to make + the alist up to date. + + * sysdep.c [VMS] (end_kbd_input): If ast_active, don't clobber + any global variables. + + * ymakefile (alloca.o): Copy sed output to a .s file and use cc + to run the assembler. I hear Xenix can't run it directly. + + * sysdep.c [XENIX]: Undefine TIOCGETC. + + * s-xenix.h: Undefine NLIST_STRUCT. Put `_' in defn of LDAV_SYMBOL. + Define HAVE_SYSVIPC. + + * m-intel386.h [XENIX] (LIB_STANDARD): Add /lib/386/Slibcfp.a. + [XENIX] (FSCALE): Define it. + [XENIX] (C_ALLOCA): Undefine it. + + * alloca.s: Define alloca for Xenix. + +1988-03-19 Richard M. Stallman (rms at wilson) + + * keyboard.c (read_avail_input): If `read' gives EAGAIN, + kbd_count should be 0. Can happen on V.3. + + * x11fns.c (Vxterm1): Delete this variable, and lisp var `xterm'. + (syms_of_xfns): If CANNOT_DUMP and not `noninteractive', + init_display has already set up Vxterm, so don't init it here. + * display.c (syms_of_display): Likewise for Vwindow_system. + (init_display): Always set Vwindow_system. + +1988-03-18 Chris Hanson (cph at kleph) + + * m-hp9000s300.h: Add a definition for C_SWITCH_MACHINE which is + needed to compile the X11 interface files. + + * s-hpux.h, m-hp9000s300.h, m-hp9000s800.h: Version 6.01 of HP-UX + (on 300 machines only) implements symbolic links and supplies BSD + procedures like `bcopy' and `index' as part of the BSD library. + Move definitions which depend on these features from the s- file + to the m- files, and conditionalize the features based on a flag. + +1988-03-18 Richard M. Stallman (rms at wilson) + + * scroll.c (calculate_scrolling): Abort if ->insertcount + is out of range. + + * sysdep.c (getwd for USG): Don't define it if HAVE_GETWD. + * m-stride.h: Define HAVE_GETWD. + + * buffer.c (init_buffer): If `getwd' fails, it's a fatal error. + + * ymakefile (MAKE_PARALLEL): New name for PARALLEL, and now + a cpp macro, not a Make variable. Defaults to empty. + * m-sequent.h: Define MAKE_PARALLEL. + + * xdisp.c (display_text_line): Handle the overlay arrow last of all, + and update line->length for the space it uses. + + * xmenu.c: Conditionals for X11, using new macro X11ONLY. + Currently named x11menu.c until someone tests it. + * ymakefile: Handle HAVE_X_MENU and use xmenu.o, even if X11. + * x11term.h: Define BLOCK_INPUT, UNBLOCK_INPUT, BLOCK_INPUT_DECLARE. + + * Makefile: Set $(MAKE), since some Make versions don't have it. + (xmakefile): Delete lines that are just one OR MORE whitespace + chars. Use \t to represent the tab in the `sed' command. + + * fileio.c (Finsert_file_contents) [APOLLO]: Do another `stat' + after closing the file. Gets around kernel bug (in `fstat'?). + + * fileio.c (Fwrite_region) [ALLIANT]: Don't do `fsync'; kernel bug. + + * sysdep.c (sys_suspend): If forking shell, call close_process_descs. + +1988-02-13 Richard Stallman (rms at sugar-smacks.ai.mit.edu) + + * Version 18.50 released. + + * sysdep.c [VMS]: Remove VMS4_6 conditional on execvp & rename + since s-vms.h is set to make us use our own definitions of these. + Make execvp call `error' instead of `croak'. + + * s-vms.h: PURESIZE 132000. + * m-sun2.h: Likewise (for HAVE_SUN_WINDOWS). + +1988-02-11 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * callproc.c (child_setup): Call close_process_descs + if can have subprocesses. Close the argument-descriptors + after copying them to 0, 1 and 2. + + * callproc.c (Fcall_process): After fork, in subprocess, + explicitly close Emacs's end of the pipe. Don't bother calling + set_exclusive_use. + + * process.c (close_process_descs): Close all descriptors + that are talking to subprocesses. Called from a new subprocess. + + * process.c (create_process): Don't bother calling set_exclusive_use + since close_process_descs now closes Emacs's side of a pipe or pty. + + * x11term.c, x11fns.c, x11term.h: New files from rfrench@athena.mit.edu + In x11term.c, the function `read_events_block' has been `if 0'd + and so have all calls to it. A call in wait_reading_process_output + was not added, and a call to internal_read_socket in + get_input_pending was not added. + + * emacs.c (main) [HAVE_X_WINDOWS]: Set xargv, xargc for xterm.c. + + * dispnew.c (init_display) [X11]: Set Vwindow_system to `x11'. + + * s-hupx.h: Define HAVE_SYSVIPC. + Should s-usg*.h define this too? + + * dir.h: Some union types were missing levels of struct inside them. + + * alloc.c (Fpurecopy): If not purifying, do nothing. + + * editfns.c (init_editfns): Record system name even if dumping. + + * eval.c (Fcondition_case): Inverted endtest in handler validate loop. + + * m-7300.h: Define SEGMENT_MASK, SECTION_ALIGNMENT + and pass the -z switch to ld. kenobi!ford@bass.nosc.mil says so. + +1988-02-09 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * unexec.c: Merge gb's code for Xenix. + + * m-intel386.h: Add conditionals for Xenix. + * s-xenix.h: New file. + + * cm.h: Make the bit-fields unsigned. + +1988-02-08 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * sysdep.c (init_sys_modes) [USG]: Set C-g for VQUIT as well as VINTR. + This was formerly done only on HPUX, and worked there. + It appears that all sysV is like HPUX in that CDEL does not + really turn off the signal--it makes Meta-DEL cause the signal! + + * process.c (wait_reading_process_output): Change the test on + read_kbd to avoid losing on 80386 Xenix. + +1988-02-06 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * xdisp.c (Voverlay_arrow_string, Voverlay_arrow_position): + New variables specifying a string to overlay on the buffer text + and a place to put it. + * xdisp.c (display_text_line, redisplay_window, DoDsp): + Handle these variables. + +1988-02-04 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * insdel.c (prepare_to_modify_buffer): + If CLASH_DETECTION is disabled, verify the modtime here + since it won't be done via lock_file. + +1988-01-31 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * fileio.c (Fcopy_file): Report error in `write'. + +1988-01-29 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * eval.c (unbind_to): Recompute loop end-test from `count' each time + since an unwind-protect function can use realloc to grow the specpdl. + +1988-01-26 Richard Stallman (rms at frosted-flakes.ai.mit.edu) + + * sysdep.c (vms_truncate) [VMS]: New fn to truncate a file. + + * fileio.c (Fwrite_region) [VMS]: If writing auto-save file, + truncate any existing file. + + * s-vms.h: Rename `rename', `execvp' and `system' so we don't + use the VMS-library versions of it. + +1988-01-22 Richard Stallman (rms at frosted-flakes) + + * m-ibmrt.h: Add some AIX conditionals; output on BSD should + be unchnged. Perhaps will now run on AIX. + +1988-01-21 Richard Stallman (rms at frosted-flakes) + + * keyboard.c (command_loop): Exit here for noninteractive eof. + * keyboard.c (kbd_buffer_get_char): Don't exit here. + +1988-01-20 Richard Stallman (rms at frosted-flakes) + + * lread.c (openp): Reject directories even if !exec_only. + + * window.c (Fset_window_configuration): When keeping window's + old buffer, make sure its start and pointm are valid. + +1988-01-19 Richard Stallman (rms at frosted-flakes) + + * sysdep.c (sys_suspend) [SIGTSTP]: Use killpg and getpgrp to stop + all processes in same pgrp with Emacs. + + * syntax.c (Fparse_partial_sexp): Add 7th elt to STATE arg and value, + describing minimum depth encountered during the scan. + +1988-01-18 Richard Stallman (rms at frosted-flakes) + + * alloca.s: Change some as-style comments to C-style comments + so cccp won't be confused by stray singlequotes. + + * s-iris3-{5,6}.h: Move the #defines of long-named functions + into m-irist.h. + + * lread.c (init_read): Warn if dirs in PATH_LOADSEARCH don't exist. + * callproc.c (init_callproc): Warn if Vexec_directory doesn't exist. + * emacs.c (main): Call init_callproc before changing terminal modes. + + * xdisp.c (try_window_id): When computing ep, watch out for + invisible lines that follow the newline after the last change. + + * window.c (Fset_window_point): Now works ok on selected window. + +1988-01-17 Richard Stallman (rms at frosted-flakes) + + * eval.c (Fdefconst, Fdefvar) doc fix. + + * keymap.c (Fcopy_keymap): Several stupid errors. + + * dired.c (file_name_completion): Wasn't calling readdir + for Unix; was doing so (instead of readfunc) on VMS. + * dired.c (Fdirectory_files): Don't call NAMLEN if dp is 0. + +1988-01-16 Richard Stallman (rms at frosted-flakes) + + * alloc.c (syms_of_alloc): Eliminate vars data-bytes-{free,used}. + They lose because values are over 24 bits. + + * lread.c (read_list): delete `register' for val and tail. + * buffer.c (Fkill_buffer): delete `register' for buf and bufname. + * fns.c (Fy_or_n_p): delete `register' for xprompt. + * keymap.c (Fcopy_keymap): missing paren. + +1988-01-15 Richard Stallman (rms at frosted-flakes) + + * m-iris4d.h: Changes to support dumping. + * m-*.h: Doc fix for VIRT_ADDR_VARIES. + + * unexec.c: Minor changes to mips code for IRIS_4D. + +1988-01-11 Richard Stallman (rms at frosted-flakes) + + * s-iris3-{5,6}.h: Don't #undef SIGIO. BROKEN_FIONREAD makes it unnec. + * process.c [IRIS]: Find sysmacros.h in sys/. + +1988-01-09 Richard Stallman (rms at frosted-flakes) + + * doprnt.c: New arg NARGS says how many args there are in ARGS. + Give an error if the string tries to use more than that many. + + * callint.c (Fcall_interactively): Pass new arg to `doprnt' + * editfns.c (Fformat, format1): + * xdisp.c (message): + +1988-01-07 Richard Stallman (rms at frosted-flakes) + + * lreadc (init_obarray): Split the stmt `hash =' to avoid + a VACX bug. + + * alloca.s [pyramid]: Keep sp a multiple of 32. + This preserves cache-block alignment. + +1988-01-06 Richard Stallman (rms at frosted-flakes) + + * s-hpux.h: Don't define nomultiplejobs, LDAV_SYMBOL, LIBS_DEBUG + or BROKEN_FIONREAD. + * m-hp9000s300.h: Define those four. + * s-hpux.h: Define BSTRING, and define bcopy, etc., as macros. + + * sysdep.c [NEED_BSDTTY]: Include bsdtty.h. + (Flag is defined in m-hp9000s800.h) + + * m-hp9000s800.h: New file. + * m-hp9000s300.h: New name for m-hp9000.h. + + * sysdep.c: Split TIOCGLTC conditional into two, one on TIOCGETC. + + * search.c (search_buffer): Avoid & of array static_BM_tab. + + * alloca.s, crt0.c: Change hp9000 conditionals to hp9000s300. + +1987-12-22 Richard Stallman (rms at frosted-flakes) + + * alloca.s [WICAT]: Keep sp pointing at lowest word in use. + +1987-12-17 Richard Stallman (rms at lucky-charms) + + * unexec.c (make_hdr): Don't add A_TEXT_OFFSET to a_text + in the NO_REMAP case (when a_text comes from the old header). + + * filelock.c: If no symlinks, use `stat' instead of `lstat'. + +1987-12-14 Richard Stallman (rms at frosted-flakes) + + * fileio.c (Fsubstitute_in_file_name): Allow underscore + in an env var name. + +1987-12-09 Richard Stallman (rms at frosted-flakes) + + * indent.c (Findent-to): Interactive code `N' instead of `n'. + + * sysdep.c (execvp, rename): Omit these fns if VMS4_6. + + * lread.c (oblookup): Split a statement to avoid VMS compiler bug. + +1987-12-04 Richard Stallman (rms at frosted-flakes) + + * data.c (sign_extend_temp): Moved from sysdep.c. + * data.c (sign_extend_lisp_int): Function to do sign-extend; + needed on some machines. + + * keymap.c (Fcopy_keymap): Copy subkeymaps recursively. + + * fileio.c (Fread_file_name): Don't crash if no env var HOME. + +1987-12-03 Richard Stallman (rms at frosted-flakes) + + * m-convex.h: New file. + +1987-12-02 Richard Stallman (rms at frosted-flakes) + + * process.c (wait_reading_process_input): + Don't set time_limit to -2; leave it as -1. + + * s-usg5-3.h, m-intel386.h: New files. + +1987-12-01 Richard Stallman (rms at frosted-flakes) + + * process.c: Support for SYSV_PTYS. + + * dired.c: New macros DIRENTRY and NAMLEN; support for sysV.3. + * sysdep.c: `closedir' function for sysV.3. + + * crt0.c: Add code for Sun 4. + * m-sparc.h: New file. + + * lread.c (read_list): Fix error message for ] in a list. + + * fileio.c (Ffile_symlink_p): Call Fexpand_file_name. + +1987-11-21 Richard Stallman (rms at frosted-flakes) + + * print.c: Clean up doc string syntax and fix doc error for `print'. + +1987-10-31 Richard Stallman (rms at sugar-smacks) + + * editfns.c (Fformat): Realize doprint %-specs can contain - and space. + +1987-10-30 Richard Stallman (rms at sugar-smacks) + + * fns.c (Fy_or_n_p): Don't try to DOWNCASE -1. + +1987-10-29 Richard Stallman (rms at frosted-flakes) + + * fns.c (Fy_or_n_p): Protect `prompt' and `xprompt' from gc. + * fns.c (Fyes_or_no_p): Protect `prompt' from gc. + * lread.c (read_list): Protect `val' and `tail' from gc. + * buffer.c (Fkill_buffer): Protect `buf' and `bufname' from gc. + * fileio.c (barf_or_query_if_file_exists): Protect `absname'. + +1987-09-17 Richard M. Stallman (rms at prep) + + * Version 18.49 released. + + * window.c (set_window_width): + Set windows_or_buffers_changed. + + * scroll.c (calculate_scrolling): Initialize insertcount + of top edge cells to zero. + + * dired.c (file_name_completion): Rearrange VMS conditionals + so that `readfunc' exists only on VMS. Apollo compiler + couldn't deal with it. + +1987-09-16 Richard M. Stallman (rms at prep) + + * m-sun[23].h: Doc fix. + + * sysdep.c (reset_sys_modes): Don't output anything + if have a read_socket_hook (i.e. under X). + +1987-09-10 Richard M. Stallman (rms at prep) + + * buffer.c (Fget_buffer_create): Test of mode-class property + of buffer's major mode was backwards. + +1987-09-07 Richard Mlynarik (mly at prep) + + * dired.c (file_name_completion): + Only filter `leaves' of filesystem structure with + completion_ignored_extensions -- don't eliminate directories. + If Vcompletion_ignored_extensions isn't a proper list, don't + eliminate all filenames. + + * xterm.h (UNBLOCK_INPUT_RESIGNAL): + RESIGNAL_INPUT, not INPUT_RESIGNAL + +1987-08-30 Richard M. Stallman (rms at prep) + + * Version 18.48 released. + + * xmenu.c (XEmacsMenu): Rename `sel' to `selidx'. + + * unexec.c: Remove the CANNOT_UNEXEC code. + * m-apollo.h: Switch back to CANNOT_DUMP. + + * emacs.c (Fdump_emacs): Don't call malloc_init if SYSTEM_MALLOC. + * emacs.c (main): ditto. + +1987-08-20 Richard M. Stallman (rms at prep) + + * fileio.c (Fwrite_region) [VMS]: Move gap to the closest place + (first newline after old gap). + +1987-08-15 Richard M. Stallman (rms at prep) + + * editfns.c (init_editfns): Handle getpwuid returning 0. + +1987-08-14 Richard M. Stallman (rms at prep) + + * casefiddle.c (casify_region): Use prepare_to_modify_buffer. + Don't call modify_region until the end. + + * sysdep.c (reset_sys_modes): Output a bare CR + so kernel can track the cursor hpos. + +1987-07-30 Richard M. Stallman (rms at prep) + + * vmsfns.c (Fsetprv): Correct spelling SS$NORMAL => SS$_NORMAL. + Include . + +1987-07-29 Richard Mlynarik (mly at prep) + + * lread.c (init_read): Initialise load_in_progress. + +1987-07-28 Richard M. Stallman (rms at prep) + + * vmsfns.c (Fsetprv): Detect error from sys$setprv properly. + Add some privileges missing from the table. + +1987-07-27 Richard M. Stallman (rms at prep) + + * sysdep.c (creat_copy_attrs): Flush duplicate `else'. + +1987-07-25 Richard M. Stallman (rms at prep) + + * dispnew.c (update_screen): Use PENDING_OUTPUT_COUNT + in all appropriate places. + Fix a comment delimiter typo. + +1987-07-24 Richard M. Stallman (rms at prep) + + * keyboard.c (command_loop_1): Don't do direct output + if DoDsp is needed to erase a minibuffer message. + + * keymap.c (describe_alist, describe_vector): + 1. Output only one blank line in a row if multiple empty keymaps. + 2. Chase through indirect keymap elements. + + * keymap.c (describe_map_tree): Handle Flookup_key returning int + so C-x 4 bindings appear in the output. + + * sysdep.c (sys_creat for VMS): Get all args via varargs, + no named args, to avoid incompatible change in VMS C. + +1987-07-18 Richard M. Stallman (rms at prep) + + * unexec.c (make-hdr): Split the stmts that use ADDR_CORRECT + into two stmts. Some compilers mysteriously barf on them. + + * m-7300.h: Remove ADD_CORRECT (s-usg5-2.h does it). + Add LD_SWITCH_MACHINE and SWITCH_ENUM_BUG. + + * m-amdahl.h: define STACK_DIRECTION. + + * sysdep.c (random for VMS): subtract 1<<30, not 1<<14. + + * fns.c (Fvconcat): Doc fix. + + * window.c (Fcurrent_window_configuration): Doc fix. + + * sysdep.c [VMS]: include file.h. + * sysdep.c (creat_copy_attrs) [VMS]: Minor fixes to prevent + invalid acL if there was no old version. + + * dispnew.c (PENDING_OUTPUT_COUNT): New macro to get # chars + buffered in a stdio output stream. + * dispnew.c (update_screen): Use that macro. + Remove #ifndef VMS around the sleep when buffer is full. + * s-vms.h: Define nonstandard PENDING_OUTPUT_COUNT for VMS use. + + * fileio.c (file_name_as_directory) [VMS]: Fix 3rd arg to strncmp. + +1987-07-17 Paul Rubin (phr at prep) + + * m-sun2.h: Add comment explaining that filename refers to + the OS version, not the CPU model number. People running + SunOS 3.2 on Sun 2 computers have been erroneously trying to + use this file, and losing. + +1987-07-10 Chris Hanson (cph at prep) + + * xterm.h: Define macros to abstract control of input signals. + Alternate set of macros for hp-ux does no signalling. + + * xterm.c: + * xfns.c: + * xmenu.c: + Rewrite to use new input signal macros. Add conditionalizations + for hp-ux, mostly to eliminate references to `ButtonReleased' (I + don't know why, this is from wizards at HP Labs). Change + "xmenu.c" to eliminate unused include files, and reorder the + include files so that it compiles under hp-ux. + +1987-06-29 Richard M. Stallman (rms at prep) + + * fileio.c (Fwrite_region) [VMS]: Use creat_copy_attrs. + + * sysdep.c (creat_copy_attrs) [VMS]: New function: open a file + for writing, copying attributes from another file. + + * fileio.c (Ffile_writable_p): Exchange with Ffile_symlink_p. + Avoids mysterious cpp lossage on RT/PC. + + * syntax.c: Disguise doc string of non-existent Lisp variable + `standard-syntax-table'. + +1987-06-25 Richard M. Stallman (rms at prep) + + * callproc.c (Fcall_process): On VMS, use NLA0: instead of /dev/null. + + * term.c (term-init): + Don't use "nl" cap on VMS if it's a linefeed. + +1987-06-23 Richard M. Stallman (rms at prep) + + * sysdep.c (sys_creat) [VMS]: Use va_start, not va_start_1. + + * sysdep.c (rename) [VMS]: Use SYS$RENAME not LIB$RENAME_FILE. + +1987-06-18 Richard M. Stallman (rms at prep) + + * sysdep.c (readdirver) [VMS]: Don't return bogus version number. + Don't lose stepping off end of directory entry. + Eliminate superfluous loop. + + * fileio.c (file-name-as-directory) [VMS]: + Never append a slash. Fix erroneous return-with-no-value. + + * dired.c (file_name_completion): For VMS, upcase the input. + + * fns.c (Frandom): Doc fix. + + * sysdep.c (random) [USG]: Subtract 1<<14 from value of rand() + so value range is centered on zero. + * sysdep.c (random) [VMS]: Likewise, and remove the code to + initialize the seed. Higher levels call srandom if seed should be set. + +1987-06-15 Richard M. Stallman (rms at prep) + + + * fileio.c (Fwrite_region) [VMS]: Use `creat' to create + an auto-save file. + * Version 18.47 released. + + * fileio.c (Fwrite_region): Check result from fsync. + +1987-06-12 Chris Hanson (cph at prep) + + * terminfo.c (tparam): Handle the outstring == 0 case by + allocating a result of the correct size. + +1987-06-12 Richard M. Stallman (rms at prep) + + * terminfo.c (tparam): Kludge the outstring == 0 case. + Accept (and ignore) the buffer-length argument. + + * s-iris3-5.h: Remove defines of IRIS35 and PURESIZE. + + * fileio.c (Fwrite_region) [VMS]: + Write under temp name and rename, to avoid auto-deletion + if writing fails. When moving gap to avoid extra newline, + move it only to the next newline. + +1987-06-10 Richard M. Stallman (rms at prep) + + * minibuf.c (Ftry_completion, Fall_completions): + GCPRO some strings when calling predicate. + + * fileio.c (file_name_as_directory) [VMS]: + Recognize .dir in uc or lc and followed by either .1 or ;1. + * fileio.c (directory_file_name) [VMS]: + Append .DIR.1 in upper case. + * fileio.c: Delete calls to lower_case. + * fileio.c: #ifndef VMS around decls or errno, sys_errlist, etc. + + * sysdep.c (getwd for VMS): Upcase the filename. + * sysdep.c (lower_case): Delete this function and all calls. + + * dired.c (file_name_completion): Obey completion-ignore-case + by using scmp instead of bcmp. + +1987-06-09 Richard M. Stallman (rms at prep) + + * syntax.c: (scan_lists): Clear mathexit on 2nd math-char in a pair. + +1987-06-08 Richard M. Stallman (rms at prep) + + * Version 18.46 released. + + * m-apollo.h: Define CANNOT_UNEXEC instead of CANNOT_DUMP. + + * keyboard.c (get_char): Delete DEBUG-conditional code. + * process.c: Delete the IRIS ignore-SIGIOT kludge. + + * sysdep.c: Declare sign_extend_temp regardless of machine type. + + * sysdep.c (sys_access) [VMS pre 4.4]: Don't zero uic. + * sysdep.c (sys_access_reinit): New fn, called from + init_sys_modes, to clear uic. + + * eval.c (grow_specpdl): Don't subtract old specpdl address + from new one; they are in different arrays. + Use correct args to Fsignal when reporting overflow. + + * process.c (Fopen_network_stream): Don't create process object + until opens, etc. have succeeded. + +1987-06-08 Chris Hanson (cph at prep) + + * keyboard.c (read_avail_input): use `read_socket_hook' if it has + a value. This is required in hp-ux if `HAVE_X_WINDOWS' is + defined. + + * process.c (wait_reading_process_input): conditionalize `select' + call for hp-ux. + +1987-06-08 Richard M. Stallman (rms at prep) + + * m-isi-ov.h: Cut SEGMENT_MAST in half. crl@purdue says so. + +1987-06-06 Richard M. Stallman (rms at prep) + + * tparam.c: Ifdef emacs, include config.h. + +1987-06-05 Richard M. Stallman (rms at prep) + + * m-apollo.h: Add #undef BSTRING. + + * dispnew.c, keyboard.c: On VMS, don't include sys/ioctl.h. + + * process.c (create_process): On IRIS, set forkin, forkout to -1 + instead of opening them. Then don't use them later if they are -1. + + * process.c (Fopen_network_stream): Allow integer as 4th arg + to specify foreign port number. + +1987-06-03 Richard M. Stallman (rms at prep) + + * m-amdahl.h: Add definitions of LD_SWITCH_MACHINE, EXEC_MAGIC, + SEGSIZ and SEGMENT_MASK. Turn on C_ALLOCA. From Jishnu Mukeji. + + * eval.c (Fapply): Add missing parens in args to alloca; + args were too small. From Jishnu Mukeji. + +1987-06-01 Richard M. Stallman (rms at prep) + + * version 18.45. + + * fileio.c (Finsert_file_contents): Always initialize fd. + +1987-05-31 Richard M. Stallman (rms at prep) + + * fileio.c: Move declarations of errno and friends to top of file. + * filelock.c: Likewise. + +1987-05-29 Richard M. Stallman (rms at prep) + + * process.c: #end => #endif. + +1987-05-27 Richard M. Stallman (rms at prep) + + * fileio.c (Fexpand_file_name) [VMS]: + Upcase all file names, not just absolute ones. Use Fupcase. + +1987-05-26 Richard M. Stallman (rms at prep) + + * fileio.c (Fdirectory_file_name) [VMS]: + Fix to expansion of VMS logical names. + + * crt0.c [ISI68K]: Define asm sym isi68020. + + * xdisp.c (display_string): Use current buffer's tab_width. + (display_text_line): Simplify XBUFFER (w->buffer) to bf_cur. + +1987-05-23 Richard M. Stallman (rms at prep) + + * alloc.c (init_alloc-once): Don't set Vpurify_flag. + * lread.c (init_obarray): Do it here, now that Qt is valid. + +1987-05-22 Richard M. Stallman (rms at prep) + + * m-targon31.h: Undefine VIRT_ADDR_VARIES. + + * vmspaths.h: Convert to VMS syntax and upper case. + + * lread.c (absolute_filename_p) [VMS]: '[' and '<' don't + make a pathname absolute. + +1987-05-21 Richard M. Stallman (rms at prep) + + * xterm.c (x_term_init): Don't set Vxterm and Vxterm1. + * xfns.c (syms_of_xfns): Don't set Vxterm and Vxterm1. + Delete Lisp variable `xterm'. + * dispnew.c (init_display): Initialize Vxterm to t or nil. + + * keyboard.c (interrupt_signal): Check Vwindow_system + instead of Vxterm. + + * sysdep.c (sys_access for VMS pre 4.4): + Turn on call to vmserrstr. + * sysdep.c (vmserrstr) [VMS]: Define this function. + + * process.c (create_process) [IRIS]: Don't open the pty's tty + in the parent process. Open only once, in the child. + + * xdisp.c (redisplay_window): If window-start points nowhere, + recenter the window to avoid a crash. + + * fileio.c (Fwrite_region): Check for error from the close. + NFS reportedly can report out-of-space there. + +1987-05-18 Richard M. Stallman (rms at prep) + + * fileio.c (Fwrite_region): Always stat after the close. + + * term.c (term_init): Spurious ' in error msg. + * cmds.c (SelfInsert): For newline, must auto-fill + before inserting it. + + * keyboard.c (BROKEN_FIONREAD): config.h can #define this + to cause FIONREAD to be #undef'd. + * s-iris3-5.h, s-hpux.h: Define BROKEN_FIONREAD. + + * indent.c (compute_motion): Typo in defn of HPOS. + +1987-05-17 Richard M. Stallman (rms at prep) + + * term.c: Pass 0 for buffer and length to tparam, + record the value returned as buffer to use, and free it later. + Each caller was changed. + + * tparam.c (tparam): Take buffer length additional arg. + Malloc a buffer if that buffer is too small. + Return address of buffer actually used. + Add * and / as arithmetic operators. + + * xdisp.c (message): Handle NO_ARG_ARRAY for call to doprnt. + +1987-05-16 Richard M. Stallman (rms at prep) + + * m-isi-ov.h: Define LIB_STANDARD to avoid bad interaction with + crt0 in ISI system 3.07. + + * fileio.c (Ffile_name_as_directory) [VMS]: Special handling + for foo:[000000] where foo is a logical name. + +1987-05-13 Richard M. Stallman (rms at prep) + + * fileio.c (Fread_file_name) [VMS]: Bind completion-ignore-case to t. + * fileio.c (Fexpand_file_name) [VMS]: Upcase letters in filenames. + + * sysdep.c (sys_access for VMS < 4.4): + Always get `uic' from the system. + + * sysdep.c: New macro SETOSPEED to set the ospeed value + in a terminal-info structure. Definitions for USG and BSD. + Used in init_baud_rate. + +1987-05-12 Richard M. Stallman (rms at prep) + + * search.c (skip_chars, Fstring_match, scan_buffer): + Set immediate_quit over the scanning loops. + + * vmspaths.h: Remove the comma from the load path. + Search only the standard directory. + + * sysdep.c (sys_suspend): Delete spurious `*' from + declaration of `sigio'. + +1987-05-12 Chris Hanson (cph at prep) + + * regex.c (re_compile_fastmap): + Fix typo where `notsyntaxspec' neglected to look at its argument + byte, comparing with randomness. + +1987-05-12 Richard M. Stallman (rms at prep) + + * sysdep.c (sys_access for VMS pre 4.4): + Fix typo of `file' where `filename' was meant. + Avoid using `vmserrstr' since it's not defined. + + * fileio.c (Finsert_file_contents): + On VMS, st.st_size > num_chars_read. + Use num_chars_read for the return value. + + * cmds.c (SelfInsert): New 2nd arg, nonzero says don't + do auto fill. + * cmds.c (Fself_insert_command, Fnewline): + Pass nonzero to SelfInsert if have prefix arg. + + * minibuf.c (Fself_insert_and_exit): 0 as 2nd arg to SelfInsert. + * keyboard.c (command_loop_1): likewise. + +1987-05-11 Richard M. Stallman (rms at prep) + + * keyboard.c, s-hpux.h, s-iris3-5.h: + Eliminate the hpux/iris conditional from keyboard.c. + Now the s- files do #undef FIONREAD. + + * buffer.c (Fkill_buffer): Do nothing rather than kill + the sole remaining buffer. Prevent quits during actual killing. + +1987-05-05 Richard Mlynarik (mly at prep) + + * m-irist.h: New version from raible@orville.arpa + * s-iris3-5.h: New file. (s-usg5-2 with additions) + + * keyboard.c: + IRIS, like HPUX, #defines but does not implement FIONREAD. + + * window.c, keyboard.c, sysdep.c: + Remove some unused local variables. + +1987-05-04 Richard M. Stallman (rms at prep) + + * dired.c (Ffile_attributes): Doc fix. + + * term.c (term_init): Mention `unsetenv TERMCAP' in + error message for invalid TERM variable. + +1987-04-27 Richard Mlynarik (mly at prep) + + * fileio.c (APOLLO from lnz): + Fcopy_file, Fset_file_modes: Don't use un*x modes if + env var USE_DOMAIN_ACLS is set. + Fset_file_modes: utimes fix. + Finsert_file_contents: Must do fstat after open for Apollo. + + * emacs.c (main): (APOLLO from lnz): + Don't use un*x modes if env var USE_DOMAIN_ACLS set. + +1987-04-25 Richard Mlynarik (mly at prep) + + * unexec.c: + CANNOT_UNEXEC Code from lnz (from rps@apollo). + Similar to vmsmap.c. + + * sysdep.c: (APOLLO from lnz) + init_baud_rate: Make sure ospeed is initialized even if ioctl fails. + wait_for_termination: can sigpause. + init_sys_modes: moved static structures out. + +1987-04-23 Richard Mlynarik (mly at prep) + + * malloc.c, vmsmap.c: (VMS) + Define and use our own `sbrk' since malloc and the RTL sbrk don't + interact very well. + (sasaki@harvard.harvard.edu <8704220244.AA02324@prep>) + +1987-04-15 Richard Mlynarik (mly at prep) + + * dispnew.c: (VMS) Flush TIOCOUTQ stuff (meaningless on VMS) + + * fileio.c, sysdep.c: (VMS) + Rename "define-logical-name" => "define-dcl-symbol" + + * m-irist.h: + New file from raible@orville.arpa for iris machine + (`3.5 turbo'). (<8704150216.AA21012@orville.arpa>) + + * unexec.c: iris code (is USG, but has struct exec) + * sysdep.c: iris utimes emulatation. (HAVE_TIMEVAL) + + * process.c: (IRIS) + #include + pty: Unusual iris pty-finding code. + IRIS_ignore_SIGIOT_kludge, init_process: + Iris pty's have some unknown bug which seems to cause spurious + SIGIOTs. Can somebody please delve into the reasons behind + this lossage? + +1987-04-15 Paul Rubin (phr at prep) + + * version 18.44 released. + +1987-04-14 Paul Rubin (phr at prep) + + * config.h: + Increase PURESIZE to 115800 from 115600. + +1987-04-14 Richard Mlynarik (mly at prep) + + * termcap.c (tgetent) (VMS): + File is in emacs_library:[etc]termcap.dat + (TUNG@WAIF.MIT.EDU <8704130324.AA10879@prep.ai.mit.edu>) + +1987-04-10 Richard Mlynarik (mly at prep) + + * window.c (Fset_window_configuration): + Don't unchain markers -- this window configuation may be used + again. Let normal GC unchain them. + +1987-04-08 Richard Mlynarik (mly at prep) + + * m-vax.h: (USG 5.2) + define NO_REMAP to kludgily bypass unexec bug. + (We don't have such a machine here, so -we- can't find the bug!) + (Karl.Kleinpaste <205@cbstr1.att.com>) + +1987-04-07 Richard Mlynarik (mly at prep) + + * indent.c (compute_motion): + Use special code for HPOS if SHORT_CAST_BUG. + + * m-celerity.h, m-att3b.h, m-ibmrt.h, m-sequent.h: + Define SHORT_CAST_BUG. + +1987-04-06 Richard Mlynarik (mly at prep) + + * malloc.c (morecore): + Don't assume sbrk clears memory to 0's. + + * indent.c (compute_motion): Special-case HPOS for sequent. + (iglesias@ICS.UCI.EDU <8704061703.AA26816@prep.ai.mit.edu>) + + * regex.c: + Fix bug in which "t\(.*\) .*\1" didn't match + "tom hates tomatoes" from Tom May @ Washington. + (<8703241000.AA21146@beaver.cs.washington.edu>) + + * sysdep.c (getwd): (USG) + Change first arg (0) to getcwd to (char *) 0 + Also, call `free' on value returned (after we save it) + +1987-03-22 Richard M. Stallman (rms at prep) + + * Version 18.41 released. + + * emacs.c (main): Call syms_of_xmenu only if HAVE_X_MENU. + * ymakefile: Use new switch HAVE_X_MENU to decide whether + to includ xmenu.c + * config.h-dist: Tell people about this flag. + +1987-03-20 Richard Mlynarik (mly at prep) + + * filemode.c: Hacks for set-uid/gid but not executable. + +1987-03-20 Richard M. Stallman (rms at prep) + + * sysdep.c [VMS]: include window.h. + * sysdep.c (wait_for_kbd_input) [VMS]: + Also detect and handle input from subprocesses. + + * fileio.c (Fread_file_name_internal) [VMS]: At end, check + length of NAME, not STRING. + + * emacs.c (main) [VMS]: If SHAREABLE_LIB_BUG, declare `environ' + noshare and initialize it from `envp'. + +1987-03-20 Chris Hanson (cph at prep) + + * process.c (pty): On hp-ux, do not enable TIOCREMOTE. See the + code for a comment explaining why. + +1987-03-19 Richard M. Stallman (rms at prep) + + * sysdep.c: Omit start_of_{data,text} if CANNOT_DUMP and SYSTEM_MALLOC. + + * m-apollo.h: Define START_FILES. + + * sunfns.c (syms_of_sunfns): Syntax error in comment. + + * sysdep.c (getwd) [USG]: + Copy the value of getcwd into pathname. + Supposedly needed on Altos 3068. + +1987-03-18 Richard M. Stallman (rms at prep) + + * Version 18.40 released. + + * fileio.c (Finsert_file_contents): On VMS, # bytes read + may be less than st.st_size. Use actual # read for recording undo. + + * fileio.c, termcap.c: Change funny VMS-format #includes + to standard Unix format. + +1987-03-17 Richard M. Stallman (rms at prep) + + * unexec.c (copy_text_and_data): A_TEXT_SEEK if defined controls + where in the file to start writing the text segment. + * m-isi-ov.h: Define A_TEXT_SEEK and A_TEXT_OFFSET. + + * s-umax.h: Define C_SWITCH_ASM so as to make `asm' work. + * ymakefile: Provide C_SWITCH_ASM when compiling crt0.c. + + * unexec.c [UMAX]: Don't include filehdr.h, etc. + + * bytecode.c (Fbytecode): + Another SWITCH_ENUM_BUG problem. + + * sysdep.c: If not HAVE_TERMIO, override any definition of TCSETAW. + Ultrix 2.0 has a TCSETAW but it requires a struct termio. + Since HAVE_TERMIO is not set, sysdep uses struct sgttyb, + and the real TCSETAW does not work with this. + + * sysdep.c (getwd): Discard everything before first slash. + + * termcap.c (tgetent): Delete VMS code to delete / from filename. + * termcap.c (legal_filename_p): Use symbolic constant. + + * sysdep.c (sys_abort) [VMS]: New function; calls debugger. + * sysdep.c (sys_access) [VMS]: Completely rewritten. + Now two versions, one for VMS 4.4 and one for older VMS. + * sysdep.c (sys_errlist) [VMS]: Insert missing elt for error code 0. + * sysdep.c (get_system_name) [VMS]: Remove :: from end of node name. + * sysdep.c (end_kbd_input) [VMS]: Don't wait if within ast rtn. + * sysdep.c (kbd_input_ast) [VMS]: Set ast_active to 1 while in + this fn. + + * sysdep.c: Add missing ; after use of BAUD_CONVERT. + + * term.c (term_init): Don't use Down on VMS if it's a ^J. + Fix C syntax errors in fatal error message. + Distinguish failure to open termcap fle from undefined term type. + + * s-vms.h: Increase DATA_START by 512. #define abort sys_abort. + Flush LIBS_DEBUG defn since ymakefile not used. + Delete mention of GET_RIGHTS. + + * m-vax.h [VMS]: Define LOAD_AVE_TYPE and C_ALLOCA. + + * keyboard.c: Undefine SIGIO only if it's defined. + * keyboard.c (interrupt_signal) [VMS]: + Try suspending in case it works. + + * fns.c (Fload_average): Make eunice code work on native VMS also. + Put the no-load-average case first for simplicity. + + * fileio.c (directory_file_name [VMS]: Use SYS$PARSE + for [--] and other such constructs. + + * fileio.c (Fexpand_file_name) [VMS]: Handle negative version #s. + + * doc.c: Don't include paths.h + + * callproc.c (init_callproc): Make Vexec_directory + using Ffile_name_as_directory. + + * alloc.c: Remove defns of `sdata' and `edata'. + +1987-03-16 Richard M. Stallman (rms at prep) + + * fns.c (Fy_or_n_p): Restore cursor_in_echo_area to previous value. + + * m-ibmrt.h: Define SKTPAIR only if BSD. + + * Makefile: Default is now `all', which tells + xmakefile to make `all'. + + * ymakefile: Make emacstool by way of etc/Makefile. + + * emacs.c (main): Don't mention SIGEMT if it's not defined. + +1987-03-14 Richard M. Stallman (rms at prep) + + * Version 18.39 released. + + * s-umax.h: Add definition of SEGMENT_MASK. + * Delete definition of LIBS_SYSTEM. + * align.umax: File deleted. + + * emacs.c (main): Don't mention syms_of_vmsfns explicitly. + * s-vms.h: Use SYMS_SYSTEM to call syms_of_vmsfns. + + * config.h-dist: Remove VMS conditional for PURESIZE. + * s-vms.h: Define PURESIZE. + * m-sun2.h: Define PURESIZE, if HAVE_SUN_WINDOWS. + +1987-03-13 Richard M. Stallman (rms at prep) + + * sysdep.c: Don't redefine TCSETAW if already defined. + (Cancelled by change on March 17). + + * sunfns.c: New file containing interface to Sun windows. + This is enabled by the switch HAVE_SUN_WINDOWS. + + * m-sun2.h: If HAVE_SUN_WINDOWS, include sunfns.c + via OBJECTS_MACHINE and SYMS_MACHINE. + + * emacs.c (main): Allow SYMS_SYSTEM and SYMS_MACHINE + to control calling of extra syms_of_... functions. + + * ymakefile (OBJECTS_MACHINE, OBJECTS_SYSTEM): + Provide for m- and s- files to specify additional object + files to link into temacs. + +1987-03-12 Richard M. Stallman (rms at prep) + + * fileio.c (Fsysnetunam): Make this function conditional on + HPUX_NET, not on HPUX. + * s-hpux.h: Make use of -ln switch depend on HPUX_NET. + Define HPUX_NET in config.h if you have that version of HPUX. + + * unexec.c (adjust_lnnoptrs) [amdahl_uts]: + Alternative names for struct symentry and struct auxentry. + + * sysdep.c [amdahl_uts]: Define sign_extend_temp as on ATT3B. + + * m-amdahl.h: New file. + +1987-03-12 Richard Mlynarik (mly at prep) + + * sysdep.c (child_setup_tty): + HPUX: Set baud-rate to 9600 (not 38400) + For some reason the former is reported to work faster(!?) + +1987-03-10 Richard M. Stallman (rms at prep) + + * dispnew.c (init_display): Declare alternate_display only if X. + +1987-03-09 Richard M. Stallman (rms at prep) + + * m-alliant.h, crt0.c for alliant: + Must save _curbrk when dumping (from ADJUST_EXEC_HEADER) + and restore it in crt0, because _curbrk itself isn't dumped. + + * unexec.c: Add a separate unexec routine for mips machines. + No code is shared with normal unexec. + +1987-03-08 Richard M. Stallman (rms at prep) + + * sysdep.c (baud_convert): Use new macro BAUD_CONVERT + to override the standard conversion table. + Use standard table if macro's not defined. + * s-vms.h, s-hpux.h: Definitions of BAUD_CONVERT. + + * editfns.c (Fsubst_char_in_region): + Call modify_buffer before changing it, and pass entire region. + If NOUNDO is set, un-increment bf_modified after that. + +1987-03-07 Richard M. Stallman (rms at prep) + + * lisp.h: #ifndef the definitions of XUINT, XSET, XMARKBIT, etc. + Make them all use XUINT when they want to extract the unsigned value. + +1987-03-05 Richard M. Stallman (rms at prep) + + * term.c (write_standout_marker): If "xs" present and sg#0, + don't write standout-off markers. + + * xmenu.c: Include signal.h before xterm.h. + + * sysdep.c (reset_sys_modes): Do fsync (on bsd4.2 or 4.3) + before changing the terminal modes. + + * ymakefile (emacstool): Remove spurious `/' after `${etcdir}'. + * m-sun2.h: Likewise. + + * process.c: Replace BSD conditionals with HAVE_SOCKETS for tcp stuff. + Give NETCONN_P a default definition if not HAVE_SOCKETS. + Don't defsubr open_network_stream if not HAVE_SOCKETS. + + * s-*.h: Define HAVE_SOCKETS, or add place holder. + * m-stride.h: Define HAVE_SOCKETS. + +1987-03-04 Richard M. Stallman (rms at prep) + + * ymakefile (LIBX): add -lXMenu. + +1987-03-03 Richard M. Stallman (rms at prep) + + * fileio.c (Fwrite_region): Really put the `fstat' after + the `fsync', trying to solve spurious "file has changed" warnings. + This reverses a change made on Jan 28 which was described then + as putting the `fstat' after the `fsync' but which in fact + was exactly the opposite. The truth is that anciently the + `fstat' was after, and on Jan 28 it was moved before. + The change on Jan 28 was to fix some sort of RFS problem. + I don't know whether the change itself or just its description + was incorrect. + + * Version 18.38 released. + +1987-02-28 Chris Hanson (cph at prep) + + * fileio.c: Added `sysnetunam' function for controlling remote + file access connections under hp-ux. + + * s-hpux (LIBS_SYSTEM): Added `-ln' which is used by `sysnetunam'. + +1987-02-28 Richard M. Stallman (rms at prep) + + * xdisp.c (display_text_line): Typo in line that fixes tab_width. + +1987-02-27 Richard M. Stallman (rms at prep) + + * dispnew.c (Fopen_termscript): `report_file_error' + requires list as 2nd arg. + +1987-02-26 Richard M. Stallman (rms at prep) + + * xmenu.c: New file defining Fx_popup_menu. + * emacs.c (main): Call syms_of_xmenu. + + * buffer.c (Fother_buffer): Condition for assigning to + `notsogood' was backwards (should be if null). + +1987-02-23 Richard M. Stallman (rms at prep) + + * keymap.c (access_keymap): No longer check lower case + equivalent of an upper case letter that is undefined. + + * keyboard.c (read_key_sequence): If an upper case letter + is undefined, and corresponding lower case letter is defined, + use the lower case letter instead. + + * emacs.c: Delete all ALLIANT conditionals that used to + save and restore _curbrk. Special code in crt0.c now + handles this. + + * crt0.c [ISI68K]: Assembler code to put a .word 0 after _start. + Include the dummy arg `ignore' in start1. + + * crt0.c [orion/pyramid/celerity]: ALLIANT now uses this case, + but with some special code to hack _curbrk on first startup. + + * m-alliant2.h: File deleted. Use m-alliant.h for version 2. + * m-alliant1.h: Don't look for ALLIANT2 to be defined. + Now ALLIANT1 is defined for version 1 and not for version 2. + Define NO_ARG_ARRAY only for version 1. + Define START_FILES so GNU crt0.c gets used. + Remove definition of TEXT_START (safe since GNU crt0.c is used). + Add to ADJUST_EXEC_HEADER something to set unexec_text_start. + +1987-02-22 Richard M. Stallman (rms at prep) + + * dispnew.c (Fopen_termscript): Close existing termscript + file before trying to open a new one. Report open failure + with report_file_error. + +1987-02-21 Paul Rubin (phr at prep) + + * window.c (set-window-buffer): typo "set-widow-buffer". + +1987-02-19 Richard Mlynarik (mly at prep) + + * lisp.h: + Add type Lisp_Window_Configuration, delete Lisp_Temp_Vector. + A window configuration is a Lisp_Vector-like object. + Add decls for F{set,current}_window_configuration. + + * window.c (F{set,current}_window_configuration): + New lisp-callable functions which do the guts of + Fsave_window_excursion. + + Also fixed a bug in which point was not being restored in + buffer currrent at end of save-window-excursion and that buffer + was not current when the config was recorded (It is supposed + to not be restored if it was current at the start) + + * alloc.c (mark_object): + Add case for Lisp_Window_Configuration; remove code for + Lisp_Temp_vector. + + * window.c, window.h: + Rename Fshow_buffer Fset_window_buffer (which was previously the + synonym in subr.el) + + * keyboard.c, minibuf.c: Window configuration caller changes. + + * print.c (print): + Understand Lisp_Window_Configuration's. + Print a disturbing message if encounter an illegal dtp -- + perhaps this should core-dump? + +1987-02-17 Richard Mlynarik (mly at prep) + + * dired.c (Ffile_attributes): + Use make_number. (XINT doesn't work on LHS of assignment) + +1987-02-17 Richard M. Stallman (rms at prep) + + * doc.c (get_doc_string, Fsnarf_documentation): + In vms4.4, avoid system bug by using sys_translate_unix + to translate filename to VMS format before opening. + +1987-02-16 Richard M. Stallman (rms at prep) + + * crt0.c: Don't define `environ' if DONT_NEED_ENVIRON is defined. + + * m-elxsi.h: Define DONT_NEED_ENVIRON + Define C_DEBUG_SWITCH as -O since there is no debugger. + Don't define VIRT_ADDR_VARIES. + + * xdisp.c (display_mode_element): Handle SWITCH_ENUM_BUG. + + * sysdep.c (reset_sys_modes): Loop on TCSETAW + until it does not get EINTR. + +1987-02-15 Richard M. Stallman (rms at prep) + + * s-bsd4-2.h: Make defns of BSD and BSD4_2 conditional. + +1987-02-13 Richard M. Stallman (rms at prep) + + * process.c: TCP connection feature from markl@jhereg.lcs.mit.edu. + Uses a process-object to represent a connection. + childp field is now Qt for a real subprocess, + or a hostname string for a tcp connection. + NETCONN_P checks this. + Status strings "open" and "closed" replace "run" and "exit" + for tcp connections only. New function Fopen_network_stream. + + * dired.c (Ffile_attributes): Use XINT to store the inode #. + It can be out of range for integers. + +1987-02-12 Richard M. Stallman (rms at prep) + + * xdisp.c (try_window): Fix paren errer in checking hpos + against hscroll. This caused window_end_pos to be wrong + when there was hscroll. + + * xdisp.c (display_text_line): Move code that inserts `$' + at bol for hscroll, so that its alteration of p1 does not + interfere with setting point_hpos. + Use lastpos instead of pos in that code. + Make lastpos be accurate in all cases including when there + is truncation. + + * xdisp.c (display_string): mincol==-1 means no minimum. + * xdisp.c (display_text_line): Use -1 for mincol of minibuf promp. + +1987-02-11 Richard M. Stallman (rms at prep) + + * Version 18.37 released. + + * data.c (Fmake_local_variable, Fmake_variable_buffer_local): + Get error if arg is t or nil. Doc improvements. + +1987-02-10 Richard Mlynarik (mly at prep) + + * xfns.c (Fx_get_default): Add (unsigned char *) cast. + + * window.c: typo. + +1987-02-09 Richard M. Stallman (rms at prep) + + * process.c (change_msgs): Save/restore selected buffer + only over simple insertions, and over one such at a time. + Don't save it across sentinel invocations. + +1987-02-08 Richard M. Stallman (rms at prep) + + * tparam.c (tparam): Supply code for NO_ARG_ARRAY case. + + * window.c, minibuf.c, window.h: Rename minibuf_scroll_window to + Vminibuf_scroll_window. Make it a Lisp variable. + * window.c (Fscroll_other_window): Validate + Vminibuf_scroll_window since user could store a non-window there. + + * window.c (temp_output_buffer_show): + Call Vtemp_output_buffer_show_hook to do the work, if not nil. + + * window.c (Fminibuffer_window): New function. + + * print.c (print, syms_of_print): If print_escape_newlines + is nonzero, print newlines in strings as \n. + + * minibuf.c (read_minibuf): Reduce arg to get_minibuf by 1. + Thus, use *Minibuf-0* for outer-level minibuffers. + + * keyboard.c (command_loop_1): Pass 2nd arg to Fsit_for. + * minibuf.c (temp_minibuf_message): Likewise. + + * dispnew.c (Fsit_for): 2nd arg non-nil means don't redisplay. + + * s-vms.h: Don't define VMS4_0, VMS4_2 or VMS4_4. + * s-vms4-[024].h: New files that include s-vms.h and also + define VMS4_0 or VMS4_2 or VMS4_4. + + * vmspaths.h: Remove `/emacs' from all paths, to go with a change + in emacs.com that includes that path segment in emacs_library. + + * term.c (term_init): Different message on VMS for invalid termtype. + + * alloc.c (Fgarbage_collect): After GC, clear marks + in the dummy buffers buffer_defaults and buffer_local_symbols. + +1987-02-07 Richard M. Stallman (rms at prep) + + * window.c (Fnext_window): Restore old meaning of t as 2nd arg: + count minibuffer window even if not active. + Non-t-non-nil as 2nd arg means never count minibuffer window. + + * window.c (window_loop): Rewrite to work the old way. + The new way did not work when deleting windows. + +1987-02-05 Richard M. Stallman (rms at prep) + + * m-sequent.h: Undef old definition of KERNEL_FILE so no warning. + + * process.c (read_process_output): Don't restore selected buffer + after filter; sometimes setting buffer is useful in filter functions. + + +1987-02-02 Richard M. Stallman (rms at prep) + + * keyboard.c (kbd-buffer_store_char): Fix paren error. + +1987-01-31 Richard M. Stallman (rms at prep) + + * window.c (window_loop): Rewrite not to pass t as 2nd arg + to Fnext_window by starting loop from the window after + the minibuffer. This was sole use of the feature. + + * window.c (Fnext_window): Change meaning of t as 2nd arg. + It now means to ignore the minibuffer even if it's active. + +1987-01-29 Richard M. Stallman (rms at prep) + + * cmds.c (Fforward_line): Correct the returned value. + +1987-01-28 Richard M. Stallman (rms at prep) + + * keyboard.c (kbd_buffer_store_char): + Ignore meta bit while checking for C-g, if meta-flag is clear. + + * unexec.c (make_hdr): typo `bas_start'. + + * sysdep.c: Declare errno explicitly since errno.h may fail to. + + * fileio.c (Fwrite_region): Move the fstat after the fsync. + [Note: the above sentence was incorrect; actually the fstat + had been after and was moved *before* the fsync. -- RMS, Mar 3.] + Avoids RFS lossage with fsync (maybe). + + * s-rtu.h: Define NLIST_STRUCT and LDAV_SYMBOL. + * m-masscomp.h: Check machine type to choose between C_ALLOCA + and HAVE_ALLOCA. + +1987-01-27 Richard Mlynarik (mly at prep) + + * window.c (change_window_height): + Validate window_min_height. + +1987-01-26 Richard M. Stallman (rms at prep) + + * m-ibmrt.h: LOAD_AVE_TYPE now double. + Now both operating systems for RT now supported. + + * fileio.c (Fsubstitute_in_file_name): + Delete everything thru last /~ or // in file name. + + * sysdep.c (select): If no subprocesses, make `child_changed' + local and initialized to 0. + + * xdisp.c (display_string): If TRUNCATE is 0, display all the + way to window edge; don't stop one column short. + +1987-01-24 Richard M. Stallman (rms at prep) + + * unexec.c (make_hdr): New var `bss_end' holds end-of-bss address. + This simplifies computation of bss size while keeping it from + being negative. + +1987-01-23 Richard Mlynarik (mly at prep) + + * fileio.c (Fexpand_file_name): + Have to do checks for "//" "/~" etc even if filename is + non-absolute, otherwise things like "~user1/~user2" aren't + expanded correctly (was getting "/u/user1/~user2" instead of + "/u/user2") + + * doc.c (Fsubstitute_command_keys): Doc fix. + + * m-stride.h: Fixes from bruce@stride.com + +1987-01-22 Richard M. Stallman (rms at prep) + + * eval.c (Feval, apply_lambda): When protecting a vector + of evaluated arguments, across the loop that evals them, + always set gcproN.nvars to the number of args + evalled so far, since the rest of the vector elements + are still garbage. + +1987-01-21 Richard M. Stallman (rms at prep) + + * Version 18.36 released. + +1987-01-21 Richard M. Stallman (rms at prep) + + * term.c (write_chars): If we find N identical chars + and that is too few for a Repeat operation, + don't consider the last N-1, last N-2, ... of those chars. + + * dispnew.c (update_line): Fill old line with spaces to + screen_width - 1 if it is highlighted (just like new line). + + * bytecode.c (Fbytecode): + Include bytecode pc value in stack over/underflow errors + +1987-01-20 Richard M. Stallman (rms at prep) + + * lread.c (defvar_lisp_nopro): New fn like defvar_lisp + but doesn't call staticpro. + * lisp.h (DEFVAR_LISP_NOPRO): New macro to call that function. + * buffer.c (syms_of_buffer): Use DEFVAR_LISP_NOPRO + to define variables that live in buffer_defaults. + * buffer.c (init_buffer_once): tab_width was being assigned + two different flag bits. + + * keyboard.c: #undef SIGIO if there's no FIONREAD. + +1987-01-19 Richard M. Stallman (rms at prep) + + * indent.c (compute_motion): IBMRT needs HPOS defined + like celerity. + +1987-01-16 Richard Mlynarik (mly at prep) + + * xfns.c (Fx_set_{background,cursor,mouse}_color): + Initialise save_color. + + * fileio.c, search.c, sysdep.c, filelock.c, editfns.c, process.c: + Delete/replace unused/conditionalised variables + +1987-01-15 Richard M. Stallman (rms at prep) + + * fns.c (Fcopy_alist): Pass missing arg to concat. + + * termcap.c (tgetent): Remove extra arg given to find_capability. + + * alloc.c (make_uninit_string, init_alloc_once): + * indent.c (compute_motion): Delete unused vars. + + * fileio.c (Frename_file): Add missing arg to Fcopy_file. + + * alloc.c (mark_object): Add cast for cleanliness. + Remove unnecessary break stmt. + + * keyboard.c (kbd_buffer_get_char): Flush unused local var. + +1987-01-15 Richard Mlynarik (mly at prep) + + * dispnew.c (init_display): + Hack X if "-d display-name" specified, even if env var DISPLAY + not set. + +1987-01-15 Richard M. Stallman (rms at prep) + + * fns.c (Fconcat): doc fix. + +1987-01-15 Richard Mlynarik (mly at prep) + + * keyboard.c (last_command): doc fix + +1987-01-13 Richard M. Stallman (rms at prep) + + * process.c (create_process): Cast value of `signal' to insulate from + * sysdep.c (sys_suspend, select): changed value type in sysV.3. + +1987-01-12 Richard M. Stallman (rms at prep) + + * sysdep.c (reset_sys_modes): Use TCSETAW to restore tty state. + On BSD, define TCSETAW to be TIOCSETN (so no change here on BSD). + + * callproc.c (init_callproc): Don't get environment as + strings when dumping Emacs. + +1987-01-12 Richard Mlynarik (mly at prep) + + * lread.c (Fload, load_unwind): + load_in_progress must be a counter, not a flag since `load' may be + called recursively. + + * lread.c (openp): + If PATH contains non-absolute element (such as ".") expand against + bf_cur->directory. + + * filemode.c (ftypelet): + Understand (and return) more different file-types (stat->st_mode's) + This makes Ffile_attributes more winning. + + * filelock.c (current_lock_file_owner_1): + Always close the fd even if get an error reading!!! + +1987-01-11 Richard Mlynarik (mly at prep) + + * fileio.c (Fsubstitute_in_file_name, Fread_file_name_internal): + `Quote' "$" as "$$" This doesn't break any existing code, + since "$$" used to get an error, and wins by providing the user a + way to specify filenames containing the character "$" + + * fileio.c (Fsubstitute_in_file_name): + Allow substituting zero-length env vars. + +1987-01-10 Richard M. Stallman (rms at prep) + + * termcap.c (tgetent): Fix syntax errors in VMS-only code. + +1987-01-09 Richard Mlynarik (mly at prep) + + * xterm.c (x_term_init): + Give correct error message when DISPLAY not set. + +1987-01-08 Richard Mlynarik (mly at prep) + + * xfns.c (Fx_get_default): + Return nil, not "" on non-existent option, as documented. + Don't randomly and unnecessarily malloc (and then not free) + + * process.c (init_process): + Look at extern var initialized rather than having arg passed. + + * emacs.c (main): + Dike out the code which hacked the "-nx" option as synonymous with + "-nw" if HAVE_X_WINDOWS -- this code was never distributed + earlier, so there was no need to retain a compatibility kludge. + +1987-01-08 Richard M. Stallman (rms at prep) + + * search.c (Freplace_match): Change declaration `char' to `int'. + Declaring a scalar variable `char' is nearly always wrong + and breaks most compilers. + +1987-01-07 Richard M. Stallman (rms at prep) + + * xterm.c (flashback): Change || to | in signal mask calculation. + +1987-01-06 Richard M. Stallman (rms at prep) + + * print.c (print): RTPC_REGISTER_BUG conditional. + * data.c (Fset): likewise. + * m-ibmrt.h (SIGN_EXTEND_CHAR): Flush the definition that used + a subroutine and really install the one that uses arithmetic. + +1987-01-06 Richard Mlynarik (mly at prep) + + * keyboard.c (kbd_buffer_{read,store}_char): + Look at MetaFlag when reading char out of buffer rather than + storing into it so that buffer-local meta-flag works correctly. + +1987-01-06 Richard M. Stallman (rms at prep) + + * syntax.c (Fchar_syntax, Fmodify_syntax_entry): + Mask specified char to 8 bits before indexing syntax table. + +1987-01-05 Richard Mlynarik (mly at prep) + + * callproc.c (init_callproc): + Make maintain_environment stuff work yet again. + +1987-01-05 Richard M. Stallman (rms at prep) + + * fileio.c (report_file_error): Check for errno < 0. + + * Version 18.35 released. + +1987-01-03 Richard M. Stallman (rms at prep) + + * callproc.c: Rename Vprocess_extra_environment => Vprocess_environment. + * callproc.c (init_callproc): Copy Unix environment into + Vprocess_environment as list of strings. + * callproc.c (child_setup): Set `env' from Vprocess_environment + alone; don't keep `env' passed by caller. + + * ymakefile: New cpp-macro OTHER_FILES specifies + how to make the file `other'. + + * m-sun2.h: Define OTHER_FILES to compile etc/emacstool. + + * xfns.c (Fx_mouse_events, Fx_proc_mouse_event): + Set 4 bit in button character for a button-up event. + + * xfns.c (most calls to XSelectInput): + * xterm.c (XPopUpWindow): + Calls that specify ButtonPressed now also say ButtonReleased. + + * xterm.c (XTread_socket): Handle ButtonReleased like + ButtonPressed. + + * indent.c (Fmove_to_column): Declare `c' int; + type char caused lossage for chars >= 0200. + + * search.c (search_buffer): Don't accept a match + starting right at the end of the buffer. + + * xfns.c: Move extern declarations to top level. + Some functions were depending on the fact that all + extern declarations are effectively at top level in pcc. + + * buffer.c (Fbuffer_start_undo): Get error right if non-ex buf spec'd. + + * indent.c (several): Fix range checks on tab_width: + replace && with ||. + +1987-01-01 Richard Mlynarik (mly at prep) + + * indent.c (Fcurrent_column, Fmove_to_column): + Doc. + + * window.c (Fwindow_edges): + Doc. + + * process.c, callproc.c: + Make MAINTAIN_ENVIRONMENT stuff work yet again. + Clean up calling sequence of child_setup. + +1986-12-31 Richard M. Stallman (rms at prep) + + * search.c (search_command): abort before setting point + if new point value is out of range. + + * buffer.c (Fbuffer_enable_undo): New function. + +1986-12-26 Richard M. Stallman (rms at prep) + + * casefiddle.c (casify_region): Don't upcase within word + for CASE_CAPITALIZE_UP. + +1986-12-24 Richard M. Stallman (rms at prep) + + * window.c (save_window_save_1): + Don't make windows for start, pointm and mark fields + of windows without buffers; just store nil there. + Also store nil in start_at_line_beg field (was uninitialized + and that caused crash in GC). + + * window.c (all functions): Add register declarations. + + * window.c (Fsave_window_excursion): + Don't gcpro the saved window status. The specpdl does it. + +1986-12-23 Richard M. Stallman (rms at prep) + + * search.c: static_BM_tab should not be initialized. + +1986-12-22 Richard M. Stallman (rms at prep) + + * term.c (term_init): Default Wcm.cm_tab to 0 if no `ta' string. + + * fns.c: MASSCOMP_REGISTER_BUG => MASSC_REGISTER_BUG + + * fns.c (Fnth): Moved from subr.el. + * keymap.c (Fcopy_keymap): Moved from subr.el. + + * xdisp.c: Delete this_line_hpos; last dispnew change ends + need for it, and it was causing incorrect positioning + after direct_output_for_self_insert. + + * fns.c: Avoid warning if param.h defines BSD4_3. + + * dispnew.c (update_screen): Don't actually alter + cursX and cursY when putting cursor in echo area. + +1986-12-21 Richard M. Stallman (rms at prep) + + * window.h: New window field window_end_valid. + window_end_pos is now always positive; validity info + is in window_end_valid, which is t for valid and nil for not. + + * xdisp.c: Changed all uses of window_end_pos to use + window_end_valid appropriately as well. + + * process.c (wait_reading_process_input): + read_kbd is now a process pointer to wait for input + from one process. Return immediately if that process + is not running. + + * process.c (Faccept_process_output): + Pass process pointer to wait_reading_process_input. + +1986-12-20 Richard Mlynarik (mly at prep) + + * keyboard.c (Fsuspend_emacs): + If `suspend-emacs-hook' returns t don't suspend + -- assume the hook did the equivalent of `suspending' for us + (including calling suspend-resume-hook if necessary.) + Otherwise, call sys_suspend and so forth normally. + +1986-12-20 Richard M. Stallman (rms at prep) + + * buffer.c (Frename_buffer): If have auto save file but + no visited file, call rename-auto-save-file (a Lisp function). + + * buffer.c: add lots of register declarations. + (list_buffers_1): combine local `mode' with `tail'. + +1986-12-20 Richard Mlynarik (mly at prep) + + * xdisp.c (DoDsp and this_line_*): + Rename this_line_hpos -> this_line_start_hpos. + New variable this_line_hpos is cached horizontal position + on screen of point. + + Make this_line_* static variables. + + In DoDsp, rearrange the tests to see whether to use cached + line info to be a little faster. + Fix some bugs in which cursX and cursY might not be updated + correctly when using cached info (needed to add this_line_hpos + variable to do this correctly) + (Added unnecessary gotos and label `cancel' for added readability) + + * fns.c (Fy_or_n_p): + Move cursor to start of line after reading answer so + user knows emacs is proceeding. (Like after minibuffer exits) + + * dispnew.c (Fopen_termscript): + Arg of nil means to close current termscript file (if any) + + * keymap.c (Fwhere_is_internal): + Doc fix. + + * indent.c, search.c, xdisp.c: + All callers of ScanBf were searching for '\n' + Rename this function find_next_newline and drop first arg. + + * indent.c (Fvertical_motion): + Doc string addition. + + * keyboard.c (EchoThem): + Test for echo_keystrokes > 0, rather than echo_keystrokes != 0 + + * keyboard.c (get_char, read_key_sequence): + Echo immediately if cursor_in_echo_area, otherwise + can have the confusing situation of the cursor appearing at the + start of the echo area, but not have any echo appear until one + second later. + +1986-12-17 Richard M. Stallman (rms at prep) + + * editfns.c: Add register declarations and a few vars for cses. + * editfns.c (Fchar_equal): Avoid indexing downcase_table + with numbers larger than 0xff. + +1986-12-16 Richard M. Stallman (rms at prep) + + * alloc.c: New garbage collection technique for strings. + + Strings that have string blocks individually allocated + are called "large strings". Other strings are called "small". + + The string blocks for small strings are now chained both ways and + there is a pointer to the oldest one of them in `first_string_block'. + The string blocks for large strings are chained only from the + latest to the oldest, and the latest is in `large_string_blocks'. + + Garbage collection starts by setting MARKBIT in the `size' of + each large string. This allows mark_object to distinguish them. + MARKBIT in string sizes is cleared by gc_sweep. + + Large strings are freed individually by GC, like vectors. + Those in use are marked with ARRAY_MARK_FLAG in the `size' field. + + Small strings are relocated, compressing them within their + string blocks. + mark_object puts all slots that point at a string onto a chain + which runs from the string's `size' field, through all the slots + that used to point at the string. The end of the chain is shown + by a number that is small enough to be a small string's length. + + This new technique avoids calling malloc during GC. Thus, there + is no danger of fatal error on exhausting memory. Also, space + needed for strings is cut in half. + + The new technique introduces a potential for bugs, however. + If any slot is marked twice--for example, if it is GCPRO'd + twice by different functions--and it contains a string, + the ref chain of the string may become garbled. Sometimes + it will still work! This is because a slot that's part of a + string's ref chain will look like a Lisp_Int if the next thing + in the chain is malloc'd memory. But this will not win if the + next thing in the chain is a stack slot, or if malloc'd data + lives high up in memory. + + To avoid this problem, MARKBIT is used in stack slots + to prevent double marking. + + * bytecode.c (Fbytecode): Adjustment of gcpro1.nvars before + call to Ffuncall was off by one. + + * alloc.c (make_uninit_string): make_zero_string renamed as this + and no longer zeros the contents. + * alloc.c (Fmake_string): initialize string contents. + + * alloc.c (struct string_block): Now chained both ways thru + `next' and `prev' fields. `first_string_block' exists. + Strings with individual string blocks are now called "large" + and these string blocks go in a separate chain which starts + from `large_string_blocks' and runs via `prev' fields only. + + * alloc.c: Stop using clear_marks. Make gc_sweep clear + the marks on all live objects. + + * alloc.c (malloc_warning, Fgarbage_collect): Eliminate mechanism + that defers malloc warnings during GC, since GC no longer calls + malloc. + + * fns.c: Fding requires an arg; pass Qnil. + + * m-alliant.h: define TEXT_START as 0x1000. + Don't define LIBS_STANDARD; the default (sharable) library + is said to work now. + + * alloc.c (mark_object): Now pass address of slot being marked. + mark_object itself can alter the slot when necessary. + It now returns no value. All callers changed to pass the address. + + mark_object can now ignore the mark bit if it's set in the slot. + Callers need no longer make a copy in which mark bit is clear. + mark_object can clear the mark bit so these callers must still + set the mark bit again after calling mark_object on such slots. + +1986-12-15 Richard M. Stallman (rms at prep) + + * process.c (create_process): TIOCNOTTY needs no 3rd arg after all. + * sysdep.c (set_exclusive_use): ditto for FIOCLEX. + + * emacs.c (Fdump_emacs): [ALLIANT] + Copy _curbrk into save_curbrk, not vice versa. + +1986-12-13 Richard M. Stallman (rms at prep) + + * sysdep.c (flush_pending_output): 3rd arg to TIOCFLUSH + now is address of word containing zero. It matters. + + * editfns.c (Fformat): Fix another error in previous bug. + +1986-12-12 Richard M. Stallman (rms at prep) + + * Version 18.33 released. + + * data.c: Add many register declarations. + + * editfns.c (Fformat): Last change left `n' one too small. + +1986-12-11 Richard M. Stallman (rms at prep) + + * keyboard.c (Fsuspend_emacs): Pass no args to the + suspend-resume-hook. Also call a new hook, `suspend-hook', + before suspending. + + * search.c (search_buffer): In inner loop of BM search, + decide dynamically whether signed or unsigned comparison + of p_limit vs cursor will give the right results + and use the kind that will work. + +1986-12-11 Richard Mlynarik (mly at prep) + + * emacs.c, dispnew.c: + Rename inhibit_x_windows inhibit_window_system. + Understand "-nw" command-line option. + Reorganise init_display a little to make other window-system + code easier to accommodate. + + * editfns.c (Fformat): + Move the increment of the number of args the format string wants. + Share code for various kinds of arguments converted to strings. + +1986-12-10 Richard M. Stallman (rms at prep) + + * commands.h: Declare cursor_in_echo_area. + * dispnew.c (init_display): initialize it. + * dispnew.c (syms_of_display): make Lisp variable for it. + * dispnew.c (update_screen): If cursor_in_echo_area not 0, + set cursor position after last char on last screen line. + * fns.c (Fy_or_n_p): Set cursor_in_echo_area while read answer. + + * data.c (Fset_default): if RTPC_REGISTER_BUG defined, + don't declare `b' register. + * m-ibmrt.h: Define RTPC_REGISTER_BUG. + + * print.c (print, case Lisp_Window): + Add temp var `p' to help RT/PC compiler. + Declare printcharfun register. + +1986-12-09 Richard Mlynarik (mly at prep) + + * editfns.c (Fformat): + `%%' doesn't take an `arg' + + * doc.c (Fsubstitute_command_keys): + Fix stupid mistakes and errors. Rename many local variables + and rearrange some code. + +1986-12-07 Richard Mlynarik (mly at prep) + + * xfns.c (Fx_flip_color): + Missing paren in DEFUN arglist. + +1986-12-06 Richard M. Stallman (rms at prep) + + * Version 18.32 released. + + * process.c ({read,handle}_process_output): + Combine handle_process_output into read_process_output. + Check for case where read returns -1. + +1986-12-05 Richard M. Stallman (rms at prep) + + * process.c (read_process_output): Read only one buffer worth + and return without trying to read more. It used to loop + until all output was gobbled. Now some callers do this loop + but not all of them. + + * process.c (change_msgs): Call read_process_output repeatedly + until it returns 0 (no chars were read). + + * term.c (write_chars): loop counting repeated chars leaves + p at second nonrepeated char. Decrement p after the loop. + + * process.c (create_process): Use set_exclusive_use; + don't use FIOCLEX directly. + + * sysdep.c (flush_pending_output): + Pass a valid address as third arg to TIOCFLUSH, just in case. + * sysdep.c (set_exclusive_use): Likewise, with FIOCLEX. + * process.c (create_process): Likewise, with TIOCNOTTY. + + * xfns.c (XCleanUp): Pass Qt to Fdo_auto_save. + + * xfns.c (Fx_rubber_band): Set screen_garbaged. + + * doc.c (Fsubstitute_command_keys): + Use Fwhere_is_internal instead of where_is_in_buffer. + New construct = means use value of MAPVAR + as local map when calling Fwhere_is_internal. + + * keymap.c (Fwhere_is_internal, where_is_in_buffer): + Combine the two functions. This adds two arguments to + Fwhere_is_internal: KEYMAP and FIRSTONLY. + To get the old behavior, KEYMAP must be (current-local-map). + Therefore, KEYMAP is a mandatory operand for Lisp callers. + + * keymap.c (Fwhere_is): Pass new args to Fwhere_is_internal. + * keymap.c (apropos1): Call Fwhere_is_internal instead of + where_is_in_buffer. + + * search.c (Freplace_match): Check type of first arg. + + * abbrev.c (Fexpand_abbrev): For abbrev with hook, + run the hook in addition to (and following) insertion + of the expansion in the usual way. + + * editfns.c (Fformat): [MLY] + Compute number of args needed by format string; then + convert args from Lisp_Object to int or char *, defaulting + any not specified. + + Don't GCPRO; should not be needed since eval is not called. + + * editfns.c (format1): Args are ints or char *'s, + not Lisp_Objects. Call them ints. + +1986-12-04 Richard Mlynarik (mly at prep) + + * xfns.c (Fx_debug): + Return Lisp_Object + +1986-12-01 Richard Mlynarik (mly at prep) + + * xfns.c (Fx_set_font): + Don't die if font is "" (I believe this to be an X bug) + Also, add interactive specs for Fx_set_(internal_)border_width. + + * lread.c (oblookup): + Don't core-dump if data in obarray is invalid + +1986-12-01 Richard M. Stallman (rms at prep) + + * m-att3b.h: on 3b2, 3b5 and 3b15, #define C_OPTIMIZE_SWITCH null + since -O triggers compiler bug affecting push_key_description. + +1986-11-28 Richard Mlynarik (mly at prep) + + * keyboard.c (read_key_sequence): + Delay setting up the local vars pointing to keymaps until a + character has been read. This is in order that a change of keymap + `behind our back' (eg due to a subprocesses action) will be seen. + + * xterm.c: + Typo. + +1986-11-26 Richard M. Stallman (rms at prep) + + * sysdep.c (get_system_name): + Eliminate internal static var in USG case. + + * lisp.h: New case testing and conversion macros + UPPERCASEP, LOWERCASEP, NOCASEP, UPCASE, DOWNCASE. + They all work from downcase_table. + + * casefiddle.c (casify_object, casify_region): + Use those macros. Create an enum type for the flags + and change the flag names to avoid conflict with the macros. + + * abbrev.c (Fexpand_abbrev): Use those macros. + * editfns.c (init_editfns): + * fns.c (y-or-n-p): + * keymap.c (access_keymap): + * fileio.c (report_file_error): + * process.c (change_msgs): + + * search.c (Freplace_match): Use upcase_initials_region + insead of duplicating it. + + * keyboard.c (Frecursive_edit): If not the top-level edit, + specbind standard-output and standard-input to t. + * keyboard.c (command_loop_1): Don't set those two vars. + This avoids clobbering them permanently when minibuffer is used. + +1986-11-25 Richard M. Stallman (rms at prep) + + * callproc.c (child_setup): New arg `envlen' is length + of the list Vprocess_extra_environment. + This list's elements (strings) are put at the front of + the environment for the other program. + + * callproc.c (Fcall_process): Some rearrangement of + local variables for more register decls. Compute + and pass `envlen' arg to child_setup. + + * process.c (create_process): Compute and pass `envlen' arg + to child_setup. + + * xterm.c (x_term_init): Don't call XPopUpWindow at all. + Leave it for the term-setup-hook (see lisp/term/x-win.el). + + * keyboard.c (syms_of_keyboard): + Delete defsubr for usg-suspend-emacs. + + * fns.c, m-masscomp.h: Rename MASSCOMP_REGISTER_BUG + to MASSC_REGISTER_BUG to avoid shortnames confusion on V.0. + + * dispnew.c (direct_output_for_{self_insert,forward_char}): + These functions now return 0 if did nothing or 1 if did display. + * keyboard.c (command_loop_1): Notice the returned values. + + * window.c (change_window_height): + Add new variable delta1 so no need to use delta + for two different things. + Making window bigger to equal its parent's size used to crash. + Fix it by different way of computing delta1 in that case. + Move some variable decls to inner blocks and add "register". + +1986-11-24 Richard M. Stallman (rms at prep) + + * buffer.h: `modtime' field = 0 now means no info on visited file. + Nonexistent visited file now represented by -1. + + * fileio.c (Fverify_visited_file_modtime): + Adjust for changed meaning of `modtime'. + + * fileio.c (Finsert_file_contents): + If visiting and file doesn't exist, finish visiting (updating + various buffer slots) before getting error, and set modtime to -1. + + * bytecode.c (Fbytecode): Rarrange all the Bvarref cases to + share most of the code. Likewise for Bvarset, Bvarbind + and Bunbind cases. Makes it smaller and makes all + Bvarrefs use the fast inline code. + + * keymap.c (Fdefine_key, Flookup_key): + Regard chars 0200 and up as equivalent to 2 char sequences + starting with meta_prefix_char. + + * search.c (search_buffer and callers): + Complete rewrite from king@kestrel using simplified Boyer-Moore + algorithm. Meaning of returned value changed. + * search.c (bcmp_buffer_translated): No longer used; deleted. + + * search.c (ScanBf, scan_buffer): complete rewrite of ScanBf + and nearly all is now in scan_buffer, a new function. + * cmds.c (Fforward_line): Complete rewrite; now calls scan_buffer. + + * search.c (Fscan_buffer): Delete this. + * bytecode.c (Fbytecode): Just get error if Bscan_buffer is used. + + * ymakefile: Rename TEXT_START_ADDR to LD_TEXT_START_ADDR + to avoid shortname trouble (ymakefile is processed thru + the system's cpp). + + * sysdep.c (init_sys_modes): Change #ifdef USG to #ifdef _IOFBF + around the call to setvbuf. + + * sysdep.c (bcopy): declare it to return int + so that a forward declaration is not needed + so there is no problem defining it as a macro. + + * fileio.c (Fwrite_region): Don't try fsync on 4.1bsd. + +1986-11-23 Richard M. Stallman (rms at prep) + + * eval.c (record_unwind_protect, specbind, unbind_to, Funbind_protect): + struct specbind now has a new slot `func'. An internal + unwind-protect stores the C function address there; else it's 0. + Lisp_Internal_Function data type no longer used. + Result is no more dependency on where in the address space + function addresses are found. + + * xterm.c (x_term_init): Better message if server does not + respond. + + * version 18.31 released. + + * xterm.c, xfns.c (Vxterm1): Lisp var `xterm' now points at + Vxterm1, which is initialized like Vxterm but never examined. + + * xterm.c (XTread_socket): Use C-x C-@ to indicate mouse click. + +1986-11-22 Richard M. Stallman (rms at prep) + + * bytecode.c (Fbytecode): Turn on immediate_quit for Bnth loop. + + * keymap.c (Fcurrent_global_map): New function + that returns the current global map. + +1986-11-21 Richard M. Stallman (rms at prep) + + * emacs.c (main, Fdump_emacs): [ALLIANT] save _curbrk + before dumping and restore when starting dumped Emacs. + + * process.c (wait_reading_process_input): + [ALLIANT] if select returns with EFAULT, just set Available = 0. + [always] copy errno right after the select and check the copy + in case another system call could alter it in between. + + * m-alliant.h, m-mg1.h: New machines supported. + + * ymakefile: Make START_FILES a preprocesser variable + and don't change it if already defined. + * m-gould.h: Move special gould value of START_FILES here. + + * fileio.c (syms_of_fileio): Define variable vms-stmlf-recfm. + * sysdep.c (sys_creat): If vms_stmlf_recfm is nonzero, + create new files with rfm=stmlf. + +1986-11-20 Richard M. Stallman (rms at prep) + + * eval.c (unbind_catch): Don't ref thru handlerlist if null. + + * keyboard.c (Fusg_suspend_emacs): Delete this. + * sysdep.c (sys_suspend): Put in USG_JOBCTRL + method of suspending with ptrace. + +1986-11-19 Richard M. Stallman (rms at prep) + + * xterm.c (x_term_init): Delete attempt to set up + a handler for SIGIO. This was normally overridden in + init_keyboard so it didn't matter; but this handler + is invalid, so it crashed if it ever did get called. + + * indent.c (compute_motion): Fix screwy #if celerity || ATT3B + which is invalid. + +1986-11-18 Richard M. Stallman (rms at prep) + + * keyboard.c (command_loop_1): + Must check to reselect buffer and flush minibuf message + before trying fast_read_single_key. Else have lossage + typing printing chars when minibuf message is displayed. + + * keyboard.c (Fsuspend_emacs): + Execute suspend-resume-hook value on resumption. + + * lisp.h: Make initialized global. + * data.c (init_data): Undo last change; not needed now. + +1986-11-18 Richard Mlynarik (mly at prep) + + * emacs.c (main): + Giving `inhibit_x_windows' an initialisation loses; + do it explicitly. + + * xfns.c (Fx_rubber_band): + Make interactive. + +1986-11-18 Richard M. Stallman (rms at prep) + + * dispnew.c (window_change_signal): + New function to handle SIGWINCH, defined only if SIGWINCH is. + Turned on in init_display if CANNOT_DUMP or if initialized. + + * data.c (init_data), editfns.c (init_editfns): + Test initialized, not Vpurify_flag. Use explicit + conditionals to avoid the test when CANNOT_DUMP. + +1986-11-17 Richard M. Stallman (rms at prep) + + * buffer.c (Ferase_buffer): Zero the buffer's save_length. + Future text after erase is unrelated to past text + so should not suspend auto saving if future text is smaller. + + * buffer.c (init_buffer_once): + Was passing entire structure to bzero; now pass address. + + * fns.c: Prevent warning in 4.3 where param.h does #define BSD + +1986-11-16 Richard M. Stallman (rms at prep) + + * dispnew.c (init_display): Set window-system to symbol x, not "X". + * dispnew.c (syms_of_dispnew): Initialize window-system to nil. + + * xfns.c (grey_p): Insert missing commas. + * emacs.c (main): Fix typo "ihhibit_x_windows". + + * xterm.c (x_term_init): Delay calling XPopUpWindow + till after Vxterm is set. Also must include lisp.h. + Also always set Vxterm if CANNOT_DUMP. + + * xfns.c, xterm.c: Include signal.h before xterm.h + because on 4.3 both of them define sigmask + and only xterm.h considers the case that it is already defined. + + * buffer.h: Add BufferSafeCeiling and BufferSafeFloor. + + * process.c (Fprocess_send_eof): + Now has conditional on DID_REMOTE, which is defined + if TIOCREMOTE is actually used. + +1986-11-15 Richard M. Stallman (rms at prep) + + * Emacs version 18.30 * + + * xdisp.c (display_string): + Change minwidth and maxwidth args to mincol and maxcol: + minimum and maximum absolute hpos to end at. + Change all callers (all in xdisp). + + * xdisp.c (display_mode_element) + Similar change of minwidth and maxwidth args. + This permits considerable internal simplification + and deletion of the function display_mode_element_1. + + * xdisp.c (decode_mode_spec): Flush unused arg minwidth. + Change call (in display_mode_element). + +1986-11-14 Richard M. Stallman (rms at prep) + + * process.c (create_process): Don't get a pty + if the new variable Vprocess_connection_type is not t. + This is the Lisp variable process-connection-type. + +1986-11-13 Richard M. Stallman (rms at prep) + + * crt0.c: Rename GLOBAL_START_{DOT,NO_DOT} + to {DOT,NODOT}_GLOBAL_START to avoid shortnames trouble. + * m-vax.h, m-tahoe.h, m-sequent.h: same change. + + * m-att3b.h: Turn off #define VIRT_ADDR_VARIES + (kk says no need for it). + + * keyboard.c (Fcommand_execute): + Zero debug_on_next_call before running the command. + +1986-11-12 Richard Mlynarik (mly at prep) + + * data.c (Fsequencep): + (sequencep nil) => t + + * xdisp.c (display_string): + Put a "|" at end of mode-lines of partial-width windows. + + * xdisp.c (various): + mode-line-format %259 means to pad field to 259, but not to + truncate it. + (259 . ) also means to pad. + (-259 . ) means to truncate to 259, but not to pad. + [So (-259 . (259 . x)) means to format x -exactly- 259 chars wide.] + + * dispnew.c (Fding): + Do not terminate macro-definition if given an argument + (This is so things like asynchronous process notifications + can beep but not screw) + +1986-11-10 Richard M. Stallman (rms at prep) + + * fileio.c (Fset_file_modes): [APOLLO] must reset + modtime after changing the modes. + +1986-11-10 Richard Mlynarik (mly at prep) + + * buffer.c (init_buffer_once): + There is no lisp variable corresponding to buffer-name + +1986-11-10 Richard M. Stallman (rms at prep) + + * xdisp.c (display_string): Measure new line length + from start of line body. + +1986-11-09 Richard M. Stallman (rms at prep) + + * lread.c (oblookup, map_obarray): + Do not use XFASTINT on `next' fields of symbols. + Fix incorrect sense of test for end of bucket. + + * filelock.c (current_file_owner): + Fix incorrect sense of test with `kill' + for death of previous locker. + + * keyboard.c (get_char): + Arg of -1 now means don't do redisplay. + Rearrange conditionals so detect_input_pending is not called + in certain cases. + + * keyboard.c (read_key_sequence): + New arg nodisplay, nonzero means pass -1 to 1st call to get_char. + + * keyboard.c (command_loop_1): + After a command that does direct screen updating, + if buffer_shared is not more than 1, + pass 1 for nodisplay to read_key_sequence. + + * minibuf.c (Fminibuffer_depth): New function returns + value of MinibufDepth as a Lisp Int. + + * dired.c (Ffile_attributes): Return inode # as element 10. + + * dispnew.c (update_line): + Fix bug that noop'd the attempt to let new explicit spaces + match the implicit space past end of old line. + Also do not ignore trailing spaces in a highlighted line; + instead, give it more trailing spaces so it reaches the margin. + +1986-11-08 Richard M. Stallman (rms at prep) + + * data.c (init_data): Don't call signal if purifying. + * ymakefile: Stop using gould-sigvec.s. + No longer needed now that signal really isn't called. + * unexec.c: Eliminate gould-specific code to + reinitialize gould-sigvec.s. + +1986-11-07 Richard M. Stallman (rms at prep) + + * m-vax.h: Turn off NO_REMAP. + + * sysdep.c (end_of_{data,text}): Omit them if CANNOT_DUMP. + + * fileio.c (Fwrite_region): APOLLO is now like VMS + in doing the stat after the close. + + * emacs.c (main): If APOLLO, don't call malloc_init. + We use the system's malloc on the Apollo. + + * editfns.c (init_editfns): + If CANNOT_DUMP, do all the work, regardless of Vpurify_flag. + + * alloc.c (mark_object): If not SWITCH_ENUM_BUG + don't cast the switch quantity to int. + + * process.c (pty): [HPUX] Do TIOCREMOTE. + + * unexec.c (makehdr): Code to adjust, default and validate + data_start and bss_start now common to COFF and non-COFF cases. + + * unexec.c (makehdr): Param SEGMENT_MASK controls rounding of + memory-address of text-data boundary (default is pagemask). + [COFF only] SECTION_ALIGNMENT controls rounding of file addresses + of section beginnings; default is no rounding. + [non-COFF] ADJUST_EXEC_HEADER is hook to be executed + before filling in a_text, etc. of the header. + + With these parameters, all known machines can be handled + with no special conditionals. + + * m-sun1.h, m-sun2.h, m-isi-ov.h: Define SEGMENT_MASK. + * m-stride.h, m-nu.h, s-umax.h: Define SECTION_ALIGNMENT. + * m-masscomp.h, m-gould.h, s-hpux.h: Define ADJUST_EXEC_HEADER. + * m-gould.h: Define A_TEXT_OFFSET = sizeof (hdr) + + * unexec.c (makehdr): Remove ibmrt conditionals + that adjusted a_text or equivalent, by just copying from + the old file when NO_REMAP. + + * unexec.c (makehdr): Zero supplied as entry_address + means copy it from the old file. + * emacs.c (Fdump_emacs): Pass 0 as entry_address to unexec. + + * unexec.c (copy_text_and_data): + Two fixes for A_TEXT_OFFSET case: + Don't decrement `end', and remove (unconditionally) + the lseek before writing the data segment. + +1986-11-06 Richard M. Stallman (rms at prep) + + * keymap.c (apropos1): Use Fdocumentation_property, not Fget, + for doc strings of variables. + +1986-11-05 Richard Mlynarik (mly at prep) + + * m-att3b.h: + #define TEXT_START 0 + +1986-11-05 Richard M. Stallman (rms at prep) + + * alloc.c (Fcons, Fmake_symbol, Fmake_marker, gc_sweep): + The free-list pointers in symbols, conses and markers + are now C pointers cast as ints and stored in the XFASTINT. + This may make faster code and in any case avoids problems + with machines where access with XPNTR relocates the pointer. + + * lread.c (oblookup, map_obarray): + Use XFASTINT when comparing a Lisp_Object against zero. + + * minibuf.c (read_minibuf): + If noninteractive, print the prompt, since + it won't be displayed in the normal way. + In any case, pass Fread the string rather than a buffer + when reading an s-expression. + + * auxdoc.c, callint.c, syntax.c, ymakefile: + Copy fake-DEFUNs from auxdoc.c into comments + preceding the real DEFUNs for the same functions. + auxdoc.c is no longer in use. + + * fileio.c (Fread_file_name_internal): + [VMS only] Return t if file name is null string. + +1986-11-04 Richard M. Stallman (rms at prep) + + * buffer.c (Fget_buffer_create): + For default-major-mode = nil case, use fundamental-mode + if old buffer's mode name has a non-nil mode-class property. + Requires creating Qmode_class to hold the symbol mode-class. + + * s-hpux.h: #undef HAVE_PTYS because of problems with + scheme running as an inferior on a pty. + jinx@prep requested this. + + * lread.c (check_obarray & its callers): eliminate 2nd arg. + Also, don't confuse types int and Lisp_Object. + If invalid value matches Vobarray, store a valid Vobarray. + + * editfns.c (Fformat): Don't use an initialization for tem + since it is a Lisp_Object and that can be a struct. + + * minibuf.c (Ftry_completion, Fall_completions): + Use XFASTINT when testing `bucket' for nonzero or + setting it to zero. + + * callint.c (Fcall_interactively): If visargs[i] is nil, + don't try to reference it as a string. + + * doc.c (FSnarf_dcumentation): + Was assuming exec-path was a string. Fixed to use + exec-directory instead, and to validate its data type first. + +1986-11-04 Richard Mlynarik (mly at prep) + + * m-isi.h => m-isi-ov.h + +1986-11-04 Richard M. Stallman (rms at prep) + + * buffer.c (init_buffer_once): + Avoid casts from int to Lisp_Object (which would lose + if NO_UNION_TYPE is not defined); use XFASTINT. + +1986-11-03 Richard Mlynarik (mly at prep) + + * xterm.c (stufflines): + Initialise signal mask. + + * xterm.h: + Add definition of sigmask + +1986-11-01 Richard Mlynarik (mly at prep) + + * m-sun3.h: + #undef sun2 ? #define sun3 + + * termcap.c: + Include Dave Genzel @ Unilogic's VMS termcap stuff. + + * termcap.c: + #ifdef emacs ? #include config.h + + * fileio.c, fns.c, m-vax.h: + Fixes for VMS cpp. (#undef foo -> #ifdef foo ? #undef foo) + +1986-10-31 Richard Mlynarik (mly at prep) + + * vmsmakefile (new file) + + * crt0.c, unexec.c, m-isi.h (new file): + Integrated Solutions 68k port. + +1986-10-30 Richard Mlynarik (mly at prep) + + * m-vax.h (USG-only changes): + #define NO_REMAP (I don't understand exactly why one needs to do + this -- is there an unexec bug?) + #define TEXT_START = 0, since C code can't access `start' symbol. + + * lisp.h, sysdep.c, indent.c, m-att3b.h: + USG and att3bxxx changes from karl@ohio-state.arpa + Define NO_REMAP, undefine LD_SWITCH_MACHINE + + * buffer.c (Fbuffer_local_variables): + Return correct values when buffer is selected-buffer + + * keyboard.c (cmd_error): + non-zero exit status on error. + + * filelock.c: + Don't get MPV if buffer-file-name isn't a string or nil. + +1986-10-29 Richard Mlynarik (mly at prep) + + * keymap.c (Flookup_key, Fdefine_key): + Don't bomb on zero-length strings. + + * filelock.c (Ffile_locked_p): + New function. + + * window.c (Fset_window_hscroll): + Don't inhibit redisplay optimisations if hscroll is same. + + * ymakefile: + rm ../etc/DOC to avoid make-docfile overwriting any files which + were linked to it (unix sucks) + +1986-10-28 Richard Mlynarik (mly at prep) + + * vmsmap.c, termcap.c, sysdep.c, config.h-dist: + VMS changes from Sasaki + + * termcap.c (tgetent): + Make sure `indirect' initialised. + + * xfns.c (grey_p and callers): + New function to compensate for ugly chauvinistic American + spelling. + + * keymap.c (describe_*): + Don't mention keys in global map which are shadowed by + local bindings + + * dispnew.c, sysdep.c, dired.c: + Eschew ^#if.*defined (for VMS' sake) + + * keymap.c (Fkeymapp, Flookup_key): + Add QUIT test. + +1986-10-27 Richard Mlynarik (mly at prep) + + * callproc.c, fileio.c: + VMS changes (make environ noshare, don't call fsync) + +1986-10-26 Richard Mlynarik (mly at prep) + + * sysdep.c, unexec.c, ymakefile: + Gould changes. (marick%cthulhu@gswd-vms.ARPA) + + * gould-sigvec.s: + New file. + + * m-gould.h: + New file (for utx/32 2.0 and above) + Old file renamed m-ogould.h. See etc/MACHINES + for more information. + + * unexec.c (make_hdr): + Typo "#ifdef A_TXT_OFFSET" should be "A_TEXT_OFFSET" + +1986-10-22 Richard Mlynarik (mly at prep) + + * keyboard.c, keymap.c: + Move Fexecute_extended_command from keymap.c to keyboard.c rather + than make kludgy static vars global. + + In Fexecute_extended_command record `(this-command-keys)' and + `last-command' accurately. + + * emacs.c (main), dispnew.c (init_display): + Add -nx flag, meaning to inhibit X windows and just run in the + current virtual terminal. (Perhaps there should be a generic flag + to disable any special window-system code) + Add Vwindow_system variable. + + * search.c (Fstring_match): + Do range-checking on `start' argument. + +1986-10-21 Richard Mlynarik (mly at prep) + + * xterm.c, xfns.c (x_term_init, x_change_display): + Share command code, and make that code use + {request,unrequest,init}_sigio + + * term.c (init_display): + Determine whether we are under X by whether DISPLAY env var is + set, not by whether TERM is "xterm" + + * xterm.c (x_term_init): + Remove (if (!initialized) ...) test. + Set Vxterm directly, rather than calling setxterm (flush latter) + + * lread.c (various): + Changes for when can't take XSYMBOL of 0 and to make check_obarray + code work correctly. + +1986-10-20 Richard Mlynarik (mly at prep) + + * m-stride.h, process.c, sysdep.c, unexec.c: + Stride changes. + +1986-10-18 Richard Mlynarik (mly at prep) + + * buffer.c: + Made default-major-mode same as (default-value 'major-mode) to + avoid user confusion. + +1986-10-17 Richard Mlynarik (mly at prep) + + * cmd.c, process.c: + Doc fixes from sjk + + * buffer.c (init_buffer_once): + Do x = (Lisp_Object) 1 instead of (int) x = 1 for benefit of vms + and pyramid compilers. + + * minibuf.c (Ftry_completion): + Test (bucket), not (XSYMBOL (bucket)) since Lisp_Objects may not + be able to be 0 on some implementations. + + * editfns.c (Fformat): + Have to duplicate doprnt's work of decoding the + format-string top ensure that don't die on (format "%s" 0) + Also, use prin1-to-string to get PR for random objects + + * m-celerity.h: + HAVE_ALLOCA + +1986-10-16 Richard Mlynarik (mly at prep) + + * m-att3b.h: + New file -- replaces m-3b20.h + + * alloca.c, fileio.c, indent.c, unexec.c, ymakefile: + Bugs and fixes for att3b (and usg) + Use a global static var rather than a local one + to record the last block allocated by alloca. + + * fileio.c (Fverify_visited_file_modtime): + If a formerly-nonexistent file has been created since we ``found'' + it, say there is a discrepancy. + +1986-10-14 Richard Mlynarik (mly at prep) + + * callint.c (Fprefix_numeric_value): + Doc typo. + + * malloc.c, regex.c: + Nuke "#if defined..." for VMS + +1986-10-12 Richard Mlynarik (mly at prep) + + * xdisp.c (many functions): + Rearrange the way in which the mode-line stuff is hacked: + in particular, display_string doesn't have a special-case + for %-escapes -- this is now all done in display_mode_element. + This was necessary to make %M work correctly. + Also, fix a few bugs (buffer-name truncation could cause + core-dump) + + Dike out global-minor-modes. This wasn't actually being used by + anything (due to a bug) and wasn't even being initialised! + minor-mode-alist does what this thought it was doing. + +1986-10-11 Richard Mlynarik (mly at prep) + + * doc.c (FSnarf_documentation): + In CANNOT_DUMP case wasn't treating PATH_EXEC as a path -- + now uses exec-path instead. + + * lisp.h: + Get rid of #if defined... for benefit of vms + +1986-10-09 Richard Mlynarik (mly at prep) + + * abbrev.c (Funexpand_abbrev): + Preserve position of point. + +1986-10-07 Richard Mlynarik (mly at prep) + + * s-hpux.h: + #define HAVE_PTYS + + * alloca.c: + Make some attempt to work in the USG case where "#define static" + is done. + + * keyboard.c: + #undef FIONREAD in HPUX (seems to be unimplemented or broken) + The only reason this ever seemed to work was because of a bug in + v17. + + * sysdep.c (child_setup_tty): + HPUX was defaulting terminal speed to 300 baud. + + * alloca.s: + New hp9000 C function calling sequence. + + * fileio.c (Fexpand_file_name): + Fix bug in (expand-file-name ".." "/foo/") + + * callint.c (Fcall_interactively): + Remove extreme weirdness of storing (int) "" where a Lisp_Object + was expected (in visargs) + Slighly more informative error message for bad interactive code + letter. + + * abbrev.c (Funexpand_abbrev): + Was deleting length of original text rather than length of + expanded abbrev. + + * abbrev.c (Fexpand_abbrev): + Add an Fundo_boundary so that undo works to unexpand + abbrevs. + +1986-10-03 Richard M. Stallman (rms at prep) + + * ymakefile: Make LIBS_STANDARD the last libs loaded. + + * xterm.c: Load sys/types.h explicitly if xterm.h doesn't do it. + + * keyboard.c (interrupt_signal): + Delete suprious `)' in HAVE_X_WINDOWS case. + +1986-10-03 Richard Mlynarik (mly at prep) + + * sysdep.c (sys_suspend -- fake suspend case) + Missing comment */ terminator + +1986-10-02 Richard Mlynarik (mly at prep) + + * search.c: + There may be `holes' in regexp registers after a match: consider + matching "z" against "\\(\\(xyzzy\\)\\|\\)\\(z\\)" -- then + register 2 is unmatched, whilst registers 0, 1 and 3 have matches. + Fix register-hacking code in Flooking_at, search_buffer, + Fmatch_data, Fstore_match_data. + + * crt0.c: + HP200 floating-point (sigh -- needed for load-average) + + * sysdep.c (HPUX perror): + Should be "perror" not "_perror" -- communication foulup, sorry. + +1986-10-01 Richard M. Stallman (rms at prep) + + * marker.c (Fcopy_marker): Was stupidly failing to put + the new marker on the buffer's chain. Fix to go thru Fset_marker. + This really does fix the crashes in GC. + + * sysdep.c (for HPUX): Define utimes and _perror as no-ops. + + * marker.c (Fset_marker): If attempt to set marker + to point to a dead buffer, set it to point nowhere. + + * buffer.c (Fkill_buffer): Clear out the buffer's markers chain. + + * keyboard.c (interrupt_signal): + Turn off the double-C-g feature when running under X windows. + +1986-09-29 Richard M. Stallman (rms at prep) + + * search.c: search_regs elements are now the correct character + numbers or string indices. 1 is not added when they are used; + instead the values are corrected just after regex library returns. + The loops to do this exit at the first -1 (unused register). + + * alloca.s: Convert HP9000 code to new assembler syntax. + Rename flag hp9000s200 to hp9000. [mly] + + * crt0.c: Convert HP9000 code to new assembler syntax. [mly] + + * buffer.c (Fdelete_buffer_internal): Unused; deleted. + + * marker.c (unchain_marker): + Dump core if first marker on buffers marker list + does not have that buffer as its buffer. + May help find bug where after GC a buffer's first marker + was on the free list. + + * keyboard.c (cmd_error): In -batch, die after error message. + + * bytecode.c (Fbytecode): + Open-code Bvarref with one-byte arg. + + * callproc.c (init_callproc): Use only first element of + Vexec_path to make Vexec_directory. [mly] + +1986-09-28 Richard M. Stallman (rms at prep) + + * data.c (Fsymbol_value): use assq_no_quit instead of Fassq. + * fns.c (assq_no_quit): Like Fassq but never quits or gets errors. + + * keyboard.c (quit_throw_to_get_char): + * eval.c (Fsignal): + Call quit_error_check. + * dispnew.c (quit_error_check): + Dump core if DesiredScreen is not full of zeros. + This is to catch the bug wherein DoDsp called from get_char + died because DesiredScreen was full of lines already. + +1986-09-26 Richard Mlynarik (mly at prep) + + * regex.c (re_match_2), search.c (various): + The registers modified by re_{search,match}{,_2} + now have start and end of -1 if that register was + not used in the match found. + Fmatch_data now returns a list of twice the number of registers + -actually- used (including register 0, for the whole match) + + * process.c (Fwaiting_for_user_input_p): + New function for use by process-filters and sentinels + so they can determine if it might be an appropriate time + to try to make some sort of asynchronous notification. + +1986-09-26 Richard M. Stallman (rms at prep) + + * keymap.c (syms_of_keymap): Add missing defsubr + for Fdefine_prefix_command, + + * abbrev.c (Fexpand_abbrev): Save original text of the abbrev + in Vlast_abbrev_text. + * abbrev.c (Funexpand_abbrev): Restore the original text. + Thus expand and unexpand preserves case. + Also, if there is no abbrev to unexpand, do nothing. + * abbrev.c (syms_of_abbrev): + Turn Lisp variables last-abbrev and last-abbrev-text back on. + * abbrev.c (Flast_abbrev_expansion): Delete this function. + +1986-09-25 Richard M. Stallman (rms at prep) + + * window.c (Fwindow_width): return a value one smaller + for partial-width windows that contain a | border. + + * macros.c: Remove Fname_last_kbd_macro (moved to macros.el). + +1986-09-25 Richard Mlynarik (mly at prep) + + * unexec.c: + Include a.out.h before getpagesize.h, since EXEC_PAGESIZE + may be defined in a.out.h + + * dispnew.c: + Only define TIOCOUTQ as TCOUTQ if the latter as defined, + so that ifdef conditionals on the former work as expected. + + * sysdep.c (sys_suspend): + Needed to include buffer.h for getting cwd when doing a fake suspend. + (for system v and other complete losers) + Rather than doing that include (which tickled some cretin-compiler + bugs) look up bf_cur->default_directory by + Fsymbol_value (Qintern ("...")) + +1986-09-24 Richard Mlynarik (mly at prep) + + * editfns.c (Fregion_beginning, Fregion_end): + Share common code (this doesn't have to be so fast that the + extra function-call could hurt) + + * editfns.c, window.c, callint.c, buffer.c: + Don't allow bf_cur->mark to be nil. + Instead, to indicate that the mark is not set, + make the marker not point at anything. + This simplifies life quite a lot. + + Add sanity checking in case user sets mark to point to different + buffer (he could do this by side-effecting (marker-mark) stupidly) + + Change definition of marker-mark so that it returns a marker + object which doesn't point anywhere when there is no mark, + rather than nil. This is more useful. + + * editfns.c, bytecode.c. + Move set-mark, mark to lisp code. + + * editfns.c (Fset_mark) + Not interactive. + +1986-09-23 Richard M. Stallman (rms at prep) + + * crt0.c, m-hp9000.h: rename hp9000s200 to hp9000. + * m-hp9000.h: New name for m-hp200.h. + * unexec.c (for hpux): define MY_ID from HP9000S200_ID + if that exists; else use model.h. + + +1986-09-21 Richard M. Stallman (rms at prep) + + * search.c (search_buffer): Fix backwards condition + in whether the translate table can be ignored. + + * process.c (Fprocess_send_string): Name of function for Lisp + had a typo. + + * eval.c: When looping getting the function definitions of + symbols, check for quit. + + * lisp.h: Restore old declaration of `getenv' + since removing it causes warnings in many places. + + * minibuf.c (scmp): Return correct value. + +1986-09-21 Richard Mlynarik (mly at prep) + + * editfns.c (Finsert_char): + New function. There are a lot of places in lisp code + which want to insert multiple copies of a constant char. + This is a faster way of doing it, and doesn't cons + (unlike (insert (make-string n c))) + +1986-09-21 Richard M. Stallman (rms at prep) + + * process.c (make_process): Code to compute # elts in + vector to make a Lisp_Process had several errors: + Took size of pointer rather than of struct Lisp_Vector + and had wrong sign compensating for first element. + + * fileio.c (directory_file_name): If arg is "/", return "/". + +1986-09-20 Richard M. Stallman (rms at prep) + + * minibuf.c (Fdisplay_completion_list): + New Lisp-callable function replaces minibuffer_completion_help_1, + with a little new feature: elements of the completion list + may be lists of two strings, and if so the two strings + are printed in immediate succession. + +1986-09-19 Richard Mlynarik (mly at prep) + + * minibuf.c (scmp and callers) + Don't be fazed by '\0' in strings. + + * lisp.h, search.c, minibuf.c + Use downcase_table + +1986-09-18 Richard Mlynarik (mly at prep) + + * ymakefile, emacs.c, callproc.c, process.c, fns.c + Install MAINTAIN_ENVIRONMENT conditional to call environ.c. + +1986-09-16 Richard M. Stallman (rms at prep) + + * keymap.c (where_is_in_buffer): Fix bug in checking for shadowed + keys: do Flookup_key only on local map, and ignore value if + it is a number (that means key is locally undefined). + +1986-09-15 Richard Mlynarik (mly at prep) + + * buffer.c (Fbury_buffer) + Make this function interactive (bury current buffer) + Do error-checking on arg. + +1986-09-15 Richard M. Stallman (rms at prep) + + * emacs.c (main): Eliminate VMS -nl switch. + Instead, `-map FILE' says to map data file FILE; + no switch means don't map any file. + Can call mapin_data directly since exact file name is given. + + * emacs.c (undump_emacs): Delete this. + + * emacs.c (main): Make it work to use more than one of the + special switches (-batch, -t, -map). + +1986-09-14 Richard M. Stallman (rms at prep) + + * Renamings for VMS. + config.h.dist => config.h-dist + paths.h.dist => paths.h-dist + [ms]-*.*.h => [ms]-*-*.h + s-usg5.2.2.h => s-usg5-2-2.h + + * Some new files for VMS. + compile.com, link.com, precomp.com, ccom.com, + testemacs.com, build.com are command files. + temacs.opt is a linker control file. + VMSBUILD gives info on how to use them. + README describes what this directory is for. + +1986-09-13 Richard M. Stallman (rms at prep) + + * sysdep.c (reset_sys_modes): + Delete never-used VMS & SIGIO conditional. + Call reset_sigio just once. No need to clear FASYNC here + now that init_sigio makes sure it is clear in old_fcntl_modes. + + * eval.c (top_level_value, top_level_set): + These are new names for Fglobal_value and Fglobal_set, + which are no longer callable from Lisp. + They are also commented out. + +1986-09-12 Richard Mlynarik (mly at prep) + + * xfns.c (Fx_rebind_key) + Fix typo. + + * mocklisp.c: + Delete ml-substr. Move to mlsupport.el + + * buffer.c + The real work of setting up mode_line_default is done in + loaddefs.el. + + * lread.c, data.c, marker.c, window.c + Flush the last callers of defalias. Flush defalias. + (Use fsets in subr.el instead) + +1986-09-11 Richard Mlynarik (mly at prep) + + * emacs.c (main) + Under X, accept "-display" switch as synonym for "-d" + + * eval.c (spedcbind) + Don't make Lisp_Buffer_Objfwd's buffer-local when just binding. + (so now (let ((case-fold-search t))) doesn't force buffer-localness) + However, setting a binding will still make it buffer-local. + (ie (let ((case-fold-search t)) (setq case-fold-search t)) + will cause case-fold-search be buffer-local even outside the let) + + * xfns.c + Preserve studlycaps: "Gnuemacs" => "GNU Emacs" + + * Various + Flush last users of LISTP => CONSP + + * buffer.h + Make backed_up a Lisp_Object, since it is one! + Make abbrev_table a magic-local-variable. + + * alloc.c (mark_buffer) + Simplify, simplify. + + * buffer.h: + Reorder elements of struct buffer so that Lisp_Object + slots are contiguous from buffer.name through to the + end of the buffer. All slots before buffer.name are + not Lisp_Objects (except buffer.markers, which is gc-magic) + + Eliminate useless buffer.number slot. + + * buffer.c (Fbuffer_number): + delete. + +1986-09-10 Richard M. Stallman (rms at prep) + + * process.c (Fsend_{string,region}): rename as Fprocess_send... + and change names of Lisp function. Old names now aliases in subr.el. + +1986-09-10 Richard Mlynarik (mly at prep) + + * buffer.c + New struct buffer_local_symbols. + staticpro buffer_defaults, buffer_local_symbols. + + * lread.c (defvar_per_buffer) + Hack buffer_local_symbols + + * buffer.c (Fbuffer_local_variables) + (a) Fcopy_alist so don't return any shared list structure + (b) Include names and values of Lisp_Buffer_Objfwd locals. + + * alloc.c (FGarbage_collect): + Don't mark buffer_defaults specially, as it is now in staticvec + + * dired.c (Fdirectory_files): + Optional third argument match is a regexp specifying + to only return files whose names contain a match for that regexp. + [eg ``(directory-files "/u2/emacs/" nil "\\`[^#]")''] + +1986-09-10 Richard M. Stallman (rms at prep) + + * alloc.c (Fgarbage_collect): Use open code instead of Fnthcdr + to avoid possibility of error. + + * lread.c (Fload, load_unwind): The Lisp_Internal_Stream + now points to a word got with xmalloc and that points to the FILE. + On Elxsi, the FILE address is not in the part of the address + space that Lisp_Object pointers can reach. New way can't lose. + +1986-09-09 Richard M. Stallman (rms at prep) + + * crt0.c: Add _start for elxsi. + +1986-09-07 Richard Mlynarik (mly at prep) + + * minibuf.c (read_minibuf) + gc-protect the saved data! + I'm don't know why this doesn't just bind help-form + (and current-prefix-arg) esp since there is already an + unbind_to which would help us do this. + Since I don't know why the `bindings' are done this way, + I'm leaving the unwind-protect hair, and adding GCPRO hair. + + * minibuf.c (read_minibuf, read_minibuf_unwind) + preserve the value of current-prefix-arg. + + * minibuf.c: + Eliminate read_minibuf_string. + Move defalias for read-input to subr.el + + * callint.c, fns.c, lisp.h + Call read_minibuf instead of read_minibuf_string. + +1986-09-04 Richard Mlynarik (mly at prep) + + * fns.c (Fy_or_n_p, Fyes_or_n_p) + Beep if the user types an invalid response. + +1986-09-03 Richard M. Stallman (rms at prep) + + * dispnew.c (update_screen): + Take out previous change. + + * xdisp.c (DoDsp): Move call to request_sigio + after update: so it cannot be bypassed. + + * sysdep.c (init_sigio): set old_fcntl_flags here + only once; don't change it in request_sigio. + * sysdep.c ({un,}request_sigio): + Set interrupts_deferred while SIGIO is unrequested. + Abort if FASYNC is already set when request_sigio is called. + * keyboard.c (get_input_pending): + Always do FIONREAD if interrupts_deferred. + +1986-09-01 Richard M. Stallman (rms at prep) + + * xterm.c/xfns.c: Many changes from rlk, + including using sigblock/sigsetmask to block signals + instead of turning handler off and on. + + * dispnew.c (update_screen): + If interrupt input, wait while output gets written + before returning. If observed loss of output really is + a kernel bug, this may make it stop. + +1986-08-31 Richard M. Stallman (rms at prep) + + * keymap.c (where_is_in_buffer): + Use Fequal rather than EQ to test for a match + if the object being searched for is a cons cell. + +1986-08-30 Richard M. Stallman (rms at prep) + + * data.c (Fsetq_default): new function. + +1986-08-28 Richard M. Stallman (rms at prep) + + * xdisp.c (display_mode_element): + Cons cell whose car is a symbol now means + (SYMBOL IF_TRUE_DISPLAY IF_FALSE_DISPLAY) + and is equivalent to IF_TRUE_DISPLAY if SYMBOL's value is non-nil + or to IF_FALSE_DISPLAY if SYMBOL is unbound or has value nil. + * buffer.c (syms_of_buffer): update documentation for that. + +1986-08-25 Richard M. Stallman (rms at prep) + + * fns.c (merge): Swap the arguments to the sort predicate + so as to use it to compute <= rather than <. + Sort had been anti-stable; now it is stable. + + * editfns.c (Fuser_uid, Fuser_real_uid): + New functions that return values of geteuid and getuid system calls. + + * dired.c (Ffile_attributes): Value has additional element + t iff file gid would change if Emacs deletes it and recreates it. + + * xdisp.c (display_mode_element): + If element is a list and its car is a list, + process all list elements recursively and concatenate them. + Makes alists work. + + * xdisp.c (display_mode_string): New element type %n + prints ` Narrow' and ` Def' if appropriate. + * buffer.c (syms_of_buffer): Fix documentation of mode-line-format. + + * undo.c (Fundo_more): + Fix bugs in checking len and pos for being in bounds. + + * eval.c (Fuser_variable_p): + If documentation property is a number, + negative means it's a user variable. + * doc.c (Fdocumentation_property): + Use abs value of property as the file position. + * doc.c (FSnarf_documentation): + For variables, store negative property if string starts with `*'. + + * editfns.c (Finsert_buffer_substring): + Implement inserting part of a buffer into itself. + +1986-08-24 Richard M. Stallman (rms at prep) + + * xterm.c, xfns.c, sink.h: Installed latest changes from + Athena, and fixed up formatting conventions. + +1986-08-23 Richard M. Stallman (rms at prep) + + * eval.c (unbind_catch): Restore gcprolist from the catchtag. + +1986-08-21 Richard M. Stallman (rms at prep) + + * fileio.c (barf_or_query_if_file_exists): + New second arg non-0 says query; do not call Finteractive_p. + + * fileio.c (Frename_file, Fcopy_to_file, Fadd_name_to_file, + Fmake_symbolic_link): + Interactive spec now says `p' for the third arg. + If third arg is number, do call barf_or_query_if_file_exists + but pass nonzero second arg in that case. + + * eval.c (Finteractive_p): Skip the innermost frame + when examining the stack. This makes the right thing happen + if called from Fbyte_code. + +1986-08-21 Richard Mlynarik (mly at prep) + + * process.c (handle_process_output): + do a set-buffer back to original buffer + after calling a process' filter function so that + all filter functions needn't save-excursion. + + * keymap.c (where_is_in_buffer): + Don't blow out if buffer has no local map. + +1986-08-21 Richard M. Stallman (rms at prep) + + * emacs.c (main): Eliminate references to environ.c. + + * callproc.c (Fcall_process): Pass child_setup + the standard Unix environment. + * process.c (create_process): likewise. + + * bytecode.c (Fbyte_code): At end, abort if specpdl + is not back to same level it had on entry. + + * eval.c (unbind_catch): + New way to unbind for throw. Pops catches, handlers + and bindings, in one synchronized pass. Thus, when an + unwind-protect is executed, all catches and handlers + outside of it are still in effect. + Also restore various static variables from the catchtag + being unbound. struct catchtag has two new fields, + gcpro and pdlcount. + + * eval.c (Fthrow, Fsignal): Use unbind_catch before longjmp. + + * eval.c (internal_catch): No need to restore anything + from the catchtag after throw, because unbind_catch does it all. + Must set up pdlcount and gcpro fields. + * eval.c (internal_condition_case, Fcondition_case): + Changed like internal_catch. + * eval.c (Fcatch): use internal_catch to do the work. + + * eval.c (Fsignal): If no handler applies, try calling + the Lisp debugger; if that fails, throw to top-level. + Don't call `debugger'. + + * keyboard.c (debugger): Delete this function. + +1986-08-20 Richard M. Stallman (rms at prep) + + * Gap motion can now quit! + + * insdel.c (move_gap): new name for GapTo. Callers changed. + + * insdel.c (InsCStr): + * fileio.c (Finsert_file_contents): + Call move_gap before calling record_insert. + * insdel.c (del_range): + Don't adjust point until after all possible errors detected, + which means after gap is moved. + + * insdel.c (gap_right, gap_left): + Check every 32000 chars for pending quit. + Also speed up char-copy inner loop. + + * lisp.h (QUITP): New macro, nonzero if ought to quit now if poss. + +1986-08-20 Richard M. Stallman (rms at prep) + + * undo.c (Fundo_more): + Fix bug that was setting point to `len' field, not `pos' field. + Share the error-checking code between all three types of + undo record that actually make changes. + + * xdisp.c (display_mode_element): + Fix a couple of silly bugs. + + * lread.c: New variable-defining functions + defvar_int, defvar_lisp, defvar_bool and defvar_per_buffer + are called by the new DEFVAR... macros. They ignore the + doc-string argument. + + * lisp.h: Define macros DEFVAR_LISP, DEFVAR_INT, DEFVAR_BOOL + and DEFVAR_PER_BUFFER. They expand into calls to + defvar_lisp, etc. + + * all .c files: + All Def...Var renamed to DEFVAR... in syms_of_.... + + * doc.c (FSnarf_documentation): Understand new DOC format + where doc for function foo is named Ffoo and doc for variable foo + is named Vfoo. When doc for a variable is found, store the + file-position in DOC on the variable-documentation property. + * doc.c (Fdocumentation_property): New Lisp function, + like `get' except that if the value is a positive integer + it is taken as a position in the DOC file and a string is read + from that file. + + * filelock.c: correct spelling "supercession" -> "supersession". + + * undo.c: Rename RecordInsert as record_insert, and + likewise RecordDelete, RecordChange and RecordChange1. + * casefiddle.c, editfns.c, fileio.c, insdel.c: change callers. + +1986-08-19 Richard M. Stallman (rms at prep) + + * xdisp.c (display_mode_element): + Change the interpretation of symbols and lists in elements: + if a symbol's value is a string, output that string literally; + a list is a concatenation of all elements if the car is a string + or a conditional of the cdr if the car is a symbol. + + * undo.c (Record...): + Remember buffer->modtime as the "length" of the Uunmod. + If point is at the end of a range deleted or changed, + record that as the "position" of the range and make the length + negative. + + * undo.c (Fundo_more): + Undoing Uunmod does not mark as unmodified unless its + remembered modtime matches the buffer's current modtime. + Also handle case where length is negative in Uinsert, Uchange. + +1986-08-18 Richard Mlynarik (mly at prep) + + * xdisp.c (display_mode_line): + XSTRING->data, not XSTRING + Fix another typo. + +1986-08-17 Richard M. Stallman (rms at prep) + + * buffer.c (syms_of_buffer): + Change doc for mode-line-format. + + * xdisp.c (display_mode_line, display_mode_element): + Allow buf->mode_line_format to contain lists and symbols + allowing computation and concatenation to produce the mode line. + (Note that evaluation is not allowed; it would be unsafe.) + display_mode_element is the recursion point for this. + +1986-08-17 Richard Mlynarik (mly at prep) + + * emacs.c (main) + Move init_environ up. + + * window.c (Fwindow_point) + typo. + + * environ.c + New function getenv replaces un*x getenv + +1986-08-17 Richard M. Stallman (rms at prep) + + * window.c (Fwindow_point): + When WINDOW is the selected window and its buffer is selected too, + return current value of point. The pointm field of the window + is not meaningful in such cases. + + * unexec.c (write_segment): + If hit nonexistent page, must write zeros, not return. + +1986-08-17 Richard Mlynarik (mly at prep) + + * callproc.c, process.c (Fcall_process, create_process) + Use `alloca' versions of environment-hacking functions + (ie current_environ_size and get_current_environ rather than + current_environ and free_environ) + + * emacs.c (main): + Call syms_of_environ, init_environ. + + * config.h., config.h.dist + Increase PURESIZE again (sigh) + + * unexec.c (write_segment): + Kludgey coercions ("(int)") to get this line to compile: + nwrite = (((int) ptr + 128) & ~127) - (int) ptr; + Also changed incorrect ~128 to ~127. + + * process.c: + New function Fprocess_list. + +1986-08-17 Richard M. Stallman (rms at prep) + + * crt0.c, alloca.s: Remove hack_sky (special for sun2) + and the call to it. No longer needed since floating point + is no longer used. + + * unexec.c: New compiler flag A_TEXT_OFFSET is defined + for machines in which the a.out file header counts as the + first few bytes of the text segment. The definition of + A_TEXT_OFFSET would normally be sizeof (HDR). It has + other terms added in on some machines (sequent). + +1986-08-16 Richard Mlynarik (mly at prep) + + * eval.c (Fmacroexpand) + Use car of nthcdr, not nth. + + * fns.c + Define Fcopy_alist (used to be in subr.el) + Move Fnth to subr.el + + * ymakefile + Include environ.c + + * callproc.c, process.c (child_setup, Fcall_process, create_process): + Take/pass environment arg. + + * environ.c: + New file + + * sysdep.c: + Move VMS sys_getenv to environ.c + + * editfns.c: + Move getenv to environ.c + +1986-08-16 Richard M. Stallman (rms at prep) + + * xdisp.c (display_text_line): + * indent.c (current_column, ToCol, position_indentation): + * indent.c (Fmove_to_column, compute_motion): + Bring tab_width in range if it is very large. + +1986-08-15 Richard M. Stallman (rms at prep) + + * fileio.c (Fwrite_region): + Do the fsync before the fstat; that may prevent what appear + to be spurious "file has changed on disk" warnings. + Update bf_cur->modtime before signaling "IO error writing" + to avoid more such warnings. + + * Make ctl-arrow, case-fold-search, etc. behave exactly + as if they had been made local with make-variable-buffer-local. + The default values live in struct buffer buffer_defaults. + They also live in buffers that do not have local values. + Each buffer has a local_var_flags slot with a bit for each + variable, saying which variables are local in that buffer. + + * buffer.h: New buffer slot local_var_flags. + * buffer.c: New structures buffer_defaults and buffer_local_flags. + (init_buffers_once): store default values for local slots + into buffer_defaults. + (reset_buffer_variables): Copy default values from buffer_defaults + into the buffer being reset. + (syms_of_buffer): Variables default-ctl-arrow, etc., now + forward to slots in buffer_defaults. + + * data.c (Fset, Fset_default, Fdefault_value, + Fkill_local_variable): + Know that a Lisp_Buffer_Objfwd has default value + if the buffer_local_flags slot is nonzero, + and a buffer uses that default unless its local_var_flags + contains the bit of the buffer_local_flags for the slot. + + * alloc.c (Fgarbage_collect): Call mark_buffer on buffer_defaults. + +1986-08-14 Richard M. Stallman (rms at prep) + + * unexec.c (copy_text_and_data): + Write text and data separately if COFF (just as if not COFF). + (make-hdr): if COFF and NO_REMAP, don't alter some f_ohdr fields. + +1986-08-14 Richard Mlynarik (mly at prep) + + * editfns.c (getenv) + Make getenv useful interactively. + Move defaliases to fsets in subr.el + +1986-08-14 Richard M. Stallman (rms at prep) + + * unexec.c: unexec_data_start records the ultimate + corrected data_start from make_hdr; copy_text_and_data + starts writing data segment from that address. + +1986-08-13 Richard M. Stallman (rms at prep) + + * buffer.c (Fkill_buffer): Combine Fdelete_buffer_internal + into this function. Simplify. Just return immediately + if attempted to kill the minibuffer. + + * lisp.h: Define XSETPNTR and make XSETCONS (etc) use it. + By default XSETPNTR is the same as XSETUINT. + + * lread.c (oblookup, map_obarray): + Use XUINT, not XSYMBOL, to check for zero to detect end of bucket. + On machines where all pointers have high bits set, + XSYMBOL would never return zero. + + * alloc.c: change vars most_negative_fixnum and dont_copy_flag + to constant macros ARRAY_MARK_FLAG and DONT_COPY_FLAG, + defined normally based on INTBITS but overridable by m-*.h. + + * process.c (handle_process_output): + Write in buffer even if buffer is read-only. + + * fileio.c (barf_or_query_if_file_exists): + Rearrange: don't use comma around calls to NULL, + so can compile using union type. + +1986-08-12 Richard Mlynarik (mly at prep) + + * buffer.c (SetBfp, syms_of_buffer) + Dike out debug-check-symbol code. I believe that this bug has + evaporated. + + * fileio.c (barf_or_query_if_file_exists) + ! => !NULL. Also use local variable for Lisp_object for bd + compilers. + +1986-08-11 Richard Mlynarik (mly at prep) + + * buffer.c (Fbarf_if_buffer_read_only) + Include buffer in call to Fsignal. + + * print.c (Fwrite_char) + Really default stream to standard-output. + +1986-08-10 Richard Mlynarik (mly at prep) + + * eval.c (and abbrev.c, buffer.c, callint.c, cmds.c, keyboard.c, lread.c, lisp.h) + Allow Fapply to take an &rest arg, the last of which is spread. + (So (apply '+ 1 '(2 3)) => 6) + Make Ffuncall do the work for Fapply, rather than duplicating all + that code. Define apply1 for c code which needs it. Define call0 + for c code which thought it needed Fapply. + +1986-08-08 Richard Mlynarik (mly at prep) + + * ymakefile + Don't assemble alloca.s if HAVE_ALLOCA. + Even though the whole of this file is contained in a + `#ifndef HAVE_ALLOCA ... #endif' a disgusting bug + in cc (at least here, vax 4.2bsd) meant that this + file was being assembled even though cc was passed + the -E flag! Gag me with a unix-pinhead. + + * m-vax.h + Define HAVE_ALLOCA if BSD + + * unexec.c (write_segment) + Rename variable `fd' to `new' for macro PERROR. + +1986-07-30 Richard M. Stallman (rms at prep) + + * fileio.c (Fwrite_region): add call to fsync before close. + + * xdisp.c (redisplay_window): Don't look at ->start + in windows that have subwindows, since it is nil there. + + * window.c (save_window_restore): + Avoid doing Fset_buffer on a dead buffer. + Use the selected window's new current buffer in that case. + +1986-07-28 Richard M. Stallman (rms at prep) + + * fileio.c (Finsert_file_contents): + Don't mark buffer modified if inserted a null file. + + * fileio.c (Fcopy_file, e_write): Use 16k buffer size. + +1986-07-17 Richard M. Stallman (rms at prep) + + * unexec.c (copy_sym): Put in missing #endif. + + * alloc.c (Fpurecopy, mark_object): Flush VIRT_ADDR_VARIES + conditional; always use range from pure to pure + PURESIZE. + Use type PNTR_COMPARISON_TYPE as the type to compare in. + This is normally unsigned int but m- file may override this. + + * lisp.h (CHECK_IMPURE): Use PNTR_COMPARISON_TYPE, and always + use the range from pure to pure + PURESIZE unless + PNTR_COMPARISON_TYPE is defaulted. + + * eval.c (unbind_to): New temporary var `tmp' + to avoid a Gould compiler bug. + + * term.c (calculate_ins_del_char_costs): + * window.c (change_window_height): + Changed floating point arithmetic to fixed point. + + * sysdep.c: Replace ad-hoc conditionals with new flags + HAVE_VFORK, HAVE_DUP2 and HAVE_GETTIMEOFDAY. + Change s-hpux.h and m-stride.h. + + * sysdep.c (init_sys_modes for VMS): Set TT2$M_XON. + + * process.c (create_process): On USG systems that have TIOCNOTTY, + do the setpgrp here before reopening the pty rather than + waiting for child_setup. + + * window.c (make_window): size given to make_vector + was one too small. + +1986-07-10 Richard M. Stallman (rms at prep) + + * keymap.c (Fdescribe_bindings): change XSETTYPE/XSETBUFFER to + XSET. + (describe_command): change XSETSTRING to XSET. + * window.c (Fmove_to_window_line): delete unused start =. + * xdisp.c (DoDsp) delete unused all_windows initializer. + * dispnew.c (update_line): delete unused osp =. + * minibuf.c (do_completion): delete unused completedp initializer. + * search.c (Freplace_match): delete unused some_multiletter_word init. + * alloc.c (gc_sweep): delete unused next initializers. + * fns.c (concat): after error on non-int elt for string, + do store the new value from the error handler. + * lread.c (read1): comment out unused end =. + * lread.c (read_list): delete unused tail =. + * data.c (Fmake_variable_buffer_local): + if value type is Lisp_Some_Buffer_Local_Value, + change it to Lisp_Buffer_Local_Value permanently. + * undo.c (record_block): delete unused cp =. + Don't bother reallocing if n = 0 after first batch. + * fileio.c (Fverify_visited_file_modtime): + If CHECK_BUFFER changes buf, use the changed value. + +1986-07-07 Richard M. Stallman (rms at prep) + + * alloc.c (mark_buffer): mark the selective_display_ellipses slot. + +1986-06-25 Richard M. Stallman (rms at prep) + + * window.c (Frecenter): Fix bug in last change: + change applied to M-- arg ratherthan C-u by mistake. + +1986-06-19 Richard M. Stallman (rms at prep) + + * ymakefile (CPP): Now defined by default as `cc -E'. + * Makefile: likewise. + + * More 3b changes: + * ymakefile: Allow config to specify LIBS_TERMCAP even if + TERMINFO. + * sysdep.c: Delete the sign-extension functions; just define + a variable sign_extend_temp. + * m-3b.h renamed to m-3b20.h. Now defines ATT3B20 as well as + ATT3B. New definitions for XINT and SIGN_EXTEND_CHAR. + + * sysdep.c (readdirver): New VMS-only function: + like readdir but return each version as separate filename. + + * dired.c (file_name_completions): New arg ver_flag. + All callers changed. + * dired.c (Ffile_name_all_versions): New function, VMS only. + + * unexec.c (copy_sym): Remove spurious #else on + sun3 conditional. The old #else code is now unconditional. + + * window.c (Fdisplay_window): Split largest window only if + full screen width. The conditional was backwards. + +1986-06-17 Richard M. Stallman (rms at prep) + + * process.c (Fsend_region): Previous change forgot to assign + anything to start1. + +1986-06-13 Richard M. Stallman (rms at prep) + + * emacs.c (Fdump_emacs): Use start_of_text, not &_start, + as entry address for unexec. + + * alloc.c: Use XPNTR, not XUINT, when checking for pureness. + + * data.c: When indirecting through Lisp_Buffer_Objfwd, + use XUINT to get the offset, not XOBJFWD. + + * lisp.h: New macro XPNTR is used as subroutine by all of + XCONS, XSTRING, etc. Define it like XUINT normally. + If DATA_SEG_BITS is defined, XPNTR or's that into the result. + Use XPNTR in CHECK_IMPURE. + + * sysdep.c (end_of_{text,data}): Do compile these. + rt-pc unexec needs them. + * sysdep.c (start_of_bss): New function. + + * unexec.c (copy_text_and_data, write_segment): + Write text and data segments separately. + Use new subroutine write_segment to do each one. + + * process.c (Fprocess_exit_status): + New name for Fprocess_reason. + +1986-06-11 Richard M. Stallman (rms at prep) + + * abbrev.c (Fexpand_abbrev): + Delete the - inserted by abbrev-prefix-mark, if any. + + * filelock.c (lock_file): + Check for modifying a buffer whose file has changed + and call ask-user-about-supercession-threat, which can + ask for confirmation and get an error. + +1986-06-10 Richard M. Stallman (rms at prep) + + * crt0.c: Merge changes for Nu. + + * unexec.c (make_hdr): Fix handling of blockcopy_start; + for the sake of Nu machine. + + * fileio.c (Fcopy_file): optional 4th arg non-nil + means preserve the last-modified time. + + * Make C-M-v in minibuffer scroll the minibuffer's help window if any. + * window.c (save_window_{save,restore}): + Save and restore minibuf_scroll_window. + * window.c (Fscroll_other_window): + If minibuffer is selected, scroll minibuf_scroll_window. + * minibuf.c (read_minibuf): set minibuf_scroll_window to nil. + + * window.c (Frecenter): With just C-u as arg, + recenter point but don't erase the screen. + +1986-06-09 Richard M. Stallman (rms at prep) + + * process.c (Fsend_region): + * fileio.c (Fwrite_region): + * editfns.c (Fchar_after, save_restriction_restore): + Avoid using XINT in args to other macros. + + * sysdep.c: New function char_sign_xtnd for ATT3B. + + * lisp.h: Don't redefine XINT if it's already defined. + So m-3b.h can override it. + + * ymakefile: If NO_REMAP, use the standard crt0.o + but precede it with pre_crt0.o whose job is to define data_start. + + * buffer.h. buffer.c: New per-buffer variable + selective-display-ellipses. + + * xdisp.c (display_text_line), indent.c (compute_motion): + Let bf_cur->selective_display_ellipses control display of ... + before invisible lines. + + * lread.c (openp, Fload): openp now takes a sequence + of suffixes with colons between. It loops over + suffixes faster than over directories. + load takes new fourth arg NOSUFFIXES. + +1986-06-08 Richard M. Stallman (rms at prep) + + * paths.h: Remove . from load-path. + + * lread.c: Make "load" no longer interactive. + + * keyboard.c: Introduce BUFFER_SIZE_FACTOR to make + some keyboard buffers 16 times as big when X windows exist. + +1986-06-07 Richard M. Stallman (rms at prep) + + * eval.c (call_debugger): Don't do a debug-on-call + for calling the debugger. + + * keyboard.c (gobble_input): Must really use FIONREAD. + + * keyboard.c (command_loop{,_1,_2}, top_level_{1,2}): + Now Frecursive_edit calls command_loop, which does the catches + and calls command_loop_2, which does the error handling, + which calls command_loop to do the real work. + Also, top_level_1 does a condition-case around top_level_2, + which does the work. + + Previously, the error handling was outside the catch for + top-level. Then if handling an error ran an unwind protect form, + the catch was not in effect; so ^G, or the debugger Q command, + would not work inside of them. + +1986-06-06 Richard M. Stallman (rms at prep) + + * keymap.c (get_keymap{,_1}): + Create get_keymap_1 that takes arg saying whether to get error. + get_keymap calls that, saying do get an error. + + * keyboard.c (get_char): + If rereading a char, do put it in the echo buffer + if the echo buffer is empty. Fixes problem that + C-s C-h would never echo the C-h. + + * window.h: New window slot start_at_line_beg, + holds t if window's start was the beginning of a line. + * window.c: update this wherever ->start is updated. + (But not always correctly). + * xdisp.c (redisplay_window): update start_at_line_beg, + and also find a new start if the old start used to be + a line beginning but no longer is (which implies text + changes just before it). + + * keyboard.c (get_input_pending): + Don't bother with FIONREAD if interrupt_input; + just use kbd_count. + + * fns.c: Assume KERNEL_FILE, LDAV_SYMBOL and NLIST_STRUCT + are fully set up by the s- and m- files. + + * emacs.c (main): Don't call `signal' if in batch mode + and not initialized and dumping is possible. + * keyboard.c (init_keyboard): likewise for SIGIO. + + * unexec.c (make_hdr): Copy entire header of old file + as base for header of new file. Eliminates most + machine-specific conditionals. + + * terminfo.c: make tparam work by calling tparm. + + * term.c, cm.h: Eliminate `Tab' macro. + + * s-usg5.2.h, s-usg5.2.2.h: set the TERMINFO flag. + + * fileio.c (Ffile_newer_than_file_p): New Lisp primitive. + + * fileio.c (Ffile_exists_p): this is now distinct from + Ffile_readable_p; it checks only for existence, not for + readability. + + * editfns.c (Fgoto_char): Use new interactive code N. + + * callint.c (Fcall_interactively): New code N + means use prefix argif have one, else read number from minibuffer. + + * buffer.c (record_buffer): + Don't use Frassq, Fmemq or Fdelq since their loops + allow quitting. Write a spacial loop by hand. + +1986-06-05 Richard M. Stallman (rms at prep) + + * process.c: Add MASSCOMP conditionals for pty and tty names. + New way to check pty accessibility with `access'. + + * unexec.c (make_hdr): MASSCOMP has its own special field. + + * sysdep.c: Use HAVE_TERMIO conditionals instead of USG + conditionals in many places. Use INTERRUPTABLE_OPEN + and INTERRUPTABLE_IO conditionals to decide whether to + include the functions sys_read, sys_write, sys_open. + child_setup_tty must do FIOASYNC on masscomp. + + * fns.c (concat): Add MASSCOMP_REGISTER_BUG conditional. + + * editfns.c (init_editfns): Always check LOGNAME if no USER var. + + * dispnew.c: Now depends on HAVE_TERMIO. + + * crt0.c: BOGUS flag renamed CRT0_DUMMIES. Also now + this is never assumes; each m- file must set it to use that code. + + * crt0.c: Two new flags: GLOBAL_START_DOT and + GLOBAL_START_NO_DOT, control .globl start, etc. + m- files must define these as needed. + To have no effect, must define one or the other whenever + CRT0_DUMMIES is set except for masscomp. + GLOBAL_START_NO_DOT for tower32, GLOBAL_START_DOT for all others. + + * term.c, termchar.h: Define new flag var no_redraw_on_reenter; + nonzero means no need to set screen_garbaged on resuming + after a suspension. + * sysdep.c (init_sys_modes): don't set screen_garbaged + after resumption if that flag is set. + * dispnew.c (syms_of_dispnew): make Lisp var no-redraw-on-reenter, + + * process.c (Fprocess_reason): New function. + + * dispnew.c (change_screen_size): New arg PRETEND. + If it's zero, set ScreenRows or ScreenCols. + Fset_screen_{width,height} take new arg as well + to control value of PRETEND. + + * sysdep.c (child_setup_tty for USG): + Turn ICANON on, and set VKILL and VERASE to 0377. + Don't frob VMIN and VTIME (said to be unnecessary here). + + * keyboard.c (command_loop, Frecursive_edit): + Call top_level_1 only from command_loop. + Do it before command_loop_1. Put catch for top-level around it. + + * xdisp.c (try_window_1): use scroll_cost to decide + whether scrolling, as determined from ins/del records, + is better than simple reprinting. + + * scroll.c (scroll_cost): New function computes what cost + would be to do scroll_screen_lines. + + * xdisp.c (display_text_string): + Display minibuf_prompt only if vpos is the top of the minibuffer. + Attempts to fix the bug where the prompt appears on all the + lines of an empty minibuffer. + +1986-06-04 Richard M. Stallman (rms at prep) + + * fileio.c (Fdefine_logical_name): + For VMS: create a logical name translation. + + * emacs.c (main): + (HAVE_X_WINDOWS) New variable alternate_display, + set with a -d switch. + + * keyboard.c, sysdep.c: + Create new system-independent function sys_suspend. + All places that want to suspend now use sys_suspend. + Delete fake_suspend and make its definition one of the + cases for sys_suspend; but require the caller to change + the terminal modes, on all system versions. + + * Merged in VMS conditionals in numerous files. + +1986-06-01 Richard M. Stallman (rms at prep) + + * emacs.c (main, Fdump_emacs): + Use new arg to malloc_init to say what function to call for + warnings. + + * unexec.c, malloc.c, getpagesize.h: + The code to define getpagesize () is now in getpagesize.h. + + * process.c (reate_process), callproc.c (child_setup): + Move call to child_setup_tty from child_setup to create_process, + so it's not done for synchronous subprocesses. + * sysdep.c (child_setup_tty): omit it if not subprocesses. + + * alloc.c (mark_object), lread.c (DefLispVar): + Protect the C variable with staticpro. + Therefore no more need to mark thru a Lisp_Objfwd. + +See ChangeLog.1 for earlier changes. + +Local Variables: +mode: indented-text +eval: (auto-fill-mode 1) +left-margin: 8 +fill-column: 74 +version-control: never +End: diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/ChangeLog.3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ChangeLog.3 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,16533 @@ +1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.10 released. + +1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): If we changed buffers during + read_char, go to replay_sequence. + + * frame.c (Ficonify_frame, Fmake_frame_invisible): + Select some other frame. Move minibuffer off this frame. + + * frame.c (Fhandle_switch_frame): Don't call Ffocus_frame. + (Fredirect_frame_focus): Call Ffocus_frame here. + + * xterm.c (x_bitmap_icon): Don't free icon_bitmap; + create it if it hasn't been created before. + + * xterm.c (XTread_socket): For UnmapNotify, if frame was visible, + mark it now as iconified. + (x_make_frame_invisible): If async_iconic, work does need to be done. + Don't let this frame stay highlighted. + (x_iconify_frame): Don't let this frame stay highlighted. + + * s/usg5-4-2.h (sigsetmask): #undef this. + + * sysdep.c (sys_signal): Use 0, not NULL, to set sa_flags. + +1993-05-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * linux.h (C_OPTIMIZE_SWITCH): Set this to the empty string; + configure guesses just fine. + + * tekXD88.h: New file, from Kaveh Ghazi. + + * systty.h (CDISABLE): #undef it before re-#defining it. + + * sysdep.c (sys_siglist): Comment out #endif trailer. + * xmenu.c (TRUE, FALSE): Same. + * xterm.c (dumprectangle): Same. + + * emacs.c: Don't include termios.h directly--let systty.h do it. + +1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfaces.c [HPUX]: Include time.h and define __TIMEVAL__. + + * emacs.c (shut_down_emacs): Maybe close X connection. New arg NO_X. + (Fkill_emacs): Don't close it here. Pass new arg. + (fatal_error_signal): Pass new arg. + * xterm.c (x_connection_closed): Pass new arg. + + * xdisp.c (syms_of_xdisp): Make highlight-nonselected-windows Lisp var. + (display_text_line): Obey it. + (display_text_line): Really check for just the selected window. + + * s/usg5-4-2.h: New file. + + * keyboard.c (menu_bar_items): Save Vinhibit_quit by hand + instead of using specbind. + (menu_bar_items): Call Fnreverse before restoring Vinhibit_quit. + + * s/hpux8.h (OLDXMENU_OPTIONS): Add quotations. + + * m/ibmrt.h (C_SWITCH_MACHINE): Define only if not __GNUC__. + (HAVE_FTIME): Defined. + (EMACS_BITMAP_FILES): Defined. + + * xfns.c (Fx_close_current_connection): Clear x_current_display. + * xterm.c (XTring_bell): Do nothing if x_current_connection is 0. + + * buffer.c (reset_buffer): Clear mark_active field here. + (reset_buffer_local_variables): Not here. + (Fswitch_to_buffer, Fpop_to_buffer): Return the buffer. + (Fmove_overlay): Fix data types in last change. + + * sysdep.c (gettimeofday): Don't store in *tzp if tzp is 0. + + * process.c (MAXDESC): Get it from FD_SETSIZE if that exists. + + * s/sco4.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): + Redefined. + (SIGNALS_VIA_CHARACTERS): Defined. + [HAVE_SOCKETS] (HAVE_GETTIMEOFDAY): Defined. + (MAIL_PROGRAM_NAME): Defined (two alternate definitions). + + * xfns.c (Fx_list_fonts): Use CHECK_LIVE_FRAME on the frame arg. + +1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/hpux8.h (LIBX11_SYSTEM): Defined. + + * ymakefile: Replace config.h as dep with $(config_h). + (really-oldXMenu): Use two make vars to pass values + of C_SWITCH_... within doublequotes. + + * xfns.c (x_figure_window_size): Never set PPosition or PSize. + + * keymap.c (syms_of_keymap): Create global_map 256 slots long. + * cmds.c (keys_of_cmds): Predefined 0240-0376 as self-insert. + + * xterm.c (XTread_socket, case KeyPress) [HPUX]: + Recognize the extended function keys. + + * buffer.c (Fgenerate_new_buffer_name): New arg IGNORE. + (Frename_buffer): Pass new arg. + +1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * keyboard.c (menu_bar_items): Bind Qinhibit_quit to Qt while we + call the keymap accessors; this gets called during redisplay. + + * ymakefile (alloca.o): Call $(CC), not cc. + + * s/linux.h (SIGNALS_VIA_CHARACTERS): Try this out for a bit. + + * buffer.c (Fmove_overlay): If the overlay is changing buffers, + do a thorough redisplay. + + * xfns.c (x_set_frame_parameters): Use the first + position/size parameter we find, not the last. + + * s/hpux8.h: Don't define HAVE_RANDOM. + + * config.h.in (UNEXEC_SRC): New macro, set by the configure + script. + * ymakefile (UNEXEC_SRC): Give it a default value here, and make + UNEXEC depend on it. + + * ymakefile (lispdir): Set this in terms of ${srcdir}. + +1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (Fsleep_for): Don't return without waiting when SEC is 0. + + * emacs.c (syms_of_emacs) [CANNOT_DUMP]: Don't defsubr Sdump_emacs*. + + * alloc.c (mark_object): Add debugging code to check for ptr clobbered. + +1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.9 released. + +1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_char): Correct previous change. + +1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * systty.h: Always terminate comments, to avoid confusion. + + * xfns.c: Make resource manager work correctly even when + Vinvocation_name has periods and asterisks in it. + (Vxrdb_name): New variable. + (Fx_get_resource): Use it instead of Vinvocation_name. + (Fx_open_connection): Initialize it to a copy of Vinvocation_name, + with the dots and stars replaced by hyphens. + (syms_of_xfns): staticpro it here. + + * xfns.c (Fx_get_resource): Use the proper format string when the + attribute has been specified. + +1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_get_resource_string): New function. + + * ymakefile (ALL_CFLAGS): Put CFLAGS last. + +1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this. + + * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if + we're using GCC - that's an XLC switch. + + * s/aix3-2.h (LIBS_SYSTEM): Put -LIM -Liconv here. + + * systty.h (HAVE_LTCHARS, HAVE_TCHARS): New macros; define them if + we have those structures, but *don't* define them if we have + TERMIOS, whose functions take care of those parameters; that + screws up AIX. + (struct emacs_tty): Test those symbols, instead of the ioctl + commands. + * sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars, + init_sys_modes): Same. + + * config.h.in (HAVE_RENAME): Include an #undef for this, so + configure will have something to edit. + +1993-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (window_loop, case GET_LRU_WINDOW): + Get frame's width properly. + + * xselect.c (x_get_local_selection): If no conversion function + exists for the requested type, just return nil. + + * s/linux.h (HAVE_TCATTR): Defined. + + * sysdep.c [HAVE_SOCKETS]: Include socket.h, netdb.h. + (get_system_name) [HAVE_SOCKETS]: Use gethostbyname. + +1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM, + LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the + search paths in these lists; they shouldn't do any harm if they + don't have X11R5. + + * s/aix3-2.h (C_SWITCH_SYSTEM): Don't #define this if we're using + GCC. + +1993-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xrdb.c (magic_searchpath_decoder): Fix typos. + + * xdisp.c (display_text_line): Don't call compute_char_face + for a non-X frame. + + * xfns.c (Fx_rebind_key, Fx_rebind_keys): X10 definitions deleted. + (syms_of_xfns): Install them only if X11. + + * ralloc.c (r_alloc_sbrk): Declare already_available as long, not SIZE. + + * xfns.c (x_set_cursor_type): If arg not recognized, use box cursor. + + * s/hpux8.h (LD_SWITCH_SYSTEM) [__GNUC__]: Pass -a archive to ld. + (HAVE_RANDOM): Defined. + + * s/hpux.h (rand, srand): Definitions deleted. + + * keyboard.c (Fcurrent_input_mode): Fix the call to Flist. + (make_lispy_event): Fix off-by-1 error with hpos in menu bar. + + * s/sunos4-1-3.h: New file. + + * ymakefile (XOBJ) [!HAVE_X_MENU]: Add xfaces.o. + + * s/irix4-0.h (SIGNALS_VIA_CHARACTERS): Defined. + + * xterm.c (x_wm_set_size_hint): Don't set hints for max size. + +1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m/ibmrs6000.h (LIBS_MACHINE): Add -lIM and -liconv. + (HAVE_GETTIMEOFDAY): Deleted. + + * sysdep.c (wait_for_termination): Don't use the BSD alternative + for LINUX. Use the UNIPLUS alternative. + + * keyboard.c (read_char): If kbd_buffer_get_event returns nil, + redisplay and retry. + (kbd_buffer_get_event): If event is handled here, return nil. + (swallow_events): New function. + * process.c (wait_reading_process_input): Call that. + + * ralloc.c (POINTER): Always use char *. + + * s/sol2.h (C_SWITCH_X_SYSTEM): Deleted. + (LD_SWITCH_SYSTEM): Delete the -L option, leave just -R. + + * m/symmetry.h (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF): + Use pty_name, not ptyname. + + * syntax.c (Fforward_comment): Arg is a Lisp_Object. + Convert it to an int. + + * ymakefile (alloca.o): Get alloca.c and alloca.s from ${srcdir}. + + * floatfns.c (logb): Don't declare if hpux. + + * syntax.c (Fforward_comment): Always set point. + + * s/dgux.h, s/hpux.h, s/esix.h (HAVE_GETTIMEOFDAY): Deleted. + + * s/irix4-0.h (C_ALLOCA, alloca): Definitions deleted. + [!NOT_C_CODE]: Include alloca.h. + (NEED_SIOCTL): #undef this. + + * xterm.h (PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW): + Fix mismatch in arg names. + + * xfns.c (Fx_open_connection): Set xrm_option correctly. + +1993-05-25 David J. MacKenzie (djm@wiki.eng.umd.edu) + + * xfns.c (x_figure_window_size): Make the default frame coords (0,0). + +1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.8 released. + +1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfns.c: Clear out the old face stuff. + (x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font, + Fx_set_face, Fx_get_face): Removed. + (syms_of_xfns): Remove defsubr for Fx_set_face. + + Arrange for font names to get fully resolved - no wildcards. + * xfns.c (x_set_frame_parameters): Store the value in the frame + parameter alist before we call the setter function, so the setter + function can touch up the value if it chooses. + (x_set_foreground_color, x_set_background_color): Call + recompute_basic_faces, so their GC's will reflect the changes. + (x_new_font): Add extern declaration - this returns a Lisp_Object + now, the fully resolved font name. + (x_set_font): Accept the fully resolved name from x_new_font, and + put it in the frame's parameter alist. Call recompute_basic_faces. + * xterm.c (x_new_font): Return the fully resolved font name, Qnil + (if no match), or Qt (match, but unacceptable metrics). + * xterm.c (x_new_font): Don't call init_frame_faces. + + * xterm.h: New section for declarations for xfaces.c. + (init_frame_faces, free_frame_faces, intern_face, + face_name_id_number, same_size_fonts, recompute_basic_faces, + compute_char_face, compute_glyph_face): Declare these here. + * xfaces.c (same_size_fonts): We can now remove this extern + declaration. + * xfns.c (face_name_id_number): Likewise. + * xterm.c (intern_face): Likewise. + + * xterm.c (dumpglyphs): Remember that the default faces can have + null fonts, too. + + * xfns.c (Fx_list_fonts): Remember that FACE may not have a font + specified. Don't specify 30000 as the maximum limit on the number + of fontns returned - 2000 is more reasonable. + + * xfaces.c (build_face, unload_font, free_frame_faces): Don't + forget to block input while making X calls. + + Treat faces as structures specifying modifications to the frame's + parameters, rather than things which need to specify a complete + set of parameters by themselves. + * xfaces.c (init_frame_faces): Don't set up the two frame display + faces by querying the GC - just leave all their fields blank, and + call recompute_basic_faces, letting build_face do the work of + consulting the frame when necessary. + (recompute_basic_faces): New function. + (compute_base_faces): New function for obtaining the "identity" + for compute_char_face and compute_glyph_face. + (compute_char_face, compute_glyph_face): Call it, instead of copying + FRAME_DEFAULT_FACE. + * xfns.c (x_make_gc): No need to call init_frame_faces here. + + * xfaces.c (intern_frame_face): This can be static. + + * dispextern.h (struct face): New field - `copy', to help us with + resource allocation. + * xfaces.c (free_frame_faces): Do free the first two faces; don't + free anything from a face that's a copy. + (intern_frame_face): Mark every face we intern as a copy; its + resources are actually a combination of the real faces. + (Fset_face_attribute_internal): No need to check if we're trying + to free one of the frame's GC's; they never enter into the + picture. + + * casetab.c: Fix formatting, so as not to confuse etags. + + * xfns.c (Fx_list_fonts): New function. + (face_name_id_number): Add extern declaration for this. + * xfaces.c (face_name_id_number): Make this externally visible, + and make the FRAME argument a FRAME_PTR, not a Lisp_Object. + (compute_char_face): Call face_name_id_number properly. + + * xfaces.c (unload_color): Don't free the pixel for now. + + * xfaces.c (merge_faces): You can't tell if a font is a + character-cell font or not by testing whether or not it has a + per_char table. They all do. + * xterm.c (x_new_font): Same deal. + * xfns.c (Fx_list_fonts): Same deal. + + * m/iris4d.h: Dyke out the section which specifies how to get the + load average. + + * paths.h (PATH_INFO): New path, to edited by the configuration + process. + * callproc.c (Vconfigure_info_directory): New variable, used + internally by build process. + (syms_of_callproc): DEFVAR it and initialize it. + + * keyboard.c (Fcurrent_input_mode): Use XFASTINT to build the last + element of the return value, not XSETINT. + +1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + Changes for OSF/1: + * mem-limits.h [__osf__ && (__mips || mips)]: #include + and . + (get_lim_data): OSF wants a definition like BSD4_2's. + * s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h". + + * ymakefile (LIBX): Put LD_SWITCH_X_SITE before the libraries, so + it actually has an effect. + + Some makes can't handle form feed characters in their makefiles. + * s/usg5-3.h: Remove form feed. + * s/template.h, m/template.h: Remove form feeds. + + * xfns.c (select_visual): Include the screen number in the + template of things XGetVisualInfo must match. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/dgux.h (NO_GET_LOAD_AVG): Test _M88KBCS_TARGET, not __GNUC__. + + * xterm.c (XTread_socket, ConfigureNotify case): + Convert from parent window, not Emacs window. + (XTread_socket): Handle ReparentNotify events. + + * m/i860.h: New file. + + * keyboard.c (lispy_function_keys): Add kp-numlock. Fix kp-backspace. + +1993-05-24 Thorsten Ohl (ohl@chico.harvard.edu) + + * m/next.h (C_SWITCH_MACHINE): Definition deleted. + + * lread.c: Don't #undef NULL. + +1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * buffer.c (Fmake_overlay): Put beg and end in the + right order. + (Fmove_overlay): If beg and end are markers, make sure they're in + the right buffer. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (modify_event_symbol): If a name_table elt is null, + generate a name to use. Don't crash. + + * fileio.c (Fread_file_name): If input is empty, do return the default + even if !insert_default_directory. + + * xterm.c (XTread_socket): For ConfigureNotify event, + translate coordinates if send_event field is false + provided the x-coord value is not large. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/irix4-0.h (NO_MATHERR): Defined. + * floatfns.c [NO_MATHERR]: Undef HAVE_MATHERR. + +1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * fileio.c (Ffile_writable_p): Pass XSTRING (foo)->data to + ro_fsys, not XSTRING (foo). + + * xterm.c (x_new_font): Reject fonts with varying spacing. We + don't support them yet. + * xfns.c (x_set_font): Report the error message properly. + + * xfns.c (Fx_parse_geometry): No need to call check_x here; it + doesn't interact with the server at all, and we need it in order + to create our first frame. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/linux.h (HAVE_SETSID): Defined. + (HAVE_SOCKETS): Defined. + + * process.c (create_process): Ignore retval from TIOCSTTY. + (sys_siglist) [LINUX]: Don't even declare it. + +1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * syssignal.h (sys_signal): Declare the second argument to have + type signal_handler_t. We're told this is necessary for Linux. + +1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/dgux.h (NO_GET_LOAD_AVG): Define, if __GNUC__. + +1993-05-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * s/hpux8.h (NO_SIOCTL_H): Defined. + +1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/linux.h (HAVE_DUP2, HAVE_ALLOCA_H): Deleted. + +1993-05-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * syssignal.h: Don't #include + * alloc.c: #include , but before "config.h". + +1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfaces.c (Fset_face_attribute_internal): Don't call unload_font + for the frame's own font. + + * xfns.c (check_x): New function. + Call it in almost every Lisp function in this file. + (x_set_menu_bar_lines_1): Pass both args in recursive call. + +1993-05-23 Paul Eggert (eggert@twinsun.com) + + * editfns.c (Fcurrent_time_zone): Make `am' an int, not long. + +1993-05-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + Changes for SGI from Matthew J Brown . + * m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're + using GCC. + * m/iris4d.h (NEED_SIOCTL): Move this to... + * s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not + necessary in irix4-0.h. + * s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0 + already declares this elsewhere. + (PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it. + * m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h, + s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now. + + * config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the + #defines to #undef's, so ../configure knows it should tweak them. + + * xterm.c (x_scroll_bar_report_motion): Set *TIME whether or not + the mouse is over a scroll bar. + + * xfaces.c (Fset_face_attribute_internal): Don't free the frame's + normal_gc or reverse_gc. + + * keyboard.c (make_lispy_movement): Deal properly with mouse + motion outside of all windows. + + * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph + can be 24 bits, not just eight. + +1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c: Move signal.h and stdio.h before config.h. + + * editfns.c (Fcurrent_time_zone): Assign gmt, instead of init. + +1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.7 released. + + * Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list. + + * puresize.h [not HAVE_X_WINDOWS] (PURESIZE): Make this 185k, + not 196k. We're actually using ~180k. + + * editfns.c: #include , to get time_t for Eggert's + changes. + +1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (FRAME_SUPPORT): Add mouse.elc, select.elc, scroll-bar.elc. + + * xdisp.c (display_text_line): Highlight in any frame's sel window. + + * keyboard.c (modifier_names): Update to match *_modifier in termhooks. + +1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar; + that feature requires more support to work correctly. + + * keyboard.c (make_ctrl_char): New function. + (read_char): Call it. + (kbd_buffer_store_event): Call it to see if the new character is + the quit or stop character. + (make_lispy_event): Call it. + +1993-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_window_to_frame): Use XGCTYPE. + +1993-05-21 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * process.c (Fopen_network_stream): Deal with older systems, which + only have the h_addr field in their struct hostent. + + * systty.h [SYSV_PTYS]: #include . Francesco + Potorti` says it's necessary on his + machine, and it should be harmless. + +1993-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (wait_for_termination): Copy code from 18.59 + (but sans BSD4_1 alternatives). + +1993-05-21 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * ymakefile (alloca.o): #define malloc and free to be xmalloc and + xfree on the command line of this compilation. + + * s/sco4.h: (TIME_WITH_SYS_TIME): This is no longer needed. + + * s/linux.h: Remove copyright notices by Michael K. Johnson and + Rik Faith. They have both sent in papers now which make their + changes public domain. + + * sysdep.c (sys_suspend): Set synch_process_alive, so that + wait_for_termination has something to wait for. + +1993-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (display_text_line): Highlight only in selected window. + + * xfns.c (syms_of_xfns): Don't make Lisp vars + x-mode-pointer-shape and x-nontext-pointer-shape. + +1993-05-20 Ian Lance Taylor (ian@cygnus.com) + + * s/sco4.h (SCO): Don't define (no longer needed). + (HAVE_SYS_TIME_H): Don't define (set by configure). + (TIME_WITH_SYS_TIME): Define. + +1993-05-20 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * dispnew.c (preserve_other_columns): Remember to multiply the + size argument to bcopy by the size of a glyph. + +1993-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Reexamine this_command + after pre-command-hook runs. + + * xterm.c (x_find_modifier_meanings): If some keys are meta and alt, + make them just meta, not alt. + +1993-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + Some time-handling patches from Paul Eggert: + * editfns.c (Fcurrent_time_zone): Take an optional argument specifying + what (absolute) time should be used to determine the current time zone. + Yield just offset and name of time zone, including DST correction. + Yield time zone offset in seconds, not minutes. + (lisp_time_argument, difftm): New functions. + (Fcurrent_time_string): Use lisp_time_argument. + * systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET, + EMACS_GET_TZ_NAMES): Remove. + * config.h.in: Add HAVE_TM_ZONE. + + Some more changes from Michael K. Johnson for Linux. + * s/template.h: Mention that you should #define HAVE_TERMIO or + HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred. + * systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of + tcsetpgrp to *pgid; it's just a status value. + * config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux + systems using XFree386, and perhaps is inappropriate in general. + * m/intel386.h: #undefine the integer size macros, since the Linux + file #defines them itself. + * mem-limits.h (get_lim_data): Linux has the ulimit call; if it + fails, fall back on ULIMIT_BREAK_VALUE. + * process.c: Linux needs the WAITTYPE, etc. definitions. + * unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type; + no need to use SYSV names. + * s/linux.h: New file. + + Some changes from Michael K. Johnson for Linux. + * sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is + #defined. That lets the system provide it, if it has it. + * syssignal.h (sigmask): Only define this if hasn't + given us a definition already. + * syssignal.h (sys_sigpause): Fix argument in prototype. + * sysdep.c (init_signals): The masks are called empty_mask and + full_mask, not signal_empty_mask and signal_full_mask. + (signal_handler_t): Moved .... + * syssignal.h: ... to here. + * systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct + arguments. + * emacs.c (main): Don't try to establish signal handlers for + SIGBUS and SIGSYS unless they're actually #defined. + + * systty.h [HAVE_TERMIO, __DGUX]: #include . + + * xdisp.c (redisplay_window): Compute the scrollbar start and end + properly. + +1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Fcurrent_input_mode): Return META as 3-way flag. + +1993-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * fileio.c (Ffind_file_name_handler): Check that FILENAME is a + string. + + * process.c (wait_reading_process_input): Undo change of April + 29th, since that re-introduces the race condition the comments are + warning about. Call clear_waiting_for_input before calling + status_notify, though. + + * process.c (wait_reading_process_input): Don't forget to call + clear_waiting_for_input when we exit the loop because process + input has arrived. + + Changes for Silicon Graphics Iris 5D. + * unexelfsgi.c: New file; like unexelf.c, but tolerates program + segments above BSS. + * m/iris5d.h: New file. + * s/irix5-0.h: New file. + * process.c [__sgi] (allocate_pty): Give up immediately if pty is + inaccessible. + +1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (follow_key): Check char in range before UPPERCASEP. + +1993-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_set_menu_bar_lines): Fix typo in last change. + + * keyboard.c (make_lispy_event): Controlify lower case letters too. + +1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xdisp.c (display_text_line): If the newline (or C-m, in + selective-display) has a non-default face, apply that face to the + remainder of the line, so that the fill occupies the entire line. + + * xterm.c (x_new_font): Tell the frame display faces about the + newly chosen font. + + Make sure that all the display faces use fonts of the + same dimensions as the default face, so as not to confuse the rest + of the redisplay code. + * xfaces.c (same_size_fonts): New function. + (merge_faces): Only merge in a new font from the FROM face if it + is the same size as the font in the TO face. + + * xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have + menu bars. + + * keyboard.c (read_key_sequence): Don't lay down an unwind_protect + to restore the original buffer until we actually get a mouse click. + + * window.c (window-dedicated-p): Doc fix. + +1993-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Turn off ControlMask for XLookupString. + * keyboard.c (make_lispy_event): Controlify here. + +1993-05-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xdisp.c (redisplay_window): Make the scrollbar reflect the + extent of the visible region, not the whole buffer. + + * xfaces.c (free_frame_faces): Don't free the resources from the + first two faces. + + * lisp.h (malloc, realloc): Declare these to return void *, to + avoid conflicts with ANSI header files. + + * sysdep.c (reset_sys_modes): Test the return value of + EMACS_SET_TTY properly. + * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return + values. + +1993-05-16 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * config.h.in (STDC_HEADERS, TIME_WITH_SYS_TIME, + CRAY_STACKSEG_END, STACK_DIRECTION): Add #undef clauses for these, + since otherwise the autoconf tests in configure.in won't do us + much good. + +1993-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (overlays_at): New arg EXTEND. + (Foverlays_at, Fnext_overlay_change): Pass 1. + * xfaces.c (compute_char_face): Pass 0. + Try first with small overlay_vec, then use a big enough one. + + * lread.c (syms_of_lread): Make Vcurrent_load_list ordinary Lisp var. + Set up Qcurrent_load_list. + (readevalloop): Specbind Qcurrent_load_list instead of ad-hoc saving. + (build_load_history): Do nothing when loading pure files. + + * xterm.c (dumpglyphs): Create a temporary merged gc + when cursor falls on char with non-default face. + + * xterm.h (x_display): New field cursor_foreground_pixel. + * xfns.c (x_set_cursor_color): Set cursor_foreground_pixel. + + * casefiddle.c (casify_region): Remove mistaken arg to record_change. + +1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * xfaces.c (Fset_face_attribute_internal): Jolt redisplay, so it + knows something has changed. + + * xfaces.c (unload_color): Don't try to unload the standard black + or white pixel. + + More changes from David Mackenzie. + * ymakefile (emacs): No need to edit srcdir into a lisp file and + then load it; we can just take advantage of the PATH_DUMPLOADSEARCH. + (crt0.o): Remember that crt0.c is in ${srcdir}. + + Install David Mackenzie's patches to make ${srcdir} work. + * Makefile.in (srcdir, VPATH): Get this value from the top-level + Makefile. + (xmakefile): Use ${srcdir} to find the files from which we produce + xmakefile. Edit the values for srcdir and VPATH into xmakefile. + * ymakefile (srcdir, VPATH): New definitions for the Makefile + to edit. + (ALL_CFLAGS): Remove `-Is' and `-Im'; add `-I${srcdir}', and + `-I.'. + (emacs): Adjust dumping commands to deal with a separate source + directory. + (${etc}DOC): Pass `-d ${srcdir}' to make-docfile, to tell it where + to find the source files. + (prefix-args): Find the source code in ${srcdir}. + + * process.c (wait_reading_process_input): If we're running + Solaris, it's not necessary to check if we should redeliver SIGIO, + according to David Mackenzie. + * s/sol2.h: #include "usg5-4.h", and #define const. + + * systime.h: Borrow CPP sequence from getdate.y to include the + proper combination of and . + +1993-05-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.h (struct window): New slot region_showing. + * xdisp.c (mark_window_display_accurate): Set region_showing fields. + (redisplay_window): Update region_showing field. + (display_text_line): Set region_showing to t if will show one. + + * xselect.c (Fx_selection_exists_p): Handle nil, t as SELECTION arg. + Don't die if SELECTION is not recognized. + + * dispnew.c (direct_output_forward_char): Just give up + if region is being highlighted. + + * xdisp.c (redisplay, redisplay_window): Don't use the cursor-motion + special-case code if the region is or was highlighted. + + * xfaces.c (compute_char_face): New args REGION_BEG, REGION_END. + Don't sort if noverlays is 0 or 1. + + * dispnew.c (direct_output_for_insert): Pass those args. + * xdisp.c (display_text_line): Pass those args, + describing the region if the mark is transient and active. + +1993-05-14 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * buffer.c (Fmove_overlay): If the overlay is in no buffer and the + BUFFER argument has been omitted, put it in the current buffer, + for symmetry with move-marker. + + * buffer.c (Fdelete_overlay): Make the overlay's markers point + nowhere, not at 1. Do this after calling redisplay_region, so + that code knows what section has changed. + +1993-05-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (display_menu_bar): Update FRAME_MENU_BAR_ITEMS here. + * keyboard.c (command_loop_1): Don't do it here. + + * keymap.c (access_keymap): Handle any length vector. + (store_in_keymap): Likewise. + (Fcopy_keymap): Likewise. + +1993-05-14 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer, + Foverlay_properties): Functions moved here from subr.el. + +1993-05-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xfaces.c (compute_char_face): When merging the overlays, + traverse sortvec, not overlay_vec; the latter isn't the one we + sorted. + + * xterm.c (dumpglyphs): Give the cursor higher priority than the + face specified by the glyph under it. + + * xterm.c (dumpglyphs): Move the underline up a row. I dislike + the way X addresses pixels. Quickdraw is much nicer. + + * xfaces.c (intern_face): If the face has a GC, but it's not the + default or modeline face, abort. Nothing but those two faces + should have a GC *and* be passed to intern_face. + (compute_char_face, compute_glyph_face): After copying + the frame's default face into face, to use as a base case for + calculation, set the `gc' member to zero; that way we don't have + things lying around that look like display faces but aren't. + + * xfaces.c (intern_frame_face): When copying the new face into the + frame's face array, remember that the number of bytes to copy is + sizeof (*new_face), not sizeof (new_face). + + * xfaces.c (compute_char_face): Assume that W is displaying the + current buffer. Abort if it isn't. + + * lisp.h (Lisp_Overlay): New tag. + (OVERLAYP): New predicate. + (CHECK_OVERLAY): New type-checker. + (Qoverlayp): New extern declaration. + * buffer.c (Foverlayp): New function. + (Qoverlayp): New atom. + (overlays_at, recenter_overlay_lists): Abort if we encounter an + invalid overlay. + (syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp. + (Fdelete_overlay): Set the overlay's markers to point nowhere. + Use CHECK_OVERLAY instead of signalling a special error. + (Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of + signalling a special error. + (Foverlay_get): Use CHECK_OVERLAY. + * fns.c (internal_equal): Define this for overlays. + * buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP. + * print.c (print): Give overlays their own print syntax. + * alloc.c (mark_object): Treat overlays like conses. + + * lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE + is not defined. + + * buffer.c (Foverlay_get): Return Qnil if the requested property + is missing from the property list. + + The text property routines can now modify buffers other + than the current one. + * insdel.c (modify_region): New argument BUFFER. Select that + buffer while we prepare for the modification, and switch back when + we're done. + * textprop.c (add_properties, remove_properties): Pass + the buffer being modified as the first argument to modify_region. + * editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the + current_buffer as the first argument to modify_region. + * casefiddle.c (casify_region): Same. + + * dispnew.c (direct_output_for_insert): Compute the face of the + character we're inserting properly. + + * xterm.c (dumpglyphs): Pass the proper arguments to intern_face. + + * xterm.c (dumpglyphs): Don't increment left twice. + + * intervals.c (set_point): Check for point out of bounds before + checking for an empty interval tree. + + * cmds.c (Fforward_char): Check proposed new position, and then + set point, instead of setting point to a potentially invalid + position. + + * lread.c, data.c: If STDC_HEADERS is #defined, include + to get the extern declarations for atof. That's where it is in + POSIX. + +1993-05-12 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * ymakefile (xfaces.o): Add window.h to the dependencies. + + * xfaces.c (intern_frame_face): Exchange order of arguments, to + make callers correct. + + * xfaces.c (compute_char_face): Notice the next property change + location correctly. + + * xfaces.c (face_name_id_number): Return 0 (the default face) if + the name is undefined. + + * xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME + is an X frame. + + * xdisp.c (copy_rope, copy_part_of_rope): Add face argument. + (display_text_line): Initialize current_face to zero. Apply it + to characters as we write them to the display matrix. + (display_string): Pass the new argument to copy_rope. + + * xdisp.c (display_text_line): Handle the locations of face + changes properly. + + * textprop.c (Fnext_single_property_change, + Fprevious_single_property_change): Pass arguments to textget in + the right order. + + * ymakefile (xfns.o): Remove duplication of buffer.h in dependencies. + + * ymakefile ($(OLDXMENU)): Remove extraneous call to `rm'. + +1993-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (Faccessible_keymaps): Use whatever size the vector has. + (Fwhere_is_internal): Likewise. + (describe_vector): Likewise. + (current_minor_maps): Call Findirect_function, so symbols + can be used in place of actual maps. + + * xdisp.c (display_text_line): Use break; to exit loop at eol. + Duplicate the short MAKE_GLYPH loop after the main loop. + If no display table, do obey selective_display_ellipses. + (copy_part_of_rope): Arg FROM is now Lisp_Object *. + + * xfaces.c: Do include window.h. + (compute_char_face): Supply third arg of Fget_text_property. + + * keyboard.c (make_lispy_event): Don't set shift modifier for C-^. + + * callproc.c (child_setup): Omit duplicates from new env array. + +1993-05-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the + filesystem being ro, since Solaris 2.1 doesn't. + (file-writable-p): Call ro_fsys. + * s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this. + + * systime.h: Use the strategy from getdate.y to include the proper + combination of and . + + * xfns.c (Fx_create_frame): Use an XLFD name for the default font, + instead of "9x15" or whatever it was. + + * xdisp.c (display_text_line): Make face-handling code conditional + on HAVE_X_WINDOWS macro. Perhaps this isn't the best approach, + but it'll do for now. + + * xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE + macro here; that's x-specific. Just don't pass the second + argument. + * xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument; + use F's default face. + +1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xfaces.c (Fmake_face_internal): Do nothing for non-X frames. + + * dispextern.h (struct face): Add cached_index member. + * xfaces.c (get_cached_face): Use it to avoid unnecessary + searches of face_vector. + + * xfaces.c (intern_face): Renamed from get_display_face. + + * xfns.c (x_make_gc): After building the GC's for the frame, call + init_frame_faces to set up the first two faces. + * xfaces.c (init_frame_faces): Don't just try to copy the default + and mode line faces from some other random frame; instead, consult + the normal_gc and reverse_gc members of the frame, and build the + faces based on their parameters. + + Adjust the face computation functions to return frame face ID's, + not pointers to display faces; since we call these functions + during display construction, we don't want the display faces yet. + * xfaces.c (intern_frame_face): New function. + (compute_char_face, compute_glyph_face): Apply intern_frame_face + to the computed face, and return the frame face's ID, instead of + calling intern_face and returning a pointer to a display frame. + + * xfaces.c: Describe the facial data structures. It took me a + while to figure them out; perhaps this will save someone else the + trouble. + + Arrange to tell redisplay about changes in overlays. + * xdisp.c (redisplay_region): New function. + * buffer.c (Fmove_overlay): Call redisplay_region on the areas the + overlay has enclosed or left. + (Fdelete_overlay): Call redisplay_region on the area the overlay + used to occupy. + (Foverlay_put): Call redisplay_region on the area the overlay now + occupies; we may have put a face property on it. + + * buffer.c (Fmove_overlay): Doc fix. + + * xdisp.c (redisplay): If we're doing a thorough redisplay (all + windows on all frames involved), go ahead and flush the GC cache - + call clear_face_vector. + + * xdisp.c (display_text_line): Apply faces to characters + according to overlays and text properties; use + compute_char_face and compute_glyph_face to figure out what + face to use, and where a new face starts. + * xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide + which frame face to use. Call GLYPH_FOLLOW_ALIASES to make sure + we're implementing the glyph table properly. If we're not using + the default or mode line face, call intern_face to find a display + face for the frame face selected by the glyph code. Implement + underlining. Remove the `font' argument; we have to derive this + from the frame and face anyway. Change all callers. + * disptab.h (GLYPH_FOLLOW_ALIASES): New macro. + + * xterm.c (x_destroy_window): Call free_frame_faces. + + The GNU coding standards specify that CFLAGS should be left for + users to set. + * ymakefile (ALL_CFLAGS): Set this to the long string of + compilation switches, not CFLAGS. Changed all uses. + (CFLAGS): Make this default to just -g. + (.c.o): Define new default rule, to make sure that the right flags + get to the compilations. + +1993-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t. + + * pwd.h: File deleted. + +1993-05-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't + used by any configuration right now, but he's trying to make it + work. + #include "sunos4-1.h" instead of "bsd4-2.h". + (O_NDELAY): Don't define this. + (SYSTEM_MALLOC): Don't define this, either. + (LD_SWITCH_SYSTEM): Remove the definition for this. + + * Makefile.in (DEFS): Remove this; we have configure build a + config.h file directly, instead of having lots of -D flags. + + * Makefile.in (CFLAGS): Don't make this carry DEFS from the + configure script; the coding standards say that CFLAGS should be + left for the user to tweak. + +1993-05-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (do_mouse_tracking): Now static. + + * xmenu.c (Fx_popup_menu): Add a vector of prefix keys for the panes. + (keymap_panes): Allocate that vector. + (single_keymap_panes): Fill in that vector. + (xmenu_show): Return a list of events, not just one event. + + * keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu + to return a list of events. Don't lose any of them. + + * xfns.c (Fx_get_mouse_event, Fx_mouse_events): Code deleted. + * window.c (Vmouse_event): Var deleted. + (syms_of_window): Don't make it a Lisp var. + + * keyboard.c (read_avail_input, Fset_input_mode): Make + meta_key a three-value variable to support 8-bit input. + +1993-05-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ymakefile [__GNUC__ && __GNUC__ > 1] (LIB_GCC): Set this even if + LINKER is #defined. + + * ymakefile ($(OLDXMENU)): Remove the link before we re-create it; + not all versions of ln have the `-f' flag. Use the LN_S variable, + inherited from src/Makefile. + + * Makefile.in (LN_S): New variable, edited by top Makefile. + (SUBMAKEFILE): New variable, containing all flags to pass to + recursive makes. + + * config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER, + instead of AC_OUTPUT. + + * xfaces.c (get_display_face): Use face_eql instead of writing it out. + +1993-05-06 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid + returning a non-ascii key sequence unless FIRSTONLY is the symbol + `non-ascii'. + + * config.h.in: Remove mention of GLYPH datatype; that shouldn't be + a user option. + * lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros. + +1993-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_get_arg): Call Fintern, not intern. + + * systime.h [SCO]: Include time.h. + * s/sco4.h: New file. + + * ymakefile (LIBXMENU): Delete -loldX. + + * emacs.c (main): Handle -display like -d. + +1993-05-05 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * s/template.h: Explain the relative significance of the SIGIO and + INTERRUPT_INPUT macros. + + * ymakefile (buffer.o, insdel.o): Note that these files also + depend on blockinput.h. + + * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is + defined everywhere this file is #included; merge the two + definitions for defined (SIGIO) and ! defined (SIGIO) into one, + which calls reinvoke_input_signal if interrupt_input_pending is + set. + * keyboard.c (reinvoke_input_signal): New function. + +1993-05-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fdisplay_buffer): Add space to prompt. + +1993-05-04 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Doc fix for + extra-keyboard-modifiers. + + * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL, + CHAR_META): Shift these all up one bit, back to where they were. + +1993-05-02 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keymap.c (Fdefine_prefix_command): Doc fix. + + * ymakefile (C_DEBUG_SWITCH): Undo April 10 change. + +1993-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Fsuspend_emacs): Doc fix. + +1993-04-30 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * data.c (Ffset): Refuse to set the function value of t or nil. + +1993-04-29 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Implement extra_keyboard_modifiers properly. + * keyboard.c (syms_of_keyboard): Doc fix for + extra-keyboard-modifiers; use the same modifier bits as we do for + characters. + (read_char): Apply all the modifiers in extra_keyboard_modifiers + to the input characters, so you can get hyper, super, and the rest + of the gang. + * xterm.c (x_emacs_to_x_modifiers): New function. + (x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for + consistency. Callers changed. + (XTread_socket): Apply x_emacs_to_x_modifiers to + extra_keyboard_modifiers before setting the state member of the + event; this will get all the modifiers on ASCII characters. + + * xterm.c (x_text_icon): Don't call XSetIconName; it should be + unnecessary, and perhaps it's killing the icon pixmap. + + * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in + case we need them. + * termhooks.h (alt_modifier, super_modifier, hyper_modifier, + shift_modifier, ctrl_modifier, meta_modifier): Define these in + terms of the CHAR_mumble macros, to avoid having the same thing + defined in two places. + + * keyboard.c (kbd_buffer_get_event): Don't generate switch-frame + events if they'd only switch to the frame already selected. This + avoids lots of extra switch-frame events when using a separate + minibuffer. + +1993-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Fthis_command_keys): Doc fix. + + * process.c (wait_reading_process_input): Move the status_notify + call before the set_waiting_for_input call. + + * fileio.c (Fexpand_file_name): Undo last change--too risky for now. + + * data.c (Fdefine_function): New function (same code as Fdefalias). + +1993-04-28 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * eval.c (do_autoload): Fixed the bug in the autoload-saving code. + +1993-04-28 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c (Fcurrent_input_mode): New function. + +1993-04-27 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * eval.c (un_autoload): Don't try to save old autoload forms when + we load something in. Something about the code now conditioned + out by UNLOAD was screwing up ordinary autoloads, notably of + picture.el. When I figure out what, I'll fix and re-enable this + code. + +1993-04-27 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * buffer.c (syms_of_buffer): Doc fix for buffer-display-table. + + * systime.h: Doc fix. + (EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a + millisecond. What's three orders of magnitude between friends? + * dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the + `milliseconds' argument by 1000 to get microseconds. + +1993-04-26 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * fileio.c (Fexpand_file_name): + Don't remove trailing / from NEWDIR if just "/". + +1993-04-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h, + m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by + configure script. + * s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed; + derived by configure script. + + Arrange for Fy_or_n_p to put off switch-frame events. + * lread.c (read_filtered_char): New function, which contains the + code which used to be in Fread_char, Fread_event, and + Fread_char_exclusive; there was a lot of common code. + (Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms + of read_filtered_char. + * lisp.h (read_filtered_char): Declare this extern here. + * fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay + switch-frame events. + + * keyboard.c (read_key_sequence): Let the `modifiers' variable in + the code which deals with KEY being unbound be an int, not a + Lisp_Object. + + * config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we + should exclude the getenv declaration; instead, test NOT_C_CODE. + Per suggestion from Francesco Potorti`. + * ymakefile (NOT_C_CODE): Define this; it's true, and useful. + + * dispnew.c (Fsleep_for, Fsit_for): Allow SECONDS to be a + floating point value. + +1993-04-26 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * sysdep.c (read_pending_input): + Fix the garbaged-modifiers bug under System Vs previous + to r4. + +1993-04-25 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into + functions in sysdep.c. + * sysdep.c (emacs_get_tty, emacs_set_tty): Here they are. + + * sysdep.c (emacs_set_tty): Call tcsetattr over and over again + until it does all of what we ask it to, or returns an error. + + * search.c (Freplace_match): Arrange for markers sitting at the + beginning or end of the original text to float to the + corresponding position in the replacement text. + +1993-04-25 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * window.c (Fset-window-buffer): + Set horizontal-scrolling on a window to zero when + we connect it to a new buffer. + + * buffer.c: Doc fix. + +1993-04-24 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Make the modifier manipulation functions more robust. The old way + caused a bug once, and probably would again. + * termhooks.h (alt_modifier, super_modifier, hyper_modifier, + shift_modifier, ctrl_modifier, meta_modifier): Shift these all + down one bit in value, to avoid sign extension problems. + * lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too. + * keyboard.c (lispy_modifier_list): Ignore modifier bits beyond + what our table of modifier names can handle. + (apply_modifiers): Don't abort if you see extra modifier bits, + just remove them. + +1993-04-23 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * data.c (Fdefine_function): + Changed name back to Fdefalias, so we get things + in a known-good state. + + * buffer.h (BUF_NARROWED, NARROWED): + New macros to test whether a region + restriction has narrowed the buffer. + +1993-04-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * systime.h: Comment fixes. + + * data.c (Fdefine_function): New function. + + * lisp.h (LOADHIST_ATTACH): New macro. + (Vcurrent_load_list, Vload_history): Vars declared. + + * eval.c: (defun, defmacro, defvar, defconst): + Attach symbol argument to the list of globals for the input source. + (do_autoload): Save the old autoloads, in case we ever unload. + + * fns.c (provide, require): Put appropriately-marked + conses in the current-globals list. + + * lread.c (readevalloop): + New argument is the source file name (or nil if none). + All calls changed. Do the two-step + necessary to call build_load_history with the correct current-globals + list for the current recursion. + (build_load_history): New function. + (eval_region, eval_buffer): Call readevalloop with new arg. + (load_history): New variable. + +1993-04-16 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * lread.c (readevalloop): New argument is the source file name (or + nil if none). All calls changed. Do the two-step + necessary to call build_load_history with the correct current-globals + list for the current recursion. + (build_load_history): New function. + (Feval_region, Feval_buffer): Call readevalloop with new arg. + (Vload_history): New variable. + + * fns.c (Fprovide, Frequire): Put appropriately-marked + conses in the current-globals list. + + * eval.c (Fdefun, Fdefmacro, Fdefvar, Fdefconst): + Attach symbol argument to the list of globals for the input source. + (do_autoload): Save the old autoloads, in case we ever unload. + + * data.c (Fdefine_function): New function. + +1993-04-16 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * fileio.c (Fmake_symbolic_link): If a file already exists under + the link's filename, delete the file which the link + would replace, not the file the link would point at. + + * config.h.in (volatile): Don't define this to be the empty string + if some file has #defined HAVE_VOLATILE. + + * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and + ':' elsewhere, just have it default to ':' if not #defined, and + #define it to be ',' in s/vms.h; OS/2 will need it to be ';'. + * s/vms.h (SEPCHAR): #define this to be ','. + * s/template.h (SEPCHAR): Mention this. + +1993-04-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * s/vms.h (xfree): #define this to emacs_xfree, to avoid case + conflict with XFree; on VMS, external symbols are case-insensitive. + + * s/usg5-4.h (HAVE_GETTIMEOFDAY): Deleted; ../configure figures + that out now. + + Changes for Emacs 19 from Thorsten Ohl : + * s/mach2.h: copied from the Emacs 18.59 distribution. + Don't define NO_REMAP, define START_FILES as + `pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the + default `-lm -lc' (there is no libc on the NeXT). + * ymakefile (STARTFILES): Allow config.h to set this value even if + ORDINARY_LINK is defined. + * unexnext.c: Fix subdirectories for the machine dependent include + files for NeXTStep 3.0; #include and + instead of and . + (getsectbyname): Remove prototype for this; the system #include + files take care of that. + (malloc_cookie): New variable. + (unexec_doit): Set malloc_cookie to the result returned by + malloc_freezedry. + * emacs.c (main): Declare malloc_cookie to be extern, so that we can + get the value set when we dumped and pass it to malloc_jumpstart. + * systime.h: The NeXT has a timezone function. + +1993-04-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to + link in a new version. + + * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error, + Qoverflow_error, Qunderflow_error): Add extern to these declarations. + +1993-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfaces.c: Don't include Xmu/Drawing.h. + +1993-04-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Makefile.in (xmakefile): Recognize the -O option with a numeric + optimization level. + + * ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or + higher, use -O99 instead of plain -O. + +1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c (command_loop_1): Rebuild menu bar if + update_mode_lines is set. + + long_to_cons and cons_to_long are generally useful things; they're + needed whether or not X is defined. + * xselect.c (long_to_cons, cons_to_long): Moved from here... + * data.c (long_to_cons, cons_to_long): ... to here. + * lisp.h (long_to_cons, cons_to_long): Add extern declaration. + + * xmenu.c (Qmenu_enable): Definition moved... + (syms_of_xmenu): ... along with initialization ... + * keyboard.c (Qmenu_enable): ... to here ... + (syms_of_keyboard): ... and here. + + * keyboard.c (kbd_buffer_get_event): If we get a selection clear + or selection request event, but we were compiled without the + window-system-specific code to handle it, abort. Don't try to + call a function which doesn't exist. + + * keyboard.c (make_lispy_event): In the code which processes mouse + clicks, declare f to be a FRAME_PTR, not a struct frame *; this + works when MULTI_FRAME is not #defined. + + * xfaces.c (sort_overlays): Define this to be static, as declared. + + * callproc.c (relocate_fd): Make messages string literals, not + initialized arrays. + + * alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare + these extern, not static. (!) + + * alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook, + old_realloc_hook): Declare that the functions these point to return + void *, not void. + + Adjust for autoconf merger. + * config.h.in: Add extra line to top, in case autoconf gets fixed + and decides not to add Makefile-style comments to the top of the + files it generates which we are forced to lop off. + Indicate that the boolean macros here get their definitions via + the DEFS Makefile variable. + Adjust the operating system and machine #includes to use + autoload's @cookies@. + (RETSIGTYPE): Give this a default value. + (SIGTYPE): Set this from RETSIGTYPE. + (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@. + * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS. + (xmakefile): Pass CFLAGS to ${CPP}. + + * buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER + arguments. + (recenter_overlay_lists): New argument BUF, to use instead of the + current buffer. + (Foverlay_recenter): Pass the appropriate arguments to + recenter_overlay_lists. + + * buffer.c (Fdelete_overlay): Don't assume that overlay is in the + current buffer. Don't forget to declare the argument a Lisp_Object. + + * dispnew.c (getenv): Extern declaration deleted; this is done in + config.h. + + * Makefile.in (tagsfiles): Remove external-lisp from this list of + files; we're not distributing it, so the normal build process + shouldn't depend on it. + + * dispnew.c (init_display): Compare the return value of getenv to + zero before setting display_arg, instead of just using the pointer + as a truth value. + +1993-04-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (message, message1): If noninteractive and + cursor_in_echo_area, don't print a newline at end of message. + + * fns.c (Fy_or_n_p): Echo the answer just once, at exit. + + * keyboard.c (echo_dash): Do nothing if echoptr is 0. + + * buffer.c (Fkill_all_local_variables): Store each var's current value + in the buffer's alist entry, before reverting to the default value. + +1993-04-07 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * keyboard.c (apply_modifiers): Fix typo in sanity check. + + * keyboard.c (interrupt_input_blocked, interrupt_input_pending): + Remove `extern' keywords - these are the definitions. + +1993-04-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * blockinput.h (UNBLOCK_INPUT): Fix typo. + (interrupt_input_blocked): Make this signed int. + + * search.c (search_buffer): Fix typo in previous change. + + * insdel.c, buffer.c: Include blockinput.h. + + * xterm.c: Fix typo in comment delimiter. + +1993-04-07 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead + of defining LINKER to use cc. + * s/aix3-1.h (LINKER): Don't use cc for linking command if we're + using GCC. + * s/aix3-2.h (SYSTEM_MALLOC): Undefine this. + + * xterm.c (updating_frame): Declare this extern instead of static, + so it's the same variable as the updating_frame in term.c. + (XTupdate_begin, XTupdate_end): Don't bother to set + updating_frame; the term.c functions take care of that for us. + +1993-04-05 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * s/vms.h (EXEC_SUFFIXES): Add definition for this. + +1993-03-31 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * xfaces.c: Doc fixes. + + Put interrupt input blocking in a separate file from xterm.h. + This isn't specific to X, and it allows us to avoid #including + xterm.h in files that don't really have anything to do with X. + * blockinput.h: New file. + * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, + UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. + (x_input_blocked, x_pending_input): Deleted; there are analogs + in blockinput.h called interrupt_input_blocked and + interrupt_input_pending. + * keyboard.c (interrupt_input_blocked, interrupt_input_pending): + New variables, used by the macros in blockinput.h. + * xterm.c: #include blockinput.h. + (x_input_blocked, x_pending_input): Deleted. + (XTread_socket): Test and set interrupt_input_blocked and + interrupt_input_pending instead of the old variables. + * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: + #include blockinput.h. + * eval.c: #include blockinput.h instead of xterm.h. + * keyboard.c: #include blockinput.h. + (input_poll_signal): Just test + interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and + x_input_blocked. + + Block the processing of interrupt input while we're manipulating the + malloc heap. + * alloc.c: (xfree): New function, to make it easy to free things + safely. + (xmalloc, xrealloc): Block X input while doing the deed. + (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree + instead of free. + (uninterrupt_malloc): New function, to install input-blocking + hooks into the GNU malloc routines. + * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc + on startup. + * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, + Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): + Use xmalloc instead of malloc; don't bother to check if out of + memory here. + (Fgarbage_collect): Call xrealloc instead of realloc. + * buffer.c: Use xmalloc and xfree instead of malloc and free; + don't bother to check if out of memory here. + (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around + calls to ralloc routines. + * insdel.c: Same. + * lisp.h (xfree): New extern declaration. + * xfaces.c (xfree): Don't #define this to be free; use the + definition in alloc.c. + * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, + xmenu.c, xterm.c: Use xfree instead of free. + * hftctl.c: Use xfree and xmalloc instead of free and malloc. + * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc + and malloc. + * search.c: Since the regexp routines can malloc, BLOCK_INPUT + while runing them. #include blockinput.h. + * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead + of free and malloc. BLOCK_INPUT around routines which we know + will call malloc. + + ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, + xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that + these depend on blockinput.h. + + * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're + not trying to create modifier masks using integers which are + unrepresentable as lisp values. + +1993-03-30 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the + equivalent of /dev/null, and the suffixes used by executable + files. This is simple, and helps people porting Emacs to other + operating systems. + * process.h (NULL_DEVICE): Give this a default value. + * process.c (Fstart_process): Pass EXEC_SUFFIXES to openp. + (Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null". + * callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp. + Use NULL_DEVICE instead of "/dev/null". + * s/vms.h (NULL_DEVICE): #define this. + + Rename int-to-string to number-to-string, since it can handle + floating-point as well as integer arguments. subr.el defines the + former as an alias for the latter. + * data.c (Fnumber_to_string): Renamed from Fint_to_string. + (wrong_type_argument): Adjust caller. + (syms_of_data): Adjust defsubr. + * fns.c (concat): Adjust caller. + * lisp.h (Fnumber_to_string): Adjust extern declaration. + * mocklisp.c (Finsert_string): Adjust caller. + * process.c (status_message): Adjust caller. + +1993-03-28 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * systty.h [NO_PTY_H]: Don't include pty.h. + + * m/delta88k.h [USG5_4]: Alternate defining of LIBS_SYSTEM, + LIBX11_SYSTEM, HAVE_RANDOM, BSTRING. + (NO_PTY_H): Defined. + + * fileio.c (Fwrite_region): Don't fail to set visit_file. + + * keyboard.c (command_loop_1): Clear force_start of selected_window + after reading each key sequence. + (read_char): Clear Vquit_flag when we return C-g for it. + + * fileio.c (Fexpand_file_name): Default DEFALT at beginning, + before expanding it. But avoid unneeded or infinite recursive expand. + +1993-03-26 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * editfns.c (Fchar_equal): Don't ignore high bits of character. + + * fileio.c (Fwrite_region): Set visit_file after expanding file arg. + Also expand VISIT arg if specified. + + * frame.c (make_frame): Init face_alist field. + +1993-03-25 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3; + access the display structure directly. + +1993-03-25 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * ymakefile (xfns.o): Depend on buffer.h. + + * buffer.h (struct buffer): Field `fieldlist' deleted. + + * search.c (Freplace_match): Clean up criterion about converting case. + If old text has any capitalized words, capitalize new text. + + * xfaces.c: New file. + + * ymakefile (XOBJ): Add xfaces.o. + (xfaces.o): New target. + * emacs.c (main): Call syms_of_xfaces. + + * buffer.h (OVERLAY_START, OVERLAY_END, OVERLAY_VALID): New macros. + (OVERLAY_POSITION): Likewise. + (searchbuf): Decl deleted--doesn't belong here. + Delete include of regex.h for VMS. + * dired.c (searchbuf): Declare here. + + * frame.h (struct frame): New field face_alist. + * alloc.c (mark_object): Mark face_alist of a frame. + + * ymakefile (xselect.o): Depend on dispextern.h. + + * xterm.h (FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE) + (FRAME_MODE_LINE_FACE): New macros. + (struct x_display): New fields faces, n_faces. + + * dispextern.h (struct face): New fields pixmap_h, pixmap_w. + Field `font' is now a pointer. + + * fns.c (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit. + +1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * dispnew.c (getenv): Add extern declaration. + + * ymakefile (really-oldXMenu): Pass C_SWITCH_SITE and + C_SWITCH_SYSTEM to the inferior make as separate flags, instead of + passing just C_SWITCH_SITE as CFLAGS. + + * keymap.c (Fkeymapp): Doc fix. + + * xterm.h (x_focus_frame): Add extern keyword to declaration. + + * xterm.c [VMS]: Don't #include and . + * xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm. + * process.c [VMS] (DCL_PROMPT): Remove hack. + (WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG, + WCOREDUMP, WTERMSIG): New dummy definitions. + (deactivate_process): Add missing semicolon. + * dispnew.c (init_display): Get display name from environment + properly on VMS as well as Unix. + +1993-03-24 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * buffer.c (init_buffer_once, reset_buffer): + Delete last vestige of fieldlist slot. + (Fregion_fields): Finally deleted. + + * keymap.c (push_key_description): Ignore bits above meta_modifier. + +1993-03-23 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * buffer.c (overlays_at, recenter_overlay_lists): New functions. + (Fmake_overlay, Fdelete_overlay, Foverlay_get, Foverlay_put): Likewise. + (Fmove_overlay, Foverlays_at, Fnext_overlay_change): Likewise. + (Foverlay_lists, Foverlay_recenter): Likewise. + + * buffer.h (struct buffer): New fields overlay_center, + overlays_before, overlays_after. + +1993-03-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * config.h.in (HAVE_XFREE386): New flag, set by configure script. + If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate + for XFree386. + * sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is + #defined. + + * config.h.in (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): New flags. + * ymakefile (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): Provide default + values. Include C_SWITCH_X_SITE in CFLAGS, include + LD_SWITCH_X_SITE in LIBX, and pass C_SWITCH_X_SITE to the make + which builds the X Menu library. + +1993-03-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * xfns.c (Fx_parse_geometry): Renamed from Fx_geometry. + (Fx_color_defined_p): Renamed from Fx_defined_color. + (syms_of_xfns): Adjusted. + +1993-03-22 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * indent.c (current_column, Findent_to, position_indentation): + (Fmove_to_column, compute_motion): Allow tab_width up to 1000. + + * xdisp.c (display_string, display_text_line): + Allow tab_width up to 1000. + + * keyboard.c (Fsuspend_emacs): + Change suspend-hooks back to suspend-hook and make it a normal hook. + + * s/dgux.h: Decide automatically whether to use COFF or ELF. + +1993-03-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c (Fy_or_n_p): Handle `recenter' response type. + + * s/dgux.h (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Defined. + +1993-03-21 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * frame.c (Fhandle_switch_frame): Renamed from Fselect_frame. + Doc changed in anticipation of new purpose. + (Fselect_frame): Just call Fhandle_switch_frame for now. + +1993-03-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (decode_mode_spec): Handle `%l'. + (display_count_lines): New function. + (redisplay_window): Update base_line_number and base_line_pos fields. + Always update mode line if it's an integer. + * window.h (struct window): + New fields base_line_number and base_line_pos. + + * window.c (Fselect_window): Use Fhandle_switch_frame. + (Fset_window_configuration): Likewise. + +1993-03-20 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + Use the `visiblity' parameter to determine the initial state of + the frame, instead of the `iconic-startup' and + `suppress-initial-map' parameters. + * xfns.c (x_icon): Test the Qvisibility parameter against Qicon, + instead of the Qiconic_startup against Qt. + (x_create_frame): Test Qvisibility against Qnil and + Qicon, instead of testing Qsuppress_initial_map and Qvisibility. + (Qicon): New symbol. + (Qiconic_startup, Qsuppress_initial_map): Removed. + (syms_of_xfns): Adjusted appropriately. + + * xfns.c (x_set_visibility): Instead of interpreting only Qt as + `make the frame visible' and everything else as `iconify the + frame', interpret Qicon as `iconify the frame' and everything else + as `make the frame visible.' + + * xfns.c (x_get_arg): When the type of the resource is `symbol', + return `true' and `on' as Qt, and `false' and `off' as Qnil. + +1993-03-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (init_cmdargs): Fix simple bug in previous change. + +1993-03-20 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * dispnew.c (Fsleep_for): Make this take two arguments SECONDS and + MILLISECONDS, which add, rather than a second argument which says + "treat the first argument as milliseconds." + (Fsit_for): Same thing. + (Fsleep_for_milliseconds): Deleted; this can be done with Fsleep_for. + + * process.c (wait_reading_process_input): Doc fix. + + * systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is + #defined. + + * dispnew.c (sit_for): Doc fix. + + * sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY. + + * callproc.c (child_setup): Make sure that in, out, and err are + not less than three. + (relocate_fd): New function. + + * xterm.c (x_term_init): If the X connection is already in file + descriptor zero, don't dup it and close the old one. + + * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in + Emacs 18. + + * xfns.c (Fx_open_connection): If we have X11R5, use + XrmSetDatabase to set the display's database. In older versions, + just store the value into x_current_display->db. + * xterm.h (HAVE_X11R5): Define this where appropriate. + + * frame.c (Fraise_frame, Flower_frame): Renamed from + Fframe_to_front and Fframe_to_back. + (syms_of_frame): Adjusted appropriately. + + * fileio.c (HAVE_FSYNC): Define, if appropriate. + (Fwrite_region): Use HAVE_FSYNC. + * s-aix3-2.h (HAVE_FSYNC): Define. + + * emacs.c (Finvocation_name): New function. + (Vinvocation_name): New variable. + (init_cmdargs): Set it. + (syms_of_emacs): defsubr Finvocation_name, staticpro and + initialize Vinvocation_name. + * lisp.h (Vinvocation_name): New extern declaration. + * xterm.c (invocation_name): Variable deleted; use + Vinvocation_name now. + (x_text_icon, x_term_init): Use Vinvocation_name now instead of + invocation_name. + (x_term_init): Don't initialize invocation_name. + (syms_of_xterm): Don't initialize or staticpro invocation_name. + * xfns.c (invocation_name): Remove extern declaration for this. + [HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of + invocation_name. + [not HAVE_X11] (Fx_get_default): Same. + +1993-03-20 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * xfns.c (Fx_display_color_p): Renamed from Fx_color_display_p. + (syms_of_xfns): Use new name in defsubr. + +1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * Makefile.in (unlock, relock): New productions to assist with + version control. + +1993-03-19 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * fileio.c (Fvisited_file_modtime): New function. + (Fset_visited_file_modtime): Accept an argument specifying time value. + If arg is nil, really use the filename handler. + + * xselect.c (cons_to_long, long_to_cons): No longer static. + +1993-03-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * frame.h (FOR_EACH_FRAME): Change the definition so that + FRAME_VAR is a lisp object. + * dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change): + Adjusted appropriately. + * xdisp.c (redisplay): Adjusted appropriately. + + * dispnew.c (Fredraw_frame): Give this appropriate definitions for + MULTI_FRAME and non-MULTI_FRAME configurations. + (Fredraw_display): Give this a non-MULTI_FRAME-dependent definition. + +1993-03-18 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * lisp.h (CHECK_LIVE_WINDOW): Use Qlive_window_p. + + * xfns.c (x_screen): Make this var file scope. + (Fx_server_version): Use Fcons, not list3. + +1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * xterm.c (term_get_fkeys): Less klugey version of the last fix. + + * Makefile.in (versionclean): New production nukes binaries and + DOC files, forcing a re-load, re-dump and re-makedoc. + +1993-03-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c: Doc fix. + +1993-03-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xterm.c (x_display_box_cursor, x_display_bar_cursor): Don't + display the cursor on garbaged frames. + +1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * term.c (term_get_fkeys) Supply second args for all tgetstr calls. + +1993-03-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (Fprocess_send_eof): Make sure proc is running. + + * s/irix4-0.h (_getpty): Declare this, not _get_pty. + +1993-03-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (Fx_server_vendor, Fx_server_version, Fx_display_pixel_width) + (Fx_display_pixel_height, Fx_display_mm_width, Fx_display_mm_height) + (Fx_display_screens, Fx_display_planes, Fx_display_color_cells) + (Fx_display_visual_class, Fx_display_backing_store) + (Fx_display_save_under): New functions. + (x_screen_count, Vx_vendor, x_release, x_screen_height_mm) + (x_screen_width_mm, Vx_backing_store, x_save_under, Vx_screen_visual) + (x_visual_strings): Vars deleted. + (Fx_open_connection): Don't init those vars. + (syms_of_xfns): Set up new functions. + Don't set up those vars as Lisp vars. + Nor x-screen-width and x-screen-height. + +1993-03-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * cmds.c (overwrite_binary_mode): Deleted; this implements the + wrong feature. + (Qoverwrite_mode_binary): New variable. + (internal_self_insert): If current_buffer->overwrite_mode is + `overwrite-mode-binary', do as overwrite_binary_mode used to. + (syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize + Qoverwrite_mode_binary. + * buffer.c (syms_of_buffer): Doc fix for overwrite_mode. + * buffer.h (struct buffer): Doc fix. + + Rename `live-window-p' to `window-live-p', for consistency with + `frame-live-p'. + * window.c (Fwindow_live_p): Renamed from Flive_window_p. + * lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p. + (Qwindow_live_p): Extern declaration renamed fom Qlive_window_p. + +1993-03-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show): Do BLOCK_INPUT; unblock just before returning. + + * xterm.h [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input. + +1993-03-15 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * frame.c (Fframe_height, Fframe_width): Fix doc strings to match + those of the multi-frame versions in frame.el. Accept an optional + argument FRAME, also for consistency. + + * floatfns.c (logb): Add extern declaration for this. + + * floatfns.c (Flogb): Under SYSV, implement this using frexp. + +1993-03-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (dispnew.o): Depend on termhooks.h. + + * xmenu.c (list_of_items): Allow strings among the alist items; + they make nonselectable lines. + +1993-03-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * dired.c (Fdirectory_files): Recompile MATCH (if specified) after + expanding the file name and all; those might compile regexp of + their own, and change searchbuf. + + * keyboard.h (internal_last_event_frame): This should be extern, + dummy. + + * fns.c (Fy_or_n_p): Display the answer. + + Some VMS changes from Richard Levitte : + * [VMS] systime.h: Include vmstime.h. VMS has the timezone + variable and the tzname array. + * s/vms.h: VMS does have select. + mth$dmod is the same as Unix's drem. + Use the time functions in vmstime.c. + No need to rename the malloc routines if we're using GNU malloc. + PURESIZE needs to be 330000. + * vmstime.c, vmstime.h: New files. + * systty.h: Don't try to initialize extern declarations under VAX C. + * vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP] + in PATH_LOADSEARCH. + (PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC]. + * sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef. + [VMS] (queue_kbd_input): Build events structure correctly. + [VMS] (gethostname): New function. + [VMS] (getwd): Don't get the PATH environment variable; that's + dumb. Call getcwd. + +1993-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (display_menu_bar): Assume FRAME_MENU_BAR_ITEMS already set. + Fill out line with spaces. + Put explicit spaces between items. + * keyboard.c (command_loop_1): Set FRAME_MENU_BAR_ITEMS here. + + * window.c (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES. + + * keyboard.c (menu_bar_items): Reverse the list when done. + + * xmenu.c (single_keymap_panes): When storing in ENABLES, + check def before enabled. + + * ymakefile (really-oldXMenu): Renamed from ${oldXMenudir}$(OLDXMENU). + Add @true. + ($(OLDXMENU)): Depend on really-oldXMenu. + The idea is to make sure libXMenu11.a is always updated if nec. + + * keyboard.c (command_loop_1): Typo calling Qrecompute_lucid_menubar. + (read_key_sequence): Likewise. Also fix call to Vrun_hooks. + +1993-03-13 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * ymakefile (YMF_PASS_LDFLAGS): Doc fix. + +1993-03-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * print.c (PRINTPREPARE): Handle marker that points nowhere. + + * apollo.h (NO_X_DESTROY_DATABASE): Defined. + + * undo.c (record_property_change, record_delete, record_insert): + Don't make boundary or touch last_undo_buffer if cur buf has no undo. + + * ymakefile [__GNUC__ > 1]: Delete the conditional for GCC 2.4. + [__GNUC__ > 1] (LIB_GCC): Use -print-libgcc-file-name to find libgcc.a. + (YMF_FIND_LIBGCC_A): Definitions and uses deleted. + +1993-03-13 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * s/usg5-4.h: Remove extraneous text after #undef LIB_X11_LIB. + +1993-03-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (Xatom_wm_change_state): Define here. + * xfns.c (Xatom_wm_change_state): Just declare. + (Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection): + (Xatom_wm_change_state, Xatom_incremental, Xatom_multiple): + (Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection): + (Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted. + (x_begin_selection_own): Decls deleted. + (Fx_open_connection): Set up only the wm atoms here. + Call Xatoms_of_xselect. + + * dispnew.c: Include termhooks.h. + + * frame.h (FRAMEP): Macro deleted. + + * xselect.c: Total rewrite, derived from Lucid's version. + + * keyboard.c (kbd_buffer_get_event): Handle selection_clear_event + and selection_request_event events. + + * xterm.c (XTread_socket): Handle NEW_SELECTIONS alternative: + queue events for SelectionRequest and SelectionClear; + call functions for SelectionNotify and PropertyNotify. + + * termhooks.h (selection_request_event, selection_clear_event): + New event kinds. + + * xterm.h (SELECTION_EVENT_DISPLAY): New macro. + (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION) + (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY) + (SELECTION_EVENT_TIME): New macros. + (struct selection_input_event): New structure. + + * process.c (wait_reading_process_input): New option to wait + till a given cons cell has a non-nil car. + Delete vipc conditionals. + +1993-03-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ymakefile (YMF_FIND_LIBGCC_A): New macro, to help GCC find + libgcc.a even when -nostdlib is in effect. Define it to be the + empty string if nobody else establishes a value for it. + (temacs): Include it in the list of flags passed to the linker. + + * ymakefile (LINKER): If we have GCC 2.4 or later, use the + -nostartfiles option instead of -nostdlib. + (LIBGCC): Under GCC 2.4 or later, define this to be the empty string. + +1993-03-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show): New arg enable_list. + (keymap_panes): New arg enables + (single_keymap_panes): New arg enables. Fill in its contents. + (list_of_panes, list_of_items): New arg enables. Fill in contents. + (Fx_popup_menu): Pass enable and enable_list args. + (single_keymap_panes): Set enable flag to -1 if cmd definition is nil. + + * lisp.h (INTEGERP, SYMBOLP, MARKERP, STRINGP, VECTORP): New macros. + (COMPILEDP, BUFFERP, SUBRP, PROCESSP, FRAMEP, WINDOWP): New macros. + (WINDOW_CONFIGURATIONP, FLOATP): New macros. + +1993-03-12 Paul Eggert (eggert@twinsun.com) + + * cmd.c (internal_self_insert): Check that tab_width does not + exceed 20, to be consistent with indent.c and xdisp.c. + +1993-03-12 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * term.c (CONDITIONAL_REASSIGN): fixed reference to tigetstr. + This should have been tgetstr, but I typoed and tigetstr happens + to link and even do the right thing if you're on a System V box. + +1993-03-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Support Vcurrent_menubar + and Qactivate_menubar_hook. Call Qrecompute_lucid_menubar. + (syms_of_keyboard): Set up Vcurrent_menubar, Vprevious_lucid_menubar, + Qactivate_menubar_hook, and Qrecompute_lucid_menubar. + + * xmenu.c (Fx_popup_menu): Allow a frame instead of a window, in arg. + Use Fcar, Fcdr when extracting from event, to check data types. + +1993-03-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.h (FRAME_MENU_BAR_ITEMS): New macro (two versions). + (struct frame): New field menu_bar_items. + * alloc.c (mark_object): Mark the menu_bar_items field. + + * xdisp.c (display_menu_bar): New function. + (redisplay_window): Call display_menu_bar. + + * term.c (tigetstr): Add dummy definition to make Emacs link again. + + * keyboard.c (syms_of_keyboard): Set up Qmenu_bar. + (menu_bar_items): New function. + (menu_bar_one_keymap, menu_bar_item): New functions. + (make_lispy_event): Handle menu bar events. + (read_key_sequence): Make dummy prefix `menu-bar' for menu bar events. + +1993-03-11 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * term.c (fkey_table): Added many more keycap cookies to the + fkey_table; it now supports the full intersection of the set of X + keysyms and terminfo capabilities. See my lisp directory + ChangeLog entry for this date, and lisp/term/README, for details. + +1993-03-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * floatfns.c (Flogb): Fix use of IN_FLOAT. + Fix arg names. Don't confuse Lisp_Object with integer. + +1993-03-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * process.c (process_send_signal): In the TERMIOS code for sending + control characters to processes, don't try to return Qnil; just + return. + +1993-03-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (change_frame_size): Handle FRAME_MENU_BAR_LINES. + + * frame.c (Fframe_parameters): Report menu-bar-lines parm. + (syms_of_frame): Set up Qmenu_bar_lines. + + * frame.h (FRAME_MENU_BAR_LINES): New macro. + (struct frame): New field menu_bar_lines. + + * xfns.c (x_frame_parms): Add elts for visibility and menu-bar-lines. + (enum x_frame_parm): Likewise. + (x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions. + (x_set_visibility): New function. + (Fx_create_frame): Handle menu-bar-lines parm. + (x_report_frame_params): Report Qvisibility. + (syms_of_xfns): Set up Qvisibility. + + * keyboard.c (command_loop_1): Typo in last change. + + * xmenu.c (syms_of_xmenu): Set up Qmenu_enable. + (single_keymap_panes): Test menu-enable property of symbol + to decide whether to include it in the menu. + +1993-03-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): Adjust to the fact that display + tables are now vectors of vectors, not vectors of strings. + +1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * floatfns.c (Flogb): Undo the change of Feb 22. + + * ymakefile (OLDXMENU): Don't assume that we have symbolic links + available; use `ln -f' instead of `ln -s'. + + * xterm.c (x_find_modifier_meanings): XDisplayKeycodes only + appeared in X11R4; for earlier versions, just access the members + of the Display directly. + + * xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h, + we can't test HAVE_X11R4 to see how we should get the resource + manager string; cheat. + + * unexec.c (copy_text_and_data): Error message tweaked. + + * systime.h (timezone): Add an explicit declaration for this + variable under USG 5-4. + + * sysdep.c (read_input_waiting): Set e.frame_or_window, not + e.frame; the latter doesn't exist anymore. + + * sysdep.c (start_of_data): If ORDINARY_LINK is #defined, we don't + have the data_start symbol defined, so we'll just use the address + of environ. + + * s/usg5-4.h: Changes from Eric Raymond: + If we're doing ordinary linking, define LIB_STANDARD appropriately. + Give LIBS_DEBUG a null definition; usg5-4 has no -lg. + #define LIBS_STANDARD as "-lc"; usg5-4 has no -lPW. + #define NSIG, if it's not already defined. + #define HAVE_TERMIOS instead of HAVE_TCATTR. + Provide our own definition of LIB_X11_LIB. + + * s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here + were slightly wrong. + + * m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no + need to include `-lPW'; that has been merged with `-lc'. + + * emacs.c (__do_global_ctors, __do_global_ctors_aux, + __do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't + define these if ORDINARY_LINK is #defined; in that case, the + standard linking procedure will find definitions for these. + + * syssignal.h (sigunblock): Add definition which works under SYSVr4. + * emacs.c (fatal_error_signal): Unblock the signal which we're + handling using sigunblock. + +1993-03-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xfns.c (x_make_gc): Don't forget to block X input around the + X calls in this function. + + * xfns.c [not HAVE_X11R4] (select_visual): It's v->visualid, not + x->visualid. x isn't defined. + + * m/template.h, s/template.h: Mention that `etc/MACHINES' and + `configure' should be updated whenever support for a configuration + is added or improved. + + * process.c [! subprocesses] (wait_reading_process_input): + Remember to re-enable polling for input. + + * keyboard.c [POLL_FOR_INPUT] (quit_throw_to_read_char): If + we're polling for input, abort; input polling should always be + suppressed while we're waiting for input. + + * keyboard.c (interrupt_signal): Remove extern declaration of + Vwindow_system; this is no longer used. + +1993-03-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * editfns.c (Fcurrent_time_string): Optional arg specifies time. + + * keymap.c (Fdefine_key): Use proper meta-bit to clear. + + * intervals.c (set_point): Check invisibility of following character, + not previous character. + + * floatfns.c (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO. + + * floatfns.c: Changes from Lucid. + (HAVE_MATHERR, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL): New parm macros. + (FLOAT_CHECK_DOMAIN, HAVE_RINT): New parm macros. + (HAVE_INVERSE_HYPERBOLIC, HAVE_CBRT): New parm macros. + [!HAVE_RINT]: Define rint as macro. + (IN_FLOAT): Major rewrite; several alternate versions. + (IN_FLOAT2): New macro. + (arith_error, range_error, domain_error, domain_error2): New macros. + (Facos, Fasin, Fatan, Fcos, Fsin, Ftan, Fexp, Fexpt, Flog): Changed. + (Flog10, Fsqrt, Fabs, Ffloat, Flogb): Changed. + (Ffloor, Fceiling, Fround, Ftruncate): Changed. + (Fcube_root): Renamed from Fcbrt. + (matherr): New function. + (float_error): Only if FLOAT_CATCH_SIGILL. + + * fns.c (Fy_or_n_p): Use query-replace-map. + + * keymap.c (access_keymap): Handle ints beyond the ASCII range. + (store_in_keymap): Likewise. + (Faccessible_keymaps): Use meta_modifier. + Use vectors for the key sequences. + (Fwhere_is_internal): Use meta_modifier. + (append_key): Always return a vector. + + * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error): + (Qoverflow_error, Qunderflow_error): New vars. + + * data.c (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions: + Qarith_error, Qrange_error, Qdomain_error, + Qsingularity_error, Qoverflow_error, Qunderflow_error. + +1993-03-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * systty.h: Define HAVE_TCATTR based on HAVE_TERMIOS earlier. + (struct emacs_tty): Separate the struct decl + from the EMACS_..._TTY... macro definitions. + Use HAVE_TCATTR to decide whether to use `struct termios'. + + * xfns.c (Fx_pixel_width, Fx_pixel_height): Fns deleted. + (syms_of_xfns): Don't install them. + (x_user_set_name): Function deleted. + (x_char_height, x_char_width): New functions. + + * frame.c (Fframe_char_height, Fframe_char_width): + (Fframe_pixel_height, Fframe_pixel_width): + New functions, two versions of each. + [MULTI_FRAME] (syms_of_frame): Make them Lisp functions. + [!MULTI_FRAME] (syms_of_frame): Likewise. Also Fselected_frame. + + * xterm.c (XTread_socket): + Don't reverse the chars that XLookupString returns. Use all of them. + Save last 100 chars and keysyms in temp_buffer. + +1993-03-07 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * buffer.c (syms_of_buffer): Make erase-buffer a disabled command. + +1993-03-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (keyboard.o): Depend on intervals.h. + (keymap.o): Depend on termhooks.h. + + * keyboard.c: Include intervals.h. + (read_key_sequence): Use get_local_map. + + * textprop.c (Fget_text_property): Use textget. + (Fnext_single_property_change): Likewise. + (Fprevious_single_property_change): Likewise. + + * intervals.c (textget): Handle categories. + (get_local_map): New function. + (verify_interval_modification): Call textget correctly. + + * textprop.c (syms_of_textprop): Set up Qcategory, Qlocal_map. + * intervals.h: Declare those vars. Declare textget, get_local_map. + + * keymap.c: Include termhooks.h. + (push_key_description): Handle all modifiers. + Handle large character codes. + (Fkey_description): Move the meta bit, if arg is string. + (Fsingle_key_description): Don't alter integer value. + Make tem long enough. + + * keyboard.c (read_key_sequence): + Use meta_modifier for meta keys when handling function_key_map. + + * lread.c (syms_of_lread): Set up Qascii_character. + (Fread_char, Fread_char_exclusive): Use that property + to convert symbols like tab, return, M-return,... to ASCII. + + * keyboard.c (follow_key): Downcase shift_modifier as well as ASCII. + (command_loop_1): Run pre-command-hook and post-command-hook. + Set this_command before running pre-command-hook. + (syms_of_keyboard): Set up vars for those hooks. + + * buffer.c (reset_buffer_local_variables): Reset mark_active. + (syms_of_buffer): New buffer-local var `mark-active'. + (init_buffer_once): Initialize mechanism for it. + +1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * dispnew.c (init_display): Initialize Vwindow_system. + + * ymakefile (SHELL): No need to set this twice; remove one. + + * emacs.c (main): SIGIOT isn't defined on all systems; don't set + its signal handler unless it is. + + * sysdep.c (init_baud_rate): Use input_fd, instead of fd; the + latter is undefined. + + * dired.c (NAMLEN): Never use d_nameln to get the length of the + directory entry's name; it is used inconsistently. Always call + strlen instead. + +1993-03-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Handle gaps in modifier_names. + (modifier_names): Reorder to match termhooks.h. + + * keyboard.c (parse_modifiers_uncached): Detect `s-', not `super-'. + (apply_modifiers_uncached): Make `s-', not `super-'. + + * lread.c: Include termhooks.h. + (read_escape): Handle \H, \A, \s. Use ..._modifier. + * ymakefile (lread.o): Depend on termhooks.h. + + * termhooks.h (alt_modifier, super_modifier, hyper_modifier): + (shift_modifier, ctrl_modifier, meta_modifier): + Renumber the bits. + * keyboard.c (make_lispy_event): For ASCII event, the ..._modifier + bits are the right bits to return. + + * keyboard.c (lispy_function_keys): Add codes starting at 0xff00 + and running through 0xffff. + + * xterm.c (x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask): + New variables. + (x_find_modifier_meanings): Set them. + (x_convert_modifiers): Check for them. + (XTread_socket): Handle BackSpace, etc, function keys. + + * keyboard.c (read_char): Move metabit when fetching from string macro. + + * callint.c (check_mark): Error if mark is not active. + + * editfns.c (save_excursion_save): Save mark_active of buffer. + (save_excursion_restore): Restore mark_active of buffer. + Run activate-mark-hook if it's on, or deactivate-mark-hook + if it turns off. + (region_limit): Error if mark inactive, if transient-mark-mode. + + * insdel.c (prepare_to_modify_buffer): Set Vdeactivate_mark. + + * keyboard.c (command_loop_1): Clear Vdeactivate_mark before cmd. + Clear mark_active if command set Vdeactivate_mark. + Run deactivate-mark-hook at that time, or activate-mark-hook. + (syms_of_keyboard): Define variable deactivate-mark. + + * buffer.c (syms_of_buffer): New buffer-local var `mark-active'. + (init_buffer_once): Initialize mechanism for it. + + * buffer.h (struct buffer): New field mark_active. + + * intervals.c (verify_interval_modification): Handle insertions + specially. For non-insertions, check only the chars being changed. + `modification-hooks' property is now a list of functions. + (set_point): Ignore chars outside current restriction. + + * textprop.c (Qmodification_hooks): Renamed from Qmodification. + (syms_of_textprop): Changed accordingly. + + * keyboard.c (syms_of_keyboard): New lisp var unread-command-char. + (Finput_pending_p): Test unread_command_char. + (Fdiscard_input, quit_throw_to_read_char, init_keyboard): Set it. + (read_char): Fetch from it. + +1993-03-05 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * textprop.c (Fadd_text_properties): Initialize the modified flag. + Use a "for (;;)" loop at the end of the function, to indicate that + all exiting is taken care of inside the loop. + (Fremove_text_properties): Same. + +1993-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (LIB_MATH): Delete -lc, since duplicates LIB_STANDARD. + + * buffer.c (check_protected_fields): Variable deleted. + (syms_of_buffer): Delete vars buffer-field-list + and check-protected-fields. + * insdel.c (check_protected_fields): Delete decl. + + * disptab.h (DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE. + (DISP_CHAR_VECTOR): Renamed from DISP_CHAR_ROPE. + All callers changed. + + * xdisp.c (copy_rope): Expect FROM to be a vector. + (copy_part_of_rope): New function. + (display_string): Expect display table elts to be vectors. + * indent.c (current_column, Fmove_to_column, compute_motion): + Expect display table elts to be vectors. + + * alloc.c: (Fmake_rope, Frope_elt): Fns deleted. + + * lisp.h (CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros. + + * lread.c (read_escape): Handle M-, C- and S- for new convention. + (read1): Move the meta bit to the right place for a string. + + * keyboard.c (Fthis_command_keys, Fread_key_sequence): + Fix calls to make_event_array. + + * macros.c (Fend_kbd_macro): Fix call to make_event_array. + + * alloc.c (make_event_array): Renamed from make_array. + Chars that fit in a string are 0...127 and their meta variants. + + * keyboard.c (make_lispy_event): Put meta and shift modifiers + into an integer. + (read_avail_input): Set the modifiers field in the events read. + (kbd_buffer_get_event): Pass thru integer event untruncated. + (read_char): Likewise. + (read_key_sequence, read_char): Only -1 means EOF. + (kbd_buffer_store_event): Don't ignore 0200 bit in quit char. + (follow_key): Use new meta bit flag. + + * xterm.c (XTread_socket): Set bufp->modifiers for all kinds of keys. + + * keymap.c (Flookup_key): Use 0x800000 as meta-bit if from vector. + (Fdefine_key): Likewise. + +1993-03-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dgux.h (ELF): Handle this parameter. + [! COFF] (UNEXEC, USG_SHARED_LIBRARIES): New definitions. + (_BSD_TTY_FLAVOR): Don't define if already defined. + (C_COMPILER, LINKER, MAKE_COMMAND): New definitions. + +1993-03-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c (Fsuspend_emacs): Remember that `suspend-hooks' isn't + necessarily bound. + +1993-03-04 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile.in (xmakefile): Add missing quote. + +1992-03-03 Wilson H. Tien (wtien at urbana.mcd.mot.com) + + * unexelf.c (unexec): Move data2 section header up so all section + headers will be in ascending order. This will prevent the unexeced + emacs that being processed by other applications (such as strip) + to fail. + +1993-03-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/isc2-2.h (S_IFLNK): Add #undef. + (C_SWITCH_SYSTEM): Add conditional definition. + (NO_ASM, USE_UTIME, NO_X_DESTROY_DATABASE): Defined. + (LIB_STANDARD): Alternate definition if __GNUC__. + (SIGTSTP): #undef deleted. + (LIBS_SYSTEM): Define only if HAVE_X_WINDOWS. + * s/isc3-0.h: New file. + + * unexelf.c: Handle rounding of section boundaries. + (round_up): New function. + +1993-03-02 Karl Berry (karl@cs.umb.edu) + + * s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD): + Define. + (HAVE_TIMEVAL): Do not define. + (NO_ASM): Only define once. + +1993-03-02 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * print.c (float_to_string): Define buf to be an unsigned char, to + match the data field of strings. + + * keyboard.c (kbd_buffer_get_event): Protect assignment to + Vlast_event_frame in a "#ifdef MULTI_FRAME" clause. + + * syntax.c (describe_syntax_1): Delete excess arg to describe_vector. + (check_syntax_table): Delete excess arg to wrong_type_argument. + +1993-03-01 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * buffer.c (buffer-undo-list): Doc fix. + + * xdisp.c (redisplay): Protect calls to request_sigio and + unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined + + * cmds.c (Fnewline): Doc fix. + +1993-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * insdel.c (del_range): Update point before offset_intervals. + + * intervals.h: Don't include dispextern.h more than once. + (INTERVAL_VISIBLE_P): NILP test was backwards. + + * intervals.c (intervals_equal): Handle one arg null and other not. + (set_point): Considerable rewrite. Handle intervals both + before and after the old and new point values. + Redo handling of invisible intervals, and of motion hooks. + (textget): New function. + + * textprop.c (Fadd_text_properties, Fremove_text_properties): + Add len>0 as condition for main loop. + Abort if reach a null interval. + (Fset_text_properties): Abort if reach a null interval. + (Ftext_properties_at, Fget_text_property): + Return nil if POS is end of OBJECT. + (add_properties): Use NILP to test result of Fequal. + No longer inline. + (remove_properties): No longer inline. + (set_properties): Total rewrite as function. + (validate_interval_range): Don't alter *begin at end of buffer. + But do search for a position just before the end. + Return null for an empty string. + +1993-02-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (emacs, temacs): Add @true to prevent Make confusion. + + * lread.c (read1--strings with properties case): + Detect end of list, and invalid syntax, using recursive read1 calls. + + * intervals.c (graft_intervals_into_buffer): + create_root_interval needs Lisp object arg. + Set tree to new root interval. + Don't test TREE_LENGTH if buffer has no intervals. + Rearrange code to copy properties so that it really + does merge the inserted ones into the inherited ones. + (traverse_intervals): Pass `arg' on recursive calls. + (split_interval_left): Use new_length as basis for length of new. + + * print.c (print--string case): + Any non-null interval means print intervals. + Get rid of var obj1; just use obj. + + * textprop.c (validate_interval_range): Allow 0 as position in string. + Add 1 to specified string positions. + (Fprevious_single_property_change): Subtract 1 if object is string. + (Fnext_single_property_change): Likewise. + (Fprevious_property_change, Fnext_property_change): Likewise. + + * xterm.c (x_do_pending_expose, XTframe_rehighlight): + (x_window_to_scrollbar): Use XGCTYPE. + +1993-02-28 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Use the term `scroll bar', instead of `scrollbar'. + * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, + lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, + xterm.c, xterm.h: Terminology changed. + + Don't generate switch-frame events by checking Vlast_event_frame; + use a separate variable for that bookkeeping. In order to + generate them properly, we may need to fiddle with it. + * keyboard.c (internal_last_event_frame): New variable. + (command_loop_1): Check internal_last_event_frame, not + Vlast_event_frame. + (read_char, kbd_buffer_store_event): Set both Vlast_event_frame and + internal_last_event_frame. + (kbd_buffer_get_event): Check internal_last_event_frame to decide + whether to generate a switch-frame event. Set Vlast_event_frame + after each event. + (init_keyboard): Initialize both Vlast_event_frame and + internal_last_event_frame. + * keyboard.h (internal_last_event_frame): Add extern declaration + for this. + * frame.c (Vlast_event_frame): Remove external declaration for + this. + (Fselect_frame): Set internal_last_event_frame to Qnil to force a + switch-frame event, not Vlast_event_frame; the latter is supposed + to convey information to the user. + + * keyboard.c (syms_of_keyboard): Doc fix for unread_command_events. + +1993-02-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Doc fix. + +1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ymakefile (LIBES): Exchange the order of LIB_MATH and + LIB_STANDARD, to avoid duplicated symbols under SunOS. + + * buffer.c (syms_of_buffer): Add the extra argument to the + commented-out DEFVAR_PER_BUFFER for `mode-line-format', so + make-docfile will find the docstring properly. + +1993-02-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (intervals.o): Dep on intervals.c, not textprop.c. + + * textprop.c (remove_properties): Call modify_buffer. + (add_properties): Likewise. + + * undo.c (record_property_change): Typo in last change. + + * cmds.c (syms_of_cmds): Typo in last change. + + * print.c (print): Never declare OBJ arg as `register'. + Special handling for strings with intervals. + (print_intervals): New function. + * lread.c (read1): Handle reading strings with properties. + + * intervals.c (traverse_intervals): New arg ARG. + * alloc.c (mark_interval): Add ignored arg. + (mark_interval_tree): Pass new arg to traverse_intervals. + +1993-02-24 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xterm.c (x_window_to_scrollbar, x_scrollbar_expose, + x_scrollbar_handle_click, x_scrollbar_note_movement): Remember + that these can be called during GC; we have to ignore mark bits. + * lisp.h (GC_NILP, GC_EQ): New macros to help with that. + + * print.c (float_to_string): Define buf to be an unsigned char, to + match the data field of strings. + + * lisp.h (RETURN_UNGCPRO): Remove "do ... while (0)" wrapper + around macro. + + * data.c (Fstring_to_number): Declare p to be an unsigned char, to + match the data field of strings. + + * data.c (Fstring_to_number): Just skip tabs and spaces; don't use + the macros. The stuff apparently varies from + locale to locale more than we'd like. Don't include . + +1993-02-24 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * buffer.c (Ferase_buffer): Added interactive spec. + +1993-02-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * undo.c (Fprimitive_undo): Handle property-change undo entry. + (record_property_change): New function. + + * textprop.c (Fadd_text_properties): Pass new arg to add_properties. + (Fremove_text_properties): Likewise. + (add_properties, remove_properties): New arg OBJECT. Record undo info. + (Fput_text_property): New function. + + * buffer.c (syms_of_buffer): Doc fix. + + * cmds.c (syms_of_cmds): New var `overwrite-binary-mode'. + (internal_self_insert): Handle that var. + +1993-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_avail_input): Args to `kill' were backwards. + +1993-02-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * alloc.c (make_pure_float): Assure that PUREBEG + pureptr is + aligned, not pureptr itself. + + * emacs.c (fatal_error_signal): Unblock the signal before we try + to deliver it to ourselves. #include "syssignal.h" to get the + right definitions. + + * abbrev.c (Fexpand_abbrev): Only copy the text we're going to + expand - from wordstart to wordend, not from wordstart to point - + into the buffer. There might be non-word text between wordend and + point. + +1993-02-23 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * unexec.c (adjust_lnnoptrs): Handle symentry.n_type == 0x2400. + (make_hdr) [USG_SHARED_LIBRARIES]: Set bias using bss_start. + +1993-02-22 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * process.c: Make sure we don't miss processes exiting, by having + the sigchld handler clear *input_available_clear_time. + (wait_reading_process_input): Check for process activity after + setting the timeout and calling set_waiting_for_input. + (sigchld_handler): If the process which has exited is one we care + about, clear *input_available_clear_time. + + * frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after + switching frames, to make sure we'll get a switch-frame event. + (Vlast_event_frame): Add external declaration for this here. + + * alloc.c (make_pure_float): Align pureptr according to __alignof, + if it's available, or sizeof (struct Lisp_Float) if it's not. + + * .gdbinit (xprocess): New command. + + * floatfns.c (Flogb): Always implement this by calling Flog, even + on non-USG systems, which supposedly have a logb function. + (Fround): Always implement this by calling floor, even on systems + that have rint. + + * process.c (process_send_signal): Use TERMIOS functions in + preference to BSD ioctls. Some systems attempt to provide the BSD + functions for backward compatibility, and get it wrong. + + * data.c (Fstring_to_number): Skip initial spaces, to make Emacs + lisp parse consistently on different operating systems. + #include to help with this. + + * data.c (Fstring_to_int): Rename this to Fstring_to_number, since + it parses floats as well as integers. Fix docstring. + (syms_of_data): Fix defsubr. + (wrong_type_argument): Change use. + (Fint_to_string): Doc fix. + * lisp.h (Fstring_to_int): Change extern declaration. + +1993-02-22 Charles Hannum (mycroft@hal.gnu.ai.mit.edu) + + * ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA + is not defined. + (X_DEFAULT_FONT): Change to `fixed', as `Rom14.500' only works on the + console. + + * aix3-1.h: Changes from 18.58. + (HAVE_TERMIOS): Changed from HAVE_TERMIO. + (unix): Define. + + * sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as + HAVE_TERMIO. + + * xrdb.c (getuid): Remove declaration. + + * systty.h [HAVE_TERMIOS]: Include fcntl.h. + + * systime.h [_AIX]: Move test outside of previous #if. + (EMACS_GET_TZ_OFFSET) [USG]: Don't declare twice. Prefer tzset. + + * keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as + HAVE_TERMIO. + + * aix3-2.h: New file. Specifies difference between AIX 3.1 and 3.2. + +1993-02-20 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) + + * keyboard.c (Fsuspend_emacs): Make tem not register. + + * syntax.c (Fforward_comment): New function. + + * search.c (Fskip_syntax_backward): New function. + (Fskip_syntax_forward): Likewise. + (skip_chars): New argument syntaxp. + + * alloc.c (Fmemory_limit): Doc fix. + +1993-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Fsuspend_emacs): Rename suspend-hook to suspend-hooks + and run it manually. + + * keymap.c (describe_map): Call Fkey_description before build_string. + +1993-02-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Fopen_dribble_file): Doc fix. + + * lread.c (syms_of_lread): Doc fix. + +1993-02-18 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * textprop.c (Fget_text_property): Fix typo in function's declaration. + + * floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void. + + * alloc.c: Add description lines to the top of each page. + + * alloc.c (mark_interval_tree): Remove spurious & in front of + function name. + + * alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers + other than GCC, which do not allow casts on the LHS of an + assignment. + + * config.h.in: #define USE_TEXT_PROPERTIES by default. + + * alloc.c (mark_object, mark_buffer): Remove some unused + variables. + + * buffer.c (Fswitch_to_buffer): Pass the correct number of + arguments to Fnext_window. + + * buffer.c (Fbury_buffer): Pass the correct number of arguments to + Fother_buffer. + + * bytecode.c (Fbyte_code): Pass the correct number of arguments to + temp_output_buffer_show. + + * callint.c (Fcall_interactively): Pass the correct number of + arguments to wrong_type_argument. + * casefiddle.c (caseify_object): Same. + * casetab.c (check_case_table): Same. + * search.c (Fstore_match_data): Same. + * syntax.c (check_syntax_table): Same. + + * callproc.c (delete_temp_file): Declare this to return + Lisp_Object, to smooth type-checking. + + * data.c (wrong_type_argument): Pass the correct number of + arguments to Fstring_to_int. + + * data.c (arithcompare): Add a default case which aborts, just to + make me happy. + + * dispnew.c (sit_for): Pass the correct number of arguments to + gobble_input. + + * editfns.c (Fmessage): Don't forget to return a value when + args[0] == Qnil. + + * fns.c (Fequal): Call internal_equal to recurse on elements of + lists and vectors, not Fequal. + + * frame.c (Fdelete_frame): If FRAME is a dead frame, return Qnil, + not nothing. + + * keyboard.c (echo_char): Apply XINT to c before passing it to + push_key_description. + + * keyboard.c (recursive_edit_1, command_loop_1): Pass the proper + number of arguments to unbind_to. + * lread.c (Feval_buffer): Same. + * window.c (Fscroll_other_window): Same. + + * keyboard.c (command_loop_1): Apply XINT to c before passing it + to internal_self_insert and direct_output_for_insert. + + * keyboard.c (make_lispy_movement): Rename the variable `part' + declared in the block handling scrollbar movement to `part_sym', + to avoid potential conflicts with the argument named `part'. + Apparently the semantics of expressions like this are unclear. + + * keyboard.c (Fread_key_sequence): Backslash the newlines in this + docstring. + * textprop.c (Fget_text_property): Same. + + * keymap.c (Fdescribe_vector): Pass the proper number of arguments + to describe_vector. + * syntax.c (describe_syntax_1): Same. + + * minibuf.c (Fdisplay_completion_list): Pass the proper number of + arguments to Flength. + * xmenu.c (list_of_items): Same. + + * window.c (Fset_window_configuration): Pass the proper number of + arguments to Fselect_frame. + + * xfns.c (x_set_icon_type): Pass the proper number of arguments to + x_bitmap_icon. + + * xterm.c (XTread_socket): Pass the proper number of arguments to + construct_mouse_click. + + * config.h.in (HAVE_CONST): New macro. If it's not #defined, #define + const to be the empty string. + + * config.h.in: If we're not __STDC__, define volatile to be the + empty string. + + * buffer.h: Remove code which #includes "undo.h" if lint is + defined. undo.h no longer exists. + + * buffer.c (buffer_slot_type_mismatch): Make symbol_name an + unsigned char *, to match the type of a string's data. + +1993-02-17 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * process.c (Fstart_process): Jimb's change of December 11 + had a misplaced paren. This only became apparent because of + jimb's change on February 8 to Fexpand_file_name. + * callproc.c (Fcall_process): Ditto. + +1993-02-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * callproc.c (init_callproc): Move the initialization of + Vprocess_environment to its own function. + (set_process_environment): This is that. + * emacs.c (main): Call set_process_environment earlier than + init_callproc. + +1993-02-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Frename_buffer): Make prefix arg set UNIQUE. + +1993-02-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xterm.c (x_set_window_size): Call change_frame_size instead of + just setting the `rows' and `cols' members of the frame, and + leaving the window tree in complete disarray. + + * dispnew.c (remake_frame_glyphs): When re-allocating the frame's + message buffer when echo_area_glyphs is pointing at it, relocate + echo_area_glyphs too. Same for previous_echo_glyphs. + * window.h (previous_echo_glyphs): Add extern declaration for this. + + * frame.c (Fframe_parameters): Report the `minibuffer' parameter of + minibufferless frames as nil, not `none'. + (Qnone): Remove declaration and initialization for this. It's not + needed anymore. + * xfns.c (Qnone): Add them here; we still accept "none" as a valid + value for the `minibuffer' parameter. + + * xfns.c (x_frame_params): Remember that the parameters are called + "auto-raise" and "auto-lower", not "autoraise" and "autolower". + + * xdisp.c (message): Set echo_frame to the frame whose message buf + we want to use, not to the message buf itself. + +1993-02-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * textprop.c (Fadd_text_properties): Put OBJECT arg last. + Make it optional. + (Fset_text_properties, Fremove_text_properties): Likewise. + (Fnext_single_property_change, Fprevious_single_property_change): + (Fnext_property_change, Fprevious_property_change): Likewise. + (Ferase_text_properties): #if 0. + (Fget_text_property): New function. + + * s/irix4-0.h (C_SWITCH_MACHINE): Don't define if GCC. + +1993-02-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * s/usg5-4.h: #include "usg5-3.h", not "s-usg5-3.h". + +1993-02-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xterm.c (x_io_error_quitter): New function. + (x_error_quitter): Note that this is only used for protocol + errors now, not I/O errors. + (x_term_init): Set the I/O error handler to x_io_error_quitter. + +1993-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * editfns.c (Finsert_buffer_substring): Proper error for non-ex buffer. + (Fcompare_buffer_substrings): Likewise. + +1993-02-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * fileio.c (Fdo_auto_save): If NO_MESSAGE is non-nil, don't tell + users that buffers have shrunk a lot. This is called when Emacs + is crashing, so we don't want to run any code that isn't + absolutely necessary. Also, autosave buffers which don't have + specially handled autosave file names first. + +1993-02-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * editfns.c (Fcompare_buffer_substrings): Ignore case + if case-fold-search is non-nil. + +1993-02-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding, + Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional + argument ACCEPT_DEFAULT, to control whether this function sees + bindings for t. + (Fwhere_is_internal, describe_map_tree, describe_map_2, + describe_vector): Pass the proper arguments to Flookup_key. + + * fileio.c (Fexpand_file_name): Pass DEFALT through + Fexpand_file_name before using it. + + * fileio.c (Fexpand_file_name): Doc fix. + +1993-02-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xdisp.c (message): Use the message buffer of the frame we're + going to display the message on to format the message, not that of + the selected frame. + +1993-02-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (emacs, temacs): Add no-op commands to these rules. + + * dispnew.c (char_ins_del_cost): Use FRAME_WIDTH, not FRAME_HEIGHT. + + * editfns.c (Fcompare_buffer_substrings): New function. + +1993-02-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (extra_keyboard_modifiers): New Lisp var. + (read_char): Support ctl and meta bits in extra_keyboard_modifiers. + * xterm.c (XTread_socket): Support extra_keyboard_modifiers. + +1993-01-29 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * window.c (Fscroll_left, Fscroll_right): Don't forget to apply + XWINDOW to selected_window before passing it to window_internal_width. + + * xmenu.c (Fx_popup_menu): Don't forget to turn the frame-relative + coordinates for the menu position into root-window-relative + coordinates. + + * lread.c (read1): Although digits followed by a '.' are an + integer, a single . by itself (like, say, \.) should be a symbol. + +1993-01-25 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * fns.c (internal_equal): Protect the clause for comparing numbers + of different types with a "#ifdef LISP_FLOAT_TYPE". + +1993-01-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/hpux8.h [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a. + [__GNUC__] (ORDINARY_LINK): Defined. + + * m/sparc.h [TERMINFO]: Don't define LIBS_TERMCAP. + +1993-01-25 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + `live-frame-p' has become `frame-live-p'. + * frame.c (Qlive_frame_p): Renamed to Qframe_live_p. + (Flive_frame_p): Renamed to Fframe_live_p. + (syms_of_frame): Defsubrs and initializations adjusted. + * frame.h (CHECK_LIVE_FRAME): Use Qframe_live_p, not Qlive_frame_p. + (Qlive_frame_p): Changed extern declaration to Qframe_live_p. + + * lread.c (read1): Treat a string of digits ending in a period as + an integer. + + Turn `first-change-function' into `first-change-hook'. + * buffer.c (Vfirst_change_function): Renamed to Vfirst_change_hook. + (Qfirst_change_hook): New symbol, for passing to Vrun_hooks. + (syms_of_buffer): Change DEFVAR; initialize Qfirst_change_hook. + * buffer.h (Vfirst_change_function): Renamed to Vfirst_change_hook. + (Qfirst_change_hook): Added declaration. + * insdel.c (signal_before_change): Change references to + Vfirst_change_function, and apply Vrun_hooks to + Qfirst_change_hook, instead of just calling Vfirst_change_function + directly. + + x-selection-value has been renamed to x-selection. + x-own-selection has been renamed to x-set-selection, and the order + of its arguments has been reversed, for consistency with other + lisp functions like put and aset. + * xselect.c (Fx_own_selection): Rename to Fx_set_selection, + reverse the order of the args, and therefore make the type + non-optional. Doc fix. + (Fx_selection_value): Rename to Fx_selection; make the type + argument non-optional, for symmetry with Fx_set_selection. Doc + fix. + (syms_of_xselect): Adjusted. + + * xselect.c (Fx_own_selection, Fx_selection_value): Remove "#if + 0"'ed code which made cut buffers look like a special selection + type. + + * xfns.c (Vx_selection_value): Removed extern declaration for + this; it's never used. + + * data.c (Fcompiled_function_p): Renamed to Fbyte_code_function_p. + (syms_of_data): Adjusted. + + * data.c (Fnumberp, Fnumber_or_marker_p): Use the NUMBERP macro, + instead of writing it out. + + * fns.c (internal_equal): If the operands are both numbers, + compare them numerically, so that (equal 1.0 1) => t. + Compare Lisp_Compiled objects like vectors. + + Add lisp functions to raise and lower frames. + * termhooks.h (frame_raise_lower_hook): New hook. + * term.c (frame_raise_lower_hook): Define it. + * frame.c (Fframe_to_front, Fframe_to_back): New functions. + (syms_of_frame): defsubr them. + * xterm.c (XTframe_raise_lower): New function. + (x_term_init): Set frame_raise_lower_hook to XTframe_raise_lower. + + * frame.c: Doc fixes. + +1993-01-24 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Make the cursor style a frame parameter. + * xterm.h (struct x_display): Rename the `text_cursor_kind' member + to `current_cursor'; add new member `desired_cursor'. + (FRAME_DESIRED_CURSOR): New accessor for new member. + * xterm.c (x_display_bar_cursor): Rewritten so as not to damage + the characters the cursor is displayed over, and to handle + transitions between box and bar styles. + (x_display_bar_cursor, x_display_box_cursor): Use current_cursor + instead of text_cursor_kind. + (Vbar_cursor): Delete external declaration. + (x_display_cursor): Use the FRAME_DESIRED_CURSOR accessor instead + of Vbar_cursor to decide how to draw the cursor. + * xfns.c (Vbar_cursor): Remove definition. + (Qbar, Qbox, Qcursor_type): New symbols. + (syms_of_xfns): Init and staticpro them; remove DEFVAR for + Vbar_cursor. + (x_set_cursor_type): New setter. + (x_frame_parms): Add it to the list. + (Fx_create_frame): Get default values for the cursor type. + + * frame.c (Fmouse_position): Pass the appropriate arguments to + *mouse_position_hook; the protocol was changed, but this caller + wasn't fixed. + + * xterm.c (XTclear_frame): Call x_scrollbar_clear. + (x_scrollbar_clear): New function. + + * xterm.c (XTflash): Totally rewritten. Only defined if + HAVE_TIMEVAL and HAVE_SELECT are defined, since we use select for + our timing. + (timeval_subtract): New function, to help XTflash. + (x_invert_frame): Removed. This didn't work anyway. + (XTring_bell): Remove "#if 0" around call to XTflash, and remove + calls to x_invert_frame. If both HAVE_TIMEVAL and HAVE_SELECT + aren't defined, then just do the ordinary beep. + + * window.c (Fscroll_other_window): Prefer windows on the selected + frame, then look for windows on other visible frames. + + * keyboard.c (Fmouse_click_p): Removed; with the 'e' spec, this + isn't necessary anymore. + (syms_of_keyboard): Remove defsubr for it. + * keyboard.h (Fmouse_click_p): Remove extern declaration for it. + + * xfns.c (gray_bits): Remove this declaration; the same data is in + . #include that instead. + [not HAVE_X11] (x_set_border_pixel): Use gray_width and + gray_height, instead of assuming that the bitmap is 16x16. + (x_make_gc): Instead of creating a pixmap and then calling + XPutImage to make it into a grey stipple, just call + XCreatePixmapFromBitmapData to do it all at once. + + * xterm.c (x_text_icon): Move the request for font information + into the "not HAVE_X11" part of the function; the X11 code doesn't + need this. + + * xterm.c (x_wm_set_icon_pixmap): Instead of setting the + icon_pixmap to None, just remove IconPixmapHint from the flags of + the XWMHints structure. + + * window.c (Fprevious_frame): Use prev_frame when we get to the + end of the current frame, not next_frame. Doc fix. + * frame.c (prev_frame): Remove "#if 0" from this function. It + turns out we do need it, to make prev_frame work right. + + * frame.c (next_frame): Check that FRAME is a live frame. + + * frame.c (Fselect_frame): Remove "#ifdef MULTI_FRAME" clause + around the code which calls Ffocus_frame; this code is already + inside an "#ifdef MULTI_FRAME" clause. + (next_frame, prev_frame, Fnext_frame): For the same reasons, + remove the "#ifdef MULTI_FRAME" clause around these functions. + + unread-command-event has been replaced by unread-command-events. + * commands.h (unread_command_event): Change extern declaration. + * keyboard.c (unread_command_event): Change the definition. + (syms_of_keyboard): Change DEFVAR, and adjust the docstring. + (command_loop_1, read_char, Finput_pending, Fdiscard_input, + quit_throw_to_read_char, init_keyboard): Change to use + unread_command_events, with the new semantics. + * lread.c (read_char): Same. + * minibuf.c (temp_echo_area_glyphs): Same. + * xterm.c (unread_command_event): Remove external declaration for + this; it is only used by obsolete code. + + * Makefile.in: Some makes can't handle comments in the middle of + commands; move them to before the whole rule. + +1993-01-21 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c (make_lispy_event): When handling a mouse click event + on a window, change x and y from screen coordinates to window + coordinates even when the click isn't in the text area. + + * xterm.c (x_scrollbar_create): Remove code which asks for + EastGravity for windows; Emacs can't correctly deal with them + moving around unexpectedly. + + * xterm.c (XTread_socket): Minor reformatting. + + * xterm.c (x_set_window_size): Always mark the frame garbaged. + + * window.c (Vmouse_window): Variable removed; it can't be handled + properly without race conditions, and the events give you all the + information you need anyway. + (syms_of_window): Remove DEFVAR. + * callint.c (Fcall_interactively): Change the `@' spec to select + the window of the first parameterized event in the key sequence + which invoked the command, instead of using Vmouse_window, which + isn't even updated anymore. Adjust the documentation + accordingly. + +1993-01-20 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xterm.c (x_scrollbar_create): Set the scrollbars to use + EastGravity. + + * keyboard.c (make_lispy_event): Deal with button releases with no + stored down-going position. Make sure we always store a Qnil in + the right button_down_location element after using it. + +1993-01-19 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * frame.c (Fdelete_frame): Clear the frame's display after calling + the window-system-dependent frame destruction routine. We + no longer need to pass the display as a separate argument to + x_destroy_window. + * xterm.c (x_destroy_window): Put the code which clears out f's + display here, right after we free the storage it points to. Put + everything, including the code which clears x_focus_frame and + x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair. + + * dispnew.c (Fredraw_display): Undo change of Jan 12; redraw only + frames whose garbaged flag is set. The change to + FRAME_SAMPLE_VISIBILITY on Jan 14 should address the problem better. + + keyboard.c (read_char_menu_prompt): Test HAVE_X_WINDOWS, not + HAVE_X_WINDOW. + + The CPP symbol indicating whether or not we have mouse menu + support under X Windows is HAVE_X_MENU, not not NO_X_MENU. + * emacs.c (main): Test HAVE_X_MENU, instead of NO_X_MENU. + * keyboard.c (read_char_menu_prompt): Same. + * ymakefile: Same. + + * keyboard.c (read_char, read_char_menu_prompt): Use the + EVENT_HAS_PARAMETERS macro from keyboard.h, instead of writing it + out. + + * keyboard.c (read_char_menu_prompt): Doc fix. + + * keyboard.c (read_char_menu_prompt): Fix test for no menus; + comparing name to Qnil doesn't work if we are called with no maps. + + * keymap.c (Fdefine_key): Call Fkey_description to make the string + to use in the error message. + +1993-01-18 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * window.c (Fdisplay_buffer): Doc fix. + +1993-01-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xterm.c (x_window_to_scrollbar): Search frames' + condemned_scrollbars list as well; input might arrive during + redisplay. + (x_scrollbar_report_motion): Don't forget to BLOCK_INPUT. + (XTjudge_scrollbars): Clear the condemned scrollbar list before + traversing it, so we don't try to process an event on a scrollbar + we've killed. + +1993-01-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Frecent_keys): Doc fix. + +1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fwindow_at): Doc fix. + +1993-01-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xterm.c (x_scrollbar_create): Include PointerMotionHintMask in + the event mask for scrollbars. + + * dispnew.c (Fredraw_display): DEFUN was missing a closing paren. + + * term.c (set_vertical_scrollbar_hook, condemn_scrollbars_hook, + redeem_scrollbar_hook, judge_scrollbars_hook): Removed dumbo + "externs" from these. They're supposed to be real definitions. + + * .gdbinit: Add "-geometry +0+0" to default args. + (xscrollbar): New command. + + Make scrollbar structures into lisp objects, so that they can be + GC'd; this allows windows and scrollbars can refer to each other + without worrying about dangling pointers. + * xterm.h (struct x_display): vertical_scrollbars and + judge_timestamp members deleted. + (struct scrollbar): Redesigned to be a template for a Lisp_Vector. + (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK, + SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW, + VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE, + VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE): + New macros, to help deal with the lispy structures, and deal with + the graphics. + * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted. + (struct frame): New fields `scrollbars' and + `condemned_scrollbars', for use by the scrollbar implementation. + [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS, + FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field. + * window.h (struct window): Doc fix for vertical_scrollbar field. + * frame.c (make_frame): Initialize the `scrollbars' and + `condemned_scrollbars' fields of the new frame. + * alloc.c (mark_object): Mark the `scrollbars' and + `condemned_scrollbars' slots of frames. + * xterm.c (x_window_to_scrollbar): Scrollbars are chained on + frames' scrollbar field, not their x.display->vertical_scrollbars + field. + (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move, + x_scrollbar_remove, XTset_vertical_scrollbar, + XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, + x_scrollbar_expose, x_scrollbar_handle_click, + x_scrollbar_handle_motion): Substantially rewritten to correct + typos and brainos, and to accomodate the lispy structures. + + * xterm.c (x_scrollbar_background_expose): Function deleted; we + don't want anything in the background there after all. + (XTread_socket): Don't call x_scrollbar_background_expose. We + don't care. + + * frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked as + garbaged whenever it goes from invisible to visible. + * dispextern.h (frame_garbaged): Move extern declaration from here... + * frame.h (frame_garbaged): ... to here. The FRAME_SAMPLE_VISIBILITY + macro uses it now, and this seems to be just as modular. Make a + new page, just for this and message_buf_print. + (struct frame): Doc fix for the `visible' field. + * process.c: #include "frame.h" instead of "dispextern.h"; the + only thing we care about from it is the frame_garbaged + declaration. + * ymakefile: Note dependency change. + + * xfns.c (Fx_create_frame): After mapping the frame, call + SET_FRAME_GARBAGED, not just plain FRAME_GARBAGED. + + * window.c (window_internal_width): New function, which accounts + for scrollbars if present. + * lisp.h (window_internal_height, window_internal_width): Add + extern declarations for these. + * dispnew.c (direct_output_for_insert, direct_output_forward_char, + buffer_posn_from_coords): Use window_internal_width instead of + writing out its definition. + * indent.c (compute_motion): Doc fix; mention scrollbars and + window_internal_width. + (pos_tab_offset, Fvertical_motion): Use window_internal_width + instead of writing it out. + * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left, + Fscroll_right): Same. + * xdisp.c (redisplay, try_window, try_window_id, + display_text_line): Same. + + * xdisp.c (display_string): Add new variable `f', to be W's + frame. Use it to set desired_glyphs, and to get the frame's width + to decide whether or not to draw vertical bars. + + * xdisp.c (display_text_line): If we're using vertical scrollbars, + don't draw the vertical bars separating side-by-side windows. + (display_string): Same thing. Draw spaces to fill in the part of + the mode line that is under the scrollbar in partial-width + windows. + + * xfns.c (Qvertical_scrollbars): New symbol. Use it as the name + of the parameter which decides whether or not the frame has + scrollbars, instead of Qvertical_scrollbar. + (Fx_create_frame): Adjusted accordingly. + (syms_of_xfns): Initialize and staticpro Qvertical_scrollbars. + (x_set_vertical_scrollbar): Renamed to x_set_vertical_scrollbars. + (x_frame_parms): Adjusted accordingly. + + * xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, + PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using: + (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW, + PIXEL_TO_CHAR_COL): New macros. + * xfns.c [not HAVE_X11] (Fx_create_frame): Use the + PIXEL_TO_CHAR_{HEIGHT,WIDTH} macros to figure the frame's + character size, and the CHAR_TO_PIXEL* macros for vice versa. + * xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines, + scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box, + clear_cursor, x_display_bar_cursor, x_draw_single_glyph, + x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros. + + * xterm.c (x_wm_set_size_hint): The max_width and max_height + members of the size_hints are expressed in pixels, not columns. + + * xterm.c (x_set_window_size): Remove ibw var; it's not used. + Set FRAME_WIDTH (f) to cols instead of rows. Duh. + + * xterm.c (pixel_to_glyph_coords): Properly set *bounds to the + character cell bounding the position, even when the position is + off the frame. + + * xfns.c (x_set_name): To request that the modelines be redrawn, + execute the statement "update_mode_lines = 1;" instead of the + silly statement "update_mode_lines;". + + * xfns.c (x_set_vertical_scrollbars): Don't try to set the + X window's size if the frame's X window hasn't been created yet. + + * xfns.c (x_figure_window_size): Set the frame's + vertical_scrollbar_extra field before trying to calculate its + pixel dimensions. + + * xfns.c (x_window): When calling x_implicitly_set_name for the + sake of drawing the name for the first time, remember to clear and + set the frame's explicit_name member as well as its name member. + (Fx_create_frame): Set the frame's explicit_name member if the + user specified the name explicitly. + + * xdisp.c (display_text_line): Use the usable internal width of + the window, as calculated above, as the limit on the length of the + overlay arrow's image, rather than using the window's width field, + less one. + + * xdisp.c (redisplay): Call condemn_scrollbars_hook and + judge_scrollbars_hook whenever they are set, not just when the + frame has vertical scrollbars. + + * termhooks.h (mouse_position_hook): Doc fix. + (set_vertical_scrollbar_hook): This doesn't return anything any + more, and doesn't take a struct scrollbar * argument any more. + (condemn_scrollbars_hook, redeem_scrollbar_hook, + judge_scrollbars_hook): Doc fixes. + * term.c (mouse_position_hook): Doc fix. + (set_vertical_scrollbar_hook): This doesn't return + anything any more. Doc fixes. + * keyboard.c (kbd_buffer_get_event): Receive the scrollbar's + window from *mouse_position_hook and pass it to + make_lispy_movement, instead of working with a pointer to a struct + scrollbar. + (make_lispy_event): We don't need a window_from_scrollbar function + anymore; we are given the window directly in *EVENT. + Unify the code which generates + text-area mouse clicks and scrollbar clicks; use the same code to + distinguish clicks from drags on the scrollbar as in the text area. + Distinguish clicks from drags by storing a copy of the lispy + position list returned as part of the event. + (button_down_location): Make this a lisp vector, rather than an + array of random structures. + (struct mouse_position): Remove this; it's been replaced by a lisp + list. + (make_lispy_movement): Accept the scrollbar's window as a + parameter, rather than the scrollbar itself. + If FRAME is zero, assume that the other arguments are garbage. + (syms_of_keyboard): No need to staticpro each window of + button_down_location now; just initialize and staticpro it. + * window.c (window_from_scrollbar): Function deleted; no longer + needed. + * xdisp.c (redisplay_window): Just pass the window to + set_vertical_scrollbar hook; don't pass the scrollbar object too. + * xterm.c (XTmouse_position): Don't return a pointer to the + scrollbar for scrollbar motion; instead, return the scrollbar's + window. + + * xterm.c (XTmouse_position): Entirely rewritten, using + XTranslateCoordinates. Call x_scrollbar_report_motion to handle + scrollbar movement events. + (x_scrollbar_report_motion): New function, to help out + XTmouse_position. + + * keyboard.c (apply_modifiers): Don't assume that the Qevent_kind + property of BASE is set when we first create the new modified + symbol. Check that the Qevent_kind property is properly set each + time we return any symbol. + + * termhooks.h (struct input_event): Replace the frame member with + a Lisp_Object member by the name of frame_or_window. Doc fixes. + Remove the scrollbar member; instead, use frame_or_window to hold the + window whose scrollbar was clicked. + * keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event, + make_lispy_event): Adjust references to frame member of struct + input_event to use frame_or_window now. + * xterm.c (construct_mouse_click, XTread_socket): Same. + + * xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, + last_mouse_scroll_range_start, last_mouse_scroll_range_end): + Replaced with... + (last_mouse_scrollbar): New variable. + (note_mouse_movement): Clear last_mouse_scrollbar when we have + receieved a new motion. + (syms_of_xterm): Staticpro last_mouse_scrollbar. + + * xterm.c (note_mouse_position): Renamed to note_mouse_movement, + because that's what it really does. + (x_scrollbar_handle_motion): Renamed to x_scrollbar_note_movement, + for consistency. + (XTread_socket): Adjusted. + + * xterm.c (XTset_scrollbar): Renamed to XTset_vertical_scrollbar. + (x_term_init): Adjusted. + + * keyboard.c (kbd_buffer_frames): Renamed to + kbd_buffer_frame_or_window, and made to exist even when + MULTI_FRAME isn't defined; single-frame systems might have + scrollbars. Use it to GCPRO the frame_or_window field in the + event queue. + (kbd_buffer_store_event, kbd_buffer_get_event, + stuff_buffered_input): Set and clear the + appropriate element of kbd_buffer_frame_or_window, whether or not + MULTI_FRAME is #defined. + (read_avail_input): When reading characters directly from stdin, + set the frame_or_window field of the event appropriately, + depending on whether or not MULTI_FRAME is #defined. + (Fdiscard_input, init_keyboard): Zap kbd_buffer_frame_or_window, + not kbd_buffer_frames. + (syms_of_keyboard): Initialize and staticpro + kbd_buffer_frame_or_window, whether or not MULTI_FRAME is + #defined. + + * keyboard.c (head_table): Make Qscrollbar_movement have a + Qevent_kind property of Qmouse_movement, not Qscrollbar_movement. + + * keyboard.c (read_key_sequence): If we decide to throw away a + mouse event which has prefix symbols (`mode-line', + `vertical-scrollbar', etcetera), remember that we may have to + unwind two characters, not just one. + + * keyboard.c (read_key_sequence): Doc fixes. + + * keyboard.c (kbd_buffer_store_event): Fix reversed sense of test + for focus redirection. + + * keyboard.c (read_char): Don't echo mouse movements. + + * emacs.c (shut_down_emacs): New function. + (fatal_error_signal, Fkill_emacs): Call it, instead of writing it out. + * xterm.c (x_connection_closed): Call shut_down_emacs instead of + Fkill_emacs; the latter will try to perform operations on the X + server and die a horrible death. + * lisp.h (shut_down_emacs): Add extern declaration for it. + + * xterm.c (x_error_quitter): Move the abort call to after we print + the error message. No harm in that. + + * xdisp.c (echo_area_display): Move the assignment of f and the + check for visibility out of the "#ifdef MULTI_FRAME" clause; they + should work under any circumstances. + + * xdisp.c (redisplay_window): If we're not going to redisplay this + window because it's a minibuffer whose contents have already been + updated, go ahead and jump to the scrollbar refreshing code + anyway; they still need to be updated. Initialize opoint, so it's + known to be valid when we jump. Calculate the scrollbar settings + properly for minibuffers, no matter what they are displaying at + the time. + + * xdisp.c (redisplay_windows): Don't restore the current buffer + and its point before refreshing the scrollbars; we need the buffer + accurate. + +1993-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * print.c (float_to_string): Add final 0 if text ends with decimal pt. + + * dispnew.c (Fredraw_display): Redraw all visible frames. + Make the non-multi-frame version interactive. + +1993-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fset_default_file_modes, Fdefault_file_modes): + Renamed from Fset_umask and Fumask; sense of arg is reversed. + (Fwrite_region): Doc fix. + +1993-01-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * print.c (float_to_string): Add `.0' at end if needed. + + * lread.c (Fload): If warn that .elc file is older, inhibit + the ordinary message that would follow. + +1993-01-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * fileio.c (Fdo_auto_save): Add CURRENT_ONLY argument, as + described in doc string. + +1993-01-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c (Frandom): Change arg name. + + * editfns.c: Doc fixes. + +1993-01-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unexhp9k800.c (unexec): Don't call exit, just return. + +1993-01-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * config.h.in: protect against multiple #inclusions. + + * config.h.in: Add a declaration for getenv. + + * xfns.c (Fx_get_resource): Add CLASS argument, to give class of + ATTRIBUTE. + [not HAVE_X11]: Change definition of Fx_get_resource macro + accordingly. + (x_get_arg): Add CLASS argument, to give the class of ATTRIBUTE. + Pass it along to Fx_get_resource. + (x_figure_window_size, x_icon): Pass new argument to x_get_arg. + (x_default_parameter): Add XCLASS argument, to give the class of + XPROP. Pass it along to x_get_arg. + (Fx_create_frame): Pass new args to x_get_arg and + x_default_parameter. + + * xfns.c (Fx_create_frame): Use the same resource names and + classes as xterm and Emacs 18. + +1993-01-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (Fx_get_resource): Use EMACS_CLASS to make class_key + even if SUBCLASS is specified. I don't know whether that is + right, but that's what the doc says. + Cosmetic changes in arg names and doc string. + +1992-12-29 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * ralloc.c: [! emacs] [HAVE_CONFIG_H]: #include "config.h" + +1992-12-21 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * Makefile.in (tagsfiles): New variable. + (TAGS): Depend on $(tagsfiles); use that in cmds. + (tags): Separate phony rule; depends on TAGS. + +1992-12-21 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c: Protect all references to kbd_buffer_frames with + #ifdef MULTI_FRAME. + + * frame.h (struct frame): New fields `can_have_scrollbars' and + `has_vertical_scrollbars'. + (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New + accessors, for both the MULTI_FRAME and non-MULTI_FRAME. + (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR, + WINDOW_VERTICAL_SCROLLBAR_COLUMN, + WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros. + * window.h (struct window): New field `vertical_scrollbar'. + * xterm.h (struct x_display): vertical_scrollbars, + judge_timestamp, vertical_scrollbar_extra: New fields. + (struct scrollbar): New struct. + (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, + VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, + VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, + CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, + PIXEL_TO_CHAR_HEIGHT): New accessors and macros. + * frame.c (make_frame): Initialize the `can_have_scrollbars' and + `has_vertical_scrollbars' fields of the frame. + * term.c (term_init): Note that TERMCAP terminals don't support + scrollbars. + (mouse_position_hook): Document new args. + (set_vertical_scrollbar_hook, condemn_scrollbars_hook, + redeem_scrollbar_hook, judge_scrollbars_hook): New hooks. + * termhooks.h: Declare and document them. + (enum scrollbar_part): New type. + (struct input_event): Describe the new form of the scrollbar_click + event type. Change `part' from a Lisp_Object to an enum + scrollbar_part. Add a new field `scrollbar'. + * keyboard.c (kbd_buffer_get_event): Pass appropriate new + parameters to *mouse_position_hook, and make_lispy_movement. + * xfns.c (x_set_vertical_scrollbar): New function. + (x_figure_window_size): Use new macros to calculate frame size. + (Fx_create_frame): Note that X Windows frames do support scroll + bars. Default to "yes". + * xterm.c: #include and "window.h". + (x_vertical_scrollbar_cursor): New variable. + (x_term_init): Initialize it. + (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, + last_mouse_scroll_range_start, last_mouse_scroll_range_end): New + variables. + (XTmouse_position): Use them to return scrollbar movement events. + Take new arguments, for that purpose. + (x_window_to_scrollbar, x_scrollbar_create, + x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, + XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, + XTjudge_scrollbars, x_scrollbar_expose, + x_scrollbar_background_expose, x_scrollbar_handle_click, + x_scrollbar_handle_motion): New functions to implement scrollbars. + (x_term_init): Set the termhooks.h hooks to point to them. + (x_set_window_size): Use new macros to calculate frame size. Set + vertical_scrollbar_extra field. + (x_make_frame_visible): Use the frame accessor + FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the + frame's subwindows as well. + (XTread_socket): Use new size-calculation macros from xterm.h when + processing ConfigureNotify events. + (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and + PIXEL_TO_CHAR_HEIGHT macros. + * ymakefile (xdisp.o): This now depends on termhooks.h. + (xterm.o): This now depends on window.h. + + * xdisp.c: #include "termhooks.h". + (redisplay, redisplay_window): Use set_vertical_scrollbar_hook, + condemn_scrollbars_hook, redeem_scrollbar_hook, and + judge_scrollbars_hook to make scrollbars redisplay properly. + + * keyboard.c (Qscrollbar_movement, Qvertical_scrollbar, + Qabove_handle, Qhandle, Qbelow_handle): New symbols. + (make_lispy_event): New code to build scrollbar clicks. + (make_lispy_movement): New code to handle scrollbar movement. + (head_table): Include Qscrollbar_movement in the event heads. + (syms_of_keyboard): Init and staticpro Qvertical_scrollbar, + Qabove_handle, Qhandle, and Qbelow_handle. + * keyboard.h (Qscrollbar_movement): Declare this along with the + other event types. + * lisp.h (Qvertical_scrollbar): Declare this. + * window.c (window_from_scrollbar): New function. + + * xterm.h (struct x_display): Delete v_scrollbar, v_thumbup, + v_thumbdown, v_slider, h_scrollbar, h_thumbup, + h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height + fields. + * keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part, + Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part, + Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete + interface. + (head_table): Removed from here as well. + (syms_of_keyboard): And here. + * keyboard.h: And here. + (POSN_SCROLLBAR_BUTTON): Removed. + * xscrollbar.h: File removed - no longer necessary. + * xfns.c: Don't #include it any more. + (Qhorizontal_scroll_bar, Qvertical_scroll_bar): Deleted. + (syms_of_xfns): Don't initialize or staticpro them. + (gray_bits): Salvaged from xscrollbar.h. + (x_window_to_scrollbar): Deleted. + (x_set_horizontal_scrollbar): Deleted. + (enum x_frame_parm, x_frame_parms): Remove references to + x_set_horizontal_scrollbar. + (x_set_foreground_color, x_set_background_color, + x_set_border_pixel): Remove special code to support scrollbars. + (Fx_create_frame): Remove old scrollbar setup code. + (install_vertical_scrollbar, install_horizontal_scrollbar, + adjust_scrollbars, x_resize_scrollbars): Deleted. + * xterm.c (construct_mouse_click): This doesn't need to take care of + scrollbar clicks anymore. + (XTread_socket): Remove old code to support scrollbars. Call new + functions instead for events which occur in scrollbar windows. + (XTupdate_end): Remove call to adjust_scrollbars; the main + redisplay code takes care of that now. + (enum window_type): Deleted. + * ymakefile: Note that xfns.o no longer depends on xscrollbar.h. + + * xterm.c (x_set_mouse_position): Clip mouse position to be within + frame. + + * xterm.c: Adjust the first line of each page to have a reasonable + description. This makes pages-directory more useful. + + * xterm.c (x_do_pending_expose): Declare this routine only if + HAVE_X11 is not #defined; X11 doesn't need it. + (XTread_socket): Protect call to x_do_pending_expose with `#ifdef + HAVE_X11'. + + * xfns.c (syms_of_xfns): Delete defvars for x_mouse_x and + x_mouse_y. That interface hasn't been live for years. + (x_mouse_x, x_mouse_y): Delete these variables. + + * xterm.c (notice_mouse_movement): Deleted; obsolete and unused. + + * keyboard.c (Fread_key_sequence): Doc fix. + + * keyboard.c (make_lispy_event): Buttons are numbered starting + with zero now. + + * keyboard.c (make_lispy_event): Use the proper accessors when + manipulating the `x' and `y' fields of struct input_event. + + * keyboard.c (parse_modifiers_uncached): Remember that strncmp + returns zero if the two substrings are equal. + + * keyboard.c (do_mouse_tracking, Ftrack_mouse): Doc fix. + + * keyboard.c (read_char): Don't put mouse movements in + this_command_keys. + + * xfns.c (Fx_create_frame): Don't initialize the wm_hints field here. + (x_window): Do it here, along with all the similar stuff. + +1992-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * callint.c (Fcall_interactively): For `s', use Fread_string. + +1992-12-20 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Properly handle focus shift events, so the cursor is filled and + hollow at the appropriate times, even in titleless windows. + * xterm.c (x_focus_event_frame): New variable. + (XTread_socket): When we receive a FocusIn event that's not + NotifyPointer, record the frame in x_focus_event_frame. When we + receive a FocusOut event that's not NotifyPointer, clear it. When + we get a LeaveNotify event, don't take it seriously if we still + have focus. + + * xterm.c (XTread_socket): Remove special code in EnterNotify case + to handle scrollbars and fake mouse motion events. + +1992-12-19 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * floatfns.c (Flog): Fix unescaped newline in string. + * frame.c (Fnext_frame): Same. + * textprop.c (Fprevious_single_property_change): Same. + (syms_of_textprop): Same, for DEFVAR for + `interval_balance_threshold'. + + Change the meaning of focus redirection to make switching windows + work properly. Fredirect_frame_focus has the details. + * frame.h (focus_frame): Doc fix. + [not MULTI_FRAME] (FRAME_FOCUS_FRAME): Make this Qnil, which + indicates no focus redirection, instead of zero, which is + selected_frame. + * frame.c (make_frame): Initialize f->focus_frame to Qnil, rather + than making it point to frame itself. + (Fselect_frame): If changing the selected frame from FOO to BAR, + make all redirections to FOO shift to BAR as well. Doc fix. + (Fredirect_frame_focus): Doc fix. Accept nil as a valid + redirection, not just as a default for FRAME. + (Fframe_focus): Doc fix. + * keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event): Deal + with focus redirections being nil. + * xterm.c (XTframe_rehighlight): Doc fix. Deal with focus + redirections being nil. + + * window.c (Fset_window_configuration): Don't restore the frame's + focus redirection if the target frame is now dead. + + * ymakefile (ralloc.o): This no longer depends on xterm.h. + + * ymakefile (all, xemacs): We build an executable called `emacs' now, + not `xemacs'. + * Makefile.in (distclean, xemacs, doxemacs): Same. + + * xterm.h (PIXEL_WIDTH, PIXEL_HEIGHT): Change name of parameter + from `s' to `f'; it's a frame pointer. + +1992-12-18 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c (kbd_buffer_frames): New vector, to GCPRO frames in + kbd_buffer. + (kbd_buffer_store_event): When we add an event to kbd_buffer, make + sure to store its frame in kbd_buffer_frames. + (kbd_buffer_get_event): When we remove an event from kbd_buffer, + make sure to set the corresponding element of kbd_buffer_frames to + Qnil, to allow the frame to get GC'd. + (Fdiscard_input, init_keyboard): Clear all elements of + kbd_buffer_frames to nil. + (syms_of_keyboard): Create and staticpro kbd_buffer_frames. + + * xterm.c (x_error_quitter): Just abort, so we can look at the + core to see what happened. + +1992-12-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * buffer.c (Frename_buffer): Set update_mode_lines. + +1992-12-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * scroll.c (do_scrolling): When bcopying the max_ascent field from + current_frame to temp_frame, remember that max_ascent is an array + of shorts, not ints. + + It's a pain to remember that you can't assign to FRAME->visible. + Let's change all references to the `visible' member of struct + frame to use the accessor macros, and then write a setter for the + `visible' field that does the right thing. + * frame.h (FRAME_VISIBLE_P): Make this not an l-value. + (FRAME_SET_VISIBLE): New macro. + * frame.c (make_terminal_frame, Fdelete_frame): Use FRAME_SET_VISIBLE. + (Fframe_visible_p, Fvisible_frame_list): Use FRAME_VISIBLE_P and + FRAME_ICONIFIED_P. + * dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and + FRAME_GARBAGED_P accessors. + * xdisp.c (redisplay): Use the FRAME_VISIBLE_P accessor. + * xfns.c (x_set_foreground_color, x_set_background_color, + x_set_cursor_color, x_set_border_pixel, x_set_icon_type): Use the + FRAME_VISIBLE_P accessor. + (Fx_create_frame): Use FRAME_SET_VISIBILITY. + * xterm.c (clear_cursor, x_display_bar_cursor, + x_display_box_cursor): Use FRAME_SET_VISIBILITY. + +1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ymakefile (CFLAGS): #define HAVE_CONFIG_H too. + + * Makefile.in (distclean): Don't delete machine.h or system.h; + they don't exist anymore. + + * Makefile.in (distclean): Don't delete autosave or backup files. + (extraclean): New target; like distclean, but delete autosave + and backup files too. + +1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * search.c (Fskip_chars_forward, Fskip_chars_backward): Return the + distance traveled. + (skip_chars): Return the distance traveled, as a Lisp_Object. + + * macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is + negative; XFASTINT only works on values known to be positive. + (Fexecute_kbd_macro): Check QUIT in the repetition loop. If the + macro is null, no characters are actually being read, so this + matters. + + * Makefile.in (srcdir): New variable, not fully implemented. + (xmakefile): Turn -g and -O in CFLAGS into C_DEBUG_SWITCH and + C_OPTIMIZE_SWITCH in C_SWITCH_SITE's definition. Delete junk.cpp + when done. + * ymakefile (archlib): Variable definition deleted. Run programs + from ../lib-src directly, or use ${archlibdir}. + (${etc}DOC): Run make-docfile from ${libsrc}, not ${archlib}. + (${archlib}make-docfile, ${archlib}emacstool): Use ${libsrc}, not + ${archlib}. + + * ymakefile (lisp): Don't include version.el in this list. + + Give subprocess creation a way to find a valid current directory + for subprocesses when the buffer's default-directory is a handled + name. + * fileio.c (Funhandled_file_name_directory): New function. + (Qunhandled_file_name_directory): New file-name-handler operation. + (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and + initialize and staticpro Qunhandled_file_name_directory. + * callproc.c (Fcall_process): Call Funhandled_file_name_directory + on the buffer's default directory. Do it earlier in the function + so there's less to GCPRO. + * process.c (create_process): Don't check the validity of the + buffer's default directory here... + (Fstart_process): Instead, do it here; if we call + Funhandled_file_name_directory here, there's less GCPROing to do. + + * callproc.c (Fcall_process_region): Return the value returned by + Fcall_process. + + * fileio.c (find_file_handler): Rename this to + Ffind_file_name_handler, and make it visible to lisp. Add a QUIT + to the loop which scans file-name-handler-alist. All uses + changed. + (syms_of_fileio): Mention this new function in the docstring for + Vfile_name_handler_alist. defsubr Sfind_file_name_handler. + * lisp.h (Ffind_file_name_handler): Added extern declaration. + * dired.c: All uses of find_file_handler changed here too. + + * fileio.c (syms_of_fileio): Add staticpros for Qexpand_file_name, + Qdirectory_file_name, Qfile_name_directory, + Qfile_name_nondirectory, Qfile_name_as_directory. + +1992-12-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * window.c (Fset_window_configuration): If we're restoring the + configuration of a dead frame, don't bother rebuilding its window + tree, restoring its focus redirection, or temporarily resizing it + to fit the saved window configuration. If the frame which was + selected when the configuration was captured is now dead, don't + try to select it. + + * frame.c (Fdelete_frame): Delete all the windows in the frame's + window tree, using delete_all_subwindows. + * window.c (delete_all_subwindows): Don't make this static + anymore. + +1992-12-03 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Make sure that frames' visible flag only changes at acceptable + times. See FRAME_SAMPLE_VISIBILITY's comments for details. + * frame.h (struct frame): New fields called async_visible and + async_iconified. + (FRAME_SAMPLE_VISIBILITY): New macro, with MULTI_FRAME and + non-MULTI_FRAME definitions. + * xdisp.c (redisplay): Call FRAME_SAMPLE_VISIBILITY to set the + visible and iconified flags appropriately for each frame. + (message1): Call FRAME_SAMPLE_VISIBILITY to set the visible and + iconified flags for the minibuffer frame. + * frame.c (make_frame): Initialize async_visible and + async_iconified properly. + * xfns.c (Fx_create_frame): Initialize f->async_visible too. + * xterm.c (XTread_socket): When we get MapNotify, UnmapNotify, + Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not + f->visible. + (x_do_pending_expose, x_raise_frame, x_lower_frame, + x_make_frame_invisible, x_make_frame_visible, x_iconify_frame): + Test and set f->async_visible and f->async_iconified, not + f->visible or f->async_iconified. + + * keyboard.c (kbd_store_ptr): Declare this to be volatile, if + __STDC__ is #defined. + (Fdiscard_input): Use cast to keep GCC from complaining about the + assignment of kbd_store_ptr to kbd_fetch_ptr. + + * xdisp.c (redisplay): Use FOR_EACH_FRAME to apply + redisplay_windows to the root window of each frame. This makes a + #ifdef MULTI_FRAME unneeded, but it also means we recompute + buffer_shared from scratch even on non-MULTI_FRAME configurations. + Don't skip elements of Vframe_list that aren't frames; go ahead + and crash here. + + * xdisp.c (redisplay): Remove #ifdef MULTI_FRAME around the code + which updates separate minibuffer frames specially; there's + nothing there that won't work on a single-frame configuration. + + * dispextern.h (struct frame_glyphs): Doc fix. + +1992-12-02 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * dispnew.c: Remove dyked-out copy of safe_bcopy. + + * environ.c: File removed; Changes on 1/13/1992 made it + unnecessary. + +1992-12-01 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * process.c (wait_reading_process_input): Doc fix. + +1992-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * next.h: Copy changes from 18.59: + (NeXT): Defined. + (BIG_ENDIAN): Define only if __BIG_ENDIAN__. + (m68000, COMPILER_REGISTER_BUG): Defs deleted. + (SIGN_EXTEND_CHAR, LIB_X11_LIB, NO_T_CHARS_DEFINES, UNEXEC): Defined. + (LIBS_DEBUG, LIB_GCC, C_SWITCH_MACHINE, ORDINARY_LINK): Defined. + (TEXT_START, TEXT_END, DATA_END, LD_SWITCH_MACHINE): Defined. + (KERNEL_FILE): #undef it. + (environ): Define as _environ. + +1992-11-25 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * doc.c (store_function_docstring): New function, made from part + of Fsnarf_documentation, which handles docstrings for macros + properly. + (Fsnarf_documentation): Call store_function_docstring. + + * data.c (indirect_function): Delete unused argument ERROR. + +1992-11-23 Jim Blandy (jimb@apple-gunkies.gnu.ai.mit.edu) + + * Makefile.in (clean): Remove prefix-args. + +1992-11-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sol2.h (LD_SWITCH_SYSTEM): Make alternate version for GCC. + +1992-11-19 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * m/sparc.h: Don't include here; that screws up the + xmakefile. Instead, include it in getloadavg.c, which is the only + place that uses LOAD_AVE_CVT, which is the only reason + was here in the first place. + +1992-11-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * dispnew.c [not MULTI_FRAME] (Fredraw_display): Pass the correct + number of arguments to mark_window_display_accurate. + + * undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef + and #endif. + + * systty.h: Doc fix. + + * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c: + Added VMS changes from Roland Roberts. + * vmspaths.h: New version from Roland Roberts. + + * xdisp.c (display_string): Use w's buffer's value of + tab-width to display the string, instead of the current buffer's, + which could be anything. + + * s/sol2.h (LD_SWITCH_SYSTEM): Add -R option. + + * process.c (read_process_output): Save, widen, insert the process + output, and then restore the restriction if inserting text outside + the visible region. + +1992-11-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * buffer.c (Ferase_buffer): Doc fix. + + * dispnew.c (safe_bcopy): Use the right terminating condition in + the loop which uses multiple bcopy calls to transfer a block to an + overlapping higher block. + +1992-11-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * process.c (Fstart_process): Establish an unwind-protect to + remove PROC from the process list if an error occurs while + starting it. + (start_process_unwind): New function to help with that. + (create_process): There's no need to explicitly call + remove_process if the fork fails; the record_unwind_protect in + Fstart_process will take care of it. + + * commands.h (unread_command_event): Doc fix. + + Don't ever throw away switch-frame events. + * lread.c: #include "keyboard.h". + (Fread_char, Fread_char_exclusive): Don't signal an + error for or throw away switch-frame events; instead, put them off + until after we've found a character we can respond to. + * commands.h (unread_switch_frame): Declare this extern. + * keyboard.c (unread_switch_frame): Don't declare this static. + * ymakefile (lread.o): Note that this depends on keyboard.h. + + * keyboard.c (Vlast_event_frame): Doc fix. + + * process.c (wait_reading_process_input): Test the C preprocessor + symbol "ultrix", not "__ultrix__" to see if we should ignore + ENOMEM errors from select. + + * fileio.c (Fexpand_file_name): Don't fiddle with "/." if it's the + entire string. + + * buffer.c (Fbury_buffer): Make this behave as in 18.59, although + that behavior is very odd - only remove the buffer from the + selected window if BUFFER was nil or omitted. + + * keyboard.c (read_char): Write composite events to the dribble + file properly. + + * keyboard.c (init_keyboard): Initialize Vlast_event_frame to + Qnil, rather than the selected frame. + + * mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember to + remove DATA_SEG_BITS from the pointer before testing if the + pointer fits in VALBITS. + + * Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC + variable in these rules, just as in the `doall' rule. + + * ralloc.c (relocate_some_blocs): Handle BLOC == NIL_BLOC. + (free_bloc): This can now be simplified. + + * ralloc.c (r_alloc_sbrk): When we allocate new space for the + malloc heap, zero it out even if we don't have any blocs in the + free list. + +1992-11-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * process.c (process_send_signal): On systems which have both + the TIOCGETC and TCGETA ioctls, just use the former. + + * xselect.c (Fx_get_cut_buffer): Correct check for buf_num in + range. + + * xselect.c (Fx_get_cut_buffer, Fx_set_cut_buffer): Fix error + message format; use NUM_CUT_BUFFERS instead of literal 7. + + * keyboard.c (lispy_modifier_list): Added sanity check before + indexing into modifier_symbols. + + * keyboard.c (add_command_key): When copying the contents of the + old this_command_keys to new_keys, remember to multiply size by + sizeof (Lisp_Object) to get the amount we really need to copy. + + Rename unread_command_char to unread_command_event; it has + subtly different semantics now, and we should use + `make-obsolete-variable' to warn people. + * command.h (unread_command_char): Change name in extern declaration. + * keyboard.c (unread_command_char): Rename. + (command_loop_1, read_char, Finput_pending, Fdiscard_input, + quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change + references. + * lread.c (Fread_char): Change reference. + * minibuf.c (temp_echo_area_glyphs): Change reference to + unread_command_char to unread_command_event. + * xfns.c (unread_command_char): Change name in extern declaration + to unread_command_event. + +1992-11-11 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary + for Ultrix version 4.1, and the current version is 4.3. + + * s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS. + * process.c (process_send_signal): Put all the code for sending + signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS. Decide + whether to use the Berkeley-style or SYSV-style ioctls by seeing + which ioctl commands are #defined. + + * minibuf.c (read_minibuf): If get_minibuffer gives the + new minibuffer a nil default directory, find another buffer with a + better default directory and use that one's instead. + +1992-11-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * process.c (process_send_signal): Doc fix. + + * keyboard.c (read_key_sequence): Don't use + save_excursion_{save,restore} to protect the caller against buffer + switches; use Fset_buffer and Fcurrent_buffer; redisplay might + change point, and we don't want to undo that. + + * keyboard.c (kbd_buffer_get_event): When checking a mouse + movement for a frame switch, don't assume Vlast_event_frame + contains a Lisp_Frame object. + +1992-11-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/dgux.h (SYSTEM_TYPE): Use berkeley-unix. + +1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * alloc.c: #include "frame.h" unconditionally. frame.h does the + right thing when MULTI_FRAME isn't defined. + + * Makefile.in: Rearrange dependencies to make sure that xmakefile + is built before we try to use it, even using a parallel make. + + Changes for SYSV from Eric Raymond: + * process.c [SYSV]: Don't include , , or + . + (process_send_signal): Don't try to send SIGTSTP + unless SIGTSTP is defined. + * sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use + TCGETA, not TIOCGETP. + * systime.h [USG] (EMACS_GET_TZ_OFFSET): Assign to *(offset), not + (offset). Don't forget the while corresponding to the do. + Include USG in the list of systems that have a tzname array. + + * keyboard.c (read_key_sequence): Removed the + replay_sequence_new_buffer label; replay_sequence should be here + instead. + + Arrange to get compile-time errors for uses of Lisp_Frame in a + non-MULTI_FRAME configuration. + * lisp.h [not MULTI_FRAME]: Don't declare the Lisp_Frame tag. + * minibuf.c (read_minibuf): Protect call to Fredirect_frame_focus + with a #ifdef MULTI_FRAME. + * window.c (Fset_window_configuration): Protect call to + Fselect_frame with a #ifdef MULTI_FRAME. + [not MULTI_FRAME] (Fcurrent_window_configuration): Don't bother + setting the window configuration's selected_frame member. + * keyboard.c (Vlast_event_frame): Arrange for this to exist iff + MULTI_FRAME is defined. + [not MULTI_FRAME] (syms_of_keyboard): Don't DEFVAR Vlast_event_frame. + [not MULTI_FRAME] (read_char): Don't try to set Vlast_event_frame. + [not MULTI_FRAME] (kbd_buffer_store_event): Don't try to set + Vlast_event_frame for quit characters. + [not MULTI_FRAME] (kbd_buffer_get_event): Don't try to generate + switch-frame events. + + * buffer.c (init_buffer): If PWD is accurate, use it instead of + calling getwd. + #include and , for the call to stat. + + Indicate whether an autoload form stands for a keymap or not. + * eval.c (Fautoload): Renamed fifth argument TYPE. Document the + fact that (eq TYPE 'keymap) means FUNCTION will become a keymap + when loaded. + (Fmacroexpand): Instead of assuming that every autoload + form with a fifth element is a macro, actually check the fifth + element against t and `macro', which are the only values which + denote macroness. + * keymap.c (get_keymap_1): Don't try to autoload OBJECT's function + unless the autoload form indicates that it's a keymap. + +1992-11-03 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * .gdbinit (mips): New command. + +1992-10-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fmake_directory_internal): Renamed from Fmake_directory. + Pass nil as third arg to handler. + Lisp function `make-directory' is now in files.el. + +1992-10-30 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Clean up errors due to treating Lisp_Objects like integers. + * abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value + to val; don't use XSET. Make sure that the value of the + abbrev-symbol is a string. + * alloc.c (Frope_elt): Declare arguments to be Lisp_Objects. + * buffer.c (reset_buffer): Don't assign to b->save_length as if it + were an int; use XFASTINT. + * buffer.h (Fbuffer_name, Fget_file_buffer): Added external + declarations. + * bytecode.c (Fbyte_code): Use EQ to compare string_saved with + bytestr. + * casefiddle.c (operate_on_word): Declare end to be an int, not a + Lisp_Object. + * casetab.c (set_case_table): Declare this to be static, and + return a Lisp_Object. Add static declaration for this + before Fset_case_table and Fset_standard_case_table. + (Fset_case_table, Fset_standard_case_table): Return the return + value of set_case_table, instead of returning garbage. + * commands.h (unread_command_char): Declare this to be a + Lisp_Object, not an int. + * data.c (Fset): See if current_alist_element points to itself + using EQ, not ==. + (float_arith_driver): Declare this extern above arith_driver. + * dired.c (find_file_handler): Declare this extern. + (Ffile_attributes): Use NILP, not == Qnil. + * dispextern.h (sit_for): Declare this extern. + * doc.c: #include keyboard.h. + * floatfns.c (Flog): Don't forget to declare the BASE argument a + Lisp_Object. + * fns.c: #include keyboard.h. + (Fdelete): Check if Fequal returns Qnil, not zero. + * frame.c: #include buffer.h. + * keyboard.c: #include dispextern.h. + (recursive_edit_unwind, command_loop, Fthis_command_keys): Declare + these to return Lisp_Objects at the very top of the file, to avoid + having them implicitly declared as ints. + (echo_char): Use EQ to compare C to help_char. + (read_char): Remember to apply XFASTINT to the return value of + Flength before using it. Apply XINT to c when clearing its high + bits and meta bits, and when writing it to the dribble file. + (read_char_menu_prompt): Use EQ to compare obj with + menu_prompt_more_char and its control-character analog. + (read_key_sequence): Declare PROMPT to be char *, not a + Lisp_Object. Use the appropriate accessors on keybuf when looking + for ASCII function key sequences. + * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers, + Fmouse_click_p, read_char): Add external declarations for these. + * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume + that Flength returns an integer. + * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist, + Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p, + Fdirectory_file_name, Ffile_name_directory, + expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code, + Fundo_boundary, truncate_undo_list): Add extern declarations for + these. + * lread.c (read_char): Add an extern declaration for this, + indicating that it returns a Lisp_Object. + * minibuf.c (read_minibuf): Use EQ to compare, not ==. + (temp_echo_area_glyphs): Use XFASTINT to assign to + unread_command_char. + * print.c (print): Cast the frame's address to an integer before + passing it to sprintf to form the frame's printed form. + * process.c: (status_convert): Declare this to return a + Lisp_Object at the top of the file. + (decode_status): Don't untag XCONS (tem)->cdr before storing it in + tem; tem is a Lisp_Object, too. + (process_send_signal): Declare this to be static void. Don't + return Qnil; nobody cares. + (sigchld_handler): Use XFASTINT to manipulate p->infd. + * search.c (Fstore_match_data): Don't assume Flength returns a + C integer. + * undo.c (record_insert): Use accessors on BEG and LENGTH. + (truncate_undo_list): Use NILP, not == Qnil. + * window.c (Fwindow_width, Fset_window_hscroll): Use accessors on + w->width, w->left, w->hscroll, and arguments. + (replace_window): Use EQ, not ==. + (Fdelete_window): p->top and p->left are not C integers. + (Fnext_window, Fprevious_window): Use EQ, not ==. + * window.h (make_window, window_from_coordinates, + Fwindow_dedicated_p): Add extern declarations for these. + * xdisp.c (redisplay): Use ! EQ to compare the old and new arrow + positions, not !=. + (mark_window_display_accurate): Barf if WINDOW isn't a window. + (display_string): Test buffer_defaults.ctl_arrow using NILP, + instead of comparing it with zero. + * xfns.c (x_decode_color, Fx_color_display_p): x_screen_planes is + an int, not a Lisp_Object. + (x_set_mouse_color): Give separate error messages for the + different cursors we try to set. + (Fx_geometry): Declare STRING to be a Lisp_Object. + (Fx_create_frame): No need to use XSET to assign NAME to f->name; + they're both Lisp_Objects. + (adjust_scrollbars): Use XINT to access w->hscroll. + (Fx_open_connection): x_screen_count, x_release, x_screen_height, + x_screen_height_mm, x_screen_width, x_screen_width_mm, + x_save_under, and x_screen_planes are integers, not Lisp_Objects. + (syms_of_xfns): x_mouse_x, x_mouse_y, and mouse_buffer_offset are + integers, not Lisp_Objects. + * xselect.c (own_selection): selection_type is an X Atom value, + not a Lisp_Object. + (x_selection_arrival): Declare this static, and add a forward + declaration at the top of the page. + * xterm.c (x_convert_modifiers): Declare this to return an + unsigned int, not a Lisp_Object. Remember that the quiescent + value for part is Qnil, not zero, that x_mouse_x and x_mouse_y + are ints, not Lisp_Objects, and that RESULT->x and RESULT->y are + Lisp_Objects, not ints. + (XTread_socket): Declare this to return int, not Lisp_Object. + When calling construct_mouse_click on a non-scrollbar click, pass + PART as Qnil, not zero. + (x_calc_absolute_position): Remember that x_screen_width and + x_screen_height are ints, not Lisp_Objects. + * xterm.h (x_screen_count, x_release, x_screen_height, + x_screen_height_mm, x_screen_width, x_screen_width_mm, + x_save_under, x_screen_planes): Declare this as ints, to match + their definitions in xterm.c. + * ymakefile: Note the new dependencies caused by the new + #inclusions above. + + * xdisp.c (last_arrow_position, last_arrow_string): Make these + static. + + * process.c (pty_process): Variable deleted; it's no longer used. + (syms_of_process): Don't initialize it. + + * buffer.h (struct buffer_local_types): This declaration needed an + extern qualifier. + + * floatfns.c (Fexpt): Don't return the value of the XSET function + call; that's not guaranteed to be the value assigned. + + * dired.c (Ffile_attributes): Doc fix. + + * lisp.h (DEFVARLISP, DEFVARBOOL, DEFVARINT, DEFVARPERBUFFER): + Removed these definitions; we should be using the versions whose + names use underscores. + + * keyboard.c (echobuf): Make this 300 characters, not 100. This + isn't a real fix, but it's quick. + +1992-10-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * callint.c (preserved_fns): New var. + (Fcall_interactively): Preserve all fns listed in preserved_fns. + (syms_of_callint): Set preserved_fns and staticpro it. + Don't set up Qregion_beginning or Qregion_end. + +1992-10-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (count_blanks): Leave argument r constant, and increment p. + +1992-10-28 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xdisp.c (message): Re-write this in terms of message1. + (message1): Move code to clear out echo_area_glyphs and + previous_echo_glyphs from message to here. + + * keyboard.c (read_char): When returning an unread switch-frame + event, jump to reread_first to return it, rather than reread; this + makes sure the event gets echoed (if appropriate) and goes into + this_command_keys. + + * keyboard.c (read_key_sequence): If the key sequence starts with + a mouse click, read the key sequence using the keymaps of the + buffer clicked on, not the current buffer. + + * keyboard.c (unread_switch_frame): Make this static, to indicate + that nobody outside of this file uses it. + + * keymap.c: Deal with autoloaded keymaps properly. + (get_keymap_1): Renamed to inner_get_keymap; made + static. New argument AUTOLOAD says to pursue autoloads if + non-zero. + (Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1 + not to perform autoloads. + (Fdefine_key): Ask get_keymap_1 to perform autoloads. Since + autoloading may GC, remember that we have to GCPRO our local + variables now. + (Fminor_mode_key_binding): Call get_keymap instead of calling + get_keymap_1 with equivalent arguments. + * keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads. + (read_key_sequence): When pursuing potential bindings in the + function key map, ask get_keymap_1 to perform autoloading. This + is hardly important, but it's consistent. + * doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to + perform autoloads. Autoloading might GC; we need to GCPRO our + local variables now. + (Fdocumentation, Fdocumentation_property): Autoloading in + Fsubstitute_command_keys might GC; we need to GCPRO our + local variables now. + +1992-10-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/irix3-3.h (HAVE_SETSID, IRIX): Defined. + + * s/irix4-0.h: New file. + +1992-10-27 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * sysdep.c (get_system_name): Use gethostname for USG systems if + HAVE_GETHOSTNAME is defined. + * s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it. + +1992-10-27 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * callproc.c: Arrange for synchronous processes to get SIGINT the + first time the user quits, or SIGKILL if the user quits again. + #include "syssignal.h". + (call_process_kill): New function. + (call_process_cleanup): Send SIGINT to the subprocess, and then + arrange to call call_process_kill if the user quits while we wait + for it to terminate. + (Fcall_process, Fcall_process_region): Doc fix. + +1992-10-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unexmips.c [sony, IRIS_4D]: Include getpagesize.h and fcntl.h. + (unexec): #if 0 the error check of hdr.fhdr.f_nscns. + Clear text_section->s_scnptr. + + * callint.c (Fcall_interactively): Preserve (region-beginning) + and (region-end) into the command history when they appear + in an interactive spec which is a call to `list'. + + * batcomp.com: New file. Waiting for papers from richard@ttt.kth.se. + +1992-10-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * emacs.c (main): Correct spelling of HAVE_X_WINDOW to + HAVE_X_WINDOWS in conditionals around the call to syms_of_xmenu. + +1992-10-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ralloc.c (relinquish): + Adjust page_break_value by amount of memory actually given back. + (r_alloc_sbrk): Provide hysteresis in relocating the blocs. + +1992-10-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ralloc.c (relinquish): Sign of arg to *real_morecore was backwards. + +1992-10-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ralloc.c (relinquish): Never free less than extra_bytes; + keep extra_bytes of empty space. + (obtain): Always get extra_bytes additional space. + (r_alloc_init): Set extra_bytes and page_size. + (ALIGNED, ROUNDUP, ROUND_TO_PAGE): Use page_size. + +1992-10-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Properly staticpro this_command_keys. + + * mem-limits.h (get_lim_data): Make it static. + + * ymakefile (mallocobj): Use vm-limit.o along with ralloc.o. + + * ralloc.c [emacs]: Define POINTER and SIZE. + [!emacs]: Delete definition of EXCEEDS_LISP_PTR. + + * eval.c (grow_specpdl): Increase max_specpdl_size before Fsignal. + +1992-10-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfns.c (x_set_face): Dyked out this function; it has no callers, + and refers to an obsolete version of struct face. + + * xterm.c (compose_status): New variable. + (XTread_socket): Pass it by reference to XLookupString. + +1992-10-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/esix5r4.h (BROKEN_FIONREAD): Defined. + +1992-10-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/vms5-5.h: New file. + +1992-10-16 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xdisp.c (message): If M is zero, clear echo_area_glyphs and + previous_echo_glyphs, so that the minibuffer shows through. +* * editfns.c (Fmessage): With no arguments, clear any active + message; let the minibuffer contents show through. + * minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs + and previous_echo_glyphs; let message do that work. + + * keyboard.c (this_command_keys): Make this a vector, instead of + an array of Lisp_Objects. + (this_command_keys_size): Deleted. + (echo, add_command_key, Fthis_command_keys): Adjusted + appropriately. + (init_keyboard): Don't allocate it here. + (syms_of_keyboard): Allocate it here, and staticpro it. + * keyboard.h (this_command_keys): Extern declaration changed. Doc fix. + * callint.c (Fcall_interactively): Change handling of 'e' spec; + this_command_keys is now a vector. + + * keyboard.c (read_char): Call ourselves with the appropriate + number of arguments. + (read_char_menu_prompt): If USED_MOUSE_MENU is zero, don't try to + store things in it. + + * window.c: Try to deal coherently with deleted windows: +* (Flive_window_p): New function. + (Qlive_window_p): New variable, to name it in type errors. + (syms_of_window): Defsubr Slive_window_p, init and staticpro + Qlive_window_p. + * lisp.h (CHECK_LIVE_WINDOW): New predicate. + (Qlive_window_p): Extern declaration for this. + * window.c (decode_window): Use CHECK_LIVE_WINDOW instead of + CHECK_WINDOW; the only thing a user should be able to do to a dead + window is check its type. + (Fcoordinates_in_window_p, Fnext_window, Fprevious_window, + Fdelete_other_windows, Fselect_window, Fsplit_window, + Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of + CHECK_WINDOW. + * frame.c (make_frame_without_minibuffer, Fwindow_frame): Same. + * sunfns.c (Fsun_menu_internal): Same. + * xmenu.c (Fx_popup_menu): Same. + * window.c (Fdelete_window): If WINDOW is a deleted window, do nothing; + there's no harm in allowing people to delete deleted windows. + Delete all of WINDOW's subwindows, too. + (delete_all_subwindows): Set the buffer, vchild, and hchild of the + windows we delete all to nil. + * window.h (struct window): Doc fix. + + * window.c (Fwindow_minibuffer_p): Make the WINDOW argument + optional, like all the other window-querying functions. + + * window.c (Fpos_visible_in_window_p): Use decode_window to handle + the WINDOW argument, instead of writing out that function's code. + + * window.c (check_frame_size): Don't define this extern; that + doesn't mean anything. + + * xterm.c: Clean up some of the caps lock handling: + (x_shift_lock_mask): New variable. + (x_find_modifier_mappings): Set it, based on the modifier mappings. + (x_convert_modifiers): Use x_shift_lock_mask, instead of assuming + that the lock bit always means to shift the character. + (XTread_socket): When handling KeyPress events, don't pass an + XComposeStatus structure along to XLookupString. When handling + MappingNotify events, call XRefreshKeyboardMapping for both + MappingModifier and MappingKeyboard events, not just the latter. + +1992-10-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * window.c (Fdelete_window): Choose an alternative when we delete + any frame's selected window, not just when we delete the selected + frame's selected window. + +1992-10-15 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * vm-limit.c (check_memory_limits): Declare __morecore. + Remove unused variable `result'. + +1992-10-15 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * vm-limit.c (morecore_with_warning): Removed. + (check_memory_limits): New fn; most code from + morecore_with_warning, but only checks limits, doesn't do any work. + (memory_warnings): Set __after_morecore_hook to check_memory_limits; + don't set __morecore. + +1992-10-14 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * intervals.c (traverse_intervals): New parameter `depth'. + Increment this when passing recursively. + + * alloc.c (mark_interval_tree): Pass 0 as initial depth argument + to traverse_intervals. + + * xterm.h: Declaration of struct face removed. + + * dispextern.h: New element of frame structure `max_ascent'. + Removed elements `nruns' and `face_list'. + LINE_HEIGHT and LINE_WIDTH macros removed. + New struct face with associated typedef FACE declared, along with + accessing macros. + + * scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or + `face_list' elements. Do copy new `max_ascent' frame element. + + * dispnew.c (scroll_frame_lines): All references to frame elements + `nruns' and 'face_list' removed. Handle new element `max_ascent'. + (free_frame_glyphs): Don't free nonexistent elements `nruns' and + `face_list'; do free `max_ascent' element. + (make_frame_glyphs): Don't allocate nonexistent elements `nruns' + and `face_list'; do allocate `max_ascent' element. + (update_frame): Replaced use of macro LINE_HEIGHT with element + frame element `pix_height'. + +1992-10-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c (modify_event_symbol): Arrange to set the + click_modifier bit on otherwise unmodified mouse clicks. + + * keymap.c (store_in_keymap): Don't forget to QUIT in the + keymap-scanning loop. Don't treat vectors as binding tables if + they're the wrong length. + +1992-10-12 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (kbd_buffer_get_event): Remember that + *mouse_position_hook may set *FRAME to 0; don't generate + switch-frame events in this case. Fix fencepost bug in fetching + events from keyboard buffer. + +1992-10-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (ralloc.o): Delete dep mem_limits.h + (vm-limit.o): Rename dep to mem-limits.h. + +1992-10-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * ralloc.c: Removed #include "mem-limits.h". + [emacs]: Moved #undef NULL and #include "getpagesize.h" here. + [! emacs]: #include , , . + (r_alloc_init): Use NIL, not NULL. + +1992-10-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * ralloc.c (sbrk): Removed decl. + (real_morecore): New static variable. + (warnlevel, warn_function, check_memory_limits): Removed. + (obtain): Don't call check_memory_limits. + (obtain, relinquish, r_alloc_sbrk): Use (*real_morecore) in place + of sbrk; it returns 0 for errors, not -1. + (r_alloc_init): Set real_morecore to old value of __morecore. + Don't initialize lim_data or warnlevel, and don't call get_lim_data. + (memory_warnings): Function removed. + +1992-10-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * vm-limit.c (warnfunction): Renamed to warn_function (was used + inconsistently). + (morecore_with_warning, memory_warnings): Change callers (were + inconsistent). + +1992-10-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * mem-limits.h (start_of_data): Removed extra defn. + (get_lim_data): Define to return void. + +1992-10-12 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * mem_limits.h: File renamed to mem-limits.h. + * vm-limit.c, ralloc.c: Changed #includes. + +1992-10-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syntax.c (find_defun_start): scan_buffer returns start of line; + no need to advance over newline. + + * vm-limit.c (morecore_with_warning): + Reduce warnlevel when usage drops far enough. + * ralloc.c (check_memory_limits): Likewise. + + * vm-limit.c (memory_warnings): Renamed from malloc_init. + Don't set lim_data or warnlevel. Use start_of_data if start is 0. + * ralloc.c (memory_warnings): New function; just set warning data. + Use start_of_data if start is 0. + * emacs.c (Fdump_emacs, main): Use memory_warnings. + + * mem_limits.h [!emacs]: Don't define POINTER, SIZE or NULL. + (start_of_data): Define as macro, if !emacs. + * ralloc.c [!emacs]: Don't include config.h or lisp.h; + instead, use stddef.h. Define POINTER, SIZE, EXCEEDS_LISP_PTR. + * vm-limit.c [!emacs]: Don't include config.h or lisp.h; + instead, use stddef.h. Define POINTER, SIZE, EXCEEDS_LISP_PTR. + + * ralloc.c [!emacs] (safe_bcopy): Define as macro using memmove. + (r_alloc_free): Clear *ptr. + (r_alloc_init): Renamed from malloc_init. Take no args. + Make it static; declare at top of file. + (r_alloc): Call r_alloc_init, if not initialized yet. + (r_alloc_initialized): Renamed from malloc_initialized; moved to top. + (ROUNDUP): Subtract 1, in case arg is already aligned. + + * mem_limits.h (EXCEEDS_LISP_PTR): Renamed from EXCEEDS_ELISP_PTR. + * vm-limit.c (morecore_with_warning): Use EXCEEDS_LISP_PTR. + * ralloc.c (check_memory_limits): Use EXCEEDS_LISP_PTR. + +1992-10-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * keyboard.c (Vlast_event_frame): Make this variable exist even + when MULTI_FRAME isn't #defined. People might find it + necessary for writing correct programs, even when the programs + don't explicitly use multiple frames. + (read_char, kbd_buffer_store_event, kbd_buffer_get_event): No need + to test MULTI_FRAME before setting Vlast_event_frame. + (syms_of_keyboard): DEFVAR Vlast_event_frame whether or not + MULTI_FRAME is defined. + + * keyboard.c: Add switch-frame events. + (Qswitch_frame): New event header symbol. + (head_table): Include Qswitch_frame in the table of event heads. + (kbd_buffer_get_event): Detect when a frame switch has occurred, + and return a frame switch event before the enqueued event. + (make_lispy_switch_frame): New function. + (unread_switch_frame): New variable. + (read_key_sequence): Don't throw away the key sequence if the user + switches frames in the middle of the sequence. Instead, when we + receive a switch-frame event in the middle of a key sequence, save + it, and stuff it into unread_switch_frame when the sequence + is complete. + (read_char): If unread_switch_frame is set, return that value. + (command_loop_1): No need to check Vlast_event_frame and select + new frames here; that's taken care of by switch-frame events now. + (syms_of_keyboard): Initialize and staticpro unread_switch_frame. + * keyboard.h (Qswitch_frame): Declare this extern. + + * frame.c: #include "commands.h" and "keyboard.h". + (Fselect_frame): Make this interactive, and accept + switch-frame events as arguments, so we can bind this function to + switch-frame events. + (keys_of_frame): New function; bind switch-frame to Fselect_frame. + * emacs.c (main): Call keys_of_frame. + * keymap.c (initial_define_lispy_key): New function, for defining + non-ascii keys. + * ymakefile: Note that frame.o depends on commands.h and keyboard.h. + + * callint.c (Fcall_interactively): Allow multiple 'e' specs. + (Finteractive): Doc fix. + * keyboard.h (this_command_keys, this_command_key_count): Added + external declarations. + + * keymap.c (access_keymap): Treat bindings for Qt as default + bindings, when new argument T_OK is non-zero. + (get_keyelt, Fdefine_key, Flookup_key): Call access_keymap with + T_OK false. + * keyboard.c (follow_key, read_key_sequence): Call access_keymap + with T_OK true. + + * keyboard.c (apply_modifiers): Copy the value of BASE's + Qevent_kind property to the new symbol. + + * keyboard.c (syms_of_keyboard): Qevent_kind should be initialized + to intern ("event-kind"), not intern ("event-type"). + +1992-10-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fwrite_region): If VISIT is a file name, + use that as file name to visit, and print it in the message. + Use it for file locking too. + + * m-ibmps2-aix.h [__GNUC__ >= 2] (LIB_STANDARD): Don't define. + +1992-10-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * ymakefile (FLOATSUP): Renamed to FLOAT_SUPPORT. + (FRAME_SUPPORT, VMS_SUPPORT): New macros. + (lisp): Rebuild this from loadup.el, using the _SUPPORT macros. + + * ymakefile [HAVE_X_WINDOWS, not NO_X_MENU, HAVE_X11] (LIBXMENU): + Link against -loldX, to get the association table functions. + + * xterm.c, xrdb.c: #include before "xterm.h", to avoid + warnings about redefining NULL under GCC 2.2.2. + +1992-10-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m/pyrmips.h: New file. + + * s/aix3-1.h (PTY_ITERATION, etc.): Defined. + (FIRST_PTY_LETTER): Deleted. + +1992-10-07 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * m/sparc.h: Include , to define the FSCALE constant. + + * ymakefile (YMF_PASS_LDFLAGS): Refer to the prefix-args program + using "./prefix-args", not just "prefix-args"; some people don't + have . in their paths. + +1992-10-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * link.com: Use gcclib if compiling with GCC. + + * fileio.c (directory_file_name): Don't clobber the envvar + when handling top-level rooted dir. + + * ymakefile (LIB_STANDARD): If ORDINARY_LINK, default this to empty. + + * m/ibmps2-aix.h [USG_SHARED_LIBRARIES]: Define ORDINARY_LINK. + Undef LIB_STANDARD. Modify LD_SWITCH_MACHINE. + + * unexnext.c: New file. + * emacs.c (main) [NeXT]: Call malloc_jumpstart. + +1992-10-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (window_loop): Pass 2nd arg to Fother_buffer. + * frame.c (make_frame): Likewise. + * callint.c (Fcall_interactively): Likewise. + * buffer.c (Fkill_buffer): Likewise. + (Fswitch_to_buffer, Fpop_to_buffer, Fbury_buffer): Likewise. + +1992-10-03 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Treat mouse clicks on non-text + areas as if they were prefixed with the symbol denoting the + area clicked on - `mode-line', etcetera. + When we throw away an unbound `down-' event, reset mock_input as + well. + + * keyboard.c (Qevent_symbol_element_mask, Qmodifier_cache): Two + new symbols, used to implement caches on event heads. These take + the place of some of the caching that modify_event_symbol used to do. + (parse_modifiers_uncached, apply_modifiers_uncached, + lispy_modifier_list, parse_modifiers, apply_modifiers): New + functions, which replace format_modifiers and reorder_modifiers; + they can be useful elsewhere too. + (reorder_modifiers, modify_event_symbol): Re-implement these in + terms of parse_modifiers and apply_modifiers. modify_event_symbol + now uses a much simpler cache, and takes advantage of the caches + maintained by parse_ and apply_modifiers. + (follow_key): Don't modify NEXT if KEY has no bindings. + (read_key_sequence): Drop unbound `down-' events, and turn unbound + `drag-' events into clicks if that would make them bound. This + benefits from the rewriting of the modifier key handling code. + (syms_of_keyboard): Initialize and intern + Qevent_symbol_element_mask and Qmodifier_cache. + + * keyboard.c (echo_prompt): Terminate the echo buffer properly + even when the string is too long to display in the minibuffer. + (echo_truncate): Just return echoptr - echobuf, rather than + calling strlen on echobuf. + + * alloc.c (Fmemory_limit): New function. + (syms_of_alloc): Defsubr it. + + * window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof, + instead of just saying it's 7; that way, we won't get screwed if + we add members to struct save_window_data. + + * window.c (struct save_window_data): Save the currently selected + frame, too. + (Fset_window_configuration): Restore the frame's selected window + using Fselect_window, and then restore the selected frame using + Fselect_frame. + (Fcurrent_window_configuration): Record the currently selected + frame. Update docstring to describe the information now recorded. + +1992-10-02 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * process.c (wait_reading_process_input): Ultrix select seems to + return ENOMEM when interrupted. So, under Ultrix, treat ENOMEM + like EINTR. + + * keyboard.c (modifier_names): The modifier is named "control", + not "ctrl". + + * keyboard.c (modify_event_symbol): Make sure that the unmodified + event header gets the proper properties set on it, by recursing + and letting the same code build the properties for all event symbols. + + * keyboard.c (Qmouse_click): Fix typo which assigned `mouse-click' + symbol to Qmouse_movement. + +1992-10-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * undo.c (Fprimitive_undo): + When undoing an insert, move point and then delete. + +1992-10-02 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * intervals.c: `copy_intervals' no longer static. + + * intervals.h: Declare `copy_intervals'. + + * buffer.c: #include intervals.h. + + * ymakefile: New macro "INTERVALS", controlled by "USE_INTERVALS", + which defines the interval include file "intervals.h". + New entries for "intervals.c" and "textprop.c". + + * lisp.h: Declare Qbuffer_or_string_p. + +1992-10-02 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xterm.c (x_find_modifier_meanings): If there are no + modifiers containing a Meta_ keysym, use the Alt keysyms to + denote meta. + (construct_mouse_click): Set the down_modifier bit on mouse + button press events. + (XTread_socket): When processing keypress events, use + x_meta_mod_mask when processing ordinary ASCII characters, not + just when processing function keys and other non-ASCII events. + (XTread_socket): If we receive a MappingNotify event with the + `request' member set to `MappingModifier', then call + x_find_modifier_meanings to refresh x_meta_mod_mask. + + * window.c (Fset_window_configuration): Clean up the way we save + and restore the frame's size. + + * termhooks.h (struct input_event): Doc fix. + (NUM_MOUSE_BUTTONS): New constant. + (click_modifier): New modifier. + (NUM_MODIFIER_COMBOS): Removed. + + * keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events + are not 5 elements long. + (EVENT_HEAD): Work correctly on all sorts of events, not just + events with parameters. + (EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, + EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful + anymore; this information may appear twice in an event. These + are replaced by the POSN_ accessors, which are meant to be + composed with the EVENT_START and EVENT_END accessors. + (EVENT_START, EVENT_END): Two new accessors, to get at the + starting and ending position of an event. + (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON, + POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher + diasassemble the values returned by EVENT_START and EVENT_END. + * keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first + testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on + all sorts of events now. + (read_key_sequence): Use the new accessors to decide in which window + an event occurred. + * keymap.c (access_keymap, store_in_keymap, + Fsingle_key_description): No need to check for + EVENT_HAS_PARAMETERS before using EVENT_HEAD; the latter now + works properly on all sorts of events. + + * keyboard.c (Qevent_unmodified): Replaced by... + (Qevent_symbol_elements): New property. + (syms_of_keyboard): initialize and staticpro the latter, not the + former. + * keyboard.h (Qevent_unmodified): Extern declaration replaced by... + (Qevent_symbol_elements): This. + (EVENT_HEAD_UNMODIFIED): Use the Qevent_symbol_elements + property, rather than the Qevent_unmodified property. + + * keyboard.c (readable_events): This doesn't need to scan and + discard mouse release events anymore; it just uses + EVENT_QUEUES_EMPTY. + (kbd_buffer_get_event): No need to skip past mouse release events. + + * keyboard.c (button_down_location): New variable, which + stores the location at which each button was pressed, so we + can build a complete drag event when the button is released. + (make_lispy_event): When a button is pressed, record its + location in button_down_location, and turn it into a `down' + event. When a button is released, compare its release + location with its press location, and decide whether to call + it a `click' or `drag' event. + Change mouse movement events to be arranged like click events. + (format_modifiers): Note that the click modifier has no + written representation. + (modifier_names, modifer_symbols): New variables, used to + create the Qevent_symbol_elements property. + (modify_event_symbol): Change the format of the modified + symbol cache; there are too many modifier bits now to use a + vector indexed by a modifier mask. Use an assoc-list instead. + Document the format of the cache. + Put the Qevent_symbol_elements property on each new symbol, + instead of a Qevent_unmodified property. + (symbols_of_keyboard): Put Qevent_symbol_elements properties on + the symbols specified in head_table, not Qevent_unmodifed properties. + Initialize and staticpro modifier_symbols, and staticpro the + window elements of button_down_location. + + * xmenu.c: #include "keyboard.h". + (Fx_popup_menu): Use the event accessors defined in keyboard.h, + instead of writing out cars and cdrs. + * ymakefile: Note that xmenu.o depends on keyboard.h. + +1992-10-02 Joseph Arceneaux (jla@wookumz.gnu.ai.mit.edu) + + * textprop.c: Conditionalize all functions on + "USE_TEXT_PROPERTIES". + * intervals.c: Conditionalize all functions on + "USE_TEXT_PROPERTIES". + Removed #include of "screen.h". + + * alloc.c: #include "intervals.h". + (init_intervals, make_interval, + mark_interval, mark_interval_tree): New functions conditionally + defined. + (make_uninit_string): Call INITIALIZE_INTERVAL. + (INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE): + New macros, conditionally defined. + (mark_object): Call MARK_INTERVAL_TREE in case Lisp_String. + (gc_sweep): If text properties are in use, place all unmarked + intervals on the free list. Call UNMARK_BALANCE_INTERVALS on + `buffer->intervals' when unmarking `buffer'. + (compact_strings): Include INTERVAL_PTR_SIZE in calculation for + target of bcopy when relocating strings. + (init_alloc_once): Call INIT_INTERVALS. + (make_pure_string): Include INTERVAL_PTR_SIZE in calculation of + `size'. + Moved static declaration of `mark_object' and other functions up + in the file. + + * fileio.c (Finsert_file_contents): Call offset_intervals if + text was actually inserted. + #include "intervals.h". + +1992-09-30 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * data.c: Qbuffer_or_string_p added. + + * syntax.c (describe_syntax): Use insert_char to insert `match'. + + * buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's + interval component. + (Fkill_buffer): Likewise. + + * editfns.c (make_buffer_string): Call copy_intervals_to_string. + (Finsert_buffer_substring): Call graft_intervals_into_buffer. + #include "intervals.h". + + * insdel.c: #include "intervals.h" + (prepare_to_modify_buffer): Call verify_interval_modification. + (insert_from_string): Call offset_intervals and + graft_intervals_into_buffer. + (del_range): Call offset_intervals. + (insert): Call offset_intervals. + + * emacs.c: #include "intervals.h". + (main): Call syms_of_textprop. This is only really present if + Emacs is compiled with USE_TEXT_PROPERTIES defined. + + * buffer.h: New macro TEMP_SET_PT. If intervals are used, SET_PT + and TEMP_SET_PT are function calls. + Similarly for BUF_SET_PT and BUF_TEMP_SET_PT. + Added DECLARE_INTERVALS to buffer structure to conditionally + compile an interval tree into it. + + * intervals.h: Declare temp_set_point. + +1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * ymakefile (config.h): Doc fix. + +1992-09-30 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES, + controlling compilation of interval code. + If using GNUC, support inline functions. + + * lisp.h: Conditionally define interval structure and macros. + Add DECLARE_INTERVALS to struct Lisp_String. + +1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * buffer.c (Fother_buffer): Add back the VISIBLE_OK argument. It + got removed with no comment or ChangeLog entry, and + append-to-buffer uses it. + + * window.c (struct save_window_data): Add a member called + focus_frame, to save and restore the screen's focus frame. + (Fset_window_configuration): Redirect the frame's focus as + indicated in the window configuration. + (Fcurrent_window_configuration): Record the frame's current focus. + * minibuf.c (read_minibuf): Don't bother to save the current + frame's focus, and have read_minibuf_unwind restore it; saving and + restoring the window configurations will take care of that. + (read_minibuf_unwind): Don't worry about restoring the frame's focus. + + * window.c (Fset_window_configuration): Don't select the frame + just because we restored its configuration. + + * window.c (Fset_window_configuration): Don't forget to set the + frame's selected window when we can't call Fselect_window. + + * xterm.c (x_meta_mod_mask): New variable, indicating which X + modifier bits denote meta keys. + (x_find_modifier_meanings): New function, to set x_meta_mod_mask. + (x_convert_modifiers): Use that. + (x_term_init): Call x_find_modifier_meanings. + + * data.c (Fmake_local_variable): If SYM forwards to a C variable, + swap in the value for the current buffer immediately. + + * lisp.h: Doc elaboration for Lisp_Buffer_Local_Value. + +1992-09-29 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * textprop.c (Ferase_text_properties): Merge intervals when + possible. + +1992-09-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xselect.c (Qcut_buffer0): Symbol removed; we're using a new + interface to the cut buffer now. + (NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value, + cut_buffer_cached, cut_buffer_just_set): New variables. + (Fx_own_selection, Fx_selection_value): Dike out the code to + handle CUT_BUFFER0 requests. + (Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache, + x_invalidate_cut_buffer_cache): New functions. + (syms_of_xselect): Don't bother to initialize Qcut_buffer0. + Initialize and staticpro cut_buffer_value, and defsubr + Sx_get_cut_buffer and Sx_set_cut_buffer. + * xterm.c (XTread_socket): Pass PropertyNotify events from the + root window to x_invalidate_cut_buffer_cache. + (x_term_init): Call x_watch_cut_buffer_cache here. + + * keymap.c (access_keymap): Don't forget to QUIT while scanning + the keymap. + + * keyboard.c (recent_keys): This needs to be staticpro'ed. Change + it from a C array, which is a pain in the neck to staticpro, into + a lisp vector, which is easier. + (read_char, Frecent_keys): Access recent_keys as a lisp vector, + not a C array. + (syms_of_keyboard): Set recent_keys to be a vector, and staticpro it. + + * ymakefile (xfns.o): This doesn't depend on xselect.c. + + * xterm.h (ROOT_WINDOW): Use the DefaultScreen macro, not the + XDefaultScreen function. + + * frame.c (Fdelete_frame): Call Fselect_frame with the appropriate + number of arguments. + + * data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and + HP/UX, not just under USG systems. + + * buffer.c (Fbury_buffer): This used to undisplay the buffer being + buried only if the BUFFER argument was nil. Instead, undisplay the + buffer whenever it's displayed in the selected window, no matter + how it was specified by BUFFER. This is how it behaves in 18.58, + and I can't find any ChangeLog entry in 18.58 or 19.0 saying why + they differ. Fix the doc string accordingly. + +1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * frame.c (Fselect_frame, Fframe_root_window, + Fframe_selected_window, Fnext_frame, Fmake_frame_visible, + Fmake_frame_invisible, Ficonify_frame): Doc fixes. + + * ralloc.c: Since the users of the relocating allocation code + handle memory exhaustion, it's better to return an error code to + them than to call abort. + (obtain): If we cannot allocate more memory, don't call + abort. Instead, return non-zero iff the allocation is successful. + (get_more_space): If obtain fails, return zero. + (get_bloc): Return zero if we can't allocate the new bloc. + (r_alloc_sbrk): Return zero if we can't allocate more memory. + (r_alloc): If we can't allocate more memory, set *PTR to zero and + return zero. + (r_re_alloc): If we can't allocate more memory, leave *PTR + unchanged, and return zero. + + * ralloc.c (warnfunction): Renamed to warn_function; users changed. + +1992-09-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * insdel.c (del_range): Call record_delete before updating point. + + * fileio.c (Finsert_file_contents): Do record_insert, then inc MODIFF. + + * undo.c (record_delete): Record pos before the deletion. + (Fprimitive_undo): Go back to recorded position. + +1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * window.c (delete_all_subwindows): Save the window's buffer in + its `height' field; we may need to know the window's old buffer + once we have restored it from a window configuration. + (Fset_window_configuration): When we restore a window, if its + `height' field is a buffer, restore its `buffer' field from that. + This allows us to leave the window's buffer unchanged if the + buffer recorded in the configuration is dead. + + * window.c (delete_all_subwindows): Removed unused variable named + "count". + +1992-09-27 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (read_char): If we're returning an event from a + macro, set Vlast_event_frame to Qmacro, instead of leaving it set + to the frame of the previous real event. + (read_key_sequence): If Vlast_event_frame isn't a frame, don't + bother switching buffers. + (syms_of_keyboard): Doc fix for Vlast_event_frame. + (Vlast_event_frame): Doc fix. + + * termhooks.h (alt_modifier, hyper_modifier, super_modifier, + down_modifier, drag_modifier): New modifiers, to support the new + input system. Re-arranged modifiers so that their bits are in + canonical order; this makes reorder_modifiers slightly simpler. + * keyboard.c (format_modifiers, reorder_modifiers): Handle the new + modifier bits. + + * keymap.c (access_keymap): Remove code to notice bindings for + Qt. + +1992-09-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (single_keymap_panes): Handle vectors properly. + +1992-09-25 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * keymap.c (Fwhere_is_internal): Don't forget to advance map to + the next element when we find something that is neither a vector + nor a cons. Don't forget to QUIT in the appropriate places, + either. + +1992-09-23 Joseph Arceneaux (jla@geech.gnu.ai.mit.edu) + + * textprop.c (Fset_text_properties): Merge adjacent intervals with + the same properties. + (Fnext_single_property_change, Fprevious_single_property_change): + New subrs. + + * intervals.c (merge_interval_left, merge_interval_right): Abort + if caller tries to merge first (or last, respectively) interval. + Delete the interval node after merging. + (copy_intervals): Use `split_interval_right' rather than creating + new intervals with make_new_interval and attaching them + explicitly. + (verify_interval_modification): Changed error message. GCPRO + hooks before calling Fnreverse, and correctly Fcdr down the list. + Also, don't cons multiple copies of the same consecutive + modification hook. + (temp_set_point): New function. + (set_point): Call point-left and point-entered hooks if moving + between text with different properties. Use the old and new + positions as arguments to these calls. + + * intervals.c, intervals.h: (map_intervals, make_buffer_interval, + make_string_interval,run_hooks): Deleted. + +1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keymap.c (DENSE_TABLE_SIZE): Doc fix. + (keymap_table): Function removed; this function exists only to + support an incorrect understanding of the format of keymaps. + (access_keymap, store_in_keymap, Fcopy_keymap, + Faccessible_keymaps): Correctly handle vectors at any point in the + keymap; don't assume it must be at the front. + (describe_map): Instead of calling describe_vector on the vector + in the cadr of the keymap (if present) and then calling + describe_alist to do the rest, just call describe_map_2. + (describe_alist): Renamed to describe_map_2; call describe_vector + when we encounter a vector in the list. + * xmenu.c (single_keymap_panes): Comment out the code which + tries to handle a dense keymap's table; it uses keymap_table, and + the rest of the code never uses the table contents anyway. + + * keymap.c (access_keymap, store_in_keymap): Clarify error message + for non-ASCII characters. + + * process.c [SIGCHLD && !BSD && !UNIPLUS && !HPUX] + (create_process): #if 0 out the code which sets the child's + handler for SIGCHLD to sigchld; the code which gives sigchld its + value has been diked out under these CPP symbols, so this should + be diked out too. + + * indent.c (Fmove_to_column): Pass the right number of arguments + to Findent_to. + +1992-09-22 Jim Blandy (jimb@kropotkin.gnu.ai.mit.edu) + + * emacs.c (emacs_priority): Doc fix. + (main): Use nice, not setpriority; we just need a + simple, portable call to nice here. + * callproc.c (child_setup): Use nice, not setpriority. + * sysdep.c (sys_suspend): Don't try to use "nice (- nice (0))" to + set the subshell's priority to normal; nice doesn't return a + defined value on all systems. Instead, since emacs_priority gives + the priority that Emacs was nastied to, we can use it to reset the + priority in a straightforward way. + [BSD4_1], [USG], [VMS] (setpriority): Remove dummy and + compatibility definitions of setpriority. + + * keymap.c (access_keymap): Return the binding of Qt as the + binding for all unbound characters. + + * fileio.c (syms_of_fileio): Don't try to defsubr Sunix_sync + unless it's actually been defined - that is, if unix is #defined. + + * xrdb.c (x_get_resource): Cast the value being assigned to + ret_value->addr, rather than ret_value->addr itself; only GCC + allows you to cast lvalues. + + * eval.c (unbind_catch): Do the long-jump here. Take a VALUE + argument, which specifies the value to return to the catch, or the + data to give to the condition handler. Renamed to + unwind_to_catch, to reflect new role. + (Fsignal, Fthrow): Removed code to set catch tag value and do the + long-jump; this is taken care of by unwind_to_catch. + +1992-09-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * alloc.c (mark_object): Avoid car recursion on cons with nil in cdr. + Avoid recursion on constants-vector of a compiled function. + + * oldXMenu: Symlink deleted; anything that uses it needs fixing + in any case to work properly on systems without symlinks. + +1992-09-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sol2.h: New file. + + * fileio.c: Don't include sys/dir.h. + + * s/usg5-4.h (LIBS_SYSTEM): Move non-default libraries here. + (LIB_STANDARD, START_FILES): Deleted. + (ORDINARY_LINK): Defined. + + * ymakefile [ORDINARY_LINK]: Default LD to $(CC) + and make START_FILES and LIB_STANDARD empty. + (C_SWITCH_X_MACHINE, C_SWITCH_X_SYSTEM): New macros, default empty. + (CFLAGS): Use them. + +1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (${etc}DOC): Use OBJECTS_SYSTEM and OBJECTS_MACHINE. + + * dired.c [VMS]: Include string.h, rms.h, rmsdef.h. + [VMS] (Ffile_version_limit): New function. + + * sysdep.c (sys_suspend): Read EMACS_PARENT_PID envvar for parent. + + * syntax.c (scan_lists): When searching back for comment: + if comment-end is 2 chars, assume it does end a comment. + Otherwise, scan back to previous comment-end to see if there's + a comment starter between. Also record whether the string quotes + between the start and the end are paired and uniform. + If so, skip to comment starter. If not, scan from start of + defun to find comment starter if any. + (find_defun_start): New function. + + * alloc.c (mark_object): Save last 500 values of objptr. + Check for clobberage of ptr, when marking a vector. + +1992-09-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (get_keyelt): Skip menu help string after menu item name. + +1992-09-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * buffer.c (Fget_buffer_create): Doc fix. + + * lisp.h (struct handler): Remove the poll_suppress_count member + of this structure; it is always equal to the poll_suppress_count + of its catchtag structure. The non-local exit code in eval.c is + difficult enough to understand as it is; needless duplication + doesn't help. + * eval.c (Fcondition_case): Rearranged for clarity. Don't worry + about setting h.poll_suppress_count; it's guaranteed to be the + same as c.poll_suppress_count. + (internal_condition_case): Don't worry about + h.poll_suppress_count. + (Fsignal): Use h->tag->poll_suppress_count instead of + h->poll_suppress_count. + + * eval.c (Fsignal): It's okay for the debugger to return to the + caller if the caller was signalling a quit. + + * eval.c (unbind_catch): Restore the polling suppression count + here, instead of in Fsignal and Fthrow. + (Fthrow, Fsignal): Don't restore the polling suppression count here. + + * lisp.h (struct specbinding, struct handler): More documentation. + * eval.c (struct catchtag): More documentation. + +1992-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (LIBX): Don't use -loldX. + +1992-09-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * minibuf.c (get_minibuffer): Enable undo in minibuffers. + +1992-09-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (LIBXMENU): Check NO_X_MENU, not HAVE_X_MENU + * emacs.c (main): Use X menu code if HAVE_X_WINDOWS and not NO_X_MENU. + * keyboard.c (read_char_menu_prompt): Likewise. + + * config.h.in: Delete everything about config.h. + + * emacs.c: Eliminate HIGHPRI as compilation option. + (emacs_priority): New C variable, also Lisp variable. + (main): Set the priority iff emacs_priority is nonzero. + +1992-09-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * eval.c (entering_debugger): Variable renamed + when_entered_debugger, and is now a timestamp based on + num_nonmacro_input_chars. + (init_eval): Initialize when_entered_debugger, not + entering_debugger. + (call_debugger): Set when_entered_debugger to the current value of + num_nonmacro_input_chars. + (find_handler_clause): Don't call debugger unless + num_nonmacro_input_chars is greater than when_entered_debugger; + that way, we won't call the debugger unless the user has had a + chance to take control. + (Fbacktrace): Don't clear entering_debugger here. + * keyboard.h (num_nonmacro_input_chars): Added extern declaration + for this. + + * fns.c (Fy_or_n_p): After testing for a QUIT, clear Vquit_flag. + Otherwise, if Fy_or_n_p is called while Vinhibit_quit is true and + the user presses C-g, this function goes into an infinite loop. + + * dispnew.c (get_display_line): Don't abort if the frame is + invisible; since unmap events are handled at the interrupt level, + a screen may become invisible at any time. + +1992-09-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fverify_visited_file_modtime): + Pass buffer itself to handler, if have handler. + (Fwrite_region): GCPRO around Fexpand_file_name, Ffile_name_directory. + (Fread_file_name_internal): GCPRO around file name manip. + (Ffile_writable_p, Ffile_readable_p): Use abspath, not filename, + (Ffile_executable_p, Ffile_exists_p): to run the handler. + (Fset_file_modes, Ffile_directory_p, Ffile_modes): Likewise. + (Ffile_newer_than_file_p): GCPRO around expand_and_dir_to_file. + +1992-09-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * s/bsd4-3.h: Give the BSD4_3 and BSD symbols the same numeric + definitions they'll get in , to avoid warnings. + + * m/hp9000s300.h: Don't include . This really + shouldn't be necessary. + (BIG_ENDIAN): Define this as "4321", to agree with + , and avoid warnings. + + * systime.h: Re-arrange inclusion of and so + that they don't both get included under BSD, and do both get + included under AIX. + + * xdisp.c (display_mode_line): If the only other frames are + minibuffer frames, don't name the frame after the in the selected + window. We can use Fnext_frame to do this test easily. + +1992-09-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (Faccept_process_output): Initialize useconds. + + * keyboard.c (num_nonmacro_input_chars): New variable. + (read_char): Use num_nonmacro_input_chars to decide on auto-save & gc. + Increment it when appropriate. + (record_auto_save): Use num_nonmacro_input_chars. + + * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): + (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name): + Call find_file_handler. + (syms_of_fileio): Set up Qfile_name_directory, etc. + (Fcopy_file): Call find_file_handler for newname as well as for filename. + (syms_of_fileio): Initialize Vfile_name_handler_alist. + +1992-09-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * callint.c (Fcall_interactively): Remove the 'K' interactive + code, in favor of 'e'; that's a better name. + +1992-09-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/esix5r4.h: New file. + + * sysdep.c (init_sys_modes): Handle VDSUSP like V_DSUSP. + Use CDISABLE, not CDEL. + Turn off IEXTEN if it exists. + * systty.h (CDISABLE): New macro; may be defined from CDEL. + + * keyboard.c (command_loop_1): Bind inhibit-quit to t when in Fsit_for. + +1992-09-10 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile.in: Add comments starting with "# DIST: " explaining + that this gets munged by the configure script. + +1992-09-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s-aix3-1.h (HAVE_GETHOSTNAME): Defined. + +1992-09-09 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.c (choose_minibuf_frame): abort if the selected frame has + nil in its minibuffer_window slot; this shouldn't happen any more. + * window.c (minibuffer_window): Accept an optional FRAME argument; + if specified, return the minibuffer used by that frame. + + * keymap.c (describe_buffer_bindings): Adjust key_heading to match + the format used by describe_map_tree. Also, don't reprint the + "key binding" header above the global bindings if we've already + printed it for the local bindings; it's clear enough that the + columns mean the same thing as above. + +1992-09-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the + end of the heap, copying the data to it, and then freeing the + original bloc, just expand the original block. This saves a copy + and a call to sbrk, and also removes the large spike in memory + allocation that would occur when resizing large buffers. And it's + less code. + + * keyboard.h (Vkeyboard_translate_table): Declare this extern + here, so describe_buffer_bindings can use it. + * keymap.c (describe_buffer_bindings): Declare buf and bufend... + +1992-09-05 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * systime.h: Always #include , not just when NEED_TIME_H + is defined. It gets us struct tm. #include whenever + HAVE_TIMEVAL is defined and NEED_TIME_H isn't. + + * systime.h: Note that the tz_dsttime field of the struct timezone + returned by gettimeofday doesn't say whether daylight savings is + _currently- active; rather it specifies whether it is *ever* + active. + (EMACS_GET_TZ_OFFSET_AND_SAVINGS): Removed `savings_flag' + argument, and renamed to EMACS_GET_TZ_OFFSET. Don't try to + extract savings information. EMACS_CURRENT_TIME_ZONE should call + localtime to figure out whether DST is active. + + * m/hp9000s300.h: #include before doing anything + else, to avoid conflicts between the system's and Emacs's + definitions of BIG_ENDIAN. + + * keymap.c (describe_buffer_bindings): Set the current buffer to + descbuf before calling current_minor_maps; that function's value + depends on the values of buffer-local variables. Don't set the + current buffer to Vstandard_output until afterwards. + + * keymap.c (describe_buffer_bindings): If + Vkeyboard_translate_table is in effect, describe its effects. + + * frame.c (Fnext_frame): Doc fix. + + * frame.c (prev_frame): #if 0'd out; nobody uses this. + + * frame.c (next_frame): The logic which determines whether a frame + is acceptable to return was misarranged; rewrote it. + (prev_frame): Same thing. + +1992-09-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syntax.c (scan_lists): Improve smarts for backwards scan of comments. + Don't modify comstyle inside that loop. + If string quotes don't match up, don't take value from OFROM; + instead, parse forward using scan_sexps_forward. + (scan_sexps_forward): Return value via a pointer passed in. + New element in state contains char addr of last comment-starter seen. + (Fparse_partial_sexp): Change call to scan_sexps_forward. + +1992-09-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show): If no panes, just return. + + * keyboard.c (last_nonmenu_event): New var. + (syms_of_keyboard): New Lisp var. + (read_key_sequence): Use that instead of prev_event. + * commands.h (last_nonmenu_event): Declared. + * callint.c (Fcall_interactively): For `K', use last_nonmenu_event. + Make `e' alias for `K'. + +1992-09-03 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * editfns.c (Fcurrent_time_string): Change docstring to + indicate that we will probably add the timezone to the end, + now that we have it available on many systems. + + * xrdb.c: Don't include . Under R4, it stupidly + insists on defining SIGCHLD, even if it already has a definition. + (file_p): Use the constant 4 instead of R_OK; empirically, the + number is more portable than the symbol if you count the #include + hair you have to go through to get R_OK defined. Ffile_readable_p + does this too. + + * xterm.c (x_wm_set_size_hint): Set the base_width and base_height + members of size_hints, if they're available (X11R4 and after); + otherwise, approximate the right thing, by using min_width and + min_height as the base size. + +1992-09-02 Barry A. Warsaw (warsaw@anthem.nlm.nih.gov) + + * Extended syntax.c in the following ways to support up to 2 + orthogonal comment styles per mode. This is needed for C++. + Bit 6 of syntax table entry for a character indicates + it is part of the `b' comment style. Otherwise it is + part of the `a' style. + * syntax.h (SYNTAX_COMMENT_STYLE): New macro. + * syntax.c (Fmodify_syntax_entry): Set that flag for `b'. + (describe_syntax): Print the `b' flag. + (scan_lists, scan_sexps_forward): Handle the new flag. + (Fparse_partial_sexp): Return new element in value. + +1992-09-02 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * fileio.c (syms_of_fileio): Doc fix for Vfile_name_handler_alist. + +1992-09-02 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * keyboard.c (kbd_buffer_get_event): When performing the + FRAME_FOCUS_FRAME redirection, don't modify the frame field of + the event; that fatally corrupts mouse click events. Instead, + just perform the redirection on the value assigned to + Vlast_event_frame. + + * callint.c (Fcall_interactively): Don't try to get the + `enable-recursive-minibuffers' property from FUNCTION unless + FUNCTION is actually a symbol; there are some cases where a key + sequence is bound directly to a lambda form, and there's no reason + to break these. + + * window.c (Fset_window_configuration): Don't signal an error + if the frame size saved in the window configuration doesn't + match the frame's current size; instead, temporarily resize + the frame while installing the window configuration. This is + important because using the minibuffer saves and restores the + current window configuration, and you don't want to signal an + error just because the user resized the frame while using the + minibuffer. + + * doc.c (Fsnarf_documentation): Signal an error if this is + called in a dumped Emacs. + + * alloc.c (mark_object): mark a symbol's name after marking its + value, function, and property list rather than before; this way, + symbols' names are readable, giving us a chance to detect some + kinds of heap corruption. + +1992-09-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (__main, __do_global_dtors): New dummy functions. + (__do_global_ctors_aux, __do_global_ctors): Fix typo in fn names. + +1992-09-01 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * prefix-args.c: New file. See comment at top of file. + * ymakefile (YMF_PASS_LDFLAGS): Use the prefix-args program to + affix the -Xlinker prefix to the linker arguments. + (prefix-args): New target. + (temacs): Depend on prefix-args. + + * xterm.c (x_catch_errors): Don't forget to initialize + x_caught_error_message to the null string, so x_check_errors can + tell when an error has occurred. + + * unexmips.c (mark_x): Declare this as static void at the top of + the file and at the function definition. + + * keyboard.c (input_available_signal): Declare this to return + SIGTYPE. + + * xrdb.c (getuid): Declare this to return short. + + * s/bsd4-3.h: Remove definition of SIGTYPE macro; Mt. Xinu says + it's int, but Ultrix says it's void. Since the SIGTYPE guessing + code in the `configure' script gives the correct answer for both + of these cases, there's no point in listing it here. + + * systime.h (EMACS_CURRENT_TIMEZONE): Change documentation to + indicate that *OFFSET should be set to the number of minutes EAST + of Greenwich, which is what Ed Reingold says real time gurus want. + Changed the definition of the EMACS_GET_TZ_OFFSET_AND_SAVINGS + macro to reflect this. Buggily, the Fcurrent_time_zone function + was already expecting minutes east of GMT. + + * Makefile.in (distclean): Remove backups from the `m' and `s' + directories, too. + + * m/mips.h: Merge changes from Emacs 18.58: + [NEWSOS5]: Changes so this file can be used with s/newsos5.h. + (SIGN_EXTEND_CHAR): Define this using a cast to signed char. I + guess the MIPS compiler and its derivatives all have this type. + (HAVE_ALLOCA, C_ALLOCA): Define the former if we're compiling with + GCC, and the latter otherwise. + (C_SWITCH_MACHINE): Defined, instead of C_SWITCH_SYSTEM. + (LINKER): Defined, if BSD. + (XUINT, XSET, XUNMARK): Add parentheses to eliminate warnings from + GCC. Reindent to fit in 80 columns. + INHIBIT_BSD_TIME prevents including bsd/sys/time.h. + * s/newsos5.h: New file for Sony NEWS-OS release 5, courtesy of + Chris Hanson . + + * m/mips.h: Don't undefine LOAD_AVE_TYPE; the comment says that + Emacs 19 has the crocks to handle it properly. + + * m/pmax.h: Merge changes from Emacs 18.58: + (LIB_STANDARD, COFF, TERMINFO): Cancel out definitions from + m/mips.h which are only appropriate for USG. + (MAIL_USE_FLOCK, HAVE_UNION_WAIT): Do define these. + (BROKEN_O_NONBLOCK): Defined. + (LINKER): Don't define this. + [OSF1]: Undef C_ALLOCA, define HAVE_ALLOCA. + + * s/osf1.h: New file. + + * s/bsd4-3.h: Merge changes from Emacs 18.58: + (BSD, BSD4_3): Just define these, don't fret about numerical + values or version numbers. + + * m/hp9000s300.h: Merge changes from Emacs 18.58, and hp300bsd.h: + Change configuration note to say it's okay to use this file for BSD. + Add comment saying that NOMULTIPLEJOBS must be defined for + versions of HP/UX before 6.5. + Don't define BIG_ENDIAN if it seems that has already + done so. + [BSD4_3] Define m68000, instead of hp9000s300; crt0.c uses these + to decide what sort of startup code to use. + [not BSD4_3] Under HP/UX, always define the BSD memory functions + (bcopy, bzero, and bcmp) in terms of the SYSV string functions + (memcpy, memset, and memcmp), not just under HP/UX 5; version 6's + BSD compatibility library has reported bugs in `signal'. + (NEED_BSDTTY): Move this symbol's definition inside the "not + BSD4_3" conditional, since it's only relevant to HP/UX. + * m/hp300bsd.h: File deleted, since m/hp9000s300.h now + works with both HP/UX and BSD; it includes m/hp300bsd.h's + specifications. + + * m/hp9000s300.h: Remove definition for SIGN_EXTEND_CHAR; this is + only used by the regexp code, which has its own portable + definition these days. + +1992-08-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (Fmake_sparse_keymap): New optional arg. Callers changed. + (Fmake_keymap): Likewise. + + * emacs.c (__do_global_ctors, __do_global_ctors_aux): New dummy fns. + (__CTOR_LIST__, __DTOR_LIST__): New dummy variables. + + * fileio.c (Fdo_auto_save): Always call record_auto_save. + + * keyboard.c (read_char): Call read_char_menu_prompt here. + Accept 4 new args to pass to it. Include them in recursive call. + Don't delay before starting echo if prev_event was a mouse event. + Test for eof in batch mode now understands C is a Lisp_Object. + (read_key_sequence): Don't call it here; always call read_char. + Don't change last_event_buffer after a mouse menu input. + (read_char_menu_prompt): Arg PROMPT deleted. + Return nil if nothing to do. + + * xmenu.c (Fx_popup_menu): Treat coords relative to spec'd window. + (single_keymap_panes): New function; contains guts of keymap_panes. + If a command binding for submenu has a prompt string starting with @, + make a separate pane for it at this level. + + * xfns.c (Fx_track_pointer): Pass new args to read_char. + (Fx_select_region, Fx_horizontal_line): Likewise. + * lread.c (Fread_char): Pass new args to read_char. + (Fread_event, Fread_char_exclusive): Likewise. + * fns.c (Fy_or_n_p): Pass new args to read_char. + +1992-08-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Keep track of prev_event. + Pass new proper args to read_char_menu_prompt. + (read_char_menu_prompt): New arg prev_event. Use Fx_popup_menu. + Handle any number of keymaps, not just LOCAL and GLOBAL. + Invert meaning of arg PROMPT. Test of menu_prompting was backwards. + + * keymap.c (keymap_table): No longer static. + + * xmenu.c (keymap_panes): New function. + (Fx_popup_menu): Accept keymap or list of keymaps as MENU argument. + Accept mouse button event as POSITION argument. + +1992-08-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cmds.c (internal_self_insert): Assume Fexpand_abbrev expanded + something if it incremented MODIFF. + +1992-08-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unexmips.c (unexec): Allow sections in any order. + Adjust addresses of rdata section as well as data section. + + * buffer.c (syms_of_buffer): Made buffer-display-table, + buffer-field-list and buffer-undo-list allow any type of value. + +1992-08-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c (Fappend): Doc fix. + +1992-08-24 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * s/usg5-4.h: Incorporate changes from 18.58: + (LIBX10_SYSTEM): Undefine this. + (GNULIB): Definition deleted -- done in ymakefile. + (LIB_STANDARD): Don't use GNULIB. + (HAVE_TCATTR): Defined. + + * xfns.c (x_icon): Don't call x_wm_set_icon_positions if the user + hasn't specified the icon position. Let the window manager put + the icon where it likes. + + * xterm.c (x_make_frame_invisible): Don't forget to check the + return value of XWithdrawWindow; it could indicate that the window + wasn't successfully redrawn. + + * sysdep.c (init_baud_rate): Re-arranged order of conditionals - + test TERMIOS before TERMIO; when two options might both be + defined, test the most recent first, so that the most recent + functions get used. + + * sysdep.c [HAVE_TERMIO] (init_baud_rate): Don't use tcgetattr + unless HAVE_TCATTR is defined. Only very rarely do termio systems + have the tc{get,set}attr macros. + + * window.c (coordinates_in_window): Do not assume that all + one-line windows are the minibuffer, or that all minibuffers are + one line high. Use MINI_WINDOW_P. + + * systerm.h: Renamed to systty.h, to be more consistent with + everything else in Unix. + * dispnew.c, emacs.c, keyboard.c, process.c, sysdep.c: #include + directive changed. + * ymakefile: References to systerm.h changed. + + * s/usg5-3.h: Merged changes from 18.58: + (HAVE_SYSV_SIGPAUSE): Defined. + (BROKEN_TIOCGETC): Defined. + +1992-08-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (WCOREDUMP): Define only if not defined. + (create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists. + +1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate + number of arguments. + * fns.c (Fyes_or_no_p): Same. + + * dispnew.c (update_frame): Change the way we handle + cursor_in_echo_area. Firstly, ignore this if the frame we're + updating doesn't have a minibuffer. Secondly, don't handle the + selected frame specially. Thirdly, don't assume that the + minibuffer is only one line high. If cursor_in_echo_area < 0, put + the cursor in the upper-left corner; if cursor_in_echo_area > 0, + put it on the lowest non-empty line in the minibuffer window, or + on the top line. + + * dispnew.c (direct_output_for_insert): Fail if + cursor_in_echo_area is set; we don't want to do the typing there. + (direct_output_for_insert): Same. + +1992-08-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when + available [HAVE_X11R4]; send the UnmapNotify event when + appropriate [HAVE_X11]; just unmap the window if that's all that's + needed [not HAVE_X11]. + + * xterm.c (x_set_text_property): Removed; it's only called from + one place. Who wants *another* layer of indirection? + * xfns.c (x_set_name): Use XSetWM{Name,IconName} when available + [HAVE_X11R4], or XSetIconName and XStoreName otherwise. + + * xterm.h (FRAME_X_WINDOW): New macro, for readability. + * xterm.c, xfns.c, xselect.c: Use it. + + * emacs.c (Fkill_emacs): Doc fix. + (syms_of_emacs): Doc fix for Vkill_emacs_hook. + + * xterm.c (x_death_handler): Renamed to x_connection_closed. + (x_term_init): Use x_connection_closed as the SIGPIPE handler. + + * xterm.c (acceptable_x_error_p, x_handler_error_gracefully, + x_error_handler): Removed; you can't catch X errors this way, + since you can't perform X operations from within an X error + handler, and even though we call error, we're still within an X + error handler. + (x_error_quitter, x_error_catcher): New functions, for panicking + on and catching X protocol errors. + (x_caught_error_message): Buffer for caught X errors. + (x_catch_errors, x_check_errors, x_uncatch_errors): New functions + for catching errors. + (x_term_init): Set the error handler to x_error_quitter, rather + than x_error_handler. + * xfns.c (x_set_mouse_color): Use x_catch_errors, x_check_errors, + and x_uncatch errors to avoid crashing if the user selects an + odd cursor. + + * xterm.c (x_proto_requests): Removed; it's not important. + + * xterm.c (events): Array removed; it's not used. + + * xfns.c (select_visual): Use XVisualIDFromVisual when available + [HAVE_X11R4]. + + * xrdb.c (get_user_db): Use XResourceManagerString when available + [HAVE_X11R4]. + + * window.c (change_window_height): If the size of the window will + shrink below the minimum, this code would only try to delete it if + it had a parent. Well, even if the window doesn't have a parent, + you want Fdelete_window to signal an error, since you're trying to + resize one of the undeleteable windows into nothingness. So call + Fdelete_window even if the window doesn't have a parent. + + * window.c (MINSIZE): Add kludge so that the minibuffer is always + allowed to shrink to one line in height. + (MINSIZE, CURBEG, CURSIZE): Change these so that their argument + are always Lisp_Objects, not struct window *'s. + (change_window_height): Changed accordingly. + +1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.h (struct frame): New member - explicit_name. + * frame.c (make_frame): Clear it. + * xfns.c (x_set_name): Take new argument EXPLICIT, instead of + OLDVAL. + (x_explicitly_set_name, x_implicitly_set_name): New functions. + (x_frame_parms): Use x_explicitly_set_name here. + (x_window): Use x_implicitly_set_name here. + * xdisp.c (display_mode_line): Use x_implicitly_set_name here. + + * xterm.c (x_wm_hints): Variable deleted. This has to be + per-screen. Duh. + * xterm.h (struct x_display): New member: wm_hints. + * xterm.c (x_wm_set_window_state, x_wm_set_icon_pixmap, + x_wm_set_icon_position): Use F->wm_hints, rather than x_wm_hints. + (x_term_init): Don't initialize x_wm_hints here. + * xfns.c (Fx_create_frame): Instead, initialize f->x_wm_hints + here. + + * xterm.c (x_set_text_property): Properly balance the BLOCK_INPUTs + and UNBLOCK_INPUTs. And remember that VALUE is the string we want + to set the name to, not PROPERTY. + +1992-08-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * frame.c (make_minibuffer_frame): Don't set this to auto-raise by + default. It's annoying. + + * frame.c (make_minibuffer_frame): Set the prev field of the + minibuffer window on a minibuffer-only frame to Qnil, rather than + having it point to itself. This confuses code (Fprevious_window + and change_window_height, for example), and is only an attempt to + support a convention that can't really be used in Emacs 19 anymore. + * window.h: Document the fact that we can no longer assume that + the minibuffer's previous window is the root window, since a + minibuffer window in a minibuffer-only frame has a prev field of + nil. + * frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this by + reference to the_only_frame.root_window, rather than by assuming + that minibuf_window->prev is the root window. While this is true + in the non-multi-frame case, we want to discourage this assumption + in code. + * dispnew.c [not MULTI_FRAME] (Fredraw_display): Use + FRAME_ROOT_WINDOW instead of minibuf_window->prev. + * xdisp.c (redisplay, init_xdisp): Same. + * window.c (Fset_window_configuration): Removed #if 0'd code which + assumes that minibuf_window is on the same frame as the window + configuration. Removed special case for windows whose prevs + point to themselves. + + * window.c (Fset_window_configuration): Rename the argument from + ARG to CONFIGURATION, so it matches the docstring. The + make-docfile program cares. + + * window.c [MULTI_FRAME] (syms_of_window): Don't staticpro + minibuf_window; the frame list will take care of it. + + * xterm.h (HAVE_X11R4): Since we can autodetect this, and can + write code more likely to be future-compatible, define this when + appropriate. + * xterm.c (x_set_text_property): Define this appropriately for + X11R3 and X11R4. + + * xterm.c (x_set_text_property): Make this take a Lisp_Object + string as an argument, rather than a pointer and a length. + * xfns.c (x_set_name): Caller changed. + + * xfns.c (x_get_arg): Accept a new type - symbol. If we've + retrieved a string from the xrdb database and the user wants a + symbol, intern it. + (Fx_create_frame): Use the symbol type here. + + * xfns.c (x_figure_window_size, x_icon, Fx_create_frame): Use + values from enum resource_types for the last arg to x_get_arg, + instead of passing numbers. + + * xfns.c (Fx_create_frame): When setting up the scroll bars, use + the type parameter to x_default_parameter, rather than prefixing + the resource name with a question mark. + + * xfns.c [not HAVE_X11] (Fx_create_frame): The resource which + determines whether or not to use a bitmapped icon is called + "IconType", not "BitmapIcon". Update this. + +1992-08-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c: Doc fixes. + + More SYSV portability changes from Eric Raymond: + + * xterm.c [USG5]: Don't include . + + * xterm.c (x_make_frame_invisible): Instead of calling XWithdraw + window, which isn't widely available, write out what it does, + since that's not much. + (x_iconify_frame): Explicitly perform both the X11R3 and X11R4 + methods for iconification; don't use XIconifyWindow, since that's + not present in R3. + + * xterm.c (x_wm_set_size_hint): Don't bother setting the + base_width and base_height members; their function is performed + just as well by the min_width and min_height members, and if we + use XSetNormalHints instead of XSetWMNormalHints, we can be + compatible with R3. + + * xterm.c (x_error_handler): There is no way to invoke the default + error handler which works on all versions of X11, so don't bother; + call XGetErrorText and print the message ourselves. + + * xterm.c (x_term_init): Don't use MAXHOSTNAMELEN; this isn't + defined on all systems. Since we only use that as an initial + guess anyway, it's not very important. + +1992-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * abbrev.c (Fexpand_abbrev): If pre-expand hook changes the buffer, + assume that means we "did an expansion". + + * cmds.c (internal_self_insert): Ignore value of Fexpand_abbrev; + instead, check whether buf is modified when it returns. + +1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + Applied SYSV portability changes from Eric Raymond: + + * xrdb.c [USG5]: Define SYSV, and then include . + Apparently, Xlib.h include string.h if SYSV is defined, and + strings.h if not. + Don't include ; just declare getuid to return an + int. Big deal. + (MAXPATHLEN): If this is not defined by the system's include + files, give it a value of 256. + (get_user_db): Fetch the defaults directly from the display + structure, rather than using XResourceManagerString; that + function doesn't exist in the older versions of X. + + * xterm.c (x_set_text_property): New function. + * xfns.c (x_set_name): Use it instead of XSetWMName and + XSetWMIconName. + + * xfns.c (select_visual): Fetch the visual id directly from v; + don't call XVisualIDFromVisual, since that function is not + available in earlier versions of X. + + * term.c (term_get_fkeys): Some systems define `static' to be the + empty string, which means that you can't have constant + initialized arrays inside a function. So move the `keys' array + outside of the function. + * xdisp.c (decode_mode_spec): Same deal, with lots_of_dashes. + * xfns.c (x_make_gc): Same deal, regarding cursor_bits. + + * term.c (keys): Include definitions for "K2" (the center key on + an IBM keypad), "F1" (F11), and "F2" (F12). Handle "k0" and "k;" + specially; see the code for details. + + * term.c (clear_end_of_line): Remember that on some systems, + "static" gets defined to be the null string, so we can't declare + an array to be static and then initialize it. Since the array in + question (buf) is only one element long, just make it a scalar + rather than an array; it can then be initialized, even if it's + not static. + + * systime.h [not HAVE_TIMEVAL] (EMACS_USECS, EMACS_SET_USECS): + Don't forget to define dummy versions of these. + + * systime.h [USE_UTIME]: time_t is a typedef, not a struct. + Don't prefix it with `struct'. + + * systerm.h (EMACS_SET_TTY_PGRP): When there doesn't seem to be + any way to do this, don't forget to give it a dummy definition. + + * sysdep.c (select): There's no need to cast the return value of + signal anymore, since we have the SIGTYPE macro defined. + + * sysdep.c (read_input_waiting): When scanning for quit + characters, use the value of quit_char, rather than assuming that + C-g is the quit character. And don't forget to declare i. + + * sysdep.c [USG5]: Don't include fcntl.h. + + * s/usg5-3.h: Eric Raymond writes: + Define HAVE_SELECT and BSTRINGS only if HAVE_X_WINDOWS is on, + because that means we'll be linking in the shared libraries + containing the BSD emulations. Teach the file about the shared + libraries necessary to link X programs, because AT&T doesn't + supply static libraries for X. Also, fix the incorrect assertion + that -lg cannot be used with SVr3. Finally, force USE_UTIMES and + BROKEN_TIOCGWINSZ. (Note for the future; there may be a + utimes(2)) emulation lurking in the X shared libraries.) + + * s/usg5-4.h (USE_UTIME): Remove this definition; the C library + still doesn't have utimes. + + * ralloc.c (get_bloc): When initializing new_bloc->variable, cast + NIL to (POINTER *). + (malloc_init): Give warning if sbrk returns zero. Wonder what + that's supposed to mean. + + * process.c (process_send_signal): Don't send SIGTSTP if the + system doesn't have that facility. + + * process.c: [USG5] Don't include . + [USG] Don't bother including , , or + ; systerm.h takes care of all that. + Remove the "mis;tak-+;;" line from the code; apparently this + section of code does get used. + + * minibuf.c (Fread_from_minibuffer): Put this function's doc + string into a comment; it's too long for the PCC preprocessor. + Rah. + (Fcompleting_read): Same deal. + + * keyboard.c (init_keyboard): Changed "#endif SIGIO" to + "#endif /* SIGIO */" + * mocklisp.c (Fml_substr): Same sort of thing. + * process.c (wait_reading_process_input): Same. + + * floatfns.c (Fexpm1, Flog1p): Function removed; it's not widely + available, and hardly vital. + (syms_of_floatfns): Adjusted appropriately. + + * floatfns.c (Flog): Accept optional second arg, being the base + for the logarithm. + [USG] (Flogb): Define this in terms of Flog. + + * data.c [USG] (Frem): Call fmod, rather than drem. Rah. + + * emacs.c [USG5]: Don't #include for these systems. + + * alloc.c (Fmake_marker): Removed the test for being called from a + signal handler. The original bug is probably gone, the test + wasn't written portably, and it should probably go somewhere else + anyway - say, funcall or eval. + + End of changes from Eric Raymond. + + * xfns.c (Fx_create_frame): Make the default for the icon-type + parameter nil, not t. It seems to cause problems with some X + servers. + + * lisp.h (DEFVAR_PER_BUFFER): Add new argument, TYPE, to help + check the types of buffer-local variable slots. + * buffer.c (syms_of_buffer): Call DEFVAR_PER_BUFFER with the new + TYPE argument. + * abbrev.c (syms_of_abbrev): Same. + * buffer.c (buffer_local_types): New variable. + (buffer_slot_type_mismatch): New function. + * buffer.h (buffer_local_types): New extern declaration. + * data.c (store_symval_forwarding): When storing through a + Lisp_Buffer_Objfwd, check if the slot requires a particular type, + and report an error if the types clash. + * lread.c (defvar_per_buffer): Support new TYPE argument, by + setting the appropriate slot in buffer_local_types. + +1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * window.c (window_loop): This used to keep track of the first + window processed and wait until we came back around to it. Sadly, + this doesn't work if that window gets deleted. So instead, use + Fprevious_window to find the last window to process, and loop + until we've done that one. + + * window.c [not MULTI_FRAME] (init_window_once): Don't forget to + set the `mini_p' flag on the new minibuffer window to t. + + * window.c (Fwindow_at): Don't check the type of the frame + argument. + + * window.c [not MULTI_FRAME] (window_loop): Set frame to zero, + instead of trying to decode it. + + * frame.h [not MULTI_FRAME] (the_only_frame): Put a comment above + this indicating that it's not GCPRO'd. Put parens around some of + the FRAME_* macros' definitions. + [not MULTI_SCREEN] (Fselected_frame): New function. + + * frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this in + terms of minibuf_window, rather than by reference to + the_only_frame. + * window.c (init_window_once): Initialize minibuf_window before + FRAME_ROOT_WINDOW, so the latter actually points to something. + + * keyboard.c (Fexecute_mouse_event): dyked-out function deleted. + We're not going to use this mouse interface. + (Vmouse_window, Vmouse_event, Vmouse_event_function, + Vmouse_left_hook, Vmap_frame_hook, Vunmap_frame_hook, + Vmouse_motion_handler): Variables deleted; they were to be used by + Fexecute_mouse_event. + (syms_of_keyboard): Same. + (command_loop_1): Remove dyked-out code to support + Fexecute_mouse_event. + (read_char): Same. + + * keyboard.c (Vlast_event_frame): Don't define this window if + MULTI_FRAME is not #defined. + (syms_of_keyboard): Same. + (kbd_buffer_store_event): Don't try to work with Vlast_event_frame + if MULTI_FRAME is not #defined. + (kbd_buffer_get_event): Same. + + * keyboard.c (Fdiscard_input): Removed dyked-out code from when + unread_command_char's quiescent value was -1, not nil. + + * frame.c (make_frame): Stop passing zero to make_window; it's not + expecting any arguments. + +1992-08-12 Jim Blandy (jimb@albert.gnu.ai.mit.edu) + + * unexsunos4.c: Deleted "$Log" header in comments at top of file; + this was beginning to grow RCS hair, which we don't want. + * xmenu.c: Same deal. + +1992-08-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * fileio.c (Fread_filename): Don't add one here. + * minibuf.c (Fcompleting_read): Instead, stop subtracting one + here, so this function lives up to its doc string, which I think + specifies an okay way to work. + + * doc.c (Vdata_directory): Removed; this is declared in callproc.c. + (syms_of_doc): Initialization removed. + + * xfns.c (x_get_arg): Return Qunbound for an unspecified + resource, not nil. That way, we can tell the difference between a + false resource and an unspecified resource. + (x_default_error): Use DEFLT if x_get_arg returns Qunbound, not Qnil. + (x_figure_window_size, x_icon, Fx_create_frame): Deal with + Qunbound and Qnil properly. + + * xfns.c (Fx_create_frame): Pass the correct number of arguments + to x_set_font. + + * xfns.c [not HAVE_X11] (Fx_create_frame): Delete section that's + only included if we *do* have X11. Blind patching. + + * xfns.c (x_icon): Rewritten to call x_wm_set_icon_position and + x_wm_set_window_state instead of calling XSetWMHints directly. + * xterm.c (x_wm_hints): New variable. + (x_wm_set_window_state, x_wm_set_icon_pixmap, + x_wm_set_icon_position): Use x_wm_hints. + (x_term_init): Set the `input' field of x_wm_hints, and its flag. + + * xterm.c (x_text_icon): Call x_wm_set_icon_pixmap with a pixmap + of zero, to clear the pixmap. + (x_wm_set_icon_pixmap): Accept this protocol; if pixmap is zero, + specify no pixmap for the icon. + + * xfns.c (x_default_parameter): Don't call store_frame_param here; + it's already taken care of by x_set_frame_parameters. + + * xfns.c (Fx_create_frame): Check for the `icon-type', + `auto-raise', and `auto-lower' parameters. Have `icon-type' + default to t, indicating that we want the nifty gnu in our icons. + (Qauto_lower): New symbol. + + * xfns.c (x_set_icon_type): UNBLOCK_INPUT before reporting the + error, not after. error doesn't return, sklitch-brain. + + * xterm.c (x_set_window_size): Call check_frame_size to make sure + that the requested dimensions are within acceptable limits. + Store the new size information in the frame structure. + + * xfns.c (x_set_frame_parameters): Properly recognize changes to + the height of the frame. Recognize changes of the frame's + position. + + * xfns.c (x_set_frame_parameters): Iterate over ALIST while the + current element is cons, not while it's non-nil. + (syms_of_xfns): Call init_x_parm_symbols after interning all the + other atoms; init_x_parm_symbols expects Qx_frame_parameter to be + initialized. + +1992-08-10 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xfns.c (Qbackground_color, Qborder_color, Qborder_width, + Qcursor_color, Qfont, Qforeground_color, Qgeometry, + Qhorizontal_scroll_bar, Qicon_left, Qicon_top, Qiconic_startup, + Qinternal_border_width, Qleft, Qmouse_color, Qparent_id, + Qsuppress_icon, Qsuppress_initial_map, Qtop, Qundefined_color, + Qvertical_scroll_bar, Qwindow_id, Qx_frame_parameter): New + symbols, with lisp code to rebuild syms_of_xfns. + (syms_of_xfns): Initialize and staticpro them. + (Qheight, Qminibuffer, Qname, Qnone, Qonly, Qwidth, + Qunsplittable): Add extern declaration for these. + (x_init_parm_symbols): Don't initialize Qx_frame_parameter here; + it's done in syms_of_xfns. + (x_default_parameter): Change the argument char *PROPNAME into a + Lisp_Object PROP; let the caller take care of interning the atom. + (Fx_geometry, x_figure_window_size, x_icon, Fx_create_frame): Use + the new Q... variables, instead of interning things. + + * frame.c (Qheight, Qicon, Qmodeline, Qname, Qnone, Qonly, + Qunsplittable, Qwidth, Qx): New symbol, with lisp code to rebuild + syms_of_frame. + (syms_of_xfns): Initialize and staticpro them. + (Fframep, Fframe_visible_p, Fframe_parameters): Use + the new Q... variables, instead of interning things. + (store_in_alist): Change the argument char *PROPNAME into a + Lisp_Object PROP; let the caller take care of interning the atom. + + * frame.c (Fframe_visible_p): Doc fix. + + * frame.c (Fframe_parameters): When figuring the `minibuffer' + parameter, if FRAME doesn't have a minibuffer, return `none', not + nil. If it does have a minibuffer with other windows, return the + window. + + * frame.c (Fmodify_frame_parameters): Don't write out the loop for + processing X frame parameters here; do it in the x specific code. + Call the function which deals with this stuff + x_set_frame_parameters, not x_set_frame_parameter. + * xfns.c (x_set_frame_param): Replaced by x_set_frame_parameters. + (x_set_frame_parameters): Process the alist of parameters here. + Notice `width', `height', `top', and `left' parameters. + Hold off changing the frame size and position until the end, so we + can do both parameters at once when they are both specified. + (x_default_parameter): Call x_set_frame_parameters, not + x_set_frame_param. + + * frame.c (Fmake_frame_visible, Fmake_frame_invisible, + Ficonify_frame, Fframe_parameters, Fmodify_frame_parameters, + Fset_frame_height, Fset_frame_width, Fset_frame_size, + Fset_frame_position): Place clauses controlled by FRAME_X_P inside + `#ifdef HAVE_X_WINDOWS ... #endif' clauses. + + * frame.c (Fset_frame_position): Doc fix. + + * dispnew.c (Fredraw_frame): Call clear_frame_records before + calling update_end, so that x_display_box_cursor can rely on the + contents of f->current_glyphs. + + * xfns.c (x_figure_window_size): Indicate that this function + returns an int, rather than just leaving it unstated. + + * xterm.c (x_wm_set_size_hint): Don't try to set the base_height + and base_width elements of size_hints if PBaseSize is not + #defined. Set the minimum frame size according to the information + returned by check_frame_size. + + * window.h (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros + removed. + (check_frame_size): New extern declaration. + * window.c (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros + defined here now. + (check_frame_size): New function. + * dispnew.c (change_frame_size): Call check_frame_size here, + rather than writing out its code. Don't declare newheight and + newwidth to be register variables, since we take their address. + + * bytecode.c (Fbyte_code): When metering the Bcall opcodes, make + sure the count on the symbol's `byte-code-meter' property does not + overflow. + + * bytecode.c (syms_of_bytecode): Add a docstring for + byte-metering-on. + +1992-08-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * dispnew.c (in_display): Variable deleted; it's only ever used as + an unofficial parameter to change_frame_size. + (change_frame_size): New argument, DELAY, which when non-zero + indicates to delay the size change until later. This should be + passed as one from signal handlers. + (window_change_signal): Call change_frame_size with a DELAY of 1. + (do_pending_window_change): Call change_frame_size with DELAY of 0. + * frame.c [MULTI_SCREEN] (Fset_frame_height, Fset_frame_width, + Fset_frame_size): Same. + [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width, + Fset_frame_size, Fset_screen_height, Fset_screen_width): Same. + * keyboard.c (Fsuspend_emacs): Call change_frame_size with the + proper arguments - the height and width are the second and third + arguments, not the first and second. Pass 0 for DELAY. + * xfns.c (Fx_create_frame): Call change_frame_size with a DELAY of 0. + * xterm.c (XTread_socket, x_do_pending_expose): Call + change_frame_size with a DELAY of 1. + + * xterm.c (in_display): Deleted this; it's never used in xterm.c, + and there is another variable by the same name in dispnew.c. + + * frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width, + Fset_frame_size, Fframe_height, Fframe_width): New functions, for + use when Emacs is not compiled with multiple screens. + [not MULTI_SCREEN] (Fset_screen_height, Fset_screen_width): + Functions added for backward compatibility with Emacs 18. These + would be just aliases, except that the version 18 functions don't + take a FRAME argument. + [not MULTI_SCREEN] (syms_of_frame): New function, to defsubr the + above and add screen-height and screen-width as aliases for + Fframe_height and Fframe_width. + * emacs.c (main): Call syms_of_frame unconditionally. When + MULTI_FRAME is not defined, it still provides the Fframe_width, + Fframe_height, Fset_frame_width, and Fset_frame_height functions. + + * frame.c (Fset_frame_width): Change the size of FRAME, not of + selected_frame. + + * frame.c (Fset_frame_width, Fset_frame_height): Declare the + `frame' argument to be a Lisp_Object. It used to be undeclared. + +1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * dispnew.c, frame.c, frame.h, keyboard.c, scroll.c, term.c, + window.c, xdisp.c, xfns.c xterm.c (FRAME_IS_TERMCAP, FRAME_IS_X, + FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P, + and FRAME_HAS_MINIBUF_P, for consistency with the rest of the + frame macros. + + * window.h (MIN_SAFE_WINDOW_WIDTH, MIN_SAFE_WINDOW_HEIGHT): New + macros. + * window.c (check_min_window_sizes): New function. + (set_window_height): Call it. + (Fsplit_window, change_window_height): Call it, instead of writing + out its code. + * dispnew.c (change_frame_size): If newlength or newwidth are too + small (according to the value of MIN_SAFE_WINDOW_{WIDTH,HEIGHT}), + force them larger. This isn't really right, but it's better than + crashing. + + * editfns.c (Fcurrent_time_zone): Doc fix. + +1992-08-06 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * editfns.c (Fcurrent_time_zone): Don't forget to include code to + signal an error when EMACS_CURRENT_TIME_ZONE is not defined. + +1992-08-06 Joseph Arceneaux (jla@gnu.ai.mit.edu) + + * doc.c (Vdata_directory): Declared. + (syms_of_doc): Initialized. + + * fileio.c (Fread_filename): Add 1 to the offset position for the + cursor when reading file names. + +1992-08-05 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * systime.h (EMACS_CURRENT_TIME_ZONE): New macro. + * editfns.c (Fcurrent_time_zone): New function. + (syms_of_editfns): defsubr it. + + * keyboard.c (read_key_sequence): Clear the eighth bit of the + character from the key sequence, NOT the index of the character IN + the key sequence. How many tries will it take to get it right? + +1992-08-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * eval.c (syms_of_eval): Doc fix for debug-on-quit. + +1992-08-03 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * callproc.c (Fcall_process): Doc fix. Used to claim that + Fcall_process doesn't wait when BUFFER was nil. It does. + +1992-07-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * keyboard.c (read_key_sequence): Scan for function keys when t >= + mock_input, not when t > mock_input. We do want to scan for + function keys when t == mock_input. + + * keyboard.c (read_key_sequence): Don't increment fkey_end when + testing to see if keybuf[fkey_end] is a meta-character. + +1992-07-27 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile.in (TAGS): Generate tags for files in ../external-lisp + too. + +1992-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * eval.c (find_handler_clause): For quit, don't check Vdebug_on_error. + (wants_debugger): Rewrite so it cannot get an error. + + * callint.c (Fcall_interactively): Handle enable-recursive-minibuffers + property on the command, by enabling recursive minibuffers. + (syms_of_callint): Set Qenable_recursive_minibuffers. + +1992-07-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * frame.c (Fmake_frame_visible, Fmake_frame_invisible, + Ficonify_frame): Make the first argument optional, defaulting to + selected_frame. + (Ficonify_frame, Fmake_frame_invisible): Add interactive specs, so + we can bind these directly to C-z. + +1992-07-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fread_file_name): Use new calling convention for + Fcompleting_read, with history as Qfile_name_history. + (syms_of_fileio): Set Qfile_name_history; set the var to nil. + Do staticpro for the recently created Q* vars. + + * minibuf.c (read_minibuf): Two additional args histvar and histpos. + All calls changed. + (Fcompleting_read): Last arg is now HIST--(HISTVAR . HISTPOS). + Arg INIT can now be (INITIAL-STRING . INITIAL-POSITION). + Pass BACKUP_N arg to read_minibuf properly as Lisp object. + (Fread_from_minibuffer): Likewise. + (syms_of_minibuf): Set Qminibuffer_history and staticpro it. + + * eval.c (Ffuncall, Feval): Support subrs with 7 args. + + * fns.c (Fyes_or_no_p): Use Fread_string, not read_minibuf. + * callint.c (Fcall_interactively): For 'S', use Fread_no_blanks_input + rather than read_minibuf. + +1992-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * minibuf.c (Vminibuffer_history_variable): New variable. + (syms_of_minibuf): Define variable minibuffer-history-variable. + (read_minibuf): Push the string on specified history list. + +1992-07-23 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile.in (doall, doxemacs, dotemacs): Put quotes around CC=${CC}. + Don't include $(MAKEOVERRIDES); that is always implicit. + +1992-07-22 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): If we have read a + meta-character, prefix it with meta_prefix_char before looking it + up in the function key keymap. + + * lread.c (Fread_char_exclusive): Code this with a do-while loop, + not a while loop with its body repeated. + + * lread.c (Fread_event): Don't make this function's definition + conditional on X-windows. It ought to be there no matter how + Emacs was built. + (syms_of_lread): Don't make its defsubr conditional either. + + * lread.c (Fread_char): Doc fix. + + * fileio.c (find_file_handler): It's called + Vfile_name_handler_alist, not Vfile_handler_alist. + (Fwrite_region): Declare the variable named `handler'. + (Fverify_visited_file_modtime): Use `b->filename', not `filename'. + (Fset_visited_file_modtime): Declare the variable named `handler'. + * dired.c (Fdirectory_files, Ffile_name_completion): Use + `dirname', not `filename'. + (Qfile_attributes): New variable. + (syms_of_dired): Initialize it. + + * xselect.c (Fx_own_selection): If we're trying to set + cut-buffer0, and the value is too large for the X server (as + indicated by the max_request_size member of the X Display), just + set the buffer to the empty string, and return nil. + +1992-07-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * search.c (fast_string_match): New function. + * fileio.c (find_file_handler): New function. + (Fcopy_file, Fmake_directory, Fdelete_directory, Fdelete_file): + (Frename_file, Fadd_name_to_file, Fmake_symbolic_link): + (Ffile_exists_p, Ffile_executable_p, Ffile_readable_p, Ffile_symlink_p) + (Ffile_writable_p, Ffile_directory_p, Ffile_accessible_directory_p): + (Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p): + (Fwrite_region, Fverify_visited_file_modtime): + Use find_file_handler; call the handler and return. + (Finsert_file_contents): Use find_file_handler; + cannot just return after the handler, but must handle VISIT. + (syms_of_fileio): Set up Qcopy_file, etc. + * dired.c (Fdirectory_files, Ffile_name_completion): + (Ffile_name_all_completions, Ffile_attributes): + Use find_file_handler; call the handler. + (syms_of_dired): Set Qfile_attributes, etc. + +1992-07-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xselect.c (Fx_own_selection): Initialize val to nil, so that if + we don't get the selection, we don't return garbage. When setting + cut-buffer0, set val to the string pasted. + + * xfns.c (x_set_name): If ARG is nil, set the frame's name to the + current x_id_name. + * xdisp.c (display_mode_line): If we should set the frame's name, + but there is only one frame currently active, call x_set_name with + nil as the name; this will display samething generically + appropriate. + +1992-07-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * lread.c (isfloat_string): Recognize floats without a leading + integer part, noting that "e5" is a symbol, not a floating point + number. + + * xdisp.c (message, message1): When displaying a message, don't + make the minibuf frame visible unless the selected frame is also + visible. This means that frames won't pop up unless the user is + actually interacting with Emacs. + + * xdisp.c (display_mode_line): If Emacs is currently supporting + only one screen, don't change the title of the screen to the name + of the current buffer; this is only annoying in this case. We + should probably think more carefully about how screens should be + named. + +1992-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (allocate_pty): Handle PTY_OPEN. + Delete system-specific alternatives to PTY_NAME_SPRINTF + and PTY_TTY_NAME_SPRINTF. + +1992-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * callint.c (Fprefix_numeric_value): Fix typo: test raw, not val. + +1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfns.c (x_window): x_set_name normally ignores requests to set + the name if the requested name is the same as the current name. + This is the one place where that assumption isn't correct; f->name + is set, but the X server hasn't been told. So fake it out. + + * emacs.c [sun] (main): On suns, localtime caches the value of the + time zone rather than looking it up every time. This means that + the dumped Emacs doesn't check the value of the TZ environment + variable. Call tzset before entering the editing loop to check + the new TZ value. + +1992-07-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * dired.c (Fdirectory_files): Don't forget to pass the REGP + argument to compile_pattern. + * search.c (compile_pattern): If REGP is zero, don't call + re_set_registers; nobody cares. + + * fileio.c (auto_save_error): Pass the correct number of arguments + to Fsleep_for. + + * lread.c: Include at the top of the file, instead of + just before isfloat_string; read0 wants to use it too. + + * process.c (Fdelete_process, Fprocess_status, Fprocess_send_region, + Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc + fixes. + + * process.c (Fprocess_status): Use get_process to find the process + denoted by the PROC argument, not Fget_process. + +1992-07-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c: Doc fix. + +1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * window.c (syms_of_window): Doc fix for pop-up-frames. + + * frame.c (Fframe_parameters): Note that if FRAME is omitted, it + defaults to the selected frame. + + * frame.c (Fframe_height, Fframe_width): Blocked out these + functions; they have no C callers, and can be written nicely in + lisp. + + * frame.c (Fframe_pixel_size): Function removed; there aren't + enough other functions available to make this useful. We need + functions describing the size of the characters of a font. + + * xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h, + window.c, termopts.h, termhooks.h, termchar.h, term.c sysdep.c, + scroll.c, screen.c, screen.h, process.c, print.c, minibuf.c, + lisp.h keyboard.c, indent.c, fns.c, emacs.c, dispnew.c, + dispextern.h, cm.h, alloc.c, config.h.in: Screens are now called + frames, to avoid even more confusion with X terminology than + Emacs's "windows" already cause. All macros, functions, and + variables renamed; all uses changed. + * screen.c, screen.h: Renamed to frame.c and frame.h. All + #includers changed. + * ymakefile: Adjusted appropriately. + * buffer.c: Doc fixes. + + * xfns.c (Fx_store_cut_buffer): Reversed sense of test for non-X + screen. + + * window.c (Frecenter): Doc fix; this function places point in the + middle of the current window, not the current screen. + + * window.c (temp_output_buffer_show): Use WINDOW_SCREEN macro + instead of accessing the member directly. + +1992-07-13 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * print.c (print): Changed code which prints screen objects to use + the SCREEN_LIVE_P macro instead of testing the screen structure + directly. + + * alloc.c (undo_threshold, undo_high_threshold): Variables renamed + to undo_limit and undo_strong_limit. + (Fgarbage_collect): Uses changed. + (syms_of_alloc): DEFVARs and docstrings changed. + * undo.c (truncate_undo_list): Comment adjusted. + + * lread.c (read0): Allow floating-point numbers to begin with a + period. `(0 .5)' denotes a list of two numbers, not a dotted pair. + +1992-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c, callproc.c: Doc fix. + +1992-07-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * bytecode.c (Bsymbol_function, Bfset): Removed comments saying + that these are no longer generated. Jamie Zawinski's byte + compiler does generate them, and he's actually collected + statistics on how often these functions are called. + +1992-07-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * screen.c (store_screen_param): Clarify error message. + + * xterm.c (x_make_screen_visible): Undo the change made on June + 30; that is not the right solution. Apparently there are three + states a window may be in: normal, iconified, and invisible. + +1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * eval.c (Fmacroexpand): Code cleaned up; there's no need to + handle forms like ((macro lambda ...) ...) specially. + + * fileio.c (Finsert_file_contents): Signal an error if we're asked + to read from a named pipe. + +1992-07-07 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * m/*.h (SIGN_EXTEND_CHAR): Removed these definitions. The only + place they were used is in regex.c, and nowadays that has its own + definition, which works for any machine. The definitions in the + machine description files usually didn't work if given an unsigned + character as an argument, anyway. + +1992-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c: Doc fix. + +1992-07-02 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * minibuf.c (Fdisplay_completion_list): Declared new variables + used in rms' previous change. + +1992-07-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * minibuf.c (Fdisplay_completion_list): Handle non-buffer stream. + +1992-07-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * window.c (Fdisplay_buffer): Add interactive spec. + +1992-06-30 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * mem_limits.h: EXCEEDS_ELISP_PTR declared here. + * ralloc.c: No longer declared here. + * vm-limit.c: Nor here. Also, include "lisp.h" before + "mem_limits.h" and additionally include "config.h". + +1992-06-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c (x_make_screen_visible): Don't de-iconify the window; + iconification is orthogonal to visibility. + + * emacs.c (syms_of_emacs): Change docstring for `kill-emacs-hook' + to describe it as a hook, not as a single function. + +1992-06-29 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * minibuf.c (Fread_no_blanks_input): Corrected maximum number of + arguments from one to two. + + * emacs.c (Vkill_emacs_hook): Declare this here; it should have a + docstring, so we might as well DEFVAR it. + (syms_of_emacs): initialize it, and DEFVAR_LISP it with an + appropriate docstring. + +1992-06-28 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * lread.c (Feval_buffer): Make the DEFUN match the C argument + list; this takes two optional arguments, not just one. + + * lisp.h (Lisp_Buffer_Local_Value): Comments neatened. + + * data.c (Fset): Fixed conditional which tests whether the cache + is invalid. It used to be pretty munged, and would always declare + the cache invalid for Lisp_Buffer_Local_Value variables. Now it + declares the cache invalid if the buffer is wrong (obviously), of + +1992-06-27 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * data.c (Fset): Comments reformatted for readability. + + * xterm.c (last_mouse_movement_time): New variable. + (note_mouse_position): Set it. + (XTmouse_position): Return its current value as the position's + timestamp. + + * keyboard.c (Qvertical_split): Renamed to `vertical-line', + since the window arrangement is actually referred to as a + `horizontal split.' + (make_lispy_event, make_lispy_movement, syms_of_keyboard): Uses + renamed here. + keyboard.h (Qvertical_split): Extern declaration changed here. + window.c (Fcoordinates_in_window_p): Changed this to return + `vertical-line' at the appropriate times, rather than + `vertical-split'. + + * window.c (Fcoordinates_in_window_p): Put symbol names in + opposing single quotes - `vertical-split', for example. + + * fileio.c (Fexpand_file_name): Don't signal an error if USERNAME + in a "~USERNAME/..." filename isn't a real user; just leave the + "~USERNAME" unchanged. + + * fileio.c (Fmake_symbolic_link): Rename argument `NEWNAME' to + `LINKNAME', to conform with the docstring. + + * Makefile.in (CPP): Pass `-Is -Im' to CPP, to make sure that + machine- and system-dependend files can include each other + properly. + * ymakefile (CFLAGS): Add those directories to the #include path + here too. + + * Makefile.in (xmakefile): Build this via a temporary file, so + that if preprocessing fails we don't nuke the xmakefile. + + * fileio.c: There are two versions of Fexpand_file_name defined + here; the latter is inside a `#if 0' clause. Change its DEFUN to + a DEAFUN, so that its docstring doesn't make it into the DOC file + and supercede the real docstring. + + * callint.c (Fcall_interactively): For the 'K' interactive spec, + set varies[i] to -1, indicating that the mouse click should be + quoted if the function makes it into the command history, and that + this argument by itself does not qualify the command to be + recorded in the history. + +1992-06-26 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * data.c (Frem): The drem function will sometimes return a + negative number. If it does, add the divisor to it, to make it + positive. + + * screen.c: Put '#ifdef MULTI_SCREEN' after the inclusion of + config.h. + + * window.c (Fpos_visible_in_window_p): Remember to apply XSCREEN + to w->screen before applying SCREEN_WIDTH. + + * screen.h [not MULTI_SCREEN] (last_nonminibuf_screen): Removed + #definition of this; it's confusing when debugging. + * screen.c (last_nonminibuf_screen): Variable moved from here... + * dispnew.c (last_nonminibuf_screen): to here, beside + selected_screen. They should both exist, even if the multi-screen + support is not present. + + * dispnew.c [not MULTI_SCREEN] (the_only_screen): New variable. + Instead of having the non-multi-screen version of Emacs refer to + lots of different variables scattered hither and yon, we'll just + declare this new variable, of type `struct screen', and define the + single-screen versions of the `SCREEN_foo' macros to reference its + elements. This avoids conflicts between names of local variables + and names of global variables describing the screen, and simplifies + some of the differences between the multi-screen and single-screen + cases. + * screen.h (enum output_method, struct screen): Removed these from + the `#ifdef MULTI_SCREEN' conditional. + * screen.h [not MULTI_SCREEN] (the_only_screen): extern + declaration for it here. + [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS, SCREEN_DESIRED_GLYPHS, + SCREEN_TEMP_GLYPHS, SCREEN_HEIGHT, SCREEN_WIDTH, + SCREEN_NEW_HEIGHT, SCREEN_NEW_WIDTH, SCREEN_CURSOR_X, + SCREEN_CURSOR_Y, SCREEN_ROOT_WINDOW, SCREEN_INSERT_COST, + SCREEN_DELETE_COST, SCREEN_INSERTN_COST, SCREEN_DELETEN_COST, + SCREEN_MESSAGE_BUF, SCREEN_SCROLL_BOTTOM_VPOS): Macros changed to + refer to the_only_screen. + * dispnew.c [not MULTI_SCREEN] (one_screen_cursX, + one_screen_cursY, one_screen_current_glyphs, + one_screen_desired_glyphs, one_screen_temp_glyphs, + delayed_screen_width, delayed_screen_height): Variables + deleted; they're all now kept in the_only_screen. + * xdisp.c [not MULTI_SCREEN] (message_buf): Variable deleted; same + fate. + * term.c [not MULTI_SCREEN] (one_screen_width, one_screen_height): + Variables deleted; same fate. + * screen.h [not MULTI_SCREEN]: extern declarations for the above + variables removed. + * window.c [not MULTI_SCREEN] (root_window): Variable deleted. + [not MULTI_SCREEN] (init_window_once): Use SCREEN_ROOT_WINDOW to + refer to the root window, instead of referring to it directly. + * window.h [not MULTI_SCREEN] (root_window): extern declaration + removed. + * scroll.c [not MULTI_SCREEN] (insert_line_cost, delete_line_cost, + insert_n_lines_cost, delete_n_lines_cost): Variables deleted; same + fate. + + * dispnew.c [not MULTI_SCREEN] (cursX, cursY): Renamed to + `one_screen_cursX' and `one_screen_cursY'. + * screen.h [not MULTI_SCREEN] (cursX, cursY, SCREEN_CURSOR_X, + SCREEN_CURSOR_Y): extern declarations and macros changed + accordingly. + + * term.c [not MULTI_SCREEN] (screen_width, screen_height): Renamed + to `one_screen_width' and `one_screen_height', so as not to + conflict with local variables when referenced by the `SCREEN_foo' + macros. + * screen.h [not MULTI_SCREEN] (screen_width, screen_height): + extern declarations changed accordingly. + * termchar.h (screen_width, screen_height): extern declarations + deleted. Everyone should go through the `SCREEN_foo' macros. + (SCREEN_WIDTH, SCREEN_HEIGHT): Changed accordingly. + +1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * callint.c (Fcall_interactively): When making a copy of the spec + string, cast the return value of `alloca' to `unsigned char *', + not `char *', to match the type of `string'. + + * xselect.c (Fx_own_selection): Cast XSTRING (string)->data to a + char *, so it can be comfortably passed to XStoreBytes. + + * filelock.c (strcpy): Declare this to return char *. + +1992-06-24 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * dispnew.c (current_glyphs, desired_glyphs, temp_glyphs): Renamed + to have the prefix `one_screen_', so that the screen macros can + refer to them without conflicting with local variables. + * screen.h [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS, + SCREEN_DESIRED_GLYPHS, SCREEN_TEMP_GLYPHS): Changed accordingly. + + * keyboard.c (read_key_sequence): Put the code which restarts the + key sequence in a `#ifdef MULTI_SCREEN' conditional. + + * screen.h [not MULTI_SCREEN]: Added definitions for + CHECK_LIVE_SCREEN and SCREEN_FOCUS_SCREEN for the non-multi-screen + case. + + * screen.h [not MULTI_SCREEN]: The name is + `SCREEN_MINIBUF_ONLY_P', not `SCREEN_IS_MINIBUF_ONLY'. + + * xdisp [not MULTI_SCREEN] (Fredraw_display): Removed definition + here; the non-multi-screen version is already defined in + dispnew.c, alongside the multi-screen version. + (syms_of_xdisp): Don't try to defsubr Sredraw_display; it doesn't + exist. + + * lread.c (Fread_char_exclusive): Remove this from the `#ifdef + HAVE_X_WINDOWS' conditional; it is appropriate in any context. + + * eval.c (Fsignal): Put call to TOTALLY_UNBLOCK_INPUT under the + protection of a `#ifdef HAVE_X_WINDOWS' conditional. + + * keyboard.c (kbd_buffer_get_event): Expect *mouse_position_hook + to return the timestamp as an unsigned long, not a lisp_Object. + This matches the change made to `struct input_event'. + (make_lispy_movement): Change argument TIME to an unsigned long. + * xterm.c (XTmouse_position): Change TIME argument to a pointer to + an unsigned long. + * termhooks.h (mouse_position_hook): Doc fix. + * term.c (mouse_position_hook): Doc fix. + + * termhooks.h (struct input_event): If MULTI_SCREEN is defined, + declare the .screen element to be `struct screen *'; otherwise, + declare it to be `int'. See the comment in the file for why I've + done this obviously wrong thing. + + * print.c (printbufidx): Doc fix. + * xdisp.c (message_buf_print): Doc fix. + + * dispextern.h (message_buf_size): Variable deleted; it's no + longer used, since the message buffer is always the width of the + screen. + + * screen.h [not MULTI_SCREEN] (message_buf): Add extern + declaration for it here. + (message_buf_print): Added extern declarations here for both the + MULTI_SCREEN and non-MULTI_SCREEN cases. + * dispextern.h (message_buf, message_buf_print): Deleted extern + declaration for these here. It should never be used directly; it + should always be used through the SCREEN_MESSAGE_BUF macro. + + * dispnew.c (temp_glyphs): Added back this variable declaration; + screen.h and various other places referred to this; where did it + go? + * screen.h [not MULTI_SCREEN] (temp_glyphs, desired_glyphs, + current_glyphs): Add extern declarations for these. + + * dispnew.c (cancel_my_columns): Use SCREEN_DESIRED_GLYPHS macro, + instead of assuming that a SCREEN_PTR is actually a pointer to + something; it isn't if we're not using any of the screen support. + Remove the variable `screen', and find the value for + `desired_glyphs' directly. + * xdisp.c (echo_area_display): Use the SCREEN_DESIRED_GLYPHS macro + to find screen's desired cursor position, instead of assuming that + a SCREEN_PTR is a pointer to something. + (display_mode_line): Same. + * window.c (Fpos_visible_in_window_p): Use the SCREEN_WIDTH macro. + (replace_window): Use the SCREEN_ROOT_WINDOW macro. + (window_loop): Use the SCREEN_WIDTH macro. + + * dispnew.c (update_screen): Enclose the statement which + increments `downto' in a `#ifdef HAVE_X_WINDOWS' conditional. + + * screen.h [MULTI_SCREEN and not MULTI_SCREEN] (FOR_EACH_SCREEN): + New macro. + * dispnew.c (window_change_signal, do_pending_window_change): Use + FOR_EACH_SCREEN instead of assuming that Vscreen_list exists. + * window.h (root_window): Added extern declaration for this. + + * screen.c: Enclose the entire file in a #ifdef MULTI_SCREEN + conditional. + + +1992-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fset_window_dedicated_p): + Replaces Fset_window_buffer_dedicated. Second arg just t or nil. + +1992-06-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syntax.h (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, etc.) + Cast character to unsigned char before indexing. + +1992-06-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c (x_wm_set_size_hint): Set size_hints.flags to indicate + that we are providing the base_width and base_height data. + + * xfns.c (Fx_create_screen): Default the internal border width to + 2; this matches XTerm. + + * syntax.c (Fparse_partial_sexp): Doc fix. + + * syntax.c (Fparse_partial_sexp): Added phony argument list to + comment containing the docstring for this function, so that + make-docfile.c will get the right arguments. + + * xfns.c (x_set_name): Don't go through the X11 brouhaha to set + the name unless we're actually setting it to something different + from the current name. + +1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * eval.c (syms_of_eval): Don't forget to escape the ends of the + lines in the docstring for `debug-on-quit'. + + * keyboard.c (Fread_key_sequence): Reversed sense of CONTINUE_ECHO + argument - set this_command_key_count to zero iff CONTINUE_ECHO is + Qnil, not iff it's non-Qnil. + +1992-06-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * search.c: Changed to remember the object in which the last + search was done, so that markers from match data are placed in + that buffer, instead of the current buffer. + (search_regs_from_string): Replaced with... + (last_thing_searched): This is either Qnil, meaning no searching + has been done, Qt, meaning that the last search was done in a + string, or a buffer object, meaning that the last search was done + in that buffer. + (syms_of_search): Initialize and staticpro last_thing_searched. + (Flooking_at, search_buffer): Set last_thing_searched to the + current buffer. + (Fstring_match): Set last_thing_searched to Qt. + (Fmatch_data): Test last_thing_searched to see if any searching + has been done, and construct integers or markers in the right + buffer. Abort if it's not Qt, Qnil, or a buffer. + (Fstore_match_data): Set last_thing_searched according to the + things we find in LIST. + +1992-06-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * fns.c (Fload_average): Document the fact that this sometimes + returns a list of fewer than three elements, on systems which + don't provide 5- and 15-minute load averages. + +1992-06-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c (XTread_socket): If an event arrives to a screen S, + don't attribute them to SCREEN_FOCUS_SCREEN (S) here. Do that + synchronously, when the events are dequeued. This keeps events + from being accidentally routed to the wrong screen, if we + temporarily redirect a screen's focus. + * keyboard.c (kbd_buffer_store_event): If the character being + stuffed is a quit character, do the SCREEN_FOCUS_SCREEN + redirection to it here. + (kbd_buffer_get_event): And do it here, before returning the + event. + + * eval.c (Finteractive_p): This assumed that if the function in + the top frame of the lisp backtrace was not a Lisp_Compiled + object, then Finteractive_p must have an explicit frame on the top + of the stack, which we could skip. It didn't bother to follow the + symbol function chaining, and it would break if any C code called + from a non-compiled function tried to call Finteractive_p anyway. + Changed this to actually check if the top frame's effective + function is the Lisp_Subr for Finteractive_p. This also used to + skip any number of frames for special forms and/or Fbytecode + calls. Changed this to skip an Fbytecode frame (if present), + followed by any number of special form frames. + +1992-06-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * eval.c (struct backtrace): Doc fix. + +1992-06-12 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * m/hp300bsd.h (LOAD_AVE_TYPE): This is long, not double. + (LOAD_AVE_CVT): Adjusted as appropriate. + + * fns.c: Moved lots of system-dependent preprocessor cruft + dealing with getting the load average to `getloadavg.c'. + (Fload_average): Guts moved to `getloadavg.c'. + * getloadavg.c: New file, containing the necessary mess to get the + load average on many different systems. This file is supposed to + be Emacs-independent. + * ymakefile (obj): Add getloadavg.o to the list. + (getloadavg.o): Note that this depends on its source, and config.h. + + * screen.c (Fdelete_screen): Typo in loop looking for new + last_nonminibuf_screen - change `screen = XCONS (screens)->cdr` + to `screens = XCONS (screens)->cdr` + + * xdisp.c (echo_area_display): Don't neglect to draw all the lines + of the minibuffer window (or echo area) when a message is being + displayed. If the minibuffer is more than one line high, they + should all be blanked. + +1992-06-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * sysdep.c [POSIX_SIGNALS] (sys_signal): Fix typo - rather than + calling new_action as if it were a function, call sigaction. + +1992-06-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lisp.h (Qnumberp, Qnumber_or_marker_p): Declared. + + * eval.c (wants_debugger): Changed NULL to NILP. + Who installed these calls to NULL? + +1992-06-09 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * dispnew.c (Fsit_for): Don't forget to actually set sec from ARG. + + * termhooks.h (struct input_event): Doc fix - for mouse clicks, .x + and .y give the position in characters, not in pixels. + + * keyboard.c (format_modifiers): Order the modifier letters + alphabetically - control, meta, shift, and up. + +1992-06-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c: Move some extern decls out of #if 0, to top of file. + +1992-06-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * window.c (Fcoordinates_in_window_p): Docstring fix. + + * buffer.c (Fother_buffer): Put a comma between arguments BUFFER + and VISIBLE_OK in the argument list. Duh. + + * screen.c (Fdelete_screen): Remember that s is a SCREEN_PTR *, + not a Lisp_Object. + + * search.c (search_regs): Doc fix. + (compile_pattern): Take a new argument - the search register + structure - so we can reassure the regex routines that the + registers have been allocated. + (Flooking_at, Fstring_match, search_buffer): Changed to pass + &search_regs to compile_pattern. + (search_buffer): When we've searched for a literal string and + found it, make sure that the search registers are allocated before + stuffing the location of the search into them. + (Fstore_match_data): If we need to allocate more registers, + allocate them using re_set_registers, instead of just storing the + new registers and hoping that regex doesn't free them. + + * search.c (Freplace_match): Doc fix. + +1992-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * screen.c (Fdeiconify_screen): Function deleted. + It was the same as make-screen-visible. + +1992-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c: Doc fix. + + * floatfns.c (Fcbrt): Renamed from Fcube_root, and #if 0'd. + + * lisp.h (CHECK_NUMBER_OR_FLOAT*): Use Qnumberp or Qnumber_or_marker_p. + * data.c (syms_of_data): Staticpro those. + (Qinteger_or_float_p, Qinteger_or_float_or_marker_p): Deleted. + (Fnumberp, Fnumber_or_marker_p): Define these always, + but make them work even if not LISP_FLOAT_TYPE. + +1992-06-05 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * config.h.in: Undefine REL_ALLOC if a system specific file + defines SYSTEM_MALLOC. + + * sysdep.c (save_signal_handlers): Cast result of signal to + avoid compiler warning. + * process.c (send_process): Likewise. + +1992-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Fread_key_sequence): New 2nd arg CONTINUE_ECHO + added for the sake of universal-argument. + +1992-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * editfns.c (Fset_default_file_mode): Function deleted. + (Funix_sync): Moved. + * fileio.c (Funix_sync): Moved to here. + + * xfns.c (Fx_erase_rectangle, Fx_draw_rectangle, Fx_contour_region): + (Fx_uncontour_region): #if 0 these. + (x_rectangle, outline_region): Likewise. + (syms_of_xfns): #if 0 the defsubrs. + + * dispnew.c (Fsleep_for, Fsit_for): Clean up error messages. + + * eval.c, print.c, keyboard.c: Doc fix. + + * xfns.c (Fx_horizontal_line): Disabled, since not documented. + + * fileio.c (Fdelete_directory): Renamed from Fremove_directory. + + * unexencap.c: Deinstalled (renamed to =unexencap.c) + since awaited papers never arrived. + + * xfns.c: Doc fix. + +1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * eval.c (stack_trace_on_error, debug_on_error): Made Lisp_Objects V*. + (syms_of_eval): Changed DEFVAR_BOOLs to DEFVAR_LISPs. + (wants_debugger): New fn. + (find_handler_clause): Use it to look in debug-on-error and + stack-trace-on-error lists. + +1992-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * floatfns.c (Fbessel_*, Ferf, Ferfc, Flog_gamma): Turned off; + not clearly worth including. + (Fasinh, Facosh, Fatanh, Fsinh, Fcosh, Ftanh): Likewise. + +1992-06-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * minibuf.c, keyboard.c: Doc fix. + + * window.c (Fwindow_at): Fix number of args--minimum 2, max 3. + + * screen.c: Doc fix. + +1992-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lread.c (Feval_buffer): Don't read any arguments, if interactive. + +1992-06-02 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * screen.c (make_screen_without_minibuffer): Apply XSCREEN to + Vdefault_minibuffer_screen before calling SCREEN_LIVE_P. The + argument to SCREEN_LIVE_P must be a SCREEN_PTR, not a Lisp_Object. + + * dispnew.c (Fsit_for): This used to compare arg with 0 and return + Qt immediately. It should actually call sit_for anyway, because + sit_for needs to test for input and do the redisplay. + (sit_for): Compare sec and usec with zero here, after we've + looked for input and done a redisplay. + + * lread.c (Feval_buffer): Use NILP, not NIL_P. + +1992-06-01 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * buffer.h: New macro, BUF_SET_PT. + + * lread.c: New subr `eval-buffer', replaces `eval-current-buffer', + which is now defined in simple.el. + +1992-05-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * screen.c (Fdelete_screen): If we're deleting the default + minibuffer screen, try to find another minibuffer screen. + +1992-05-29 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * buffer.c (Fother_buffer): New optional argument VISIBLE_OK, + indicating that buffers currently visible in windows should not be + discriminated against. + +1992-05-28 Ken Raeburn (raeburn@cygnus.com) + + * screen.c (Fdelete_screen): Fix bugs in walking screen list. + (make_screen_without_minibuffer): Signal an error if the default + minibuffer screen is dead. + + * xfns.c (x_set_name): Use ICCCM-conforming scheme for changing + window name in X11. + (Fx_create_screen): Likewise. + +1992-05-27 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xselect.c: Support getting and setting the obsolete X cut + buffers. + (Qcut_buffer0): New atom, denoting the X cut buffer 0. + (syms_of_xselect): Initialize and staticpro it. + (Fx_own_selection): If TYPE is Qcut_buffer0, interpret this to + mean that we should set cut buffer 0 to STRING. + (Fx_selection_value): If TYPE is Qcut_buffer0, interpret this to + mean that we should retrieve the value of cut buffer 0. + +1992-05-21 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c (construct_mouse_click): Removed extra assignment of + result->timestamp. + + * keyboard.c (last_event_timestamp): Doc fix. + * xselect.c (last_event_timestamp): Declare it extern here. + (mouse_timestamp): Variable deleted. last_event_timestamp is a + more accurate thing to use here. + (own_selection, get_selection_value): Use last_event_timestamp + instead of mouse_timestamp. + * keyboard.c (make_lispy_event): Pass the event's timestamp + through the make_number function, to assure that it is properly + tagged before incorporating it into the lispy event. + * xterm.c (construct_mouse_click): The timestamp element of a + struct input_event is no longer a Lisp_Object; it is now an + unsigned long. So don't use XSET to assign to it. + (XTread_socket): Same here, in processing KeyPress events. + + * keyboard.c (Fexecute_extended_command): Properly initialize + this_command_keys to the concatenation of the sequence that + invoked Fexecute_extended_command, the characters making up the + name of the command we're running, and a return character. + Previously, this code would set it to the last key typed while + reading the function name from the minibuffer, followed by the + name of the function being run. + +1992-05-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c (x_display_box_cursor): Draw the cursor at curs_{x,y}, + rather than at s->cursor_{x,y}. If cursor_in_echo_area is set, + then s->cursor_{x,y} does not accurately describe the position of + the cursor. However, if we're not updating, then curs_{x,y} are + garbage; set them from s->cursor_{x,y}. + + * dispnew.c (update_screen): Check current_screen->enable and + current_screen_used to see if there is any text on the last line, + not desired_screen->{enable,used}. When the line isn't enabled, + move to line SCREEN_HEIGHT (s) - 1, not SCREEN_HEIGHT (s). + Rearranged conditionals. + + * dispnew.c (cursor_in_echo_area): Document the interpretations of + positive and negative values of this variable. + +1992-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (Fding): If have arg, don't end a keyboard macro. + +1992-05-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * dispnew.c (sit_for): New function, which is a slight + generalization of Fsit_for; you can tell it that it's waiting for + input, so C-g gets handled properly. + (Fsit_for): Call it, instead of replicating all its guts. + * keyboard.c (read_char): Call sit_for instead of Fsit_for, and + indicate that we're awaiting keyboard input. + + * dispnew.c (Fsit_for): Rename arguments to match docstring. Use + NILP instead of EQ (foo, Qnil). If nodisp is non-nil, call + wait_reading_process_input with do_display 0, instead of 1; this + will inhibit spurious redisplays when process input arrives during + a sit-for. + + * process.c (Faccept_process_output): Pass zero as read_kbd + argument to wait_reading_process_input when PROC is nil, not when + PROC is non-nil. + + * process.c (wait_reading_process_input): Declare read_kbd to be a + Lisp_Object, and use the tagging to tell the difference between a + process object and an integer. + * dispnew.c (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Pass + read_kbd argument to wait_reading_process_input as a Lisp_Object. + * keyboard.c (kbd_buffer_get_event): Same. + * process.c (Faccept_process_output, send_process): Same. + + * keyboard.c (read_char): Use save_getcjmp and restore_getcjmp + instead of doing the bcopy explicitly. + + * xterm.c (XTread_socket): When handling an EnterWindow event, + don't bother to check waiting_for_input. It's not necessary. + + * keyboard.c (read_char): Don't clear waiting_for_input and + input_available_clear_time here. + (quit_throw_to_read_char): It's already done here. + + * keyboard.c (quit_throw_to_read_char): Use + clear_waiting_for_input instead of clearing waiting_for_input + explicitly. + +1992-05-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * keyboard.c (read_char): Call clear_waiting_for_input instead of + clearing waiting_for_input and input_available_clear_time + explicitly. + +1992-05-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * ymakefile [defined (__GNUC__) and __GNUC__ > 1]: define + YMF_PASS_LDFLAGS so that it can deal with an empty flags argument. + + * callproc.c (Fcall_process): Under VMS, a nil INFILE argument + means to read from "NLA0:", not "/dev/null". + + * callproc.c (Fcall_process): Use nil as the value for display + (the fourth argument) when nargs >= 4, not when nargs >= 3. + +1992-05-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * termhooks.h: Change timestamp from a Lisp_Object to an unsigned + long. + * keyboard.c (kbd_buffer_store_event): We don't have to apply the + XINT macro to the timestamp member of the event anymore. + + * process.c (wait_reading_process_output): Don't turn off polling. + + * sysdep.c (setpgrp_of_tty): Pass the address of pid, not pid + itself. + + * process.c: Deleted cpp tangle for dealing with system-dependent + tty handling; #included "systerm.h". + * systerm.h: Add some of the things that were done in process.c: + If titan is #defined, then we should include and + along with the other SYSV pty stuff. + If HPUX is #defined, then EMACS_HAVE_TTY_PGRP isn't true. + If XENIX is #defined, then we shouldn't try to use TIOCGETC. + * ymakefile: Note that process.o depends on systerm.h now. + +1992-05-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * callint.c (Fprefix_numeric_value): Value 1 for symbol other than `-'. + +1992-05-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * cmds.c (Fforward_line): If the buffer is empty, don't try to see + if it contains a newline, and moving nowhere at eob after + non-newline should return 1, not 0. + + * search.c (scan_buffer): Doc fix. + + * buffer.c (Fbuffer_disable_undo): Accept a buffer name as an + argument. + +1992-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c: Include config.h first thing. + + * keyboard.c (clear_input_pending): New subroutine. + * process.c (wait_reading_process_input): Make C-g really quit in + sit-for case. + + * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC. + +1992-05-12 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * eval.c (Fapply): Use indirect_function, instead of doing a dumb + loop. + * keymap.c (get_keymap_1): Same. + * macros.c (Fexecute_kbd_macro): Same. + + * buffer.c (init_buffer_once): Don't disable undos for *scratch* + here. Do it in loadup.el. + + * buffer.c (init_buffer_once): Doc fix. + + * doc.c (Fdocumentation): After extracting the doc string from a + lambda or autoload expression, don't fall through to the default + case and signal an invalid function error; instead, do a `break'. + + * doc.c (Fdocumentation): Use EQ (x, y) instead of XSYMBOL (x) == + XSYMBOL (y). + + * doc.c (Fdocumentation): When decyphering a function made from + conses, use 'else if' for the chain of alternatives instead of + just 'if'. It used to be that each alternative returned, but + that's not true anymore. + + * alloc.c (Fgarbage_collect): Don't call truncate_undo_list on + buffers whose undo list is 't. + + * doc.c (Fdocumentation): Renamed argument `fun1' to `function', + so make-docstring will list argument consistently with the + docstring. + +1992-05-11 Joseph Arceneaux (jla@churchy.gnu.ai.mit.edu) + + * xterm.h: Removed definition of `RES_CLASS'. + + * xfns.c (x_get_arg): Eliminated `screen_name' parameter. No + longer uses screen name as X resource search component. + All calls to x_get_arg changed accordingly. + Global variable `screen_class' and #define `SCREEN_CLASS' removed. + + * xterm.c (XTread_socket): Added basic structure for handling + various ClientMessage events, using new global variables + `Xatom_wm_take_focus', `Xatom_wm_save_yourself', + `Xatom_wm_delete_window', `Xatom_wm_configure_denied', + `Xatom_wm_moved'. + * xfns.c: Declare these variables extern. + (syms_of_xfns): Initialize these variables. + + * xselect.c (Fx_own_selection, Fx_selection_value): New optional + parameter `type', to specify the selection type. + (syms_of_xselect): New symbols Qprimary, Qsecondary, Qclipboard + initialized. + +1992-05-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * data.c (Qcyclic_function_indirection): New error condition. + (indirect_function, Findirect_function): New functions. + (syms_of_data): Initialize Qcyclic_function_indirection, put the + error properties on it, and staticpro it. Defsubr + Findirect_function. + * lisp.h (indirect_function, Findirect_function): Declare them here. + * callint.c (Fcall_interactively): Get symbol's function by + calling indirect_function, instead of just looping. + * doc.c (Fdocumentation): Same. + * eval.c (Finteractive_p, Fcommandp, do_autoload, Feval, + Ffuncall): Same. + * keyboard.c (Fcommand_execute): Same. + + * data.c (Fsymbol_function): Name the argument `symbol' instead of + `sym', so make-docstring will list argument consistently with the + docstring. + + * process.c (wait_reading_process_input): Make sure the screen + isn't garbaged (and therefore not displayed) before we enter the + select and start waiting for input. + + * keyboard.c: #include . + * ymakefile (keyboard.o): This depends on systime.h. + * keyboard.c (input_available_clear_word): Replaced with + input_available_clear_time, which is a pointer to an EMACSTIME; + sometimes the time information is larger than a single word. + (read_char): Changed ..._word to ..._time. + (input_available_signal): Use the EMACS_SET_SECS_USECS macro to + clear *input_available_clear_time, instead of zapping a zero into + *input_available_clear_word. + (set_waiting_for_input, clear_waiting_for_input): Adjusted + appropriately. + +1992-05-10 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * editfns.c (make_buffer_string): New function. + * lisp.h (make_buffer_string): Declare it here. + * editfns.c (Fbuffer_substring): Call make_buffer_string instead + of writing it out. + (Fbuffer_string): Call make_buffer_string instead of make_string, + so we can deal with buffer relocations. + * minibuf.c (read_minibuf): Same here. + +1992-05-09 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * syssignal.h (sigunblock): New macro, taken from 18.58's + emacssignal.h file. + * sysdep.c (request_sigio): Use the sigunblock macro to enable + reciept of SIGWINCH, instead of the dysfunctional sigblockx. + +1992-05-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * search.c: Doc fix. + +1992-05-06 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * emacs.c (decode_env_path): If EVARNAME is zero, don't try to + call getenv on it. + * lread.c (init_lread): When we don't have an environment variable + to check, pass 0 instead of the empty string. + + * alloc.c (Fmake_marker): Use `SIGMASKTYPE' instead of `int'. + Instead of calling sigsetmask twice - once to get the mask, and + again to restore it - call sigblock, specifying no additional + signals. + +1992-05-05 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * alloc.c: #include , for the sake of the + bug-catching code in Fmake_marker. + ymakefile: Add dependency. + + * syssignal.h [not POSIX_SIGNALS] (SIGFULLMASK): New definition, + for symmetry with the "defined (POSIX_SIGNALS)" case. + + * callproc.c (child_setup): Since we always get the environment + from Vprocess_environment, don't bother to take the environment + the subprocess should inherit as an argument anymore. + * process.c (create_process): Don't pass environment as a + variable. Just preserve it across call to fork. + +1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * floatfns.c: #include . + (float_error): Use SIGEMPTYMASK instead of zero. + + * syssignal.h [POSIX_SIGNALS] (sigmask): Defined to expand to a + statement expression under GCC, or a function call otherwise. + (sigpause, sigblock, sigunblock, sigsetmask): These are now + K&R-compatible macros. + * systerm.h [POSIX_SIGNALS] (sys_sigmask): Here is the function + the POSIX version of sigmask calls when we're not compiling with + GCC. + * alloc.c (Fmake_marker): Undo changes of Apr 29. + * callproc.c (Fcall_process): Same. + * data.c (arith_error): Same. + * floatfns.c (float_error): Same. + * keyboard.c (gobble_input): Same. + + * sysdep.c (request_sigio, unrequest_sigio) + +1992-04-29 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * x11term.h (CLASS): Change this from "emacs" to "Emacs"; class + names should always start with an upper-case letter. + + * syssignal.h: Arranged cpp conditionals so that the specific + cases come first, generic cases last. + + * syssignal.h (sigpause, sigblock, sigunblock, sigsetmask): Macros + removed; they require GCC, and Emacs 19 should compile without GCC. + (EMACS_SIGPAUSE, EMACS_SIGBLOCK, EMACS_SIGUNBLOCK, + EMACS_SIGSETMASK, EMACS_SIGFREE, EMACS_SIGHOLDX, EMACS_SIGBLOCKX, + EMACS_SIGUNBLOCKX, EMACS_SIGPAUSEX): These are new macros that + don't require GCC, but expand to statements. + * callproc.c (Fcall_process): Use new EMACS_SIG* macros from + syssignal.h. + * keyboard.c (gobble_input): Same. + * sysdep.c (request_sigio, unrequest_sigio): Same. + * x11term.h (BLOCK_INPUT, UNBLOCK_INPUT): Same. + * alloc.c (Fmake_marker): Same. + * data.c (arith_error): Same. + * floatfns.c (float_error): Same. + +1992-04-28 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * ymakefile: If we're using GCC version 2.0 or later, use "$(CC) + -nostdlib" as the linker. This will allow us to find libgcc.a + even when GCC puts it in a really weird place. + (YMF_PASS_LDFLAGS): New macro. + (temacs): Use it. + + * s/hpux.h: Doc fix. + + * filelock.c (egetenv): Declare this. + (lock_path, SUPERLOCK_NAME, superlock_path): New variables and + macros. + (MAKE_LOCK_PATH, lock_file, unlock_file, lock_superlock): Use the + variables lock_path and superlock_path instead of the PATH_LOCK + and PATH_SUPERLOCK macros. + (init_filelock): New function. + * emacs.c (main): Call the init_filelock function. + * paths.h.in (PATH_SUPERLOCK): Removed. This is now calculated + from PATH_LOCK or from the EMACSLOCKDIR environment variable. + + * filelock.c (MAKE_LOCK_PATH): New macro. + (lock_file, unlock_file, Ffile_locked_p): Use it. + + * syntax.c (Fmodify_syntax_entry): Note that '-' is a synonym for + ' ' (both denote whitespace), that '\\' denotes the escape class, + and that '/' denotes the character-quote class. The description + used to claim that '\\' denoted the character-quote class, and + neglected to mention '-' and '/'. + + * filelock.c (lock_file): Doc fix. + +1992-04-27 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * callproc.c (init_callproc): Get the default Vexec_path from the + environment variable "EMACSPATH"; get Vdata_directory from + "EMACSDATA". + + * ymakefile: Fix #endif and #else comments. + +1992-04-27 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * ymakefile (xemacs): Link xemacs to temacs if HAVE_SHM. + + * ymakefile (paths.h, config.h): Never copy, always fail. + + * process.c (wait_reading_process_input): Redisplay if screen_garbaged. + Call do_pending_window_change first. + Include dispextern.h. + * ymakefile (process.o): Added dependency. + + * ymakefile (OLDXMENU_OPTIONS): New macro, used compiling oldxmenu. + +1992-04-25 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * ymakefile: Changed all references to LD_CMD to LINKER, for + compatibility with the 18.58 configuration files. + * s/aix3-1.h, s/sunos4shr.h: Same here. + + * ymakefile: Doc fixes. + + * ymakefile (CC, MAKE): Set these variables from optional macros. + Change all uses of `make' to ${MAKE}. + + * ymakefile: use HAVE_X11 as alias for X11. + + * ymakefile (LIB_GCC, GNULIB_VAR): Handle GCC 2. + + * process.c (allocate_pty): Re-arranged conditionals to put the + system-specific-case first, and the generic case in the #else + section, for consistency with the rest of Emacs. + + * process.c (allocate_pty): Wait until we fail to open three ptys + in a row before concluding that we've reached the end of the ptys. + +1992-04-22 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * ralloc.c: #include "getpagesize.h". + + * search.c (Flooking_at): Use search_regs.num_regs instead of + RE_NREGS. As of regex version 0.4, the compiler allocates the + registers, and may allocate more than RE_NREGS. + (search_buffer): Same. + (Freplace_match): Use search_regs.num_regs to tell how many + registers are valid. Also note that if none are valid, no search + has been performed. + (match_limit): Same. + (Fmatch_data): Same. + (Fstore_match_data): If we're trying to store more registers than + search_regs has allocated, re-allocate them to make room. + +1992-04-21 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + + * callproc.c (egetenv): Declare the type of VAR. + + * lisp.h: Don't undefine NULL. There is no longer any conflict. + + * lisp.h (NUMBERP): New macro. + * editfns.c (Fformat): Protect the sections that deal with + Lisp_Float objects with a "#ifdef LISP_FLOAT_TYPE". + * bytecode.c (Fbyte_code): Use the NUMBERP macro instead of + explicitly checking for the Lisp_Float tag. + * callint.c (Fcall_interactively): Same here. + + * xrdb.c (magic_searchpath_decoder): Re-allocate string as needed, + rather than making it a fixed-size array. + + * xfns.c (Fx_rebind_key): Don't declare modifier_list to be a + register variable. It's too big, and we need the address of its + first element when we pass it to XRebindKeysym anyway. + + * fileio.c (Fdo_auto_save): Doc fix. + +1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * search.c (search_buffer): Cast RE_EXACTN_VALUE to char, because + the regex-0.4 distribution says so. + + * ymakefile (dired.o): This depends on regex.h. + + * process.c (wait_reading_process_input): There is code here which + sends SIGIO to Emacs if we thought we had input available but + didn't get SIGIO. If the system doesn't have SIGIO, then + #ifdef it out. + + * print.c (Fexternal_debugging_output): Arguments were declared + ANSI-style - rewritten in K&R 1 fashion. + + * floatfns.c (IN_FLOAT): Cast the zero in the `else' clause of the + conditional expression to SIGTYPE, to match the type of the + float_error call in the `then' clause. + + * s/hpux8: #define HPUX8; this is supposed to be customary + procedure, and fileio.c was expecting it, but somehow it didn't + get defined. + + * sysdep.h: Move inclusions of [AIX] , + , , [NEED_BSDTTY] + , [HPUX and HAVE_PTYS] , [SYSV_PTYS] + , , and [pfa] to systerm.h; + also move undefinition of LLITOUT under BSD4_1 to systerm.h. + * systerm.h: They're here. + + * xterm.c (XTcursor_to, XTclear_end_of_line): Declare to return + int in the function definitions as well as their declarations. + +1992-04-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * fileio.c (directory_file_name): When checking if the string ends + with '/', check that slen is a valid length *before* examining + dst[slen-1], not after. + +1992-04-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * xterm.c (x_death_handler): New function. + (x_error_handler): Call x_death_handler to shut down Emacs. + (x_term_init): Use x_death_handler to handle SIGPIPE, instead of + x_error_handler, which expects to be passed a display and an + event. + * process.c (send_process): This used to set a handler to + catch SIGPIPEs when writing to a subprocess, and then set the + handler to SIGDFL after writing, but this would stomp on the + SIGPIPE handler for for the X connection. So restore the prevous + handler instead of changing to SIGDFL. + +1992-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.c (compute_motion): Fix skipping invis lines and + truncation at right margin. + +1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * s/hpux.h (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Use pty_name, + not ptyname. + * s/rtu.h: Same. + + * process.c (pty_process): Add 'int' to the declaration 'static + pty_processes;'. This makes it a happy declaration even when + static has been #defined as the empty string. + * xterm.c (XTcursor_to, XTclear_end_of_line): Same. + + * unexec.c (sbrk): Declare this to return void * if __STDC__ is + defined, or char * otherwise. + + * lread.c init_lread): Re-cleaned logic. To determine whether the + load path was changed before dumping, cons up a dump path and + compare it. This method is more localized and accurate. + (initial_path): Variable removed. + (syms_of_lread): Don't staticpro. + + * floatfns.c (float_error): Declare and define this to return + SIGTYPE. + + * systime.h [HAVE_TIMEVAL] (EMACS_GET_TIME): Declare dummy to be a + real struct timezone, instead of an EMACS_TIME. Since + HAVE_TIMEVAL is defined, struct timezone ought to be declared, so + there's no harm in passing the genuine article. + + * sysdep.c [USG] (rename): Place under the protection of a new + preprocessor symbol, HAVE_RENAME. + * s/hpux.h (HAVE_RENAME): Defined. + + * sysdep.c [USG] (setpriority): Declare to return int, not void. + + * s/template.h: Add template section for HAVE_TERMIOS. + + * term.c (cursor_to, raw_cursor_to, fatal): Do declare the types + of the arguments. + +1992-04-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * callint.c (Fcall_interactively): When the interactive spec is + a string, it may be relocated while reading the arguments. To + avoid this, make a copy of the spec to refer to, instead of + using a pointer to the data of the spec string. + + * callint.c (Fcall_interactively): When following the function + chain of a symbol, check for quits. + +1992-04-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * lread.c (init_lread): Make the load path default to + PATH_LOADSEARCH when we're not dumping (null purify-flag), and + PATH_DUMPLOADSEARCH when we are (not (null (purify-flag))). + Change from April 7th incorrectly always used PATH_DUMPLOADSEARCH. + + * lread.c (init_lread): Cleaned up logic; to determine whether the + load path was changed before dumping, remember the initial value + and compare against it. + (initial_path): New variable to support this. + (syms_of_lread): staticpro initial_path. + + * ymakefile: Renamed filenames like "*-dist" to "*.in". + + * config.h.in: Doc fixes. + +1992-04-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * config.h-dist: Renamed to config.h.in, for consistency with + the installation conventions of other GNU programs. + * paths.h-dist: Renamed to paths.h.in. + +1992-04-11 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) + + * termcap.c: Declare getenv. + +1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile: Renamed to Makefile.in; the configure script will edit + this to produce Makefile. + +1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * paths.h-dist (PATH_DUMPLOADSEARCH): New macro. + * lread.c (init_lread): If we're building an Emacs to be dumped, + use PATH_DUMPLOADSEARCH as the default load path, so we can + correctly find our lisp files. + + * config.h-dist, paths.h-dist: Added "-*- C -*-" to top lines, so + Emacs will know that these are really C source. + +1992-04-03 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * search.c (syms_of_search): When allocating memory + searchbuf.buffer, cast the return value of malloc to unsigned char + *, not char *; this changed in the most recent version of the + regex code. + +1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * doc.c (Fdocumentation): Don't forget to end each line of the + docstring with "\n\". + + * process.c (Fprocess_connection): Change "#ifdef 0" around this + function to "#if 0". + + * eval.c (Flet, FletX): Signal an error if one of the let's binding + clauses has more than one value form, as in (let ((a 1 2)) a). + + * eval.c (Ffuncall): Re-install change of March 10; I don't know + why it went away. + + * search.c (compile_pattern): Declare the variable which holds the + return value of re_compile_pattern to be const, if this is ANSI C. + + * alloc.c (xrealloc): Change "ese" to "else". + + * crt0.c (start1) [sun_soft]: Change 'jst' to 'jsr'. The Sun + assembly language manual doesn't list any 'jst' instruction, I + don't know of one personally, and all the analogous code + around it uses 'jsr'. + + * crt0.c [m68k]: Merged with GNU C Library's version: added + conditionals for sun_68881, sun_fpa, sun_soft. + + * config.h-dist: Adjusted for renaming of share-lib to etc. + * lread.c (read1): Same. + * doc.c (Fdocumentation_property, Fsnarf_documentation): Same. + * ymakefile: Same. + +1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * crt0.c: Merged changes from 18.58: + [hp9000s300]: Set flag_fpa. Define float_loc. + [new hp assembler]: Double flag_fpa and flag_68881 if %d2!=0. + (start1): Declare to be static at the top of the file. + (_start): Removed static declaration in this function; since + everyone wants it, we'll just put it here. + +1992-03-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Finsert_file_contents): Allow quitting from I/O. + (Fcopy_file): Likewise. + +1992-03-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * m-intel386.h (HAVE_ALLOCA): Inhibit if C_ALLOCA. + (LIB_STANDARD): Alternate USG value if __GNUC__ or C_ALLOCA + + * alloc.c (xrealloc): If handed a NULL pointer for the block to + resize, malloc a new block and return that. Not all reallocs do + this. + + * m/elxsi.h: Doc fix. + +1992-03-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * dispnew.c (Fsleep_for): Call wait_reading_process_input, whether + or not we have process support; let the emulator do the work. + * emacs.c (fatal_error_signal, Fkill_emacs): Call + kill_buffer_processes even when subprocesses is not #defined; we + have a stub. + + * process.c [not defined (subprocesses)] (Fget_buffer_process, + init_process, syms_of_process): New stub versions of these functions. + * emacs.c (main): Call init_process and syms_of_process whether or + not subprocesses is #defined. + * xdisp.c (decode_mode_spec): Call Fget_buffer_process whether or + not subprocesses is #defined. + +1992-03-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * keyboard.c (kbd_buffer_get_event): Call + wait_reading_process_input, even when subprocesses is not + #defined, instead of doing a whole lot of hairy SIGIO-pausing + stuff. + * dispnew.c (Fsit_for): Call wait_reading_process_input, whether + or not subprocesses is #defined. + + * process.c (wait_reading_process_input): Since we're no longer + checking for exceptional conditions in the call to select, all of + the different ways to call select for different systems have + become the same; remove the #if conditionals around this. + + * keyboard.c (read_char): When returning quit_char because we got + an interrupt signal, claim that the character came from the + currently selected screen. + +1992-03-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * callproc.c (Fcall_process): Doc fix. + + * process.c [not defined (subprocesses)] (kill_buffer_processes): + New dummy version of this function. + * buffer.c (Fkill_buffer): Removed '#ifdef subprocesses' + protection from the call to kill_buffer_processes; this is safe + whether or not we actually have subprocesses. + +1992-03-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * m/pfa50.h: New file. + * process.c (create_process, process_send_signal): Added changes + for m/pfa50.h. + * sysdep.c: same. + * unexec.c: same. + +1992-03-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * callproc.c (child_setup): Always put the child in its own + process group. + +1992-03-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * mem_limits.h (POINTER): Doc fix. + + * ralloc.c: Don't #include lisp.h and xterm.h; we no longer need + to block input in critical sections. + (r_alloc, r_alloc_free, r_re_alloc): Don't use BLOCK_INPUT and + UNBLOCK_INPUT; these are no longer needed. + (struct bp): Doc fix. + +1992-03-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * ralloc.c (obtain): When deciding how many pages to request, take + into account the amount of spare bytes at the end of the current + page; let get be ROUNDUP (size - already_available), instead of + ROUNDUP (size). + (relinquish): Re-organized for clarity. + + * editfns.c (Fcurrent_time): Updated to return the current time's + seconds split into two 16-bit integers (similar to the system used + by file-attributes), and the milliseconds. + +1992-03-10 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * process.c (Faccept_process_output): Add new optional argument + TIMEOUT-MSECS, and return non-nil iff we actually got some input + from the process(es). + (wait_reading_process_input): Make return value indicate whether + we got some input from the specified process, when read_kbd is a + process, or from any process when read_kbd isn't particular. + + * indent.c (Fmove_to_column): Pass the correct number of arguments + to Findent_to. + + * eval.c (Ffuncall): If a subr is asking for too many arguments, + abort instead of printing an error message; this is an internal + flaw in Emacs, and the subr cannot be called. + +1992-03-06 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * doc.c (Fdocumentation, Fdocumentation_property): Take optional + new arg to not pass results thru substitute-command-keys. + +1992-03-05 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * unexmips.c (unexec): When setting up the data_section header, + calculate the size of the section as "brk - data_start," not "brk + - DATA_START". + +1992-02-23 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * fileio.c: #include "systime.h". + (Fcopy_file): Use the systime.h macros to copy the time to the new + file. + * ymakefile: Note that fileio.o depends on systime.h. + + * ymakefile (dispnew.o): Note that this depends on systerm.h and + systime.h. + (editfns.o, xterm.o, sysdep.o): Note that this depends on + systime.h. + (emacs.o, keyboard.o, process.o, sysdep.o): Note that these depend + on systerm.h. + + * systerm.h: Expanded to handle getting and setting terminal + parameters: + (struct emacs_tty): New structure, which consolidates all of the + old tty parameter structures. + (EMACS_GET_TTY, EMACS_SET_TTY, EMACS_TTY_TABS_OK): New macros. + * sysdep.c (TABS_OK): Definitions of this macro removed; + EMACS_TTY_TABS_OK replaces it. + (TERMINAL): Definitions removed; now we use struct emacs_tty. + [VMS] (input_chan): Renamed to... + (input_fd): and defined even when VMS isn't; in that case, we + leave it initialized to zero, which is the input tty. This allows + us to use the EMACS_GET_TTY and EMACS_SET_TTY for both VMS and + Unix. + (discard_tty_input): Use struct emacs_tty and its macros instead + of TERMINAL. Replace some of conditional with a call to + EMACS_GET_TTY. + (child_setup_tty): Use struct emacs_tty and its macros instead of + TERMINAL and conditionals. + (old_gtty, old_ltchars, old_tchars, old_lmode): Replaced by... + (old_tty): New variable. + (lmode): Made conditional on BSD4_1, since it's only used by the + BSD4_1 support code now. + (init_sys_modes): Define tty to be a struct emacs_tty, not a + TERMINAL. Use macros to get and set parameters for VMS and + Unices. Set lmode, tchars, and ltchars along with the rest of the + tty state. + (tabs_safe_p): Use EMACS_GET_TTY and EMACS_TTY_TABS_OK instead of + conditionals. + (reset_sys_modes): Use EMACS_SET_TTY to restore the settings from + old_tty, instead of using hairy conditionals. + + * sysdep.c (get_screen_size): Neatened; now each system of + reporting the screen size is separated from the rest. + + * systerm.h (EMACS_HAVE_TTY_PGRP, EMACS_GET_TTY_PGRP, + EMACS_GET_TTY_PGRP): New macros to handle setting a tty's current + process group. + * sysdep.c (setpgrp_of_tty): Use the above, instead of + conditionals. + + * sysdep.c: #include "systerm.h". + #ifs that choose #include files moved from here... + * systerm.h: to here. + + * sysdep.c [APOLLO]: We now undefine TIOCSTART not here but... + * systerm.h: here. + + * sysdep.c [BROKEN_TIOCGETC]: We now undefine TIOCGETC not here but... + * systerm.h: here. + + * sysdep.c [BROKEN_FIONREAD]: We now undefine FIONREAD and FASYNC + not here but... + * systerm.h: here. + + * process.c (process_send_signal): Steal 18.58's version of this, + but incorporate the support for VMS signals. + + * syssignal.h (EMACS_KILLPG): New macro. + * process.c (process_send_signal): Use it. + * sysdep.c (sys_suspend): Use it. + + * syssignal.h (SIGCHLD): If we have SIGCLD and not SIGCHLD, define + SIGCHLD as an alias for SIGCLD. + * sysdep.c: Remove code for above. + + * sysdep.c (init_baud_rate): Rather than trying to maintain the + illusion of an abstraction with the OSPEED and SETOSPEED macros, + just use conditionalized code for each terminal kind. This is the + only place we ever need this functionality. + (OSPEED, SETOSPEED): Definitions removed. + +1992-02-22 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * sysdep.c: Moved definition of sigunblock macro to ... + * syssignal.h: Here. + + * hftctl.c: #include before #including . + (hfqry, hfskbd): Declare these functions as static before all uses. + * unexaix.c (make_hdr, mark_x, copy_text_and_data, copy_sym): + Declare as static before all uses. + Remove extraneous semicolons from #ifdefs of COFF and XCOFF + (unrelocate_symbols): cast the initializers of t_start and d_start + to ulong. + + * s/template.h: Include a clause for the HAVE_TERMIO flag. + +1992-02-21 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * keyboard.c (read_char): Don't clear Vquit_flag when we catch an + interrupt and return a quit_char; this change (Mar 21 1991) is too + large a change in functionality for the cleanliness it gains. + + * pwd.h: Renamed to vms-pwd.h, so that we don't get it by accident + when we #include with the `-I.' flag given to the + compiler. + * editfns.c [VMS]: Changed to include vms-pwd.h instead of pwd.h. + * fileio.c [VMS]: Same. + * filelock.c [VMS]: Same. + * sysdep.c [VMS]: Same. + + * xrdb.c: Changed to #include "vms-pwd.h" if VMS is defined, + instead of including unconditionally. + + * window.c (Fset_window_display_table): Rearranged to make etags + happy. + + * xterm.c (XTread_socket): Clear the meta flag from the keypress + event before handing it to XLookupString. + +1992-02-20 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * sysdep.c: No need to test #ifdef TIOCGETP before #undefing it. + +1992-02-19 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * systime.h: New file. + * dispnew.c: #include "systime.h" to get or , + whichever is appropriate, instead of using a conditional. + (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Use the systime.h + macros instead of HAVE_TIMEVAL conditionals. + * editfns.c: #include "systime.h" to get or , + whichever is appropriate, instead of using a conditional. + * fileio.c: Same. + * process.c: Same. + * xterm.c: Same. + (wait_reading_process_input): Use the systime.h macros. + * sysdep.c: #include "systime.h" to get or , + whichever is appropriate, instead of using a conditional. + + * m/template.h: Add description of NO_SOCK_SIGIO. + + * sysdep.c (reset_sys_modes): Doc fix. + + * keyboard.c (sigfree, sigholdx, sigblockx, sigunblockx, + sigpausex): Definitions moved to syssignal.h. + + * dispnew.c: Doc fix. + + * systerm.h: New file, to consolidate the system-dependent + terminal-handling trash. + * emacs.c: #include systerm.h. + (main): Use systerm.h macros instead of conditionals. + * dispnew.c: #include systerm.h. + (update_screen): Use EMACS_OUTQSIZE instead of the direct ioctl. + * keyboard.c: #include systerm.h to get the proper FIONREAD header + files, instead of using conditional. + + * syssignal.h: Added copyright notice. + + * emacssignal.h: Renamed to syssignal.h, to be like sysdep.c. + * data.c, keyboard.c, process.c, sysdep.c, ymakefile: Changed + #include directives. + +1992-02-15 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * m/intel386.h: Don't bother casting the argument to the signal + function; the SIGTYPE code in config.emacs ought to take care of + this. + + * buffer.c (record_buffer): Doc fix. + +1992-02-13 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * s/iris3-6.h: #define HAVE_GETWD. + +1992-02-11 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * window.c (Fwindow_at): Accept position as two arguments, not a + cons of numbers. + + * window.c (scroll_command): Undo the Jan 31 change; do set the + current buffer to the selected window's buffer. A simple + set-buffer will make these two different. + +1992-02-10 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * callproc.c (Fcall_process): Clear synch_process_death and + synch_process_retcode to zero before forking the process. + + * process.c (synch_process_death, synch_process_retcode): Don't + declare them extern here. + * process.h (synch_process_death, synch_process_retcode): Declare + them extern here, along with synch_process_alive. + + * s/hpux.h: Define CLASH_DETECTION. + + * window.c (init_window_once): Don't pass any arguments to + make_window. + + * keyboard.c (command_loop_1): Move the label directly_done out of + the else block to just after the else block. This shouldn't + change the semantics of the code, but appears to avoid a compiler + bug on SCO Unix V.3.2v2. + + * fileio.c (Fset_umask, Fumask): New functions. + (syms_of_fileio): defsubr them. + + * undo.c (Fprimitive_undo): When undoing a deletion with the point + before the deleted text, use Finsert_before_markers so that the + mark will end up on the other side of the text, if it's in the + area at all. + + * xdisp.c (redisplay): Properly compute TAB_OFFSET for compute_motion. + + * keyboard.c (command_loop_1): Don't check whether cursor is at + edge of screen here. + * dispnew.c (direct_output_forward_char): Check here, and return + zero if it can't be done. And compare the cursor position to the + window boundaries, not the screen boundaries. + +1992-02-05 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * screen.c (Fscreen_parameters): If the screen has a minibuffer + window on another screen, return the window, instead of nil. + (store_screen_param): If the value of the minibuffer parameter is + a window, try to make it the surrogate minibuffer window. + (Qminibuffer): New variable, to support above change. + (syms_of_screen): initialize and staticpro it. + + * m/tad68k.h: New file. + + * fileio.c (Ffile_accessible_directory_p): New function. + (syms_of_fileio): defsubr it. + * callproc.c: #include . + (child_setup): Accept yet another argument, current_dir. + Don't try to report an error here if current_dir is inaccessible; + this function is called in a vforking process. Just have the + process exit with an error code. + (Fcall_process): Make sure that the current directory is okay + here, before we fork. Pass the current_dir argument. + * process.c (create_process): Same here. + + * callproc.c (Fcall_process): Don't assign into args[1] when nargs + < 2. Instead, use a new variable called infile. Re-arranged + logic which processes the BUFFER argument. + +1992-02-03 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * fileio.c (Fexpand_file_name): Doc fix. + + * scroll.c (line_ins_del): Since we're calculating the array from + end to beginning, make the indices go that way, and thus clearly + get the right boundary. This used to ignore the [0] element, and + write in the [screen_height] element, which doesn't exist. + +1992-02-03 Richard Stallman (rms at mole.ai.mit.edu) + + * xdisp.c (redisplay, try_window_id): Special case for change + at beginning of line, if using selective display. + +1992-01-31 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * m/delta88k.h: Added USUAL-OPSYS information, for the + config.emacs script to use. + + * window.c (scroll_command): Don't bother setting the current + buffer to the selected window's buffer; this should always already + be the case. Add check just in case. + + * indent.c (compute_motion): Don't pack vpos and hpos into one int; + use separate variables hpos/vpos and prev_hpos/prev_vpos. + (vmotion): Use largest int as tovpos arg to compute_motion. + +1992-01-30 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * window.c: #include "keyboard.h" to get the Qmode_line and + Qvertical_split declarations. + * ymakefile (window.o): Note that this depends on keyboard.h. + + * callproc.c (getenv_internal): Cast the pointer to the variable's + value to a char *; elisp strings are unsigned char *'s. And + valuelen is an int *, not an int **. + + * scroll.c (do_scrolling): Document meaning of enable flag in + temp_screen. + +1992-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m-orion105.h (C_DEBUG_SWITCH, LIBS_DEBUG): Defs deleted. + +1992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m-iris4d.h (C_SWITCH_MACHINE): New definition. + +1992-01-28 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * term.c: #include "keyboard.h", for Vfunction_key_map. + * keyboard.h: Declare Vfunction_key_map. + + * keyboard.h: New file, for external declarations used in + processing keyboard input and events. + * lisp.h (Qmode_line, Qvertical_split, num_input_chars, + poll_suppress_count): Extern declarations moved to keyboard.h. + * keyboard.c: #include "keyboard.h". + (Qvscrollbar_par, Qvslider_part, Qvthumbup_part, + Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, + Qhthumbleft_part, Qhthumbright_part): Moved declarations here from + xfns.c, so they're with the other event heading symbols. + * eval.c: #include "keyboard.h". + * ymakefile (callint.o, keyboard.o, keymap.o, xfns.o, eval.o): + Note that these depend on keyboard.h. + + * xfns.c: The above symbols aren't here any more. #include + "keyboard.h" to get them. + (syms_of_xfns): Don't initialize or staticpro them. + * keyboard.h: Added extern declarations for the above. + * callint.c: #include "keyboard.h". + + * xfns.c (Vmouse_screen_part): Variable removed, no longer used. + (syms_of_xfns): Changed accordingly. + + * xterm.c (Qmouse_moved): Variable removed, no longer used. + (Qmouse_click, Qscrollbar_click): Removed. These are now event + types, in keyboard.c and keyboard.h; they're no longer used in + this way. + (Vmouse_window, Vmouse_screen_part): Extern declarations removed. + (XTread_socket): Don't assign to Vmouse_window or + Vmouse_screen_part. + (syms_of_xterm): Changed accordingly. + + * keyboard.h (EVENT_HAS_PARAMETERS, EVENT_HEAD, EVENT_WINDOW, + EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, EVENT_WINDOW_POSN, + EVENT_TIMESTAMP, EVENT_HEAD_UNMODIFIED, EVENT_HEAD_KIND): New + macros to recognize and access events that have parameters, like + mouse events. + * keyboard.c (read_char, echo_char, Fmouse_click_p, + read_key_sequence): Use them. + * keymap.c: #include "keyboard.h". + (access_keymap, store_in_keymap, Fsingle_key_description): Use the + macros from keyboard.h. + + * keyboard.c (Qevent_kind): New symbol, naming the property of an event + header where we put the event's type. + (Qfunction_key, Qmouse_click, Qscrollbar_click): New symbols, used + to tag different kinds of events. + (Qevent_unmodified): New symbol, naming the property + of an event header where we put an unmodified version of the event + header. + (modify_event_symbol): Take a new argument, SYMBOL_KIND, whose + value should be put on the Qevent_kind property of each symbol we + make. Set the Qevent_unmodified property of each symbol we make. + (make_lispy_event): Pass the appropriate SYMBOL_KIND argument to + modify_event_symbol. + (struct event_head, head_table): New tables, to simplify the + initialization of some of the event heads. + (syms_of_keyboard): Initialize and staticpro the symbols given in + head_table, and put the Qevent_kind and Qevent_unmodified + properties on them. Initialize all of the new symbols listed + above. + + * keyboard.c (lispy_function_keys, lispy_mouse_names): Renamed + these from function_key_names and mouse_names, and moved them + outside of make_lispy_event, since static doesn't work on all + systems, and these can't be automatic. + +1992-01-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fwrite_region): Remove Alliant conditional. + * crt0.c: Conditionals for ALLIANT_2800. + * m/alliant-2800.h: New file. + * unexfx2800.c: New file. + + * m-mips4.h (C_DEBUG_SWITCH): Alternate defn for GCC. + + * sysdep.c [VMS] (sys_write): Special case for fixed-length + with carriage-control characters. + + * s/isc2-2.h (NOMULTIPLEJOBS): Undef this. + (LIB_STANDARD): Add -lPW. + (LIBS_SYSTEM): Defined. + * m/intel386.h (signal): Optionally don't define it. + +1992-01-27 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * s/template.h: Document the SIGTYPE macro. + * s/bsd4-3.h: Define the SIGTYPE macro. + + * data.c (Fsymbol_value): Extract all the innards of this function + into find_symbol_value, except the code which signals an error. + (find_symbol_value): New function. + * lisp.h (find_symbol_value): Declare it. + * keymap.c (current_minor_maps): Use it, instead of a call to + Fboundp and Fsymbol_value per every minor map, for every key + sequence read. + + * xterm.c (x_make_screen_visible): Don't raise the window. This + causes the window to pop to the front every time a message + appears, which isn't desirable. + + * screen.c (Fselect_screen, Fdelete_screen, Fset_mouse_position, + Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen, + Fdeiconify_screen, Fscreen_parameters, Fmodify_screen_parameters, + Fset_screen_height, Fset_screen_width, Fset_screen_size, + Fset_screen_position): Use SCREEN_IS_X macro instead of testing + for output_x_window. + * xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same. + +1992-01-25 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * term.c (term_get_fkeys): New function. + (term_init): Call term_get_fkeys. + +1992-01-21 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * editfns.c (Ffollchar, Fprevchar): Renamed to Ffollowing_char and + Fprevious_char, for consistency. Renamed Sfollchar and Sprevchar + too. + (syms_of_editfns): Fixed defsubrs. + * lisp.h (Ffollchar, Fprevchar): Renamed extern declarations as above. + + * editfns.c (Ffollowing_char): Return 0 at the end of the buffer, + as advertised. Doc fix. + (Fprevious_char): Doc fix. + + * config.h-dist: Rearranged to define user parameters before + including the machine and opsystem files, so the files can have + conditionals on the parameters. + +1992-01-15 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * keyboard.c (read_key_sequence): When expanding a function key + recognized with Vfunction_key_map, don't scan the expansion for + further function key sequences. + + * keyboard.c (Vfunction_key_map): Real declaration moved to + keymap.c; this declaration made extern. + (syms_of_keyboard): DEFVAR and initialization of Vfunction_key_map + moved to keymap.c, since it should be initialized to a keymap, but + we don't want to rely on Qkeymap being initialized now. + * keymap.c (Vfunction_key_map): Variable moved here. + (syms_of_keymap): DEFVAR and init here. + + * keymap.c (Fglobal_key_binding): Doc fix. + +1992-01-16 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * m-delta88.h: New file. + + * window.c (window_scroll): New arg `noerror'. + (scroll_command, Fscroll_other_window): Pass that arg. + +1992-01-15 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * process.c (sigchld_handler): + Set synch_process_death and synch_process_retcode. + +1992-01-14 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * config.h-dist (SIGTYPE): New macro to help give signal handlers + the correct type. + * s/usg5-3.h (SIGTYPE): Define this to be void. + * dispnew.c (window_change_signal): Declare this to return + SIGTYPE. + * emacs.c (fatal_error_signal): Same. + * data.c (arith_error): Same. + * process.c (create_process_1, send_process_trap, + create_process_sigchld, sigchld_handler): Same. + (create_process): Declare sigchld according to SIGTYPE. This + means we don't have to cast the return value of signal. + * keyboard.c (input_poll_signal, interrupt_signal): Declare these + to return SIGTYPE. + (kbd_buffer_store_event): Include a forward declaration for + interrupt_signal here. + * sysdep.c (struct save_signal): Say the handler returns SIGTYPE + instead of int. + (save_signal_handlers): So we don't have to cast the return value + from signal here. + (sys_suspend): Declare oldsig according to SIGTYPE. + (select): Declare old_trap using SIGTYPE. + (select_alarm, wait_for_termination_signal): Declare these to + return SIGTYPE. + + * emacs.c: #include , if we have it. + (fatal_error_signal): If we have termios, use tcgetpgrp to get the + terminal's process group. + * process.c: If we have termios, #include instead of + . + (process_send_signal): If we have termios, use tcgetpgrp to get + the terminal's process group. Have gid default to the child's + pid, to simplify the logic below. + * sysdep.c (flush_pending_output): If we are using termios, make + this function a no-op; since we're not in the tty's pgroup, we + would get a SIGTTIN. + +1992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * config.h-dist: Removed MAINTAIN_ENVIRONMENT clause. + * callproc.c: Removed support for MAINTAIN_ENVIRONMENT. + (init_callproc): Use getenv instead of egetenv to initialize + Vshell_file_name. + * emacs.c (decode_env_path): Use getenv instead of egetenv + * lisp.h: Removed support for MAINTAIN_ENVIRONMENT. + * process.c: Same. + * ymakefile: Same. + * dispnew.c (init_display): Call getenv instead of egetenv. + + * editfns.c (Fgetenv): Function moved... + * callproc.c (Fgetenv): To here, and made to scan + Vprocess_environment instead of using the usual C getenv function. + (getenv_internal): New function. + (egetenv): New function. + * lisp.h: Added extern declaration for egetenv. + * editfns.c (syms_of_editfns): Adjusted. + * callproc.c (syms_of_callproc): Adjusted. + + * window.h (minibuf_prompt_width): Declare this extern here, after + minibuf_prompt. + minibuf.c: Don't extern declare it here. + indent.c: As above. + + * dispnew.c (buffer_posn_from_coords): If there is a prompt in the + minibuffer, account for its width when computing the buffer + position. + + * Makefile (doall): Explicitly export CC to the xmakefile. + + * ymakefile: Use /* */ around comments; # confuses cpp. + + * ymakefile: Note that ralloc.o depends on mem_limits.h, xterm.h, + and config.h. + Note that vm-limit.o depends on mem_limits.h. + + * lread.c (read_escape): Return \a as '\007', not '\a'; the latter + isn't portable, and this routine would have to be revised anyway + to deal with anything other than ASCII. + + * keymap.c (current_minor_maps): Rewritten not to use + function-local static variables, to accomodate DGUX. + + * xterm.h (UNBLOCK_INPUT): Replace "abort ()" with "(abort (), + 0)", to avoid type conflicts on odd systems like Ultrix. + + * xrdb.c: Include , and declare getuid to return uid_t. + + * xdisp.c (redisplay_window): Use SET_PT macro instead of + assigning to point. + insdel.c (insert_from_string): Same. + + * xterm.c (XTcursor_to): Declare it static at the function + definition, as well as at the top of the file. + (dumpglyphs): Removed declarations for buf and cp; these variables + are never used. + + * lisp.h (NULL): Renamed to NILP, so as not to conflict with + , and . All callers changed; all + #undefinitions of NULL removed. + +1992-01-12 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * xdisp.c (message): #ifdef NO_ARG_ARRAY, make a local block to + declare the explicit argument array. + + * config.h-dist: Instead of reaching the machine- and + system-dependent files through symlinks, replace the strings + +1992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu) + + * keyboard.c (stuff_buffered_input): Don't forget to increment + kbd_fetch_ptr while looping through kbd_buffer. + +1992-01-08 Jim Blandy (jimb at occs.cs.oberlin.edu) + + * keyboard.c (read_avail_input): Don't forget to fill in the + screen field in events read from the terminal. + * sysdep.c (kbd_input_ast, read_input_waiting): Call + kbd_buffer_store_event with a `struct input_event *', not a + character or a Lisp_Object. + +1991-12-21 Jim Blandy (jimb at occs.cs.oberlin.edu) + + * bytecode.c (docall): Don't remove protection from the arguments + to Ffuncall. + +1991-12-20 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (Vfunction_key_map): New variable. + (read_key_sequence): Changed to recognize and substitute bindings + in Vfunction_key_map at any point in the sequence, unless they + conflict with ordinary bindings. + (syms_of_keyboard): DEFVAR, document, and initialize + Vfunction_key_map. + +1991-12-19 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keymap.c (Vminor_mode_map_alist): New variable, to support + keymaps for minor modes. + (current_minor_maps, Fminor_mode_key_binding, + Fcurrent_minor_mode_maps): New functions. + (Fkey_binding): Rewritten to scan for minor mode bindings too. + (syms_of_keymap): DEFVAR, document, and initialize + Vminor_mode_map_alist, and defsubr the new Ffunctions. + (describe_buffer_bindings): Describe the bindings established by + minor modes too. + * keyboard.c (follow_key): New function, to support... + (read_key_sequence): Completely rewritten to handle scanning an + arbitrary number of keymaps at a time. + + * keyboard.c (Fread_key_sequence): GCPRO keybuf, since it can hold + lisp expressions while waiting for input. Don't pass too many + arguments to read_key_sequence. + (command_loop_1): Don't pass too many arguments to read_key_sequence. + + * keyboard.c (add_command_key): New function; there are several + places that add keys to this_command_keys, so we make one function + to do the work. + (read_char, Fexecute_extended_command): Call add_command_key + instead of writing out its code again. + (init_keyboard): Allocate this_command_keys according to + this_command_keys_size. + + * lread.c (read1): Change comment to use `share-lib' instead of `etc'. + * doc.c (Fdocumentation_property, Fsnarf_documentation): Update + docstring similarly. + (Fsnarf_documentation): Use "../share-lib/" instead of "../etc/" + to find doc file while dumping. + * unexaix.c: Similar doc fix. + + * ymakefile (etcdir): Variable removed. + (libsrc, archlib, sharelib): New variables, to take the place of + etcdir. + +1991-12-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * ymakefile (CFLAGS): Don't automatically include C_DEBUG_SWITCH + in the value for CFLAGS; the configuration script will take care + of choosing the debugging and optimization switches. + + * config.h-dist: Copy the GLYPH definitions from config.h to here. + +1991-12-16 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * abbrev.c (Fexpand_abbrev): Run pre-abbrev-expand-hook. + (syms_of_abbrev): Define that variable. + +1991-12-13 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * m/m-*.h: Since the m- is now redundant, renamed all files to + remove it, and changed references within files. + * s/s-*.h: Same business. + +1991-12-11 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * config.h-dist (MULTI_SCREEN): Define this automatically when + we're using a window system. + +1991-12-09 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * m/m-*.h (i.e. all machine config files): Added USUAL-OPSYS + comments to tell the configuration script what sort of operating + system this machine typically runs. + + * config.h-dist (MScreenWidth, MScreenLength): Deleted; no longer + used. + +1991-12-08 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * editfns.c (Fcurrent_time): New function, to return the current + time as a number, like the Unix time(3) function. This might be + fun to port. + (syms_of_editfns): defsubr it. + +1991-12-05 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keymap.c (Vminor_mode_map_alist): New variable. + (current_minor_maps): New function. + (Fcurrent_minor_mode_maps): New function. + (syms_of_keymap): DEFVAR, document, and initialize + Vminor_mode_map_alist, and defsubr Fcurrent_minor_mode_maps. + + * callproc.c (Vdata_directory): New lisp variable, for the + directory containing architecture-independent data files. + (init_callproc): Initialize Vdata_directory from PATH_DATA, and + make sure it exists. Renamed execdir to tempdir, because we use + it for both Vexec_directory and Vdata_directory. + (syms_of_callproc): Doc fix for Vexec_directory, new DEFVAR_LISP + for Vdata_directory. + * paths.h-dist (PATH_DATA): New path macro, to initialize + Vdata_directory. + * doc.c (get_doc_string): Use Vdata_directory to find the + docstrings, not Vexec_directory. + * lisp.h (Vdata_directory): New extern declaration, for above + users. + * config.h-dist: Changed references to ../etc to ../share-lib. + + * callint.c (Fcall_interactively): For the 'k' interactive code, + cast the type of the symbol name before passing it to error. + +1991-12-02 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_movement): Move call to + mouse_position_hook from here... + (kbd_buffer_get_event): To here, for symmetry with non-movement + events. + + * keyboard.c (kbd_buffer_get_event): Set Vlast_event_screen for + mouse movements, too. + +1991-11-27 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) + + * alloca.c (alloca): Add parens to make precedence clearer. + +1991-11-26 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) + + * search.c: need to include sys/types.h because of recent mod to + regex.h. + +1991-11-25 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * bytecode.c: BYTE_CODE_METER and BYTE_CODE_SAFE undefined by default. + (METER_CODE): Define same name whether metering or not. + (BinsertN): New byte code. + (Fbyte_code): Improve overflow/underflow error messages. + (docall): Put back previously lost code to remove protection + from funcall args. + +1991-11-25 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * lisp.h (make_array): New extern declaration. + + * alloc.c (make_sequence): Renamed to make_array; more accurate. + * keyboard.c (Fread_key_sequence, Fthis_command_keys): Callers fixed. + * macros.c (Fend_kbd_macro): Callers fixed. + +1991-11-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (cmd_error): If an error occurs before somebody has + provided a screen to print it on, print it to stderr and exit + Emacs. Handle batch-mode errors with the same code. + * lisp.h (Qexternal_debugging_ouput): New extern declaration, for + use in cmd_error. + + * screen.c (Fscreen_pixel_size, Fset_screen_position): Doc fix. + + * window.c (Fwindow_at): Typecheck COORDINATES more thoroughly. + + * screen.c (read_mouse_position): Function deleted. + (Fread_mouse_position): Renamed to Fmouse_position, and changed to + use mouse_position_hook. + (syms_of_screen): Adjusted accordingly. + * xfns.c (x_read_mouse_position): Function deleted. + + * screen.h (SCREENP): The non-MULTI_SCREEN case used to say this + was false for all objects, but it should be true for the terminal + screen, so make its definition the same as in the MULTI_SCREEN + case. + + * screen.h (SCREEN_LIVE_P): New predicate. + (CHECK_LIVE_SCREEN): New type-checking macro. + (Qlive_screen_p): New error-reporting symbol. + * screen.c (Qlive_screen_p): Declare the new symbol. + (Flive_screen_p): New lisp predicate. + (syms_of_screen): Initialize, staticpro, and defsubr the lot. + * dispnew.c (Fredraw_screen): Use CHECK_LIVE_SCREEN. + * screen.c (Fscreen_root_window, Fscreen_selected_window, + Fnext_screen, Fset_mouse_position, Frestore_screen_configuration, + Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen, + Fdeiconify_screen, Fscreen_visible_p, Fredirect_screen_focus, + Fscreen_focus, Fmodify_screen_parameters, Fset_screen_height, + Fset_screen_width, Fset_screen_size, Fset_screen_position, + Fselect_screen): Use CHECK_LIVE_SCREEN. + * window.c (Fwindow_at, Fcurrent_window_configuration): Use + CHECK_LIVE_SCREEN. + * xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use + CHECK_LIVE_SCREEN. + + * screen.c (Fdelete_screen): Do nothing if SCREEN is already + deleted. + + * screen.c (Qscreenp): Staticpro this symbol. + + * xfns.c (Fx_create_screen): Doc fix. + + * xfns.c (Fx_create_screen): Give the screen a minibuffer if the + 'minibuffer parameter is t or nil; nil is the default value for + omitted parameters, and t is intuitive. + +1991-11-14 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * eval.c (specbind): Check that the thing being bound is a symbol. + (funcall_lambda): Signal an invalid-function error if the + arguments are not all symbols. + +1991-11-08 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * screen.c (Fselect_screen): Don't select dead screens. + * print.c (print): Print dead screen objects starting with + "#cursor_y, which is meaningless; it should have compared it with + s->phys_cursor_y. Changed to just mark the cursor as cleared if + it's in the area we're clearing. + +1991-10-13 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * m-intel386.h: Fix typo in #endif. + +1991-10-12 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * callint.c (Fcall_interactively): Added new interactive spec 'K', + for mouse clicks. Added explanation to doc string. Removed 'e' + spec, which didn't work with the new input model anyway. + * keyboard.c (Fmouse_click_p): New function. + (syms_of_keyboard): defsubr it. + + * keyboard.c (EVENT_QUEUES_EMPTY): Clarified comment. + (tracking_off): Change "if (!readable_events)" to + "if (!readable_events ())". + (Ftrack_mouse): Doc fix. + (kbd_buffer_read_char): Fix brainos in tossing of unwanted events. + Don't use EVENT_QUEUES_EMPTY to set input_pending; call + readable_events. + +1991-10-11 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (Qmode_line): New quoted symbol. + (syms_of_keyboard): Initialize and staticpro it. + (make_lispy_event): Use it to indicate when a mouse position is in + a window's mode line. + + * xterm.c (XTread_socket): Consider the window to be resized if + either the character or pixel dimensions have changed; this will + catch font size changes. + +1991-10-08 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * process.c (wait_reading_process_input): Removed all the + exceptional condition stuff. Emacs lacks any way to respond to + such a state, and selecting for it without responding to it can make + Emacs loop indefinitely. + + * xterm.c (XTread_socket, construct_mouse_click): Make sure that + all enqueued events have their timestamp field set. + * termhooks.h (struct input_event): Doc fix. + * keyboard.c (last_event_timestamp): New variable. + (get_mouse_position, kbd_buffer_store_event, + kbd_buffer_read_char): Make sure to fill in Vlast_event_screen and + last_event_timestamp. + * xselect.c (mouse_timestamp): Don't use this anymore. + (last_event_timestamp): Use this instead. + (Fx_own_selection, Fx_own_clipboard, Fx_get_selection, + Fx_get_clipboard): Use last_event_timestamp instead of + mouse_timestamp. + + * xdisp.c (redisplay): Don't pass extra arguments to + update_screen. + + * keyboard.c (echo_truncate): Don't call echo here; this results + in extraneous echoing of characters. + (read_key_sequence): After calling echo_truncate, call echo_char + to put the character we just read into the minibuffer, if + appropriate. + + * keyboard.c (read_key_sequence): Removed unused argument + no_redisplay. + +1991-10-01 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * xfns.c (x_create_screen): Initialize phys_cursor_x to -1, to + indicate that the screen has no displayed cursor. + + * xfns.c (x_create_screen): Let InternalBorderWidth default to 1. + + * xterm.c (x_display_bar_cursor): Declare this to be static void. + + * xterm.c (XTupdate_begin): Don't turn off the cursor. This makes + ugly flickering. Instead, make it okay for XTins_del_lines to do + so: + * screen.h (struct screen): New field phys_cursor_glyph, keeping + track of the glyph under the currently displayed cursor. Since + current_glyphs is sometimes inaccurate when we want to undraw the + cursor (as when XTins_del_lines is called from do_scrolling), we + can't always get the GLYPH from there. + * xterm.c (x_draw_single_glyph): Take the glyph to draw as an + argument, instead of taking it from the screen matrix. + (x_display_box_cursor): Set and use s->phys_cursor_glyph. + + * ymakefile: Note that scroll.o and xmenu.o depend on screen.h. + +1991-09-29 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_event): When building mouse movement + event, use `m', not `event', dummy. + +1991-09-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * screen.c (Fscreen_parameters): Return the proper value for the + 'minibuffer parameter for minibuffer-only screens. + + * xdisp.c (redisplay_window): When the start position is forced, + constrain it to be within the visible region anyway. + + * xterm.c (XTwrite_glyphs): Instead of turning off the cursor + before we write, just notice if we wrote over it. + + * xfns.c (x_decode_color): If a screen has two planes, then it is + considered a color screen, and we should look up the color value. + + * ymakefile: Include xselect.o and xrdb.o in XOBJ even when + HAVE_X_MENU is not defined. + + * fns.c (Fdelete): This used to be named Fdelq; Roland forgot to + change the function name in his August 17 change. + (syms_of_fns): defsubr Fdelete. + +1991-09-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * alloca.c: Do nothing if alloca is defined as a macro. + +1991-09-08 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * m-pfa50.h: New file. + +1991-09-06 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * unexec.c: Add conditionals for COFF_ENCAPSULATE. + +1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * fns.c (Fdelete): New fn. We have member now; we should have + delete too. + +1991-08-16 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * xfns.c (x_get_arg): Clean bad characters out of the screen name + before using it as a resource key. + + * abbrev.c (Fexpand_abbrev): Don't let capitalization go past point. + + * sysdep.c (sys_suspend): Don't use & before array name. + + * sysdep.c [BROKEN_FIONREAD]: Undefine FASYNC. + + * m-tandem-s2.h (START_FILES, LIB_STANDARD): Added. + + * s/s-aix3-1.h: Define HAVE_TCATTR. + + * xfns.c (Fx_grab_cursor, Fx_ungrab_cursor): Functions removed. + +1991-08-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * bytecode.c (Qbyte_code_meter): New. + (Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase, + Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil, + BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New + byte codes. + (Fbyte_code): Implemented new codes listed above. Added code to + count how many times a function is called. + (syms_of_bytecode): Initialize and staticpro Qbyte_code_meter. + + * xfns.c (x_window): When setting the class hints, use the + screen's name as the res_name. + + * xfns.c (x_make_screen_name): New function. + (Fx_create_screen): Use x_get_arg to find screen name; if none has + been specified, use x_make_screen_name; don't set the name again + at the bottom. + (x_get_arg): If SCREEN_NAME is nil, don't pass any class to + Fx_get_resource. + + * xfns.c (x_get_arg, x_default_parameter): Take an extra argument + TYPE, instead of encoding the type in the first letter of the + property name. + +1991-08-15 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * buffer.c (Fkill_all_local_variables): Don't pass + Fmake_local_variable too many args. Use Fset instead. + +1991-08-14 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * xfns.c (emacs_class): Variable removed. + (EMACS_CLASS): New macro, specifying Emacs class for xrdb use. + Use a class of "Emacs", to be compatible with previous versions. + (Fx_get_resource, x_window, Fx_open_connection): Use macro here. + + * buffer.c (Fgenerate_new_buffer): Function moved to + lisp/files.el. + (Fgenerate_new_buffer_name): New function which does only the + name-choosing work Fgenerate_new_buffer used to do. + (Frename_buffer): Added second optional argument DISTINGUISH, + which lets rename_buffer use generate-new-buffer-name if non-nil. + Return the name the buffer was given. + Do nothing if new name is already buffer's name. + + * xfns.c (Fx_get_resource): Take third argument CLASS, and require + it to be specified whenever NAME is. + All callers changed. + [not HAVE_X11] (Fx_get_default): Only take the one arg. + [not HAVE_X11] (Fx_get_resource): Toss the second two args. + +1991-08-13 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * xfns.c (Fx_close_current_connection): Add \n to error message. + + * keyboard.c (make_lispy_event): Added HP keys into the + function_key_names array. + * xterm.c (XTread_socket): For KeyPressed events, strip the + keysym's vendor-specific bit, and take a shot at fitting it into + the Emacs key numbering. + + * screen.c (Vdefault_screen_alist): Definition moved from + screen.el to here. + (syms_of_screen): DEFVAR_LISP and initialize it here. + * screen.h: Declare it here. + * xfns.c (x_get_arg): Use it here. + + * screen.c (make_screen): When choosing a buffer for the screen's + root window, shy away from buffers whose names start with a space. + +1991-08-11 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * process.c (exec_sentinel, exec_sentinel_unwind): Move these + above status_notify. + + * eval.c (Qinhibit_quit): New variable, to support Aug 5 changes + to process.c. + (syms_of_eval): Initialize and staticpro above. + * lisp.h: added extern declaration for above. + +1991-08-10 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * regex.c (re_search_2): When searching with the fastmap, test for + a translate table outside of the loop, not inside the loop. + +1991-08-10 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * fns.c (Fequal): Don't crash on circular structure. + (internal_equal): New subroutine does the recursion. + + * print.c (print): Recognize circular car pointers. + +1991-08-10 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * process.c (wait_reading_process_input): Ignore exceptional + conditions on the keyboard input. + +1991-08-06 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * lisp.h: Fiddled with formatting. + + * process.c (exec_sentinel_unwind): New function. + (exec_sentinel): Restore the process's sentinel, using an + unwind_protect. + +1991-08-05 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * keyboard.c: Doc fix. + +1991-08-05 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * dired.h: Don't include search.h; it doesn't exist. + + * process.c (read_process_output, exec_sentinel): Bind + Qinhibit_quit to true and call the filter directly instead of + through a condition-case. + (run_filter): Removed. + (this_filter, filter_process, filter_string): Variables now + unnecessary. + + * xfns.c (Fx_get_resource): Take the screen name as an optional + argument and look up resources using the name of the screen as + part of the key. + [not HAVE_X11] (Fx_get_default): Take optional 2nd arg NAME and + ignore it. + (x_get_arg): Take the screen name as an arg, and call + Fx_get_resource with that argument. + (x_default_parameter, x_figure_window_size, x_icon): Pass the + screen's name to x_get_arg. + (Fx_create_screen): Make sure the screen name is either nil or a + string, and pass it to x_get_arg. + + * xfns.c (Vx_screen_defaults): Variable removed; such settings + belong in the .Xdefaults file. + (syms_of_xfns): Don't defvar it here. + (Fx_create_screen): Don't use it here. + + * keyboard.c (classify_object): #if 0'd function finally removed. + * xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar, + Qexited_window, Qredraw_screen): Unused, so removed. + (syms_of_xterm): Don't bother to initialize above. + + * xterm.c (init_input_symbols): Renamed to syms_of_xterm, for + consistency. + (x_term_init): Don't call it here. + * xfns.c (syms_of_xfns): Don't call syms_of_xselect here. + * emacs.c (main): Call them here. + + * xterm.c (invocation_name): Made this a Lisp_Object, so that its + string value could be relocated properly. + (x_term_init, x_text_icon): Adjusted code appropriately. + (syms_of_xterm): staticpro invocation_name. + * xfns.c (invocation_name): Changed extern declaration, deleted + extra declaration. + (Fx_get_resource): Adjusted code appropriately. + +1991-08-04 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * lread.c (read1): Accept #[...] for bytecode object. + * print.c (print): Print them that way. + +1991-08-01 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * fileio.c (Fexpand_file_name): Avoid doing strlen (0). + + * editfns.c, filelock.c [VMS]: Use pwd.h from Emacs, not from system. + * fileio.c [VMS]: Likewise. Also include stddef.h, string.h. + Include perror.h only once. + [VMS] (file_name_as_directory, directory_file_name): Remove + assignments from if conditions. + (Fexpand_file_name): Remove excess slash from end of user's home dir. + +1991-08-01 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * emacs.c (main): Add SIGIO conditional within AIX conditional. + + * xdisp.c (try_window_id): Compute proper position for screen bottom + when all changes are below the screen. + When first computing bp, don't go more than HEIGHT + 1 lines. + +1991-07-31 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * xterm.c (x_destroy_window): If we're destroying the currently + highlighted screen, clear x_highlight_screen. + + * xdisp.c (display_text_line, display_string): + Don't go past endp for multi-column chars. + +1991-07-28 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * lread.c (init_lread): If Vload_path was set specially before + dumping, preserve it by default. + + * process.c (process_send_signal): Notice and deal if the + TIOCGPGRP ioctl says that the subprocess has no pgrp. + + * xdisp.c (try_window_id): Always update window_end_* if successful. + + * process.h (subtty): New slot. + * process.c (create_process): Set it. + (process_send_signal): Use it. + + * alloc.c (Fmake_rope): Doc fix. + * screen.c (Fselect_screen): Doc fix. + * vms-pp.c: Fix comment. + + * keymap.c (Fkeymapp, Fdefine_prefix_command): Doc fixes. + + * window.c (window_select_count): No longer static. + (init_window_once): Increment window_select_count, to give each + window a unique use_time. + * window.h (window_select_count): extern this here. + * screen.c (make_screen): Stamp a new screen's selected window + with the proper selection time. + + * ymakefile: xselect.o depends on screen.h, xterm.h, and config.h. + xrdb.o depends on config.h. + xterm.o depends on gnu.h. + * xfns.h: File removed - it only declared Vx_send_movement_events. + All includers changed. + +1991-07-27 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * keymap.c (Fcopy_keymap): Don't recursively copy maps inside symbols. + +1991-07-27 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * xdisp.c (redisplay): If echo_area_display puts text in a + surrogate minibuffer screen, don't neglect to update it. + + * keyboard.c (kbd_buffer_store_event): Make sure + Vlast_event_screen is set properly for quit characters. + +1991-07-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): pass both arguments to + Fselect_screen. + + * screen.c (make_screen): Divide the size by sizeof (Lisp_Object) + before passing it to Fmake_vector. + + * screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): fixed + definition. + + * screen.c: #include termhooks.h and therefore stdio.h. + (make_screen): Initialize focus_screen member. + (Fdelete_screen): Refuse to delete SCREEN if it is a + surrogate minibuffer for some other screen, not just if it's the + global minibuffer screen. + (Fredirect_screen_focus, Fscreen_focus): New function. + (syms_of_screen): defsubr Sredirect_screen_focus. + * window.c: Don't include termhooks.h or stdio.h. + (Fselect_window): Removed grunge to support minibuffer hack. + * screen.h (struct screen): Added focus_screen member, and + accessor for it. + * alloc.c (mark_object): mark focus_screen member of Lisp_Screens. + * xterm.c (XTscreen_rehighlight): Use the focus_screen member to + decide which screen to highlight. + (XTread_socket): Use focus_screen when enqueuing keystrokes. + * minibuf.c (read_minibuf, read_minibuf_unwind): Shift the + selected screen's focus around appropriately. + * termhooks.h (screen_rehighlight_hook): Doc fix. + + * lisp.h (CHECK_IMPURE): Moved definition... + * puresize.h (CHECK_IMPURE): To here. + +1991-07-25 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * dispnew.c (buffer_posn_from_coords): Bufp is broken; don't use it. + + * xterm.c (XTscreen_rehighlight): Neatened sloppy logic. + + * keyboard.c (read_key_sequence): When truncating a key sequence, + don't forget to put the new keystroke back in this_command_keys. + Do this before calling echo_truncate, and don't call echo_char. + +1991-07-24 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * xterm.c (x_term_init): Initialize x_focus_screen and + x_highlight_screen. + + * xterm.c (XTscreen_rehighlight): Handle things correctly when + x_focus_screen is 0. + (XTread_socket): Process EnterNotify and LeaveNotify events with + .focus == 0 properly. For FocusOut events, pass the right + arguments to x_new_focus_screen. + + * fileio.c (Finsert_file_contents): Use RETURN_UNGCPRO macro. + + * buffer.c (Fbuffer_name): Fix typo in doc string. + (syms_of_buffer): Fix typo in before_change_function name. + +1991-07-23 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * screen.h (CHECK_SCREEN): Define a dummy version of this when + MULTI_SCREEN is not defined. + + * sysdep.c (init_signals, sys_signal, sys_sigpause): New functions. + (sys_sigblock, sys_sigunblock, sys_sigsetmask): New functions. + + * sysdep.c (_sobuf): Unsigned chars if DGUX. + + * sysdep.c [DGUX]: Include file.h. + [DGUX] (sys_siglist): New variable. + + * x11term.c (x_init_1) [SYSV_STREAMS]: Don't close the old + descriptor. + + * keyboard.c (read_key_sequence): Treat function keys like ascii + characters. + + * lread.c (init_lread, syms_of_lread): New names for init_read and + syms_of_read, for consistency. + + * emacssignal.h: New file. + * data.c, keyboard.c, process.c, sysdep.c: Include it. + * data.c (arith_error): Use SIGEMPTYMASK. + * keyboard.c (sigfree, sigunblockx): Use SIGEMPTYMASK. + (sigholdx, sigblockx): Use sigmask. + (gobble_input): Use sigblockx instead of sigholdx, so that any + other blocked signals stay blocked during and after the call to + read_avail_input. + * process.c (create_process): Use sigmask. + [FASYNC] (request_sigio): Use sigunblock. + * xterm.c (sigmask): Removed #definition here. + * ymakefile (keyboard.o, process.o, sysdep.o, data.o): Make these + depend on emacssignal.h. + + * window.c (Fselect_window): Modify surrogate minibuffer hack to + make the minibuffer the selected window of the selected screen, + AND select the minibuffer window's screen. + * minibuf.c (read_minibuf): If the minibuffer window is on a + different screen, save that screen's configuration too. + + * window.c (Fset_window_configuration): Use SCREEN_ accessor to + get at a screen's root window. Removed unused variable + screen_to_select. + (Fcurrent_window_configuration): Take an optional argument SCREEN. + All callers changed. + + * window.c (auto_new_screen, Vauto_new_screen_function): Renamed + to pop_up_screens and pop_up_screen_function, to be parallel with + pop_up_windows. + (display_buffer, syms_of_window): Changed appropriately. + + * fns.c (Fload_average) [DGUX]: Add code to support DGUX. + + * s-dgux.h, m-aviion.h: New files. + + * emacs.c (main) [POSIX_SIGNALS]: Call init_signals. + + * screen.c (Fdelete_screen): Update last_nonminibuf_screen if + the screen it's currently pointing to gets deleted. + +1991-07-22 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * screen.c (last_nonminibuf_screen): New variable. + (Fselect_screen): Set last_nonminibuf_screen if appropriate. + +1991-07-21 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * screen.h (last_nonminibuf_screen): Added declarations for new + variable. + * minibuf.c (active_screen): Variable removed. + (read_minibuf): Removed code to set and clear active_screen. + * window.c (Fdisplay_buffer): Rewritten to use + last_nonminibuf_screen. + + * screen.c (next_screen): Use SCREEN_ accessors instead of ->. + + * window.c (Fdisplay_buffer): Removed reference to + Fx_create_screen; we should rely on the auto-new-screen-function + being set to something appropriate. + +1991-07-21 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Restore the state of + this_command_key_count along with the echoing state. + +1991-07-20 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * xfns.c (Fx_synchronize): New function. + (syms_of_xfns): defsubr it. + + * xdisp.c (redisplay): Don't turn on all_windows whenever we're + using a separate minibuffer screen. Even if there is some tweak + necessary, this wasn't it. + + * process.c (status_notify): Do not forget to UNGCPRO. + + * screen.c (next_screen): Re-work logic to skip minibuffer-only + screens so that it doesn't loop indefinitely, even when the only + screen is a minibuffer-only screen. Skip all screens that are + only minibuffers, not just when they are the global minibuffer + screen. + + * xdisp.c (message, message1): If the screen's message buffer + is 0, toss the message; don't check the window system against + the screen output_method. + +1991-07-19 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): When we truncate the echo + buffer because the user has switched screens, re-echo the + character that caused the truncation. + + * lread.c (Fload): Change "source newer than ..." message not to + refer to "libraries." What is a "library," anyway? + + * window.c: #include "termhooks.h", and therefore too. + [MULTI_SCREEN] (Fselect_window): If the window being selected is + the selected screen's minibuffer, but it lives on another screen, + don't select that other screen - call the screen_rehighlight_hook + instead. + * termhooks.h (screen_rehighlight_hook): New hook, so that Emacs + can shift the screen highlighting when needed. + * term.c (screen_rehighlight_hook): Define it. + * xterm.c (x_highlight_screen): New variable. + (x_new_focus_screen): Move the rehighlighting code to... + (XTscreen_rehighlight): New function. + (x_display_bar_cursor, x_display_box_cursor): Use + x_highlighted_screen instead of x_focus_screen. + (x_term_init): Initialize screen_rehighlight_hook. + * ymakefile: Make window.o depend on termhooks.h. + + * xfns.c (Fx_create_screen): Add mention of + global-minibuffer-screen to docstring. + * screen.c (make_screen_without_minibuffer): Improve error message + displayed when Vglobal_minibuffer_screen is not a proper screen. + +1991-07-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * config.h (PURESIZE): Definition moved to... + * puresize.h: New file. + (PURESIZE): Define this here. This will allow people to change + their pure storage allocation without having to recompile most of + Emacs. + * data.c: #include puresize.h, since CHECK_IMPURE needs PURESIZE. + * alloc.c: #include puresize.h. + [HAVE_SHM] (pure_size): New variable, so that XPNTR doesn't depend + on PURESIZE. + [HAVE_SHM] (init_alloc_once): Initialize pure_size here. + * lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size, + instead of PURESIZE. + (pure_size): extern declaration added here. + * ymakefile: Added puresize.h to dependencies for alloc.c and + data.c's .o files. + + * emacs.c (main): Doc fix for kludge to scan for -d. + +1991-07-17 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * termhooks.h (struct input_event): #if 0'd out the definition for + the screen_selected event type, and added the stipulation that the + {non_,}ascii_keystroke events specify the screen they happen in. + * xterm.c (x_new_focus_screen): Don't enqueue a screen_selected + event. + (XTread_socket): Calls to x_new_focus_screen in the EnterNotify, + FocusIn, LeaveNotify, and FocusOut event code don't worry about + enqueued events any more. + * keyboard.c (new_selected_screen): Removed - see below. + (Vlast_event_screen): New variable, visible to lisp code. + (echo_length, echo_truncate): New functions. + (readable_events): Removed screen_selected events from the set of + things to skip. + (kbd_buffer_store_event): Don't bother collapsing consecutive + screen_selected events. + (kbd_buffer_read_char): Don't process screen_selected events. + (make_lispy_event): Re-arrange scrollbar events to put the window + whose scrollbar was diddled right after the identifying symbol, + for consistency. + (read_key_sequence): Let the selected screen and the location of + the event affect the keymap used to find its binding. + (Fread_key_sequence): Update docstring. + (syms_of_keyboard): Added DEFVAR_LISP for Vlast_event_screen. + +1991-07-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * screen.c (next_screen): If !mini_screen, only exclude the global + minibuffer screen when the minibuffer is its only window. + (Fnext_screen): Make the docstring clearer about what MINISCREEN + means. + + * window.c (Fother_window): Indicate that it takes both a required + and optional argument, instead of just one required. + +1991-07-15 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * buffer.c (Fkill_buffer): Rehacked kill-buffer-hooks to use + standard name kill-buffer-hook, and to use set_buffer_internal + instead of Fset_buffer. Use static variable containing symbol + instead of intern. + (syms_of_buffer, init_buffer_once): Qkill_buffer_hook = + 'kill-buffer-hook. + +1991-07-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keymap.c (Fsingle_key_description): When describing a listy + object, take the car to find the symbol that heads it, not the cdr. + + * dispnew.c (buffer_posn_from_coords): Pass col and line to + compute_motion in the correct order. + + * keyboard.c (make_lispy_event): When calculating rows and columns + for mouse clicks and movement events, don't forget to subtract the + position of the window's top left corner before passing them to + buffer_posn_from_coords. + + * screen.c (coordinates_in_window): Removed useless test for *y == + screen_height, and screen_height variable; this would be out of + range of all the windows anyway. + + * xdisp.c (message1): Removed code to ignore messages before X has + started up; this issue has hopefully been addressed by the + condition-case in startup.el. + + * editfns.c (init_editfns): Make user_name char * instead of + unsigned char *, since that's what most of the usages seem to + want. And when expanding ampersands in AMPERSAND_FULL_NAME mode, + don't try to use user_name as a string; use Vuser_name. + + * minibuf.c (assoc_for_completion): New function. + (do_completion): Use that to check for exact match. + + * minibuf.c (Ftry_completion): Fix handling of matches aside from + case. If ignoring case, and all else equal, try to preserve the + case of the characters in the input. + + * process.c (status_notify): GCPRO tail. + + * sysdep.c (creat_copy_attrs, rename_sans_version): Always set + protection to O:REWD when creating file. Added new function + rename_sans_version, which strips the version number from the target + filename, renames the temporary file to this filename, and then + sets the file protection of this new file to be the same as the file + being edited. + + * sysdep.c [VMS]: Include pwd.h from Emacs. Use sys/file.h if GCC. + (F_SETFL) [VMS]: Undefine this, to control conditionals. + (getpwnam): Make `full' unsigned. + (creat_copy_attrs): Add some casts. + (sys_access): Change prvmask and CHECKPRIV to use bitfields. + Add some casts, and make dummy an unsigned short int. + Don't use & on constants. + (vmserrstr): Add a cast. + (sys_creat): Define va_count before this function. + +1991-07-14 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * sysdep.c (sys_sleep, input_wait_timeout): Don't use & on constant. + [VMS]: Include pwd.h from Emacs. Use sys/file.h if GCC. + (bzero, bcopy) [VMS]: Don't take address of `length'. + + * sysdep.c (sys_suspend): Cast value of `signal' to insulate from + changed value type in sysV.3. + + * sysdep.c (child_setup_tty): Turn off erase & kill chars for BSD. + + * sysdep.c (discard_tty_input): Use TIOCFLUSH on Apollo. + (init_sys_modes): Avoid TIOCSTART on Apollo. + + * sysdep.c: If HAVE_TERMIOS is not defined, define tcgetattr in + terms of the TIOCGETP ioctl. + (init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR. + (discard_tty_input, init_baud_rate, child_setup_tty, + init_sys_modes, tabs_safe_p, reset_sys_modes): + Use tcgetattr, and if HAVE_TCATTR, use tcsetattr. + +1991-07-13 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) + + * s-hpux8.h: New file. + * fileio.c [HPUX8]: Don't include errnet.h. + + * unexhp9k800.c (unexec): Local variable i to avoid compiler bug? + + * sysdep.c (insque) [WRONG_NAME_INSQUE]: New function. + * s-386ix.h (WRONG_NAME_INSQUE): Define it. + + * xdisp.c (message_buf_print): New variable. + (message): Clear it here. + * dispextern.h: Declare it here. + * print.c (printchar, strout): Set it and test it here. + + * keyboard.c (command_loop_1): Don't clear last_command when start + macro. + + * keyboard.c (read_command_char): Exit at eof if noninteractive. + + * indent.c (invalidate_current_column): New function. + * editfns.c (Fwiden, Fnarrow_to_region): Call it. + + * process.c (create_process): Use O_NOCTTY whenever defined, + unless USG. + + * process.c (Fprocess_send_eof): If using a pipe, close it. + (close_process_descs): Check IN and OUT for nonzeroness. + + * process.c (process_send_signal): Use interrupt chars + to send certain signals to the process group. + (TIOCGETC): Undefine this if it is not really usable. + + * sysdep.c (discard_tty_input): Do nothing if read_socket_hook. + + * xfns.c (x_set_mouse_color): Change the default pointer shapes to + be closer to xterm and emacs 18. + + * xterm.c (x_focus_on_screen, x_unfocus_screen): These no longer + call XSetInputFocus, because I think that the X-windows ICCCM + says that only the window manager can do this sort of thing. + + * keyboard.c (read_char): When there is an unread command + character, goto reread_first when this_command_key_count is zero, + not when it is >= 0. + (command_loop_1): Reset this_command_key_count only if there is no + prefix argument. This makes echoing of keystrokes work correctly. + +1991-07-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * eval.c (Finteractive_p): Changed "! XTYPE (foo) == Lisp_Bar" to + "XTYPE (foo) != bar". + +1991-07-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * eval.c (apply1): Don't forget to UNGCPRO before returning. + + * xterm.c (XTupdate_begin): Undisplay the cursor here; do_scrolling + will call XTins_del_lines when the screen matrix is inaccurate, so + we cannot undisplay the cursor then, but do_scrolling is always + called within an update. + +1991-07-10 David J. MacKenzie (djm at nutrimat) + + * termcap.c, tparam.c [!emacs, USG || STDC_HEADERS]: Define bcopy + in terms of memcpy. + +1991-07-09 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * scroll.c (do_scrolling): Use correct termination condition for + loop that uses the glyph pointers for the deleted lines to fill in + the inserted lines. + +1991-07-08 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * editfns.c: Doc fix. + +1991-07-03 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * dispnew.c (line_hash_code): Test m->highlight[vpos], not + m->highlight. All lines were getting hash codes of -1, because + the highlight vector was never NULL. Golly. + + * process.c (list_processes_1): Handle status of network streams. + +1991-07-02 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * doc.c (Fdocumentation_property): + Pass only strings to Fsubstitute_command_keys. + +1991-07-02 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * editfns.c (init_editfns): If neither of the environment + variables are set, DON'T set Vuser_name to Vuser_real_name; it's + supposed to reflect the EFFECTIVE uid. + Get the full name according to Vuser_name if it differs from + Vuser_real_name, not if they are equal. + And pass Vuser_name to getpwnam in that case instead of user_name, + which might be 0. + + * lisp.h (RETURN_UNGCPRO): New macro. + + * bytecode.c (Fbyte_code): Do not remove GC protection from the + stack when making a function call, because the caller is + responsible for protecting the arguments to a MANY-arg'ed + function. + * eval.c (Fapply): If we use funcall_args, GCPRO it. + And when we call Ffuncall with funcall_args, tell it the correct + length of funcall_args, no matter which branch allocated it. + (Ffuncall): Don't gcpro the arguments before calling + Fgarbage_collect. + (Feval): If we're calling a subr that takes MANY args, don't + UNGCPRO until after we call the subr. + (apply1, call0, call1, call2, call3): GCPRO the arg arrays passed + to Ffuncall and Fapply. + * callproc.c (Fcall_process, Fcall_process_region): Don't GCPRO + the argument array. + * editfns.c (Finsert, Finsert_before_markers): Don't GCPRO the + argument array. Added comment about when GCPROing is not needed. + * mocklisp.c (Finsert_string): Don't GCPRO the argument array. + + * keyboard.c (init_keyboard): Handle SIGQUIT with interrupt_signal + on any system that has HAVE_TERMIO, not just on USG systems. + +1991-07-01 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * editfns.c (init_editfns): Test that user_name isn't 0. + +1991-06-29 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * search.c: Doc fixes. + +1991-06-28 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_event): Let the posns of mouse clicks and + mouse movements be nil when window_from_coordinates returns a + NON-window, not when it returns a window. Since posn is a lisp + object, don't call make_number when consing up the event. + Don't call make_number on the code member of the event. + + * keyboard.c (struct movement): Make the x, y, and time members + Lisp_Objects, since it's easier to convert from a Lisp_Object than + to. + (note_mouse_position): Adjusted for the above. + (make_lispy_event): Removed code to make Lisp_Objects for those + members. + + * xterm.c (XTread_socket): When handling LeaveNotify events, + remember that the focus member of the event is true when the + receiving window now has the focus, not when it is losing it. + * xfns.c (Ffocus_screen): Don't signal an error if SCREEN is + already the focus screen. + +1991-06-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * alloc.c (Fmake_rope): Use sizeof (GLYPH) instead of 2 to + determine how large the string should be, and changed doc string + to describe ropes as strings of glyphs, not just as strings of + character pairs. + (Frope_elt): Use sizeof (GLYPH) as the element size, instead of + assuming that the elements are two bytes. + * lisp.h (typedef GLYPH): Moved the definition from here... + * config.h (typedef GLYPH): to here, so people can elect to get + better performance if they don't want to use huge fonts. + * xterm.c (dumpglyphs): Use XDrawImageString or + XDrawImageString16, Depending on sizeof (GLYPH). + + * data.c (Fsetq_default): Call Fset_default to do the assignments, + not plain Fset. + + The following changes were contributed by Jamie Zawinski + : + + * bytecode.c (Fbyte_code): BYTE_CODE_SAFE and BYTE_CODE_METER + options added. + Added Bmark, Bscan_buffer, Bset_mark to support error-checking for + these obsolete bytecodes. + Added Bunbind_all to support tail-call optimization (not yet + implemented). + Did NOT add the relative branch opcodes that were in the version + of bytecode.c that Jamie sent. + The branching bytecodes now only QUIT if they take the branch. + Btemp_output_buffer_show, Bforward_char, Bforward_word, + Bskip_chars_forward, Bskip_chars_backward, and Bforward_line + passed the wrong number of arguments to their subrs. + Brem, Bbuffer_substring, Bdelete_region, Bnarrow_to_region, + Bstringeqlsign, Bstringlss, Bequal, Bnthcdr, Bmember, Bassq, + Bsetcar, and Bsetcdr passed arguments to the subr in the wrong + order. + +1991-06-25 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) + + * doc.c (Fdocumentation): Added a QUIT test to the loop that finds + the symbol's function value. + +1991-06-24 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * xterm.c (dumprectangle): Removed call to XFlushQueue here. + + * keyboard.c (command_loop_1): Call Fselect_screen to establish + the new selected screen after the key sequence has been read, not + at the top of the loop. This way, a key sequence will happen in + the screen it was typed at, or (to be more precise) the screen its + last character was typed at. + + * keyboard.c (fast_read_one_key): Function deleted, since it had + been #if 0'd out a long time ago. + (command_loop_1): Support for fast_read_one_key removed. + + * eval.c (Ffuncall): Do GCPRO the arguments, contrary to the May + 16 change. The convention appears to be that the MANY-arged + callee must protect its own arguments. + (Fapply): Don't protect funcall_args; they are the caller's + responsibility. + * bytecode.c (Fbyte_code): GCPRO the section of the stack *above* + the args to Ffuncall, since it will be protected again once + Ffuncall returns and therefore should stay valid. If it is not + protected, string relocation may make it invalid. + * mocklisp.c (Finsert_string): GCPRO the arguments, since insert + may cause a garbage collection. + * editfns.c (Finsert, Finsert_before_markers): GCPRO the + arguments, since insert may cause a garbage collection. + * callproc.c (Fcall_process, Fcall_process_region): GCPRO the + arguments, since insert may cause a garbage collection. + +1991-06-20 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * buffer.h (struct buffer_text, struct buffer): small change to + comments. + + * search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to + indicate that non-regexp searches set these too. + + * window.c (Fset_window_start): If window is not the selected + window, set windows_or_buffers_changed, so that redisplay will + know that it should redisplay the window. + + * callint.c (Finteractive): Changed doc string to indicate that + the interactive prompts are passed through format. + +1991-06-20 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * buffer.c (syms_of_buffer): buffer-undo-list doc fix. + +1991-06-11 Roland McGrath (roland@albert.gnu.ai.mit.edu) + + * data.c (Fsetq_default): Take multiple SYM, VAL args; syntax now + parallel to setq. + +1991-05-25 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so + that we always process/toss events we don't want to return. + + * screen.c (Fselect_screen): Call Ffocus_screen instead of + x_new_selected_screen, which doesn't exist anymore. + + * xfns.c (Ffocus_screen): Declare the type of the SCREEN argument. + + * xfns.c (Fx_track_pointer): Function #if 0'd out - I don't think + that this is a feature that we want. + (syms_of_xfns): Elide the defsubr for the above. + + * xterm.c (x_mouse_screen, x_input_screen): Variable deleted, + since all we really need is x_focus_screen; all other issues are + the realm and responsibility of the window manager. + (x_new_selected_screen): Renamed to x_new_focus_screen, and + modified not to do thiogs inappropriate for signal handlers. + (XTread_socket): Change the handling of EnterNotify, LeaveNotify, + FocusOut and FocusIn events to use x_new_selected_screen, and + ditched code that deals with x_mouse_screen and x_input_screen, + since they don't exist anymore. + (x_display_bar_cursor, x_display_box_cursor): Compare s with + x_focus_screen to see what form the cursor should take. + (x_destroy_window): Don't bother with x_input_screen. + * xfns.c (x_mouse_screen): Removed extern declaration for this. + (Fx_grab_pointer): Confine the pointer to x_focus_screen, not + x_mouse_screen. This is wrong, but will make emacs compile until + this gets fixed. + +1991-05-23 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (get_input_pending): Don't use trim_events; use + readable_events instead. + + * keyboard.c (make_lispy_event): Remove case for window_sys_event, + since that type of event doesn't exist anymore. + + * minibuf.c (Fcompleting_read): Document the backup-n argument. + + * dispnew.c (init_display): Don't declare alternate_display extern + here. I can't figure out what this feature is, and it's broken. + * emacs.c (main): Don't test alternate_display and put its value + in the environment. + +1991-05-22 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (struct movement): Made .used an int instead of a + char, since that's more likely to be stored atomically on SPARCS + and similar machines. + + * termhooks.h (struct input_event): Removed the window_sys_event, + since it's not used anywhere. Added screen_selected event type. + The event handling code used to change the current buffer, + selected window, and selected screen out from under running lisp + code. Now we wait for a more convenient time by enqueuing an + event. + * xterm.c (XTread_socket): When handling FocusIn events and + EnterNotify events with the focus member set, enqueue a + selected_screen event instead of calling x_new_selected_screen. + * keyboard.c (trim_events): Function deleted; it is a bad idea to + delete events based on the current tracking state, since tracking + might be re-enabled later. + (readable_events): New function which searches the input queue for + readable events. + (tracking_off): Call readable_events to see if we should + redisplay. + (kbd_buffer_read_char): Toss events that we are not interested in. + This is a better place to do it than trim_events, since we know + that do_mouse_tracking will not change. Also, handle + screen_selected events. + (new_selected_screen): New variable, holding the screen which + should become selected the next time through command_loop_1. + (syms_of_keyboard): Initialize and staticpro new_selected_screen. + (command_loop_1): If there is a new screen to be selected, do so. + +1991-05-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xdisp.c (message): Removed the if at the top that did not + display messages if the current screen was a termcap screen and a + window system will be used. The change to startup.el on May 18, + 1991 replaces this. + + * ralloc.c (check_memory_limits): If the address returned by the + allocator is not representable in a Lisp_Object, call memory_full + instead of printing a very silly "warning" message. + +1991-05-19 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Don't overwrite the end of the buffer + with function keys. + + * keyboard.c (tracking_off): Update input_pending after reading + all the input. + * process.c: #include "screen.h". + (wait_reading_process_input): Check if any screens have been newly + mapped and need updating. + * xterm.c (XTread_socket): Don't SET_SCREEN_GARBAGED when the + screen is unmapped; do this when is mapped. + (dumprectangle): Don't dump any data for garbaged screens. + +1991-05-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * sysdep.c (init_sys_modes): Moved the clauses that set up + interrupt-driven input out of the "if running on a terminal" + clause, since these may need to be set up even when running on a + window system. + +1991-05-17 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * process.c (Fprocess_status): For network connections, return + Qopen and Qclosed instead of Qrun and Qexit, as documented. + + * lread.c (read1): Removed code that treated numbers starting with + a zero as octal. + +1991-05-16 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * eval.c (Ffuncall): Don't gcpro the arguments; the caller + protects them. + (Fapply): Gcpro funcall_args, if we use them. + + * xterm.c (notice_mouse_movement): #if 0'd this function out. + (XTread_socket): #if 0 the code that fakes motion events for + moving in and out of windows. Also, rearrange the MotionNotify + case to give character rows and columns to note_mouse_position, + not pixel x and y positions. Don't deal with scrollbars here. + * termhooks.h (struct input_event): Removed the mouse_movement + event kind. + * keyboard.c (movement_buf): A new buffer for mouse-movement events. + This is hairier than you might think; see the comments for this + and the comments for note_mouse_position and get_mouse_position + for an explanation of why this is hairy. + (movement_ptr): Where the event handler should store new mouse + locations. + (EVENT_QUEUES_EMPTY): New macro, to be used in the places that + used to compare kbd_fetch_ptr to kbd_store_ptr to see if there + were any events available; this macro tests the mouse movement + buffer too. + (Qmouse_movement): New symbol to head mouse movement events with. + (trim_events): Mouse movement events are no longer in kbd_buffer, + so don't try to trim them. + (tracking_off, kbd_buffer_read_char, get_input_pending): Use + EVENT_QUEUES_EMPTY. + (get_mouse_position): New function to retrieve a mouse position + from the buffer properly, no matter when the event-handling signal + occurs. + (kbd_buffer_read_char): If there is something in kbd_buffer, make + an event for that; if there is a mouse movement, make an event for + that; otherwise, the while loop lied. + (make_lispy_event): Added code to produce mouse movement events. + (init_keyboard): Clear the mouse movement buffer. + (Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen, + Qexited_window, Qexited_scrollbar): Removed extern declarations + for these, since they're no longer generated. + (syms_of_keyboard): Initialize and staticpro Qmouse_movement, + remove DEFVAR_LISP for Vignore_mouse_events. + +1991-05-14 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * lread.c (read1): Correctly parenthesize the shift when parsing + octal numbers, and signal an error if we see a non-octal digit. + +1991-05-13 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * keyboard.c (trim_events): New function, to remove uninteresting + events from the input queue. + (get_input_pending): Call trim_events before checking the queue, + so as not to advertise input we don't care about. + (Ftrack_mouse): A new function to enable mouse tracking for a + block of code. + (tracking_off): A function for unwind_protection; restore the + mouse tracking state to what it was outside of the track-mouse + (syms_of_keyboard): defsubr track-mouse. + (make_lispy_event): Find the window io which the click occurred + when processing mouse_click events, instead of trusting the window + tree in the signal-handling code. Include the buffer position in + the click event. + + * xterm.c (construct_mouse_click): Return the click's screen, not + its window, and don't bother updating Vmouse_window. Calculate + the row and column of text-area clicks using + pixel_to_glyph_translation, since we know that those data + structures are alive in signal handlers. + + * screen.c (window_from_coordinates, + Flocate_window_from_coordinates): Moved these to window.c, since I + need to be able to call them even if we don't have multi-screen + support. + (syms_of_screen): Removed defsubr for + Flocate_window_from_coordinates. + * window.c (window_from_coordinates, Flocate_window_from_coordinates): + Here they are. + (syms_of_window): Here is the defsubr. + + * keyboard.c (note_mouse_position): New function to enqueue + mouse movement events properly. + (current_movement_event): New variable, to support the above. See + its comment for more explanation. + + * termhooks.h (struct input_event): Change the .window member to + .screen, make it a struct screen *, and indicate that those events + which used to return windows now return screens. It is unsafe + for the event reader to traverse the window structure, because it + can be called by a signal handler. + +1991-05-10 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * keyboard.c (Vignore_mouse_events): Variable deleted. + (make_lispy_event): For mouse and scrollbar clicks, return the + position as a pair of numbers, not a list of two numbers. + +1991-05-09 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * keyboard.c (do_mouse_tracking): Define this variable, which + controls whether kbd_buffer_read_char will ignore button up and + mouse movement events. + * termhooks.h: Declare do_mouse_tracking here. + + * xterm.h (STANDARD_EVENT_SET): New constant, giving the event + mask all the windows use. + + * xfns.c (Vx_send_mouse_movement_events): Removed this variable; + XTmouse_tracking_enable and do_mouse_tracking do its job better. + (syms_of_xfns): Remove the DEFVAR_LISP for the above. + (x_window): Don't ask for any pointer motion events or button + release events by default; use the unmodified STANDARD_EVENT_MASK. + The user will ask for them explicitly if he or she wants them. + And don't ask for backing store. + + * xterm.c (XTmouse_tracking_enable): New function to + request/unrequest detailed mouse tracking information of the + server, and set the flag used by XTread_socket. + (x_term_init): Set mouse_tracking_enable_hook to + XTmouse_tracking_enable here. + (XTread_socket): Handle mouse movement events by calling + note_mouse_position. + + * xterm.c (XTread_socket): For MapNotify events, go ahead and set + the screen's visible flag, so Expose events will work. Clear the + iconified flag. + + * editfns.c (Finsert_char): Return immediately if n <= 0, not just + if n < 0, so that the `while' below does not become an infinite + loop. + + * term.c (mouse_tracking_enable_hook): Added this variable to + allow emacs to request that the window system start or stop + detailed mouse tracking. + * termhooks.h (mouse_tracking_enable_hook): Declare it here. + + * xfns.c: Declare the functions before initializing + x_screen_parm_table to point to them. + + * xterm.c (XTread_socket): Don't send Qmapped_screen, + Qunmapped_screen, Qexited_scrollbar, Qexited_window, + Qredraw_screen - these are not features that we want to support. + +1991-05-07 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * editfns.c (Finsert_char): Let strlen be the minimum of n and + 256, not the maximum, so we use an n-byte buffer when n < 256, and + a 256-byte buffer many times when n > 256. + +1991-05-05 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * keymap.c (Fkeymapp): Fixed docstring to give the right + definition of a keymap. + +1991-05-03 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * data.c (Fcompiled_function_p): New function. + +1991-05-03 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * xfns.c (struct x_screen_parm_table): New type for recording + information about screen parameters. + (x_screen_parms): New table describing the existing parameters. + (init_x_parm_symbols, x_set_screen_param): Use x_screen_parms + instead of a large switch statement. + (x_figure_window_size): Make the default case of the switch call + abort instead of signalling an error, since window_prompting's + value is internally generated. + +1991-05-01 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) + + * keymap.c (describe_map_tree): GCPRO the maps variable; + Fkey_description calls Fmapconcat, which eventually calls + Ffuncall, which can garbage-collect. + +1991-04-28 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * dispnew.c (buffer_posn_from_coords): Use the information in bufp + to reduce the distance compute_motion must scan, when possible. + +1991-04-27 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Qtop_level is initialized and + staticpro'd in syms_of_data too. Don't staticpro (or initialize) + it again here. + + * macros.c (syms_of_macros): Since executing-macro and + executing-kbd-macro are actually the same variable, use + DEFVAR_LISP_NOPRO for the second one so it doesn't get staticpro'd + twice. + + * process.c (syms_of_process): Don't staticpro or initialize Qexit + here, since syms_of_eval already does this and it's bad to + staticpro something twice. + (Qexit): Remove declaration here, so there will be a compilation + error if someone rearranges eval.c without fixing the Qexit stuff. + * eval.c (syms_of_eval): Add comment here to say that + syms_of_process cares about Qexit too. + + * lread.c (init_obarray): Don't staticpro Vobarray, since the + DEFVAR_LISP in syms_of_read takes care of that. + +1991-04-22 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * window.c (save_window_save): Always get the selected window's + value of point from its buffer, not just when it's also the + current buffer. + + * lisp.h (Qdisabled): Declare this here so that the keys_of_* + files can disable the commands they define. + * casefiddle.c (keys_of_casefiddle): Make upcase-region and + downcase-region disabled, by default. + +1991-04-16 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * bytecode.c (PUSH): Alliant can't be bothered to implement the + preincrement operator right, so use a comma. + + * print.c (syms_of_print): staticpro Qexternal_debugging_output. + + * editfns.c (clip_to_bounds): No longer static - used in window.c. + * window.c (unshow_buffer): Use clip_to_bounds to make sure we + change point to something legal. + +1991-04-14 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * sysdep.c: Changes in formatting and comments. + +1991-04-12 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * editfns.c (Fbuffer_substring): Don't call make_string, because + it may cause a compaction and move the buffer, and then copy the + wrong data. + + * keyboard.c (read_char): Only GC if we've actually done enough + consing since the last gc to make it worthwhile. + +1991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu) + + * keymap.c (access_keymap): Canonicalize the order of the + modifiers when you look up a symbol in a keymap, too. + (where-is-internal): If the keymap in which we found the + definition was reached by meta-prefix-char, replace it with the + metized character. + + * eval.c (Fcondition_case): Initialize the `handler_list' member + of the catchtag. + + * keyboard.c (read_char): reset recent_keys_index when it is + greater than OR EQUAL to the number of elements in recent_keys, + stupid. + + * keymap.c (access_keymap): When fetching the car of listy events, + no need to call Fcar_safe - extract the car directly. + * keyboard.c (read_key_sequence): Don't extract the car from listy + events here since 1) it strips information that we need from the + events, and 2) access_keymap will take care of that for us. + + * macros.c (Qexecute_kbd_macro): New variable, used by + Fexecute_command. + (syms_of_macros): Initialize and staticpro Qexecute_kbd_macro. + * lisp.h: Add extern declaration for Qexecute_kbd_macro. + * keyboard.c (Fcommand_execute): Add an entry to the command + history for keyboard macros too. + + * xterm.c (XTread_socket): If we get a MappingNotify event whose + request == MappingKeyboard, someone has changed the keyboard + mapping, and we should get the new mapping with + XRefreshKeyboardMapping. + +1991-04-10 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) + + * commands.h: Declare last_command_char to be a Lisp_Object, not + an integer (ack). + + * cmds.c (Fself_insert_command): If last_command_char is not an + integer, beep. + * minibuf.c (Fself_insert_and_exit): Same thing. + + * keyboard.c (format_modifiers): New function, factoring out code + from modify_event_symbol and reorder_modifiers. + (modify_event_symbol): Call format_modifiers instead of doing the + work inline. + (reorder_modifiers): New function to put the modifiers on a + modified symbol in the canonical order. + + * keymap.c (modify_event_symbol): Prepend the modifiers so they + appear in the canonical order: `M-C-S-U-'. + (store_in_keymap): If IDX is a symbol, put the modifiers in the + canonical order before storing. + +1991-04-09 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keymap.c (Flocal_set_key, Fglobal_set_key): When checking types + of arguments, allow KEYS to be a vector or string, not just a + string. + (keymap_table): New static function to replace duplicated code in + access_keymap and store_in_keymap. + (access_keymap): Use keymap_table. + (store_in_keymap): Use keymap_table, and put non-character + definitions in dense keymaps *after* the vector. + + * fileio.c (directory_file_name): Remove trailing slashes from + single-letter names like "a/" too. Let slen be the string length, + not one less than the string length. + + * keyboard.c (Fset_input_mode): Don't complain that QUIT isn't an + ASCII character if it is nil - it is an optional parameter. + + * keymap.c (Faccessible_keymaps): Use meta-characters in the key + sequences returned, carefully making sure that the sequences still + appear in order of increasing length. + +1991-04-04 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * vmsfns.c (vms_trnlog): Increased size of str to 256 elements. + (vms_symbol): Increased size of str to 1025 elements. + +1991-03-24 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * dispnew.c (pixel_to_glyph_translation): Moved this function to + xterm.c, since it is specific to X and only called by the X code. + * xterm.c (pixel_to_glyph_translation): Here it is. + +1991-03-22 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * s-usg5-4.h (DATA_SEG_BITS): Definition deleted. + * m-intel386.h (DATA_SEG_BITS): Define here if USG5_4. + +1991-03-22 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keymap.c (Faccessible_keymaps): Produce meta-characters in the + key sequences instead of [meta-prefix-char CHAR] sequences. + +1991-03-21 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keymap.c (Flookup_key): If KEY is a zero-length array, then + return KEYMAP; this is more algebraically satisfying. + + * dispnew.c (Fsit_for): If the time to sit is zero and there is no + input available, then return Qt, not Qnil. + + * keyboard.c (read_char): If a quit occurs and we return + quit_char, clear Vquit_flag, so we don't end up returning it again + and again... All lisp code does this manually if they call + read-char with quits inhibited, so it's the right thing to do. + +1991-03-20 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (read_char): If there is still no input available + after an auto-save, do a garbage-collection. + + * undo.c (truncate_undo_list): Always leave at least one undo + record in the undo list. And use sizeof (struct Lisp_Cons), etc. + instead of 8, etc. + + * keyboard.c (read_char): When deciding whether to wrap + recent_keys_index back to 0, compare it against + sizeof (recent_keys)/sizeof(recent_keys[0]), + not sizeof (recent_keys). + (quit_char): This can't be anything but an ASCII character, so it + shouldn't be a Lisp_Object. The declaration's comment says why. + (read_char, init_keyboard): Treat quit_char as an int now. + (Fset_input_mode): As above, and signal an error if QUIT is not an + ASCII character. + + * callint.c (Fprefix_numeric_value): Use XFASTINT to initialize + val, not raw. + + * fileio.c (Fmake_symbolic_link): Don't expand FILENAME; this + would make it impossible to make a link to a relative name. + +1991-03-19 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Removed the DEFVAR_BOOL for + meta-flag. This cannot be a lisp variable because we need to + change the terminal settings whenever this flag changes. Change + this through set-input-mode instead. + +1991-03-19 Richard Stallman (rms at mole.gnu.ai.mit.edu) + + * keyboard.c (read_avail_input): Raise SIGHUP if no input on AIX. + +1991-03-19 Jim Blandy (jimb at churchy.ai.mit.edu) + + * keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char, + read_key_sequence, Fexecute_extended_command, Fset_input_mode, + init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp) + instead of XSETINT (var, exp) in those cases where var is not + known to already be a Lisp_Int. + * search.c (skip_chars): Same. + * xterm.c (construct_mouse_click, XTread_socket): Same. + * callint.c (Fprefix_numeric_value): Make sure to return a + Lisp_Int even when RAW is a cons whose car is not a Lisp_Int. + * process.c (sigchld_handler): When searching for a process whose + pid is -1, make sure that the pid is an int first, since network + streams are in Vprocess_alist too. + + * keyboard.c (syms_of_keyboard): Added DEFVAR_BOOL for + meta-flag. Emacs 18 had this, and I see no entry in the ChangeLog + saying that it was purposefully removed. + +1991-03-17 Jim Blandy (jimb at geech.ai.mit.edu) + + * keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map, + append_key): Minor typos and brainos corrected. + + * keyboard.c (read_char): Removed code to find the vector in a + (kbd-macro . VECTOR) - style macro, since the macro is represented + by the vector itself. + (read_char_menu_prompt): Changed to correctly recognize the new + dense keymap structures. + (read_key_sequence): Changed code that checks for keymapness to + use get_keymap_1 instead of doing the indirection and keymapness + testing itself. + (Fcommand_execute): A keyboard macro is now a string or a vector. + (Fexecute_extended_command): When expanding this_command_keys, + remember that it is now an array of Lisp_Objects, not chars. + + * doc.c (Fdocumentation): Rearranged into a switch statement, and + made vectors macros, not keymaps. + + * eval.c (Fcommandp): Removed code to recognize + (kbd-macro . VECTOR) as a command, and added code to recognize + vectors as commands. + * macros.c (Qkbd_macro): Variable deleted. + (syms_of_macros): Initialization of Qkbd_macro removed. + +1991-03-14 Jim Blandy (jimb at pogo.ai.mit.edu) + + * minibuf.c (keys_of_minibuf): Changed all calls to + initial_define_lisp_key to calls to initial_define_key. + + * keymap.c (describe_map): Adjusted to handle the new style of + keymap. + +1991-03-14 Richard Stallman (rms at mole.ai.mit.edu) + + * fileio.c (Fwrite_region): On VMS, don't try rewriting old version. + +1991-03-14 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keymap.c (Faccessible_keymaps): Adjusted to handle the new style + of keymap. + (Fwhere_is_internal): Handle the new-style of keymaps. + Additionally, only check to see if a match is shadowed by a + binding in the local keymap when LOCAL_KEYMAP is non-nil, instead + of comparing elt against DEFINITION yet again. + (describe_map_tree): Handle key sequences that are vectors, as + well as those that are strings. + +1991-03-13 Jim Blandy (jimb at churchy.ai.mit.edu) + + * commands.h, keymap.c (meta_map, control_x_map): Make these + Lisp_Objects, not Lisp_Vectors. + keymap.c (syms_of_keymap): Same. + + * keymap.c (Fuse_global_map): There is no longer any reason to + insist that KEYMAP must be a dense keymap; delete the code that + does so. + +1991-03-12 Jim Blandy (jimb at wookumz.ai.mit.edu) + + * commands.h, lisp.h: Changed global_map and current_global_map to + be Lisp_Objects, not Lisp_Vectors. + keyboard.c (read_key_sequence): Same. + keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key, + Fuse_global_map, Fwhere_is_internal, describe_buffer_bindings, + syms_of_keymap): Same. + + * keymap.c (Fdefine_key): Braino: increment idx and clear metized + flag even when the element of the key sequence isn't a character. + (Flookup_key): Fix same braino. + +1991-03-10 Jim Blandy (jimb at wookumz.ai.mit.edu) + + * keymap.c (get_keyelt): Use access_keymap to resolve indirect + entries, instead of duplicating its code. + (Fcopy_keymap): Handle the new keymap structure. + +1991-03-09 Richard Stallman (rms at mole.ai.mit.edu) + + * eval.c (struct catchtag): New field handlerlist. + (internal_catch, internal_condition_case): Set that field. + (unbind_catch): Use it. + +1991-03-08 Richard Stallman (rms at mole.ai.mit.edu) + + * m-intel386.h (signal): Maybe define if USG. + + * keyboard.c (echo_char): Don't have space at end of echobuf. + +1991-03-07 Jim Blandy (jimb at albert.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Initialize mouse_syms, instead of + doing func_key_syms twice. Don't deal with scrollbar_syms, since + it doesn't exist. + +1991-03-06 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keymap.c (access_keymap, store_in_keymap): Changed to handle the + new style of keymaps. + + * fns.c (Fassq, Fcopy_alist): Changed docstring to promise to + ignore elements of LIST that are not conses. See access_keymap + and copy_keymap for a cheap excuse. + +1991-03-06 Richard Stallman (rms at mole.ai.mit.edu) + + * s-vms.h (DATA_START): Remove `+ 512'. + +1991-03-05 Jim Blandy (jimb at spiff.ai.mit.edu) + + * keymap.c (Fmake_keymap): Rewritten to construct the + new dense keymap structure: (keymap VECTOR . ALIST). Docstring + adjusted accordingly. This means that the keyboard macro + stupidity (see Feb 27, keyboard.c) is no longer needed. + +1991-03-03 Richard Stallman (rms at mole.ai.mit.edu) + + * sysdep.c (MEMORY_IN_STRING_H): New compilation flag. + * s-isc2-2.h: New file. + +1991-02-27 Jim Blandy (jimb at churchy.ai.mit.edu) + + * macros.c (Qkbd_macro): New variable, to hold the symbol + `kbd-macro', which we use to tag vector-style keyboard macros. + (syms_of_macros): Initialize and staticpro Qkbd_macro. + + * eval.c (Fcommandp): Recognize the new keyboard macros. + + * keyboard.c (Fcommand_execute): A keyboard macro is now a string, + or a cons whose car is the symbol `kbd-macro' and whose + cdr is a vector of events; previously, macros were strings or + vectors, but that makes it difficult to tell the difference + between macros and dense keymaps. + (read_char): Handle the new macros correctly, and re-allocate + this_command_keys correctly. + +1991-02-26 Richard Stallman (rms at mole.ai.mit.edu) + + * s-vms.h (calloc): Define like malloc, etc. + +1991-02-26 Jim Blandy (jimb at spiff.ai.mit.edu) + + * xterm.c (XTread_socket): Move enter_timestamp outside of the + function; static variables inside functions don't always work in + Emacs. + + * editfns.c (in_accessible_range): Deleted - insufficently + general. + (clip_to_bounds): New function, much like in_accessible_range, + except that the upper and lower bounds are arguments. + (goto_char, save_restriction_restore): Rewritten to use + clip_to_bounds instead of in_accessible_range. + +1991-02-25 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keymap.c (initial_define_lisp_key): Turn KEY into a Lisp_Int + before passing it to store_in_keymap. + + * buffer.c (reset_buffer_local_variables): Don't try to initialize + the buffer's mouse_map and function_key_map fields, since they + don't exist anymore. + + * macro.c (kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): These + are now all pointers to Lisp_Objects instead of chars. + (Fend_kbd_macro): Use make_sequence. + (store_kbd_macro_char): Argument c is now a Lisp_Object. Change + call to xrealloc to ask for Lisp_Objects instead of chars. Set + kbd_macro_end to the same place in the new buffer as it was in the + old one, not to the end of the buffer. + (Fexecute_kbd_macro): Allow MACRO to be a string or a vector. + (syms_of_macros): Allocate Lisp_Objects instead of chars for + kbd_macro_buffer. + + * alloc.c (make_sequence): New function, useful to keyboard.c and + macro.c. + * keyboard.c (Fread_key_sequence): Use make_sequence. + (Fthis_command_keys): Use make_sequence. + +1991-02-24 Jim Blandy (jimb at churchy.ai.mit.edu) + + * keymap.c (Fwhere_is): If the command can't be found, the message + is now "foobie is not on any key.", instead of "... any keys.". + + * keyboard.c (input_poll_signal): Pass 0 to read_avail_input, + instead of `&junk'. Removed variable `junk'. + (command_loop_1): Updated to handle the unified function key/mouse + event/keystroke arrangement. + (Finput_pending_p): Removed vestiges of code to handle + unread_input_char value of -1, since this doesn't happen anymore. + (read_char): Adapted to handle lispy events. + (read_char_menu_prompt): Allocate `menu' buffer using alloca, + instead of a variable-sized array, which is gcc-specific. + (Frecent_keys): Return the most recent "keystrokes" as a vector, + to accomodate lispy events. + (Fset_input_mode): Accomodate non-characters as quit keys. If + this is a bad thing, init_sys_modes will tell us. + (init_keyboard): this_command_keys is now an array of + Lisp_Objects; adjust the amount of storage we request to hold it. + Remember that quit_char can be any keystroke. + (syms_of_keyboard): last_command_char, last_input_char, help_char, + menu_prompt_more_char and meta_prefix_char are now DEFVAR_LISPs + instead of DEFVAR_INTs. + +1991-02-24 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (wait_reading_process_input): Use NETCONN_P. + +1991-02-23 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keyboard.c: (recent_keys, this_command_keys, + menu_prompt_more_char, help_char, last_command_char, quit_char, + last_input_char): Changed to Lisp_Objects, so we can use function + keys for them. + (Vglobal_function_map): Variable deleted. + (echo_char): Echo function keys too. The argument C is now a + Lisp_Object instead of a char. + (Fread_key_sequence): Removed sludge to handle window events + specially, and added sludge to handle sequences with + non-characters in them. + (classify_object): Elided, since this should go away soon. + (read_key_sequence): Adapted to look up symbols in keymaps, + just like characters. + +1991-02-23 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (send_process): Handle EAGAIN like EWOULDBLOCK. + +1991-02-22 Jim Blandy (jimb at pogo.ai.mit.edu) + + * doc.c (substitute_command_keys): Call describe_map_tree with + only three arguments, since the CHARTAB arg has been disposed of. + + * keymap.c (Fcurrent_global_map, Fuse_local_mouse_map): Functions + deleted, since the mouse maps are no longer separate from the key + maps. + (append_key): New function, which handles tacking a single + keystroke on the end of a key sequence, promoting strings to + vectors when needed. + (Faccessible_keymaps): Adjusted to return vectors for key + sequences, when necessary. + (Fkey_description): Removed stuff to handle mouse buttons and + other things specially, since this work will go into + Fsingle_key_description. + (Fsingle_key_description): SIMPLIFIED to handle everything + correctly! Jeepers! + (Fwhere_is_internal): Scan the assoc-list at the end of dense + keymaps, and construct strings or vectors. + (where_is_string, describe_buffer_bindings): Simplified by + deleting code to handle mouse button bindings specially. + (describe_map_tree): Removed CHARTAB argument; this was + a kludge to print out mouse events nicely, and is no longer + necessary. Nobody was using it anyway. + (describe_map): Removed ugly hack to handle mouse buttons + specially, added code to describe alists on dense keymaps, and + removed CHARTAB argument. + (describe_alist): Made to handle bindings of symbols as well as + characters. Removed CHARTAB argument. + (describe_vector): Removed CHARTAB argument, allocated KLUDGE + outside of loop and GCPRO'd it. + (syms_of_keymap): Remove last vestiges of Vglobal_mouse_map, + Vmouse_button_names, Suse_local_mouse_map, + Scurrent_local_mouse_map. + + * buffer.h (struct buffer): Removed mouse_map and function_key_map + members, since they are now handled by the keymap element. + + * keyboard.c (syms_of_keyboard): Change initialization of + meta_prefix_char, since it's now a Lisp_Object. + + * keymap.c (Fkeymapp): Rewrote this to use get_keymap_1; now it's + a one-liner instead of a 13-liner. + (DENSE_TABLE_SIZE): Created new constant for the # of lookup-style + entries in a dense keymap, and the index of the map's assoc list. + Used it where appropriate. + (Fcopy_keymap): Notice that 129'th element in dense keymaps. + (Fdefine_key, Flookup_key): Reworked to deal with vectors of + symbols and characters as well as strings for key sequences. + (meta_prefix_char): Changed from an int to a Lisp_Object. + +1991-02-21 Richard Stallman (rms at mole.ai.mit.edu) + + * fileio.c (report_file_error): Don't downcase "I/O". + +1991-02-20 Jim Blandy (jimb at geech.ai.mit.edu) + + * keymap.c (access_keymap): Allow IDX to be any sort of bindable + event, and deal with the extended keymaps. IDX is now a + Lisp_Object instead of an int, obviously. + (store_in_keymap): Allow IDX to be any sort of bindable event, and + deal with the extended keymaps. IDX is now a Lisp_Object. + + * xterm.c (construct_mouse_click): Add code to set the up_modifier + bit for ButtonRelease events. + + * keyboard.c (kbd_buffer_store_event): Use XFASTINT and XSETINT to + access event->code, since it's a Lisp_Object. + (kbd_buffer_read_char): Golly, perhaps we should increment + kbd_fetch_ptr to remove the event we just read from the queue. + (modify_event_symbol): Stupid fixes: correctly look up unmodified + symbols when cache entry has a modified symbol vector. And, when + first adding the modified symbol vector, copy the old slot value + into it correctly. + +1991-02-19 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keyboard.c (command_loop_1): #if 0 the block of code which + handles mouse events and other lispy events specially, since I + hope it will go away soon. + + * dispnew.c (Fsleep_for_millisecs): Pass all four arguments to + wait_reading_process_input, instead of just the first two. + + * process.c (wait_reading_process_input): Remove support for + only waiting for mouse input, since that has been superceded. + This removes X dependencies from process.c, and eliminates some + references to code that should only exist when using X10. + + * keyboard.c (mouse_moved_symbol, redraw_screen_symbol, + mapped_screen_symbol, unmapped_screen_symbol, + exited_window_symbol, exited_scrollbar_symbol): Renamed to + Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen, + Qexited_window, Qexited_scrollbar, just as done in xterm.c. + (classify_object): Removed code to look up a function key in the + global and local function key keymaps, since this will be done + more generally. + (Fexecute_mouse_event): Elided this function with a #if 0; I + think it will go away once the more general keymap stuff is + implemented, but I'm not sure. + (syms_of_keyboard): Removed defsubr for Sexecute_mouse_event. + (where_is_string, describe_buffer_bindings, syms_of_keymap): + Elided code to handle mouse button bindings specially; I hope this + will go away. + + * lread.c (syms_of_lread): Change defsubr for eval-buffer to + defsubr for eval-current-buffer. + + * keymap.c (syms_of_keymap): defvar for Vglobal_function_map + removed, since that variable has disappeared. + + * xterm.c (x_func_key_to_sym): Removed entirely, since we no + longer convert X keycodes to symbols in this section of code. + (x_convert_modifiers): New function to turn the X modifier bits + into struct input_event modifier bits. + (encode_mouse_button): removed, since this work isn't done here + anymore. + (Vx_send_mouse_movement_events): Add an extern declaration for + this. + + * termhooks.h: Only define struct input_event if the module + has previously #included lisp.h; this avoids forcing simple modules + like cm.c to #include lisp.h. + + * term.c: #include "lisp.h" before #including "termhooks.h", since + the latter uses Lisp_Objects now. + + * xfns.c (syms_of_xfns): Delete the defsubr for Sx_window_id, + since Fx_window_id is gone. + + * xterm.c (construct_mouse_event): Construct a struct input_event + instead of a lispy event. + + * screen.c (coordinates_in_window): Added explanatory comment. + (window_from_coordinates): Change PART, whose returned values are + dependent on X-windows, to be called MODELINE_P, with appropriate + new return values. + * xterm.c (notice_mouse_movement): Handle the X-windows dependent + stuff that used to be in window_from_coordinates here instead. + (XTread_socket): Modified to produce struct input_events + instead of lispy events. + +1991-02-18 Jim Blandy (jimb at pogo.ai.mit.edu) + + * termhooks.h: Added up_modifier to the enum for modifier bits; + this bit will be applied to mouse events. + (struct input_event): Changed specification of non_ascii_keystroke + events to send the function key number instead of a symbol. + * keyboard.c (modify_event_symbol): Re-arranged to work well + with function key/mouse button numbers instead of symbols. + And if (MODIFIERS & up_modifer), prepend "U-" to the name of the + symbol being constructed. + (make_lispy_event): Use the new modify_event_symbol. + + * xterm.c (notice_mouse_movement): Adjusted this function to + work with a struct input_event instead of producing an + s-expression. + + * xterm.c, xfns.c: Made all references to x_mouse_queue, + x_expose_queue, and the functions which manipulate them + conditional on having X10, since only X10 code ever places + anything in these queues. + +1991-02-15 Jim Blandy (jimb at pogo.ai.mit.edu) + + * termhooks.h: Define struct input_event, to represent input + events while they sit in the keyboard input buffer. Using lisp + objects to represent input events is a bad idea because the + routines which enqueue them can be called from signal handlers, + and therefore should not cons. + + * keyboard.c: (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Change + these to be of type `struct input_event *'. + (kbd_buffer_store_event): Manipulate struct input_events instead + of lisp objects. + (make_lispy_event): New function, to construct a lisp-style event + corresponding to a particular struct input_event. + (modify_event_symbol): New function, to add modifier prefixes to a + symbol, and look the new symbols up quickly if they've already + been created. + (kbd_buffer_read_char): Call make_lispy_event to turn the thing + in the keyboard buffer into the form that read_char is expecting. + (Qwith_modifier_keys): Define this new symbol variable. + (syms_of_keyboard): Initialize and protect Qwith_modifier_keys. + + * xterm.c (init_input_symbols): Rearranged the code that produces + the func_key_syms array. + (x_func_key_to_sym): Simplified, since more will be handled in + make_lispy_event. + (XTread_socket): When handling KeyPress events, don't pass the + state of the modifier keys to x_func_key_to_sym, since it doesn't + care any more. + + * sysdep.c (kbd_input_ast, end_kbd_input, read_input_waiting): + Rename kbd_buffer_store_char to kbd_buffer_store_event. + + * keyboard.c (stuff_buffered_input): Since the keyboard buffer + holds lisp objects, only stuff entries that are Lisp_Ints, and + XINT them before passing them to stuff_char. + (kbd_buffer_store_char): Make this not a static function, since + sysdep.c calls it. And rename it kbd_buffer_store_event. + + * keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Made these + variables static, to document the fact that they're only used + within keyboard.c. + +1991-02-13 Jim Blandy (jimb at pogo.ai.mit.edu) + + * xterm.c (init_input_symbols): remove the `xk-' prefix from all + the function key symbols, since they're going to be used for + function keys from all sorts of terminals, not just when running + under X. + + * lread.c (read_escape): Removed support for mouse button escapes + (\S-, \U-, \C- applied to digits), because they're being replaced + by something more rational. + +1991-02-09 Richard Stallman (rms at mole.ai.mit.edu) + + * buffer.c: Doc fix. + + * sysdep.c (dup2): Rewrite of non-F_DUPFD case. + +1991-02-08 Richard Stallman (rms at mole.ai.mit.edu) + + * m-intel386.h (LOAD_AVE_CVT): Add extra parens. + * s-usg5-4.h (LIBX11_SYSTEM): #undef it. + +1991-02-07 Richard Stallman (rms at mole.ai.mit.edu) + + * s-esix.h: New version from kayvan. + Adds HAVE_X11 conditional, NEED_PTEM_H, USG_SYS_TIME, USE_UTIME, + LIBS_DEBUG; removes #undef sigsetmask, LIBS_SYSTEM, ESIX, + MISSING_UTIMES. + +1991-02-06 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (Faccept_process_output): Second arg gives timeout. + +1991-02-06 Jim Blandy (jimb at geech.ai.mit.edu) + + * lread.c (read_escape): Added support for \S- and \U- escapes (for + binding mouse buttons), and noted that \C- must work on digits. + + * xterm.c (init_input_symbols): Was mistakenly renamed + init_inputs; named back. + + * xterm.c (construct_mouse_click, encode_mouse_button): Rewritten + to build new-style mouse events. + + * dispnew.c (update_line): Write a zero into obody[olen] to make + sure the lines in current_screen->glyphs remain terminated. + * xdisp.c (display_string, display_text_line): Don't write off + the end of the line and destroy the zero terminator when expanding + a tab. + + * fns.c (Fy_or_n_p): Accept C-] (usually abort-recursive-edit) as + well as C-g to quit. + +1991-02-05 Jim Blandy (jimb at geech.ai.mit.edu) + + * sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h, + s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h, + s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h: + Globally replaced INTERRUPTABLE with INTERRUPTIBLE. + + * xterm.c (construct_mouse_event): Renamed to + construct_mouse_click, since there are kinds of mouse events + besides clicks (movement, for example). + (XTread_socket): rename calls here. + + * xterm.c (mapped_screen_symbol, unmapped_screen_symbol, + exited_scrollbar_symbol, exited_window_symbol, + redraw_screen_symbol, mouse_moved_symbol): Renamed to + Qmapped_screen, Qunmapped_screen, Qexited_scrollbar, + Qexited_window, Qredraw_screen, Qmouse_moved, to agree with naming + conventions elsewhere in Emacs. + + * xfns.c (text_part_sym, modeline_part_sym, + vertical_scrollbar_sym, vertical_slider_sym, vertical_thumbup_sym, + vertical_thumbdown_sym, horizontal_scrollbar_sym, + horizontal_slider_sym, horizontal_thumbleft_sym, + horizontal_thumbright_sym): Renamed to Qtext_part, Qmodeline_part, + Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part, + Qhscrollbar_part, Qhslider_part, Qhthumbleft_part, + Qhthumbright_part, to agree with the naming conventions elsewhere + in Emacs. + + * xterm.c (XTread_socket): While handling EnterNotify events, + clear Vmouse_event here. + (notice_mouse_movement): Don't clear it here. + +1991-02-04 Richard Stallman (rms at mole.ai.mit.edu) + + * s-sunos4-0.h: Renamed from s-sunos4.h. + (read, write, open, close): Macro defs moved to s-sunos4-1.h. + (INTERRUPTABLE_*): Likewise. + * s-sunos4-1.h: New file. + +1991-02-04 Jim Blandy (jimb at churchy.ai.mit.edu) + + * keymap.c (Vglobal_mouse_map, Vglobal_function_map): Variables + removed in preparation for conversion to unified keymap format. + (Fmake_keymap): Make vector keymaps with 129 entries; the last + will be an assoc-list for looking up symbols. Update docstring to + describe 129'th element. + (Fmake_sparse_keymap): Update docstring to say that you can bind + symbols in these maps too. + (Fkeymapp): Recognize 129-element vectors as keymaps, not + 128-element vectors. + (get_keymap_1): wrong_type_argument can no longer return a new + value supplied by the debugger; remove loop to support this. + + * xterm.c (XTread_socket): When handling EnterNotify events, + enqueue fake mouse events iff Vx_send_mouse_movement_events != + Qnil. + + * xfns.c (Fx_window_id): Function removed; Fscreen_parameters + already provides this information. + + * xterm.c (x_term_init): Cleaned up the code to get the host name, + and removed fixed limit on host name length. + + * window.c (Fscroll_other_window): Don't explicitly save + current_buffer and point; the save_excursion will take care of + that anyway. + + * dispnew.c (safe_bcopy): Rewritten to handle overlapping regions + with multiple calls to bcopy instead of a stupid copy loop. + + * xterm.c, xfns.c (Vscreen_part, Vx_send_movement_events): These + variables renamed to Vmouse_screen_part, + Vx_send_mouse_movement_events. + + * lread.c (Feval_buffer): function deleted. + (Feval_current_buffer): Removed "#if 0 ... #endif" around this + function. + +1991-02-03 Richard Stallman (rms at mole.ai.mit.edu) + + * Makefile, ymakefile (SHELL): Force use of sh. + + * s-usg5-4.h (USG5_4): Define it. + (LOAD_AVE_*): Don't define them. + * m-intel386.h (LOAD_AVE_*): Define, if USG5_4. + + * buffer.c (Fbuffer_local_variables): Omit slots with no names. + +1991-02-03 Jim Blandy (jimb at geech.ai.mit.edu) + + * xterm.c (x_term_init, init_input_symbols): Moved these to the + bottom of the file, 1) to be consistent with the other files, and + 2) so it can initialize some variables I want. + +1991-02-02 Jim Blandy (jimb at churchy.ai.mit.edu) + + * xterm.h: Added external declaration for x_focus_screen. + + * search.h: File deleted. + * buffer.h: declare searchbuf here instead. + + * screen.c (Ffocus_screen, Funfocus_screen): Moved these functions + to xfns.c, since they're x-specific. + (syms_of_screen): Removed defsubr calls for above. + * xfns.c (Ffocus_screen, Funfocus_screen): Here they are. + (syms_of_xfns): The defsubrs are here now. + + * buffer.h (PT): Make this expand to an expression which is not an + l-value, to prevent people from assigning to it. If everyplace + uses SET_PT, it will be easier to merge in the interval code. + (point): Similar changes here. + (SET_PT): This can no longer be written in terms of PT, so write + out current_buffer->text.pt. + + * xterm.c (x_new_font): Rewritten to remove arbitrary limit on + size of x_font_table. + (x_font_table_size): Created new variable. + (n_available_fonts, font_names, font_info, MAX_FONTS): Deleted + these variables/macros. + + * dispnew.c (scroll_screen_lines): Instead of disabling the lines + vacated by the scroll (i.e. zeroing enable), mark them as enabled + but empty. + + * callint.c (Fcall_interactively): Move UNGCPRO down, so that + stuff is protected while we build the command history entry and do + the function call. + + * xterm.c (XTupdate_end): Turn cursor on, even if we don't + currently have the focus. + + * minibuf.c (temp_echo_area_glyphs): Clear echo_area_glyphs and + previous_echo_glyphs, so the message we're displaying will + supercede any existing message. + + * keyboard.c: Removed external declaration of echo_area_glyphs, + since it's declared in window.h. + +1991-01-31 Jim Blandy (jimb at pogo.ai.mit.edu) + + * xterm.c (XRINGBELL): Pass 0 as the second argument to XBell; + respect the user's preferences. + +1991-01-30 Jim Blandy (jimb at pogo.ai.mit.edu) + + * xterm.c (x_draw_single_glyph): New function, created to simplify + cursor drawing/undrawing. + (x_display_box_cursor): Rewritten to properly handle the box + cursor in its filled and hollow forms. + * xterm.h (enum text_cursor_kinds): Added enum for the different + kinds of cursors which might be displayed in a window. + (struct x_display): added member `text_cursor_kind' which says + which kind of cursor is currently being displayed in the window, so + we can arrange to redraw it effectively. + + * keyboard.c (command_loop_1): When handling the forward_char + command, don't let point move to the location after the end of the + buffer. + + * keyboard.c (poll_suppress_count): Define this even if + POLL_FOR_INPUT is not defined, because this makes lots of #ifdef + clauses unnecessary, and doesn't hurt, because + {start,stop}_polling become nops. + + * config.h, config.h-dist: Make these #include "system.h" and + "machine.h", and let the config script link these appropriately, + instead of using the machine-specific names and expecting the user + to edit this file. + +1991-01-29 Jim Blandy (jimb at churchy.ai.mit.edu) + + * window.c (Fdelete_window): sib is a Lisp_Object; treat it as + such. + + * xterm.c (screen_unhighlight): When the focus leaves a screen, + draw the cursor as a box instead of making it disappear entirely. + +1991-01-29 Richard Stallman (rms at mole.ai.mit.edu) + + * unexec.c (make_hdr) [TPIX]: Set f_hdr.f_nscns and f_thdr.f_scnptr. + + * sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCGWINSZ. + + * process.c (wait_reading_process_input): Don't ignore + a zero-length read on a network connection. Do close it. + + * sysdep.c (hft_init, hft_reset): Pass &junk as arg to HFQERROR. + Do nothing if not HFT. + +1991-01-29 Jim Blandy (jimb at albert.ai.mit.edu) + + * xfns.h: Created, to declare things defined in xfns.c. + Declare Vx_send_movement_events. + * xfns.c: #include "xfns.h". + (Vx_send_movement_events): Define this variable. + (syms_of_xfns): DEFVAR_LISP it. + * xterm.c: #include "xfns.h". + (XTread_socket): Place a mouse-moved event in the buffer iff + Vx_send_movement_events says to. + +1991-01-28 Jim Blandy (jimb at geech.ai.mit.edu) + + * ymakefile: noted that callint.o depends on mocklisp.h, + and dired.o on search.h. + + * environ.h: Deleted - its creation in the first place was misguided. + callproc.h: Removed #include "environ.h", and added declarations + for environ.h + + * buffer.c (syms_of_buffer): Add more detailed documentation to + buffer-undo-list. + + * lisp.h (poll_suppress_count): Add external declaration for this here. + +1991-01-28 Richard Stallman (rms at mole.ai.mit.edu) + + * m-sun3-68881.h, m-sun3-fpa.h, m-sun3-soft.h: New files. + +1991-01-27 Jim Blandy (jimb at geech.ai.mit.edu) + + * lisp.h (struct handler): add poll_suppress_count member, so + we can restore poll_suppress_count when we handle an error. + * eval.c (struct catchtag): Add it here too, for throws. + (internal_catch, Fcondition_case, internal_condition_case): Record + the value of poll_suppress_count here in the handler and catch tag. + (Fthrow, Fsignal): Restore it here. + +1991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu) + + * xterm.c (x_display_box_cursor): If we're undrawing the cursor by + redrawing the character underneath it, draw according to that + line's highlight, instead of assuming it's in the normal GC. + +1991-01-25 Richard Stallmao (rms at mole.ai.mit.edu) + + * buffer.h (PTR_CHAR_POS): Value was too small by 1. + +1991-01-16 Richard Stallman (rms at mole.ai.mit.edu) + + * doprnt.c (doprnt): Check for overflow in fmtcpy. + +1991-01-16 Jim Blandy (jimb at churchy.ai.mit.edu) + + * window.c (Fdelete_window): If the deletee gives its space to its + next sibling, that sibling needs to have its top/left side pulled + back to where the deletee's is. + +1991-01-15 Jim Blandy (jimb at geech.ai.mit.edu) + + * doc.c (Fsnarf_documentation): handle attaching docstrings to + bytecode objects too. + + * syntax.h (syntax_spec_code): make external declaration for this + unsigned char to match the definition in syntax.c. + + * indent.c (compute_motion): added comments describing how it + can be used. + +1991-01-15 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (create_process): Use SETUP_SLAVE_PTY if defined. + + * s-usg5-4.h (HAVE_PTYS, HAVE_SETSID): Defined. + (HAVE_WAIT_HEADER, WAITTYPE, wait3, WRETCODE): New macros. + (TIOCSIGSEND): Alias for TIOCSIGNAL. + (FIRST_PTY_LETTER): Overridden. + (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, SETUP_SLAVE_PTY): New macros. + + * m-ibmrs6000.h (CANNOT_DUMP): Undefine it. + (UNEXEC): Define it. + (PURE_SEG_BITS, SHMKEY): Define only if CANNOT_DUMP. + (LINKER): Override it. Then add -bnodelcsect. + + * xfns.c (Fx_get_default): Try reversing XGetDefault args if it fails. + +1991-01-13 Richard Stallman (rms at mole.ai.mit.edu) + + * s-usg5-4.h (LOAD_AVE_CVT): Cast value to int. + + * keyboard.c (read_avail_input): Signal SIGHUP if FIONREAD fails. + + * ymakefile: Put tokens after #endif into comment. + + * filelock.c (lock_file_owner_name): Declare argument type. + + * syntax.c (syntax_spec_code): Type now unsigned char. + + * process.c (wait_reading_process_input): + Call status_notify even when not doing redisplay. + + * emacs.c (Fkill_emacs): Turn off SIGIO before exiting. + + * s-usg5-3.h (USG5_3): Define it. + * m-ibmps2-aix.h [USG5_3]: Define TEXT_START as 0. + Don't define DATA_START or DATA_END or TEXT_END or DATA_SEG_BITS. + Override various other symbols at end of file. + +1991-01-12 Jim Blandy (jimb at churchy.ai.mit.edu) + + * window.c (window-configuration-p): Closing paren needed. Added. + + * keyboard.c (command_loop_1): When displaying a message over an + active minibuffer, call Fsit_for with three arguments, not two. + +1991-01-12 Richard Stallman (rms at mole.ai.mit.edu) + + * s-irix3-3.h (HAVE_SYSVIPC): Defined. + +1991-01-12 Jim Blandy (jimb at pogo.ai.mit.edu) + + * dispnew.c (buffer_posn_from_coords): compute_motion starting + from bufp[y] instead of counting from the top of the window. + +1991-01-11 Richard Mlynarik (mly at pizza.ai.mit.edu) + + * window.c (window-configuration-p): Needed. Added. + +1991-01-11 Jim Blandy (jimb at churchy.ai.mit.edu) + + * dispnew.c (buffer_posn_from_coords): Remember to deduce space + for the line continuation markers and the window separators from + the window width. + +1991-01-11 Richard Stallman (rms at mole.ai.mit.edu) + + * m-tower32v3.h (VALBITS, GCTYPEBITS): Use 26 bits for pointer. + +1991-01-10 Richard Stallman (rms at mole.ai.mit.edu) + + * fileio.c (Fcopy_file): Always close descriptors. + + * s-sunos4.h: read, write, open and close are interruptable. + +1991-01-09 Jim Blandy (jimb at churchy.ai.mit.edu) + + * xterm.c, dispnew.c (pixel_to_char_translation): Renamed to + pixel_to_glyph_translation, and rewritten. Just get coordinates, + don't return anything. + (buffer_posn_from_coords): New function - given a window and + co-ordinates on the screen, find the buffer position at those + co-ordinates. + +1991-01-08 Jim Blandy (jimb at geech.ai.mit.edu) + + * alloc.c (Fmake_byte_code): Flesh out docstring. + + * window.c (window_loop): pick the first window correctly, even + when screen == 0. + + * dispnew.c (scroll_screen_lines): Don't forget to call + update_begin at the top of the down-scrolling section. + And rotate by amount, not -amount, in the up-scrolling section. + + * xterm.h (MAX_FONTS, x_font_table, n_fonts): Removed external + declarations for these variables, since they're declared static in + xterm.c and not used elsewhere. + * xterm.c (MAX_FONTS): Moved definition of this to here from + xterm.h. + + * xterm.c (x_new_font): If you can't find the requested font, + return a code which indicates this, instead of calling abort. + +1991-01-07 Jim Blandy (jimb at churchy.ai.mit.edu) + + * xdisp.c (redisplay, display_mode_line): To test + Vglobal_minibuffer_screen for validity, you must check that its + type is Lisp_Screen; comparing it to Qnil isn't good enough. + + * screen.c (syms_of_screen): Initialize Vglobal_minibuffer_screen + to Qnil; otherwise, it inhibits decent redisplay (is that another + bug?) + + * dispnew.c (init_display): Make sure that the standard input is a + terminal here. + * emacs.c (main): Not here, since we don't know yet if we want to + use a window system of some sort. + + * xfns.c (x_make_gc): Delete code to support default_face and + highlight_face, since they're part of the interval code, and + shouldn't be installed yet. + + * dispnew.c (init_display): calculate_costs expects a screen + parameter; pass selected_screen, instead of nothing. + + * search.c (Freplace_match): Protect STRING. + * process.c (run_filter): New function. + (read_process_output, exec_sentinel): Use run_filter to call the + process's filter function. + (status_notify): GCPro MSG. + * process.c (Fopen_network_stream): Protect various args. + * print.c (Fprin1_to_string, Fprint): Protect OBJ. + * lread.c (Feval_region): Check type of B. + * keymap.c (describe_alist): Protect ELT_PREFIX and TEM2. + (describe_vector): Likewise for ELT_PREFIX and TEM1. + +1991-01-06 Richard Stallman (rms at mole.ai.mit.edu) + + * sysdep.c (init_sys_modes): Turn off VSUSP and V_DSUSP if they exist. + Only on a MIPS. + +1991-01-05 Jim Blandy (jimb at spiff.ai.mit.edu) + + * xselect.c (x_answer_selection_request): For incremental, set + format to 32 and send only 1 element. Pass the address of size, + not size itself. + (x_selection_arrival): For incremental, delete the property + containing the size of the transfer. This generates a + PropertyNotify to the owner, starting the exchange. + + * xrdb.c (get_user_app): Pass correct number of parameters to + sprintf. + + * xfns.c (x_window): Don't use backing store or saveunders; they + seem to slow down suns. + (x_icon): Set the InputHint to the window manager to False. + (x_make_gc): Initialize gc_values.line_width to zero before + creating the normal video GC, since it uses it. And set the + default_face and hilite_face gcs here. + (install_vertical_scrollbar): Add 2 to thumbdown y position, and + don't add ibw. + + * insdel.c (insert, del_range): Use SET_PT rather than assigning + point directly. + * window.c (Fselect_window): Here too. + + * xdisp.c (redisplay_all_windows): removed static declaration for + this nonexistent function. + +1991-01-04 Jim Blandy (jimb at pogo.ai.mit.edu) + + * window.c (window_loop): neatened up. MINI being non-zero now + makes it recognize active minibuffer windows. Iterates properly + over multiple screens when asked nicely. + (Fget_lru_window, Fget_largest_window): SCREENS arguments are now + declared as a Lisp_Object, and documented. + (Fget_buffer_window): SCREENS argument is now documented. + (Fdelete_other_windows): Delete other windows on the argument + window's screen, not the current screen. + + * screen.c (window_from_coordinates): Changed other reference to + Fnext_window to use next_screen_window; see below. + + * window.c (Fnext_window, Fprevious_window): Accept non-nil, non-t + values for mini, and don't turn off all-screens when mini is t but + there is no global minibuffer screen. Remove screen_{root,mini} + variables. + (Fother_window): Added second argument all_screens. + + * undo.c (record_delete): Removed dead variable llength. + + * data.c (Qkeyp, Fkeyp): Removed these and supporting code. + * keymap.c (Fsingle_key_description): Report an error instead of + calling wrong_type_argument. + * lisp.h (Qkeyp): Removed external declaration for this. + +1991-01-03 Richard Stallman (rms at mole.ai.mit.edu) + + * search.c (search_buffer): Return starting position if count == 0. + +1991-01-02 Jim Blandy (jimb at pogo.ai.mit.edu) + + * scroll.c (do_scrolling): Use correct limits on loop to clear + lines just inserted--old version lost a line. + + * screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h + (Ffocus_screen, Funfocus_screen): use Joe's new definitions, and + only define these functions ifdef HAVE_X_WINDOWS. + (window_from_coordinates): use next_screen_window instead of + Fnext_window, so that global minibuffers work. + + * lread.c (syms_of_read): Don't forget to defsubr + read-char-exclusive. + + * lisp.h (Fscreenp, Fselect_screen, Ffocus_screen, + Funfocus_screen, Fselected_screen, Fwindow_screen, + Fscreen_root_window, Fscreen_selected_window, Fscreen_list, + Fnext_screen, Fdelete_screen, Fread_mouse_position, + Fset_mouse_position, Fmake_screen_visible, Fmake_screen_invisible, + Ficonify_screen, Fdeiconify_screen, Fscreen_visible_p, + Fvisible_screen_list, Fscreen_parameters, + Fmodify_screen_parameters, Fscreen_pixel_size, Fscreen_height, + Fscreen_width, Fset_screen_height, Fset_screen_width, + Fset_screen_size, Fset_screen_position, Fcoordinates_in_window_p, + Flocate_window_from_coordinates, Frubber_band_rectangle): added + extern declarations for all these. + + * lisp.h (Qscreenp): added an extern declaration for this. + + * lisp.h (DBL_DIG): Added constant for the maximum number of + decimal digits a float could print to. Used in print.c. + + * keymap.c (Fkey_description): Produce pretty descriptions of + mouse and window system events too. + (Fsingle_key_description): signal an error if obj is not a key. + + * data.c (Fkeyp, Qkeyp): Added predicate to recognize things which + can be bound - this includes keys, symbols (for function keys and + window system events), and conses (for mouse events). + * lisp.h (Qkeyp): Added external declaration for this. + + * keyboard.c (Frecursive_edit): Don't specbind the standard IO here. + (recursive_edit_1): Do it here, and don't forgot to unbind_to. + + (command_loop_1): Reset no_redisplay after mouse commands. + + (classify_object): Place the object in read_key_sequence_cmd. + + (Fread_key_sequence): recognize that when read_key_sequence + returns -1 or -2, it's a mouse event or window system event. + +1991-01-01 Jim Blandy (jimb at pogo.ai.mit.edu) + + * fileio.c (Fwrite_region): We should dereference GPT_ADDR[-1] + before comparing it to '\n' for VMS cruft. + (Fdo_auto_save): Don't call run-hooks before it's defined. This + only happens before emacs is dumped, when loading inc-vers.el. + + * eval.c (Fsignal): TOTALLY_UNBLOCK_INPUT here. + (error): Not here. + + (Feval): We use argvals[0..5], so declare it to have six elements + instead of just five. + +1990-12-30 Richard Stallman (rms at mole.ai.mit.edu) + + * eval.c (Fsignal): Don't ever return. + Call error instead if user tries to use debugger to return. + + * eval.c (unbind_to): New second arg is value to return. gcpro it. + All callers changed to pass the arg; if a caller uses unbind_to + just before returning, it passes as this arg the value it wants + to return, then it returns whatever comes back. + +1990-12-28 Jim Blandy (jimb at geech.ai.mit.edu) + + * print.c (print): put obj in a non-register variable so + we could gcpro it. Also fixed some syntax errors. + + * editfns.c (Fformat): declare nstrings, and declare nstrings and + strings in a local block. + (Fformat): XFLOAT(args[n]) isn't a float; ->data is. + +1990-12-27 Richard Stallman (rms at mole.ai.mit.edu) + + * m-tower32.h: Add comments for how to optimize. + * m-tower32v3.h: New file. + + * fileio.c (Fwrite_region): Save errno around unlock_file. + +1990-12-26 Richard Stallman (rms at mole.ai.mit.edu) + + * editfns.c (Fformat): Handle floats. Convert between int and float. + Don't truncate value at null char coming from doprnt. + * doprnt.c (doprnt): Replace tembuf with malloced buff if too small. + Handle %e, %f and %g. + +1990-12-25 Richard Stallman (rms at mole.ai.mit.edu) + + * abbrev.c (Fexpand_abbrev): Use insert_from_string, not insert. + (Funexpand_abbrev): Likewise. + * doc.c (Fsubstitute_command_keys): Likewise. + * editfns.c (Finsert, Finsert_before_markers): Likewise. + * minibuf.c (Fminibuffer_complete_word): Likewise. + * mocklisp.c (Finsert_string): Use insert1. + * vmsfns.c (Fdefault_subproc_input_handler): Likewise. + + * print.c: Don't use strout for the text of a Lisp string. + (print_string): New function to use instead. + (print): Use print_string when no escapes needed. + When printing with escapes, protect the string and check addr often. + +1990-12-24 Richard Stallman (rms at mole.ai.mit.edu) + + * insdel.c (insert_from_string): New function. + +1990-12-20 Richard Stallman (rms at mole.ai.mit.edu) + + * term.c (ins_del_lines): Handle scroll region wrt chars_wasted. + +1990-12-16 Jim Blandy (jimb at pogo.ai.mit.edu) + + * Globally renamed InsStr to insert_string. + +1990-12-15 Richard Stallman (rms at mole.ai.mit.edu) + + * s-usg5-3.h (USG_SHARED_LIBRARIES): Define it. + + * m-intel386.h (C_SWITCH_MACHINE): New macro. + +1990-12-15 Jim Blandy (jimb at pogo.ai.mit.edu) + + * alloc.c (STRING_FULLSIZE): Use sizeof(struct Lisp_String) + instead of sizeof(int). + +1990-12-14 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keyboard.c (Fread_key_sequence): Clear this_command_key_count + here; who unfixed this? + +1990-12-12 Richard Stallman (rms at mole.ai.mit.edu) + + * abbrev.c (Fdefine_abbrevs): Don't crash when EXPANSION is nil. + +1990-12-11 Richard Stallman (rms at mole.ai.mit.edu) + + * eval.c (Fmacroexpand): Change handling of (foo . bar) in ENV. + +1990-12-10 Richard Stallman (rms at mole.ai.mit.edu) + + * m-pmax.h (SYSTEM_MALLOC): Define it. + + * process.c (wait_reading_process_input): Ignore failure with EIO. + +1990-12-09 Richard Stallman (rms at mole.ai.mit.edu) + + * m-iris4d.h (LOAD_AVE_CVT): Divide by 1024. + (LIB_STANDARD): Use -lbsd first. + (LIBS_MACHINE): Don't use -lbsd here. + * s-irix3-3.h (ADDR_CORRECT): Macro deleted. + (LIBS_MACHINE): Macro deleted. + (LDAV_SYMBOL): Delete the `_' from start of symbol. + + * process.c (create_process): Delete duplicate sigsetmask. + + * m-ibmrt.h (RTPC_REGISTER_BUG, SHORT_CAST_BUG): Macros deleted. + (C_SWITCH_MACHINE): Use -D to define alloca. + (SIGN_EXTEND_CHAR): Use a cast. + +1990-12-05 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keyboard.c (Fsuspend_emacs): Protect STUFFSTRING. + (cmd_error): Protect TAIL while printing. + (input_poll_signal, start_polling): Use polling_period. + (syms_of_keyboard): Initialize it and make it a Lisp var. + + * fns.c (Fyes_or_no_p): Protect PROMPT for entire loop. + + * fileio.c (Frename_file): Protect args. + * fileio.c (Fadd_name_to_file): Protect the args. + (Fcopy_file, Fmake_symbolic_link): Likewise. + (Finsert_file_contents): Protect FILENAME. + +1990-12-04 Jim Blandy (jimb at geech.ai.mit.edu) + + * eval.c (Fbacktrace): gcpro TAIL. + * emacs.c (Fkill_emacs): gcpro ARG. + * editfns.c (Fformat): remove remains of gcpro'd args. + + * dispnew.c (syms_of_dispnew): Don't clobber Vwindow_system_version + if CANNOT_DUMP. + + * dired.c (file_name_completion): Check that FILE is a string. + + * buffer.c (Fbury_buffer): Don't init BUF1. + + * doc.c (Fsubstitute_command_keys): Protect STR and don't keep a + pointer to the middle of it. + + * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Override for BSD. + + * process.c (sigchld_handler): Clear synch_process_alive if the + dying process isn't in the table at all. + * callproc.c (call_process_cleanup): Clear synch_process_alive. + +1990-12-03 Jim Blandy (jimb at geech.ai.mit.edu) + + * callproc.c (Fcall_process): change synch_process_pid to + synch_process_alive, as a general flag that we are waiting for + a synchronous process to die. This obviates the need to block + SIGCHLDs until we know the pid. + * sysdep.c (wait_for_termination): wait for synch_process_alive to + be false. + + * process.c (sigchld_handler): If pid not recognized, look for a + process recorded with pid -1. + (create_process): Set pid to -1 before the fork. + Store correct pid right after the fork. + Don't change sigchld handler on system V. + + * process.c (Fstart_process): Set BUFFER before other string vars + so a gc in Fget_buffer_create won't clobber them. + +1990-11-30 Richard Stallman (rms at mole.ai.mit.edu) + + * keyboard.c (read_command_char): Save and restore getcjmp. + +1990-11-29 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (status_convert): Use WRETCODE for exited process. + +1990-11-26 Richard Stallman (rms at mole.ai.mit.edu) + + * s-usg5-4.h (LIB_STANDARD): Add libucb.a. + (NEED_PTEM_H): Define this instead of NEED_SIOCTL. + * m-ibm370aix.h, m-ibmps2-aix.h, m-ibmrs6000.h (NEED_SIOCTL): + Undefine this. + (NEED_PTEM_H): Likewise. + + * s-sunos4.h (O_NDELAY): Don't define this. + + * print.c (Fwith_output_to_temp_buffer): Don't eval first arg twice. + +1990-11-22 Richard Stallman (rms at mole.ai.mit.edu) + + * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Alternate defs for BSD. + +1990-11-21 Jim Blandy (jimb at churchy.ai.mit.edu) + + * dispnew.c (init_display): Check if we're using a window system + before trying to initialize the terminal. If someone has + indicated that they want to use a window system, we shouldn't + bother initializing the terminal. This is especially important + when the terminal is so dumb that emacs gives up and doesn't bother + using the window system. + +1990-11-20 Jim Blandy (jimb at churchy.ai.mit.edu) + + * print.c (Fexternal_debugging_output): added new function which + writes a character to stderr, for use when debugging emacs with + gdb. + +1990-11-14 Jim Blandy (jimb at churchy.ai.mit.edu) + + * dispnew.c (window_change_signal): used to assume that SIGWINCHes + always applied to the currently selected screen. Now it scans the + list of screens for a screen controlled by termcap, and changes that + screen's size. + +1990-11-13 Richard Stallman (rms at mole.ai.mit.edu) + + * fileio.c (err_str): New macro. + (Finsert_file_contents, Fwrite_region): Use it in error messages. + +1990-11-12 Richard Stallman (rms at mole.ai.mit.edu) + + * insdel.c (del_range): Supply missing arg to gap_left. + +1990-11-11 Jim Blandy (jimb at churchy.ai.mit.edu) + + * regex.c: Disabled definition of NULL from lisp.h + + * crt0.c (_start): added static declaration of start1. + + * xfns.c: added definition for Vbar_cursor. + (syms_of_xfns): Added DEFVAR_LISP clause for Vbar_cursor. + + * xterm.c (XTread_socket): passed &event.xkey instead of &event to + XLookupString, so things will typecheck nicely. + + * Globally rewrote all references to Vmouse_buffer to use the + buffer viewed by Vmouse_window instead. + + * alloc.c (xmalloc, xrealloc): removed calls to + {un,}hold_window_change. The new SIGWINCH-handling code and + do_pending_window_change make them unnecessary. + +1990-11-11 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (wait_reading_process_input): Make Available static; + don't clear when a nonzero bit is found. + + * fns.c (Fnthcdr): Stop loop if reach end. + + * dispnew.c: Include fcntl.h if HAVE_TERMIO. + +1990-11-10 Jim Blandy (jimb at pogo.ai.mit.edu) + + * alloc.c (make_uninit_string): No longer declared static, and + extern declaration added to lisp.h. It's used in dired.c. + +1990-11-08 Jim Blandy (jimb at geech.ai.mit.edu) + + * dispnew.c (do_pending_window_change): Changed incorrect call to + change_window_size_1 into a loop which scans list of screens and + resizes those that need resizing. + +1990-11-06 Richard Stallman (rms at mole.ai.mit.edu) + + * m-ibmrs6000.h (CANNOT_DUMP): Define it. + + * process.c (create_process): Unblock SIGCHLD in the child. + + * process.c (wait_reading_process_input): Don't read input + from more than one process between calls to `select'. + +1990-11-02 Richard Stallman (rms at mole.ai.mit.edu) + + * callint.c (syms_of_callint): + Initialize Vprefix_arg and Vcurrent_prefix_arg. + +1990-11-01 Richard Stallman (rms at mole.ai.mit.edu) + + * dired.c (Fdirectory_files): Avoid using MAXNAMLEN. + +1990-10-31 Jim Blandy (jimb at churchy.ai.mit.edu) + + * process.c (MAXDESC): Enclosed definition in `#ifndef ... #endif' + clause. + + * bytecode.c: Included syntax.h to declare syntax_code_spec. + + * syntax.h (syntax_spec_code): Added extern declaration for this. + + * floatfns.c (float_error): Added static declaration for this at + the top of the file. + +1990-10-29 Jim Blandy (jimb at pogo.ai.mit.edu) + + * indent.c (position_indentation): renamed stray `bf_cur' to + `current_buffer', and old `CharAt' usages to `FETCH_CHAR'. + * buffer.c (Fbuffer_disable_undo): the symbol object for this + subroutine was still named Sbuffer_flush_undo, and the symbol's + lisp name was similarly out of date. Renamed both, and added an + alias in lisp/subr.el . + + * keyboard.c (Fset_input_mode): a `meta_flag' had escaped being + renamed to `meta_key'. + +1990-10-29 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (Fprocess_send_region, Fprocess_send_string): + Break data into bunches less than 500 bytes. + Accept process output between bunches. + ??? Must update manual. + +1990-10-29 Jim Blandy (jimb at pogo.ai.mit.edu) + + * window.c (Fset_window_start, window_scroll): renamed stray + references to `redo_mode_line' to `update_mode_line'. + + * xdisp.c (decode_mode_spec): renamed stray references to `bf_cur' + and `bf_modified' to `current_buffer' and `MODIFF'. + +1990-10-25 Jim Blandy (jimb at pogo.ai.mit.edu) + + * environ.h: file created - contains declarations for users of the + environment variable list. + * callproc.c (environ): removed extern declaration of environ, and + included environ.h. + +1990-10-24 Jim Blandy (jimb at pogo.ai.mit.edu) + + * callproc.c (init_callproc): removed extern declaration of + environ - it's already taken care of at the top of the file. + + * mocklisp.h: file created - externally declares certain + functions defined in mocklisp.c. + * lisp.h (Fread_buffer, Fread_key_sequence): added extern + declarations for these functions. + * callint.c (ml_apply, Fread_buffer, Fread_key_sequence): removed + extern declarations for these functions, included mocklisp.h. + Moved external declaration of index to top of file. + +1990-10-24 Richard Stallman (rms at mole.ai.mit.edu) + + * ymakefile (GNULIB_VAR): New make variable. + (LIBES): Use that, not GNULIB directly. + (GNULIB): Don't define if already defined. + +1990-10-23 Jim Blandy (jimb at geech.ai.mit.edu) + + * indent.h (last_known_column_point): added extern declaration for + this variable. + buffer.c (last_known_column_point): removed extern declaration for + this variable, included indent.h. + (Vprin1_to_string_buffer): removed extern declaration - it's + already in lisp.h. + + * lisp.h (catchlist, backtrace_list, stack_bottom, + current_global_map): added extern declarations for these + variables. + * alloc.c: removed external declarations for catchlist, + backtrace_list, and stack_bottom, since this file includes + lisp.h. + * callint.c: (current_global_map): removed extern declaration. + + * search.h: new file - declares searchbuf. + * dired.c (Fdirectory_files): removed extern declaration of + searchbuf, included search.h. + + * Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'. + +1990-10-22 Richard Stallman (rms at mole.ai.mit.edu) + + * keyboard.c (quit_char): New variable. + (init_keyboard): Initialize it. + (Fset_input_mode): New optional arg to set quit_char. + (command_loop_1, read_char, kbd_buffer_store_char): + (read_avail_input): Use quit_char, not C-g. + * sysdep.c (init_sys_modes): Use quit_char to set special chars. + * xterm.c (x_term_init): Pass new arg to Fset_input_mode. + +1990-10-22 Jim Blandy (jimb at pogo.ai.mit.edu) + + * xdisp.c: added `extern' declaration for command_loop_level. + + * term.c (term_init): Internal cleanups. + (write_glyphs): renamed argument `start' to `string'. + +1990-10-21 Richard Stallman (rms at mole.ai.mit.edu) + + * xterm.c (FIONREAD): Undefine if BROKEN_FIONREAD. + (SIGIO): Undefine if no FIONREAD. + (ioctl.h, termio.h, strings.h, string.h): Include them before those. + + * alloc.c (make_vector_from_string, Fvector_from_string): + Functions deleted. + + * sysdep.c (select): Handle timeout == 0. Add var local_timeout. + + * alloc.c (make_uninit_string, make_float): Use VALIDATE_LISP_STORAGE. + (Fcons, Fmake_vector, Fmake_symbol, Fmake_marker): Likewise. + (Fmake_vector_from_list): Likewise. + (VALIDATE_LISP_STORAGE): New macro. + +1990-10-20 Richard Stallman (rms at mole.ai.mit.edu) + + * dispnew.c (scrolling): Give up if some new lines not enabled. + (update_screen): Rework outq logic. + + * xdisp.c (message, message1): Clear noninteractive_need_newline. + +1990-10-19 Jim Blandy (jimb at pogo.ai.mit.edu) + + * scroll.c (do_scrolling): allocate queue using alloca instead + of variable-sized arrays. + +1990-10-19 Richard Stallman (rms at mole.ai.mit.edu) + + * buffer.c: Doc fix. + +1990-10-18 Jim Blandy (jimb at pogo.ai.mit.edu) + + * print.c (internal_with_output_to_temp_buffer): install an + unwind_protect to make sure the current buffer is restored. + + * minibuf.c (read_minibuf): call recursive_edit_1 instead of + Frecursive_edit, to support the new command_loop_level + arrangement. + + * malloc.c (calloc): Added this function, in case something linked + with emacs calls it. + + * lread.c (openp): Since access returns 0 on success, change that + into a 1 before returning it. + + * lisp.h: deleted DEFSIMPLE and DEFPRED, since they're no + longer used. + +1990-10-18 Richard Stallman (rms at mole.ai.mit.edu) + + * m-intel386.h (alloca): Define as builtin, if using GCC. + + * m-att3b.h (NEED_PTEM_H): Define this for 3b2. + + * s-aix3-1.h (SYSV_SYSTEM_DIR): Define it. + + * print.c (print): Improve error message for bad data type. + +1990-10-18 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keymap.c (Flookup_key): rearranged to use an index into the key + sequence instead of a pointer and a level counter. + +1990-10-18 Richard Stallman (rms at mole.ai.mit.edu) + + * floatfns.c (sinh, cosh): On VMS, define to use exp. + (IN_FLOAT): Detect errors reported using errno. + (float_error): Define function unconditionally. + Reestablish handler when called, if not BSD. + +1990-10-17 Richard Stallman (rms at mole.ai.mit.edu) + + * m-delta.h (C_DEBUG_SWITCH): Don't define this. + +1990-10-17 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keyboard.c (command_loop): made call to command_loop_2 + conditional on minibuf_level too (it used to be only conditional + on command_loop_level), since this is what 18.56 and all the other + functions in Emacs 19 keyboard.c do. + +1990-10-16 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keyboard.c (read_char): Don't echo dash if there is already + something else being displayed in the echo area. + +1990-10-16 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (status_convert): If killed by signal, use WTERMSIG. + + * data.c (arith_error): Reestablish handler on VMS. + + * keyboard.c (start_polling, stop_polling): New functions. + (input_poll_signal): New function, handles periodic alarms. + (read_command_char): Turn off polling temporarily. + * xdisp.c (redisplay): Likewise. + * process.c (wait_reading_process_input, create_process): Likewise. + +1990-10-16 Jim Blandy (jimb at pogo.ai.mit.edu) + + * indent.c (position_indentation): instead of using CharAt, use a + pointer to scan the buffer - this is faster. + + * emacs.c (Fdump_emacs): The conditional expression which passes + symname to unexec was missing a `: 0'. + + * dispnew.c (rotate_vector): Was rotating backwards. + +1990-10-15 Jim Blandy (jimb at pogo.ai.mit.edu) + + * dired.c (file_name_completion): Use scmp to compare names. + +1990-10-15 Richard Stallman (rms at mole.ai.mit.edu) + + * process.c (create_process): Don't turn off handling of SIGCHLD. + Just set a flag if a signal comes in when not wanted. + (create_process_sigchld): New signal handler. + +1990-10-14 Richard Stallman (rms at mole.ai.mit.edu) + + * bytecode.c: De-implement Bmark, Bset_mark, Bscan_buffer. + Mark Bsymbol_function, Bfset, Bread_char as obsolete. + Implement codes Bmult, Bforward_char...Bwiden, + and Bstringeqlsign...Bintegerp. + +1990-10-12 Jim Blandy (jimb at pogo.ai.mit.edu) + + * buffer.c (list_buffers_1): Select the buffer given in + Vstandard_output using Fset_buffer instead of set_buffer_internal. + + * buffer.c (set_buffer_internal): deleted variable swb - it's + never used. + + * buffer.c (count_modified_buffers): function deleted - it's + not used anymore. + +1990-10-11 Jim Blandy (jimb at pogo.ai.mit.edu) + + * buffer.c (reset_buffer_local_variables, buffer_local_variables): + added support for default values for buffer local variables which + do not have a DEFVAR_PER_BUFFER, as described in the comments + above buffer_local_flags. + + * buffer.c (Fget_buffer_create): move initialization of + b->save_length and b->last_window_start to reset_buffer. + +1990-10-11 Richard Stallman (rms at mole.ai.mit.edu) + + * m-ibmps2-aix.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Define them. + (C_DEBUG_SWITCH): Delete -fstrength-reduce. + + * unexmips.c (unexec): Add conditional for MIPS2. + +1990-10-10 Richard Stallman (rms at mole.ai.mit.edu) + + * m-iris4d.h (LIBS_MACHINE): Use -lsun, don't use -lPW. + + * unexelf.c: New file. + * s-usg5-4.h: New file. + * unexec.c [USG_SHARED_LIBARARIES]: Numerous changes under this cond. + (copy_text_and_data): New second argument. + +1990-10-10 Jim Blandy (jimb at pogo.ai.mit.edu) + + * alloc.c (gc_sweep): only unchain markers that are in a buffer. + +1990-10-10 Mike Rowan (mtr at apple-gunkies) + + * process.c: Merged in more changes from 18.56: update_status, + FD_SET changes (define all the FD_ macros). Other small changes. + +1990-10-09 Jim Blandy (jimb at churchy.ai.mit.edu) + + * xdist.c: (decode_mode_spec): reworked code to handle %* - it now + goes like `if return else if return else ... return' instead of + using a conditional operator. + + * xdist.c: (fmodetrunc): function deleted - no longer used. + +1990-10-09 Richard Stallman (rms at mole.ai.mit.edu) + + * xdisp.c (decode_mode_spec): Handle dashes in wide windows. + +1990-10-08 Richard Stallman (rms at mole.ai.mit.edu) + + * sysdep.c (sys_open, sys_close, sys_read, sys_write): + Don't handle EAGAIN. + + * process.c (wait_reading_process_input): Handle nread==-1 + for O_NDELAY like O_NONBLOCK. + + * s-vms.h (LINK_CTRL_SHARE): Turn on again. + tranle@intellicorp.com found it needed in VMS 5.3. + + * emacs.c (main): Move VMS declaration of environ outside function. + + * vmsfns.c (Fdefault_subproc_input_handler): InsCstr -> insert. + +1990-10-07 Richard Stallman (rms at mole.ai.mit.edu) + + * m-pmax.h (START_FILES): Handle crt0.o in different dir in Ultrix 4.0. + + * s-sunos4.h (O_NDELAY): Define only if not defined. + +1990-10-06 Jim Blandy (jimb at pogo.ai.mit.edu) + + * sysdep.c (tabs_safe_p, get_screen_size): renamed `sg' to `tty'. + + * sysdep.c (init_baud_rate): rearranged code for calculating + baud_rate. + +1990-10-05 Jim Blandy (jimb at pogo.ai.mit.edu) + + * search.c (Freplace_match): used Finsert_buffer_substring instead + of place and deleted place. + + * search.c (place): function removed + + * process.c (count_active_processes): Deleted; not used. + + * minibuf.c (read_minibuf): renamed `prefix' argument to `initial'. + +1990-10-01 Jim Blandy (jimb at pogo.ai.mit.edu) + + * lread.c (Fload): renamed `MISSING-OK' to `NOERROR'. + + * keyboard.c (describe_map): renamed `keys' to `string'. + + * keyboard.c `Vauto_save_interval' unrenamed back to + `auto-save-interval'. + + * keymap.c (Fdefine_key, Flookup_key): renamed arguments called + `keys' to `key'. + +1990-10-01 Richard Stallman (rms at mole.ai.mit.edu) + + * sysdep.c (sys_open, sys_close, sys_read, sys_write): + Handle EAGAIN like EINTR. + +1990-09-30 Richard Stallman (rms at mole.ai.mit.edu) + + * insdel.c (gap_left, gap_right): Use bcopy if requested. + New config parameters GAP_USE_BCOPY, BCOPY_SAFE_UPWARD, + and BCOPY_SAFE_DOWNWARD. + + * eval.c (find_handler_clause): Bind debug-on-error to nil. + (Qdebug_on_error): New variable. + (syms_of_eval): Initialize that. + + * sysdep.c: Include various headers for ptys, for hpux, aix, and sysv. + + * dispnew.c (preserve_other_columns): Fix args to second bcopy. + +1990-09-30 Jim Blandy (jimb at pogo.ai.mit.edu) + + * keyboard.c: `auto_save_interval' renamed to + `Vauto_save_interval', since it *is* a lisp-accessible variable. + + * fileio.c (Fdo_auto_save): call record_auto_save so that + read_char knows when we've auto-saved. + + * keyboard.c (record_auto_save): added function to support the new + auto-save conditions. + + * keyboard.c (read_char): use num_input_chars and last_auto_save + instead of keystrokes to decide when to autosave. + + * keyboard.c (keystrokes): variable deleted. + +1990-09-30 Mike Rowan (mtr at spike.ai.mit.edu) + + * keyboard.c and alloc.c: added malloc warning code from + 18.56. + + * dispnew.c, xdisp.c: (un)hold_window_change no longer exists; + added do_pending_window_change from 18.56. + + * process.[ch]: added the raw_status_low and raw_status_high + code from 18.56. + +1990-09-29 Richard Stallman (rms at mole.ai.mit.edu) + + * alloca.s: Handle ns32000 like ns16000. + + * m-ns32000.h: New file. + + * lread.c (Fload): Warn if elc file older than source file. + + * ymakefile (LIB_X11_LIB): New parameter,default -lX11. + (LIBX): Use that. + + * Makefile (xmakefile): Delete junk.c at the beginning. + + * hftctl.c: Include termios.h before termio.h. + Define TCGETS and TCSETS if nec. + Give some forward declarations for the static functions. + Reformat in usual GNU style. + + * m-orion105.h (LOAD_AVE_TYPE, FSCALE): Changed from double and 1.0. + + * m-delta.h: New file. + +1990-09-28 Richard Stallman (rms at mole.ai.mit.edu) + + * fns.c (Frequire): Undo certain things on failure, like autoload. + +1990-09-28 Jim Blandy (jimb at pogo.ai.mit.edu) + + * fileio.c (Fwrite_region): renamed variable `fd' to `desc' and + changed argument to open from `1' to `O_WRONLY'. + + * fileio.c (O_WRONLY): added clause to define this if not already + defined. + + * emacs.c (Fdump_emacs): removed a_name variable. + + * emacs.c (Fkill_emacs): removed code which asked about modified + buffers and running subprocesses. + + * editfns.c (Fcurrent_time_string): renamed variable `now' to + `current_time'. + + * dispnew.c (update_line): renamed variables `m1' and `m2' to + `begmatch' and `endmatch'. + + * dispnew.c (update_screen): use preempt_count as a limit instead + of a counter; count with i instead. + + * dispnew.c (visible_bell, inverse_video, baud_rate, + Vwindow_system): rearranged comments. + +1990-09-27 Richard Stallman (rms at mole.ai.mit.edu) + + * emacs.c (main) : Set the DISPLAY environment value when both of + MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined. + + * m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they + cause an unnecessary C1/C2 dependency. + + * m-convex.h (LD_SWITCH_MACHINE): use -e__start to specify + where crt0.c begins. + + * m-convex.h (HAVE_SETSID): define; must call setsid + when creating an inferior with a different controlling tty. + * process.c (create_process): rearrange so that HAVE_SETSID + will be seen when not under USG. + + * m-convex.h (S_IFMT etc): define in case of posix compilation. + + * m-convex.h (FIRST_PTY_LETTER): do it at runtime. + * unexconvex.c (first_pty_letter): routine to locate lowest pty. + + * unexconvex.c: Rewrite so it can cope with thread-local sections. + + * sysdep.c (select): Use process_tick and update_tick, + not child_changed. + +1990-09-23 Richard Stallman (rms at mole.ai.mit.edu) + + * keyboard.c (Fsuspend_emacs): Check screen size after resume. + +1990-09-19 Richard Stallman (rms at mole.ai.mit.edu) + + * editfns.c: Doc fix. + +1990-09-18 Richard Stallman (rms at mole.ai.mit.edu) + + * window.c (Fsplit_window): Minor cleanup. + +1990-09-17 Richard Stallman (rms at mole.ai.mit.edu) + + * emacs.c (main) [USG_SHARED_LIBRARIES]: Call brk. + +1990-09-13 Richard Stallman (rms at mole.ai.mit.edu) + + * floatfns.c (float_error_arg): New variable. + (IN_FLOAT): New arg; sets float_error_arg. All uses changed. + (float_error): Use that value when signaling error. + +1990-09-11 Richard Stallman (rms at mole.ai.mit.edu) + + * unexaix.c, m-ibmr2.h, s-aix3-1.h: New files. + + * ymakefile (allocaobj): New variable. Used in otherobjs. + Eliminates assignment of mallocobj using itself. + (mallocobj): Handle SYSTEM_MALLOC without HAVE_ALLOCA. + (xemacs): Use -nl option if HAVE_SHM. + + * sysdep.c: Change IBMRTAIX conditionals to AIX. + Move hft.h to the top. + [IBMR2AIX]: Use termios.h and change macros accordingly. + (child_setup_tty): Change IBMRTAIX to AIX. + (setpgrp_of_tty): Handle IBMR2AIX. + (init_sys_modes): Handle IBMR2AIX. Output special things for AIX. + (reset_sys_modes): Output special things for AIX. + (hft_init, hft_reset): Conditionals for IBMR2AIX. + + * process.c: Change IBMRTAIX to AIX controlling time.h. + [AIX]: Include sys/pty.h and unistd.h. + (wait_reading_process_input): If AIX, handle EBADF differently. + (create_process): Handle HAVE_SETSID. Change conditional to AIX. + + * lisp.h (XPNTR): New definition if HAVE_SHM. + (NULL): Undef before defining. + + * emacs.c (main): If HAVE_SHM, call map_in_data. + Use AIX, not IBMRTAIX, for signal conditional. + (Fdump_emacs_data): New function if HAVE_SHM. + (Fdump_emacs): Don't define if HAVE_SHM. + + * alloc.c (pure, PUREBEG): If HAVE_SHM, define place for a segment. + +1990-09-03 Mike Rowan (mtr at apple-gunkies) + + * sysdep.c: added setup_pty from 18.56 + + * process.c: merged in 18.55->6 changes. Same for process.h + + * globally replaced: + redisplay_preserving_echo_area -> redisplay_preserve_echo_area + SetBfp -> set_buffer_internal + buffer_flush_undo -> buffer_disable_undo + redo_mode_line -> update_mode_line (window.h) + +1990-08-31 Richard Stallman (rms at mole.ai.mit.edu) + + * data.c (Fmake_local_variable): If var is local when set, make it + local now in this buffer. + + * data.c (Fstring_to_int): Finish eliminating second arg. + + * data.c (Faset): Require integer as third arg for string. + +1990-08-28 Richard Stallman (rms at mole.ai.mit.edu) + + * search.c: Doc fix. + + * screen.h (SCREEN_SCROLL_BOTTOM_VPOS): New macro. + * xdisp.c (screen_bottom_vpos): Variable used if just one screen. + (redisplay, try_window_id): Set that field in screen. + * dispnew.c (scrolling, update_screen): New arg scroll_bottom_vpos. + + * dispnew.c (scroll_screen_lines): Mark newly empty lines as empty. + (scrolling): Give up if any line in current_screen not enabled. + +1990-08-27 Roland McGrath (roland at churchy.ai.mit.edu) + + * dired.c (Ffile_attributes): Return the device number too (elt 11 + of the returned list). + +1990-08-27 Richard Stallman (rms at mole.ai.mit.edu) + + * sysdep.c (wait_for_kbd_input): Frob waiting_for_input here. + * keyboard.c (kbd_buffer_read_command_char): Not here. + + * sysdep.c (wait_for_kbd_input): Clear process_ef before snarfing + process input. + + * fileio.c (Fdirectory_file_name): On VMS, leave space for log name. + + * sysdep.c (init_sys_modes): Clear process_ef only the first time. + + * vmsfns.c (process_exit): Logic of deletion was wrong. + (Fspawn_subprocess): Correctly reuse existing struct process_list. + +1990-08-22 Richard Stallman (rms at mole.ai.mit.edu) + + * m-plexus.h (LD_SWITCH_MACHINE): New macro. + +1990-08-22 Joseph Arceneaux (jla at geech) + + * xterm.c (XTread_socket): Cleaned up #ifdefs prior to event + reading loop. Also handle FIOSNBIO. + +1990-08-19 Joseph Arceneaux (jla at geech) + + * xterm.c (dumplyphs): Last vestige of MScreenWidth removed. + * config.h: MScreenWidth, MScreenHeight definitions removed. + +1990-08-18 Joseph Arceneaux (jla at geech) + + * scroll.c (do_scrolling): Pass the correct sizes to bcopy. + * dispnew.c (make_screen_glyphs): Likewise. + +1990-08-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * dispnew.c (scroll_screen_lines, free_screen_glyphs): Only deal + with the X components of screen_glyphs if SCREEN_IS_X. + free_screen_glyphs now takes screen argument. + + * window.c (Fnext_window, Fprevious_window): Fixed typo. New + behaviour: mini non-nil implies all_screens if global mini screen + exists, implies current screen only if not. + (Fdisplay_buffer): Simplification of multi-screen code. + +1990-08-15 Richard Stallman (rms at mole.ai.mit.edu) + + * buffer.c: Doc fix. + +1990-08-15 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * dispnew.c (update_line): Simplification of pixel size code, only + done if screen is X. + (update_screen): Only set pixel stuff if screen is X. + +1990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-targon31.h (NO_REMAP): Definition removed. + (SEGMENT_MASK): New macro. + +1990-08-14 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * lread.c (eval-region): Don't set opoint to point, etc. + Fnarrow_to_region from BEGV, not b. + (eval-buffer): New subr, generalization of eval-current-buffer. + (eval-current-buffer): Moved to elisp, in simple.el. + + * xfns.c (x_y_pos): Nuked. Replaced by pixel_to_char_translation + and notice_mouse_movment (dispnew.c, xterm.c). + (Fx_point_coordinates): Also nuked. + mouse_buffer_offset: New lisp variable. + + * xterm.c (notice_mouse_movement): Use it in call to + pixel_to_char_translation. + + * screen.h: For non-multiscreen, XSCREEN returns selected_screen, + as does WINDOW_SCREEN. + + * xdisp.c (display_mode_line): Set desired_glyphs->bufp to 0 for + mode line. + All occurences of struct screen * replaced with SCREEN_PTR. + +1990-08-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xmenu.c (list_of_items, list_of_panes): Fixed wrong params to + wrong_type_argument. + +1990-08-12 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * dispnew.c (pixel_to_char_translation): New algorithm for + finding y. + + * xfns.c (install_*_scrollbar): No more height, width parameters. + Don't block input here. + (x_set_*_scrollbar): Block input here. + + * xterm.c (notice_mouse_motion): Check if the mouse is still in + the window. + (encode_mouse_button): Don't bother about motion types. + +1990-08-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-convex.h (C_SWITCH_MACHINE, LIB_STANDARD, LIBS_MACHINE): + (LD_SWITCH_MACHINE): Add definitions for Convex V 4.0. + +1990-08-11 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape, + setting new variable grabbed_cursor. Return Qt if successful, + Qnil otherwise. + (Fx_ungrab_pointer): free grabbed_cursor if non zero. Return Qnil. + +1990-08-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (x_figure_window_size): Don't set pixel sizes until + height and width are determined. + +1990-08-08 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_grab_pointer): New parameter to explicitly ignore + keyboard events. + + * xterm.c (notice_mouse_movement): Use pixel_to_char_translation + to get char position and buffer offset. + +1990-08-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c [NEED_PTEM_H]: New flag macro says include ptem.h. + +1990-08-07 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * dispextern.h: element bufp of screen_glyphs no longer dependent + on X windows. + * xdisp.c (display_text_line): Likewise. + + * xfns.c (Fx_grab_pointer, Fx_ungrab_pointer): New subrs. + (x_figure_window_size): Set pixel_width and pixel_height of + screen, using font height and width. + + * xfns.c: Vmouse_grabbed renamed Vmouse_depressed. + * xterm.c: Likewise. + (construct_mouse_event): Don't check mouse coordinates; this is + done by the notice_mouse_motion. Don't grab the mouse here. + + * dispnew.c (update_line): Set the pix_width and pix_height of the + line. This fashion of doing so is temporary. + +1990-08-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * dispextern.h: screen_glyphs struct elements bottom_right_x, + bottom_right_y changed to pix_width and pix_height. + * scroll.c: Likewise. + * dispnew.c: Likewise. + (update_screen): Set top_left_x, top_left_y for X windows. + + * xterm.h: Macros PIXEL_{WIDTH,HEIGHT} now use the display + structure elements. + +1990-08-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (x_window_to_scrollbar): Return Lisp symbol in parameter + PART_PTR, rather than string. + Declare these symbols. + New variable Vscreen_part, indicates which part of the screen the + mouse is in. + + * xterm.c (notice_mouse_motion): Do XQueryPointer first thing. + Set Vmouse_event to Qnil. + (construct_mouse_event): Don't check if mouse has moved or not. + When returning cons, part is now already lisp symbol. + (XTread_socket): Set Vmouse_window = Vscreen_part = Qnil when + leaving screen, as well as setting x_mouse_x = x_mouse_y = -1. + + * keyboard.c: Vmouse_window, Vmouse_event declared extern and no + longer DEFVARed: they are already delclared in window.c + + * screen.c (window_from_coordinates): Use Fnext_window, even if + MULTI_SCREEN, to obtain the next window. This is an test. + Also, new paramater part returns text or modeline symbol. + (Flocate_window_from_coordinates): Pass &part to + window_from_coordinates. + (coordinates_in_window): Don't say modeline if window_height is 1, + as this is likely to be the minibuffer. + +1990-08-04 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.c (Fcoordinates_in_window_p): Doc fix. Simplified. + (window_from_coordinates): New function. + (Flocate_window_from_coordinates): Use it. + + * keyboard.c (classify_object): New function for dealing with the + input object. New symbol, mouse-motion, called here. + Call to mouse-motion-handler now takes no parameters. + (read_key_sequence): Use the new function. Don't set keybuf[0] + to 0. + + * xterm.c (init_input_symbols): Create all the Lisp symbols + returned in the input stream. + func_key_syms: New array to hold all symbols for function keys. + (x_func_key_to_sym): Use this array. + (notice_mouse_movement): New function for dealing with motion + events. + (XTread_socket): Use it here. + +1990-08-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * callproc.c (child_setup): Report error in chdir. + +1990-08-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * lisp.h: New macro XFLOATINT. extract_float declared. + * floatfns.c (Ffloor): Call floor, not ceil. + (extract_float): No longer static. + * bytecode.c (Fbyte_code): Correctly handle floats in case Beqlsign. + +1990-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c (read_key_sequence): When downcasing letters, + don't change the value returned in keybuf. + (This is an experiment; it might be unpleasant in + things such as C-h c, but it is an improvement + for M-x global-set-key.) + +1990-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * eval.c: Doc fix. + +1990-07-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s-iris*.h (SYSTEM_TYPE): Change silicon-graphics-unix to irix. + +1990-07-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * indent.c (Fmove_to_column): End-test was off by 1. + + * abbrev.c (Fexpand_abbrev): Return nil if alloca arg would be neg. + +1990-07-26 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xdisp.c (display_text_line): String to rope copy for inserting + arrow text. + +1990-07-25 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xdisp.c (display_mode_line): Check that the name has actually + changed before calling x_set_name. + + * ralloc.c (check_memory_limits): New function. + Also check if new memory will be larger than elisp pointer. + (r_alloc_sbrk): Call this function. + (relocate_blocs_upward, relocate_blocs_downward): Eliminated. + (r_alloc_sbrk): Use relocate_some_blocs instead of the eliminated + functions. + + * vm-limit.c (morecore_with_warning): Check if new memory larger + than elisp pointer size. + +1990-07-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c (save_getcjmp, restore_getcjmp): New functions. + (read_char): Use them around Fdo_auto_save. + * process.c (read_process_output, exec_sentinel): Use them. + * fileio.c (Fdo_auto_save): Run auto-save-hook. + +1990-07-24 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * dispnew.c (safe_bcopy): No longer static. + + * ralloc.c (relocate_blocs_upward, relocate_blocs_downward): Use + safe_bcopy. + + * mem_limits.c: typedef SIZE. + +1990-07-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * fileio.c (Finsert_file_contents): Initialize how_much when exiting + main loop. + + * m/m-mips.h: Added stuff from the 18.56 version. + +1990-07-18 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * indent.c (Fmove_to_column): Set end to ZV. + +1990-07-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * editfns.c (init_editfns): Let envvar NAME override full name. + + * buffer.c (list_buffers_1): Avoid error with list-buffers-directory. + +1990-07-17 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * buffer.c (list_buffers_1): Don't check list-buffers-directory. + +1990-07-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xdisp.c (display_text_line): Don't print ellipsis if they're + off the left edge. + +1990-07-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s-386-ix.h: Define BROKEN_TIOCGETC. + +1990-07-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-pmax.h: Undef LD_SWITCH_MACHINE, change DATA_START + and DATA_SEG_BITS. + +1990-07-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s-iris3-6.h (HAVE_GETWD): Define this. + (KERNEL_FILE): Change to /unix. + (sigsetmask, sigblock, NEED_ERRNO, C_SWITCH_MACHINE): Turn off. + (SIGIO): Don't undefine it. + (LIBS_MACHINE): Remove -lbsd. + + * minibuf.c (Fall_completions, do_completion): Treat nil as alist. + (Ftry_completion): Likewise. + +1990-07-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c: Undefine TIOCGETC if BROKEN_TIOCGETC defined. + * s-usg5-3.h, s-xenix.h: Define BROKEN_TIOCGETC. + +1990-06-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (Fopen_network_connection): Minor cleanup. + +1990-06-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-sun3.h: Add comments for dealing with 68881. + +1990-06-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-ibmps2-aix.h [__GNUC__]: Define LIB_STANDARD and C_DEBUG_SWITCH, + and don't define LIBS_MACHINE. + (HAVE_WAIT_HEADER): Define this. + Also reordered definitions so recently added ones are together. + +1990-06-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * insdel.c (insert): Error if buffer would get too long. + * fileio.c (Finsert_file_contents): Likewise. + +1990-06-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * syntax.c (scan_sexps_forward): Allow Squote inside symbols. + +1990-06-16 Joseph Arceneaux (jla at geech) + + * window.c (Fscroll_other_window): Don't unbind_to. Keep track of + current_buffer and point explicitly. + +1990-06-15 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * term.c: (cursor_to): Only add chars_wasted if not calling hook. + (clear_end_of_line_raw): Likewise. + (clear_end_of_line): Check that screen is termcap before using + chars_wasted. + (ins_del_lines): Eliminated local copybuf[]. + (calculate_ins_del_char_costs): Now has screen parameter. + DCICcost: Change to char_ins_del_costs and defined with + SCREEN_WIDTH (screen). + DC_ICcost: Changed to char_ins_del_vector. + * term.h: DCICcost no longer defined here. DC_ICcost no longer + declared here. + * dispnew.c: char_ins_del_cost defined here. char_ins_del_vector + declared extern here. + +1990-06-14 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * Globally replaced screen_width with macro + SCREEN_WIDTH (selected_screen). + * dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from + screen_width. + (change_window_size): No longer check output_type and set + ScreenRows. + +1990-06-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * indent.c (Findent_to): Don't fail to return value. + (Fmove_to_column, Fcurrent_column): Doc fixes. + +1990-06-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (echo_prompt): Now uses glyphs. + echobuf, echobuf_ptr: These variables now glyphs. + +1990-06-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * fileio.c (Fdo_auto_save): Use glyphs_to_str_copy to set + omessage. + * alloc.c (Fgarbage_collect): Ditto. + + * xdisp.c (message): message_buf set here, realloced if smaller + than screen width. + message_buf now type GLYF *. New variable message_buf_size holds + its size. + Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set + echo_area_glyphs. + + * print.c (printchar, strout): Use message_buf_size. Convert to + glyfs before assigning chars. + (str_to_glyph_cpy, str_to_glyph_ncpy, + glyph_to_str_cpy, glyph_to_str_ncpy): New functions. + +1990-06-03 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (command_loop_1): Clear this_command_key_count here. + (Fread_key_sequence): And here. + (read_key_sequence): Not here. + + * dispnew.c (update_screen): + Add missing else in handling cursor_in_echo_area. + * xdisp.c (redisplay_window): Eliminate lpoint. Alter opoint + if point should be changed permanently in the selected window. + + * window.c (unshow_buffer): Don't set pt in selected window's buffer. + + * xdisp.c (decode_mode_spec): Don't truncate buffer or file name. + + * editfns.c (Finsert_buffer_substring): Don't fail to set beg, end. + + * keyboard.c (command_loop_level): New variable. + Used in place of RecurseDepth, but different meaning. + (recursive_edit_1): New function. + (Frecursive_edit): Call it. + * minibuf.c (read_minibuf): Call recursive_edit_1. + * xdisp.c (RecurseDepth): Variable deleted. + display_minibuffer_message renamed echo_area_display. + + * print.c: Include dispextern.h. + (printchar, strout): Use message_buf. + + * scroll.c (CalcIDCosts): Dynamically allocate ILcost, etc. + (ILcost, DLcost, ILncost, DLncost): Now pointers. + (do_scrolling): Use alloca for queue. + + * term.c (term_init): selected_screen as arg to calculate_costs. + (calculate_costs): + Dynamically allocate chars_wasted, copybuf, DC_ICcost. + Set RPov based on actual width. + (chars_wasted, copybuf, DC_ICcost): Now pointers. + + * xterm.c (x_term_init): Don't set dont_calculate_costs anymore. + +1990-06-02 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * term.c (calculate_ins_del_char_costs, string_cost_one_line): + Made static. + + * dispnew.c: Declare scrolling_1; + + * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID): Renamed + calculate_ins_del_char_costs, ins_del_costs, and line_ins_del. + CalcIDCosts1 and CalcLID also renamed. + (calculate_scrolling): Now void. + + * Global renaming: bf_modified -> MODIFF. CharAt -> CHAR_AT_POSITION. + BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF. + SetPoint -> SET_PT. + + * xterm.c (x_term_init): Don't CalcIDCosts here anymore. + +1990-06-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * print.c: Include dispextern.h. + (printchar, strout): Use message_buf. + + * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght. + * term.c: Likewise. + + * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID): These now take a + screen argument. + (CalcIDCosts): Dynamically allocate ILcost, etc. + (ILcost, DLcost, ILncost, DLncost): Now pointers. + (do_scrolling): Use alloca for queue. + + * dispnew.c (remake_screen_structures): Allocate message_buf. + Don't use MscreenWidth, MscreenLenght. + + * xdisp.c: bf_cur replaced with current_buffer. + Calls to SetBfx deleted. + message_buf is now char *. + (message): Use SCREEN_WIDTH macro as limit for doprnt. + + * indent.c (current_column): Detect special case when point == BEGV. + + * buffer.h (struct buffer_text): Component modified renamed to + modiff. All refs changed to macros below. + (MODIFF, BUF_MODIFF): New macros. + Macro SetBfx removed. + Macro SetPoint renamed SET_PT. + + * fileio.c (Fexpand_file_name): Simplified. + +1990-06-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dired.c: Doc fix. + +1990-05-31 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * search.c (Fsearch_forward): Docstring fix. + +1990-05-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dired.c: Comment added. + +1990-05-31 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * process.c (Fprocess_connection): Return the type of a process + object. + (syms_of_process): Initialize pty_process and stream_process. + Declare Fprocess_type. + * process.h New element type to struct Lisp_Process. + + * syntax.c (scan_sexps_forward): Initialize curlevel->last to -1. + +1990-05-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * fileio.c (Finsert_file_contents): Use new variable how_much to + hold read result. + +1990-05-24 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * lread.c (read_char_exclusive): New subr. + +1990-05-24 David Lawrence (tale at pogo.ai.mit.edu) + + * fileio.c (file_executable_p): New function. + +1990-05-23 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was + successful. + + * editfns.c (syms_of_editfns): DEFVAR the new variables. + + * eval.c (Finteractive_p): Don't skip the first frame if the + function was compiled. + + * print.c (print): Use ... only for conses, and instead of normal + print. + +1990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * Renamed meta_flag meta_key. + + * termopts.h: Comment changes. + +1990-05-20 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * buffer.h: upcase_table and downcase_table are now Lisp_Objects. + * alloc.c (mark_object, gc_sweep): Related changes. + * casetab.c: Ditto. + +1990-05-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * minibuf.c (Fall_completions): Protect STRING from gc. + Copy ALIST to TAIL to protect it. + + * paths.h-dist: Doc fix. + +1990-05-17 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * search.c (Flooking_at, search_buffer): Use new accessors. + * indent.c (Fcurrent_column): Likewise. + * minibuf.c (read_minibuf): Likewise. + * regex.c (re_match_2): Use PTR_CHAR_POS. + * editfns.c (Fbuffer_size, Fnarrow_to_region, Fbuffer_substring): + (Fbuffer_string, Finsert_buffer_substring): Likewise. + (save_restriction_restore): Likewise. + * dispnew.c (direct_output_for_insert): Likewise. + * fileio.c (Fwrite_region, Finsert_file_contents): Likewise. + (Fdo_auto_save): Likewise. + * insdel.c (move_gap, gap_left, gap_right, make_gap): Likewise. + (InsCStr, del_range, modify_region): Likewise. + * process.c (Fprocess_send_region): Likewise. + * xdisp.c (try_window, try_window_id, display_text_line): Likewise. + (redisplay): Likewise. + * buffer.c (list_buffers_1): Likewise. + * marker.c (marker_position, Fset_marker, set_marker_restricted): + (Fmarker_position): Likewise. + * window.c (unshow_buffer, Fset_window_configuration): Likewise. + (Fset_window_buffer): Likewise. + + * editfns.c (save_restriction_restore): Use a macro to alter point. + + * lread.c (readchar): Use new accessors, and avoid knowing about + the text field of a buffer. + * window.c (Fpos_visible_in_window_p): Likewise. + + * buffer.h (struct buffer): Make the syntax table a Lisp object. + * alloc.c (mark_buffer): No need to treat it specially. + * syntax.c (Fsyntax_table, Fset_syntax_table, Fdescribe_syntax): + (Fmodify_syntax_entry): Adjust for this change. + * buffer.c (reset_buffer_local_variables): Need not be special. + (init_buffer_once): Make this slot a defaulted local variable. + * syntax.h: Adjust macros for this change. + (Vstandard_syntax_table): Define as macro, in buffer_defaults. + * syntax.c (syms_of_syntax): Don't staticpro it here. + (Fset_syntax_table): Set the flag in local_var_flags. + + * buffer.h (struct text): Represent the buffer dimensions + with new slots, memory, begv, pt, gpt, zv, z and gap_size. + (BEGV, etc.): Use new slots. + (CharAt): Likewise. + (BufferSafeCeiling, BufferSafeFloor): Use new slots; fix old bugs. + (bf_p1, bf_s1, etc.): Old macros deleted. + + * buffer.c (Fget_buffer_create): Set up memory and new slots. + (Fkill_buffer): Likewise. + + * insdel.c (move_gap, gap_left, gap_right, make_gap): Update new slots. + (del_range, InsCStr): Likewise. + * fileio.c (Finsert_file_contents): Likewise. + * window.c (temp_output_buffer_show): Likewise. + * xdisp.c (decode_mode_spec, try_window_id): Likewise. + + * insdel.c (make_gap): Complete rewrite. Arg is amount of new gap + to create. All calls changed. + (gap_left): New argument NEWGAP. + + * buffer.c (Fset_buffer): Check for deleted buffer. + (SetBfp): Don't check. + (SetBfp, Frename_buffer): Local cleanups. + * print.c (PRINTPREPARE): Use Fset_buffer. + + * buffer.c (SetBfp): Don't bother with selected window or its point. + * window.c (Fselect_window): Always set pointm of old window. + + * editfns.c: Eliminate all use of DEFSIMPLE and DEFPRED. + * indent.c, keyboard.c: Ditto. + + * search.c (skip_chars): Eliminate PointLeft and PointRight. + * cmds.c (SelfInsert): Likewise. + +1990-05-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xdisp.c (try_window): No return value. + Fix calls to try_window. + * Global variable RedoModes is now redraw_mode_line. + +1990-05-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keymap.c (Fdefine_key, Flookup_key): Local cleanups. + + * sysdep.c (sys_suspend): Use save_signal_handlers and + restore_signal_handlers to save and restore signal state. + + * indent.c (Findent_to): Merge guts of indentation into here. + (position_indentation): Scan with a pointer, for speed. + + * casefiddle.c (operate_on_word): Just return the other end. + (Fupcase_word, Fdowncase_word, Fcapitalize_word): + Pass that value to casify_region. + + * editfns.c (init_editfns): Store system and user names as + strings to avoid arbitrary limits. + + * keymap.c (describe_vector, describe_alist): Make elt_prefix + and elt_describer responsible for indentation and newlines. + Local cleanups. + (describe_command): Do indentation and newline. + (describe_map): Add space to end of prefix. + * syntax.c (describe_syntax): Do indentation and newline. + +1990-05-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (create_process) [not USG]: Put subproc in pgrp 0. + +1990-05-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * dispextern.h: new struct screen_glyfs replaces struct + display_line. + * screen.c: new screen elements current_glyfs, desired_glyfs, and + temp_glyfs. + * dispnew.c: (make_screen_glyfs, free_screen_glyfs, + remake_screen_glyfs): New functions. + (make_display_lines, new_display_line, return_display_line): + Functions deleted. + (change_screen_size, init_display): Use the new functions. + (cancel_line, clear_screen_records, get_display_line): + Rewritten for new data structures. get_display_line no longer + returns anything. + (preserve_other_columns, preserve_my_columns): Likewise. + (cancel_my_columns, direct_output*): Likewise. + (update_screen, update_line, quit_error_check, scrolling): Likewise. + (scroll_screen_lines): Likewise. + (rotate_vector, safe_bcopy): New subroutines. + (line_hash_code, line_draw_cost): Cleaned up. + Args are different, and hash computation too. + (update_screen): Rearrange buffer-emptying code. + * xdisp.c: (display_minibuf_message, redisplay): Rewritten for new + structures. + (display_text_line, display_mode_line): Likewise. + (display_mode_element, display_string): Likewise. + (decode_mode_spec): Local cleanups. + * scroll.c (do_scrolling): Rewritten for new data structures. + * xterm.c (XTflash): Use this new structure. + + * editfns.c (in_accessible_range): New function. + (Fgoto_char, save_restriction_restore): Use it. + (save_excursion_save, Fcurrent_time_string): Local cleanups. + + * process.c (Fprocess_kill_without_query): New arg; new return value. + (count_active_processes): Function deleted. + + * fileio.c (Finsert_file, Fwrite_region): Local cleanups. + + * fns.c (Fsubstring): Local cleanup. + + * keyboard.c (echo_prompt, echo_char, echo_dash, echo): New functions. + (cancel_echoing): Likewise. + (immediate_echo, echoptr): New variables. + (command_loop_1, request_echo, get_char, read_key_sequence): + (set_waiting_for_input, interrupt_signal): Related changes. + (get_char): No more declaration of request_echo. Local cleanups. + + (this_command_key...): New variables. + (Fexecute_extended_command, Fthis_command_keys): Related changes. + (init_keyboard, get_char): Likewise. + + * macros.c (Fstart_kbd_macro): Local cleanup. + + * minibuf.c (read_minibuf): No more delcaration of + Frestore_screen_configuration. + + * search.c (Fregexp_quote): Simplified. + +1990-05-08 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * process.c (Fopen_network_stream): Also handle numeric inet + addresses. + +1990-05-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * alloca.c: #ifdef __STDC__ rather than X3J11/ + +1990-05-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c (Fmake_symbolic_link): Delete old file if permitted. + +1990-05-02 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * data.c (Fstring_to_int): Delete disabled feature + of accepting `yes' and `no'. + + * xdisp.c (redisplay, redisplay_preserving_echo_area): + Two functions replace DoDsp. All callers changed. + (redisplay, redisplay_window): Eliminate `inhibit_hairy_id'. + (redisplay_window): No return value. Local cleanups. + + * alloc.c (Fmake_marker): Delete `modified' field. + * insdel.c (adjust_markers): Likewise. + + * abbrev.c (Fdefine_mode_abbrev): Clean up error message. + +1990-05-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_draw_rectangle, Fx_erase_rectangle): Simplified. + + * xterm.c (x_display_cursor): Don't check s->phys_x when drawing + cursor. + + * undo.c: New version. + * undo.h: No longer exists. + * alloc.c (Fgarbage_collect): Call truncate_undo_list. + (syms_of_alloc): Define vars undo-threshold and undo-high-threshold. + * buffer.c (Fget_buffer_create): Set undo_list to t or nil. + (Fbuffer_disable_undo, Fbuffer_enable_undo): Likewise. + (Fkill_buffer): Likewise. + (init_buffer_once): Set up local variable buffer-undo-list. + (syms_of_buffer): Likewise. + * buffer.h: New element undo_list in struct buffer. + * fileio.c (Finsert_file_contents): Store nil in undo_list. + + * buffer.c: Variable bf_text deleted. + (Fkill_buffer, SetBfp): Delete code that worked with it. + (SetBfx): Now a macro in buffer.h + * editfns.c (Fwiden, Fnarrow_to_region): Related changes. + (save_restriction_save, save_restriction_restore): Likewise. + (Finsert_buffer_substring): Likewise. + * fileio.c (Fdo_auto_save): Likewise. + * insdel.c (make_gap): Likewise. + * lread.c (readchar): Likewise. + * marker.c (Fmarker_position, marker_position): Likewise. + (Fset_marker): Likewise. + * xdisp.c (DoDsp): Likewise. + +1990-04-30 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * buffer.h: New macro R_ALLOC_SET_BUFFER for declaring all the + text pointers of a buffer to the relocating allocator. + * buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro. + * editfns.c (Finsert_buffer_substring): ditto. + * fileio.c (Fdo_auto_save): ditto. + * insdel.c (make_gap): ditto. + * xfns.c (adjust_scrollbars): Don't set bf_cur->text. + +1990-04-26 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * minibuf.c: Declare active_screen struct screen *, not + Lisp_Screen *. + +1990-04-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (XTupdate_end): Only x_display_cursor if s is x_input_screen. + +1990-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fns.c (Fy_or_n_p): If a C-g comes in and does not quit, quit by hand. + + * buffer.c (Frename_buffer): Allow renaming to same name it has. + +1990-04-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_open_connection): Attach xrdb to x_current_display. + +1990-04-17 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (dumpborder): Now only used for X10. + (highlight, unhighlight): New functions for X11. + +1990-04-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * cm.c (Wcm_init): Return -2 if screen size not specified. + * term.c (term_init): Special error message for that case. + +1990-04-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s-sunos4.h, s-sunos4shr.h (SYSTEM_MALLOC): Define it. + +1990-04-15 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_get_resource): Concatenate invocation_name before + the resource tag. + (Fx_create_screen): Use the latest resource id's. + +1990-04-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_get_resource): New subr. + (Fx_open_connection): Call x_load_resources. New parameter + xrm_string. + * xrdb.c: New file for doing resource manager stuff. + + * xscrollbar.h: New file for scrollbar bitmaps. + + * xselect.h: New file for the X selection stuff. + + * ymakefile: Take note of these new files. + +1990-04-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (x_term_init): Use MAXPATHLEN. + +1990-04-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * buffer.c (list_buffers_1): Get filename from list-buffers-directory. + +1990-04-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.c (coordinates_in_window): Return -1 if in modeline of + window. + (Fcoordinates_in_window_p): Return Qt if in modeline of window. + (Flocate_window_from_coordinates): Use next_screen_window if + MULTI_WINDOW is defined. + +1990-04-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (construct_mouse_event): Deal with the motion events + first. Only grab the mouse when in the scrollbar. + +1990-04-04 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.c (coordinates_in_window): Include mode line as part of + window. + + * xterm.c (XTread_socket): Initialize nbytes to 0. + (x_display_cursor): Don't draw if screen not selected. + + * xdisp.c (DoDsp): Additional checks for screen being visible. + +1990-04-03 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * editfns.c (Fmessage): If there is a global minbuffer screen, + raise it before displaying the message. + + * window.c (window_loop): Parameter SCREENS now affects which + screen is scanned for windows. All subrs calling window_loop must + pass a Lisp_Object here now. + +1990-04-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * window.c (window_loop): Additional parameter mini to control + minibuffer selection or not. + (Fget_lru_window): + (Fget_largest_window): + (Fget_buffer_window): + (Fdelete_other_windows): + (Fdelete_windows_on): + (Freplace_buffer_in_windows): Use that parameter. + +1990-03-29 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.c (Fselect_screen): Raise the selected screen. + + * window.c (Fget_buffer_window): + (Fget_largest_window): + (Fget_lru_window): New parameter all_screens. + (Fdisplay_buffer): Use the new param in Fget_lru_window, + Fget_buffer_window, and Fget_largest_window. + (Fscroll_other_window): Use new param in Fget_buffer_window. + * buffer.c (Fother_buffer): ditto. + + * xterm.c (x_display_cursor): Always draw the cursor if ON is + true. Don't check if the screen S is selected or equal to + mouse-screen. + + * xfns.c (Fx_track_pointer): Don't turn off cursor, just call + x_display_cursor. + +1990-03-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * data.c (Fmake_local_variable): Give the variable value nil if + unbound. + + * window.c (Fnext_window, Fprevious_window): For MULTI_SCREEN, + check if Vglobal_minibuffer_screen is non-nil and maybe call + next_screen. + + * screen.c (Fscreen_selected_window): + (Fscreen_root_window): If screen is nil, use selected-screen. + +1990-03-27 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (XTread_socket): SET_SCREEN_GARBAGED which returning + symbol which causes DoDsp to be invoked. + * keyboard.c (read_key_sequence): Don't SET_SCREEN_GARBAGED here. + + * screen.h: New macro SET_SCREEN_GARBAGED. + + * xfns.c: + * window.c: + * sysdep.c: + * keyboard.c: + * dispnew.c: Use the new macro. + +1990-03-25 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_own_selection): Only take one argument, string. + +1990-03-24 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (select_visual): Catch bullshit machines whose hardware + doesn't support the X server pixel depth by looking at colormap_size. + (x_decode_color): Use x_screen_planes to check for color. + +1990-03-23 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (x_display_cursor): Try using vertical bar cursor. + (clear_cursor): Call x_display_cursor for X11. + + * xfns.c: Zotzed Vx_pointer_mask. + (Fx_track_pointer): Call x_display_cursor if we just + wasted the cursor. Break out of loop if no display line. + Use mode line cursor if we're there. + (x_y_pos): New function. + (x_set_font): Dont' set x_font_{width,height}, they are gone. + +1990-03-22 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_track_pointer): Check that s == selected_screen each + time through loop. If event is nil, read mouse position. + + * keyboard.c (get_char): DoDsp only if selected_screen visible. + + * xterm.c (XTread_socket): Mark screen as visible only on expose + event. + + * emacs.c (main): Check here for "-d" option and set display_arg. + * dispnew.c (init_display): Set Vwindow_system, etc. if display_arg. + +1990-03-21 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (read_key_sequence): Don't DoDsp if the screen was + just unmapped. + (command_loop_1): Call the mouse motion handler before calling + read_key_sequence. + (interrupt_signal): Fixed typo checking screen type. + + * xfns.c (Fx_track_mouse): Don't crash because of null display + line. Don't set obj til call to get_char. + + * xterm.c (x_term_init): Disable SIGWINCH here. + + * fns.c (Fmember): New subr. + + * dispnew.c (init_display): Don't check env variable DISPLAY to + set Vwindow_system. Now done in startup.el. + + * emacs.c: Removed variables xargc, xargv. + +1990-03-20 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_track_pointer): Go faster. + + * screen.h: New macro SCREENP. + + * window.c: (Fminibuffer_window): Rewritten. + +1990-03-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c (perror): Control with HAVE_PERROR as well as HPUX. + * s-hpux.h (HAVE_PERROR): Define it. + +1990-03-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (command_loop_1): Restructured handling of X event + things. + (read_key_sequence): Handle new `unmapped-screen' symbol with new + Vunmap_screen_hook. + + * xterm.c (XTread_socket): Return unmapped-screen symbol if the + window for UnmapNotify events. + + * lread.c (Feval_region): GCPRO opoint. + +1990-03-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (command_loop_1): Call mouse-motion handler with + argument. Also, don't call undo-boundary. + + * process.c (create_process): Set the process group for BSD at + the same time as for USG. + +1990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (x_new_selected_screen): Set x_input_screen here. + +1990-03-11 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c: Vx_mouse_grabbed now Vmouse_grabbed. + (XTread_socket): Generate exited-window symbols on LeaveNotify + even if screen is focused. + + * xfns.c: Vx_mouse_grabbed now Vmouse_grabbed. + (outline_region): Now static. + (Fx_track_pointer): Check x_mouse_screen == s in loop. + +1990-03-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (encode_mouse_button): Correctly get the button from + Motion events. + + * xfns.c (x11_encode_mouse_button): Nuked. + (encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd. + + * keyboard.c (get_char): Re-set obj if we've keyboard-translated + c. + +1990-03-08 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c x_focus_screen no longer static. + (x_error_handler): Use XDefaultIOError. + + * screen.c (Ffocus_screen): New subr, removed Fscreen_has_focus. + (Fselect_screen): New, optional parameter no_enter. + (Frestore_screen_configuration): + (Fdelete_screen): Pass second parm Qnil to Fselect_screen. + + * window.c (Fdisplay_buffer, Fset_window_configuration): Pass + second parm Qnil to Fselect_screen. + +1990-03-07 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.c (Fscreen_has_focus): New subr. + (Fselect_screen): Use x_focus_on_screen to physically select the + screen. + +1990-03-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (x_set_mouse_position): Moved to xterm.c. + + * fileio.c (Fremove_directory): New subr. + + * screen.c (Frelease_focused_screen): Just call x_unfocus_screen. + + * xterm.c (XTread_socket): On FocusOut, if s isn't mouse screen, + return exited-window. On LeaveNotify, simplify if expression for + dumpborder. Reworked FocusIn/FocusOut events. + (x_unfocus_screen): Check that screen is x_focus_screen. + (x_set_mouse_position): Moved from xfns.c. Use new macro + XWarpPointer. + * xterm.h: New macro XWarpPointer. + + * buffer.c: Replaced Fbuffer_flush_undo with + Fbuffer_disable_undo. + * process.c: Ditto. + +1990-03-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (XTupdate_end): Use parameter s rather than + updating_screen. + (XTread_socket): On EnterNotify, don't check s != focus_screen + before selecting. On Focus In/Out don't set/reset mouse_screen. + +1990-03-04 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * eval.c If using X windows, include xterm.h. + (error): TOTALLY_UNBLOCK_INPUT if using X. + + * xterm.h: BLOCK_INPUT, UNBLOCK_INPUT: No signal stuff, just inc + and decrement x_input_blocked. + + * xfns.c (adjust_scrollbars): Don't BLOCK_INPUT. + (x_set_font): Check result of x_new_font. Call error if nonzero. + (x_set_icon_type): Check result of x_*_icon, maybe call error. + + * screen.c (Fdeiconify_screen): Use x_make_screen_visible rather + than x_deiconify_screen. Return screen. + (Fmake_screen_visible): Don't raise it here. Return screen. + + * xterm.c (XTwrite_glyfs): Don't show cursor if screen is + global-minibuffer-screen. + (x_new_selected_screen): Do dumpborder and check auto-raise here, + rather than XEvent switch. + (x_deiconify_screen): No longer exists. + (x_do_pending_expose, x_clear_cursor): + (x_invert_screen, scraplines, stufflines, x_bitmap_icon): + (x_text_icon, x_new_font): Don't BLOCK_INPUT. + (XTins_del_lines): BLOCK_INPUT here. + (XTupdate_end): Don't turn on cursor if minibuffer-screen. + (XTread_socket): On MotionNotify, just that screen is selected before + processing. + (XTtopos): If updating_screen, just set x and y, don't flush. + (x_bitmap_icon): + (x_text_icon): + (x_new_font): Return 1 if failed, don't call error. + (x_make_screen_visible): Raise the screen as well. + +1990-03-02 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.c (Frelease_focused_screen): Just check that screen is + selected. + +1990-02-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.c (Fselect_screen_focused, Frelease_focused_screen): New + subrs. + * xterm.c (x_focus_on_screen, x_unfocus_screen): New procedures + to implement focusing. + +1990-02-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * casefiddle.c: Doc fix. + +1990-02-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.h: Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock + and sigsetmask if available. + * xterm.c: Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD. + +1990-02-27 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * minibuf.c (Fread_from_minibuffer): Initialize pos to 0. + +1990-02-25 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (read_key_sequence): Handle mapped-screen event + symbol by calling new hook Vmap_screen_hook. + + * xterm.c (x_make_screen_invisible): Use the new Xlib function + XWidthdrawWindow. + (x_iconify_screen): Use the new Xlib function XIconifyWindow. + (XTread_socket): Return mapped-screen symbol to signal + mapped-screen events. + +1990-02-23 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (command_loop_1): Check the character for width 1 + before doing direct_output_forward, as well as the cursor position + on the screen. + + * xdisp.c (DoDsp): Use redisplay_windows rather than + redisplay_all_windows, which was removed. + +1990-02-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * unexencap.c: New file, waiting for papers. + +1990-02-22 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c: Removed much debugging stuff. + * xterm.c: Removed much debugging stuff. + (x_error_handler): For X11, if caught BadAlloc error while + converting selection (note new variable x_converting_selection), + just set new variable x_selection_alloc_error. + + * xfns.c: Massive changes for crufty selection processing details. + New X atoms: Xatom_clipboard, Xatom_delete, Xatom_insert_selection, + Xatom_insert_property, Xatom_pair. + +1990-02-21 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (kbd_buffer_store_char): Check NULL objects. + + * xterm.c (XTread_socket): Correctly advance bufp for all KeyPress + events. + +1990-02-20 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (kbd_buffer_get_char): Use KBD_BUFFER_SIZE rather + than sizeof kbd_buffer. + (read_key_sequence): Upon redraw-display symbol, set + screen_garbaged. + + * xterm.c (XTread_socket): On EnterNotify events, make sure to + return mouse event for both scrollbars and windows. + +1990-02-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * casefiddle.c (casify_region): Move the new statement. + +1990-02-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * casefiddle.c (casify_region): Return if beginning and end same. + +1990-02-18 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (kbd_buffer_store_char): Use KBD_BUFFER_SIZE rather + than sizeof kbd_buffer. + + * fns.c (Fy_or_n_p): Only accept ints from get_char. + +1990-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * minibuf.c (Fread_from_minibuffer): New arg POSITION. + + * unexsunos4.c: New file. Waiting for papers. + * s-sunos4shr.h: New file. + + * emacs.c (main) [RUN_TIME_REMAP]: Call run_time_remap. + + * ymakefile (LD): Let config file override with LD_CMD. + +1990-02-14 Joseph Arceneaux (jla at albert.ai.mit.edu) + + * keyboard.c (read_avail_input): pass read_socket_hook + KBD_BUFFER_SIZE rather than doing sizeof (buf). + + * xterm.c (XTread_socket): Set event.type = MotionNotify when + entering screen or scrollbar to fake motion event. + +1990-02-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * window.c (next_screen, prev_screen): moved to screen.c + (Fnext_window): If mini non-nil, count the separate minibuffer + screen. + * screen.c (Fnext_screen): new subr. + +1990-02-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xdisp.c (display_text_line, try_window, try_window_id, DoDsp): + Don't display overlay arrow on more than one line in a window. + +1990-02-12 Joseph Arceneaux (jla at albert.ai.mit.edu) + + * doprnt.c (doprnt): Expand size of tembuf to 512. + +1990-02-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * minibuf.c (Fread_no_blanks_input): Make second arg optional. + +1990-02-09 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * keyboard.c (get_char): Remember to set obj when executing macro. + (read_key_sequence): Handle the exited-scrollbar symbol. + Compare obj, not read_key_sequence_cmd. + + * xterm.c (x_make_screen_visible, x_deiconify_screen): Check + window-manager variable. + (x_make_screen_invisible, x_iconify_screen): Don't use new R4 + calls (they crash), do it ourselves. + (XTread_socket): Return exited-scrollbar symbol when doing so. + +1990-02-08 Joseph Arceneaux (jla at albert.ai.mit.edu) + + * xterm.c (construct_mouse_event): Rewritten to do mouse-motion + compression. All mouse processing now done here. + Also, just use nil and t for x-mouse-grabbed. Record buttons + pressed in new variable x_mouse_grabbed. XGrabPointer on button + depression. + * xfns.c (Fx_horizontal_line): use x_mouse_grabbed. + +1990-02-07 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xdisp.c (DoDsp): If only updating selected screen, but there is + a minibuffer screen, update it as well. + +1990-02-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_pixel_width, Fx_pixel_height): New subrs. + * xterm.h New components pixel_width, pixel_height, to x_display. + * xterm.c (XTread_socket): On configure notify, set these components. + + * window.c (Fset_window_configuration): Select the screen of the + root window if it's not the selected_screen. + * minibuf.c (read_minibuf): Remove all the screen selection stuff, + now that this is integrated in Fset_window_configuration. + +1990-02-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * screen.h: Declare Vglobal_minibuffer_screen. + * xdisp.c (DoDsp): Set all_windows if using global-minibuffer-screen. + +1990-02-03 Joseph Arceneaux (jla at geech) + + * window.c (Fset_window_configuration): Make sure to set + window->next to nil for a minibuffer-only screen. + + * screen.c (make_minibuffer_screen): Set mini_window->next nil. + +1990-02-01 Joseph Arceneaux (jla at albert.ai.mit.edu) + + * screen.c (make_screen): Set wants_modeline elt to 1. + + * window.c (Fset_window_configuration): Use screen->root_window + as arg to delete_all_subwindows rather than minibuf_window->prev. + + * minibuf.c (read_minibuf): Don't unwind with + Frestore_screen_configuration. Save selected_screen if different + than minibuf screen, and re-select it after reading minibuf. + * screen.c: #if 0 Fscreen_configuration, + Frestore_screen_configuration. + +1990-02-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-ibmps2-aix.h: Undef NEED_SIOCTL. + (SIGN_EXTEND_CHAR): Cast to `signed char'. + +1990-01-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xfns.c (Fx_track_pointer): rewrote this to loop while there are + mouse events. + + * xterm.c (XTread_socket): Return left-window-event symbol upon + LeaveNotify. + * keyboard.c (read_key_sequence): Handle this symbol. + +1990-01-27 Joseph Arceneaux (jla at churchy.ai.mit.edu) + + * xterm.c (x_display_cursor): Use dumpglyfs with SPACEGLYF for + cursor, as `XFillRectaogle's kill HP-BSD server. + + * xterm.h: Added nontext_cursor, modeline_cursor to x_display + structure. + * xfns.c (x_set_mouse_color, Fx_track_pointer): Changes to use + nontext_cursor. + +1990-01-25 Joseph Arceneaux (jla at albert.ai.mit.edu) + + * xterm.h: Changed the face structure for X11 to handle GCs and + pixmaps. + + * xterm.c (XTread_socket): Return a motion event when mouse enters + scrollbar or window. + (x_make_screen_invisible): Use the new X11R4 function XWithdrawWindow. + (x_iconify_screen): Use the X11R4 function XIconfifyWindow. + (dumpglyfs): Use the new face structure. + + * xfns.c (install_vertical_scrollbar, install_horizontal_scrollbar): + Accept EnterNotify events. Use XMapSubwindows rather than mapping + each one. + (Fx_set_face_font): New subr for X11 to set face GC. + +1990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dispnew.c (direct_output_for_insert): Give up if buf in 2 windows. + + * keyboard.c (command_loop_1): + Dumb bugs disabled special fast display for character motion. + + * xdisp.c (DoDsp): For cursor motion within line, + hpos result from compute_motion is relative to window. + +1990-01-24 Richard Stallman (rms at albert.ai.mit.edu) + + * eval.c (Fmacroexpand): Handle explicit macros ((macro ...) ...). + +1990-01-18 Joseph Arceneaux (jla at spiff) + + * undo.c (Fundo_more): Fixed typo. + +1990-01-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xdisp.c (display_text_line): When checking HPOS for continuation + line, compensate for w->left. + +1990-01-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dispnew.c [no FIONREAD]: Undefine SIGIO. + + * buffer.c (SetBfp): Use XTYPE to test for no selected window yet. + + * editfns.c, dispnew.c, fileio.c, process.c, sysdep.c, xterm.c: + Uniformly let NEED_TIME_H control use of time.h instead of sys/time.h. + + * xterm.h (TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT): Don't use + SIGIO if no FIONREAD. + +1990-01-15 Joseph Arceneaux (jla at spiff) + + * xfns.c (x_set_mouse_color): Set non-text pointer shape with new + variable Vx_nontext_pointer_shape. + + * keyboard.c: More checks for evil bug which trashes kbd_*_ptr. + + * m/hp300bsd.h: Try using BSD load average stuff. + +1990-01-11 Joseph Arceneaux (jla at spiff) + + * xfns.c (x_draw_pixmap): New routine. + +1990-01-10 Jim Kingdon (kingdon at pogo) + + * m/hp300bsd.h: New file + +1990-01-08 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_window_id): New subr. + + * screen.c (make_screen): Set wants_modeline elt to mini_p. + If mini_p 0, then set root_window->next to nil. + +1990-01-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * editfns.c (Fchar_after): Set N after coercing marker. + +1990-01-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * buffer.c (Fkill_all_local_variables): Force mode line update. + +1990-01-05 Joseph Arceneaux (jla at spiff) + + * insdel.c: Declare Vfirst_change_function. + + * keyboard.c (read_key_sequence): Function keys are now lisp symbols. + (kbd_buffer_store_char): Abort if store pointer past + buffer. Temproarry; This shouldn't be able to happen. + (read_key_sequence): #ifdef HAVE_X_WINDOWS code + which handles complex objects. + (command_loop_1): Check not termcap screen before + processing non-char input. + (kbd_{store,fetch}_char): More debugging checks. + + * screen.c (make_screen): Set root_window height to 9 if mini_p. + (make_minibuffer_screen): Set the mini window's next, + prev, and screen elements. + + * xterm.c (x_func_key_to_sym): New function, uses new variable + func_key_syms. + (XTread_socket): Use this in KeyPress event for function keys. + (XTflash): Draw solid rectangle in middle of screen. + (x_set_offset): Set the size hints as well when doing + this. + (XTflash): Just dumpglyfs instead of redrawing the + screen after flashing the rectangle. + + * lread.c: (syms_of_lread): defsubr Fread_event. + +1990-01-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * buffer.h, buffer.c (Vfirst_change_function): New Lisp variable. + * insdel.c (signal_before_change): Call that function. + + * keyboard.c (cmd_error): Don't crash if TAIL is nil. + +1989-12-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * minibuf.c: Doc fixes. + +1989-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (create_process): Unhold SIGCHLD in the child. + +1989-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (create_process): Treat HPUX like BSD for sigsetmask. + +1989-12-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fns.c (Fmapconcat): Gcpro SEP around mapcar1. + +1989-12-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dispnew.c (get_display_line): Don't touch X data if not using X. + + * syntax.c (Fscan_sexps): Fix fatal documentation typo. + + * lread.c: Include commands.h. + + * xterm.c (construct_mouse_event): Delete unreached return at end. + (x_wm_set_size_hint): #if 0 some broken code. + + * cmds.c (SelfInsert): Set HAIRY if have before or after change hooks. + * editfns.c (Fsubst_char_in_region, Ftranslate_region): + Call signal_after_change for chars changed. + * undo.c (Fundo_more): When undoing Uchange, do signal_after_change. + * casefiddle.c (casify_region): Do modify_region before the change, + signal_after_change afterward. + + * insdel.c (prepare_to_modify_buffer): Call signal_before_change. + (del_range, InsCStr): Call signal_after_change. + (signal_after_change, signal_before_change): New functions. + +1989-12-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dispnew.c (init_display) [VMS]: Downcase terminal type. + +1989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c: Use NEED_SIOCTL to control use of sioctl.h. + * m/m-mips.h, m/m-iris4d.h: Define that. + + * m/m-ibmps2-aix.h (NEED_SIOCTL, HAVE_UNION_WAIT, HAVE_PTYS): Define. + (HAVE_SYSVIPC, HAVE_SOCKETS, X_DEFAULT_FONT): Define. + (sigsetmask): #undef this. + +1989-12-15 Joseph Arceoeaux (jla at spiff) + + * lread.c (Fread_char): Catch error if read non-char. + (Fread_event): New subr. Return any input object. + +1989-12-14 Joseph Arceneaux (jla at spiff) + + * xfns.c: New variable Vx_no_window_manager. + (Fx_track_pointer): If bufp < 0, abort. + + * xterm.c (XTread_socket): When leaving window, set x_mouse_x and + x_mouse_y to -1. + +1989-12-13 Joseph Arceneaux (jla at spiff) + + * xterm.c (XTread_socket): On ConfigureNotify events, return + "redraw-screen" symbol. + (dumpborder): Only do border stuff if x-no-window-manager non nil. + Also check if there is a tracking rectangle. + (XTupdate_begin): If there is a mouse tracking rectangle, erase + it. + * keyboard.c (read_key_sequence): Return -2 for symbols. + (command_loop_1): DoDsp when 'redraw-screen arrives as input. + For mouse events, call Fexecute_mouse_event with + read_key_sequence_cmd instead of Vmouse_event. + +1989-12-08 Joseph Arceneaux (jla at spiff) + + * process.c (create_process): For not USG, properly set the + process group. + +1989-12-07 Joseph Arceneaux (jla at spiff) + + * term.c (topos): Under X Windows, abort if topos_hook not + correct. Temporary. + + * xfns.c (Fx_horizontal_line): New subr. + +1989-12-05 Joseph Arceneaux (jla at spiff) + + * keyboard.c (Fexecute_mouse_event): Don't set Vmouse_window here + for X11. + + * xterm.c (construct_mouse_event): Vx_mouse_grabbed now indicates + which keys are depressed. + (construct_mouse_event): Set Vmouse_window here. + +1989-12-04 Joseph Arceneaux (jla at spiff) + + * screen.c (coordinates_in_window): New function. + (Fcoordinates_in_window_p): Rewritten to use above. + + * dispextern.h: New element bufp for display_line structure when + using X windows. + * xdisp.c (redisplay_window): Set this to the position in the + buffer of the first char in this display line. + * dispnew.c (get_display_line): Set this to -1 here. + +1989-12-03 Joseph Arceneaux (jla at spiff) + + * alloc: Upped NSTATICS from 200 to 256. + + * xterm.c (XTread_socket): Report MotionNotify events only if + mouse has changed character position. Call x_read_mouse_position. + Set Vmouse_event here. + * xfns.c (x_read_mouse_position): Set new global variables + x_mouse_x and x_mouse_y. + + * keyboard.c: Vignore_mouse_events: New variable. + + * syntax.c (Fscan_sexps): Doc change. + + * lread.c (Fread_char): Return only chars. If new variable + Vignore_mouse_events non nil, execute any mouse events which + appear. + +1989-12-01 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'. + (x_rectangle): Draw half-size if negative argument. + + * xterm.c (XTread_socket): abort if garbage collecting when doing + mouse events. + + * ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined. + + * emacs.c (main): If BSD, set pgrp to pid. + +1989-11-30 Joseph Arceneaux (jla at spiff) + + * callint.c (Fcall_interactively): For case 'e', set varies[i] to + avoid entering in the command history. + + * xterm.c: Removed the function x_indicate_pointer_char. + (XTread_socket): When leaving window, erase mouse tracking box if + it exists. + * xfns.c (Fx_track_pointer): New function, does what + x_indicate_pointer_char used to. + (x_read_mouse_position): Subtract internal_border_width. + + * screen.c: No rubber-banding function for X11. + + * window.c (Fmove_to_window_line): Document string fix. + +1989-11-29 Joseph Arceneaux (jla at spiff) + + * lread.c (Fread_char): Return a Lisp_Object (directly from + get_char). + + * keyboard.c: + * xterm.c: Function keys now arrive as cons cells. + +1989-11-27 Joseph Arceneaux (jla at spiff) + + * keyboard.c (read_key_sequence): Handle Lisp_Symbols on input + (function keys). Also, handle these and mouse events with + prefixes (by ignoring the prefixes for now). + + * xfns.c New variable Vx_mouse_grabbed. + * xterm.c (construct_mouse_event): Use it. + (XTread_socket): Return Lisp_Symbol for function key. + + * buffer.c (reset_buffer_local_variables): Set function_key_map to + Qnil. + +1989-11-24 Joseph Arceneaux (jla at spiff) + + * buffer.h: Per-buffer function key maps. + + * keyboard.c (read_avail_input): Convert chars to Lisp_Objects in + case of stdin. + +1989-11-22 Joseph Arceneaux (jla at spiff) + + * keyboard.c (read_key_sequence): Check type of object returned + from get_char. Handle mouse events (set Vmouse_event) and + function keys. + (get_char_menu_prompt): Return a Lisp_Object. + (Fexecute_mouse_event): No longer set Vmouse_event. + Vmouse_window set here. + + * xterm.c (XTread_socket): KeyPress events now return + Lisp_Objects, as do ButtonPress events. + (construct_mouse_event): New function. + (encode_mouse_button): New function. + +1989-11-21 Joseph Arceneaux (jla at spiff) + + * keyboard.c (kbd_buffer_store_char, kbd_buffer_get_char): + Store and get Lisp_Objects. + (get_char): Use those Lisp_Objects. + + * fileio.c (Fread_filename_internal): If exactly complete, but + string was modified, return string. + + * minibuf.c (temp_minibuf_message): Pass correct arguments to Fsit_for. + +1989-11-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s-386-ix.h: New file. + +1989-11-17 Joseph Arceneaux (jla at spiff) + + * xterm.c (dump_rectangle): Flush the X queue. + +1989-11-16 Joseph Arceneaux (jla at spiff) + + * xmenu.c (xmenu_show): Use ButtonReleaseMask instead of + ButtonRelease. + + * fileio.c (Fmake_directory): New subr. + +1989-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * config.h-dist (C_SWITCH_SITE, LD_SWITCH_SITE): Mention these. + (HAVE_X11): Renamed from X11 and defined by default. + It shoukld have no effect when not using X. + +1989-11-14 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_get_selection, x_selection_arrival): use &event + instead of event. + (x_selection_arrival): For incremental selections, loop on + XGetWindowProperty if one is not enough. + +1989-11-13 Joseph Arceneaux (jla at spiff) + + * ymakefile: Just link if ../oldXMenu/libXMenu11.a already exists. + +1989-11-09 Joseph Arceneaux (jla at spiff) + + * m/m-sparc.h: If __GNUC__ use "-O", else "-O2" + +1989-11-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * search.c (Fstore_match_data): A marker pointing nowhere, treat as 0. + +1989-11-08 Joseph Arceneaux (jla at spiff) + + * search.c (Fmatch_data): fixed typo. + + * insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc. + * buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in + place of malloc, and set b->data. + (Fkill_buffer): Use BUFFER_FREE on b->data, rather than malloc on + b->p1 + 1. + * buffer.h: New element data in buffer_text structure. + New define for it, bf_data. + +1989-11-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * marker.c (Fset_marker): Don't force POS into visible range. + * window.c (set_marker_restricted): New function does what + Fset_marker did. All calls in this file now use the new function. + +1989-11-07 Joseph Arceneaux (jla at spiff) + + * buffer.h: Defines for allocating buffer variables. + + * ralloc.c: Completely rewritten. + + * alloc.c (xmalloc, xrealloc): Return 0 immediately for requests + of 0 size. + +1989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * search.c (Flooking_at, Fstring_match, search_buffer): + Record in search_regs_from_string whether matching against a string. + (Fmatch_data): Save data as integers if from a string. + + * s-umips.h: Now include either s-usg5-2-2.h or s-bsd4-3.h + and then override as needed. + * m-mips.h: System dependence deleted. + LD_SWITCH_MACHINE remains w/ options needed on all systems. + * m-pmax.h: A little of that (LIBS_DEBUG) moved here. + No need to undef LIBS_MACHINE. + + * fns.c (Fload_average): FIXUP_KERNEL_SYMBOL_ADDR is now general hook. + * s-umips.h: Define it. + + * sysdep.c: Handle BROKEN_FIONREAD. + +1989-11-03 Joseph Arceneaux (jla at spiff) + + * config.h-dist: Mention LISP_FLOAT_TYPE, GNU_MALLOC, and REL_ALLOC. + + * s/s-umips.h: New file. + +1989-11-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (Fopen_network_stream): Handle EINTR in connect. + Describe errno in err msg if connect fails. + +1989-11-02 Joseph Arceneaux (jla at spiff) + + * vm-limit.c: New file. + * ralloc.c: New file. + * ymakefile: Take vm-limit.o into account. + +1989-11-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * alloc.c (staticvec): Make this a simple vector of pointers + rather than an alias for a vector of chars. + +1989-11-01 Joseph Arceneaux (jla at spiff) + + * window.c: Moved some functions (save_window_save, + replace_window, unshow_buffer) around. + * search.c: Moved function place. + * lread.c: Moved function read_escape. + * unexec.c: Declarations for make_hdr, copy_text_and_data, + copy_sym. Declare mark_x as static void. + * dispextern.h: removed declaration of new_display_line. + + * emacs.c: Do malloc_init if GNU_MALLOC. + * gmalloc.c: (malloc_init): New function. + + * xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle, + outline_region, Fx_countour_region, Fx_uncontour_region): New + subroutines for drawing rectangles and things. + (Fx_point_coordinates): New subr. + +1989-10-31 Joseph Arceneaux (jla at spiff) + + * All .c and .h files: New copyright header. + +1989-10-30 Joseph Arceneaux (jla at spiff) + + * gmalloc.c: New GNU malloc. + + * emacs.c (main, Fdump_emacs): No malloc init if GNU_MALLOC. + + * ymakefile: Check if GNU_MALLOC defined. + +1989-10-27 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_pointer_char): New subr. + * xterm.c (x_indicate_pointer): New procedure. + + * alloc.c (Fmake_vector_from_list, make_vector_from_list): New subrs. + +1989-10-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xterm.c (x_term_init): + Negate arg to fcntl F_SETOWN if F_SETOWN_SOCK_NEG. + * keyboard.c (Fset_input_mode) [NO_SOCK_SIGIO]: + No interrupt input if using a socket. + * m-sequent.h: Define NO_SOCK_SIGIO, F_SETOWN_SOCK_NEG, MAIL_USE_FLOCK. + +1989-10-26 Joseph Arceneaux (jla at spiff) + + * xterm.c (x_handle_error_gracefully): Make sure to completely + release input before returning, using: + * xterm.h New macro TOTALLY_UNBLOCK_INPUT. + + * xmenu.c (xmenu_quit): No longer use this error_handler; use + default one. + +1989-10-25 Joseph Arceneaux (jla at spiff) + + * config.h-dist: Comment fix. + +1989-10-24 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_draw_lines, translate_vectors): New functions. + +1989-10-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * search.c (search_buffer): Always find null string. + + * window.c (window_loop): For UNSHOW_BUFFER, don't Fset_buffer + unless window is the selected one. + +1989-10-20 Joseph Arceneaux (jla at spiff) + + * xdisp.c (display_minibuf_message): Choose minibuf screen first + of all. Return if not visible. + +1989-10-19 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c (x_handle_error_gracefully): New procedure to handle + non-fatal X errors. + (x_error_handler): Use it. + (acceptable_x_error_p): New macro. + + * xfns.c (Fx_own_selection): Use second parameter SCREEN. + + * xdisp.c: (message, message1): No longer displays messages + when using X but not yet mapped. + +1989-10-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-pyramid.h (NO_ARG_ARRAY): Define if using GCC. + +1989-10-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * vmsfns.c (process_command_input): Call clear_waiting_for_input. + +1989-10-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * syntax.c (scan_words): If words_include_escapes not 0, + treat Sescape and Scharquote like Sword. + (syms_of_syntax): Define Lisp variable. + + * process.c (wait_reading_process_input): Get rid of kbd_count. + Use detect_input_pending. + * sysdep.c (select, read_input_waiting): Likewise. + (read_input_waiting): Don't read directly into kbd_buffer; + use kbd_buffer_store_char. + * keyboard.c: Don't define kbd_count. + + * keyboard.c (read_key_sequence): Reject the prefix char generated + for a Meta char, if it finds a non-prefix definition. + +1989-10-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (wait_reading_process_input): READ_KBD==2 means + wait until have mouse input. + * xfns.c (Fx_get_mouse_event): Use that. + * xterm.c (mouse_event_pending_p): New subroutine. + +1989-10-13 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c (x_selection_arrival): + (x_send_incremental): + (x_answer_selection_request): New procedures for incremental + selection transfer. + +1989-10-12 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * lread.c (complete_filename_p): New function which replaces + absolute_filename_p. This one doesn't consider "~" valid. + +1989-10-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * buffer.c: Comment fix. + +1989-10-11 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c: (Fx_open_connection) New X atoms Xatom_incremental and + Xatom_multiple. + + * xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH. + + * process.c (child_sig): Check pid <= 0 in case WNOHANG not defined. + +1989-10-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * termcap.c (tgetent, gobble_line): Always store null at end of bfr. + Allocate one extra byte at end to ensure space. + Clean up order of arithmetic when updating ptrs into buffer + after xrealloc. + +1989-10-10 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c (Fx_open_connection): Make all X Atoms here. + + * xterm.c: (x_iconify_screen): + (x_iconify_screen): Cleaned up this code. + (x_term_init): Removed warpmouseondeiconify stuff. + +1989-10-09 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xdisp.c (DoDsp): Make sure to call unhold_window_change after + before all returns. + + * minibuf.c (read_minibuf): Changed set_mouse_position to + Fset_mouse_position. + + * xterm.c (XTread_socket): dumprectangle (whole screen) instead of + DoDsp in ConfigureNotify event. + (x_wm_set_size_hint): New calculations for size_hints. + + * screen.c (Fset_mouse_position): No more function + set_mouse_position; use x_set_mouse_position directly. + + * xfns.c (x_set_cursor_color): Really decode Vx_cusor_fore_pixel + if set. Define new cursor before freeing old. This may eliminate + a server bug on the Sony. + Also check for invisible cursors. + (x_set_mouse_color): Check for invisible pointers. + (x_resize_scrollbars): BLOCK_INPUT whilst doing operations. + (adjust_scrollbars): Likewise. + +1989-10-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m/m-hp9000s800.h (XUNMARK): Delete definition. + (S_IFLNK): Do not undef it. + +1989-10-03 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * dispnew.c (get_display_line): If screen not visible, abort. + +1989-10-02 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c (x_make_screen_visible): Set s->visible, unset + s->iconified for HAVE_X11. + +1989-09-29 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c (XTread_socket): Check screen s before proceeding for + MapNotify event. + + * xterm.c: No longer sets the variable mouse_down_timestamp. + * xfns.c: (Fx_get_mouse_event) mouse_timestamp + (formerly mouse_down_timestamp) set here. Also, mask out upper 9 + bits before doing XSET. + +1989-09-28 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c (Fx_geometry): Kludge for the case of position `-0'. + (Fx_get_mouse_event): Also return the time stamp as last list elt. + (Fx_color_display_p): + (Fx_defined_color): + (x_decode_color): + (defined_color): Eliminate screen argument. + (Fx_create_screen): No more ColorMap component to display.x. + * xterm.h: Likewise. + +1989-09-27 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c (Fx_own_selection): + (Fx_get_selection): + (x_disown_selection): new funcs, which use new variables + Vx_selection_value, x_begin_selection_own, mouse_down_timestamp, + requestor_time, requestor_window, property_name, and + x_begin_selection_own. + + * xterm.c (XTread_socket): Only do stuff if s for FocusOut under X11. + SelectionClear: + SelectionRequest: + SelectionNotify: New events to handle the selection inter-client + communication mechanism. + ButtonPress: Set mouse_down_timestamp. + +1989-09-26 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c: New variable Vx_cursor_fore_pixel. + +1989-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lread.c (openp): Don't ! the result of `access'. + +1989-09-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c (Fread_file_name_internal): Try to work properly + if dirs are specified using environment vars. Preserve use of vars. + +1989-09-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c: Comment fix. + +1989-09-18 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_get_cut_buffer): XFree the data returned by + XFetchBytes. + +1989-09-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c (Fwrite_region): Reinstall #if 0 around fstat. + +1989-09-12 Joseph Arceneaux (jla at spiff) + + * xfns.c (defined_color): New function to test if a color is + currently defined. + (x_decode_color): Use defined_color. + (Fx_defined_color): New subr. + (select_visual): Select the appropriate X11 Visual. + (Fx_open_connection): Use select_visual. screen_visual now + global and used when making emacs windows. + (Fx_color_display_p): New subr. + +1989-09-11 Joseph Arceneaux (jla at spiff) + + * fileio.c (Fwrite_region): fixed typo. + + * keyboard.c (Fdiscard_input): fixed typo. + + * window.c (Fnext_window): fixed typos. + + * alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing + the associated operations. + + * dispnew.c (init_display): + (Fsleep_for, Fsit_for): + * process.c (Faccept_process_output): + * keyboard.c ({clear,set}_waiting_for_input): + (quit_throw_to_get_char, get_char): + * xdisp.c (DoDsp, message, message1): Undid changes of Aug. 23 + (see below); accept window changes most of the time. + +1989-09-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c: Eliminate kbd_count, and use two pointers, + kbd_fetch_ptr and kbd_store_ptr. Assume buffer is empty when + they are equal. This should eliminate timing error. + (kbd_buffer_store_char): Update kbd_store_ptr when storing. + Don't ever fill the entire buffer. + (kbd_buffer_get_char): Update kbd_fetch_ptr when fetching. + (stuff_buffered_input): Likewise. + (get_input_pending): Compare the two pointers. + + * fileio.c (Fwrite_region): Reenable using fstat rather than stat + to get the modtime of the file just written, except on VMS and APOLLO. + +1989-09-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * emacs.c, doc.c, filelock.c: Move Emacs header includes after + system header includes, and #undef NULL in between. + +1989-08-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c [SYSV_PTYS]: If `titan', include some other files. + +1989-08-29 Joseph Arceneaux (jla at spiff) + + * fileio.c: read-file-name replaced with new version, formerly + called new-read-file-name. + +1989-08-26 Richard Stallman (rms at apple-gunkies.ai.mit.edu) + + * window.c (Fscroll_other_window): Use save-excursion (in effect) + to save and restore current buffer and point. + (window_scroll): If selected window's buffer isn't current, + make it current, using save-excursion to go back. + +1989-08-24 Richard Stallman (rms at apple-gunkies.ai.mit.edu) + + * Use two variables to convey reason for synch process death, + to avoid consing in signal handler. + They are synch_process_death and synch_process_retcode. + * callproc.c (Fcall_process): Use both variables. + * process.c (child_sig): Set both variables. + +1989-08-24 Joseph Arceneaux (jla at spiff) + + * xterm.c (x_wm_set_size_hint): Use new ICCCM values for size_hints. + +1989-08-24 Richard Stallman (rms at apple-gunkies.ai.mit.edu) + + * buffer.c: Doc fix. + +1989-08-24 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_create_screen): X11 part. Set height and width to 0 + before calling change_screen_size. + + * buffer.c (kill-all-local-variables): Changed doc string. + +1989-08-23 Richard Stallman (rms at apple-gunkies.ai.mit.edu) + + * dispnew.c (init_display): Call hold_window_change. + (Fsleep_for, Fsit_for): Temporarily unhold, while waiting. + * process.c (Faccept_process_output): Likewise. + * keyboard.c ({clear,set}_waiting_for_input): Temporarily unhold. + (quit_throw_to_get_char, get_char): Rehold. + * xdisp.c (DoDsp, message, message1): + Unhold and rehold momentarily before any real work. + + * Makefile (CPP): Use $(CC). + +1989-08-22 Joseph Arceneaux (jla at spiff) + + * xfns.c (x_set_mouse_color): Use new variables Vx_pointer_mask, + Vx_pointer_shape. + +1989-08-21 Richard Stallman (rms at apple-gunkies.ai.mit.edu) + + * alloc.c (malloc_warning): Do nothing if ignore_warnings. + (init_alloc_once): Set ignore_warnings while initializing allocation. + + * buffer.c: Doc fix. + +1989-08-21 Joseph Arceneaux (jla at spiff) + + * xterm.c (x_calc_absolute_position): New function to calculate + positive screen position. + (x_set_position): Use it. + (x_reset_cursor): No longer exists. + + * xfns.c (x_set_mouse_color): Reset the cursor even if there's no + X window. + (x_figure_window_size): Use x_calc_absolute_position. + (x_set_mouse_color): Rewrote this function. Always set cursor and + its color. If the window exists, then attach the cursor to it. + No longer uses x_reset_cursor. + (x_create_window): + (x_set_background): + (x_set_foreground): Use x_set_mouse_color instead of x_reset_cursor. + +1989-08-18 Richard Stallman (rms at hobbes.ai.mit.edu) + + * vmsfns.c: Define PRV$V_... syms if prvdef.h does not. + +1989-08-18 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_geometry): New subr. + (x_figure_window_size): Don't worry about "geometry" here anymore; + now done in x-win.el. + (x_icon): Look in parms for iconic-startup rather than in variable. + +1989-08-16 Joseph Arceneaux (jla at spiff) + + * xfns.c (x_set_*_scrollbar): Don't destroy a scrollbar if it + doesn't exist. Also set scrollbar size only if actually creating + one. + (x_set_name): Don't do anything if the X window doesn't exist. + Set the icon name as well. + (x_window): Set the class hints for the window. + +1989-08-16 Richard Stallman (rms at hobbes.ai.mit.edu) + + * lread.c (Fload): Fix unterminated comment. + + * scroll.c (scrolling_max_lines_saved): Replace fixed threshold of 20 + with 1/4 of average length of lines. + +1989-08-13 Joseph Arceneaux (jla at spiff) + + * ymakefile: Do ${make} for oldXMenu. + +1989-08-13 Richard Stallman (rms at hobbes.ai.mit.edu) + + * eval.c: Doc fix. + +1989-08-12 Richard Stallman (rms at hobbes.ai.mit.edu) + + * emacs.c (main): Check for failure opening -t device. + Fatal error if terminal isn't a real terminal. + + * window.c (Fscroll_other_window): Let Vother_window_scroll_buffer + specify a buffer to scroll. + +1989-08-11 Richard Stallman (rms at hobbes.ai.mit.edu) + + * dispnew.c: Handle BROKEN_FIONREAD as in other files. + +1989-08-09 Joseph Arceneaux (jla at spiff) + + * ../oldXMenu/Makefile: Removed all the unneccessary X stuff. + +1989-08-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c (barf_or_query_if_file_exists): When signalling, + provide the expected args for a file-error. + +1989-08-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c: Let NEED_BSDTTY control include of bsdtty.h. + + * process.c [BSD or STRIDE]: If ioctl.h fails to define O_NDELAY, + and we need it, try fcntl.h. + + * s-bsd*.h, s-rtu.h, s-umax.h, s-unipl*.h: Define HAVE_UNION_WAIT. + * m-stride.h: Likewise. + * process.c: Decide which type to use with `wait' + according to HAVE_UNION_WAIT. If WAITTYPE already defined, + assume everything all set up for this. + + * m-hp9000s300.h: Unless NOT_C_CODE or NO_SHORTNAMES, + define WAITTYPE and WRETCODE, and include sys/wait.h. + +1989-08-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * callproc.c (child_setup): Get rid of junk in #if 0. + +1989-08-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * abbrev.c (Fdefine_abbrev): Allow nil spec'd as expansion. + (Fexpand_abbrev): Eliminate abbrev length limit; use alloca. + Eliminate redundant tests, always true. + Record positions of both start and end of abbrev. + Handle whitespace following the abbrev, before point. + + * callproc.c (Fcall_process_region): Use unwind-protect to delete + temp file. + + * lread.c (load_unwind): Free the pointer-word malloc'd in Fload. + +1989-08-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * emacs.c (Fdump_emacs): Doc fix. + +1989-08-02 Joseph Arceneaux (jla at spiff) + + * xfns.c: Reorganized several functions to be in same order as the + enum list. + (x_set_border_color): For X11, don't set pix to -1 for + gray values. + (Fx_create_screen): Simplified this function even more. + +1989-07-31 Joseph Arceneaux (jla at spiff) + + * keymap.c: New subrs Fuse_local_mouse_map, Fcurrent_local_mouse_map. + + * xfns.c (x_set_mouse_color): + (x_set_cur): No need to redraw display after doing these. + + (Fx_get_mouse_event): Accept motion events. + (x11_encode_mouse_button): Encoding a la X11, except for one + kludge. This is used only for motion events. + + * xterm.c (XTread_socket): Handle motion eveots. + +1989-07-26 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_create_screen): I couldn't take it any more, the + ugliness of this routine offended me too deeply. It is now + completely rewritten for X11 and uses subroutines: + (x_figure_window_size) + (x_create_window) + (x_icon) + (x_make_gc) + + (Fx_draw_rectangle): + (Fx_erase_rectangle): New subrs. + + * m/m-intel386.h: Changes in LOAD_AVE_TYPE, LOAD_AVE_CVT, and + FSCALE to make loadst work correctly. + +1989-07-24 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fmodify_screen_parameters): Check s->output_method + before looping through alist. + + (Fx_create_screen): Call x_default_parameter for font. + Don't add the scrollbar widths when making the main window: this + is done when the scrollbar is actually made. + + (x_set_vertical_scrollbar): Set v_scrollbar_width here instead of + in install_vertical_scrollbar. Also, pass that function macros + PIXEL_WIDTH, PIXEL_HEIGHT as args. + + (x_set_horizontal_scrollbar): Likewise. + + * xterm.c: (x_set_window_size): Don't call the things called + anyway upon the ConfigureNotify event. + (x_set_offset): Use the screen-size lisp variables for these + calculations. + + * xterm.h: Added the screen parameter declarations from xfns.c for + X11. + +1989-07-21 Joseph Arceneaux (jla at spiff) + + * sysdep.c: Don't include sioctl.h on mips. + + * buffer.c (Flist_buffers): Pass prefix as arg. + + * editfns.c (Finsert_char): Insert at most 256 chars at a whack. + + * xterm.c (x_draw_box): Moved cursor box right by one pixel. + +1989-07-20 Joseph Arceneaux (jla at spiff) + + * xfns.c: New variable x_screen_visuals, set if Fx_open_display, + to be used in screen-color-p. + + * process.c (create_process): Don't call setpgrp_of_tty here. + Also, do setpgrp for USG regardless of HAVE_PTYS. + + * callproc.c (child_setup): Ignore argument set_pgrp and always do + setpgrp_of_tty. + (Fcall_process): Don't call setpgrp_of_tty here. + + * keyboard.c (command_loop_1): Make sure Vprefix_arg is NULL + before finalizing_kbd_macro_chars; + +1989-07-19 Joseph Arceneaux (jla at spiff) + + * xfns.c (Fx_rebind_key): Completely rewrote this function for + X11. + +1989-07-13 Joseph Arceneaux (jla at spiff) + + * emacs.c: + * process.c: + * unexec.c: + * m/m-ibmrt-aix.h: Changed IBMRTAIX to IBMAIX. + * sysdep.c: Likewise. Also, don't define our closedir if IBMAIX. + * m/m-ibmps2-aix.h: New file. + +1989-07-12 Joseph Arceneaux (jla at spiff) + + * xdisp.c (message, message1): If using x, but haven't mapped the + window yet, use noninteractive output. + + * dispnew.c (Fredraw_display): Don't redraw a screen which is not + visible. + + * xterm.c (x_set_window_size): Don't DoDsp if screen isn't visible. + + * xfns.c (x_set_mouse_color) + (x_set_border_color) + (x_set_cursor_color) + (x_set_background_color) + (x_set_foreground_color): Don't redraw when screen isn't visible. + +1989-07-11 Joseph Arceneaux (jla at gluteus) + + * xterm.c (x_term_init, XTread_socket): Use ConnectionNumber for + both X10 and X11. This is #defined for X10. + + * screen.c (Fset_screen_width, Fset_screen_height): These now take + a SCREEN argument. + +1989-07-10 Joseph Arceneaux (jla at gluteus) + + * xterm.c (x_set_window_size): Call x_wm_set_size_hint. + (x_new_font): Don't call x_wm_set_size_hint. + + * xfns.c (x_set_internal_border_width): Don't call + x_set_resize_hint, and call x_set_window_size after BLOCK_INPUT. + + * screen.c, dispnew.c (Fset_screen_width, Fset_screen_height): + These functions have moved to screen.c. + +1989-07-07 Joseph Arceneaux (jla at sugar-bombs.ai.mit.edu) + + * eval.c (Ffuncall): Handle 6 arguments. Also, print a nice error + message if there are more than 6 args. + + * fns.c: (Fyes-or-no-p): + * minibuf.c: (read_minibuf_unwind): + (Fread_minibuffer): + (Fread_no_blanks_input): + (Fcompleting_read): Extra arg to read_minibuf. + + * callint.c (Fcall_interactively): + * keyboard.c (Fexecute_extended_command): + * minibuf.c: (Fread_command): + (Fread_function): + (Fread_variable): + (Fread_buffer): Extra arg to Fcompleting_read. + +1989-07-05 Joseph Arceneaux (jla at spiff) + + * minibuf.c (read_minibuf): New argument back_n is number of + characters to back-up point by. + (Fcompleting_read): Same. + * fileio.c: (Fnew_read_file_name): New version of Fread_file_name + using the above features. + (Finsert_file_contents): Check for negative file length. + +1989-07-03 Joseph Arceneaux (jla at spiff) + + * xfns.c: (x_pixel_width, x_pixel_height) New functions. + * screen.c: (Fscreen_pixel_size): New subr. + +1989-06-30 Joseph Arceneaux (jla at spiff) + + * xterm.c: Use invocation_name as argument to XGetDefaults. + +1989-06-29 Joseph Arceneaux (jla at spiff) + + * xterm.c (x_error_handler) #ifdef sony_news use XDefaultError + instead of XPrintDefaultError due to weirdness in Sony library. + * xterm.c: Avoid infinite raise/lower, enter/leave cycle when both + auto_raise and auto_lower are set by checking times between + consecutive Enter events. + +1989-06-27 Joseph Arceneaux (jla at sugar-bombs.ai.mit.edu) + + * screen.c: (Fselect_screen) + * window.c: (Fselect_window) The previous strategy was bugging the + lisp stuff, so these are now rewritten. + +1989-06-26 Joseph Arceneaux (jla at galapas.ai.mit.edu) + + * cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been + removed. + (losecursor): This function now a #define in cm.h. + + * xterm.c (x_iconify_screen): Send message to root window to do + this, as per latest Inter-Client Communications Conventions. This + is commented out until it's implemented by X. For now, do it with + the iconic_state hint. + (x_deiconify_screen): For X11, just Map the window, as per the new + ICCC. + (x_make_screen_visible): Only handle visible and iconified screen + elements for X10; these variables are handled in event processing + for X11. + (x_make_screen_invisible): Send an UnmapNotify event to the root + window to aprise the window manager of the change. + (XTread_socket): Catch VisibilityNotify events. + +1989-06-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fsplit_window): If horizontal, round left window size up. + +1989-06-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * cm.h (cmplus): Improve formatting. + Use losecursor when reach end of line, if losewrap. + + * cm.h: New fields to handle multi-line and multi-char motion, + and both max and min cost for certain operations. + * term.c (term_init): Init those fields. + + * term.c (clear_end_of_line_raw): Don't clear last char of last line + if autowrap. + + * abbrev.c (Finsert_abbrev_table_description): Make 2nd arg optional. + +1989-06-23 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp + function x-color-screen-p in x-win.el. + (x_set_cursor_color): New method: first disallow same cursor as + background, then if cursor not foreground, use it as cursor + foreground. + +1989-06-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lisp.h (XPNTR): Don't define if already defined. + +1989-06-22 Joseph Arceneaux (jla at cream-of-wheat.ai.mit.edu) + + * screen.c: New subrs Ficonify_screen, Fdeiconify_screen, + Fread_mouse_position, Fset_mouse_position. + + * xterm.c: New functions x_deiconify_screen, x_iconify_screen. + +1989-06-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fsplit_window, change_window_height): + Enforce minimum of 2 for window_min_width and window_min_height. + +1989-06-22 Joseph Arceneaux (jla at galapas.ai.mit.edu) + + * dispnew.c (unhold_window_change): Don't set and unset in_display + before and after calling change_screen_size. + +1989-06-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * buffer.c (Fkill_buffer): Ignore errors deleting auto-save file. + Delete only if delete-auto-save-files. + + * data.c (Fmake_local_variable): Don't change value if unbound. + +1989-06-20 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * screen.c (Fselect_screen): Use x_set_mouse_position instead of + x_enter_screen. + + * xterm.c (x_enter_screen): Deleted, now merged with + * xfns.c (x_set_mouse_position): If the position is negative, use + the center screen position. + + * data.c (swap_in_symval_forwarding): Declared tem1. + (Fset): Changed variable name void to voide. Also, set it to a C + true/false, rather than Qt or Qnil. + +1989-06-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * eval.c (Fdefvar): Operate on default value if sym is buffer-local. + (Fdefconst): Likewise. + + * Allow buffer-local variables to be void in one buffer + or in the default value. + * data.c (swap_in_symval_forwarding): New function. + (Fboundp, Fsymbol_value): Use that. + (default_value): New function. + (Fdefault_value): Use that. + (Fdefault_boundp): New function, uses that. + +1989-06-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile: New variable OLDXMENU has filename of libXMenu.a + as a target. Make temacs depend on it. + +1989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile [HAVE_X11, HAVE_X_MENU]: Build oldXMenu. + * xmenu.c: Get XMenu.h from sibling dir. + + * buffer.c (Fkill_buffer): Return t if buffer is killed. + Delete auto-save file if any. + +1989-06-09 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * window.c: initialize auto_new_screen to 0 (nil). + + * screen.c (make_screen): added auto_lower to the list of screen + elements initialized. + (make_minibuffer_screen): likewise. + +1989-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fset_window_point): Don't lose if window's buffer is + not current. + +1989-06-08 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c (Fx_open_connection): Added 9 Lisp variables + defined by the screen and server. + +1989-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-pmax.h: New file. + +1989-06-08 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c: removed superfluous definition of gray_bits. + +1989-06-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-hp9000s300.h: Define NEED_BSDTTY unless NOMULTIPLEJOBS. + +1989-06-07 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * emacs.c (Fkill_emacs): If under X, call + Fx_close_current_connection. This has fixed the "bad file" bug. + * xfns.c (Fx_close_current_connection): Added this subr which for + the moment serves only to close the X-connection when killing emacs. + +1989-06-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-hp9000s800.h: Define NEED_BSDTTY here. + * s-hpux.h: Not here. + +1989-06-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s/s-hpux.h: Define NEED_BSDTTY. + +1989-06-06 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c (x_new_selected_screen): Make the new selected_screen + and it's selected_window's screen be the same. + (x_enter_screen): Calculate the middle of the screen, and warp the + mouse there. Also, raise the screen before doing so. + +1989-06-05 Joseph Arceneaux (jla at cream-of-wheat.ai.mit.edu) + + * xterm.c (x_set_window_size): If not already in DoDsp (checked + with variable in_display) then DoDsp here. Handles redisplay + after screen configuration. + (x_error_handler): Print out stuff about the error if we're in + debug mode. + + * dispnew.c (change_screen_size): No longer call DoDsp here. + +1989-06-05 Chris Hanson (cph at kleph) + + * syntax.c (Fmodify_syntax_entry): Change documentation string to + reflect earlier change to action of `p' syntax bit. + +1989-06-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lread.c (read1): Don't accept "" in middle of string. + +1989-05-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * search.c (Freplace_match): If \N has nothing to insert, + insert nothing. + +1989-05-29 Joseph Arceneaux (jla at gracilis.ai.mit.edu) + + * xfns.c: (Fx_create_screen): If parms is nil and + Vx_screen_defaults isn't, then use them. + (Fdisplay_buffer): Call Fx_create_screen with Qnil. + +1989-05-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * syntax.c (scan_lists): Once within a word, treat Squote like Sword. + +1989-05-24 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * dispnew.c (change_screen_size): DoDsp if not pretend. + +1989-05-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * search.c (skip_chars): Dumb error checking for \. + +1989-05-22 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * screen.c (Fselect_screen): Under X, basically just warp the + cursor into the desired screen. The event handler will then do + the right thing. + (Frestore_screen_configuration): Don't set the mouse position. + + * window.c (Fselect_window): If window's screen is not selected, + call Fselecte_screen. + (Fdisplay_buffer): Call Fx_create_screen with x-screen-parameters + as argument instead of nil. + + * keyboard.c (clear_waiting_for_input): Don't call + x_new_selected_screen here. + + * xterm.c (XTread_socket): Add case slots for CirculateNotify and + CirculateRequest events. + +1989-05-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * doc.c (Fsubstitute_command_keys): Evaluate \\<...> keymap + in proper buffer. + + * keymap.c (Fapropos_internal): New Lisp function, old apropos + but only returns a list. + +1989-05-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (Fopen_network_stream): Don't set kill-without-query. + +1989-05-19 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c (x_new_selected_screen): This now takes a struct screen + pointer as paramter. + * (XTread_socket): call x_new_selected_screen *before* dumpborder. + +1989-05-16 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c: (x_window_to_scrollbar): If the caller's not interested + in the names--passing 0 for last two parameters--just return the + screen pointer. + + * xterm.c (x_enter_screen): Added this function for warping the + pointer into a screen. + +1989-05-16 Chris Hanson (cph at kleph) + + * syntax.c (scan_lists, scan_sexps_forward): Treat characters + whose "prefix" bit is on as whitespace when they are encountered + between expressions. When they occur within expressions they are + treated according to their syntax code. + +1989-05-16 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c: (x_new_selected_screen): Don't call Fselect_screen. + Just do everything here. + + * window.c (Fselect_window): If the screen associated with the + window is not selected, warp the mouse, cause an EnterNotify event + which then causes the proper screen to become selected. This does + *not* call Fselect_screen. + + * screen.c (Fselect_screen): Now this is *only* a lisp subr. It + just calls Fselect_window on the selected window of the screen. + +1989-05-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * editfns.c (Fsubst_char_in_region): If NOUNDO, do increment tick, + but maybe also increment save-tick. + +1989-05-15 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c (x_set_window_size): Only one #ifdef HAVE_X11 due to new + macro in: + * xterm.h: New macro XChangeWindowSize for both X10 and X11. + + * xfns.c (Fx_create_screen): Use XCreateWindow instead of + XCreateSimpleWindow to directly set some extra attributes. + +1989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * syntax.h (SYNTAX_PREFIX): New macro. + * syntax.c (Fmodify_syntax_table): Handle `p'; set new flag. + (describe_syntax): Describe new flag. + (Fbackward_prefix_chars): Move back over such chars. + + * lread.c (read1): Dumb errors in last change. + +1989-05-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lread.c (read1): Error if EOF after `?' or in string. + + * sysdep.c (init_sys_modes) [IBMRTAIX]: Typo; had s for sg. + +1989-05-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * s/s-usg5-3.h: Define HAVE_SYSVIPC? + + * alloc.c (Fmake_byte_code): If purifying, purecopy all elements. + + * ymakefile (LIBXMENU): Use -loldX. + Find libXMenu11.a in special place. + +1989-05-12 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c (Fx_create_screen): If user has specified + `x-iconic-startup' then start emacs in iconic form. + Look for icon position in `icon-left' and `icon-top', or use + window postion. + + * xterm.c (x_term_init): If server doesn't respond, use fatal + instead of error. Also tell user about -d option. + +1989-05-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c (init_sys_modes, reset_sys_modes): + Handle TIOCGLTC even if HAVE_TERMIO. + + * print.c (Qprint_escape_newlines): New variable. + * minibuf.c (read_minibuf): Make it t locally in minibuffers. + + * fileio.c (Fcopy_file): Check for error on close. + +1989-05-10 Joseph Arceneaux (jla at corn-chex.ai.mit.edu) + + * xfns.c (adjust_scrollbars): Don't subtract 2 from + h_scrollbar_height when calculating `length'. + +1989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * eval.c (call_debugger): Set entering_debugger. + (find_handler_cause): Don't enter debugger if that's set. + (Fbacktrace): Clear it; we are presumably in the debugger. + + * m/m-sps7.h: New file. + +1989-05-08 Joseph Arceneaux (jla at rice-chex.ai.mit.edu) + + * xterm.c (XTread_socket_hook): For X11, on map and unmap events + check the window manager hints for iconification status. + + * xterm.c (x_make_widow_icon): For X11, just request + iconification of the window manager. + +1989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m/m-clipper.h: New file. + +1989-05-07 Joseph Arceneaux (jla at corn-chex.ai.mit.edu) + + * xfns.c (adjust_scrollbars): Don't subtract 2 from + v_scrollbar_width when calculating `height'. + + * xfns.c (x_set_foreground, x_set_border_pixel): Finished color + coordination. Scrollbar border, thump-arrows, and slider pixmap + linked with foreground color; slider border with window border. + +1989-05-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lread.c (read1): Handle octal integers. + + * macros.c: Doc fix. + + * search.c (Fstore_match_data): Allow ints instead of markers. + + * keyboard.c (get_char_menu_prompt): New function; does menu prompting + based on current keymaps. + +1989-05-05 Joseph Arceneaux (jla at gracilis.ai.mit.edu) + + * xfns.c (Fx_set_face): Rewrote the doc-string and renamed the + parameters. + +1989-05-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * unexec.c: New control parameters COFF_BSD_SYMBOLS, KEEP_OLD_PADDR, + KEEP_OLD_TEXT_SCNPTR, ADJUST_TEXT_SCNHDR_SIZE, ADJUST_TEXTBASE, + HEADER_INCL_IN_TEXT. + + * unexec.c: Define IN_UNEXEC as flag for config.h. + + * keymap.c: Fapropos, etc., deleted. (Now in Lisp code.) + + * eval.c (Fcommandp): Byte code object is command if interactive slot + exists at all. + +1989-05-05 Chris Hanson (cph at kleph) + + * process.c [HPUX && !NOMULTIPLEJOBS]: Include , which + defines TIOCGPGRP. + +1989-05-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * data.c (Faref, Farray_length): Handle byte-code objects. + * fns.c (Flength, concat): Likewise. + + * data.c (Faref, Faset, Farray_length): Rename arg VECTOR to ARRAY. + + * m/m-hp9000s300.h: Undefine NOMULTIPLEJOBS. + + * keyboard.c (Fcommand_execute): Treat bytecode object as function. + + * callint.c (Fcall_interactively): Separate decoding of fcn + from handling of it. + + * alloc.c (Fmake_byte_code): Renamed from Fmake_compiled_code. + Make it pure if Vpurify_flag is non-nil. + (Fpurecopy): Handle byte-code objects. + + * keyboard.c (get_char): Use Fsit_for for echoing timeout, not alarm. + Do this before timeout for auto-save since the latter is longer. + (request_echo): Function deleted. + ({set,clear}_waiting_for_input): No need for echo_now, echo_flag. + +1989-05-04 Joseph Arceneaux (jla at gracilis.ai.mit.edu) + + * xterm.c (x_lower_window, x_raise_window): Don't do anything if + the window isn't visible. + + * xfns.c (x_set_foreground_color): Recolor the scrollbar windows + appropriately, compatible with xterm. + + * xterm.c (x_reset_cursor): Do cursor recoloring. + +1989-05-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fns.c (Frandom): With number as arg, return value < that number. + + * sysdep.c [USG, BSD4_1] (random): Call `rand' twice, to get + 30 bits of significance. + +1989-05-03 Joe Arceneaux (jla at gracilis.ai.mit.edu) + + * xterm.c (x_draw_box): Use the cursor_gc. + * xfns.c: (x_set_cursor_color, x_create_screen): Do a better job + with cursor colors, and use 0 line width for the cursor_gc. + +1989-05-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * Begin changing representation of compiled functions. + * lisp.h (enum Lisp_Type): New type code Lisp_Compiled, like a vector. + (COMPILED_*): Names for slots in those vectors. + * alloc.c (Fmake_compiled_code): New function. + * eval.c (Fcommandp, Feval, Ffuncall, funcall_lambda): + Handle fcns of type Lisp_Compiled. + (Fcommandp, Fapply): Avoid directly nested ifs. + * print.c (print): Handle Lisp_Compiled objects. + * callint.c (Fcall_interactively): likewise. + * doc.c (Fdocumentation): likewise. + + * keyboard.c (Fopen_dribble_file): nil as arg means close it. + + * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c: + * casefiddle.c, cmds.c, data.c, dired.c, dispnew.c, doc.c, editfns.c: + * eval.c, fileio.c, filelock.c, floatfns.c, fns.c, keyboard.c: + * keymap.c, lread.c, minibuf.c, mocklisp.c, print.c, process.c: + * screen.c, search.c, syntax.c, undo.c, vmsfns.c: + Many doc fixes. + +1989-04-30 Joseph Arceneaux (jla at hobbes) + + * xterm.c (XTring_bell): Wasn't passing selected_screen to XTflash. + Fixed this. + + * xterm.c (XTread_socket): Don't check if server died under + X11. Temporary. + +1989-04-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fdelete_other_windows): Bug getting top edge. + +1989-04-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c (get_char): Auto save if enough time elapses. + (auto_save_timeout): New Lisp variable. + + * xdisp.c (try_window, try_window_id): Set w->redo_mode_line + if should show percentage instead of `Bot'. + +1989-04-29 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c (x_term_init): Don't set visible bell, as it pre-empts + .emacs control. + +1989-04-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * doc.c (syms_of_doc): Make Vdoc_file_name a Lisp variable + named internal-doc-file-name. + +1989-04-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-news.h: m-news800.h renamed. + Removed EXPLICIT_SIGN_EXTEND and COMPILER_REGISTER_BUG. + Removed SEGMENT_MASK and sigmask. + LOAD_AVE_TYPE is now `double'; LOAD_AVE_CVT changed too. + Define m68000 if not defined. + +1989-04-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile: If COFF_ENCAPSULATE, define LD as gcc -nostdlib. + + * sysdep.c: Unconditionally include sys/ioctl.h. + + * m/m-mips.h [USG]: Define LIBS_TERMCAP. + If HAVE_X11, define HAVE_VFORK. + +1989-04-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m/m-altos.h: Use termcap, not terminfo. + Define COFF_ENCAPSULATE if using gcc. + Use built-in alloca if using gcc. + Define PURESIZE. + + * lread.c (absolute_filename_p): On ALTOS, @ means absolute. + + * process.c: Missing #endif. + * fileio.c (Finsert_file_contents): Define `p' for last change. + * buffer.c, floatfns.c: Typos in DEFUN doc strings. + * keyboard.c: Typo in DEFVAR_LISP doc string. + + * window.c (Fdelete_other_windows): Fix confusion about type of W. + +1989-04-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile (LDFLAGS): Forgot to use LD_SWITCH_SITE. + + * xterm.c (XTflash): Draw the bars here. + (x_invert_screen): Change to invert entire window. + (stufflines): Changed args to XClearArea. + (XTread_socket): Clean up handling of KeyPress events. + For LeaveWindow, ignore uninteresting ones and handle autolower. + For FocusIn, ignore if unknown window, and handle autoraise. + For MotionNotify, add real handling for X11. + For ConfigureNotify, count width of scroll bars. + Don't call change_screen_size redundantly; ignore linked expose events. + Update left and top pos if nec. + For button events, ignore if not in known window or scrollbar. + (x_new_selected_screen): Takes screen as arg. + (x_error_handler): Arg type different for X11. + (x_set_window_size) [HAVE_X11]: Call change_screen_size + before x_wm_set_size_hint. + (x_make_window_visible): Make scroll bars visible too, if any. + (x_lower_window): New fn. + (x_wm_set_size_hint): Take account of width of scroll bars. + Ior specified hint flags with those already set. + + * xterm.h (HSCROLL_HEIGHT): HSCROLL_WIDTH is renamed. + (MAXWIDTH): Increased to 300. + (MAXHEIGHT): Increased to 100. + (DISPLAY_SCREEN_ARG): Remove parentheses. + (ButtonReleased, WhichMouseButton): Delete definitions. + + * xmenu.c: Adapted to new X interface. X11ONLY replaced with xDISPLAY. + Many X11 conditionals removed. + + * xfns.c (x_set_cursor_color): Special case if matches foreground. + (Fx_create_screen): Typo for HSCROLL_HEIGHT. + Use BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT. + Set PRETEND arg to change_screen_size. + Delete gray_bits; this value made global. + Don't call install_*_scrollbar here. + (x_set_horizontal_scrollbar): Define this for real. + (x_set_vertical_scrollbar): Corrent args to install_vertical_scrollbar. + (install_vertical_scrollbar): New local slider_pixmap, and set it. + Delete locals GC_values, temp_gc. + Change arrow_width, arrow_height (appears to be undefined) to 16. + Un-if-0 this code. + Use border_pixel, not foreground_pixel, for scrollbar. + (install_horizontal_scrollbar): Define this for real. + (adjust_scrollbars): Handle horizontal scrollbar. + Define XMoveResizeWindow as XConfigureWindow if X10 to simplify. + (x_resize_scrollbars): Remove #if 0 from quick-exit case. + Really handle horizontal scrollbar. + Simplify using new macro. + (Fx_get_mouse_event): Mostly ignore events other than buttons. + Use many new macros to handle X10 and X11. + (encode_mouse_button): New fn: encoding of which button, broken out. + + * xfns.c (left_arror_cursor, etc.): New vars. + (x_screen_parm, init_x_parm_symbols, x_set_screen_param): + Define X_PARM_AUTOLOWER. + + * xdisp.c (display_string, redisplay-window, DoDsp): + Use SCREEN_WIDTH, SCREEN_HEIGHT. + +1989-04-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * indent.c (compute_motion): Use SCREEN_WIDTH. + * dispnew.c (update_line): Use SCREEN_WIDTH. + (update_screen): Use SCREEN_HEIGHT. + +1989-04-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c: rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and + Vtemp_buffer_show_hook to ..._function. + + * keyboard.c: rename mouse_hook to mouse_event_function. + + * buffer.c, buffer.h, cmds.c: blink-paren-hook and auto-fill-hook + renamed to -function. + + * fileio.c (Finsert_file_contents): Allow quit in read. + (Fwrite_region): Allow quit in write. + +1989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * doprnt.c (doprnt): Comment out %b since sprintf can't do it. + + * Change X11 to HAVE_X11 everywhere. + + * m-sun3.h: Define C_SWITCH_MACHINE as -fsoft. + +1989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c: Don't define wstopsig, wtersig if already defined. + + * sysdep.c [VMS] (sys_getenv): Copy the string before returning it. + + * m-alliant.h: Define `vector'. + +1989-04-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (wait_reading_process_input) [sun]: If SIGIO failed + to be sent, send it by hand. + +1989-04-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fdelete_other_windows): recenter window to avoid scrolling. + +1989-04-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * indent.c: Include screen.h. + + * indent.c (pos_tab_offset, Fvertical_motion): Compute internal width + correctly and uniformly. + + * xdisp.c (try_window, try_window_id): Use exact internal width + to update tab_offset. + (try_window_id): pos_tab_offset value needs adjustment only if + starting a line in middle of a character. + +1989-04-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c [USG]: If TIOCGWINSZ defined, include sioctl.h. + +1989-04-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * eval.c (Fbacktrace): Set Vprint_level to 3 throughout. + + * fns.c (Fload_average): nlist data structure is funny on convex. + + * window.c (scroll_command): scroll at least 1 line in specd direction. + + * cm.c (calccost): NTABS was off by 1 sometimes; take account of + the starting position modulo 8. + + * fileio.c (Fexpand_file_name): Don't simplify /../ at start of name. + + * callint.c: doc fixes. + + * process.c (create_process): + On all USG systems, not just IRIS and AIX, don't pre-open pty's tty. + Move the setpgrp done for USG (no real change). + Tell child_setup to do a setpgrp. + * callproc.c (child_setup): New arg says whether to setpgrp. + Never setpgrp on USG. + (Fcall_process): Tell child_setup not to setpgrp. + + * sysdep.c (init_sys_modes, reset_sys_modes): Don't try to hack + TIOCGLTC, TIOCGETC, etc. if HAVE_TERMIO. + Don't bother to undef these for XENIX. + +1989-04-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile (LIBES): Put LIBX first; it may depend on LIBS_MACHINE. + + * m-sequent.h: Define HAVE_ALLOCA. + +1989-04-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * term.c (term_init): Can't use scroll region if no abs positioning. + +1989-04-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (Fopen_network_stream): close desc. if connect fails. + +1989-03-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * minibuf.c (Fall_completions): gcprotect ALLMATCHES and TAIL, + not STRING. + + * keyboard.c (read_avail_input): Handle EBADSLT like EAGAIN. + +1989-03-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * term.c (term_init): Either ic or ip or im or IC => can insert chars. + + * minibuf.c (read_minibuf_unwind): Ensure minibuf writable for erasure. + +1989-02-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-convex.h: Undefine NO_ARG_ARRAY. + Changed defns of DATA_SEG_BITS and XINT. + Define alloca for GCC compilation. + +1989-02-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m-ibmrt-aix.h: Define BROKEN_FIONREAD. + +1989-02-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keymap.c (Fdefine_prefix_command): Set both value and fn defn, + with separate syms specified for each purpose. + +1989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * callproc.c (Fcall_process): Open /dev/null with O_WRONLY. + +1989-02-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (window_scroll): Allow scrolling to very end (empty screen) + if that's exactly where we wanted to scroll to. + +1989-02-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * data.c (Fkill_local_variable): New local to simplify big stmt. + +1989-02-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xdisp.c (display_text_line): cvt chars to glyfs for overlay arrow. + + * sysdep.c (init_sys_modes, child_setup_tty) [IBMRTAIX]: + Don't ignore BRK, and don't signal it. + + * process.c (pty): An IBMRTAIX conditional. + (create_process): Another here. + +1989-02-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keymap.c (Fdefine_prefix_command): Use Ffset, not Fset. + +1989-02-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c (Fset_visited_file_modtime): New fn. + + * xfns.c (Fx_create_screen) [X10]: XCreateWindow wants pixmaps as args. + +1989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dispnew.c (Fsit_for): It accepts 3 args. + +1989-02-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xterm.c (XTread_socket): For X10, make EVENT an XKeyPressedEvent. + (x_set_resize_hint): Call XSetResizeHint. + + * process.c: Declare interrupt_input. + + * sysdep.c (init_sys_modes): TIOCSTART, not TCSTART. + +1989-01-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xterm.h (struct x_display): `GC' renamed `gc' in all field names. + Field `ColorMap' renamed to `color_map'. + (face_gc_values): face_GC_values renamed. + +1989-01-28 Joe Arceneaux (rms at sugar-bombs.ai.mit.edu) + + * xterm.h (face_GC): Var deleted. + (struct x_display): New field face_GC. + (VSCROLL_WIDTH, HSCROLL_WIDTH): Moved here. + (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): New vars. Eliminate them! + (BLACK_PIX_DEFAULT): Typo in definition. + (WHITE_PIX_DEFAULT): Typos in definitions; was the black default. + + * xterm.c: Include ioctl.h only if BSD. + Include termio.h otherwise. + (XMapWindow) [X11]: Typo in definition. + (METABIT): New definition; maybe not needed. + (hostname, id_name, invocation_name, Vcommand_line_args): New vars + declared for main icon title. + (x_debug): Init to 1 if XDEBUG defined. + (dumpglyfs) [X11]: Changed args to XDrawImageString. + If debugging, do XFlushQueue. + Use screen's face_gc rather than old global one. + (XTflash) [not BSD]: avoid `struct itimerval'; use `alarm'. + (events): New table of event type names. + (XTread_socket): EVENT is now an XEvent even on x10. + Translate modifier key 1 into meta-bit. + For EnterNotify event, don't dumpborder or x_new_selected_screen + if there is an x_focus_screen. + For LeaveNotify event, don't ignore due to nonzero subwindow. + For ConfigureNotify, change screen size. + Do `select' check for SIGHUP only if HAVE_SELECT. + (x_new_selected_screen): An arg, SCREEN. + (x_display_cursor): dumpglyfs args changed. + (x_draw_box): Add GC arg to XDrawRectangle; change other args. + (clear_cursor): Change args to XClearArea. + (dumpborder): check x_input_screen, not selected_screen. + (x_text_icon): For X11, new arg to XGetDefault. + Cast values stored in icon_label. + (x_term_init): Hair to calculate name for icon. + Don't init_sigio unless SIGIO defined. + Call Fset_input_mode. + For X11, new arg to XGetDefault. + Set _Xdebug if debugging. + (x_new_font) Use XGetFont. + Get GC values from the screen structure. + (x_reset_cursor): Don't call XRecolorCursor. + (x_set_window_size): Call x_wm_set_size_hint, not x_set_size_hint. + (x_set_resize_hint): For X11, call x_wm_set_size_hint. + (x_wm_set_size_hint, x_wm_set_window_state, x_wm_set_icon_pixmap): + (x_wm_set_icon_position): New fns for X11. + + * xfns.c: For X11, include Xutil.h + (VSCROLL_WIDTH): Moved to xterm.h. + (face_GC): Don't declare it. + (id_name): Declare this. + (x_decode_color): Check `white' and `black' first of all. + (x_set_foreground_color) [X11]: Reset foreground and background. + (x_set_background_color) [X11]: Missing arg to XSetWindowBackground. + (x_set_cursor_color) [X11]: Reset foreground and background. + (x_read_mouse_position) [X11]: Changed call to XQueryPointer. + (x_set_mouse_position) [X11]: Add args to XWarpPointer. + (Fx_create_screen): Set some temporary geometry parms at the beginning. + For X11, changed setup of iconidentity, and implement rubber-banding. + For X11, implement merging individual geometry parms. + For X11, changed args to XCreateSimpleWindow. + For X11, call x_wm_set_size_hint. + Specify name when creating icon. + Don't call XSetForeground, XSetBackground before making border tile. + New var `cursor_bits'. Init the screen's GC's. + + * screen.c (Frubber_band_rectangle): For X11, just return nil. + +1989-01-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * buffer.c (Fbuffer_modified_tick): New fn. + + * window.c (Fnext_window): Accept 3 args from Lisp. + +1989-01-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c (sys_suspend): Handle case of SIGTSTP but not BSD. + +1989-01-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c (init_sys_modes): Do TIOCSTART if def, like TCXONC. + +1989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (wait_reading_process_input): New 2nd arg is extra usecs. + All callers changed. + * dispnew.c (Fsit_for, Fsleep_for): New 2nd arg says 1st arg + counts in milliseconds. + + * buffer.c (Fkill_all_local_variables): Implement permanent locals. + +1989-01-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keymap.c (get_keyelt): Allow indirection within (STRING . DEFN). + +1989-01-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (wait_reading_process_input): If select returns there + is kbd input, but detect_input_pending can't find it, signal SIGIO. + This may avoid the X loop-on-logout bug. + + * process.c (wait_reading_process_input): Flush fix_screen_hook. + * termhooks.h, term.c: likewise. + + * xdisp.c (Fredraw_display): Don't do set_terminal_modes. + * dispnew.c (Fredraw_screen): likewise. + + * eval.c (Fcond): If no args, return nil. + +1989-01-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * eval.c (Fbacktrace_frame): Require one arg. Return nil if too high. + +1989-01-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * minibuf.c (read_minibuf): Set Vminibuf_scroll_window before + switching windows. + + * xterm.c (XTread_socket): If no HAVE_SELECT, wait for input + if new arg WAITP is non0. Do this by not bothering to test for + presence of input before reading some. + Check for dead connection only if new arg EXPECTED is nonzero. + All callers changed (keyboard and sysdep). + + * Simplify keyboard input. + * keyboard.c (read_avail_input): Don't assume buffer is empty. + Don't call get_input_pending; do FIONREAD here. + Don't do FIONREAD if read_socket_hook, just tell it don't wait. + Arg EXPECTED is passed to read_socket_hook. + (input_available_signal): Use read_avail_input. + (gobble_input): Use read_avail_input; arg EXPECTED passed along. + (get_input_pending): let gobble_input do the work. + + * VMS keyboard input should have interrupt_input nonzero. + * keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set + interrupt_input to 1. + (get_input_pending): Special case deleted. + +1989-01-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c (auto_save_1): Always make auto-save file owner-writable. + + * eval.c (Fbacktrace_frame): New fn. + + * buffer.h: Define `fieldlist' field in a buffer. + * buffer.c (Fregion_fields): Return list of fields overlapping + specified region. + (syms_of_buffer): New variable buffer-field-list. + (reset_buffer): Clear the fieldlist. + (init_buffer_once): Set up default and flag for buffer-field-list. + * insdel.c (prepare_to_modify_buffer): If check_protected_fields, + call Fregion_fields to detect error. + Delete buffer_modify_hook. + + * callint.c (Fcall_interactively): Bind `command-debug-status' + for each interactive command. + + * keyboard.c (command_loop_1): Count # commands read. + (num_input_keys): New Lisp variable. + + * m/m-gould.h, m/m-ibmrt-aix.h, m/m-sequent.h, m/m-sparc.h, + m/m-sun3.h, m/m-symmetry.h: Define A_TEXT_SEEK. + * unexec.c (copy_text_and_data): Don't check A_TEXT_OFFSET, + just A_TEXT_SEEK. + * unexconvex.c: Likewise. + + * unexconvex.c: machine/*.h unconditionally. + + * process.c (pty): Delete RTU, HPUX, IRIS alternatives to + PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF. + * s/s-hpux.h: Define PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF. + * s/s-rtu.h: Likewise. + * s/s-iris*.h: Define PTY_TTY_NAME_SPRINTF. + + * sunfns.c (Fsun_change_cursor_icon): Avoid ambiguity in eval order. + +1989-01-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * data.c (Fdefault_value): If var set up with default value as current, + take the current value slot, more up to date than the default slot. + +1989-01-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dispnew.c (init_display): don't handle SIGWINCH if using X. + + * fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save. + This avoids duplicate messages and allows M-x auto-save to turn it on. + + * lread.c (Fload): Look in Vafter_load_alist. + (syms_of_load): Define after-load-alist. + +1989-01-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dired.c (Fdirectory_files): 4th arg NOSORT non-nil means don't sort. + + * syntax.c (scan_lists): Change Sendcomment case so that + ignoring comments works even for newline-terminated comments. + + * minibuf.c (read_minibuf): Default Vminibuf_scroll_window + to the window that was selected. + +1989-01-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fns.c (do_yes_or_no_p): Typo, call2 => call1. + + * eval.c (Fbacktrace): Each frame item should have a newline. + + * emacs.c (Fkill_emacs): Don't run hook if noninteractive. + + * eval.c: Define Vrun_hooks. + (syms_of_eval): Initialize Vrun_hooks. + + * indent.c (Fmove_to_column): Use del_range; Fdelete_backward non ex. + + * ymakefile (objs, floatfns.o): Re-add this file. + (LIBX): Install X11 case. + + * ymakefile (LIB_GCC): Now a cpp macro, like all other LIB_... + Define null if not using GCC. + + * lread.c (unreadchar): New function to unread a char + by stuffing it back into its stream. Now unread chars + work properly between multiple reads. + (UNREAD): Now calls that function. + (readchar): Don't us `unrch'; variable deleted. + (various): Don't initialize `unrch'. + (readevalloop): No need to save and restore `unrch'. + (read1): Don't unread a -1. + + * keymap.c (get_keyelt): If keymap defn is (STRING . FOO), + remove just FOO. Will help HierarKey. + +1989-01-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * unexmips.c [IRIS_4D]: Don't include fcntl.h. + (unexec): Look for LIT8, LIT4 sections iff they are defined. + + * buffer.c (Fkill_all_local_variables): Force redisplay of mode lines. + +1989-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * emacs.c (main): Do the setpgrp before handling -t. + + * keyboard.c (Fsuspend_emacs): Use run-hooks to run suspend-hook + and suspend-resume-hook. + + * buffer.c (Fkill_buffer): Execute kill-buffer-hooks + with buffer to be killed as current buffer. + + * buffer.c (count_modified_buffers): ModExist renamed. + + * emacs.c (Fkill-emacs): Execute kill-emacs-hook. + + * fileio.c (auto_save_1): Set auto_save_mode_bits from visited file. + (Fwrite_region) [not VMS]: If auto-saving, write file with that mode. + + * fileio.c (Fwrite_region): If START is a string, write that string. + +1989-01-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lisp.h (XMARKBIT, XSETMARKBIT): If mark bit is sign bit, + use sign-test for XMARKBIT; value is then 1 or 0. + Make XSETMARKBIT test 2nd arg for nonzeroness only. + + * m/m-mips.h: Last batch of changes are only for USG. + (XMARKBIT, XSETMARKBIT): Deleted; the new default ones are good. + + * editfns.c (Fformat): Use princ for %s. + New format %S converts everything (even strings) with prin1. + * doprnt.c (doprnt): Treat %s like %S. + + * print.c (Fprin1_to_string): Opt 3nd arg non-nil does princ. + +1988-12-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * data.c (Fstring_to_int): Correct max # args. + +1988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile (LIBES, LIB_GCC): If using GCC, link with gnulib. + +1988-12-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * editfns.c: Many doc improvements. + +1988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lisp.h (CHECK_NATNUM): New macro. + + * indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column + or change tab to spaces if necessary. + + * m/m-iris4d.h: (conditionally) delete DEFAULT_ENTRY_ADDRESS + and change START_FILES and LIB_STANDARD. + + * s/s-iris3-6.h: Define sigblock as no-op. + + * m/m-mips.h: Cancel defn of VIRT_ADDR_VARIES, `static'. + Undef SIGIO. Define BROKEN_FIONREAD. + Define various HAVE_... flags a la BSD. + Add options, libraries for linking and compilation. + + * unexmips.c (unexec): Handle additional optional sections now likely. + New scheme for recording what sections there are. + Make handling of the LIT8,LIT4 sections conditional (not on IRIS). + + * fns.c (do_yes_or_no_p): New interface to Lisp function yes-or-no-p. + Allows the user to redefine that function. + All callers of Fyes_or_no_p changed. + + * data.c (Fmakunbound): Don't allow nil or t as arg. + + * m/m-orion105.h (LOAD_AVE_TYPE): Now `long'. + +1988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * dispnew.c (unhold_window_change): + Don't signal SIGWINCH. Instead, do pending size-changes here, + while holding any new size-changes that arrive, so they become + pending. Loop around to get the new pending ones. + (change_screen_size): Clear any previous pending size-change. + + * search.c (place): Was clipping to (1- (point-max)) by mistake. + +1988-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fdelete_window): Give all this window's space + to one adjacent sibling. + +1988-12-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keymap.c (describe_alist): Don't lose on non-cons-cell alist elts. + (Fwhere_is_internal): Don't fail to step down the alist. + (Faccessible_keymaps): Considerable confusion in alist case. + + * lread.c (Feval_current_buffer, Feval_region): + Save and restore point as a marker, not a number. + Don't restore it at all if printflag is t. + + * print.c (float_to_string): Mostly rewritten; output format + is now a printf %-spec. + (Qfloat_output_format): Doc changed to match. + +1988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ymakefile (obj): Include floatfns.o. + * data.c (syms_of_data): Fix typo Snumberp_or_marker_p. + + * Allow keymaps to have other keymaps as tails. + Thus, one keymap can inherit from another. + * keymap.c (Fwhere_is_internal): Ignore non-cons elements of alist. + (Faccessible_keymaps): Support symbols as alist indices. + Ignore alist elements that aren't conses. + + * m/m-sun386.h (LDAV_SYMBOL): Define as "avenrun" with no underscore. + + * lread.c (read_escape): Support ANSI C `\x...' hex escapes. + + * bytecode.c (Fbyte_code): fix jump operators for change in `pc'. + +1988-12-21 Joe Arceneaux (jla at gracilis.ai.mit.edu) + + * ymakefile: Commented #endif LISP_FLOAT_TYPE. Also changed + the code pertaining to X11 to use the same files as X10. + + * bytecode.c (Fbyte_code): Declared unsigned char *pc. + +1988-12-19 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xterm.c: Finished a first cut of the X11 version. + +1988-12-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * sysdep.c (select): `buf' is now unsigned char. + +1988-12-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m/m-elxsi.h: Don't define WORD_MACHINE or CANNOT_DUMP. + Do define symbols for load average. + Define COFF and ADJUST_EXEC_HEADER. + +1988-12-16 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * sink.h,sinkmask.h: Same file now works for both X10 and X11. + * xterm.c,xfns.c (x_text_icon) Can now take new name as parameter. + +1988-12-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m/m-is386.h: No need to undef HAVE_PTYS, HAVE_SOCKETS, SYSV_PTYS + since s-usg5-3.h no longer defines them. + +1988-12-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * bytecode.el (Fbyte_code): Cache the pointer in the string + to avoid recalculating it at each fetch. + Also turn off the error check for stack overflow/underflow. + +1988-12-14 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * xfns.c: Made the first cut for X11 version. + * xterm.c: (x_reset_cursor) Did the X11 version. + +1988-12-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c (Fexecute_mouse_event): Set Vmouse_event. Doc fix. + Run Vmouse_hook at the end. + (syms_of_keyboard): Define var `mouse-hook'. + +1988-12-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * term.c (insert_glyfs): Typo, was fetching G twice. + +1988-12-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keymap.c (describe_buffer_bindings): Print mouse bindings too. + (describe_map): If have a chartab, use mouse-describe-key for prefixes. + * keymap.c (describe_{map,map_tree,alist}, describe_vector): + Extra arg mapping chars to their names. Calls changed. + * syntax.c (describe_syntax_1): Call changed. + + * keymap.c (Vglobal_mouse_map): Make it exist unconditionally. + + * keymap.c (apropos1): Clean up. + Do where-is-internal only if there is a function definition. + Use mouse-describe-key to turn mouse key sequences into strings. + (Fwhere_is): Check the mouse map too; + (Fwhere_is_internal): New arg is global map to use. + All callers changed in keypad.c and doc.c. + (where_is_string): New fn cvts result of Fwhere_is_internal to string. + +1988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * emacs.c (stack_bottom): New variable, set in main. + * alloc.c (Fgarbage_collect): Save a copy of the entire stack contents. + +1988-12-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * editfns.c (Funix_umask, Funix_sync): New functions. + + * process.c (Fsignal_process): New function. + +1988-12-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * editfns.c (Fsubst_char_in_region): Fix typo in when to un-modify buf. + +1988-12-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (create_process): Take the usg's setpgrp and the close-and + -open of the tty outside the TIOCNOTTY conditional, since TIOCNOTTY + is always missing outside BSD. Now the TIOCNOTTY conditional controls + only the TIOCNOTTY. + +1988-12-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * lread.c (Feval_current_buffer, Feval_region): + If there is an error, don't restore original point. + + * s-hpux.h (SHORT_CAST_BUG): Define this, for HPUX version 6.2. + + * ymakefile (THIS_IS_YMAKEFILE): Define macro to tell m- files + to do special things. + + * m/m-ns16000.h: (LOAD_AVE_TYPE, etc.): Don't define them if USG. + * m/m-ns16000.h [USG]: Define various macros differently. + (munnari!sibyl.eleceng.ua.oz.au!ian@uunet.uu.net). + + * sysdep.c (reset_sys_modes): Don't output a CR here. + * term.c (reset_terminal_modes): Do it here, but first + do a newline if it's a magic cookie terminal. + + * sysdep.c (sys_suspend) [USG]: Use `nice' to set subshell pri. to 0. + + * sysdep.c (TIOCSETN) [USG]: Use TCSETAW, not TCSETA. + + * sysdep.c (setpriority) [USG]: No longer a no-op; use `nice'. + + * keymap.c (Fwhere_is_internal): New 4th arg inhibits looking thru + indirect definitions--so you can search for one. + + * alloc.c, fns.c, search.c: Doc fix. + +1988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * process.c (read_process_output): Insert with insert_before_markers. + + * filelock.c (lock_file_1, lock_superlock): + If USG, use chmod instead of fchmod. + + * environ.c (Fsetenv): Doc fix. + +1988-11-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * eval.c (do_autoload): Verify FUNNAME is a symbol. + +1988-11-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * fileio.c (Fread_file_name): New arg specifies initial minibuf cntnts. + * callint.c (Fcall_interactively): Calls changed. + +1988-10-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * insdel.c (make_gap): Error if buffer size exceeds range of Lisp int. + +1988-10-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fsplit_window): Prevent error in Fset_window_buffer. + + * sysdep.c (gettimeofday): Store -1 thru tzp so caller knows invalid. + + * xdisp.c (message): Pass 0 as new arg to doprnt. + * callint.c (Fcall_interactively): Likewise. + * editfns.c (format1): + * doprnt.c (doprnt): Allow 0 as FORMAT_END arg meaning null-terminated. + +1988-10-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * keyboard.c: If UNIPLUS, include ioctl.h. + + * sysdep.c (utime): Use new flag IRIS_UTIME, not IRIS. + * s-iris*.h: Define that flag. + +1988-10-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * term.c (term_init): If have `im' capability, permit ins/del char + even without `ic'. + +1988-10-03 Richard Stallman (rms at corn-chex.ai.mit.edu) + + * m/m-hp9000s300.h: Conditionals for BSD vs HPUX. + + * ymakefile: Look for C_SWITCH_SITE, LD_SWITCH_SITE. + +1988-09-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * editfns.c (Fformat): Allow nulls in the format. + * doprnt.c (doprnt): likewise. End of format string is new arg. + +1988-09-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * m/m-7300.h: Undefine SHORTNAMES. Supposedly newer Unix now. + + * print.c (print): Support new var print_length. + (syms_of_print): Define Lisp var print-length. + * eval.c (Fbacktrace): Print unevalled form with print_length = 3. + + * Makefile (tags): Add TAGS as alternate target. + Process the files in ../lisp/term. + +1988-09-27 Richard Stallman (rms at corn-chex.ai.mit.edu) + + * doprnt.c (doprnt): Handle %-20s. + * editfns.c (Fformat): Likewise (make enough space for it). + + * minibuf.c (do_completion): If get "Complete but not unique" twice + in a row, display all completions. New var last_exact_completion. + +1988-09-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + +* * dispnew.c (baud_rate): Now a Lisp variable, not a function. + * termcap.c (tputs) [emacs]: Use baud_rate as the speed. + +1988-09-19 Richard Stallman (rms at gluteus.ai.mit.edu) + + * window.c (Fset_window_configuration): Set deleted windows' buffer + to nil, via new function delete_all_subwindows. + * window.c (Fset_window_buffer): Reject deleted windows. + * window.c (init_window_once): Init the ->buffer fields + to satisfy error check in Fset_window_buffer. + +* * xmenu.c (Fx_popup_menu): 1st arg is now ((X Y) WINDOW). + + * process.c (child_sig): If synch process terminates, clear + synch_process_pid and record synch_process_death. +* * callproc.c (Fcall_process): return synch_process_death. + Always set synch_process_pid and do it with SIGCHLD masked off. + * sysdep.c (wait_for_termination) [subprocesses and not VMS]: + Use alarms to check every second whether synch_process_pid is 0. + +1988-09-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * xdisp.c (redisplay_window): If window-point is outside restriction + then correct it in the window. + * window.c (Fdelete_buffer): Don't change buffer's point to a value + outside its restriction. + + * sysdep.c (init_sys_modes) [MULTI_SCREEN]: Set Vterminal_screen's + garbaged bit. + +1988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu) + + * keyboard.c (kbd_buffer_get_char): VMS now uses same code as Unix. + + * vmsproc.c: New file for VMS only. + * callproc.c [VMS]: Omit Fcall_process and child_setup_tty. + * emacs.c (main) [VMS]: Call init_vmsproc and syms_of_vmsproc. + + * lread.c (OBARRAY_SIZE): Change slightly to 509 (prime). + +* * keyboard.c, dispnew.c, term.c, xterm.c (meta_flag): MetaFlag renamed. + * keyboard.c (Fset_input_mode): 3rd arg sets meta_flag. + (syms_of_keyboard): Variable meta-flag deleted. + * sysdep.c (init_sys_modes): Don't override parity settings + if meta_flag is 0. + +1988-09-15 Richard Stallman (rms at corn-chex.ai.mit.edu) + +* * search.c (Fsearch_forward, etc.): All buffer-search functions + return new the value of point if they succeed. + +1988-09-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * cmds.c (Fnewline): Correct test of ARG1 to inhibit auto-fill. + +1988-09-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * window.c (Fdelete_window): Put nil as buffer of the deleted window. + This makes select-window get an error earlier. + +1988-09-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * search.c (search_buffer, string_match, looking_at): + Report matcher stack overflow as error, not just failure to match. + + * data.c (Fmake_local_variable): Add local variable to simplify + too-complex expression. + + * fileio.c (Fdo_auto_save): No "file has shrunk" msg if < 5000 chars. + +See ChangeLog.2 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/ChangeLog.4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ChangeLog.4 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,6903 @@ +1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.25 released. + + * xdisp.c (redisplay): Limit prev change to pause != 0. + + * keyboard.c (command_loop_1): Allow direct output for insert + if have display table but it says nothing for this char code. + Don't allow it if char code has a glyph with a face code. + + * process.c (create_process): Get a pty for any non-nil + Vprocess_connection_type value. + +1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/bsd386.h (TABDLY, TAB3): Defined. + (SYSV_SYSTEM_DIR): Defined. + + * unexhp9k800.c (roundup): Undef before defining. + + * xdisp.c (redisplay): If have window change at end, redisplay again. + + * lread.c (defvar_bool, defvar_int, defvar_lisp, defvar_lisp_nopro): + Delete third arg DOC. + + * s/hpux8.h (LD_SWITCH_SYSTEM): Delete the -L options. + (LD_SWITCH_X_DEFAULT): Put them here instead. + + * Makefile.in.in (LD_SWITCH_X_DEFAULT): Define if not defined. + (LIBX): Use LD_SWITCH_X_DEFAULT. + + * xterm.c (x_iconify_frame): Call x_set_offset, + if x_make_frame_visible would do so. + (x_make_frame_visible): Don't call x_set_offset if frame is iconic. + (XTread_socket): For ConfigureNotify, if wm decorations exist, + set NorthWestGravity. + + * Makefile.in.in (mostlyclean): Don't mention xmakefile*. + + * emacs.c (main): In batch mode, don't set the pgrp. + +1994-05-27 Paul Eggert (eggert@twinsun.com) + + * callproc.c (child_setup): If PWD is set, set it in the child so that + it points at the child's working directory. + +1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m/mips4.h (C_DEBUG_SWITCH) [not __GNUC__]: Add -Wf option. + + * s/hpux9.h (C_SWITCH_SYSTEM): Defined. + + * keyboard.c [HAVE_X_WINDOWS]: Include xterm.h. + + * xterm.c (x_is_vendor_fkey): Function deleted. + (XTread_socket, case KeyPressed): Don't clear the vendor-specific bit. + Pass thru almost any vendor-specific keysym. + + * s/linux.h (HAVE_XRMSETDATABASE): Define if not defined. + +1994-05-27 Paul Eggert (eggert@twinsun.com) + + * editfns.c (difftm): Don't store a long value into an int variable. + +1994-05-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * fileio.c (Finsert_file_contents): Check for beginning of file. + +1994-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * systime.h: Make previous change limited to HPUX. + +1994-05-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * systime.h: If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__. + +1994-05-25 Morten Welinder (terra@diku.dk) + + * msdos.c (output_string): New function. + (internal_flush): Use output_string for faster screen update. + (internal_flush): Clear to end of line by writing a string of + spaces. + +1994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (Vx_sensitive_text_pointer_shape): + Renamed from Vx_cross_pointer_shape. + (syms_of_xfns): Provide Lisp var x-sensitive-text-pointer-shape. + + * xmenu.c (menu_item_equiv_key): Look for equiv keys both before + and after one stage of symbol function indirection. + + * xterm.c (note_mouse_movement): Use frame's window in XQueryPointer. + Special case if mouse isn't on that window. + (note_mouse_highlight): Handle negative args and too-large args. + + * lread.c (openp): Don't use O_RDONLY. + +1994-05-24 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * search.c (Freplace_match): Improve capitalization heuristics. + + * minibuf.c (Fminibuffer_complete_word): GCPRO completion and tem. + + * undo.c (Fprimitive_undo): GCPRO next and list. + Check argument type before calling XINT. + +1994-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (verify_overlay_modification): GCPRO tail and overlay. + Avoid copying tail twice. + +1994-05-24 Andreas Schwab (schwab@informatik.uni-dortmund.de) + + * keymap.c (describe_map): Fix the call to Fequal. + +1994-05-24 Morten Welinder (terra@diku.dk) + + * msdos.c (do_visible_bell): Renamed from visible_bell to avoid + potential conflict with variable of the same name. Caller changed. + (internal_flush): Code for audio bell inserted. + * s/msdos.h (INTERNAL_TERMINAL): Allow audio bell. + + * msdos.c (dos_rawgetc): Doc fix. Make C-, S-, and M- modifiers + independent. Make modifiers work with mouse. Improve C-S- + handling by using look-up tables. Fix kp-decimal problem. + +1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.24 released. + + * s/hpux8.h (LD_SWITCH_SYSTEM): Put back -Xlinker for GCC. + + * Makefile.in.in (LIBXT): Move -lXmu before -lXt. + + * term.c (update_end): Undo previous change. + + * frame.c (other_visible_frames): No longer static. + + * window.c (window_loop): Fix test of dedicated flag in prev change. + + * window.c (window_loop, UNSHOW_BUFFER case): + Put prev change in #ifdef MULTI_FRAME. + + * keyboard.c (menu_bar_one_keymap): + When there's no item string, use Qnil. + Don't ever put `undefined' into the list of definitions. + +1994-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (window_loop, UNSHOW_BUFFER case): Kill a special frame. + + * xterm.c (x_set_window_size): If cursor outside new size, mark it off. + * dispnew.c (change_frame_size): Keep cursor coords in range. + + * s/linux.h (HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR) + (HAVE_XSCREENNUMBEROFSCREEN): Define these if not already defined. + +1994-05-22 Morten Welinder (terra@diku.dk) + + * unexec.c [MSDOS]: Don't include files from the dos extender + and debugger. Use the that was put in the right place + a couple of djgpp versions ago. Consequently, use `unsigned short' + for `word16' and `unsigned long' for `word32'. + +1994-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (note_mouse_highlight): Handle case of highlight extending + past end of window. + (fast_find_position): Fix bugs when no text on screen + and when the mouse is on an empty line. + + * s/hpux9shr.h: New file. + + * s/hpux8.h (LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS. + Delete explicit -Xlinker in GCC case. + + * unexhp9k800.c: Include config.h. + [HPUX_USE_SHLIBS]: Include dl.h. + (brk_on_dump): New variable. + (unexec): Set brk_on_dump. + (copy_file): Change buffer size to 8192. + + * window.c (change_window_height): Test for DELTA too small + only after making it smaller based on maxdelta. + +1994-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fdelete_directory): Allow dir names as well as file names. + + * Makefile.in.in (${etc}DOC): Ignore error from rm. + (MSDOS_SUPPORT): New variable. + (lisp): Use MSDOS_SUPPORT. + + * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Commented out. + +1994-05-20 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xfns.c (x_set_background_color): Set scroll bar backgrounds. + +1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_wm_set_window_state) [USE_X_TOOLKIT]: Use XtSetValues. + (x_iconify_frame) [USE_X_TOOLKIT]: New code for invisible window case. + (XtNinitialState) [USE_X_TOOLKIT]: New #define. + (x_make_frame_invisible): Mostly combine toolkit/non-toolkit cases, + in the process fixing a dumb bug. + +1994-05-20 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) + + * lread.c (openp): Only lusers assume that O_RDONLY == 0. + +1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in (UNEXEC_ALIAS): New variable, used + to make the unex...o target. + + * xfaces.c (Fset_face_attribute_internal): Always return valid data. + + * textprop.c (syms_of_textprop): Set up Lisp fn get-char-property. + +1994-05-19 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de) + + * fileio.c (Finsert_file_contents): Declare buffer as unsigned + char. When comparing with file size convert same_at_start to + distance to buffer start. If the file matches the buffer + contents truncate the buffer to the size of the file. + +1994-05-19 Jim Blandy (jimb@totoro.bio.indiana.edu) + + * keyboard.c (read_char_minibuf_menu_prompt): Don't forget to + initialize nobindings. + +1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in (ORDINARY_LINK): Define by default + if __GNU_LIBRARY__ and not LINUX. + + * s/isc4-0.h (EXTRA_INITIALIZE): Definition deleted. + + * s/isc3-0.h (EXTRA_INITIALIZE): Define here. + + * keyboard.c (lispy_function_keys): Add `backtab'. + + * frame.c (syms_of_frame): Set up frame-first-window as Lisp fn. + + * indent.c: Add "args" to dummy definition of compute-motion. + + * sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCSWINSZ too. + + * Makefile.in.in (FRAME_SUPPORT): Add menu-bar.el. + + * dispnew.c: Include errno.h. + + * widget.c (EmacsFrameSetCharSize): Once again preserve x and y pos, + but not the same way as before. + + * xmenu.c (other_menu_bar_item_p): Return 0 if no menu bar. + + * fileio.c (Fwrite_region): Set update_mode_lines. + + * xmenu.c (xmenu_show): Don't look in menubar for core.height + if no menu bar. + + * xterm.c (x_iconify_frame): Fix error messages. + +1994-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (PENDING_OUTPUT_COUNT): If __GNU_LIBRARY__, + use GNU_LIBRARY_PENDING_OUTPUT_COUNT if defined. + + * keyboard.c (lispy_function_keys): Add various kp- keys for X11R6. + + * fileio.c (syms_of_fileio): Doc fix. + + * s/linux.h (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Both definitions + renamed from PENDING_OUTPUT_COUNT. + + * process.c (create_process): Don't complain about error + from TIOCSETD. + + * window.c (Fset_window_buffer): Fix dedicated window error call. + (window_loop, case UNSHOW_BUFFER): Clear dedicated flag. + + * fileio.c (Finsert_file_contents): Declare `buffer' as unsigned char. + + * dispnew.c: Include systime.h after xterm.h. + + * m/tek4300.h (WORDS_BIG_ENDIAN): Define this, not BIG_ENDIAN. + + * emacs.c (syms_of_emacs), config.h.in: + EMACS_CONFIGURATION renamed from CONFIGURATION. + +1994-05-17 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de) + + * eval.c (Fbacktrace): Properly nest parentheses. + (Fbacktrace_frame): Don't bomb on invalid frame number. + +1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): Fix test for valid display table entry, + for backwards motion. + + * Makefile.in.in (ALL_LDFLAGS): Add LDFLAGS. + (MAKE): Don't override a previous value of MAKE set by configure. + + * dispnew.c (update_frame): Fix test of outq and baud_rate. + + * emacs.c (shut_down_emacs): Don't call intern. + +1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.23 released. + +1994-05-17 Morten Welinder (terra@diku.dk) + + * msdos.c (gettimeofday): New function substituting the library + function of the same name. + (init_gettimeofday): New function. + (init_environment): Call init_gettimeofday after possibly + setting TZ environment variable. + * msdos.h: Add template for init_gettimeofday. + +1994-05-16 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * buffer.c (fix_overlays_in_range): New function. + * editfns.c (Ftranspose_regions): Call it. Also update point as + if it were a marker. + +1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show): Completely ignore nameless panes + except for the first pane. Ignore named panes too if KEYMAPS. + + * widget.c (setup_frame_gcs): Move cursor_bits variable out of + setup_frame_gcs and rename to setup_frame_cursor_bits. + + * eval.c (syms_of_eval): Doc fixes. + +1994-05-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_display_box_cursor): Preserve mouse highlight + if the old cursor was in it. + + * editfns.c (Fcurrent_time_zone): Add cast. + + * s/bsd386.h (LOCALTIME_CACHE): Defined. + + * m/pmax.h (LOCALTIME_CACHE): Define, if not OSF1. + + * xfns.c (validate_x_resource_name): Don't let Vx_resource_name + have invalid characters. + +1994-05-14 Morten Welinder (terra@diku.dk) + + * msdos.c (crlf_to_lf): Fix off-by-one condition. + +1994-05-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (bind_polling_period): Never decrease polling_period. + + * fileio.c (Fdo_auto_save): Save listdesc as an integer, only if open. + (do_auto_save_unwind): Corresponding changes. + + * keyboard.c (echo): Don't echo motion events. + + * fileio.c (Fcopy_file): Close output before setting its times. + Close both before discarding the unwind protects. + +1994-05-13 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * buffer.c (Foverlay_lists): Doc fix. + (Fnext_overlay_change): Doc fix. + +1994-05-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): For button events, clear compose_status. + + * Makefile.in.in (LIBXTR6): New variable. Test HAVE_X11XTR6. + (LIBXT): Use it. + * config.h.in (HAVE_X11XTR6): Add #undef. + + * editfns.c (save_excursion_restore): Don't run activate-mark-hook + if mark position is unchanged. + + * emacs.c (main): PRIO_PROCESS renamed to SET_EMACS_PRIORITY. + * callproc.c (child_setup): PRIO_PROCESS renamed to SET_EMACS_PRIORITY. + Don't call nice if emacs_priority is positive. + * sysdep.c (sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY. + Don't call nice if emacs_priority is positive. + +1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in: Handle Motif and Open-look. + (LIBW): New variable. + (LIBXT): Use it. + + * process.c (POLL_FOR_INPUT): Define, if appropriate. + +1994-05-12 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (display_text_line): Fix check for end of buffer. + +1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (dumpglyphs): For cursor foreground, try the + face's background before the face's foreground. + (XTread_socket): Call note_mouse_movement for EnterNotify. + + * process.c (Fopen_network_stream): + Call bind_polling_period; later unbind the binding. + + * keyboard.c (syms_of_keyboard): Set up Qpolling_period. + (bind_polling_period): New function. + + * callproc.c (init_callproc): Never set Vdata_directory based on + the executable's location. But maybe set it from source dir. + +1994-05-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * systty.h [__GNU_LIBRARY__]: Include . + +1994-05-11 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * xmenu.c (xmenu_show): New var mb_item. Use it to determine the + menubar item that led to the menu. + (Fx_popup_menu): Suppress duplicate test case in the way to determine + whether the menu is handling a menu bar click. + +1994-05-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Frename_buffer): Reject empty string as new name. + +1994-05-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * process.c (exec_sentinel): Don't deactivate the mark. + Check for asynch buffer switch. + +1994-05-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/bsd4-2.h (BSD): Define as 42. + (BSD4_2): Define as 1. This makes it like bsd4-3.h. + + * floatfns.c: Don't declare logb if it is a macro. + +1994-05-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (read_char): Preserve echo area on asynch buffer switch. + +1994-05-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * dispnew.c [__GNU_LIBRARY__]: Redefine PENDING_OUTPUT_COUNT even + if already defined. + +1994-05-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Finsert_file_contents) [MSDOS]: Ignore the replace feature. + + * buffer.c (syms_of_buffer): Doc fix. + + * keyboard.c (syms_of_keyboard): Doc fix. + +1994-05-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (safe_run_hooks): New function, extracted from + command_loop_1. Bind inhibit_quit. + +1994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (string_width): Deleted. + + * xterm.c (x_set_window_size) [USE_X_TOOLKIT]: + Preserve the main widget's x and y position. + +1994-05-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (process_send_signal): If PREFER_VSUSP, + use VSUSP instead of VSWTCH. + * s/sco4.h (PREFER_VSUSP): Defined. + * s/irix5-0.h (PREFER_VSUSP): Defined. + + * fileio.c (Fdo_auto_save): Write a list of all auto save file names. + (Vauto_save_list_file_name): Specify file name to put them in. + (syms_of_fileio): Set up Lisp var. + +1994-05-07 Morten Welinder (terra@diku.dk) + + * callproc.c [MSDOS]: Rename Vbinary_process to Vbinary_process_output. + (syms_of_callproc) [MSDOS]: Rename lisp variable binary-process to + binary-process-output. + (Fcall_process, syms_of_callproc) [MSDOS]: Use new names. + (Vbinary_process_input) [MSDOS]: New variable. + (syms_of_callproc) [MSDOS]: Declare binary-process-input. + (Fcall_process_region) [MSDOS]: Bind binary-process-input temporarily + to buffer-file-type. + (init_callproc) [MSDOS]: Don't add lib-src as the wrapped binaries + are in bin. + +1994-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Qbuffer_file_type): Var deleted. + * callproc.c (Qbuffer_file_type): Var added. + + * keyboard.c (read_char): Don't test do_mouse_tracking; + instead, do prepare_menu_bars only if commandflag > 1. + (read_char): Do call add_command_key for mouse-movement events. + Test detect_input_pending, not EVENT_QUEUES_EMPTY, for kbd menus. + But don't test either one for mouse menus. + + * undo.c (record_delete): Record the old point value + only right after a boundary. + +1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/dgux5-4r3.h: Use dgux5-4r2.h under new name. + + * puresize.h (PURESIZE): Increase to 235000 and 205000. + +1994-05-06 Morten Welinder (terra@diku.dk) + + * s/msdos.h: Define NO_MATHERR. + * floatfns.c: Don't guard DOMAIN && SING && OVERFLOW check by + an #ifndef MSDOS. + +1994-05-06 Francesco Potorti` (pot@cnuce.cnr.it) + + * m/delta.h: (SYSTEM_MALLOC): deleted. The problem isn't there. + +1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_set_offset): Set gravity and size hint + before moving the window. + + * keyboard.c (make_lispy_event): Ignore mouse events for deleted frame. + + * xterm.c (XTread_socket): + For ReparentNotify, use x_top_window_to_frame. + Also recompute frame position using x_real_positions. + For ConfigureNotify, don't ignore send_events. + Also recompute frame position using x_real_positions. + +1994-05-05 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * window.c: Use PT, not point. + (Fdelete_other_windows): Do nothing if w->start is outside region. + Don't temporarily move point when recomputing window position. + +1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_real_positions): New function. + + * keyboard.c (make_lispy_movement): Don't call pixel_to_glyph_coords + if FRAME is 0. + + * xterm.c (x_set_offset): Update XNegative and YNegative for new pos. + (x_calc_absolute_position): Clear XNegative and YNegative. + + * xrdb.c (x_load_resources) [USE_X_TOOLKIT]: Don't call XrmInitialize. + + * keymap.c (describe_map): Ignore bindings for all except + symbols and integers. + + * unexelfsgi.c (unexec): Handle debugging info properly. + + * s/freebsd.h: Don't use netbsd.h. Do all those things right here. + +1994-05-05 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xmenu.c (Fx_popup_menu): Restore accidentally-deleted call to + mouse_position_hook. + (xmenu_show): Disallow empty menus. + +1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (last_point_position_buffer): New variable. + (command_loop_1): Set it. + * undo.c (record_delete): Test it. + * commands.h (last_point_position_buffer): Declared. + + * Makefile.in.in: Put in a separator for where to start cpp procssing. + Above that, use Make-style comments. + This goes with changes in ../configure.in. + +1994-05-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/isc4-0.h (NEED_SIOCTL, ISC4_0): Declared. + + * sysdep.c: Test ISC4_0 along with TIOCGWINSZ. + + * process.c (wait_reading_process_input): Don't call prepare_menu_bars + unless we are going to redisplay for a garbaged frame. + (read_process_output): Call prepare_menu_bars if waiting for input. + (exec_sentinel): Call prepare_menu_bars if waiting for input. + + * s/dgux5-4r3.h, s/dgux5-4r2.h: Renamed from ..4R.. + + * eval.c (error): Fix logic in call to xmalloc/xrealloc. + + * xterm.c (x_make_frame_invisible): Use XWithdrawWindow again. + + * s/sol2.h, s/sol2-3.h (LD_SWITCH_SYSTEM): + Use ./prefix-args, not -Xlinker directly. + +1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_set_cursor_color): Fix typo. + + * xselect.c (x_own_selection): Catch errors around XSetSelectionOwner. + + * buffer.c (syms_of_buffer): Doc fix. + + * xdisp.c (display_text_line): Since HPOS is negative, avoid + writing before the beginning of the charstarts line. + + * minibuf.c (read_minibuf): Clear previous_echo_glyphs. + +1994-05-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.c (file_name_completion_stat): Use both lstat and stat. + +1994-05-02 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xterm.c (show_mouse_face): Fix test for cursor in highlighted area. + (note_mouse_highlight): Reorder test for simplicity. + (note_mouse_highlight, show_mouse_face, clear_mouse_face, + x_destroy_window): Use row/col instead of buffer position to keep + track of highlighted area. + +1994-05-02 Francesco Potorti` (pot@cnuce.cnr.it) + + * m/delta.h: (SYSTEM_MALLOC): Defined, since GNU malloc does not work. + (BCOPY_UPWARD_SAFE): Defined to 0 for the Green Hills compiler. + +1994-05-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (create_process): Undo April 19 setsid change. + +1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.h (struct x_display): New field size_hint_flags. + * xfns.c (Fx_create_frame): Set the size_hint_flags field. + Don't call x_calc_absolute_position. + * xterm.c (x_calc_absolute_position): Use size_hint_flags. + New FLAGS arg deleted. Callers changed. + + * xfns.c (x_figure_window_size): Handle `-' for top or left. + (Fx_parse_geometry): Handle one element at a time. + Give `-' when appropriate. + (x_figure_window_size): Allow just height or just width. + + * xterm.c (x_wm_set_size_hint): Don't try to handle negative positions. + (x_calc_absolute_position): + New arg FLAGS. Use XNegative and YNegative. + (x_set_offset): Pass new arg. + + * xfns.c (x_figure_window_size): Set USPosition only if user-position + is non-nil; otherwise, if pos is specified, set PPosition. + Likewise for USSize and PSize. + (Fx_create_frame): Use XNegative and YNegative to set win_gravity. + [USE_X_TOOLKIT] (x_window): Use XNegative and YNegative + to set win_gravity. Pass new arg to x_calc_absolute_position. + + * editfns.c (Ftranspose_regions): Take addresses only after move gap. + Cast result of alloca. Use xmalloc instead, for large objects. + Always copy the middle portion directly; never put it in temp. + Always move the gap to START1 or END2, whichever is nearer. + + * keyboard.c (Ftrack_mouse): Call prepare_menu_bars at the start. + (read_char): Don't call prepare_menu_bars if doing mouse tracking. + +1994-04-30 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * puresize.h (PURESIZE) [MULTI_FRAME]: Increase to 232000. + +1994-04-30 Paul Reilly (pmr@churchy.gnu.ai.mit.edu) + + * s/dgux5-4R3.h: new file. + + * s/dgux5-4R2.h: new file. + + * s/dgux.h (SVR4): Make conditional on ELF environment. + (INTERRUPT_INPUT, ORDINARY_LINK): Set by default. + (C_COMPILER, LINKER and MAKE_COMMAND): Remove. + + * process.c (IN_ADDR, NUMERIC_ADDR_ERROR): Made conditional on + HAVE_BROKEN_INET_ADDR. + +1994-04-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (record_asynch_buffer_change): Block SIGIO. + (force_auto_save_soon): Call record_asynch_buffer_change. + + * emacs.c (memory_warning_signal): Call force_auto_save_soon. + + * keyboard.c (force_auto_save_soon): New function. + + * process.c (Fopen_network_stream): Retry the connect if EADDRINUSE. + Ignore EISCONN. + +1994-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * eval.c (init_eval): Initialize when_entered_debugger to -1. + +1994-04-29 Jim Blandy (jimb@totoro.bio.indiana.edu) + + * data.c (Ffset, Ffmakunbound): Signal an error if SYM is nil or t. + +1994-04-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * data.c, floatfns.c, lread.c [MSDOS]: Re-enable some #undef's. + +1994-04-29 Karl Fogel (kfogel@phylo) + + * editfns.c (Ftranspose_regions): New function. + (transpose_markers): Helper func for above. + (syms_of_frame): Call defsubr for Stranspose_regions. + +1994-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.h (x_mouse_grabbed): Declared. + * xmenu.c (xdialog_show): Clear x_mouse_grabbed. + + * frame.c (Fframe_live_p): Alternative defn for not MULTI_FRAME. + (syms_of_frame): Call defsubr for it. + + * process.c: Doc fixes. + + * xterm.c (x_wm_set_size_hint): Always set PWinGravity. + Rename the args. Compute x and y fields from negative positions. + Use XGetWMNormalHints if X11R4 or newer. + (x_make_frame_visible): Call x_set_offset only if not USE_X_TOOLKIT. + (x_make_frame_invisible): Call x_wm_set_size_hint. + (x_set_offset): Pass 0 as 3rd arg to x_wm_set_size_hint. + (x_set_window_size): Likewise. Set win_gravity field here if nec. + + * xfns.c (Fx_create_frame): Pass 0 as 3rd arg to x_wm_set_size_hint. + (x_figure_window_size): Fix typo setting XNegative. + + * minibuf.c (Fminibuffer_complete): Add third arg to Fset_window_start. + + * buffer.c (init_buffer_once): Initialize buffer_file_type field right. + + * m/dos386.h (HAVE_MOUSE): Defined. + (PURESIZE): Increase value. + + * xdisp.c (decode_mode_spec): Fix handling of `%t'. + + * msdos.c, dosfns.c: Finish downcasing mouse_init1, mouse_off, + mouse_check_moved, mouse_pressed, mouse_released, mouse_on, mouse_init. + + * dispnew.c (update_frame): Fix previous change: + Unconditionally bzero at the end. + +1994-04-29 Morten Welinder (terra@diku.dk) + + * msdos.c (visible_bell): Now static. Make the asm volatile. + Don't expect register %gs to survive calls to other functions + (just to be safe, %gs will survive at present). + + * keyboard.c (make_lispy_movement): if HAVE_MOUSE then include + the mouse handling code. + * msdos.c (glyph_to_pixel_coords, pixel_to_glyph_coords) new + functions imitating those in xterm.c. + + * s/msdos.h (getppid): Definition deleted. + + * msdos.c (dos_rawgetc): Key numbers are biased by 0xff00. + + * dosfns.c (Fmode25, Fmode4350): Clean up the coding and return + a well-defined value. + (syms_of_dosfns): Doc fix. + +1994-04-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keymap.c (Fsingle_key_description): Undo previous change. + (describe_map): Skip string entries. + + * minibuf.c (do_completion): Initialize vars before gcpro. + +1994-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (update_frame): Move those assignments even farther down. + + * xterm.c (x_wm_set_size_hint): Don't set PMaxSize. + Don't touch win_gravity field if no PWinGravity. + +1994-04-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * print.c: Doc fixes. + + * keymap.c (describe_map_tree, describe_buffer_bindings): gcpro stuff. + (describe_buffer_bindings): Delete unused code. + +1994-04-28 Per Abrahamsen (abraham@research.att.com) + + * keymap.c (Fsingle_key_description): Accept strings as keys since + the buffer menu uses them. + +1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (update_frame): Move assignments to current_frame + and desired_frame. + + * floatfns.c (logb): Test HPUX, not hpux. + + * s/sunos4-1.h (LIBS_SYSTEM): #if 0'd. + + * xmenu.c (Fx_popup_menu): Doc fix. + + * xfns.c (x_window) [USE_X_TOOLKIT]: Call XSetWMHints. + +1994-04-28 Michael D. Ernst (mernst@monozygote.research.microsoft.com) + + * fileio.c (inhibit-file-name-handers): Correct documentation. + +1994-04-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Only top window cares about LeaveNotify. + + * frame.c (Fframe_parameters) [!MULTI_FRAME]: Unstub it again. + +1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (syms_of_emacs): Doc fix. + + * callproc.c (child_setup): Test PRIO_PROCESS, as in sys_subshell. + + * m/hp800.h: Renamed from hp9000s800.h. + (hp9000s800): Undo previous change. + + * process.c (create_process): If vfork fails, close forkin and forkout. + +1994-04-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_make_frame_visible): Use XtMapWidget, not XtPopup. + + * m/hp9000s800.h (hp800): Define this instead of hp9000s800. + + * Makefile.in.in (mostlyclean): Remove liblw.a. + + * lread.c (read1): Allow `\C- ' and `\C-?'. + +1994-04-27 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * unexmips.c (unexec): Cast pointers. + Fix error message. + + * Makefile.in.in: Use C-style comments. + + * frame.c (Fframe_parameters) [!MULTI_FRAME]: Replace with stub. + (Fframe_parameters, Fmodify_frame_parameters) [!MULTI_FRAME]: + Remove extra docstring. + +1994-04-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-0.h (LD_SWITCH_SYSTEM): Undo previous change. + + * xterm.c (XTread_socket, case ClientMessage): Don't call + XSetInputFocus if event is not for an existing frame. + + * xmenu.c (xmenu_show, xdialog_show): + If we unread some events, set interrupt_input_pending. + + * xterm.c (XTread_socket) [USE_X_TOOLKIT]: Never pass motion + events to the toolkit. + + * CONFIGURATION now comes via config.h. + * Makefile.in.in (emacs.o): Use the default .c.o command. + (configuration): Make variable deleted. + * config.h.in (CONFIGURATION): Add #undef. + + * xterm.c (XTread_socket) [USE_X_TOOLKIT]: Undo previous change. + (x_wm_set_size_hint): Do set max_height, max_width, and PMaxSize flag. + +1994-04-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * process.c (create_process) [HAVE_TERMIOS && LDISC1]: Use tcsetattr. + +1994-04-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * alloc.c (mark_object, case frame): Mark menu_bar_vector field. + +1994-04-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Vunread_command_events): + Renamed from unread_command_events. + All uses changed. + * command.h (Vunread_command_events): Renamed. + * lread.c (read_filtered_event): Use Vunread_command_events. + * minibuf.c (temp_echo_area_glyphs): Use Vunread_command_events. + + * keyboard.c (read_char): Don't use menus if we have events waiting. + + * xterm.c (XTread_socket) [USE_X_TOOLKIT]: Let toolkit handle + menu bar click. + +1994-04-25 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * insdel.c: Use PT, not point. + (gap_left, gap_right, adjust_markers): Make these functions static. + (adjust_point): New function. + (insert_1, insert_from_string_1, del_range_1): Use it. + + * xterm.c (x_term_init): Add explicit cast. + (XTmouse_position): Don't use last_mouse_frame if it's dead. + (XTread_socket): Ditto. + + * textprop.c (F*_property_change): Typecheck limit argument. + +1994-04-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (syms_of_xdisp): Set up Qmenu_bar_update_hook. + (update_menu_bar): Run that hook. + Fix failure to update menu bar when w->update_mode_line was nil. + + * frame.h (struct frame): New fields menu_bar_vector and + menu_bar_items_used. + * frame.c (make_frame): Initialize fields menu_bar_vector and + menu_bar_items_used. + + * keyboard.c (menu_bar_item): Put a list of keymaps into the third + slot of an item in menu_bar_items_vector. + +1994-04-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Finsert_file_contents): Fix accessing buffer_file_type + since it is t or nil. Change to handle t or nil as value + of find-buffer-file-type. + + * buffer.c (Fkill_all_local_variables): Doc fix. + +1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (create_process): Use SETUP_SLAVE_PTY only if pty_flag. + Likewise for child_setup_tty. + + * window.c (Fselect_window): Use Fselect_frame. + + * frame.c (Fset_frame_selected_window): New function. + (syms_of_frame): Set up Lisp function. + + * lisp.h (Vascii_canon_table, Vascii_eqv_table): Declared. + + * buffer.c (reset_buffer_local_variables): Use Vascii_eqv_table + and Vascii_canon_table. + + * window.c: Implement special frames for specified buffers. + (Vspecial_display_buffer_names, Vspecial_display_regexps) + (Vspecial_display_function): New variables. + (syms_of_window): Set up Lisp variables. + (Fdisplay_buffer): Handle them. + +1994-04-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in (alloca.o): Use config_h. + (config_h): Use M_FILE and S_FILE. + (S_FILE, M_FILE): New variables hold names of config files. + + * fileio.c (syms_of_fileio): New Lisp var inhibit-file-name-operation. + (Ffind_file_name_handler): Obey that variable. Use new meaning + for inhibit-file-name-handlers. + + * config.h.in (HAVE_LIBRESOLV): Add #undef. + * s/sunos4-1.h (LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT. + Do not test HAVE_GETHOSTNAME. + + * s/sunos4-1.h (LIBS_SYSTEM): Invert the HAVE_RES_INIT condition. + +1994-04-22 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * fileio.c (Ffind_file_name_handler): New argument OPERATION. + All callers changed. + +1994-04-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (max_process_desc): New variable. + (wait_reading_process_output): Don't look for process output + beyond that many bits. + (create_process, Fopen_network_stream, deactivate_process): Update it. + (init_process): Initialize it. + + * frame.c (Fmouse_pixel_position, Fset_mouse_pixel_position): + New functions. + (syms_of_frame): Set up Lisp functions. + + * xterm.c (x_set_mouse_pixel_position): New function. + +1994-04-21 Simon Leinen (simon@lia.di.epfl.ch) + + * process.c (send_process): If fpathconf fails, use 250. + +1994-04-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (init_cmdargs): Check only for etc and lib-src subdirs + when setting Vinstallation_directory. + (syms_of_emacs): Make Lisp vars invocation-name, invocation-directory + and installation-directory. + + * lread.c (init_lread): Maybe put build-time Lisp dirs on load-path. + + * callproc.c (init_callproc): Set Vdoc_directory like Vdata_directory. + + * lread.c (init_lread): Improve warning message. + + * xterm.c (x_make_frame_visible): Args to x_set_offset were swapped. + +1994-04-20 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xterm.h (x_top_window_to_frame): Declare this function. + +1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c: Doc fixes. + + * Makefile.in.in (TAGS): Split off included tags file lisp/TAGS. + (../lisp/TAGS): New target uses recursive make. + (ctagsfiles, lisptagsfiles): New variables. + + * xfns.c (x_window): Test FRAME_EXTERNAL_MENU_BAR + to decide on calling initialize_frame_menubar. + +1994-04-20 Francesco Potorti` (pot@fly.cnuce.cnr.it) + + * m/delta.h (HAVE_SOCKETS): defined if HAVE_INET_SOCKETS is defined. + +1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.c (Fmodify_frame_parameters, Fframe_parameters): + Define even if not MULTI_FRAME. + + * config.h.in (HAVE_INET_SOCKETS): Add #undef. + + * xterm.c (XTread_socket): Delete the non-NEW_SELECTIONS code + and simplify the toolkit conditional for those cases. + + * xterm.c (XTread_socket, case ClientMessage): + Always use x_window_to_frame. + + * xfns.c (x_top_window_to_frame): New function. + +1994-04-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (create_process): Call setsid only if pty_flag. + + * xterm.c (x_make_frame_invisible): Explicitly clear visible and + iconified flags, as well as the async flags. + +1994-04-19 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keymap.c (describe_map): Merge with describe_map_2. + (describe_map_tree, describe_map): Skip keymaps we've seen before. + + * keyboard.c (read_avail_input): Don't retry read. + +1994-04-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Vlast_event_frame): Define unconditionally. + (syms_of_keyboard): Always make the Lisp var. + + * Makefile.in.in (${etc}DOC): Delete redundant version.el from cmd. + +1994-04-19 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (read_avail_input): Test EINTR, not EAGAIN. + Write loop as a do-while. + + * puresize.h (PURESIZE) [!MULTI_FRAME]: Increase to 200000. + +1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Call XSetInputFocus. + +1994-04-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * config.h.in: (EMACS_INT, EMACS_UINT): Omit if NOT_C_CODE. + +1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mem-limits.h (get_lim_data): Handle NO_LIM_DATA. + + * xterm.c (x_make_frame_invisible) [USE_X_TOOLKIT]: Use XtPopdown. + (XTread_socket): Call _XEditResCheckMessages only if HAVE_X11R5. + + * m/convex.h (CRT0_DUMMIES): Ignore one arg. + (LIBS_TERMCAP): Use the system's termcap. + + * process.c (create_process): Fix previous change. + +1994-04-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (Xatom_editres_name): Declared. + (Fx_open_connection): Initialize it. + * xterm.c (Xatom_editres_name): Variable defined. + (XTread_socket): Handle that kind of message. + (x_term_init): Specify -name option in XtAppInitialize. + + * xterm.c (Qface, Qmouse_face): Supply missing Lisp_Object. + + * config.h.in (EMACS_INT, EMACS_UINT): New typedefs. + + * casetab.c (set_case_table): Handle nil for EQV with non-nil CANON. + (Fcase_table_p): Accept nil for EQV with non-nil CANON. + + * keyboard.c (read_avail_input): Test both aix386 and _BSD. + + * window.c (set_window_width): + Don't delete root window for being too narrow. + + * xterm.c (dumpglyphs): When HL=2, check explicitly for using + the frame's default font or not. + + * keyboard.c (read_char_x_menu_prompt): Don't check for value = nil + if value was originally a cons. + + * xmenu.c (xmenu_show): Fix typo in last change. + +1994-04-16 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * frame.c (Fmouse_position): Don't clip. + * keyboard.c (make_lispy_movement): Don't clip. + +1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/netbsd.h: Add NO_SHARED_LIBS conditional. + * s/freebsd.h: Rewrite to use netbsd.h and define NO_SHARED_LIBS. + + * keyboard.c (read_avail_input): Fix previous change--test _BSD. + + * data.c (Fsetq_default): Doc fix. + + * eval.c (Fsetq): Doc fix. + + * Makefile.in.in (configuration): Use SET_MAKE to get + the value of $(MAKE). + +1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.h (map_prompt): Declared. + + * xmenu.c (xmenu_show): Don't cons on subprefix_stack[j] if nil. + + * keyboard.c (read_avail_input): Don't generate SIGHUP of aix386; + only on other AIX systems. + + * xterm.c (XTread_socket): + For UnmapNotify, use x_any_window_to_frame. + + * process.c (create_process): Test TIOCSETD along with NTTYDISC. + + * frame.c (Fset_frame_position): Pass new arg to x_set_offset. + + * xterm.c (x_set_offset): New arg CHANGE_GRAVITY. + (x_make_frame_visible): Pass new arg. + + * xfns.c (Fx_create_frame): Delete excess args to x_wm_set_size_hint. + + * xterm.c (x_wm_set_size_hint): Args spec_x and spec_y deleted. + (x_set_offset, x_set_window_size): Don't pass those args. + + * fileio.c (Finsert_file_contents): Fix test for unchanged file. + + * xterm.c (x_destroy_window): Just clear out mouse_face... vars. + + * keyboard.c (syms_of_keyboard): Init and staticpro system_key_syms. + (modify_event_symbol): Use the cdr of the alist entry. + Whenever value is nil, intern a new symbol. + + * Makefile.in.in (LIBX): Put LIBXT after LD_SWITCH_X_SITE. + +1994-04-15 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (fix_glyph) [HAVE_X_WINDOWS]: When glyph face is 0, use + the computed face as given. + + * keyboard.c (read_avail_input): Fix comment delimiter. + + * m/pmax.h (C_SWITCH_X_MACHINE): add -DNeedVarargsPrototypes=0. + +1994-04-14 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * scroll.c (calculate_scrolling): Add explicit casts. + +1994-04-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_wm_set_size_hint): Use win_gravity from frame. + + * xterm.h (x_display): New field win_gravity. + * xfns.c (Fx_create_frame): Set win_gravity field. + + * xfns.c (x_window, both versions): + Don't call x_calc_absolute_position. + * xterm.c (x_make_frame_visible): Call x_set_offset. + + * xterm.c (x_make_frame_visible): Don't call XMapSubwindows. + (x_iconify_frame): Likewise. + + * s/isc4-0.h (LIBS_SYSTEM): Defined. + + * keyboard.c (make_lispy_event): Put mouse event code + into MULTI_FRAME conditional. + + * xfns.c (Fx_list_fonts): Error if non-X frame used. + + * xdisp.c (update_menu_bar): Take frame as arg. + (update_menu_bars): Function deleted. + (prepare_menu_bars): Call update_menu_bar; do it for all frames. + Simplify computation of all_windows; ignore irrelevant criteria. + + * xterm.h (HAVE_X11R4): If we define HAVE_X11R5, define this too. + + * xterm.c (pending_autoraise_frame): New variable. + (x_new_focus_frame): Don't autoraise here; just set that var. + (XTread_socket): Raise that frame here. + +1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (inherited_pgroup): Conditionalize on BSD_PGRPS. + + * s/netbsd.h (TABDLY): Defined. + + * doc.c, fileio.c, unexsunos4.c [HAVE_UNISTD_H]: Include unistd.h. + + * dired.c (Ffile_attributes): Cast st_size to int. + + * xmenu.c (last_menu_bar_item_end): New variable. + (xmenu_show): Set that var. + (other_menu_bar_item_p): Return 0 if mouse is not in any menu bar item. + + * keymap.c (describe_map_tree): Fix call to Flookup_key. + + * xfns.c (x_window): Don't call initialize_frame_menubar + if no menu bar. + (Fx_create_frame): Default menu-bar-lines parm before calling x_window. + +1994-04-13 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * dispnew.c (Vglyph_table): Doc fix. + + * frame.c (Fmouse_position) [MULTI_FRAME]: Use pixel_to_glyph, not + glyph_to_pixel. Skip the conversion if args are nil. + [!MULTI_FRAME]: All results are nil. Remove extra docstring. + + * window.c (Fnext_window, Fprevious_window, Fdisplay_buffer): Test + MULTI_FRAME when frame-walking. + (Fset_window_configuration): Only call X fns if HAVE_X_WINDOWS. + + * fns.c (Fy_or_n_p, Fyes_or_no_p): Test HAVE_X_MENU in popup code. + +1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.c (compute_motion): Do not abort if window shows some + other buffer. + (Fcompute_motion): Use whatever buffer is current. + +1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/bsd4-2.h (BSD): Give it a number as definition. + + * s/sol2-3.h: Fix #include file name. + + * xterm.c (x_destroy_window): Call clear_mouse_face if necessary. + + * xmenu.c (xmenu_show, xdialog_show): Add casts in assignments + to widget_value fields from string contents. + (dispatch_dummy_expose): Cast arg to XtDispatchEvent. + [!USE_X_TOOLKIT] (xmenu_show): Right-justify char equivalents. + Use alloca for concatenated strings, if alloca is fast. + + * lisp.h (Fprocess_send_eof, Foverlay_get): Declared. + + * keymap.c (Fkey_binding): Declare accept_default. + + * sysdep.c (sys_siglist) [sun]: Check SIGFREEZE and SIGTHAW defined. + +1994-04-12 Per Bothner (bothner@cygnus.com) + + Provide a hook for elisp to signal a changed window size + to a process inferior. + * sysdep.c (set_window_size): New function. + * process.c (Fset_process_window_size): New function. + +1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * eval.c (specbind): Use find_symbol_value. + + * xfaces.c (frame_update_line_height): Don't call x_set_window_size. + Return 1 if line_height changed. + (Fset_face_attribute_internal): Call x_set_window_size here if nec. + * xterm.c (x_new_font): Always call x_set_window_size. + + * xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Use XtTranslateCoords. + + * process.c (send_process): Test pty_flag field for nil, not 0. + +1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-0.h (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__. + + * callproc.c: If we include fcntl.h, define INCLUDED_FCNTL. + * systty.h: Check for INCLUDED_FCNTL already defined. + + * xterm.c (x_wm_set_size_hint): If PROMPTING is 0, + copy the old win_gravity field. + If USPosition is set, don't set PWinGravity. + + * keyboard.c (read_avail_input): Separate local var n_to_read + so that reading doesn't clobber that info when it sets nread. + + * s/isc4-0.h (LIBS_SYSTEM): Defined. + + * emacs.c (main): Fix typo in prev. change. + + * Makefile.in.in (temacs): Include ${ALL_LDFLAGS} within + the call to YMF_PASS_LDFLAGS. + +1994-04-11 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_event): Initialize item. + + * indent.c (vmotion): Use minibuf_prompt_width despite window-start. + + * print.c (printchar, strout): Use FRAME_PTR, not struct frame *. + + * frame.c (Fmouse_position) [!MULTI_FRAME]: Declare col and row. + +1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_movement): Conditionalize on MULTI_FRAME. + (kbd_buffer_get_event): Call make_lispy_movement only if MULTI_FRAME. + + * xselect.c (x_decline_selection_request): Call XFlushQueue. + + * eval.c (Fsetq): Doc syntax fix. + * print.c (syms_of_print): Doc syntax fix. + * editfns.c (Fuser_real_login_name): Doc syntax fix. + * data.c (Fsetq_default, Fmake_local_variable): Doc syntax fix. + +1994-04-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_wm_set_size_hint): If change_gravity is 0, + just don't set the gravity. + +1994-04-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (dumpglyphs): Clear any extra pixel rows below the text. + + * xfns.c (x_figure_window_size): Don't call x_calc_absolute_position. + (x_window): Separate into two alternative definitions. + Call x_calc_absolute_position here. + + * widget.c (EmacsFrameSetCharSize): Do not attempt to preserve + the window position. + + * xfns.c (Fx_list_fonts): Doc fix. + + * buffer.c (Vafter_change_functions, Vbefore_change_functions): + New variables. + (syms_of_buffer): Set up Lisp vars. + * buffer.h (Vafter_change_functions, Vbefore_change_functions): + Declared. + + * insdel.c (before_change_functions_restore): + (after_change_functions_restore): New functions. + (signal_before_change): Handle Vbefore_change_functions. + (signal_after_change): Handle Vafter_change_functions. + + * cmds.c (internal_self_insert): Test Vafter_change_functions, + Vbefore_change_functions. + + * xfaces.c (frame_update_line_height): Check param_faces[i] not null. + + * emacs.c (main): Handle EXTRA_INITIALIZE. + + * s/isc4-0.h: New file. + + * keymap.c (get_keymap): Pass 1 as ERROR to get_keymap_1. + (get_keyelt): New arg AUTOLOAD means load keymaps indirected thru. + All callers changed; most pass 0. + (Fdefine_key, Flookup_key): Load all the keymaps we look in. + + * editfns.c (make_buffer_string): Copy properties whenever we + have some, even if they don't change. + + * xterm.c (x_display_box_cursor): Explicitly clear full height of line. + (dumpglyphs): New arg just_foreground. Callers changed. + (x_set_window_size): Call XSync. + + * xterm.c (note_mouse_highlight): Do nothing if buffer has changed. + + * xterm.c (x_new_font): Fix setting line_height. + + * Support fonts of different heights, using tallest as line height: + + * xfaces.c (frame_update_line_height): New function. + (Fset_face_attribute_internal): Call that. + + * xterm.c (x_new_font): If frame is new, set line_height field. + Otherwise call frame_update_line_height. + + * xterm.h (struct x_display): New field line_height. + (VERTICAL_SCROLL_BAR_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW) + (CHAR_TO_PIXEL_ROW): Use line_height field. + + * xterm.c (stufflines, scraplines, dumprectangle, x_do_pending_expose) + (pixel_to_glyph_coords, x_draw_box, clear_cursor, x_display_bar_cursor) + (x_set_resize_hint, x_set_mouse_position, x_wm_set_size_hint) + (XTclear_end_of_line, redraw_previous_char): Use line_height field. + * xfns.c (x_char_height): Use line_height field. + * widget.c (get_default_char_pixel_size): Use line_height field. + * dispnew.c (update_line): Use line_height field. + * xmenu.c (Fx_popup_menu): Use line_height field. + +1994-04-09 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * indent.c (Fvertical_motion): Use window arg, not selected_window. + +1994-04-08 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) + + * xterm.c (show_mouse_face): Change the mouse cursor accordingly. + + * xterm.h (cross_cursor): New field for struct x_display. + + * xfns.c (syms_of_xfns): Define Vx_cross_pointer_shape. + (Vx_cross_pointer_shape): New variable. + (Vx_cross_pointer_shape): Create a mouse face cursor for the mouse-face + properties. + +1994-04-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (Fx_popup_dialog): Doc fix. + (list_of_items): Handle nil in item list as left/right boundary. + (push_left_right_boundary): Record the boundary. + (xmenu_show): Disregard a boundary if any. + (xdialog_show): Really obey a boundary. + +1994-04-07 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * intervals.h (Qintangible): New symbol, replacing Qhidden. + * textprop.c (syms_of_textprop): Initialize it. + * intervals.c (set_point): Skip past intangible regions. + + * term.c (system_uses_terminfo): New variable. + (syms_of_term): New function, to initialize it. + * emacs.c (main): Call syms_of_term. + + * termhooks.h (enum event_kind): Add buffer_switch_event. + * keyboard.c (kbd_buffer_get_event): Make it lispy. + (record_asynch_buffer_change): New. Store it in the event queue. + * process.c (read_process_output): If buffer changes, record that fact. + + * minibuf.c (Vminibuffer_exit_hook): New variable. + (read_minibuf): Run hook when exiting minibuffer. + + * xdisp.c (copy_part_of_rope): Replace non-glyph with 0. + + * insdel.c (insert_1): New function, extracted from insert. + (insert_from_string_1): Likewise, taken from insert_from_string. + (insert, insert_from_string): Call the new functions. + (insert_before_markers, insert_from_string_before_markers): Adjust + the markers before calling the after-change function. + +1994-04-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * scroll.c (struct matrix_elt): Use int, not short. + Use unsigned char for insertcount and deletecount. + (INFINITY): Increase to 1000000. + +1994-04-06 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * minibuf.c (Fminibuffer_prompt_width): Undo previous change. + * xdisp.c (display_text_line): minibuffer_prompt_width is a + distance, not an absolute position. + + * editfns.c (Fformat): Reword confusing error message. + * doprnt.c (doprnt): Likewise. + + * eval.c (Fsetq): Doc fix. + +1994-04-05 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (display_string): Allow for hpos < 0 when clearing array. + + * indent.c (vmotion): Don't use minibuf_prompt_width if + window-start has suppressed the prompt. + + * minibuf.c (Fminibuffer_prompt_width): Allow for negative value. + + * buffer.c (Fget_buffer_create): Disallow empty string. + + * keymap.c (describe_buffer_bindings): Move XSYMBOL to after SYMBOLP. + Exclude trailing null in string copies. + + * indent.c (compute_motion): Add window argument. All callers changed. + + * minibuf.c (do_completion): gcpro some things. + + * minibuf.c, xdisp.c: Use PT, not point. + +1994-04-04 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * textprop.c (Fget_char_property): Doc fix. + + * dired.c (file_name_completion): Honor completion-regexp-list. + + * search.c (Freplace_match): Don't capitalize unless all matched + words are capitalized. + + * buffer.c (verify_overlay_modification): Run modification-hooks + for any deletion that intersects the overlay. + +1994-04-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fdo_auto_save): Don't turn off auto save mode. + Instead, store -1 in b->save_length. And don't auto save + if there is -1 there. + + * xterm.c (note_mouse_highlight): Temporarily widen the buffer. + + * xdisp.c (display_text_line): Rename startp to leftmargin. + Use that, not p1start, when checking for char off left edge. + + * dispnew.c (verify_charstarts): Handle truncation of lines. + + * xdisp.c (mark_window_display_accurate, redisplay): + Set window_end_valid to the buffer displayed, not Qt. + * xterm.c (note_mouse_highlight): Check window still shows that buffer. + +1994-04-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (show_mouse_face): Turn off cursor only if it's + in the area being manipulated. + (XTupdate_begin): Don't turn off highlight if we aren't updating + the window that it is in. + + * buffer.c (overlays_at): Fix previous change. + + * lisp.h (gc_in_progress): Declared. + + * xterm.c (note_mouse_highlight): Do nothing if gc_in_progress. + Set mouse_face_deferred_gc when that case arise. + (XTframe_up_to_date): If mouse_face_deferred_gc, redo highlighting. + + * xdisp.c (display_text_line): Properly handle charstarts for hscroll, + and for continuation in mid character. + (message2): Call frame_up_to_date_hook. + + * xterm.c (undefer_mouse_highlight, defer_mouse_highlight): New fns. + * alloc.c (Fgarbage_collect): Call ..._mouse_highlight. + + * buffer.c (overlays_at): Use XGCTYPE. + + * buffer.h (OVERLAY_POSITION): Use XGCTYPE. + + * xmenu.c (Fx_popup_dialog): If POSITION is t, use selected frame. + +1994-04-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (redisplay): do_verify_charstarts controls whether to + call verify_charstarts. + Fix one-off when checking for the last line. + + * xterm.c (note_mouse_highlight): Reject out-of-range pos value + before it causes an error. + + * dispnew.c (verify_charstarts): Count right for continued lines. + (direct_output_for_insert): Add charstarts entry after the new char. + Use the right point value for the inserted character. + + * xdisp.c (display_text_line): Always store in charstart + even if at endp. When clearing charstart, do the whole width. + + * dispnew.c (scroll_frame_lines): When updating charstarts, + treat all columns alike--don't zero out any. + Fix end tests of loops over i. + (adjust_window_charstarts): Fix typo. + + * xterm.c (fast_find_position): Always return coords within the window. + + * xdisp.c (redisplay): Call verify_charstarts. + + * dispnew.c (verify_charstarts): New function. + + * xdisp.c (redisplay): Don't call adjust_window_charstarts + if on last text line of window. + + * xterm.c (note_mouse_highlight): Handle disable_mouse_highlight. + +1994-04-01 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * buffer.c (list_buffers_1): Set buffer contents, then mode. + +1994-04-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (scroll_frame_lines): Fix previous changes. + +1994-04-01 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) + + * xterm.c (x_wm_set_size_hint): Add USE_X_TOOLKIT conditional and call + XtGetValues to get the width and the height of the Emacs frame. + + * xdisp.c (update_menu_bar): Pass 0 to set_frame_menubar. + + * widget.c (EmacsFrameSetCharSize): Clean up code. + Replace XtVaSetValues by XtSetValues. + +1994-04-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (construct_menu_click, construct_mouse_click): + Use XSET when setting result->x and result->y. + + * xmenu.c (xmenu_show): Undo part of March 11 change: + Do call lw_destroy_all_widgets at the end. + + * dispnew.c (scroll_frame_lines): Typo in previous change. + Arg POS_ADJUST replaced with arg NEWPOS. + * xdisp.c (try_window_id): Pass new arg to scroll_frame_lines. + + * xdisp.c (redisplay): In previous change, handle case where + no newline follows. + + * xterm.c (note_mouse_highlight): Use the value from sort_overlays. + Make the window's buffer current temporarily. + window_end_pos is relative to Z, not ZV. + +1994-03-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (adjust_window_charstarts): New function. + (direct_output_for_insert): Call it. + (make_frame_glyphs): If EMPTY, don't leave junk in ->total_charstarts. + + * xdisp.c (redisplay): Call adjust_window_charstarts + to update the charstarts of following lines. + +1994-03-31 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * callproc.c (child_setup): Check out==err when relocating fds. + +1994-03-31 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) + + * xfns.c (x_window) [USE_X_TOOLKIT]: When doing geometry management, + don't compute the size of the menubar if there is no menubar. + +1994-03-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket, MotionNotify and LeaveNotify cases): + If not in any frame, call clear_mouse_face. + +1994-03-31 Frederic Pierresteguy (fp@geech.gnu.ai.mit.edu) + + * xterm.h: Define HAVE_X11R4 if AIX3_2 is defined. + + * xfns.c (x_window) [USE_X_TOOLKIT]: New args window_prompting and + minibuffer_only. + Don't pass top_pos and left_pos to XtCreatePopupShell. + Call initialize_frame_menubar before creating the Emacs frame if it is + not the minibuffer. Call XtManageChild for the menubar widget if any. + Compute some geometry management. + (Fx_create_frame): Pass window_prompting and minibuffer_only to + x_window. + Don't call x_wm_set_size_hint. + Don't call initialize_frame_menubar. + + * xmenu.c (set_frame_menubar): New arg, first_time. + Don't update the menubar the first time it is created via x_window. + (initialize_frame_menubar): Pass 1 to set_frame_menubar. + + * widget.c (set_frame_size): Dont compute any geometry management. + +1994-03-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_term_init): Set frame_up_to_date_hook. + (XTframe_up_to_date): New function. + * termhooks.h (frame_up_to_date_hook): Declared. + * term.c (frame_up_to_date_hook): Defined. + * xdisp.c (redisplay): Call frame_up_to_date_hook. + +1994-03-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * scroll.c (do_scrolling): Handle charstarts like glyphs. + + * dispnew.c (scroll_frame_lines): Handle charstarts like glyphs. + (direct_output_for_insert): Likewise. + (preserve_other_columns): Likewise. + + * systty.h (INCLUDED_FCNTL): Define, if include fcntl.h. + * xterm.c [INCLUDED_FCNTL]: Don't include fcntl.h again. + +1994-03-30 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * minibuf.c (Fminibuffer_prompt, Fminibuffer_prompt_width): New funcs. + +1994-03-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * indent.c (Fcompute_motion): Doc fix. + (Fcompute_motion): Don't use XFASTINT on possibly-negative coords. + +1994-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dispnew.c (update_line): Update charstarts like glyphs. + +1994-03-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * systime.h (EMACS_TIME_NEG_P): Cast to signed. + +1994-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTupdate_begin): Turn off mouse face display, and defer it. + (XTupdate_end): Undefer. + (mouse_face_defer): New variable. + (mouse_face_mouse_frame, mouse_face_mouse_x, mouse_face_mouse_y): + New variables. + + * xfaces.c (compute_char_face): New arg MOUSE. + (Qmouse_face): New variable. + (syms_of_xfaces): Initialize Qmouse_face. + * xterm.c (dumpglyphs): Handle HL = 3 by using mouse_face_face_id. + (note_mouse_movement): Check for mouse face. + (show_mouse_face, fast_find_position): New functions. + (clear_mouse_face): New functions. + (mouse_face_beg, mouse_face_end, mouse_face_face_id): New variables. + (mouse_face_window): New variable. + (syms_of_xterm): Init and staticpro it. + + * xdisp.c (display_text_line): Pass new arg to compute_char_face. + Fill in charstarts array. + (display_string): Clear part of charstarts array. + +1994-03-29 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * window.c (Fwindow_width): Delete unnecessary variable declarations. + + * indent.c (Fcompute_motion): Typecheck all arguments. + +1994-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (display_text_line): Fill in charstart values. + + * dispextern.h (struct frame_glyphs): New fields charstarts + and total_charstarts. + * dispnew.c (make_frame_glyphs): + Initialize charstarts, total_charstarts. + (free_frame_glyphs): Free those fields. + +1994-03-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (display_text_line): Handle selective display at window edge. + + * dired.c (file_name_completion): Don't step on dirname. + + * xterm.c (x_find_modifier_meanings): Skip zero entries. + +1994-03-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * dired.c (file_name_completion): Protect things from GC. + + * buffer.c (verify_overlay_modification): + Copy TAIL before a hook, in case the hook recenters the overlay lists. + + * s/dgux.h (LIBS_SYSTEM): Commented out. + +1994-03-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Vinhibit_file_name_handlers): New var. + (syms_of_fileio): Set up Lisp var. + (Ffind_file_name_handler): Obey the variable. + + * minibuf.c (Vcompletion_regexp_list): New var. + (syms_of_minibuf): Set up Lisp var. + (Ftry_completion, Fall_completions): + Limit possible completions to strings matching those regexps. + + * search.c (Freplace_match): Doc fix. + +1994-03-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * minibuf.c (read_minibuf): Return val via unbind_to. + +1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * commands.h (this_command, last_command): Declared. + + * minibuf.c (Fminibuffer_complete): Scroll the completion window + in some cases. + + * print.c (debug_print): New function. + * .gdbinit (pr): Use debug_print. + +1994-03-25 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * frame.c (Fframe_first_window): New function. + +1994-03-24 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * editfns.c (Fformat): Validate number and type of arguments. + + * xmenu.c (xmenu_show): Enable asynchronous events. + + * keymap.c (Fwhere_is_internal): Skip duplicate keybindings. + + * xfns.c (x_report_frame_params): Sample visibility. + (x_get_arg): Use downcased string in compare. + + * process.c (status_notify): Use assignment, not initialization. + * textprop.c (add_properties, remove_properties): Ditto. + * window.c (unshow_buffer, window_loop, Fdisplay_buffer): Ditto. + * xdisp.c (x_consider_frame_title, decode_mode_spec): Ditto. + * xfns.c (x_set_frame_parameters, x_get_arg, x_window, + Fx_create_frame, Fx_create_frame): Ditto. + * xselect.c (x_get_local_selection, x_handle_selection_request): Ditto. + * xterm.c (x_window_to_scroll_bar, x_new_font): Ditto. + +1994-03-24 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xfns.c (Fx_create_frame): Add USE_X_TOOLKIT conditional around the + call to initialize_frame_menubar. + +1994-03-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * intervals.c (verify_interval_modification): For insertion in + middle of an interval, use the same criterion as between intervals + for whether read-only forbids it. + +1994-03-23 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * alloc.c (make_event_array): Use assignment, not initialization. + * buffer.c (sort_overlays, Fmake_overlay): Ditto. + * callint.c (check_mark, Fcall_interactively): Ditto. + * callproc.c (call_process_cleanup, getenv_internal): Ditto. + * cmds.c (internal_self_insert): Ditto. + * data.c (store_symval_forwarding, Fsymbol_value): Ditto. + * fileio.c (Finsert_file_contents): Ditto. + * filelock.c (lock_file): Ditto. + * frame.c (next_frame, prev_frame, other_visible_frames, + Fdelete_frame): Ditto. + * intervals.c (adjust_intervals_for_insertion, + merge_properties_sticky, delete_interval): Ditto. + * keymap.c (access_keymap, store_in_keymap, Fcopy_keymap, + Fdefine_key, Faccessible_keymaps, Fwhere_is_internal): Ditto. + * lread.c (read_filtered_event, intern): Ditto. + * minibuf.c (read_minibuf): Ditto. + * msdos.c (run_msdos_command): Ditto. + + * sysdep.c (reset_sys_modes): Turn off O_NDELAY. + + * window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix. + + * frame.c (do_switch_frame): Common code for Fselect_frame and + handle_switch_frame. + + * xfns.c (x_get_focus_frame): New function. + +1994-03-23 Frederic Pierresteguy (fp@geech.gnu.ai.mit.edu) + + * xmenu.c (update_frame_menubar): Function renamed from + update_one_frame_psheets. + (initialize_frame_menubar): New function. + (set_frame_menubar): Call menu_bar_items when items is NIL. + + * xfns.c (Fx_create_frame): Call initialize_frame_menubar. + +1994-03-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (reset_buffer): Init auto_save_failure_time slot. + +1994-03-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c: (where_is_string, Fwhere_is): Deleted. + (syms_of_keymap): Corresponding changes. + +1994-03-22 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keymap.c (Fdefine_key): Check for non-events in keyvector. + + * minibuf.c (read_minibuf): Don't redirect focus unless minibuf is + on another frame. + + * lread.c (read1): Check for invalid modifier bits in a string. + (unreadchar): Don't back up the pointer when unreading EOF. + +1994-03-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * callproc.c (Fcall_process): Make sure to close descriptors. + (call_process_cleanup): Always close descriptor. + +1994-03-22 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * widget.c (set_frame_size): Put #if 0 around a lot of useless code. + Compute explicitely the geometry of the toplevel widget. + Call XtSetValues not XtVaSetValues. + +1994-03-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (__do_global_ctors, __do_global_ctors_aux) + (__do_global_dtors): Don't define if GCC_CTORS_IN_LIBC. + (__CTOR_LIST__, __DTOR_LIST__): Likewise. + +1994-03-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (init_keyboard): Don't handle SIGINT if using X. + +1994-03-21 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (add_command_key): Use assignment, not initialization. + (command_loop_1, read_char, kbd_buffer_store_event, + kbd_buffer_get_event, make_lispy_event, make_lispy_movement, + apply_modifiers_uncached, parse_modifiers, apply_modifiers, + reorder_modifiers, read_key_sequence): Ditto. + +1994-03-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * data.c (Qwholenump): New variable. + (syms_of_data): Set and gcpro Qwholenump. + * lisp.h (Qwholenump): Declared. + (CHECK_NATNUM): Use Qwholenump. + +1994-03-21 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keymap.c (Fcopy_keymap): Account for menus and equiv-key cache. + (Fkeymapp): Doc fix. + +1994-03-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * data.c (Fstring_to_number): Doc fix. + +1994-03-20 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * data.c (Fmake_local_variable): Void variables stay void. + +1994-03-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * alloca.c, alloca.s, gmalloc.c: Make them symlinks again. + + * fns.c (Fy_or_n_p, Fyes_or_no_p): Call Fx_popup_dialog the new way. + (Fyes_or_no_p): Always display just one dialog box + whether or not USE_X_TOOLKIT. + +1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xdialog_show): Delete args x, y. + (Fx_popup_dialog): Don't pass those args; don't compute them. + Second arg is now just one pane. Lots of simplification. + Always start by decoding POSITION arg to get a frame. + [! USE_X_TOOLKIT]: Put the menu in middle of that frame. + + * s/freebsd.h (HAVE_TERMIOS, NO_TERMIO): Defined. + + * Makefile.in.in (emacs): rm emacs before the ln. + (tagsfiles): Accept capital letters. + + * process.c (wait_reading_process_input, both versions): Don't call + redisplay_preserve_echo_area unless do_display. + + * emacs.c (syms_of_emacs): Don't initialize Vinstallation_name + and Vinstallation_directory. + + * fns.c (Fyes_or_no_p) [USE_X_TOOLKIT]: Display just one menu. + + * xmenu.c (Fx_popup_dialog, Fx_popup_menu): Require 2 args. + (Fx_popup_dialog): Don't fail to set X, Y from POSITION. + (xdialog_show): Call lw_modify_all_widgets properly. + Generate dialog's name at run time to specify number of buttons. + Report error if too many buttons to handle or if multiple panes. + +1994-03-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * lisp.h (MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): Handle termcap + frames as well as X. + (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE): New macros. + * xdisp.c (fix_glyph): Handle termcap frames as well as X. + (display_text_line, copy_part_of_rope, display_mode_line): Ditto. + * dispnew.c (direct_output_for_insert): Ditto. + * xterm.c (dumpglyphs): Use the fast macros. + +1994-03-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (list_of_items): Arg to push_menu_item was missing. + +1994-03-18 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile.in.in (LIBXT): Add -lXext. + +1994-03-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * s/netbsd.h (LD_SWITCH_SYSTEM): Undo previous change. + +1994-03-17 Jim Blandy (jimb@totoro.bio.indiana.edu) + + * indent.c (compute_motion): Doc fixes. + +1994-03-17 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile.in.in (X_WINDOWS_SUPPORT): New macro. + (lisp): Include X_WINDOWS_SUPPORT. Also add version.el; it is no + longer changed by building. + +1994-03-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * process.c (create_process): Skip the ioctl if fd is -1. + + * lread.c (openp, Fload): GCPRO some things. + * callproc.c (Fcall_process): Ditto. + * process.c (Fstart_process): Ditto. + + * s/netbsd.h (LD_SWITCH_SYSTEM, HAVE_WAIT_HEADER): Define these. + +1994-03-16 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * data.c (Fchar_or_string_p, Fintegerp, Fnatnump): Doc fix. + + * minibuf.c (read_minibuf): Disallow trailing junk. + +1994-03-16 Morten Welinder (terra@diku.dk) + + * fileio.c (Ffile_modes) [MSDOS]: set exec-bit based on file suffix. + * s/msdos.h: use bcopy when moving gap. + +1994-03-16 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * fns.c (Frandom): Eliminate bias in random number generator. + + * floatfns.c (FLOAT_TO_INT, FLOAT_TO_INT2, range_error2): New macros. + (ceiling, floor, round, truncate): Use them. + +1994-03-15 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (redisplay): Don't consider minibuffer name for frame title. + (update_menu_bar): Delete unused second argument. Callers changed. + + * fileio.c (Frename_file, Fcopy_file, Fadd_name_to_file, + Fmake_symbolic_link): Fix typo in previous change. + + * s/netbsd.h (LOCALTIME_CACHE): Define this symbol. + +1994-03-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Frename_file): Use RETURN_UNGCPRO when run handler. + (Fcopy_file, Fadd_name_to_file, Fmake_symbolic_link): Likewise. + +1994-03-15 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (message1): Call message2 instead of duplicating code. + +1994-03-14 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * floatfns.c (Flogb): Check for 0.0. Emulate logb if needed. + + * xterm.c (x_scroll_bar_expose): Don't make the right border thicker. + * xterm.h (VERTICAL_SCROLL_BAR_RIGHT_BORDER): Change from 3 to 2. + + * frame.c (terminal-frame) [! MULTI_FRAME]: Create this variable. + + * minibuf.c (read_minibuf): Make minibuffer frame visible when + minibuffer activated. + + * frame.c (Fhandle_switch_frame): Ignore switch to dead frame. + + * fileio.c (Fread_file_name): Delete docstring of second version. + * frame.c (framep, selected-frame, frame-char-height, frame-char-width, + frame-pixel-height, frame-pixel-width, set-frame-height, + set-frame-width, set-frame-size): Ditto. + + * buffer.c (buffer-display-table, buffer-undo-list): Ditto. + + * xdisp.c (redisplay_window): Avoid dividing negative numbers. + * window.c (window_scroll, Fmove_to_window_line): Ditto. + * search.c (search_buffer): Avoid boolean/integer confusion. + + * dispnew.c (Fredraw_frame) [! MULTI_FRAME]: Make noninteractive. + +1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (Fx_popup_dialog, Fx_popup_menu): Handle case where + mouse_position_hook doesn't store anything. + +1994-03-14 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * widget.c (EmacsFrameSetCharSize): Set the values of left_pos and + top_pos to the values of the toplevel widget coordinates. + +1994-03-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (Fx_popup_dialog) [! USE_X_TOOLKIT]: Call Fx_popup_menu. + + * indent.c (Fvertical_motion): New optional arg WINDOW. + * window.c (Fdelete_other_windows): Pass new arg to Fvertical_motion. + (window_scroll, Frecenter, Fmove_to_window_line): Likewise. + + * fileio.c (Finsert_file_contents): Don't let same_at_end be less + than same_at_start. + +1994-03-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * puresize.h (PURESIZE): Reduce to 230000. + +1994-03-11 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * floatfns.c (Fexpt): Delete extraneous `for' statement. + + * process.c (get_process): Allow arg to be a buffer object. + + * xdisp.c (x_consider_frame_title): New function, extracted from + display_mode_line. + (redisplay): Update frame title on iconified frames. + +1994-03-11 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xmenu.c (xdialog_show): New function to handle the display of dialog + boxes. + (Fx_popup_dialog): New function. + (dialog_selection_callback): New function. + (xmenu_show) [USE_X_TOOLKIT]: Don't call lw_destroy_all_widgets at the + end. + Do the work of construct_mouse_click in the ButtonRelease case. + + * Makefile.in (LIBXT): Add -lXext to the list. + + * widget.c (EmacsFrameSetCharSize): Call XawPanedSetRefigureMode. + Call XtSetValues not XtVaSetValues. + + * fns.c (Fyes_or_no_p): Call Fx_popup_dialog instead of Fx_popup_menu. + (Fy_or_n_p): Likewise. + +1994-03-10 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * filelock.c (lock_superlock): Synchronize NFS cache. + + * search.c (Fre_search_forward, Fre_search_backward): Doc fix. + +1994-03-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.c (compute_motion): Initialize prev_hpos. + + * keyboard.c (command_loop_1): On entry, set this_command + after running Vpost_command_hook. + + * puresize.h (PURESIZE): Increment to 240000. + + * xmenu.c (Fx_popup_menu): If POSITION is nil, + don't require an open X connection. + (single_keymap_panes, keymap_panes, menu_item_enabled_p): + New arg NOTREAL. + (Fx_popup_menu): Pass new arg (1 if POSITION is nil). + (menu_item_enabled_p): If NOTREAL, always return t. + + * xmenu.c (single_keymap_panes) [!USE_X_TOOLKIT]: + Append > to item_string if submenu. + +1994-03-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c [USE_X_TOOLKIT]: Display submenus in Xt style. + (menu_items): Record where submenus start and end. + (menu_items_submenu_depth): New variable. + (init_menu_items): Init it. + (push_submenu_start, push_submenu_end): New functions. + (grow_menu_items): New function. + (push_menu_pane, push_menu_item): Use it. + (push_menu_pane): Increment menu_items_n_panes only if depth is 0. + (single_keymap_panes) [USE_X_TOOLKIT]: Record submenus in menu_items. + (xmenu_show) [USE_X_TOOLKIT]: Give submenus to toolkit. + + * xdisp.c (display_mode_line): Highlight partial-width mode lines + for a non-termcal frame. + + * lisp.h (GLYPH_MODE_LINE_FACE): New macro. + + * callproc.c: Don't kill remaining processes if child exits. + (call_process_exited): New variable. + (Fcall_process): Set it. + (call_process_cleanup): Test it. + +1994-03-09 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * window.c (Fselect_window): Undo previous minibuffer patch. + * callint.c (Fcall_interactively): Don't select an active minibuffer. + +1994-03-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (window_loop): Delete MULTI_FRAME + conditional within the loop, spuriously added in prev change. + Don't ignore invisible or iconified frames for GET_BUFFER_WINDOW; + instead, let Fnext_window skip them if appropriate. + +1994-03-08 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * window.c (Fselect_window): Don't select an inactive minibuffer. + +1994-03-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fdisplay_buffer): If pop_up_frames != 0, + consider just visible frames when looking for existing window. + + * undo.c (syms_of_undo): staticpro pending_boundary. + +1994-03-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * process.c (send_process) [_PC_MAX_CANON]: Also test #ifdef + HAVE_FPATHCONF before trying to use fpathconf. + * config.h.in: Add #undef HAVE_FPATHCONF. + + * term.c (term_get_fkeys_data): Variable removed. + (term_get_fkeys_define_1, term_get_fkeys_define): Functions removed. + (term_get_fkeys_address): New variable, to pass arg through + condition-case. + (term_get_fkeys): Set that to ADDRESS; just do condition-case + around call to term_get_fkeys_1, ignoring all errors. + (term_get_fkeys_1): New function, containing body of term_get_fkeys. + Don't use term_get_fkeys_define_1; call Fdefine_key directly. + +1994-03-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fprevious_window, Fnext_window): ALL_FRAMES = visible + means consider only visible frames. + (window_loop): Likewise for FRAMES. + (Fget_buffer_window, Fget_largest_window, Fget_lru_window): Doc fix. + (Fdelete_windows_on): Doc fix. + + * frame.c (next_frame, prev_frame): If MINIBUF is `visible', + consider only visible frames. + (Fnext_frame, Fprevious_frame): Doc fix. + (syms_of_frame): Staticpro Qvisible. + * lisp.h (Qvisible): Declared. + +1994-03-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.c (Fcompute_motion): New function. + + * window.c (Fwindow_width): Doc fix. + +1994-03-07 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * doprnt.c (doprnt): Do the right thing for negative size spec. + + * minibuf.c (temp_echo_area_glyphs): Use quit_char, not C-g. + (Fminibuffer_complete, Fminibuffer_complete_word): Doc fix. + (get_minibuffer): Make name buffer large enough. + + * window.c (Fscroll_other_window): Doc fix. + +1994-03-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * alloc.c (mark_object): Add no-op cast. + + * eval.c (error): Use doprnt. Make buffer larger as necessary. + + * casefiddle.c (operate_on_word): Don't move point; store in *NEWPOINT. + (Fupcase_word, Fdowncase_word, Fcapitalize_word): + Set point after changing case. Rename opoint to beg. + + * undo.c (pending_boundary): New variable. + (syms_of_undo): Initialize it. + (Fundo_boundary): Use pending_boundary. + (record_insert, record_delete, record_property_change): + Set pending_boundary. + +1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vmsproc.c: Include config.h, lisp.h, buffer.h, process.h, commands.h, + errno.h and file.h. + (write_to_vms_process): Change =- to -=. + (create_process): Set status field instead of obsolete flags field. + (child_sig): Likewise. + + * emacs.c (shut_down_emacs): Set Vrun_hooks to nil. + * minibuf.c (read_minibuf): Don't call Vrun_hooks if it is nil. + * keyboard.c (command_loop_1, read_key_sequence, Fcommand_execute): + Don't call Vrun_hooks if it is nil. + * editfns.c (save_excursion_restore): Don't call Vrun_hooks if nil. + * buffer.c (Fkill_buffer, Fkill_all_local_variables): + Don't call Vrun_hooks if it is nil. + + * fileio.c (Fdo_auto_save): Doc fix. + + * lisp.h (ARRAY_MARK_FLAG): Define here. + * alloc.c (ARRAY_MARK_FLAG): Not here. + +1994-03-04 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): Fix misplaced assignment of + last_point_position. + +1994-03-04 Paul Eggert (eggert@twinsun.com) + + * data.c (isnan): New macro. + (float_arith_driver): min and max yield NaN if any argument is a NaN. + +1994-03-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xmenu.c (update_one_frame_psheets): Call EmacsFrameSetCharSize to + force the paned widget to resize to the right value. + (xmenu_show): No need to check a second time whether the mouse has + moved to another menu bar item. This slows down execution. + + * widget.c (EmacsFrameSetCharSize): Don't call XtMakeResizeRequest. Use + XtVaSetValues for geometry management. + +1994-03-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * xmenu.c [USE_X_TOOLKIT] (xmenu_show): Pass display to + XtWindowToWidget. + +1994-03-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * search.c (skip_chars): Treat `-' as alias for space, if syntaxp. + + * fileio.c (Finsert_file_contents): Pass del_range_1 two ends, + not a length. + +1994-03-03 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * process.h (chan_process): Don't specify size. + +1994-03-03 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * fileio.c (Fread_file_name): Do the right thing when + insert-default-directory is nil. + Allow for doubled dollar signs in dir when computing pos. + + * commands.h: New variable last_point_position. + * keyboard.c (command_loop_1): Set it to the value of point. + * undo.c (record_delete): Save this value in the undo record, + rather than the current value of point.) + + * buffer.c (Fget_file_buffer): Doc fix. + + * s/aix3-2.h (C_SWITCH_SYSTEM): Increase maxmem when using IBM's + compiler. + +1994-03-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (chan_process, Vprocess_alist): No longer static. + * process.h (chan_process, Vprocess_alist): Declared. + + * puresize.h (PURESIZE) [MULTI_FRAME]: Incremented to 230000. + + * minibuf.c (Fdisplay_completion_list): Restore original buffer + before running completion-setup-hook. + + * frame.c (Fdelete_frame): Don't initialize a Lisp_Object. + Clean up line breaks. + + * process.c: Include unistd.h. + (pty_max_bytes): New variable. + (send_process): Send an eof after each pty_max_bytes bytes. + + * keyboard.c (menu_bar_items): When moving an item to the end, + shift all the following ones forward one slot. + +1994-03-02 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xfns.c (Fx_list_fonts): Avoid confused increment of info. + + * syntax.c (Fforward_comment): Do the right thing at eob. + +1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (menu_bar_items): Accept old vector as arg. + Return a vector. + (menu_bar_one_keymap, menu_bar_item): Associated changes. + (make_lispy_event): Use FRAME_MENU_BAR_LINES as vector. + * frame.c (make_frame): Init menu_bar_items field to 0. + * xdisp.c (update_menu_bar): Change call to menu_bar_items. + (display_menu_bar): Use FRAME_MENU_BAR_LINES as vector. + * xmenu.c (map_event_to_object, set_frame_menubar): + Use FRAME_MENU_BAR_LINES as vector. + +1994-03-01 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * s/aix3-2.h: Use -g with the native compiler. + * s/aix3-2-5.h: New file. Use -O with the native compiler. + +1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lisp.h (struct handler): New field chosen_clause. + * eval.c (Fsignal): Record the clause in chosen_clause. + (Fcondition_case, internal_condition_case): Look there. + (internal_condition_case_1): Look there. + + * fileio.c (Finsert_file_contents): If undo_list was t, leave it t. + + * alloc.c (memory_signal_data): No longer static. + (syms_of_alloc): Stick Qerror onto memory_signal_data. + * lisp.h (memory_signal_data): Declare it. + * eval.c (Fsignal): If DATA is memory_signal_data, don't add to it. + +1994-02-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * alloc.c (memory_full): Use new variable memory_signal_data with + precomputed value instead of trying to build it after memory is + already exhausted. + +1994-02-28 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * xmenu.c (xmenu_show): Test XtWindowToWidget before inserting into + the event_queue. + + * xterm.c (XTread_socket): For case ClientMessage and + Xatom_wm_delete_window, use x_any_window_to_frame. + +1994-02-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sol2-3.h (LD_SWITCH_SYSTEM): New definitions, with #undef. + + * insdel.c (del_range_1): New function. + (del_range): Use it. + * fileio.c (Finsert_file_contents): Use del_range_1. + +1994-02-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (Fsuspend_emacs): New variable cannot-suspend forces + a subshell even if the system seems to support job control. + * sysdep.c (sys_subshell): New function, split from sys_suspend. + +1994-02-25 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * window.c (Fset_window_configuration): Allow for menu-bar-lines + to have changed since the configuration was created. + +1994-02-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Vsystem_key_alist): Renamed from Vvendor_key_alist. + (syms_of_keyboard): Rename Lisp var to system-key-alist. + +1994-02-25 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * buffer.h (OVERLAY_POSITION): Don't check which buffer it points to. + + * lisp.h: Delete extra backslash on last line of macro. + + * xdisp.c (display_text_line): Allow for invisible overlays in + next_invisible lookahead. + * indent.c (compute_motion): Likewise. + +1994-02-25 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * widget.c (EmacsFrameSetCharSize): Set coordinates values to the + toplevel widget. + + * xterm.c (XTread_socket): For case ConfigureNotify, call + x_any_window_to_frame. + [USE_X_TOOLKIT]: Call XTranslateCoordinates for case ConfigureNotify + when send_event is 0 and when the event is relative to toplevel widget. + + * widget.c (EmacsFrameSetCharSize): Call check_frame_size and update + vertical_scroll_bar_extra. + Call SET_FRAME_GARBAGED. + +1994-02-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lread.c (Fload): Cast the args to stat. + +1994-02-24 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (try_window): Add #ifdef USE_TEXT_PROPERTIES around call + to Fget_text_property. + + * textprop.c (Fget_char_property): New function. + * buffer.c (sort_overlays): Allow for null window. + * xdisp.c (try_window, display_text_line): Use Fget_char_property + to test for invisibility. + * indent.c (compute_motion, vmotion): Likewise. + * dispnew.c (direct_output_forward_char): Likewise. + +1994-02-24 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xfns.c (x_window): Call XChangeWindowAttributes with the standard + event set to make all these events reach the Emacs frame. + +1994-02-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (Fx_popup_menu): Allow t as position, meaning use mouse pos. + + * fns.c (Fy_or_n_p): Use a popup menu if reached via mouse command. + (Fyes_or_no_p): Likewise. + + * unexelf.c (ELF_BSS_SECTION_NAME): New macro (config.h may override). + (unexec): Use it. + +1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Fkill_buffer): Call the Vkill_buffer_query_functions. + (syms_of_buffer): Make Lisp var for kill-buffer-query-functions. + +1994-02-22 Karl Heuer (kwzh@geech.gnu.ai.mit.edu) + + * lisp.h: New variable Vdoc_directory. + * doc.c (get_doc_string, Snarf_documentation): Use it. + * callproc.c (syms_of_callproc, init_callproc_1): Initialize it. + * paths.h.in: Define PATH_DOC for default doc-directory. + +1994-02-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_movement, make_lispy_event): + In non-scrollbar mouse case, return coords in pixel units. + + * frame.c (Fmouse_position): Convert to glyph units. + + * xterm.c (construct_mouse_click): Don't convert to glyph units. + (XTmouse_position): Don't convert to glyph units. + * msdos.c (mouse_get_pos): Don't convert to glyph units. + + * fileio.c (Finsert_file_contents): If REPLACE, always do lseek. + Exit main loop if INSERTED reaches TOTAL. + +1994-02-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTmouse_position): Use x_any_window_to_frame. + +1994-02-22 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * emacs.c: Move extern declarations to top of file. + +1994-02-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_event): For menu bar event in USE_X_TOOLKIT + case, convert x position to glyphs after map_event_to_object. + Call window_from_coordinates later on. + + * xmenu.c (menu_item_equiv_key): Cached equiv-key data is a sublist. + * keymap.c (get_keyelt): Cached equiv-key data is now a sublist. + + * xterm.c (x_had_errors_p): New function. + (construct_menu_click): Move function after pixel_to_glyph_coords. + + * xmenu.c: Most of file rewritten. + (menu_items, menu_items_*): New variables. + (MENU_ITEMS_*): New macros. + (init_menu_items, discard_menu_items, push_menu_pane, push_menu_item) + (finish_menu_items): New functions. + (menu_item_enabled_p): New function. + (keymap_panes, single_keymap_panes): Major rewrite; most args changed. + (list_of_panes, list_of_items): Major rewrite; most args changed. + (Fx_popup_menu): Major rewrite. Now independent of display mechanism. + No more conditionals here. + (set_menu_items, free_menu_items): Functions deleted. + (xmenu_show): Both versions rewritten to work from menu_items + and to do all the conditionalized things that were in Fx_popup_menu. + (unread_menu_bar_button, other_menu_bar_item_p): New functions. + (check_mouse_other_menu_bar): New function. + + * xterm.c [!USE_X_TOOLKIT] (x_any_window_to_frame): + Define as x_window_to_frame. + +1994-02-20 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * unexsunos4.c: Move config.h after system includes. + + * syswait.h [BSD]: #undef WCOREDUMP before defining it. + +1994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.c (Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first. + + * xterm.c (XTread_socket--cases KeyPress, EnterNotify, LeaveNotify) + (cases FocusIn, FocusOut): Use x_any_window_to_frame. + + * xfns.c (x_window_to_frame): Add parens for clarity. + + * xmenu.c: Find and display keyboard equivalents of menu items. + (menu_item_equiv_key): New function. + (single_keymap_panes): Call it. Properly skip help-string if any. + Rename item2 to item_string. + GCPRO some things. + (menu_item_equiv_key): Use either VECTORP or STRINGP, not both. + + * keymap.c (get_keyelt): Discard keyboard equivalents stored in a + menu keymap element. + +1994-02-18 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * widget.c (get_default_char_pixel_size): Clean up code. + Remove code inside #if 0 directive. + + * xmenu.c (popup_selection_callback): Clean up code. Remove code inside + #if 0 directive. + (popup_down_callback): Likewise. + +1994-02-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (restore_point_unwind): New function. + (Finsert_file_contents): In REPLACE case, set point and restore it. + + * gnu.h (gnu_bits): Use unsigned char. + + * bitmaps/*.xbm: Use unsigned char, not char. + + * window.c (unshow_buffer): Unconditionally set last_window_start. + +1994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fdelete_other_windows): Don't call Frecenter; + do it by hand and avoid setting w->force_start. + + * xterm.c (dumpglyphs): Try various alternatives for foreground color + of a glyph with the cursor on it. + + * dosfns.c, msdos.c, widget.c: Use <...> for config.h. + + * fileio.c (Finsert_file_contents): New arg REPLACE. + New feature to replace buffer contents with file contents. + +1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * systty.h (EMACS_TTY_TABS_OK): Alternate definition if no TABDLY. + + * s/bsd4-2.h, s/dgux.h, s/rtu.h, s/umax.h (BSD_PGRPS): Defined. + * s/netbsd.h, s/bsd386.h (BSD_PGRPS): Add #undef. + * sysdep.c (init_sys_modes, reset_sys_modes): Test BSD_PGRPS. + (narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS. + + * sysdep.c (child_setup_tty): Use IUCLC, OLCUC, NLDLY only if defined. + + * emacs.c (main): Test BSD_PGRPS, not BSD. + + * s/netbsd.h (TAB3): Defined. + (NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined. + + * sysdep.c (init_sys_modes): IEXTEN is in c_lflag, not c_iflag. + + * unexmips.c (unexec): Add cast to result of `sbrk'. + +1994-02-15 Chris Hanson (cph@klia.ai.mit.edu) + + * s/newsos5.h: Include usg5-4.h. + (LIBS_SYSTEM, LINKER, START_FILES, LIB_STANDARD): + Definitions moved here. + + * m/news-risc.h [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH) + (LD_SWITCH_MACHINE): Definitions moved here. + + * m/mips.h: NEWSOS5 conditional deleted. + [NEWSOS5] (START_FILES, LIB_STANDARD, C_DEBUG_SWITCH) + (C_OPTIMIZE_SWITCH, LD_SWITCH_MACHINE): Definitions moved away. + +1994-02-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (Fx_parse_geometry): Don't call check_x. + + * sysdep.c (sys_write): If any bytes were written, return how many. + + * xterm.c (XTread_socket): Do not assume that select returning + immediately with no events implies a hangup. + +1994-02-14 Karl Heuer (kwzh@geech.gnu.ai.mit.edu) + + * xterm.h (check_x): Declare it. + * xfns.c (check_x): Make it global. + (Fx_parse_geometry, Fx_list_fonts, Fx_close_current_connection): + call check_x. + + * xmenu.c (Fx_popup_menu): Likewise. + * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal, + Fx_disown_selection_internal, Fx_rotate_cut_buffers_internal, + Fx_selection_exists_p, Fx_get_cut_buffer_internal, + Fx_store_cut_buffer_internal, Fx_selection_owner_p): Likewise. + + * indent.c (indented_beyond_p): New function. + (compute_motion, vmotion): Use it to treat blank lines specially + in selective display. + * xdisp.c (try_window_id, display_text_line): Likewise. + +1994-02-13 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * s/netbsd.h (BROKEN_START, TEXT_START): Don't define. + (HAVE_TEXT_START): Define this instead. + * sysdep.c (start_of_text): Don't define #ifdef HAVE_TEXT_START. + +1994-02-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (decode_mode_spec): Support %+. + + * keyboard.c (command_loop_1): + On entry, set last_command to this_command. + + * term.c (term_init): If no `se', use `me'; + if no `me' either, don't use standout mode at all. + +1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in (${libsrc}make-docfile): Don't pass ../arch-lib + as target to submake. + +1994-02-11 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * sysdep.c [USG]: Fix conditional includes. + + * m/convex.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/tekxd88.h, + s/386bsd.h, s/bsd386.h, s/dgux.h, s/irix3-3.h, s/linux.h, + s/netbsd.h, s/usg5-4.h: Delete HAVE_SETSID; configure checks for + that. + + * xrdb.c (gethomedir): Look at LOGNAME before USER. + + * editfns.c (Fuser_real_login_name): Doc fix. + +1994-02-11 Paul Eggert (eggert@twinsun.com) + + * editfns.c (init_editfns): Look at LOGNAME before USER. + * fileio.c (Fsubstitute_in_file_name): Remove long-dead code + that looked at USER before LOGNAME. + +1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (syms_of_buffer): Doc fix. + + * xdisp.c (decode_mode_spec): Implement `P'. + +1994-02-11 Charles Hannum (mycroft@duality.gnu.ai.mit.edu) + + * s/netbsd.h (KERNEL_FILE, LDAV_SYMBOL): Undefine and leave them + that way. + (LIBS_TERMCAP): Define. Native libtermcap is better than the Emacs + version, and knows the correct path. + (N_PAGSIZ, N_BSSADDR, N_TRELOFF): Don't redefine if they already + exist (i.e. under NetBSD >0.9). + +1994-02-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * s/netbsd.h (SYSV_SYSTEM_DIR): Define. + (BROKEN_START, TEXT_START, START_FILES, UNEXEC, RUN_TIME_REMAP): + Define to use unexsunos4. + (N_PAGSIZ, N_BSSSADDR, N_TRELOFF): Define so unexsunos4.c compiles. + +1994-02-11 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xfns.c (x_set_menu_bar_lines) [USE_X_TOOLKIT]: Dont Call + XtDestroyWidget but free_frame_menubar. + Undo previous changes. + * xterm.c (x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar. + * xmenu.c (free_frame_menubar) [USE_X_TOOLKIT]: New function to destroy + the X Widget instance of the menubar. + + * widget.c (EmacsFrameResize): Don't call XTranslateCoordinates. Code + removed. + + * xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Return Qnil when val is null. + +1994-02-11 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * keyboard.c (Fexecute_extended_command): Copy this_command_keys + as a vector, not a string. + +1994-02-10 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Add a DEFVAR for command-hook-internal. + (command_loop_1): Use it for post-command-hook. + +1994-02-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * process.c (sys_siglist): Protect decl with #ifndef + SYS_SIGLIST_DECLARED. + * config.h.in: Add #undef SYS_SIGLIST_DECLARED. + +1994-02-10 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * lread.c (read_filtered_event): Retry read_char after a buffer change. + * keyboard.c (read_char, read_char_minibuf_menu_prompt, + read_key_sequence): Likewise. + + * dispnew.c (buffer_posn_from_coords): Take hscroll into account. + * window.c (Fpos_visible_in_window_p): Likewise. + + * editfns.c (Fmessage): Copy the text to be displayed into a + malloc'd buffer. + +1994-02-10 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show): Test again event.xmotion.x_root in the + MotionNotify case. + +1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * vmsdir.h: File renamed from dir.h. + * ndir.h, fileio.c: Use new name vmsdir.h. + +1994-02-09 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * alloc.c (Fgarbage_collect): Save and restore echo_area_glyphs_length. + * fileio.c (Fdo_auto_save): Likewise. + + * buffer.c (Fkill_all_local_variables): Run change-major-mode-hook. + + * xterm.c (x_display_cursor, process_expose_from_menu): Block input. + + * editfns.c (difftm): Simplify return expression. + + * m/news.h (CRT0_DUMMIES): Definition deleted. + + * alloc.c (mark_object): Fetch obj from *objptr at loop, not at + the gotos. + +1994-02-09 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * Implement a Motif behavior for the menubar. Now, if you move the + pointer on another menubar item while displaying the contents of a + selected menubar item, the current pulldown menu is closed and the new + one corresponding to the new pointed item is displayed. + * xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Clean up code. + Handle the MotionNotify events in the XEvent loop. + +1994-02-08 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * xfaces.c (compute_char_face): Extract overlay-sorting code as a + separate function, which is now in buffer.c. + * buffer.c (sort_overlays): New function, extracted from xfaces.c. + +1994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * print.c (print): If print_escapes_newlines, print '\f' as "\\f". + (syms_of_print): Update docstring. + +1994-02-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (Fprocess_kill_without_query): Doc fix. + +1994-02-07 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xterm.c (x_make_frame_invisible): Add USE_X_TOOLKIT conditional. + +1994-02-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_set_window_size): New arg CHANGE_GRAVITY. + (x_new_font): Pass CHANGE_GRAVITY arg to x_set_window_size. + (x_wm_set_size_hint): New arg CHANGE_GRAVITY. + (x_set_offset, x_set_window_size): + Pass CHANGE_GRAVITY arg to x_set_window_size. + * xfns.c (x_set_internal_border_width, x_set_vertical_scroll_bars): + Pass CHANGE_GRAVITY arg to x_set_window_size. + (Fx_create_frame): Pass CHANGE_GRAVITY arg to x_wm_set_size_hint. + * frame.c (Fset_frame_height, Fset_frame_width, Fset_frame_size): + Pass CHANGE_GRAVITY arg to x_set_window_size. + + * frame.c (other_visible_frames): + New function; code taken from Fdelete_frame. + (Fdelete_frame): Use it. + (Fmake_frame_invisible): Use it. New arg FORCE. + * xfns.c (x_set_visibility): Pass new arg to Fmake_frame_invisible. + + * xdisp.c (fix_glyph): New function. + (display_text_line, display_string): Use fix_glyph. + + * xfaces.c (init_frame_faces): Clear FRAME_N_COMPUTED_FACES + and FRAME_SIZE_COMPUTED_FACES. + +1994-02-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (copy_rope): Function deleted. + (copy_part_of_rope): Merge the glyph's face using compute_glyph_face. + Take frame as additional arg. + (display_text_line): Use copy_part_of_rope always, not copy_rope. + Pass the frame as arg. + (display_string): Likewise. + + * xfaces.c (compute_glyph_face): New arg CURRENT_FACE + specifies face to merge with. + + * emacs.c (main) [AIX]: Don't handle signal 20, 21 or 22. + Call signal 24 by name (SIGXCPU). + + * eval.c (internal_condition_case_1): New function. + * lisp.h (internal_condition_case_1): Declared. + * keyboard.c (menu_bar_item): Use internal_condition_case_1. + (menu_bar_item_1): New function. + * xmenu.c (single_keymap_panes): Use internal_condition_case_1. + (single_keymap_panes_1): New function. + +1994-02-04 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * intervals.c (verify_interval_modification): When checking + read-only, allow for the case that stickiness might be t instead + of a list. + + * data.c (fmod): Implement it on systems where it's missing, using + drem if available. + +1994-02-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Remove the #if 0 directives + and reverse one to avoid the flickering of the menubar. + +1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (Fwhere_is_internal): Take just one keymap arg. + (where_is_string): Pass Voverriding_local_map for that arg. + * doc.c (Fsubstitute_command_keys): Pass keymap as that arg + to Fwhere_is_internal. Init keymap from Voverriding_local_map. + +1994-02-03 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * intervals.c (merge_properties_sticky): Preserve original order + of properties. + +1994-02-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/hpux8.h (X_IO_BUG): Defined. + + * fileio.c (Fwrite_region): + If FILENAME has no handler, see if VISIT has one. + + * search.c (scan_buffer): New arg ALLOW_QUIT. + (find_next_newline): Pass new arg. + * xdisp.c (display_count_lines): Pass new arg to scan_buffer. + * syntax.c (find_defun_start): Pass new arg to scan_buffer. + * cmds.c (Fforward_line): Pass new arg to scan_buffer. + +1994-02-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Add X_IO_BUG conditional. + + * xdisp.c (display_menu_bar): Pass explicit max arg to display_string. + (display_string): New arg OBEY_WINDOW_WIDTH. All callers changed. + +1994-02-02 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * xterm.c (x_iconify_frame): Fix misbalanced + BLOCK_INPUT/UNBLOCK_INPUT. + + * xdisp.c (try_window_id): Don't pass value beyond ZV to + compute_motion. + * window.c (Fpos_visible_in_window_p): Return nil if POS > ZV. + + * sysdep.c (get_system_name): Remove restriction on hostname size. + * lisp.h (get_system_name): Declared. + * xterm.c (x_term_init): Use get_system_name instead of gethostname. + * xrdb.c (x_get_customization_string): Use get_system_name instead + of gethostname. + +1994-02-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (kbd_buffer_get_event): Pass 1 to read_avail_input. + +1994-02-01 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * config.h.in (HAVE_FMOD): Add another #undef. + * data.c (Fmod): Use HAVE_FMOD. + +1994-02-01 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xfns.c (x_set_menu_bar_lines): Test also menubar_widget before + calling XtDestroyWidget. + +1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (dumpglyphs): Don't crash for invalid face code. + +1994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * undo.c (record_first_change): Check for buffer-undo-list = t. + Make an undo boundary if appropriate. Set last_undo_buffer. + (record_property_change): Use BUFFER, not current_buffer, + when testing undo_list. + +1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * widget.c: Don't declare arg types in decls or fn definitions. + + * syntax.h (SYNTAX_MATCH, SYNTAX): Fix non-GNUC definitions. + + * widget.h (EmacsFrameSetCharSize): Don't declare arg types. + + * Makefile.in.in (configuration): Change # comment to C comment. + +1994-01-29 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * keymap.c (currrent_minor_maps): Scale by sizeof when allocating + objects. + + * buffer.c (Fkill_all_local_variables): Follow symbol forwarding. + +1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * callproc.c: Include stdio.h. + (init_callproc): Put non-ex-dir warnings on stderr. + + * lread.c (init_lread): Put non-ex-dir warnings on stderr. + +1994-01-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lread.c (init_lread): Put non-ex-dir warnings on stderr. + * callproc.c: Include stdio.h. + (init_callproc): Put non-ex-dir warnings on stderr. + +1994-01-28 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xterm.c (x_set_window_size): Add USE_X_TOOLKIT conditional. Call + EmacsFrameSetCharSize and return. + + * xterm.c (x_term_init): Cast to (char **) before assignment to argv. + +1994-01-27 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * keyboard.c (make_lispy_event): Add USE_X_TOOLKIT conditional and + test FRAME_EXTERNAL_MENU_BAR. + (map_event_to_object) [USE_X_TOOLKIT]: Declare and use it. + +1994-01-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_set_mouse_position): Don't raise the frame. + + * s/sunos4-0.h [__GNUC__] (MKDIR_PROTOTYPE): Defined. + + * sysdep.c (mkdir): Use MKDIR_PROTOTYPE if defined. + +1994-01-26 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xterm.h [USE_X_TOOLKIT]: Don't include Xaw/Box.h. + + * xdisp.c (update_menu_bar): Add USE_X_TOOLKIT conditional and test + FRAME_EXTERNAL_MENU_BAR. + +1994-01-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in (widgetobj): New variable. + (otherobj): Use widgetobj. + (XOBJ): Undo previous change. + +1994-01-25 Francesco Potorti` (pot@cnuce.cnr.it) + + * m/delta.h (HAVE_BCOPY): undef'd for efficiency. + (bcopy, bzero, bcmp): define'd for efficiency. + (GAP_USE_BCOPY, BCOPY_DOWNWARD_SAFE): define'd for GHc compiler. + +1994-01-24 Francesco Potorti` (pot@cnuce.cnr.it) + + * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): Defined if X is used. + (HAVE_XSCREENNUMBEROFSCREEN): Defined if X is used. + (LIB_X11_LIB, LIBX11_SYSTEM): Override only if X is used. + (USG_SHARED_LIBRARIES): Undefine only if X is used. + +1994-01-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c (Fconcat): Doc fix. + +1994-01-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Properly gcpro fkey_map while + using keytran_map. + + * fns.c (Fassq, Fassoc): Doc fixes. + + * data.c (Faset): Doc fix. + +1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xdisp.c (display_menu_bar): Add USE_X_TOOLKIT conditional. + (redisplay_window) [USE_X_TOOLKIT]: Test FRAME_EXTERNAL_MENU_BAR. + (update_menu_bar) [USE_X_TOOLKIT]: Call set_frame_menubar. + + * widget.c: Include X11/ObjectP.h. + + * keyboard.c (syms_of_keyboard): New Lisp var command-hook-internal. + (command_loop_1): Use it when running the command hooks. + + * Makefile.in.in (LWLIB_OPTIONS): Define if not defined. + (LIBXT): New variable. + (LIBX): Use LIBXT. + (widget.o): New target. + (XOBJ) [USE_X_TOOLKIT]: Add widget.o. + + * xmenu.c: Find lwlib.h and xlwmenuP.h in ../lwlib. + * xfns.c: Find lwlib.h in ../lwlib. + + * widgetprv.h: Renamed from widgetP.h. + + * Makefile.in.in (lwlibdir): New variable. + ($(OLDXMENU)) [USE_X_TOOLKIT]: Alternate rule. + (OLDXMENU) [USE_X_TOOLKIT]: Alternate value. + (really-lwlib): New rule. + + * xterm.h [USE_X_TOOLKIT]: Include StringDefs.h, IntrinsicP.h, + CoreP.h, StringDefs.h, Xaw/Box.h. + * xterm.c: Don't include them. + + * xrdb.c (search_magic_path): Fix logic testing for empty path element. + +1994-01-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_wm_set_size_hint): Swap southeast and northwest. + + * xrdb.c (S_ISDIR): Define if not defined. + (file_p): Use S_ISDIR. + + * xterm.c (XTupdate_end): No need to test updating_frame. + * term.c (update_end): Clear updating_frame before calling hook. + + * fileio.c (double_dollars): New function. + (Fread_file_name_internal): Use double_dollars. + (Fread_file_name): Likewise. + + * textprop.c (Fprevious_property_change): Move back at least 1 char. + (Fprevious_single_property_change): Likewise. + * textprop.c: Doc fixes. + + * xfns.c (store_class_hints): Function deleted. + + * intervals.c (graft_intervals_into_buffer): Fix one-off + comparing lengths of over and under. + + * keyboard.c (read_key_sequence): Don't call echo_truncate + the first time through. + +1994-01-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-1-3.h: Add #undef SYSTEM_MALLOC. + + * xfns.c (Fx_create_frame): Bind x-resource-name to explicit title. + (Qx_resource_name): Declared. + (syms_of_xfns): Set up Qx_resource_name. + + * xmenu.c: Reshuffle functions; put new ones in #ifdef USE_X_TOOLKIT. + (Fx_popup_menu): Add USE_X_TOOLKIT conditional around new decls. + + * xterm.c: Put new functions in #ifdef USE_X_TOOLKIT. + + * xdisp.c (truncate_echo_area): New function. + * keyboard.c (echo_truncate): Call truncate_echo_area. + +1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.h.in: Add #undef for USE_X_TOOLKIT. + + * xfns.c (x_window): Fix error message. + +1993-01-18 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * Support use of X toolkit. + (USE_X_TOOLKIT): New macro to conditionalize the use of Xt. + * widget.c, widgetP.h, widget.h: New files. + * frame.h (struct frame): New field external_menu_bar. + (FRAME_EXTERNAL_MENU_BAR): New macro. + * xterm.h (struct x_display): New fields widget, column_widget, + edit_widget, menubar_widget. + (x_any_window_to_frame): Declared. + * lisp.h (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): + New macros. + * xfns.c (x_any_window_to_frame): New function. + (x_window_to_frame, x_window): Handle USE_X_TOOLKIT. + (x_set_icon_type, x_set_menu_bar_lines, x_set_name): Likewise. + (store_class_hints, hack_wm_protocols): New function. + * xmenu.c (string_width): New function. + (event_is_in_menu_item, map_event_to_object): Likewise. + (set_menu_items, free_menu_items, popup_selection_callback): Likewise. + (popup_down_callback, free_menubar_widget_value_tree): Likewise. + (update_one_frame_psheets, set_frame_menubar): Likewise. + (Fx_popup_menu, xmenu_show): Handle USE_X_TOOLKIT. + * xterm.c (construct_mouse_click): New function. + (process_expose_from_menu): Likewise. + (XTread_socket, x_set_offset, x_set_window_size): Handle USE_X_TOOLKIT. + (x_raise_frame, x_lower_frame, x_make_frame_visible): Likewise. + (x_iconify_frame, x_destroy_window, x_wm_set_window_state): Likewise. + (x_term_init): Likewise. + + * xmenu.c (dispatch_dummy_expose): New function. + (XMenu_xpos, XMenu_ypos): Change the values of the constant assignment. + (xmenu_show): Change the way to make the menubar to redraw itself by + generating a dummy expose event. + + * xterm.c (x_term_init): Pass argv, argc to XtAppInitialize with the + display_name value. + +1994-01-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/linux.h: Don't include stdio.h. + + * dispnew.c: Include stdio.h before config.h. + + * emacs.c (init_cmdargs): Set Vinstallation_directory. + (syms_of_emacs): staticpro it. + * lisp.h (Vinstallation_directory): Declared. + * lread.c (init_lread): Use Vinstallation_directory. + * callproc.c (init_callproc): Use Vinstallation_directory. + + * fileio.c (Ffile_symlink_p): Doc fix. + + * keyboard.c (Voverriding_local_map): New variable. + (syms_of_keyboard): Set up Lisp variable. + (read_key_sequence, menu_bar_items): Handle Voverriding_local_map. + + * keymap.c (Fkey_binding): Handle Voverriding_local_map. + (describe_buffer_bindings): Likewise. + +1994-01-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.h.in (LD_SWITCH_X_SITE_AUX): Add #undef. + * s/sol2.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX. + + * floatfns.c (Fffloor, Ffceil, Ffround, Fftruncate): New functions. + (syms_of_floatfns): Turn them on. + +1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): If there's an error in the + post-command-hook or pre-command-hook, leave that hook nil. + + * s/sco4.h (BSTRING): Don't define it here. + +1994-01-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in (xterm.o): Depends on syssignal.h. + +1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (sys_siglist) [sun]: Additional Sun-specific signal names. + +1993-01-12 Thomas Horsley (tahorsley@csd.harris.com) + + * cxux-crt0.s: New file. + + * emacs.c (main) [USG5 and INTERRUPT_INPUT]: Call setpgrp. + + * m/nh3000.h: New file for the Night Hawk 3000 series hardware defs. + + * m/nh4000.h: New file for the Night Hawk 4000 & 5000 series hardware. + + * s/cxux.h: New file for the CX/UX operating system used by Night + Hawks. + + * s/cxux7.h: New file. + + * sysdep.c (request_sigio, unrequest_sigio): Add new versions of + these routines for the CX/UX operating system. + (sys_signal) [SA_RESTART]: Set this flag. + + * xterm.c: Include syssignal.h. + +1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (sigchld_handler, status_message): + Handle a NULL in sys_siglist. + +1994-01-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * buffer.c (syms_of_buffer): Don't do (put 'erase-buffer 'disabled t). + (keys_of_buffer): Do it here instead. + +1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lread.c (Fload): Record descriptor numbers on load_descriptor_list. + (load_descriptor_unwind, close_load_descs): New function. + (syms_of_lread): Init and staticpro load_descriptor_list. + (init_lread): Clear load_descriptor_list. + + * callproc.c (child_setup): Call close_load_descs. + + * eval.c (Fcondition_case): Allow a list of condition names + in a handler. + (find_handler_clause): Likewise. + (Fsignal): Rename 1st arg to error_symbol. + (Fcondition_case): Doc fix. + + * process.c (read_process_output): Supply second arg to unbind_to. + (exec_sentinel): Likewise. + +1994-01-11 (afs@hplb.hpl.hp.com) + + * keyboard.c (read_char_x_menu_prompt, read_char_minibuf_menu_prompt): + New functions made by dividing up read_char_menu_prompt. + (read_char): Call read_char_minibuffer_menu_prompt before the sit_for + if X menus are not going to be used. + (read_char_minibuf_menu_prompt): Correct access to keymaps for + menus when not using X menus. Only store character read in a keyboard + macro if it is not the menu help character. + +1994-01-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (create_process): Set line discipline only if pty_flag. + + * search.c (set_search_regs): New subroutine. + (search_buffer): Use set_search_regs. + Record beginning and end after matching null string. + +1994-01-09 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mem-limits.h: Include before . + + * process.c: Don't declare sys_nerr. Don't declare sys_errlist + unless #ifdef VMS. Declare strerror instead. + (wait_reading_process_input): Call strerror instead of using + sys_errlist. + +1994-01-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_sync): Block input. + + * buffer.h (struct buffer): New field auto_save_failure_time. + + * fileio.c (Fdo_auto_save): If auto save times out, + don't try again for 20 minutes. + (Fclear_buffer_auto_save_failure): New function. + (Fset_buffer_auto_saved): Clear auto_save_failure_time. + + * xfns.c (x_sync): New function. + * frame.c (Fdelete_frame): Call x_sync. + +1994-01-09 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * sysdep.c: Restore big block of #ifdef and #include lines for + fcntl.h and friends, apparently accidentally removed in revision + 1.70 (Jan 5 changes). + +1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * callproc.c (child_setup): Don't declare PID `register'; we later + take its address. + + * config.h.in: Add #undef HAVE_STRERROR. + * sysdep.c [! VMS]: Don't declare sys_errlist here. + [! HAVE_STRERROR] (strerror): New function. + (dup2): Use strerror instead of sys_errlist. + * fileio.c: Don't declare sys_errlist; declare strerror instead. + (err_str): Macro removed. + (Finsert_file_contents, Fwrite_region): Call strerror instead of + err_str. + (report_file_error): Call strerror instead of using sys_errlist. + * emacs.c (main): Call strerror instead of using sys_errlist. + * callproc.c: Don't declare sys_errlist; declare strerror instead. + (relocate_fd): Call strerror instead of using sys_errlist. + * unexenix.c: Don't declare sys_errlist; declare strerror instead. + (fatal_unexec): Call strerror instead of using sys_errlist. + * unexmips.c: Likewise. + +1994-01-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.c (Fdelete_frame): Do FRAME_SAMPLE_VISIBILITY before + testing visibility of a frame. + + * emacs.c (main): Don't call setpgrp if !initialized. + + * Makefile.in.in (${etc}DOC): Put back ${lisp} accidentally deleted. + + * keymap.c (describe_map_tree): New arg NOMENU. + (describe_buffer_bindings): Pass new arg. + * doc.c (Fsubstitute_command_keys): Pass new arg to describe_map_tree. + +1994-01-08 Morten Welinder (terra@diku.dk) + + * keyboard.c (interrupt_signal) [MSDOS]: write explicit CRs since + stdout has been made binary. Start at the top of the screen since + the internal terminal otherwise will write "below the screen." + +1994-01-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in.in (emacs): Don't run inc-vers.el. + + * config.h.in: Handle HAVE_BCMP. + (BSTRING): Don't define unless HAVE_BCMP. + +1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/msdos.h (getppid): Define as macro. + + * dired.c (DIRENTRY_NONEMPTY): New macro; two definitions. + (Fdirectory_files, file_name_completion): Use it. + +1993-01-05 Morten Welinder (terra@diku.dk) + + * buffer.c, buffer.h [MSDOS]: New buffer-local variable: + buffer-file-type to handle DOS newlines. + + * callproc.c (syms_of_callproc) [MSDOS]: New lisp variable: + binary-process. + (init_callproc) [MSDOS]: Initialize binary-process. + [MSDOS]: Declare binary-process. + [MSDOS]: Include , , , + and needed for the next changes. + (Fcall_process) [MSDOS]: Create temporary file for process output. + Run the subprocess using `run_msdos_command' instead of forking. + Arrange for cleanup to erase temporary file. + (Fcall_process) [not subprocesses]: Barf if zero buffer argument. + (call_process_cleanup) [MSDOS]: Close and erase temporary file + instead of the pid-stuff. + (Fcall_process_region) [MSDOS]: Create temporary file in $TMP or + $TEMP. + (Fchild_setup) [MSDOS]: #if 0, as it is not used. + + * cmds.c (keys_of_cmds) [MSDOS]: Chars 0200 to 0237 self-insert. + + * data.c (Frem) [MSDOS]: use `fmod', not `drem'. Put in config.h? + + * dired.c [MSDOS]: #include instead of . Avoid + some external definitions. + (Ffile_attributes) [MSDOS]: Set execute bits from file name. + (Ffile_name_all_completions) [FILE_SYSTEM_CASE]: Convert + case of file name as as indicated by conditional. + + * emacs.c (main) [MSDOS]: Call init_environment. Set file types to + binary for all files. Call init_dosfns. + (fatal_error_signal) [MSDOS]: Uncomment sigblock. + + * fileio.c [MSDOS]: #include "msdos.h" and needed for + the following changes. + (Ffile_name_directory, Fexpand_file_name) [FILE_SYSTEM_CASE]: Apply + case conversion if defined. + (Ffile_name_directory, Ffile_name_nondirectory, file_name_as_directory, + directory_file_name, Fexpand_file_name, Fsubstitute_in_file_name, + expand_and_dir_to_file) [MSDOS]: Drive letter support. + (Fexpand_file_name) [MSDOS]: Support for multiple default directories. + (Ffile_writeable_p) [MSDOS]: Don't call access with file name ending + in a slash. + (Finsert_file_contents) [MSDOS]: Determine file type by name (call + find-buffer-file-type) and change CR+LF to LF if it is a text file. + (Fwrite_region) [MSDOS]: Use text/binary mode as specified by + buffer_file_type. + (syms_of_fileio) [MSDOS]: Set Qfind_buffer_file_type. + (Fsubstitute_in_file_name) [MSDOS]: Ignore case in environtment + variable. + + * floatfns.c [MSDOS]: Don't define HAVE_MATHERR. + + * keyboard.c [MSDOS]: #include and , but not + . + (read_avail_input) [MSDOS]: Work around `ioctl'. Also read through + dos_keyread for better keyboard support. + (interrupt_signal) [MSDOS]: Don't claim we can core dump. + (kbd_buffer_store_event): Cast a pointer to avoid a compiler warning. + + * lread.c [MSDOS]: Use text mode for all files but ".elc" files. + (complete_file_name) [MSDOS]: Drive letter support. + + * mem-limits.h [MSDOS] (get_lim_data): Use go32 call. + + * sysdep.c [MSDOS]: #include , "dosfns.h", "msdos.h", and + needed for the following changes, but not + (discard_tty_input) [MSDOS]: Do it by reading till no more keys + available. + (init_baud_rate) [MSDOS]: Assume highest possible speed. + (sys_suspend) [MSDOS]: Save default directory. Call via system, not + via fork. + (emacs_get_tty, emacs_set_tty) [MSDOS]: Don't do anything. + (init_sys_modes) [MSDOS]: Use raw mode. + (get_frame_size) [MSDOS]: Get from bios. + (reset_sys_modes) [MSDOS]: Back to cooked mode. + (start_of_text) [MSDOS]: Reference _tstart. + (select) [MSDOS]: Don't use signals, use sleeping. + (init_sys_modes) [MSDOS]: Initialize internal terminal. + + * systty.h [MSDOS]: don't #include . We haven't got it. + Declare dummy main field. Don't ever use TABs. + + * termcap.c (tgetent) [INTERNAL_TERMINAL]: Fake internal terminal + without reading any files. + (valid_file_name, tgetent) [MSDOS]: Drive letter support. + (tgetent) [MSDOS]: Use text mode for database. + + * unexec.c [MSDOS]: Don't #include , but use other headers. + (make_hdr) [MSDOS]: Cast a pointer for bzero. + (write_segment) [EFAULT]: Check for before using. + (adjust_lnnoptrs) [MSDOS]: Use provided descriptor. + (adjust_lnnoptrs): Return 0 if ok. + + * xdisp.c (decode_mode_spec) [MSDOS]: Let 't' expand to 'T' for + text mode or 'B' for binary mode. + (decode_mode_spec) [not subprocesses]: Don't access Fprocess_status. + + * s/msdos.h, m/dos386.h: New files (for MSDOS). + * dosfns.c, dosfns.h: New files (for MSDOS). + * msdos.c, msdos.h: New files (for MSDOS). + +1994-01-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-1.h (SUNOS_LOCALTIME_BUG): #if 0'd. + + * print.c (strout, printchar): Use proper frame for minibuffer. + + * keyboard.c (read_avail_input): Args to `kill' were backwards. + (kbd_buffer_get_event): If deleting last frame, call Fkill_emacs. + + * fns.c (Fmapconcat): Doc fix. + + * s/sco4.h (bcopy, bzero, bcmp): Defined. + +1994-01-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (Fx_list_fonts): Don't fail to init `tail'. + +1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c: Don't include syntax.h. + * Makefile.in.in (buffer.o): Don't depend on syntax.h. + + * syntax.h (enum syntaxcode): Add Sinherit. + (RAW_SYNTAX, RAW_SYNTAX_MATCH, SYNTAX_CHOOSE_TABLE): New macros. + (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, SYNTAX_COMSTART_SECOND) + (SYNTAX_COMEND_FIRST, SYNTAX_COMEND_SECOND, SYNTAX_PREFIX) + (SYNTAX_COMMENT_STYLE): Handle Sinherit. + Alternative definitions if __GNUC__. + + * syntax.c (describe_syntax): Handle Sinherit. + (syntax_code_spec, syntax_spec_code): Add entry for @ and Sinherit. + + * Makefile.in.in (temacs): Delete redundant use of LDFLAGS. + +1994-01-02 Ulrich Mueller (ulm@vsnhd1.cern.ch) + + * sysdep.c (get_system_name): If the official name of the host is + not a fully qualified domain name, then try to find one in the + list of alternate names. + +1994-01-02 Rick Sladkey (jrs@world.std.com) + + * intervals.h (NULL_RIGHT_CHILD, NULL_LEFT_CHILD): + Assume children must be intervals, never strings or buffers. + + * intervals.c (rotate_right, rotate_left): Simplify + total_length calculation. Minimize pointer dereferencing. + (balance_an_interval): Remove recursive rebalancing. + Rebalance precisely when imbalanced. If a rotation is done, + rebalance only the node which may have become unbalanced. + Iterate until the current node is balanced. + (balance_possible_root_interval): New function. + (balance_intervals): Move the interation into rebalance_an_interval. + (balance_intervals_internal): New subroutine of balance_intervals. + (split_interval_right, split_interval_left): Speed up by + not checking LEAF_INTERVAL_P. + (split_interval_right, split_interval_left, find_interval, + adjust_intervals_for_insertion, graft_intervals_into_buffer): + Add dynamic rebalancing anywhere a node may become unbalanced. + (graft_intervals_into_buffer, copy_intervals): No longer + any need to do a full rebalance as the tree stays balanced. + +1994-01-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fwrite_region): Don't change START and END from nil + until after checking for a magic handler. + + * .gdbinit: Delete `show env TERMCAP'. + + * process.c (read_process_output): Use clip_to_bounds when moving + to the process marker. + + * keyboard.c (modify_event_symbol): New arg NAME_ALIST. + Allow SYMBOL_TABLE to be an alist. + (Vvendor_key_alist): New variable. + (syms_of_keyboard): Initialize it. + (make_lispy_event): Handle vendor-specific keysyms. + (lispy_function_keys): Delete `remove' and th HP keysyms. + + * xterm.c (XTread_socket): temp_buffer and temp_index deleted. + Put all vendor-specific keys into the buffer. + (x_is_vendor_fkey): Function deleted. + (XTread_socket): Don't call it. + + * Makefile.in.in (SOME_MACHINE_OBJECTS): New var. + (${etc}DOC): Use SOME_MACHINE_OBJECTS, + not OBJECTS_MACHINE or OBJECTS_SYSTEM. + Don't depend on SOME_MACHINE_OBJECTS. + + * dired.c (file_name_completion_stat): If have symlinks, use lstat. + +1993-12-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Qget_file_buffer): New variable. + (syms_of_buffer): Set up Qget_file_buffer. + (Fget_file_buffer): For magic file names, run the handler. + + * fileio.c (Finsert_file_contents): Don't run after change hook + if inserted is 0. + Avoid setting modtime or buffer-file-name field if ran a handler. + + jrs: + * s/linux.h (PENDING_OUTPUT_COUNT): Two alternate definitions + for different versions of stdio.h. + +1993-12-30 Morten Welinder (terra@diku.dk) + + * frame.c: Always include termhooks.h. + [! MULTI_FRAME] (Fmouse_position): New definition. + [! MULTI_FRAME] (syms_of_frame): Add mouse-position. + +1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * doc.c (Fsubstitute_command_keys): Fix previous change. + +1993-12-30 Lawrence R. Dodd (dodd@roebling.poly.edu) + + * minibuf.c (read_from_minibuffer): Rename arg initial_input + to initial_contents. + +1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * editfns.c (Femacs_pid): New function. + (syms_of_editfns): Define it for Lisp. + + * keyboard.c (read_avail_input): Turn O_NDELAY off on DGUX as on USG. + + * minibuf.c (Fall_completions): Allow completions that start with space + if the input starts with space. + + * Makefile.in.in (LDFLAGS): Define as empty. + (ALL_LDFLAGS): Define as LDFLAGS used to be defined. + (temacs): Use ALL_LDFLAGS. + + * xfns.c (Fx_create_frame): Add to Vframe_list before making visible. + +1993-12-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (describe_command): If binding is a kbd macro, say so. + +1993-12-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (main) [AIX]: Call putenv. + + * s/linux.h (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined. + + * keyboard.c (lispy_accent_codes): Cope if an XK symbol is undefined. + (make_lispy_event): Define i. + + * termhooks.h (struct input_event): FIx typo in previous change. + + * xterm.c (XTflash): Use EMACS_GET_TIME. + (XTread_socket): Make proper junk values to pass to select. + +1993-12-25 Jerry Frain (jerry.frain@tivoli.com) + + * s/usg5-4.h (bcopy): Use memmove instead of memcpy. + + * systime.h (EMACS_GET_TIME) [USG5_4]: Give gettimeofday just one arg. + +1993-12-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * alloc.c (Fmemory_limit): No longer interactive. + +1993-12-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): Test of whether disp tab elt + was a vector was backwards. + + * fileio.c (Fwrite_region): If handler, don't mess with modtime. + (Finsert_file_contents): Likewise. + + * config.h.in: Add #undef HAVE_SETSID. + + * process.c (create_process) [NTTYDISC]: Set the tty line discipline. + + * callproc.c: Include systty.h. + (child_setup): Use EMACS_SET_TTY_PGRP. + * Makefile.in.in (callproc.o): Depend on systty.h and syssignal.h. + + * xdisp.c (redisplay_window): Before altering lpoint, + make sure the buffer it pertains to is the one being displayed. + + * syntax.c (Fmodify_syntax_entry): Doc fix. + +1993-12-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (Fopen_network_stream): Turn off SIGIO while connecting. + +1993-12-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (lispy_accent_codes): New variable. + (make_lispy_event): Use that to handle lots of dead accent keys. + + * xterm.c (XTread_socket): Handle a bunch more dead keys. + +1993-12-22 Francesco Potorti` (pot@cnuce.cnr.it) + + * m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible. + (HAVE_UNISTD_H): deleted because configure takes care of it. + (C_SWITCH_MACHINE): added optimisation options for gnu cc. + +1993-12-17 Mike Long (mike.long@analog.com) + + * s/vms.h (TERMCAP_NAME): Defined. + * s/netbsd.h (TERMCAP_NAME): Defined. + These correspond with changes in termcap.c. + +1993-12-17 Richard Stallman (rms@gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Don't offset keysym here. + Special handling for "dead accent" keysyms. + * keyboard.c (make_lispy_event): Offset the event code here. + Special handling for "dead accent" keysyms. + + * keyboard.c (quit_throw_to_read_char): Don't switch frames if + internal_last_event_frame is not a frame. + + * termhooks.h (struct input_event): `code' is now an int. + * xterm.c (construct_mouse_click, x_scroll_bar_handle_click) + (XTread_socket): `code' of an event is now an int. + * keyboard.c (kbd_buffer_store_event, make_lispy_event) + (stuff_buffered_input): `code' of an event is now an int. + + * s/sol2-3.h: New file. + * xfns.c (Fx_list_fonts): Handle BROKEN_XLISTFONTSWITHINFO. + +1993-12-16 Richard Stallman (rms@gnu.ai.mit.edu) + + * xterm.c (pixel_to_glyph_coords): New arg NOCLIP. Callers changed. + + * keyboard.c (make_lispy_movement): If we have a frame but pos is not + in a window, return an event with the frame. + + * xterm.c (XTread_socket): For MotionNotify, if x_mouse_grabbed, + use last_mouse_frame. + (construct_mouse_click): Set last_mouse_frame. + (XTmouse_position): If x_mouse_grabbed, use last_mouse_frame. + + * xdisp.c (message): Use message2, not message1. + +1993-12-15 Richard Stallman (rms@gnu.ai.mit.edu) + + * xfns.c (Fx_create_frame): Add frame to Vframe_list. + * frame.c (make_terminal_frame): Add frame to Vframe_list. + (make_frame): Don't add to frame list here. + + * window.c (Fdisplay_buffer): If pop_up_frames, pass t to + Fget_buffer_window. + + * Makefile.in.in (configuration): New variable. + (emacs.o): Define macro CONFIGURATION. + * emacs.c (syms_of_emacs): Define Lisp var system-configuration. + + * xdisp.c (display_string): Fix truncation-criterion after main loop + for termination due to LENGTH. + * window.h (echo_area_glyphs_length): Declared. + * print.c (printchar, strout): Set echo_area_glyphs_length. + + * keyboard.c (read_key_sequence): Don't return if in middle + of possible function-key-map sequence, if the bindings were all + found by case conversion. + + * lisp.h: Use WORDS_BIG_ENDIAN, not BIG_ENDIAN. + (Qmenu_bar): Declared. + + * process.c (Fprocess_status): Use get_process, not Fget_process. + + * s/dgux.h (SYSTEM_TYPE): Make it dgux. + + * m/sun2.h (OTHER_FILES): Use ${libsrc} as dir. + +1993-12-15 Michal Jankowski (michalj@fuw.edu.pl) + + * insdel.c (del_range): Second argument in call to + offset_intervals is 'from', not 'point'. + +1993-12-14 Richard Stallman (rms@gnu.ai.mit.edu) + + * emacs.c (memory_warning_signal): New function. + (main): Handle SIGDANGER, if defined. + + * minibuf.c (minibuffer_auto_raise): Really define it. + + * process.c [BROKEN_O_NONBLOCK]: Undefine O_NONBLOCK. + +1993-12-14 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * dispnew.c (update_frame): Only call sleep (outq / baud_rate) if + baud_rate >= OUTQ. Calling sleep (0) causes a gratuitous delay on + some systems. + +1993-12-13 Andreas Luik (luik@kepler.isa.de) + + * xterm.c (x_calc_absolute_position): Borderwidth must be doubled + before subtracting from width to get correct value. + + * xfns.c (Fx_create_frame): Fix order of arguments of + x_wm_set_size_hint call. This corrects handling of +x-y and -x+y + geometry specifications. + +1993-12-12 Richard Stallman (rms@gnu.ai.mit.edu) + + * xdisp.c (echo_area_glyphs_length): New variable. + (message1): Set it. + (message2): New function. + (display_string): New arg LENGTH. + (echo_area_display): Pass new arg to display_string. + (redisplay_window): Likewise. + (display_text_line): Likewise. + (display_menu_bar): Likewise. + (display_mode_element): + + * editfns.c (Fmessage): Use message2. + + * keyboard.c (set_waiting_for_input): Code testing echo_flag deleted. + (echo_flag, echo_now): Vars deleted. + + * keyboard.c (read_key_sequence): Bind case_converted at top level. + Clear it at replay_sequence. + (follow_key): Never clear *CASE_CONVERTED. + +1993-12-11 Richard Stallman (rms@gnu.ai.mit.edu) + + * xselect.c (x_get_foreign_selection): Use x_catch_errors. + + * fileio.c (Fmake_symbolic_link): Do expand FILENAME if starts with ~. + + * keymap.c (Fwhere_is_internal): Doc fix. + + * buffer.c (Fbuffer_disable_undo): Make arg optional. + +1993-12-11 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * unexsunos4.c [! MAP_FILE] (MAP_FILE): Define to zero. + (unexec): Remove unused variable BUF. + Use MAP_FILE bit in mmap call. + (run_time_remap): Use MAP_FILE bit in mmap call. + +1993-12-09 Richard Stallman (rms@gnu.ai.mit.edu) + + * insdel.c (modify_region): Call record_first_change if necessary. + + * emacs.c (main): Don't handle SIGDANGER. + + * minibuf.c (minibuffer_auto_raise): New variable. + (syms_of_minibuf): Set up Lisp var. + (read_minibuf): Maybe raise the minibuffer's frame. + +1993-12-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * dispnew.c (PENDING_OUTPUT_COUNT) [__GNU_LIBRARY__]: Alternate + definition for the GNU C library. I changed this in version 18 in + 1991, but the change never got propagated. + +1993-12-07 (pmr@legacy.pajato.com) + + * s/dgux.h (SYSV4_PTYS): Remove. + (SIGNALS_VIA_CHARACTERS): Defined. + + * process.c (create_process): Delete SYSV4_PTYS code. + (deactivate_process): Likewise. + +1993-12-06 Richard Stallman (rms@gnu.ai.mit.edu) + + * doc.c (Fsubstitute_command_keys): Ignore menu bar bindings. + + * s/sunos4-1.h (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT + is not defined and HAVE_GETHOSTNAME is defined. + + * keyboard.c (syms_of_keyboard): Define Lisp var track-mouse. + + * keyboard.c (follow_key): New arg case_converted. + (read_key_sequence): Pass the new arg. + If key has a binding via case-conversion, that does not prevent + use of function_key_map. + +1993-12-05 Richard Stallman (rms@gnu.ai.mit.edu) + + * m/pmax.h (SET_CHILD_PTY_PGRP): Defined. + + * process.c (create_process) [SET_CHILD_PTY_PGRP]: Do ioctls + to set the pgrp of the pty. + +1993-12-04 Richard Stallman (rms@gnu.ai.mit.edu) + + * xfns.c (XSetWMProtocols): New function, defined conditionally. + + * config.h.in (HAVE_XSETWMPROTOCOLS): Add #undef. + + * intervals.c (graft_intervals_into_buffer): If SOURCE is null + and TREE is null, no need to call Fset_text_properties. + + * dispnew.c (Fsit_for): Call prepare_menu_bars. + * keyboard.c (read_char): Call prepare_menu_bars. + * xselect.c (x_handle_selection_clear): Call prepare_menu_bars. + * vmsproc.c (Fcall_process): Call prepare_menu_bars. + * sysdep.c [VMS] (wait_for_kbd_input): Call prepare_menu_bars. + * process.c (wait_reading_process_input): Call prepare_menu_bars. + * callproc.c (Fcall_process): Call prepare_menu_bars. + * keyboard.c (tracking_off): Call prepare_menu_bars. + * xdisp.c (update_menu_bar, update_menu_bars): New functions. + (prepare_menu_bars): New function. + (redisplay_window): Don't update menu bar here. + (display_menu_bar): Assume item list already updated. + +1993-12-02 Richard Stallman (rms@gnu.ai.mit.edu) + + * editfns.c (Fsubst_char_in_region): Move the NOUNDO hacking code + after the modify_region call. + +1993-12-01 Richard Stallman (rms@gnu.ai.mit.edu) + + * eval.c (Fmacroexpand): For an autoload definition, + check the 4th elt, not the car of the 4th elt. + + * m/mips4.h (C_DEBUG_SWITCH): Delete -systype bsd43; not needed. + + * regex.c (regex_compile) [!MATCH_MAY_ALLOCATE]: If fail_stack.stack + is nonzero, leave it alone. + + * fileio.c (Fread_file_name): If defalt is nil and user tries to use + it, signal an error. + + * lisp.h (DEFUN_ARGS_MANY, DEFUN_ARGS_UNEVALLED, DEFUN_ARGS_0,...): + New macros. + (DEFUN) [__STDC__]: Use those macros. + + * doc.c (Fdocumentation_property): 3 args is maximum. + + * callproc.c (Fgetenv): One arg is maximum. + +1993-11-30 Richard Stallman (rms@gnu.ai.mit.edu) + + * dispnew.c (direct_output_forward_char): + Give up if in truncated text at end of line. + + * process.c (create_process): The test to avoid closing forkin + is now conditional on #ifndef SIGNALS_VIA_CHARACTERS. + + * xdisp.c (redisplay_window): Don't alter lpoint when w is + selected window in a non-selected frame. + +1993-11-30 Richard Stallman (rms@gnu.ai.mit.edu) + + * Makefile.in.in [__GNUC__ > 1]: Maybe define LINKER_WAS_SPECIFIED. + [LINKER_WAS_SPECIFIED] (YMF_PASS_LDFLAGS): Define as identity. + + * m/mips4.h (NO_MODE_T): Defined. + +1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.22 released. + + * m/tek4300.h (NO_MODE_T): Defined. + +1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (deactivate_process) [SVR4_PTYS]: + If subtty is not nil, close it. + + * keyboard.c (kbd_buffer_get_event): For delete-window-event, + do count iconified frames. + + * xfns.c (x_window): Call XSetWMProtocols. + + * keyboard.c (kbd_buffer_get_event): If user destroys the last frame, + exit before calling Fdelete_frame. + + * s/irix5-0.h (SYSTEM_TYPE): Make it "irix". + + * sysdep.c (closedir): Test BROKEN_CLOSEDIR, not INTERRUPTIBLE_CLOSE. + +1993-11-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_avail_input): Undo Nov 18 change. + + * lread.c (readevalloop): Get error if buffer being eval'd is killed. + + * s/irix3-3.h (SETPGRP_RELEASES_CTTY): Defined. + * s/irix5-0.h (IRIX5, SETPGRP_RELEASES_CTTY): Defined. + * process.c (create_process): Do setpgrp for USG regardless of IRIX. + (process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH. + * callproc.c (child_setup): Test SETPGRP_RELEASES_CTTY, not IRIX. + (init_callproc): Fix previous change. + + * s/sunos4-1-3.h [!SYSTEM_MALLOC] (MEMMOVE_MISSING): Defined. + + * keyboard.c (quit_throw_to_read_char): + Look at internal_last_event_frame only if MULTI_FRAME. + + * m/ibmrt.h (HAVE_FTIME): Deleted (autoconf does it). + + * m/hp9000s800.h (bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define. + + * s/sco4.h (LIBS_SYSTEM): Always define this one way or another. + Include -lPW in it. + + * intervals.c (merge_properties_sticky): Declared. + + * regex.c (MAX, MIN): Undef before defining. + + * frame.c (Fhandle_switch_frame, Fredirect_frame_focus): Declared. + + * m/delta.h (HAVE_RANDOM, HAVE_XSCREENNUMBEROFSCREEN, BROKEN_FIONREAD): + Add definitions. + (LIB_X11_LIB, LIBX11_SYSTEM): Add override definitions. + (USG_SHARED_LIBRARIES): Add #undef. + + * sysdep.c (init_baud_rate): Avoid referring to sg uninitialized. + +1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (main) [AIX]: Don't handle signals 23, SIGAIO, SIGPTY. + + * indent.c (Fmove_to_column): Increments for control characters + were too low by 1. + + * process.c (Fdelete_process): Fix paren error. + + * sysdep.c (closedir): Pass on the value from sys_closedir. + Do use this definition, if INTERRUPTIBLE_CLOSE. + +1993-11-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sco4.h (LIBX11_SYSTEM): Override the definition. + + * xterm.c (XTread_socket): Really handle Xatom_wm_window_moved events. + + * s/irix5-0.h (SIGNALS_VIA_CHARACTERS): Defined. + + * fileio.c (Finsert_file_contents): Don't call signal_after_change + if we did not call prepare_to_modify_buffer. + + * editfns.c (make_buffer_string): Don't copy intervals + if we don't really have any properties. + + * lisp.h: Declare Fnext_single_property_change + and Fnext_property_change. + + * s/sco4.h (HAVE_GETTIMEOFDAY): Define only if HAVE_SOCKETS. + Fix up conditionals changed recently. + + * editfns.c (Finsert_buffer_substring): + Pass graft_intervals_into_buffer the current buffer. + + * intervals.c (graft_intervals_into_buffer): New arg LENGTH. + If source has no intervals, set dest properties to nil. + * editfns.c (Finsert_buffer_substring): Pass new arg. + * insdel.c (insert_from_string): Likewise. + + * callproc.c (init_callproc): Maybe add ../lib-src to exec-path + and maybe store it in exec-directory. + Mabe put ../etc into data-directory. + (init_callproc_1): Part of init_callproc is split out. + * emacs.c (main): Call init_callproc and init_callproc_1. + +1993-11-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * editfns.c (Fsubst_char_in_region): Call modify_region only if + a change has to be made. Call signal_after_change just once, at end. + + * lread.c (OBARRAY_SIZE): Increase from 509. + + * xrdb.c (search_magic_path): Fix colon-colon case. + + * textprop.c (Ftext_property_not_all): + For trivial yes, return start, not Qt. + + * xselect.c (Fx_disown_selection_internal): When making the fake + event for x_handle_selection_clear, use SELECTION_EVENT_... macros. + +1993-11-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-1-3.h (HAVE_TERMIOS, BSD_TERMIOS): Deleted. + + * systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP): + If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp. + + * xfns.c (x_set_frame_parameters): Call check_frame_size + before Fset_frame_size and Fset_frame_position. + + * termhooks.h (delete_window_event): New event kind. + * xterm.c (XTread_socket): Generate delete_window_event's. + * keyboard.c (kbd_buffer_get_event): Handle delete_window_event's. + + * s/sco4.h [HAVE_SOCKETS] (HAVE_XSCREENNUMBEROFSCREEN): Defined. + + * keymap.c: Doc fix. + + * window.c (window_loop, case DELETE_BUFFER_WINDOWS): + Select a new buffer only if w is selected window. + + * hftctl.c: Include config.h. Include sys/signal.h before config.h. + (sav_alrm): Use SIGTYPE. + (FUNC): Typedef deleted. + + * Makefile.in.in (hftctl.o): New rule. + + * process.c (wait_reading_process_input): + Use -1 to mean wait_channel is empty. + Start process loop with descriptor 0 if keyboard_descriptor is not 0. + (make_process): Initialize descriptors to -1. + (Fdelete_process): -1 means empty, in infd. + (deactivate_process): Likewise. + (process_send_signal): Likewise. + (kill_buffer_processes): Likewise. + (sigchld_handler): Likewise. + (status_notify): Likewise. + (close_process_descs): Likewise. + (create_process): Likewise. + (Fopen_network_stream): Likewise. + (send_process): Likewise. + (Fprocess_send_eof): Likewise. Use XINT when closing outfd. + (Fset_process_filter): Use XINT to get infd value. + (wait_reading_process_input): Likewise. + + * process.c (wait_reading_process_input): When bypassing select, + clear Available. + + * sysdep.c (getwd): If getcwd returns 0, we return 0. + (getwd for VMS): Likewise. + +1993-11-20 Paul Reilly (pmr@legacy.pajato.com) + + * s/dgux.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): + Defined (copied from usg5-4.h). + (FIRST_PTY_LETTER): Deleted. + +1993-11-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.c (Fmake_frame_visible): Doc fix. + + * textprop.c (Ftext_property_not_all): Swap t and nil values in + the case where there are no intervals. + (Fprevious_single_property_change, Fprevious_property_change) + Extra arg LIMIT. Return value was off by 1. + (Fnext_single_property_change, Fnext_property_change): + Extra arg LIMIT. + (Fnext_single_property_change): Require at least 2 args. + * indent.c (compute_motion): + Pass new arg to Fnext_single_property_change. + * xfaces.c (compute_char_face): Accept new arg LIMIT. + Pass Fnext_single_property_change its new arg LIMIT. + * xdisp.c (display_text_line): Pass new arg to compute_char_face + and to Fnext_single_property_change. + * dispnew.c (direct_output_for_insert): + Pass new arg to compute_char_face. + + * keyboard.c (follow_key): When downcasing, downcase just the + basic part of the character, and preserve the modifier bits. + +1993-11-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): If we get a quit, and current buffer + has changed, replay it to get proper keymap. + (quit_throw_to_read_char): Switch frames to the frame the quit was in. + +1993-11-19 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * buffer.c (Frename_buffer): When the current buffer is already + named NAME, don't short-circuit and just return unless UNIQUE is + nil. This makes passing UNIQUE=t equivalent to (rename-buffer + (generate-new-buffer-name NAME)). This is useful way to rename + the buffer automatically so you can create another with the + original name. + +1993-11-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (quit_throw_to_read_char): Select the frame + which the quit char was typed in. + + * s/linux.h (HAVE_UNISTD_H): No need to define here. + + * buffer.c (Flist_buffers): Always return a value. + + * minibuf.c (read_minibuf): History list always gets strings, + not Lisp objects made by read. + +1993-11-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_avail_input): Don't set nread to -1 + if we loop around in the loop that calls read. + + * sysdep.c (read_input_waiting): read_socket_hook + delivers events, not characters. Make buf smaller + in the case where we actually call read itself. + + * ralloc.c (r_alloc_init): Explicitly use real_morecore + to allocate the entire incomplete page. + + * frame.c (Fmake_frame_visible): Use FRAME_SAMPLE_VISIBILITY. + + * s/dgux.h (FIRST_PTY_LETTER): Defined. + +1993-11-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (Fkey_binding): Doc fix. + + * cmds.c (keys_of_cmds): Make 0377 self-inserting. + +1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.21 released. + + * doprnt.c (doprnt): Cast the value alloca returns. + + * gmalloc.c [HPUX8]: Include unistd.h earlier on. + + * s/sunos4shr.h (GNU_MALLOC, REL_ALLOC): Don't define if + already defined. + + * s/hpux8.h (LD_SWITCH_SYSTEM) [hp9000s700]: Add -L/lib/pa1.1. + + * Makefile.in.in (extraclean): Prevent wildcard from starting comment. + (distclean): Do delete Makefile and Makefile.in. + +1993-11-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * systty.h [BSD_TERMIOS]: Under NL0, NL1..., ECHO, NOFLSH, TOSTOP, + FLUSHO and PENDIN. + * s/sunos4-1-3.h (BSD_TERMIOS): Defined. + + * regex.c (re_set_registers): Use `regoff_t *' when casting 0. + + * Makefile.in.in: Delete spurious CFLAGS=-g. + + * s/sco4.h (HAVE_GETTIMEOFDAY): Don't define if already defined. + + * keyboard.c (read_avail_input): Make cbuf 1 char shorter. + +1993-11-14 Paul Reilly (pmr@legacy.pajato.com) + + * s/dgux.h (INTERRUPT_INPUT): Undefined. + (BROKEN_FIONREAD): Defined to work around a problem in DGUX + whereby emacs will stop on a background write when invoked from a + job control shell for the first time in a session. + (FIRST_PTY_LETTER): Undefined. + (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Defined + to use all the available PTYs in a COFF environment. + (LINKER): Removed "-nostdlib" from to be compatible with a prior + mod removing "/lib/crt0.o" from the LIBS_SYSTEM define. + (LIBS_SYSTEM): Delete /lib/crt0.o. + +1993-11-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Increase length of copy_buffer to 81. + + * lread.c (read1): If token has a \, don't treat it as a number. + +1993-11-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (IN_ADDR, NUMERIC_ADDR_ERROR): New macros (two versions). + (Fopen_network_stream): Use them. + + * doprnt.c: Include config.h. + + * keyboard.c (read_avail_input) [no FIONREAD]: On DGUX, as on USG, + read input with O_NDELAY. + + * s/dgux.h (SYSTEM_MALLOC): Turned off. + (NO_TERMIO): Defined. + (BROKEN_FASYNC): Turned off. + + * buffer.c (Foverlay_put): Don't call redisplay_region + if overlay has no buffer. + +1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (get_process): Add `static' to definition. + + * xterm.c (XTmouse_position): Delete test inserted Nov 10. + + * fileio.c (syms_of_fileio): Fix missing \n\'s. + + * keyboard.c (Fread_key_sequence): Split the doc string with "". + + * textprop.c (Fprevious_single_property_change): Fix missing \n\. + (Fnext_single_property_change): Likewise. + +1993-11-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.20 released. + + * callproc.c (Fcall_process): Clear synch_process_death and + synch_process_retcode before the vfork. + + * xterm.c (XTmouse_position): Undo roland's change. + Fix bug in bfox change. + +1993-11-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * unexec.c [! HPUX]: Don't declare sbrk at all, so as not to + conflict with system headers. + + * xterm.c (XTmouse_position): First arg is FRAME_PTR, not + FRAME_PTR *. + +1993-11-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/convexos.h: New file. + +1993-11-10 Brian Fox (bfox@mole.gnu.ai.mit.edu) + + * Makefile.in.in (intervals.o): Depend on puresize.h. + + * intervals.c (create_root_interval): Check to see if PARENT is in + pure memory. If so, we cannot write it. + (includes): Add "puresize.h" so we get the definition of CHECK_IMPURE. + + * xterm.c (XTmouse_position): If the passed in frame is not an + Xwindow frame, don't do anything. + + * frame.c (Fraise_frame): Do like the documentation says, and make + the frame visible first. + + * systty.h (EMACS_GETPGRP): New macro hides argument passing to + system getpgrp. Reinstate some semblance of control over this + macros behaviour by paying attention to GETPGRP_NO_ARG. + * sysdep.c (sys_suspend): Use EMACS_GETPGRP macro. + * emacs.c (main): Use EMACS_GETPGRP macro. + (shut_down_emacs): Use EMACS_GETPGRP macro. + + * alloc.c (make_pure_string): If we USE_TEXT_PROPERTIES, set the + interval of the pure string to NULL_INTERVAL. + + * syswait.h: Treat convex like hpux. + + * search.c (Fskip_chars_backward, Fskip_chars_forward): Doc fix. + +1993-11-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syntax.c (Fforward_comment): On backward scan, exit inner loop + after we reach beginning of a comment. + Check the SYNTAX_COMMENT_STYLE of a one-character comment ender. + (scan_lists): Check the SYNTAX_COMMENT_STYLE + of a one-character comment ender. + + * sysdep.c (read_input_waiting): Don't mess with meta bit + if read_socket_hook is nonzero. + + * sysdep.c (LPASS8, LNOFLSH): Move definitions earlier. + (child_setup_tty): Turn on LPASS8. + + * search.c (skip_chars): Finish reenabling checks for buffer bounds. + Use XINT, not XFASTINT, when testing. + + * fileio.c (Fwrite_region): Fix minor bugs in POS arg to awrite. + + * xterm.c (syms_of_xterm): Initialize last_mouse_scroll_bar. + +1993-11-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c, editfns.c: Doc fix. + +1993-11-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (child_setup_tty): Make the pty handle 8-bit characters. + +1993-11-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/linux.h [TERM]: Alternate definitions of LIBS_MACHINE + and C_SWITCH_MACHINE. + + * process.c [TERM]: Include client.h. + (Fopen_network_stream): Handle TERM. + +1993-11-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_new_font): xmalloc arg was 1 too small. + +1993-11-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-1-3.h (HAVE_TERMIOS): Defined. + +1993-10-25 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * process.c (Fopen_network_stream): Cast arg to inet_addr to (char *). + + * search.c (Freplace_match): Fix argument names to match doc string. + (Fmatch_beginning): Fix doc string to match argument name. + + * floatfns.c: Declare `logb' only if HAVE_LOGB is defined. + + * fileio.c (Fcopy_file): Don't allow the copying of anything other + than regular files or symlink files. + +1993-10-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Arg prompt is now a Lisp object. + Pass it to functions found in function-key-map and key-translation-map. + (Fread_key_sequence, command_loop_1): Calls changed. + +1993-10-22 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * config.h.in: Add #undef HAVE_UNISTD_H so configure can edit it + correctly. + +1993-10-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (status_notify): Don't read from process if filter is t. + (Fset_process_filter): Set or clear bit in input_wait_mask when nec. + +1993-10-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * data.c [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions. + +1993-10-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Allow function in key-translation-map + just as in function-key-map. + +1993-10-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Fdelete_overlay, Foverlay_put): Use marker_position, + not OVERLAY_POSITION, to get args for redisplay_region. + + * fileio.c (Fcar_less_than_car): Fix typo in previous change. + +1993-10-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * floatfns.c [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions. + + * fileio.c (Vafter_insert_file_functions): New variable. + (Vwrite_region_annotate_functions): New variable. + (Qcar_less_than_car): New variable. + (Fcar_less_than_car): New function. + (syms_of_fileio): Make Lisp variables and function available. + staticpro Qcar_less_than_car. + (a_write, build_annotations): New functions. + (Fwrite_region): Call them. + (Finsert_file_contents): Run the Vafter_insert_file_functions. + +1993-10-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sco4.h (SYSTEM_TYPE): Put into #if 0. + (BSTRING): Define only if HAVE_BCOPY. + +1993-10-08 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * search.c (skip_chars): Re-instate the check against the end of + the buffer, ignoring cryptic comment. + +1993-10-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Allow function-key-map to have a + function as the binding; call the function and use its value. + +1993-10-04 Brian J. Fox (bfox@ai.mit.edu) + + * minibuf.c (Fminibuffer_complete_word): GCPRO1 `completion' + during calls to Ftry_completion. + + * keyboard.c (read_key_sequence): Don't declare first_event; it is + no longer used. Change "#if 0" for first_event reading to + "#if defined (GOBBLE_FIRST_EVENT)". + +1993-10-03 Brian J. Fox (bfox@ai.mit.edu) + + * lisp.h: Doc fix. + + * minibuf.c (read_minibuf): Rewrite change of Sep 14. Save the + return value on the history list provided in the form that the + value is returned, iff the value is not equal to the front of the + history list. + +1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile.in: File removed. It is now generated by ../configure. + + * Makefile.in.in (LIBES): Add $(GNULIB_VAR) again at end. This + change to ymakefile was mysteriously lost. Were any others lost + too? + +1993-10-02 Brian J. Fox (bfox@ai.mit.edu) + + * minibuf.c (Fread_no_blanks_input): Change DEFUN to allow 2nd arg + to be optional. The code was already written correctly. + +1993-09-30 Brian J. Fox (bfox@ai.mit.edu) + + * systty.h: If POSIX and HAVE_UNISTD_H are defined, and unistd.h + hasn't already been included, include it. + + * s/linux.h (POSIX_SIGNALS): Comment fix. + +1993-09-30 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * Makefile.in.in (ALL_CFLAGS): Make sure that `.' is searched + before `${srcdir}' when looking for include files. + +1993-09-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * termhooks.h (enum event_kind): Doc fix. + +1993-09-27 Brian Fox (bfox@ai.mit.edu) + + * ymakefile: Merged into Makefile.in.in. + + * Makefile.in.in: New file. Now ../configure creates Makefile.in + from Makefile.in.in, and creates Makefile from Makefile.in. + ymakefile no longer exists, and xmakefile is never created. + +1993-09-24 Brian Fox (bfox@ai.mit.edu) + + * textprop.c (validate_plist): Add declaration for `list' + argument. + + * frame.c (Fhandle_switch_frame): Doc fix. + +1993-09-25 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * puresize.h: [MULTI_FRAME]: Increase PURESIZE to 220000. + +1993-09-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-1.h (LIBS_SYSTEM): Use -lresolv if it seems appropriate. + + * config.h.in: Add #undef HAVE_RES_INIT. + +1993-09-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m/mips4.h (LIB_STANDARD): Add a second -lc after crtn.o. + +1993-09-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * pwd.h: File deleted. + + * intervals.c (graft_intervals_into_buffer): New arg INHERIT. + + * editfns.c (Finsert_buffer_substring): Pass extra arg to + graft_intervals_into_buffer. + * insdel.c (insert_from_string): Likewise. New arg INHERIT. + (insert_from_string_before_markers): New arg INHERIT. + + * search.c (Freplace_match): Call Finsert_and_inherit. + + * editfns.c (Finsert_and_inherit): New function. + (Finsert_and_inherit_before_markers): New function. + (Finsert, Finsert_before_markers): Pass new arg to insert_from_string*. + * minibuf.c (Fminibuffer_complete_word): + Pass new arg to insert_from_string*. + * doc.c (Fsubstitute_command_keys): Pass new arg. + * abbrev.c (Funexpand_abbrev, Fexpand_abbrev): Pass new arg. + + * s/aix3-2.h (AIX3_2): Defined. + * m/ibmrs6000.h (LIBS_MACHINE): Include -lrts, -liconv only if AIX3_2. + + * xterm.h (HAVE_X11R4): If AIX, do not define HAVE_X11R4. + +1993-09-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (bzero, bcopy, bcmp): Don't define as functions + if they are defined as macros. + +1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu) + + * lread.c, callproc.c, filelock.c: Include , not "paths.h". + +1993-09-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/linux.h (LIBS_MACHINE): Make definition empty. + +1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Support configuring in a different directory when ${srcdir} has + already been configured. + * frame.c, xfns.c, xdisp.c, casetab.c, cm.c, casefiddle.c, xterm.c, + xrdb.c, eval.c, doc.c, lread.c, callint.c, cmds.c, term.c, fns.c, + data.c, alloc.c, unexconvex.c, fileio.c, indent.c, bytecode.c, + sunfns.c, xmenu.c, buffer.c, textprop.c, marker.c, print.c, + emacs.c, dispnew.c, syntax.c, undo.c, mocklisp.c, scroll.c, + search.c, ralloc.c, unexaix.c, unexec.c, unexenix.c, unexmips.c, + unexsunos4.c, vmsfns.c, vmsmap.c, dired.c, xselect.c, floatfns.c, + filelock.c, sysdep.c, abbrev.c, minibuf.c, xfaces.c, callproc.c, + insdel.c, intervals.c, process.c, vm-limit.c, window.c, + vmsgmalloc.c, keymap.c, editfns.c, keyboard.c, macros.c, vmstime.c: + Include instead of "config.h". + * ymakefile (ALL_CFLAGS): Put -I. before -I${srcdir}. + * Makefile.in (xmakefile): Use -I. in cpp run. + + * Makefile.in (clean): Use rm -f. + + * s/netbsd.h: New file. + * ymakefile (LIBES): Add $(GNULIB_VAR) again at end. + +1993-09-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (stuff_char): Use input_fd. + (narrow_foreground_group, widen_foreground_group, init_sys_modes) + (init_baud_rate, init_sigio, request_sigio, unrequest_sigio): Likewise. + (change_input_fd): New function. + + * process.c (keyboard_descriptor): New variable. + (wait_reading_process_input, init_keyboard): Use it. + Also call change_input_fd. + (change_keyboard_wait_descriptor): New function. + * xterm.c (x_term_init): Call change_keyboard_wait_descriptor, + instead of dup2. Use the existing X desc number in fcntl calls. + * xterm.c (XTread_socket): Don't forget to clear out `mask'. + +1993-09-08 Francesco Potorti` (pot@cnuce.cnr.it) + + * filelock.c (fill_in_lock_short_file_name): Fix the crc + generation algorithm. + +1993-08-19 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * textprop.c (F{next,previous}_single_property_change): Doc fix. + +1993-09-15 Brian Fox (bfox@ai.mit.edu) + + * data.c: Add declaration for atof if not predefined. + + * xfns.c (XScreenNumberOfScreen): Move assignments out of + declarations for (dpy, dpyscr). + + * sysdep.c (sys_write): Keep trying to write out the data until + all of the data is written, or until we receive an error which is + not an interrupted write. + +1993-09-14 Brian Fox (bfox@ai.mit.edu) + + * keyboard.c (Qextended_command_history): New variable prevents + sharing of M-x command history with other commands that read + values in the minibuffer. + + * doprnt.c (doprnt): Use a fixed buffer to store the format + specification, but only if we are sure it will fit. Otherwise, + use alloca to get enough space. Don't allow negative size + specifications to core dump; instead, treat them as positive + ("%-20d" == "%20d"). + + * minibuf.c (read_minibuf): Don't add history item if it is + string-equal to the most recent history item. + +1993-07-09 Karl Berry (karl@cs.umb.edu) + + * dired.c (file_name_completion): Install case-preserving + changes from Emacs 18 for completion_ignore_case. + (completion_ignore_case): Declare. + +1993-09-01 Brian Fox (bfox@ai.mit.edu) + + * window.c (Fdelete_windows_on): Fix DEFUN to allow optional + second argument to appear. + +1993-08-30 Brian Fox (bfox@ai.mit.edu) + + * ymakefile (alloc.o): Remove explicit compilation rule, since it + is identical to the default rule, and `$<' doesn't work in + explicit rules in all "make"s. + +1993-08-27 Brian Fox (bfox@ai.mit.edu) + + * gmalloc.c (safe_bcopy): Compile if MEMMOVE_MISSING is defined, + but only if we aren't compiling for emacs. + + * sysdep.c (read_input_waiting): If the user specifies + `meta-flag', then notice characters with high-bit set. + + * Added fixes from Karl Berry for ISC-2.2. + * s/isc2-2.h (MEMMOVE_MISSING): Define. + (SIGNALS_VIA_CHARACTERS): Define. + (LIB_STANDARD): Do not include -lcposix. + (C_SWITCH_SYSTEM) [__GNUC__]: Do not use -traditional. + +1993-08-17 Brian Fox (bfox@ai.mit.edu) + + * alloca.c: Invert sense of conditional for entire file (GNUC >= + 2). Added `#else'. + + * xterm.c (x_wn_set_size_hint): Make recent window gravity + addition depend on "PWinGravity" being `#defined'. + +1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.19 released. + + * Makefile.in (mostlyclean): Don't delete emacs here. + (clean): Delete emacs and emacs-* here. + (distclean): Don't delete emacs-* here. + + * xselect.c (struct property_change): New field `arrived'. + (expect_property_change): Return struct property_change *. + Clear `arrived'. + (unexpect_property_change): Take one as argument. + (wait_for_property_change): Take one as argument. + If `arrived' is set, don't wait. + (wait_for_property_change_unwind): Corresponding changes. + (receive_incremental_selection): Corresponding changes. + (x_reply_selection_request): Corresponding changes. + (property_deleted_p): Function deleted. + + * xselect.c (x_handle_selection_clear): Redisplay. + + * search.c (compile_pattern): Cast result of re_compile_pattern. + + * emacs.c (init_cmdargs): Check openp result for 1, not != 0. + + * xterm.c (x_wm_set_size_hint): New args spec_x and spec_y. + Set the window gravity. All callers changed. + * xfns.c (Fx_create_frame): Pass the new args to x_wm_set_size_hint. + + * xmenu.c (Fx_popup_menu): Adjust coords so they are relative + to the inner window. + + * syswait.h: New file. + * sysdep.c, process.c: Include it. + * ymakefile (sysdep.o, process.o): Depend on syswait.h. + + * process.c (wait_reading_process_input): Exit without waiting + if wait_for_cell is already non-nil. + + * sysdep.c (mkdir, rmdir): Use wait_for_termination to wait. + Redirect descriptors 0...2 to /dev/null. + + * emacs.c (__CTOR_LIST__): Don't declare it on Linux. + + * filelock.c (getpwuid): Declare it as in xrdb.c. + (init_filelock): Don't use return value of strcpy. + + * fns.c (internal_equal): Typo in previous change. + + * xfns.c (x_set_frame_parameters): Don't die if just one of + height and width was set. Likewise left and top. + + * textprop.c (property_change_between_p): Test NULL_INTERVAL_P + in loop, before looking at next->position. + + * intervals.c (adjust_intervals_for_insertion): If inserting in middle + of interval that is sticky in neither direction, don't copy props. + (merge_properties_sticky): Handle non-list as front-sticky or + rear-nonsticky property. + +1993-08-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c (internal_equal): All markers in no buffer are equal. + +1993-08-13 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * config.h.in: Added #undef HAVE_XSCREENNUMBEROFSCREEN. + +1993-08-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (XScreenNumberOfScreen): New function. + + * m/tek4300.h (C_DEBUG_SWITCH, SYSTEM_MALLOC): Defined. + + * m/iris4d.h (START_FILES, LIB_STANDARD): Don't define if USG5_4. + (DEFAULT_ENTRY_ADDRESS): Likewise. + (UNEXEC): Use unexelfsgi.o if USG5_4. + + * s/irix5-0.h (C_SWITCH_MACHINE): Deleted. + +1993-08-13 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * m/dpx2.h: Delete conditionals for HAVE_X_WINDOWS and HAVE_SOCKETS. + +1993-08-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m/iris4d.h (C_ALLOCA): Don't define it. + + * keyboard.c (kbd_buffer_store_event): Use bcopy to copy + a selection request event. + + * unexnext.c (get_data_region): Add cast to avoid warning. + +1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (prefix-args, filemode.o, lastfile.o): Dep on $(config_h). + + * floatfns.c (Flogb): Error at run time if not supported. + + * ymakefile (emacs.o): Depend on process.h and syssignal.h. + * emacs.c: Include process.h. + (init_cmdargs): Use EXEC_SUFFIXES. + + * s/irix5-0.h: Include alloca.h if appropriate. + Fix the #include file name. + (ULIMIT_BREAK_VALUE, GETPGRP_NO_ARG, NO_MATHERR): New macros. + (LIB_STANDARD): #undef it. + + * frame.c (Fdelete_frame): Add parens for clarity. + + * keyboard.c (read_char): Never start echoing if -batch. + + * minibuf.c (Qread_file_name_internal): New var. + (syms_of_minibuf): Set it up and protect it. + (Fminibuffer_complete_word): When completing a file name, + expand envvar references. + + * xterm.c (XTread_socket): Make copy_buffer unsigned. + + * s/usg5-4-2.h (HAVE_GETHOSTNAME): #if 0'd. + +1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/hpux8.h (LD_SWITCH_SYSTEM): Delete the -L options. + + * termhooks.h (enum event_kind): Delete final comma. + (meta_modifier): Delete final comma. + * window.c (enum window_loop): Delete final comma. + * xfns.c (enum resource_types): Delete final comma. + + * m/ibmrs6000.h (BIG_ENDIAN): Don't actually define it. + + * window.c (Frecenter): Preserve point in the buffer we change it in. + + * cmds.c (Fnewline): If we don't do the first SET_PT, + clear flag, so we don't do the second SET_PT. + + * keyboard.c (make_lispy_event): Clear all but 0377 in event->code. + + * xselect.c (receive_incremental_selection): Use bcopy, not memcpy. + + * m/tek4300.h (BIG_ENDIAN): Provide a value that matches the system. + + * config.h.in: Add #undef HAVE_FTIME. + + * ymakefile (ALL_CFLAGS): Use C_SWITCH_X_SITE before + C_SWITCH_X_SYSTEM and C_SWITCH_X_MACHINE. + + * s/hpux8.h (C_SWITCH_X_SYSTEM): Define instead of C_SWITCH_SYSTEM. + +1993-08-11 Shane Hartman (shane@nugget.spr.com) + + * buffer.c (verify_overlay_modification): Initialize endpos. + + * keymap.c (describe_buffer_bindings): Declare shadow just once. + +1993-08-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_calc_absolute_position): For negative coords, take + account of added width from window manager's outer window. + + * term.c (term_get_fkeys_define_1, term_get_fkeys_define): + New functions. + (term_get_fkeys): Use them. + + * m/tekxd88.h: Renamed from tekXD88.h. + (LIB_X11_LIB, LIBX11_SYSTEM): Make #undefs unconditional. + + * systty.h: Handle NO_TERMIO in principal HAVE_TERMIOS case. + + * xrdb.c (x_get_customization_string): Don't use value of strcpy. + + * floatfns.c (Fexpt): Use IN_FLOAT2. + +1993-08-10 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * m/dpx2.h (HAVE_TCATTR): Macro #defined. + (HAVE_CLOSEDIR): #undef to allow use of closedir in sysdep.c. + (SIGTSTP): Commented #undef to allow use of ^Z in shell-mode. + (SIGNALS_VIA_CHARACTERS): #defined. + +1993-08-09 Paul Eggert (eggert@twinsun.com) + + * data.c (Fmod): New function; result is always same sign as divisor. + (syms_of_data): Add Smod. + * emacs.c (main): Invoke syms_of_floatfns even if LISP_FLOAT_TYPE + isn't defined, since `(floor A B)' is now needed for integers. + * floatfns.c (syms_of_floatfns): Likewise. + (Ffloor): Optional second operand specifies divisor, as in Common Lisp. + +1993-08-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unexelf.c (unexec): Add casts for some comparisons. + (PATCH_INDEX): Likewise. + +1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.18 released. + + * term.c (term_init): Improve error messages (give sh commands). + + * xterm.c (struct font_info): New structure. + (x_font_table): Use struct font_info as elements. + (x_new_font): Corresponding changes. + Use XListFonts, not XListFontsWithInfo. + Use XFreeFontNames, not XFreeFontInfo. + Compare fonts by name, not by fid. + If already_loaded is 0, that counts as "yes". + + * minibuf.c (Qminibuffer_setup_hook, Vminibuffer_setup_hook): New vars. + (syms_of_minibuf): Set them up. + (read_minibuffer): Run the hook, if not empty. + + * dispnew.c (direct_output_forward_char): Fix previous change: + verify position is in range before calling Fget_text_property, + and calculate position properly. + + * s/bsd4-2.h, s/bsd4-3.h, s/umax.h, s/rtu.h, s/dgux.h (HAVE_VFORK): + Defined. + + * ymakefile (alloc.o): Don't use DEBUG_MOLE. + (DEBUG_MOLE): Deleted. + * gnu-hp300: File deleted. + + * .gdbinit: Don't put -q in args. + Don't unset TERM and TERMCAP--show them instead. + + * alloc.c (mark_object): Declare ptr volatile, or don't use it + after a recursive call. Delete the aborts if ptr is clobbered. + + * fileio.c (expand_and_dir_to_file): Use Fdirectory_file_name. + +1993-08-08 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * config.h.in (HAVE_LOGB, HAVE_FREXP): Add #undefs for the + configuration script to edit. + * floatfns.c (Flogb): Use HAVE_LOGB and HAVE_FREXP, instead of + assuming that all USG systems have FREXP. + +1993-08-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (Vinvocation_directory): New var. + (init_cmdargs): Set up its value. + (Finvocation_directory): New function. + (main): Call init_buffer, init_callproc and init_cmdargs + before init_lread. + (syms_of_emacs): Install the function, and protect the variable. + * lisp.h (Vinvocation_directory): Declared. + * lread.c (init_lread): Normally put Vinvocation_directory + at end of Vload_path, if not present already. + +1993-08-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (set_poll_suppress_count): New function. + * eval.c (unwind_to_catch): Call set_poll_suppress_count. + + * xterm.c (x_term_init): Set the hooks before we call Fset_input_mode. + * keyboard.c (Fset_input_mode): Start polling, if appropriate. + At the beginning, stop polling. + Remove period from error message. + (stop_polling, start_polling): Check for interrupt_input. + (POLL_FOR_INPUT): Define whether or not target supports SIGIO. + + * m/ibm370aix.h (HAVE_VFORK, INTEL386, aix386): Add #undef. + +1993-08-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * eval.c (do_autoload): Don't report autoload failure + if the autoload definition now is a different one. + + * m/ibm370aix.h: Total rewrite; includes ibmps2-aix.h. + + * m/ibmps2-aix.h (SYSTEM_TYPE): Don't redefine it here. + + * syntax.c: Doc fix. + +1993-08-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c (Fyes_or_no_p): Use Qyes_or_no_p_history. + (syms_of_fns): Set up Qyes_or_no_p_history. + + * fileio.c (expand_and_dir_to_file): Remove final / by copying abspath. + + * data.c (Frem): Don't accept floats, just ints and markers. + + * m/vax.h [BSD4_2] (HAVE_FTIME): Defined. + +1993-08-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m/7300.h (CRT0_COMPILE): Add -O and -Demacs. + * ymakefile (CRT0_COMPILE): Add missing #endif. + +1993-08-03 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + Changes for 3b1 suggested by Andy Fyfe + * 7300.h [__GNUC__]: #define HAVE_ALLOCA. + [not __GNUC__]: #define SWITCH_ENUM_BUG, C_ALLOCA, and STACK_DIRECTION. + (HAVE_SYSVIPC, USE_UTIME): #define these. + (memmove): We don't have this; call safe_bcopy. + (CRT0_COMPILE): #define this, so we always use the system's cc. + * config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for + configure to edit. + * sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar, + for use on systems lacking the mkdir function. + [not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on + systems lacking the rmdir function. + * ymakefile (crt0.o): Replace the compiler and switches with the + symbol CRT0_COMPILE. + (CRT0_COMPILE): If the system and machine description files have + left this undefined, then define it to do the same as the old + crt0.o rule used to. + +1993-08-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (vfork): Move this outside the USG conditional. + +1993-08-02 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * frame.c (Fprevious_frame): New function, for parity with + Fnext_frame. + (syms_of_frame): Add defsubr for Sprevious_frame. + +1993-08-02 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xdisp.c (display_menu_bar): Redisplay all lines occupied by the + menu bar, not just the first. + +1993-08-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): Use XFASTINT to convert value + of Flength to an int. + + * buffer.c (Fmove_overlay): Avoid initializer for Lisp_Object vars. + (verify_overlay_modification): Declare ostart, oend as Lisp_Object. + + * frame.c (Fset_frame_position): Doc fix. + +1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * From daveg@synaptics.com: + * keyboard.c (last_mouse_button): Renamed from button_up_button. + (last_mouse_x, last_mouse_y): Likewise. + (button_down_time): Replaces button_up_time. + (make_lispy_event): Set button_down_time. + Detect and report double-down and double-drag events. + (apply_modifiers_uncached): Put `double' or `triple' first. + (read_key_sequence): Convert unbound double-drag/down to drag/down. + + * fileio.c (Finsert_file_contents): Don't call prepare_to_modify_buffer + if inserting zero characters. + + * syntax.c: Doc fix. + +1993-07-31 Gregor Schmid (schmid@fb3-s7.math.tu-berlin.de) + + Handle `sticky' text properties. + * intervals.c (adjust_intervals_for_insertion): Handle insertion + between two unlike intervals via merge_properties_sticky. + (merge_properties_sticky): New function. + (graft_intervals_into_buffer): Leave handling of `sticky'-ness to + adjust_intervals_for_insertion, then merge properties of the + inserted text onto the old ones. + (textget_direct): New function. + (set_point): Fix calculating of fromprev. + (verify_interval_modification): Check for `read-only' property + and take its `sticky'-ness into account. + * intervals.h (MERGE_INSERTIONS): Define as 1. + (FRONT_STICKY): Add real definition. + (END_NONSTICKY): New macro. + (END_STICKY): Deleted. + (textget_direct, Qfront_sticky, Qrear_nonsticky): Declared. + * textprop.c (Qfront_sticky, Qrear_nonsticky): New variables. + (syms_of_textprop): Set them up. + + Change display code to handle the `invisible' text property. + * dispnew.c (direct_output_for_insert): Fail if character + just inserted has text properties. + (direct_ouput_forward_char): Fail if moving near invisible chars. + * indent.c (compute_motion): Compute correctly for invisible text. + (vmotion): Take care of invisible newlines. + * intervals.c (set_point): Ignore `invisible' property + unless property value is `hidden'. + * intervals.h (Qhidden): Declared. + * textprop.c (Qhidden): New variable. + (syms_of_textprop): Set up Qhidden. + * xdisp.c (try_window): Handle invisible newline at end of buffer. + (display_text_line): Don't display invisible text. + +1993-07-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.c (Fmove_to_column): After we split a tab, make sure + to set last_known... consistently. + + * editfns.c (save_excursion_restore): Never make the buffer visible. + + * s/isc3-0.h: Don't mention dir `s/' in #include. + +1993-07-30 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * config.h.in (HAVE_AIX_SMT_EXP): New #undef for configure to edit. + * m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't mention + /usr/lpp/X11/bin/smt.exp unless HAVE_AIX_SMT_EXP is #defined. + + * config.h.in (HAVE_BCOPY): Add an #undef for this. + (BSTRING): #define this iff HAVE_BCOPY is #defined here. Ignore what + the system-description files say. They don't always make fine + enough distinctions between systems, and sometimes the bcopy + routines are available only with X windows. + + * config.h.in (HAVE_XSCREENRESOURCESTRING): New #undef for + configure to edit. + * xrdb.c (get_user_db): Test it to decide whether or not to try to + retrieve the screen-dependent resources. + + * xfns.c (Fx_open_connection): Test the CPP symbol + HAVE_XRMSETDATABASE to decide whether or not to call + XrmSetDatabase. + + * xfns.c (x_set_background_color): Change the foreground color of + the cursor, too. + +1993-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * editfns.c (syms_of_editfns): Just staticpro Vuser...name + and Vsystem_name; don't make them Lisp variables. + + * xselect.c (prop_location_identifier): Was named prop_location_tick. + (property_change_reply_identifier): Renamed from ...-tick. + (struct prop_location): Field `identifier' renamed from `tick'. + Various functions changed accordingly. + (x_handle_selection_request): Delete local struct var `reply'. + + * xselect.c (wait_for_property_change_unwind): New function. + (wait_for_property_change): Add unwind protect. + +1993-07-29 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * xfns.c (syms_of_xfns): Don't staticpro Vx_resource_name; + DEFVAR_LISP takes care of that, and it's deadly to staticpro a + variable containing a string twice. + + * window.c (check_frame_size): Include the menu bar height in the + minimum frame height. + + * ymakefile (DEBUG_MOLE): Don't put parens around the command we + run to detect the GNU hp300 machines. If the make is still + somehow using csh, it complains about the parens. + +1993-07-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.c (Fdelete_frame): New arg FORCE allows deletion + of last non-invisible frame. + + * s/usg5-4.h (bzero, bcmp, bcopy): New macros. + (LIB_STANDARD): Don't include libucb.a. + +1993-07-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * xfns.c (syms_of_xfns): Use DEFVAR_LISP, not DEFVAR_INT, for + Vx_pointer_shape. + +1993-07-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * cmds.c (Fnewline): Disable the "insert one position before" + optimization if it would screw up text property behavior. + * textprop.c (property_change_between_p): New function. + +1993-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): + Call Qrecompute_lucid_menubar only if defined. + + * emacs.c (decode_env_path): Strip trailing slashes if there are any. + + * unexec.c (make_hdr): Use & in call to bzero. + + * xfns.c (Fx_rebind_key, Fx_rebind_keys): Functions deleted. + + * syntax.c (scan_sexps_forward): Delete extra Fcdr when analyzing + OLDSTATE. + + * xterm.c (x_iconify_frame): Handle case where frame was invisible. + + * s/hpux8.h (OLDXMENU_OPTIONS): Definition deleted. + + * ymakefile (really-oldXMenu): Pass down C_SWITCH_X_SYSTEM. + + * m/delta88k.h [USG5_4] (LIBX11_SYSTEM): Don't redefine in this case. + + * search.c (search_buffer): If n is 0, just return POS. + +1993-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/usg5-4.h (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs. + + * window.c (Fset_window_buffer): Clear window_end_{pos,valid}. + + * dispnew.c (Fsleep_for): If arg is 0, return right away. + +1993-07-26 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu) + + * m/delta.h (SWITCH_ENUM_BUG): Defined only for AT&T's pcc. + (BSTRING): Deleted because they are stubs to the memory funcs. + (memmove): Defined as safe_bcopy since memcpy is not safe. + (HAVE_X_WINDOWS): Does not conditionally define anything any more. + Added support fo the GNU C compiler bundled with R3V7. + +1993-07-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * puresize.h [MULTI_FRAME] (PURESIZE): Increased to 210000. + +1993-07-25 Sam Dooley (dooley@watson.ibm.com) + + * keyboard.c (kbd_buffer_store_event): Apply all the modifiers bits + before testing for quit_char and stop_character. Don't alter + event->code, though. + +1993-07-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xselect.c (wait_for_property_change): Eventually time out with error. + (x_reply_selection_request): XFlushQueue and UNBLOCK_INPUT + before calling wait_for_property_change. + (x_get_window_property): Simplify input blocking/unblocking. + Don't delete the property here. + (receive_incremental_selection): Delete property here. + Call XSelectInput to enable and disable PropertyChangeMask. + (x_get_window_property_as_lisp_data): And here. + + * process.c (wait_reading_process_input): Undo last two changes: + when wait_for_cell, do not check the keyboard. + + * filelock.c: Fix typo in previous change. + + * xselect.c (lisp_data_to_selection_data): New arg NOFREE_RET. + For a string, just return its data's address. + (x_handle_selection_request): Pass new arg. + If value comes back 1, don't call xfree. + + * xfns.c (MAXREQUEST): Defined. + (Fx_server_max_request_size): New function. + (syms_of_xfns): Set it up. + + * window.c (Fwindow_end): Don't assume WINDOW shows the current buffer. + + * s/386bsd.h (LOCALTIME_CACHE): Defined. + (HAVE_SETSID): Defined. + (LIB_STANDARD): Override, adding $(GNULIB_VAR). + + * emacs.c (main): Test LOCALTIME_CACHE. + + * filelock.c (getpwuid): Declare at top level, and not if __386bsd__. + + * keyboard.c (interrupt_signal): Tell Fdo_auto_save not to print msg. + Print "Auto-save done" here. + + * fileio.c (Fdo_auto_save): Temporarily clear Vquit_flag. + + * xfns.c (Fx_create_frame): Typo in previous change. + +1993-07-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * .gdbinit (xscrollbar): Fix typo specifying doc string. + + * process.c (Fprocess_status): Use Fget_process, to avoid error + if unknown process name. + + * xfaces.c (face_name_id_number): Use assq_no_quit, not Fassq. + +1993-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): Run post-command-hook first thing. + + * xterm.c (redraw_previous_char): New function. + + * xfns.c (Fx_create_frame): Don't look for default font + if the caller has specified a valid font. Try several + alternative font patterns. + +1993-07-23 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * mem-limits.h: [_LIBC]: Define BSD4_2. + +1993-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sco4.h (HAVE_SOCKETS): Define, if HAVE_INET_SOCKETS. + + * sunfns.c: Fix comment syntax. Put back the comment + saying that we don't maintain this file. + + * xterm.c (XTread_socket) [! HAVE_X11R5]: + Check for XK_Mode_switch and XK_Num_Lock, if defined. + + * m/hp9000s300.h (TEXT_START) [__GNUC__]: Define as 0. + + * intervals.h (Vinhibit_point_motion_hooks): Declared. + * textprop.c (syms_of_textprop): Set up Lisp var. + * intervals.c (set_point): Test it. + +1993-07-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/irix5-0.h (PTY_OPEN): Use sigaction, not sigsetmask. + + * s/386bsd.h (DECLARE_GETPWUID_WITH_UID_T): Declared. + * xrdb.c (getpwuid): Test DECLARE_GETPWUID_WITH_UID_T. + + * process.c (Fget_buffer_process): Delete doc string from + second alternative definition. + +1993-07-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * ralloc.c (ALIGNED, ROUNDUP): + Use `unsigned long int' instead of `unsigned int' for + casting addresses and sizes. It matters on the 64-bit Alpha. + + * mem-limits.h [_LIBC]: Just include , and skip + hairy #ifdef mess. + +1993-07-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Fread_key_sequence): Doc fix. + (read_key_sequence): Handle Vkey_translation_map. + (kbd_buffer_get_event): Discard an event whose kind is no_event. + + * buffer.c (syms_of_buffer): Lisp var doc fixes. + + * m/att3b.h (NO_MODE_T): Defined. + + * intervals.c (graft_intervals_into_buffer): When TREE is null, + pass buffer as 2nd arg to reproduce_tree. + +1993-07-21 Paul Eggert (eggert@twinsun.com) + + * print.c (float_to_string): Don't use uninitialized pointer `cp'. + Set width to -1 at lose: and other places. + Default to .17g, not .20g. + +1993-07-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Qmodification_hooks, Qinsert_in_front_hooks) + (Qinsert_behind_hooks): Moved here. + (syms_of_buffer): Lisp vars set up here. + * textprop.c: No longer here. + + * alloc.c (compact_strings): Add USE_TEXT_PROPERTIES conditional. + + * intervals.h (Ftext_property_not_all): Fix typo in decl. + + * s/sunos4-1.h (SUNOS_LOCALTIME_BUG): Defined. + + * frame.c (Fdelete_frame): Allow deletion if there is some other + visible (perhaps iconified) frame. Also allow deleting terminal frame + if there are X frames. + + * s/sunos4shr.h (memmove): Defined. + + * m/att3b.h (memmove): Defined as macro. + +1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (xmakefile): Use CFLAGS after C_SWITCH_SYSTEM. + + * xfns.c (validate_x_resource_name): Call make_string properly. + + * m/next.h (X_NOT_POSIX): Defined. + + * s/sol2.h (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs. + + * s/isc3-0.h (memmove): Delete extra parens in the safe_bcopy call. + + * m/ibmrs6000.h (LD_SWITCH_MACHINE): Add -bI:/usr/lpp/X11/bin/smt.exp. + +1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * eval.c (Fwhile): If mocklisp, test for nonzeroness. + + * s/sunos4shr.h (SYSTEM_MALLOC): Add #undef. + (GNU_MALLOC, REL_ALLOC): Defined. + +1993-07-19 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) + + * ymakefile: config.h is in current directory, not ${srcdir}. + +1993-07-18 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Version 19.17 released. + + * xfns.c (Fx_create_frame): Block input around call to + x_new_font. Test if the return value is a string, not if it's + nil; x_new_font can return things besides nil and strings, to + indicate error conditions. + + * window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME + argument to Qt, instead of trying to typecheck it. + + * ymakefile (config_h): Set this to ${srcdir}/config.h; all the + source dependencies mention $(config_h), but until now it never + had a value. + + * xfns.c (Fx_open_connection): Don't trust HAVE_XRMSETDATABASE; + use XrmSetDatabase only when HAVE_X11R5 is defined. + + * dispnew.c (direct_output_for_insert): By the time this function + is called, we have already inserted the character into the buffer; + the proper buffer position to pass to compute_char_face is point + - 1, not point. + +1993-07-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (C_SWITCH_SYSTEM): New variable, set by top-level + Makefile. + (xmakefile): Pass it to the C preprocessor. + + * window.c (Fdelete_windows_on): New optional argument FRAME; if + nil, delete windows on all frames. If t, delete windows on the + selected frame only. If a frame, delete windows on that frame + only. + + * intervals.c (split_interval_left, split_interval_right): Change + OFFSET argument of these functions to be origin 0, not origin 1. + This is what all the callers currently want. + * intervals.c, textprop.c: All callers changed. + + * textprop.c (Ftext_property_not_all): Renamed from + Ftext_property_all, and changed sense of return value, so that it + returns useful information if not all characters have properties + EQ to value. Now all the existential and universal questions can + be asked. + + * textprop.c (syms_of_textprop): Don't forget defsubr for + Stext_property_all. + + * textprop.c (Ftext_property_any, Ftext_property_all): Use EQ to + compare property values, not Fequal. + + * xterm.c (x_term_init): Adjust message printed when we can't + connect to the X server. + + * xfns.c (Vx_resource_name): Renamed from Vxrdb_name, and made a + lisp-visible variable, so lisp/term/x-win.el can set it. Doc it + for "internal use only"; no need for NEWS entry. + (validate_x_resource_name): New function. + (Fx_get_resource): Doc fix. References to Vxrdb_name renamed. Call + validate_x_resource_name. + (x_window): References to Vxrdb_name renamed. Call + validate_x_resource_name. + (Fx_open_connection): References to Vxrdb_name renamed. Instead + of setting and validating its value here, just call + validate_x_resource_name. + (syms_of_xfns): Add DEFVAR_LISP for Vx_resource_name. + +1993-07-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (Vhelp_menu_bar_map): Deleted. + (menu_bar_items): Move elts for events in Vmenu_bar_final_items to end. + (syms_of_keyboard): Corresponding changes. + +1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Consistently use the mark bit of the root interval's parent field + to say whether or not the interval tree has been visited (and skip + it when revisited), and the mark bit of the plist field to say + whether or not that interval has been visited (and abort if + revisited); don't try to use the plist mark bit for both + meanings. + * alloc.c (mark_interval_tree): Don't test if the interval tree + has already been visited here; let the MARK_INTERVAL_TREE macro do + that; avoid function call overhead. Mark the interval tree as + having been visited by setting TREE->parent's mark bit. + (MARK_INTERVAL_TREE): If the tree has been visited (according to + I->parent's mark bit), don't call mark_interval_tree. + (gc_sweep): Rebalance the interval trees of those large strings + which are still alive. This also clears the mark bits of those + trees' root intervals' parent fields. + (compact_strings): Rebalance the interval tree of each small + strings which is still alive. This also clears the mark bits of + that tree's root interval's parent field. Since the string has + moved, update the root interval's parent pointer to contain the + new address. + * lisp.h (struct interval): Doc fix; explain the roles of the mark + bits of the parent and plist members. + + * termhooks.h: In order to avoid declaring struct input_event + (which contains Lisp_Objects) in those .c files which need access + to the terminal hooks but don't #include lisp.h (like cm.c), test + to see if the macro CONSP is #defined. We used to test XINT, but + config.h will #define that everywhere on systems that use tailored + tagging schemes. + + * window.c (Fnext_window, Fprevious_window): Put these docstrings + in comments; the strings are too long for some C compilers. + + * s/hpux9.h: Doc fix. + +1993-07-15 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * ymakefile (DEBUG_MOLE): New variable; a shell expression which + expands to -DDEBUG_MOLE on HP 9000/300's in the domain + gnu.ai.mit.edu, and the empty string on all other machines. + (alloc.o): Cite ${DEBUG_MOLE}, so DEBUG_MOLE is #defined when + compiling on mole. + +1993-07-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_char_menu_prompt): If the user rejects a menu, + return t. This makes read_char also return t. + (read_key_sequence): If read_char returned t, return -1. + (Fread_key_sequence): If read_key_sequence returned -1, quit. + (command_loop_1): If read_key_sequence returned -1, loop around. + +1993-07-15 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (menu_bar_one_keymap): If the key's binding is the + symbol `undefined', don't try to take that symbol's cdr before + passing it to menu_bar_item; pass the `undefined' binding itself, + so menu_bar_item can remove bindings for the same key from result. + +1993-07-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Fbuffer_local_variables): For local var that is unbound, + put just the symbol in the result, not a cons of (symbol . value). + + * keyboard.c (Qdisabled_command_hook): New variable. + (Vdisabled_command_hook): Deleted. + (syms_of_keyboard): Corresponding changes. + (Fcommand_execute): Use Qdisabled_command_hook. + + * alloc.c (mark_object) [DEBUG_MOLE]: Add abort at beginning. + + * keyboard.c (Vhelp_menu_bar_map): New var. + (syms_of_keyboard): Set up Lisp var for it. + (menu_bar_items): Use Vhelp_menu_bar_map. + +1993-07-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * textprop.c (Ftext_property_any, Ftext_property_all): New + functions, from David Gillespie. + * intervals.h (Ftext_property_any, Ftext_property_all): Declare them. + + * keyboard.c (read_key_sequence): Accept both strings and vectors + as bindings in function-key-map. + * keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix. + + * keyboard.c (Fsuspend_emacs): Pass selected_frame as the first + argument to change_frame_size, not 0. This function may be called + in an Emacs compiled with multi-frame support. + +1993-07-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xterm.c (XTread_socket, UnmapNotify case): Add missing comment + terminator. + + * intervals.c (graft_intervals_into_buffer): Properly compute + length of buffer. + +1993-07-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * minibuf.c (Fdisplay_completion_list): Run completion-setup-hook. + +1993-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * textprop.c (Qinsert_in_front_hooks, Qinsert_behind_hooks): New vars. + (syms_of_textprop): Set them up. + * lisp.h (Qinsert_in_front_hooks, Qinsert_behind_hooks): Declared. + (Qmodification_hooks): Declared. + + * intervals.c (verify_interval_modification): + For insertion, run the insert-in-front-hooks and insert-behind-hooks, + not the modification-hooks. + * buffer.c (verify_overlay_modification): New function. + (call_overlay_mod_hooks): New function. + * insdel.c (prepare_to_modify_buffer): Call that. + + * keyboard.c (Qundefined): New variable. + (syms_of_keyboard): Set up Qundefined. + (menu_bar_items): Don't reverse the items. + Process the maps in reverse order. + (menu_bar_item): If definition is `undefined', + delete any menu bar item already made, and don't make one. + +1993-07-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * print.c (float_to_string): Distinguish between a precision of + zero and an omitted precision. Do allow %.0f to produce strings + containing no decimal point or exponent. + (syms_of_print): Doc fix for float-output-format. + + * xfns.c (x_set_frame_parameters): Don't set the frame's size and + position unless those parameters are actually specified in ALIST. + + * syntax.c (Fmodify_syntax_entry): Doc fix. + +1993-07-12 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * xterm.c, sysdep.c (F_SETOWN_BUG): Defined. + * m/dpx2.h: New file. + +1993-07-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * textprop.c (set_properties): Call modify_region. + (remove_properties): Call modify_region before record_property_change. + (add_properties): Likewise. + +1993-07-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * xrdb.c: Implement search for app-defaults directory and + localized default databases, along with some other functionality + provided by Xt. + #include , since we call sprintf. + [emacs] (malloc, realloc, free): #define these to xmalloc, + xrealloc, and xfree. + (x_get_string_resource, file_p): Add forward declarations for + these. + (x_customization_string): New variable. + (x_get_customization_string): New function. + (gethomedir): Return malloc'ed space of the right size, instead of + writing into a fixed-size buffer; this means that our callers do + not impose an arbitrary limit on file name length. + (magic_file_p): Rewrite of decode_magic; actually do the + substitutions, instead of expanding all %-escapes to "". Support + the customization string. Return 0 or the expanded file name, + instead of just zero or one. Allocate the space for the expanded + file name ourselves, instead of writing into a fixed-size buffer + passed to us; this removes an arbitrary limit. + (search_magic_path): Rewrite of magic_searchpath_decoder. Return + 0 or the expanded file name, instead of just zero or one. + Allocate the space for the expanded file name ourselves, instead + of writing into a fixed-size buffer passed to us; this means that + our callers do not impose an arbitrary limit on file name length. + (get_system_app): Changed to work with search_magic_path. + (get_user_app): Rewritten to work with search_magic_path, and not + to assume that the values of XAPPLRESDIR is a single directory. + (get_user_db): Properly use the new version of gethomedir. + (get_environ_db): Remove arbitrary limit on length of host name. + (x_load_resources): Take a new argument, myname. Call get_user_db + early to obtain the customization string. + Changes to stand-alone testing code. + * xfns.c (Fx_open_connection): Set Vxrdb_name early, and pass it + to x_load_resources. + + * keymap.c (syms_of_keymap): Doc fix. + +1993-07-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (wait_reading_process_input): If wait_for_cell, do call + swallow_events and do_pending_window_change when appropriate. + +1993-07-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * editfns.c (region_limit): Declare Vmark_even_if_inactive. + + * callint.c (syms_of_callint): + Fix DEFVAR_LISP for Vmark_even_if_inactive to use right + Lisp symbol name (without V prepended). + +1993-07-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * callint.c (check_mark): Don't check mark-active unless in + transient-mark-mode. + For inactive mark, signal mark-inactive instead of error with a + message. + * editfns.c (region_limit): Don't error if Vmark_even_if_inactive + is set. + When the mark is inactive and that is a no-no, signal + mark-inactive instead of using error with a message. + * data.c (syms_of_data): Staticpro Qmark_inactive. + * data.c: Define Qmark_inactive. + (syms_of_data): Initialize it. + * lisp.h: Declare Qmark_inactive. + +1993-07-07 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * editfns.c (Fformat): Since floats occupy two elements in the + argument list passed to doprnt, we must use separate indices for + the array of arguments passed to Fformat, and the array of + arguments to be passed to doprnt. + + * .gdbinit: Add size to geometry spec. + Specify sevenbit-strings in set print. + (xfloat): New command. + +1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.16 released. + + * ymakefile [not ORDINARY_LINK && __GNUC__ && __GNUC__ > 1 && not + LIB_GCC] (LIB_GCC): Use "$(CC)" instead of "gcc". + +1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * textprop.c (copy_text_properties): Pass a copy of POS to + validate_interval_range; that function increments its arguments, + which isn't what we want. + + * fns.c (Fsubstring, concat): Pass all six arguments to + copy_text_properties. + + * intervals.c (find_interval): Doc fixes, computation of + tree->position rearranged for clarity. + + * intervals.c (find_interval): Consistently treat POSITION as an + actual buffer position, i.e. origin 1. The old code seemed + undecided on this point. Treat the end of the buffer as being + part of the rightmost interval. + (adjust_intervals_for_insertion): Consistently treat POSITION as + origin 1. + (interval_deletion_adjustment): The exception: FROM should be + origin zero here. Consistently treat it as such. Simplify code + which shrinks and possibly deletes intervals. + (adjust_intervals_for_deletion): Treat start as origin 1; our + caller does. + (set_point): Use buffer positions throughout, not a mix of buffer + posns and origin zero posns. + (get_local_map): Remove special case for POSITION at end of buffer; + find_interval handles that case correctly. + (verify_interval_modification): Remove special case for START at + end of buffer. + * textprop.c (validate_interval_range): End-of-buffer/string + positions no longer need special handling. + + * intervals.c (make_new_interval): #if 0 this out. Nobody calls it. + + * textprop.c (copy_text_properties): New function, from David + Gillespie. + * intervals.h: Declare copy_text_properties. + * fns.c: #include "intervals.h". + (Fsubstring): Copy text properties to result string. + (concat): Copy text properties to result string. + * ymakefile (fns.o): Note that this depends on INTERVAL_SRC. + + * print.c: Get rid of extra space at the end of print syntax for + strings with intervals. + [USE_TEXT_PROPERTIES] (print): Don't print a space before the + interval property lists. + [USE_TEXT_PROPERTIES] (print_interval): Print a space before this + internal's properties, not after. + + * m/pmax.h (C_SWITCH_X_MACHINE): Set this to + "-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header + files. + * ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the + oldXMenu make. + + * doc.c (Fsubstitute_command_keys): Pass all five arguments to + describe_map_tree. + +1993-07-05 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + Compare the values of text properties using EQ, not Fequal. + * intervals.c (intervals_equal): Call EQ, not Fequal. + * textprop.c (interval_has_all_properties, add_properties): Same. + + * textprop.c (validate_interval_range): Don't increment both + *begin and *end if they point to the same thing. + (validate_plist): Call QUIT while scanning LIST. + + * intervals.c (intervals_equal): Test the return value of Fequal + against Qnil, not 0. + + * keyboard.c (Vdouble_click_time): Renamed from double_click_time, + and made a Lisp_Object instead of an int. + (make_lispy_event): If Vdouble_click_time is t, impose no time + limit on double-clicks. + (syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT) + Vdouble_click_time (not double_click_time), and adjust doc string + to say that `nil' means no double clicks, and `t' means no time + limit. + +1993-07-04 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New + accessors. + + * s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's + only needed for misconfigured systems. + +1993-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (describe_map_tree): When inserting TITLE, mention PREFIX. + Insert newline at end, if inserted anything else. + (describe_buffer_bindings): Corresponding changes. + For minor mode maps, build up a title string, + then let describe_map_tree insert it. + + * eval.c (Fsignal): Clarify error message. + +1993-07-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_char): After Fgarbage_collect, call redisplay. + +1993-07-03 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * frame.c (Fredirect_frame_focus): Allow redirection of focus of + dead frames. + + * s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get the + versions of gethostbyname and such that use the DNS. + +1993-07-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * fileio.c (Frename_file): + After prompting for ok-if-already-exists, pass only nil or + t to copy-file, never an integer. + +1993-07-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (Faccessible_keymaps): Doc fix. + +1993-07-02 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * textprop.c (set_properties): Don't try to make undo records if + OBJECT is a string. + +1993-07-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_key_sequence): When inserting `menu-bar' prefix, + modify the position field to prevent doing so twice. + Do all these forms of event expansion after replayed events also. + Set last_real_key_start before each key. + Use last_real_key_start in criterion for being the first event. + + * process.c (wait_reading_process_input): Do include the keyboard + in the select, if read_kbd was a cons cell. + +1993-07-01 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): When handing non-synthetic + ConfigureNotify events, don't refer to the parent window + descriptor. + + * textprop.c (set_properties): Add undo records to remove entirely + new properties. Only record old property values for those + properties whose values have changed. + +1993-07-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * callint.c (Vmark_even_if_inactive): New var, with Lisp variable. + (check_mark): Use it. + +1993-07-01 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #including + , so that file doesn't try to define struct timeval and + struct timezone. + + * xterm.c (frame_highlight, frame_unhighlight): Don't test + Vx_no_window_manager. BLOCK_INPUT around the border manipulation + calls. + +1993-06-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Initialize event_found to zero, and + pass a zeroed timeout to select, not a null pointer; the latter + means "wait forever". + + * s/hpux8.h (random, srandom): No need to define these to be + foo_random and foo_srandom; autoconf should autodetect when the + real random functions are available. + + * xdisp.c (redisplay): If we're not already showing the region, + then don't disable the single-line optimizations just because the + mark isn't where we last displayed it. + +1993-06-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Doc fix. + (Vhelp_char): Renamed from help_char. + (Vprefix_help_command): New Lisp variable. + (read_key_sequence): Use that, for help char after prefix key. + + * keyboard.c (kbd_buffer_get_event): + Clear f before calling mouse_position_hook. + + * emacs.c, callproc.c (PRIO_PROCESS): Definition deleted. + + * vm-limit.c (check_memory_limits): Make data_size and five_percent + unsigned long. + +1993-06-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (kbd_buffer_get_event): Correctly generate + switch-frame events when reading mouse motion events. + +1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xterm.c: Add CPP tangle from process.c to get definitions for + FD_SET, etcetera. + (XTread_socket): Use those macros when testing for dropped connection. + +1993-06-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * alloc.c (mark_object): Add aborts in Lisp_Symbol case. + + * keymap.c (describe_map_tree): Insert key_heading here. + New arg TITLE. + (describe_buffer_bindings): Corresponding changes. + + * process.c (wait_reading_process_input): Use SIGIO only if defined. + + * keymap.c (shadow_lookup): New function. + (describe_map_2): Call it. SHADOW is now a list of maps. + (describe_vector): Likewise. + (describe_map): SHADOW is now a list of maps. + (describe_map_tree): Likewise. + (describe_buffer_bindings): Build suitable list to pass as SHADOW. + (Faccessible_keymaps): New arg PREFIX. Callers changed. + (describe_map_tree): New arg PREFIX. + (Fdescribe_bindings): New arg PREFIX. + Pass to describe_buffer_bindings along with buffer. + (describe_buffer_bindings): Extract PREFIX and pass along. + +1993-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (describe_map_2): Cleanups. + Check there's no previous definition in same keymap. + +1993-06-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (read_char): Don't do idle autosaves if we're not + interactive. + +1993-06-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfns.c (Fx_create_frame): Check for internalBorder resource, as + well as internalBorderWidth. + + * xterm.c (XTread_socket): Remove #if 0''s around code which tests + for dropped connection (i.e. sigio but no events). + +1993-06-22 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * keyboard.c (menu_bar_items, read_key_sequence): Use + current_global_map, not global_map; the latter is only meant to be + used for initial_define_key. + * commands.h: Doc fix. + + * commands.h (Vglobal_mouse_map): Removed; unused. + * xfns.c (Vglobal_mouse_map): Same. + + * buffer.c (list_buffers_1): Make desired_point a lisp object; set + it to nil, unless we find the current buffer. + (Flist_buffers): Don't try to set point in the buffer list unless + list_buffers_1 actually returns an integer. Don't use a full + save_excursion; just save and restore the buffer. + + Separate parameter faces (those created and modified by the user) + from the computed faces (the combinations created by + compute_char_face), so that we don't waste global face id's. + * xterm.h (struct x_display): Replace the fields faces and n_faces + with fields param_faces, n_param_faces, computed_faces, + n_computed_faces, and size_computed_faces. + (FRAME_FACES, FRAME_N_FACES): Replaced by... + (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES, + FRAME_N_PARAM_FACES): New macros. + * xfaces.c: Doc fixes. + (init_frame_faces): Call new_computed_face to create entries for + the default and mode line faces. Use the FRAME...PARAM_FACES + macros. + (free_frame_faces): Use the FRAME...PARAM_FACES and + FRAME...COMPUTED_FACES macros. Don't use the copy flag; all + parameter faces have real X resources, and all computed faces just + have copies. Free both the parameter and computed face arrays. + (new_computed_face): New function. + (intern_computed_face): Renamed from intern_frame_face; callers + changed. Call new_computed_face. + (ensure_face_ready, compute_char_face, compute_glyph_face): Use the + FRAME...PARAM_FACES macros. + (recompute_basic_faces): Use the FRAME...PARAM_FACES and + FRAME...COMPUTED_FACES macros. Produce the computed faces by + starting with the base faces and merging in the parameter faces. + (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES + macros. Just call recompute_basic_faces if the default or mode + line faces have changed. + * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros. + * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros. + * dispextern.h (struct face): Remove the copy member. This is no + longer necessary; all computed faces are copies, and no parameter + faces are. + + * xfaces.c (face_vector, nfaces, nfaces_allocated): Make these + static. + + * xdisp.c (redisplay_window): Remember to compute end relative to + the start of the visible region, too. + +1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xrdb.c (get_user_db): Remember to free the screen-local resource + string after we've merged its data into db. + + * keyboard.c (make_lispy_event): Added detection of double-click + and triple-click events. + (parse_modifiers_uncached, apply_modifiers_uncached): Same. + (read_key_sequence): Coerce double-clicks to clicks, and triple-clicks + to double-clicks or clicks, by analogy with drag events. + (double_click_time): Added variable. + * termhooks.h: Added multi-click event modifier bits. + +1993-06-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * textprop.c (Fremove_text_properties, Fadd_text_properties): + Really do next_interval when skipping the first interval. + +1993-06-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfns.c (Fx_open_connection): Remember to block input while + calling x_load_resources. + * xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem, + not a server-specific bug. + + * alloc.c (Fgarbage_collect): If the minibuffer is active, don't + display the "...done" message; allow the minibuffer to show again. + + * config.h.in (HAVE_LONG_FILE_NAMES): Add an #undef, for autoconf + to chew on. Re-arrange macros to reflect the ordering of the + corresponding macros in configure.in, to facilitate this kind of + checking. + +1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * version 19.15 released. + +1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * puresize.h (PURESIZE): Up this to 205000 for MULTI_FRAME Emaces, + and 190000 for non-MULTI_FRAME Emaces. + + * xfaces.c (recompute_basic_faces): This shouldn't be declared static. + + * xrdb.c (get_user_db): Some NCD xterms seem to hang in + XScreenResourceString. Consult the ServerVendor and VendorRelease + variables to see if we're talking to such a server. + + * xterm.c (XTread_socket): Never treat a modifier key as a + non_ascii_keystroke. + + * emacs.c (Fkill_emacs): Pass third argument to shut_down_emacs. + * lisp.h (shut_down_emacs): Doc fix. + +1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * frame.c (Fmake_frame_visible): Make this interactively callable; + frames can accept input while iconified, so it makes sense to put + this on a key. + + * xfaces.c: Add forward declaration for recompute_basic_faces. + + * fileio.c (Fset_visited_file_modtime): We're only passing two + arguments to the file name handler; use call2, not call3. + + Changes for Irix 4.0, tested this time: + * s/irix4-0.h: Get rid of our fake definitions for setpgrp and + getpgrp. + * callproc.c (Fcall_process): Go ahead and use the USG calling + convention for setpgrp. + * ymakefile (pre-crt0.o): Add rule for this. Perhaps it will help + separate-source-directory compilation. + * emacs.c (shut_down_emacs): Some USG systems #define + EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems. + * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and + non-USG. + + * sysdep.c (rename): Make arguments const. autoconf #defines + const away on systems which don't have it; any system with + prototypes will declare the arguments const (the ones to which I + have access do); and systems without prototypes won't notice. + + * process.c [IRIX] (create_process): Don't put child in process + group zero before opening the tty; Irix is like USG in this + regard. + + * s/isc2-2.h, s/linux.h, s/usg5-4.h, m/alliant-2800.h, m/convex.h, + m/pfa50.h: Remove #definition of HAVE_CLOSEDIR; autoconf figures + this out. + + * xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem to + be missing on some systems, and there's no point in having + configure check; it should work fine to always use our copy. + + * minibuf.c (Fread_minibuffer): Add missing semicolon after + CHECK_STRING macro. + +1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.14 released. + +1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We are + now calling the BSD[sg]etpgrp functions directly, so this library + is not needed; it just provides the BSD[sg]etpgrp functions under + the [sg]etpgrp names. + + * callproc.c [IRIX] (child_setup): Don't call setpgrp this time. + It's already been called up in Fcall_process, and create_process. + + * callproc.c (Fcall_process, child_setup): If IRIX is #defined, + call setpgrp with arguments, even if USG is #defined. + * process.c [IRIX] (create_process): Don't call setpgrp before + opening the pty. Call it after doing the TIOCNOTTY ioctl. + + * xfaces.c (compute_base_face): Initialize the face's stipple. + Although we don't use this feature now, face_eql notices it. + + * xfaces.c (compute_base_face): Set cached_index to an invalid + index, to avoid an unnecessary comparison. + + * keyboard.c (read_key_sequence): Don't confuse mock input with + function-key-map expansion, and continue reading mock events when + the current sequence is unbound. + + * keyboard.c (read_key_sequence): After providing a prefix symbol + for a mouse event, modify the mouse event to indicate that that + won't need to be done again, by putting the event's position + symbol in a list. + + * keyboard.c (read_key_sequence): When returning mock input which + has run off the end of the current maps, make sure the events get + echoed, and make it into this-command-keys. + + * keyboard.c (read_key_sequence): When re-reading a previously + read mouse click which requires a prefix symbol, make sure to set + last_real_key_start appropriately, so we can properly drop + button-down events. + +1993-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (really-oldXMenu): Pass C_SWITCH_MACHINE down. + + * intervals.c (verify_interval_modification): Don't just test + Qread_only prop; use INTERVAL_WRITABLE_P. + + * syntax.c (scan_lists, Fforward_comment): #if 0 the code + to treat two-character comment enders with a special shortcut. + +1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to + change. + * sysdep.c (closedir): Only define this if autoconf can't find + HAVE_CLOSEDIR. If we're running under solaris (defined (sun) && + defined (USG5_4)), then don't free the buffer separately. + + * keyboard.c (read_key_sequence): If we add events to a key + sequence that didn't come from the input stream (e.g. `mode-line' + prefixing a mouse click, or an expansion from function-key-map), + and end up with a sequence that runs off the end of the current + maps, return the entire key sequence, not just the initial portion + which was bound or unbound. + + * xdisp.c (redisplay_window): Do not subtract one from start + before passing it to the set_vertical_scroll_bar_hook. + + * lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, + CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, + CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, + CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT, + CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do + ... while (0) around these compound statements to make them + syntactically equivalent to a single statement. + +1993-06-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * editfns.c (Finsert_buffer_substring): Doc fix. + +1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + Don't let the 'B' interactive spec default to buffers viewed in + any visible frame. + * buffer.c (Fother_buffer): Pass Qt as the second argument + to Fget_buffer_window. + * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore + non-visible frames. + (Fget_buffer_window): Change doc string to mention that passing Qt + for the FRAME argument returns windows on visible frames only. + + Changes for correct pgrp behavior; approach suggested by Bob + Glickstein : + * m/iris4d.h (LIB_STANDARD): Do list -lbsd here. + * s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp + and BSDsetpgrp. + (GETPGRP_NO_ARG): Don't #define this. + * emacs.c (main): Don't test GETPGRP_NO_ARG. + * sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG. + + * Makefile.in (CPP): New variable, set by the top-level Makefile. + + * m/delta88k.h (HAVE_GETTIMEOFDAY): Don't #define this; autoconf + takes care of that. + (LIBS_SYSTEM): Don't attempt to #define this if we already have a + definition of LIB_SYSTEM from s/usg5-4.h. + + * unexec.c [HPUX] (sbrk): This returns a void *. + + * window.c (check_frame_size): Allow minibuffer-only frames to be + one line high. + + * frame.c (store_frame_param): Fix error message punctuation. + + * callproc.c [IRIX] (child_setup): Don't set the pgroup. + + * s/isc3-0.h (memmove): #define this to call safe_bcopy. + + * buffer.c (list_buffers_1): Return the desired point. + (Flist_buffers): Put point there in the buffer summary. + + Bring mumbleclean targets into conformance with GNU coding standards. + * Makefile.in (mostlyclean): New target. + (clean): Just call mostlyclean. Get rid of ../etc/DOC too. + (distclean): Use clean to do most of the work. + Get rid of ../etc/DOC-* too. + (realclean): New target. + + * xdisp.c (redisplay_window): Do not subtract BEGV to compute + the scroll bar handle's end. + +1993-06-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show): Store 0 in *ERROR at the beginning. + + * fileio.c (Finsert_file_contents): Two new args, BEG and END. + + * intervals.c (adjust_intervals_for_insertion): By default, copy + properties from before the insertion. + +1993-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syntax.c (scan_sexps_forward): Set state.comstart to before the + comment starter, not after. + + * xmenu.c (Fx_popup_menu): Call keymap_panes right in one-keymap case. + +1993-06-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc, + and #define the latter. + + * xdisp.c (display_text_line): Use temporary variable. + +1993-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fdelete_window): Handle deleting a parent of the + selected window. + +1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (Fset_visited_file_modtime): Don't give the handler + the filename as an argument. + + * syntax.c (scan_lists, Fforward_comment): Pass 0 as commentstop arg + to scan_sexps_forward. + (scan_sexps_forward, char_quoted): Now static. + (describe_syntax, describe_syntax_1): Now static. + + * undo.c (Fprimitive_undo): Rename arg to N to avoid conflict. + + * window.c (Fdelete_window): Mostly undo last change. + Don't initialize `frame' in the declaration. + + * Make prefix keys work with keymap inheritance + by creating an inheritance structure for each subkeymap + that we create in the inheriting keymap. + * keymap.c (access_keymap): New arg NOINHERIT. All calls changed. + (define_as_prefix): New function. + (Fdefine_key): Use them. + +1993-06-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (shut_down_emacs): New arg STUFF. Stuff input here. + (Fkill_emacs, fatal_error_signal): Pass new arg. + * xterm.c (x_connection_closed): Pass new arg. + + * dired.c (Ffile_attributes): Give -1 as size if size won't fit. + + * intervals.c (set_point): When moving over invis chars, + don't screw up at end of buffer. + + * eval.c (call5, call6): New functions. + (call1, call2, call3, call4): Renumber the args. + * lread.c (Fload): Use call5. + * fileio.c (Fcopy_file): Pass all the args to the handler. + (Fwrite_region): Use call6. + (Frename_file): Look for handler for newname. + (Fadd_name_to_file): Pass arg ok_if_already_exists to handler. + (Fmake_symbolic_link): Likewise. + (Ffile_newer_than_file_p): Check both file names for handler. + +1993-06-12 John Hughes (john@moonlite.CalvaCom.fr) + + * term.c (term_get_fkeys): Use `prior', not `previous', for %8/kP. + +1993-06-12 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * sysdep.c (child_setup_tty): Remove duplicate settings for VQUIT + and VINTR. + + * sysdep.c [ultrix] (init_sys_modes): Don't set LLITOUT; it + disables the meta key. + + * frame.c (Fmouse_position, Fset_mouse_position): Doc fix. + + * xfns.c [! HAVE_X11R5] (Fx_rebind_key): Recognize that + XK_Mode_switch and XK_Num_Lock are modifier keysyms too. + + * xterm.c (XTset_vertical_scroll_bar): Use double type for + intermediate results in scaling. + +1993-06-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * undo.c (syms_of_undo): Set up Qinhibit_read_only. + (Fprimitive_undo): Sometimes bind inhibit-read-only to t. + + * minibuf.c (read_minibuf): Set and use mini_frame only if MULTI_FRAME. + + * xdisp.c (echo_area_display): Use XFASTINT on ->height. + (copy_rope, copy_part_of_rope): Access *f as Lisp_Object. + + * window.c (Fdelete_window): Make `frame' a FRAME_PTR and use as such. + + * undo.c (record_delete): Always use XFASTINT on sbeg. + (Fprimitive_undo): Add missing `else'. Add USE_TEXT_PROPERTIES + conditional for calling Fput_text_property. Use XINT on high, low. + + * process.c (start_process_unwind): Use XINT. + + * syntax.c (Fset_syntax_table): Add XFASTINT. + +1993-06-12 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xterm.c (x_error_quitter, x_io_error_quitter): Remove calls to + abort. We can always run Emacs with _Xdebug set to 1. + + * ymakefile (really-oldXMenu): Remember backslash to extend command. + + * keyboard.c (read_key_sequence): When we generate a prefix symbol + for a mouse event, store the actual mouse event in + unread_command_events, so we don't lose it if the symbol isn't + bound to a prefix. + + * config.h.in (HAVE_XRMSETDATABASE, HAVE_RANDOM, HAVE_LIBXBSD): + Add #undefs for these. + Dyke out code requesting -lXbsd and HAVE_RANDOM for XFREE386. + * xfns.c (Fx_open_connection): Test HAVE_XRMSETDATABASE instead of + NO_XRM_SET_DATABASE; the latter isn't used any more. + * m/delta88k, m/tekXD88.h, s/linux.h, s/usg5-4-2.h (HAVE_RANDOM): + Dyke out these #definitions; to avoid conflict with autoconf. + + * ymakefile (really-oldXMenu): Explicitly pass CC, CFLAGS, and + MAKE to the oldXMenu make. + + * window.c (Fprevious_window): Use FRAME_HAS_MINIBUF_P to decide + if the frame has a minibuffer; FRAME_MINIBUF_WINDOW points to the + surrogate on minibufferless frames, not nil. + +1993-06-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (read_char): Set c properly as a Lisp int. + (command_loop_1): Delete spurious use of XINT on c, a char. + + * frame.c: Doc fixes. + + * data.c (cons_to_long): Declare top, bot as Lisp_Object. + + * floatfns.c (Fexpt): New local `val' for making integer to return. + + * keymap.c (Fcopy_keymap): Check Fkeymapp value with NILP. + (get_keymap_1): Add missing semicolon. + (describe_vector_princ): Align to column 16. + + * emacs.c (main) [GETPGRP_NO_ARG]: Really pass no arg to getpgrp. + +1993-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTmouse_position): Don't set *f at all unless we win. + + * process.c (read_process_output): Don't deactivate the mark. + Do restore Vdeactivate_mark, so that no one else deactivates it. + + * buffer.c (Fgenerate_new_buffer_name): GENTEMP is the value to + compare against IGNORE. + +1993-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + Interact properly with shells lacking job control (sh, rc, es...) + * sysdep.c [BSD] (inherited_pgroup): New variable. + (narrow_foreground_group, widen_foreground_group): New functions. + (init_sys_modes): Call narrow_foreground_group. + (reset_sys_modes): Call widen_foreground_group. + * emacs.c [BSD] (inherited_pgroup): Add extern declaration. + [BSD] (main): Set inherited_pgroup, and put ourselves in our own + pgroup. + +1993-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (syms_of_xfns): Don't set up Qicon. + (Qicon): Declaration deleted. + * frame.h (Qicon): Declared. + + * frame.c (Fmouse_position): Set up defaults before calling the hook. + +1993-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xdisp.c (redisplay_window): Don't call try_window_id if the + window isn't starting at the beginning of the line. + + * window.c (Fprevious_window): Typo. + +1993-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile (alloca.o): Delete allocatem.c, not allocax.c. + + * textprop.c (Fset_text_properties): No special case for props = nil. + + * xfns.c (Fx_list_fonts): If names is 0, just return nil. + +1993-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xterm.c (x_new_font): If font_names is zero, that's all the + indication we get that no matches were found. + + * s/isc3-0.h (LIB_X11_LIB): #undef this, to remove the value + inherited from usg5-3.h; ISC doesn't have libX11_s. + (LIBX11_SYSTEM): Link against the static -lc, not -lc_s. + +1993-06-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lread.c (Fload): Forward all 4 args to magic-name handler. + +1993-06-10 Shane Hartman (shane@nugget.spr.com) + + * window.c (Fscroll_left): Make argument optional. + (Fscroll_right): Ditto. + +1993-06-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * search.c (Flooking_at, Fstring_match, fast_string_match, + search_buffer): Don't block input while calling searching and + matching functions. These functions may not call malloc under + Emacs anyway, and we need to be able to check for C-g. + + * xrdb.c (get_user_db): Get the screen-specific database too. + + * syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forward + with the proper number of arguments. + + * sysdep.c: Remove clause for DGUX support of FASYNC; add clause + to #undef FASYNC if BROKEN_FASYNC is #defined. + + * filelock.c: Test HAVE_LONG_FILE_NAMES, not SHORT_FILE_NAMES, to + interface nicely with autoconf. + * m/delta.h: Don't #define SHORT_FILE_NAMES; autoconf does this + for us. + + * s/dgux.h: Changes from Paul M Reilly : + (BSD4_4, SVR4, HAVE_SETSID, HAVE_UNIX_DOMAIN): #define these. + (FIRST_PTY_LETTER): This is 'r', not 'p'. + (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Don't #define these. + (HAVE_TERMIOS): #define these instead. + (XREBINDKEYSYM): Don't #define. + Test THIS_IS_YMAKEFILE instead of MAKING_MAKEFILE. + (sigmask, sigpause): #undef these after #including . + (LD_SWITCH_SYSTEM, START_FILES, LIBS_SYSTEM, LIB_GCC): #define + these to avoid problems with /lib/crt0.o. + (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): #define these. + + * s/dgux.h (BROKEN_FASYNC): #define this. + + * fileio.c (Frename_file): Pass all arguments to the file name handler. + * eval.c (call4): New function. + +1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * s/linux.h (SIGNALS_VIA_CHARACTERS): Don't #define this. + + * process.c (sigchld_handler): Add cast, to avoid warnings on Linux. + (Fopen_network_stream): Cast the second argument to connect, to + avoid warnings on any system that provides prototypes for connect. + + * xdisp.c (display_text_line): Handle case where line ends in a + continuation character but we never actually displayed any buffer + text (due to minibuffer prompt). + + * xterm.c (x_is_vendor_fkey): New function. + (XTread_socket): Call it to recognize vendor-specific function keys. + + * s/dgux.h: Move #definition of SYSTEM_MALLOC outside of + MAKING_MAKEFILE conditional. No harm. + + * xfaces.c (init_frame_faces): Remove assumption that the selected + frame must be an X frame whenever there is already an X frame. + +1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * alloc.c (emacs_blocked_malloc, emacs_blocked_realloc): Cast the + return values of malloc and realloc, to placate compilers. + +1993-06-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fprevious_window): When changing frames, + use the new frame's minibuffer if any. + + * intervals.h (INTERVAL_WRITABLE_P): Fix backwards tests. + + * m/tekXD88.h: Rewrite by author. + +1993-06-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Version 19.13 released. + + * ymakefile (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): Remove these; + people shouldn't edit this file to choose optimization and + debugging switches anyway. ../configure will set CFLAGS to an + appropriate default, which they will be able to override. + * Makefile.in (xmakefile): Don't try to turn -g and -O in + CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH. CFLAGS should + be the sole source of such switches, so that setting CFLAGS + controls them completely. + +1993-06-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * config.h.in (HAVE_LIBDNET): New macro, to be defined by + ../configure. + * m/pmax.h (LIBS_MACHINE): Only put "-ldnet" here if HAVE_LIBDNET + is #defined. + +1993-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (syms_of_fileio): Set up Qset_visited_file_modtime. + (Fset_visited_file_modtime): Use the proper operation. + + * sysdep.c (init_baud_rate) [HAVE_TERMIOS]: Use cfgetospeed. + + * systty.h: Add NO_TERMIO conditional. + + * textprop.c (Fadd_text_properties): Don't treat the initial + interval specially, aside from splitting off the part starting + where we want to start changing things. + (Fremove_text_properties): Likewise. + For ending interval, split it left as in Fadd_text_properties. + (Fset_text_properties): Don't set starting interval if it goes + past END. Instead, split it left and set the left part. + + * keymap.c (Fdescribe_vector): Use current buf, not standard-output. + (describe_vector_princ): Add newline at end. + + * keymap.c (store_in_keymap, access_keymap): Use CHAR_META + when clearing excess high bits. + + * s/dgux.h (INTERRUPTIBLE_*): Fix spelling of macros. + + * s/hpux9.h (SYSTEM_MALLOC, GNU_MALLOC, REL_ALLOC): Definition and + #undefs deleted. + + * keymap.c: Doc fix. + + * buffer.c (Fdelete_overlay): Do nothing if overlay already deleted. + Bind inhibit-quit to t. + (Fmove_overlay): Properly handle changing buffers, or no prev buffer. + Bind inhibit-quit to t. + + * lread.c (syms_of_lread): Set up Qload. + (Fload): Handle magic file names. + +1993-06-07 Shane Hartman (shane@nugget.spr.com) + + * xterm.c (x_caught_error_message): Change type to char* from char*[]. + (X_CAUGHT_ERROR_MESSAGE_SIZE): New macro. + (x_error_catcher): Corresponding changes. + (x_catch_errors): Corresponding changes. + (x_check_errors): Do not free x_caught_error_message. + (x_uncatch_errors): Set x_caught_error_message to 0 after freeing it. + +1993-06-06 Paul Eggert (eggert@twinsun.com) + + * uaf.h (uaf$v_thursday): Fix misspelling of "thursday". + + * floatfns.c (Fceiling): Fix spelling of "ceiling". + +1993-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * ymakefile [__GNUC__ >= 2] (LIB_GCC): Delete spurious -L. + + * m/tekXD88.h (HAVE_RENAME): Deleted. + + * data.c (Ffset): Delete special check for t and nil. + + * xfaces.c (same_size_fonts): Compare only the width. + + * dispnew.c: Include lisp.h earlier (before termhooks.h). + + * editfns.c (Fcurrent_time_zone): Add alternative for !HAVE_TM_ZONE. + * systime.h [HAVE_TZNAME]: Declare tzname if not macro. + * config.h.in (HAVE_TZNAME): Add #undef. + +1993-06-06 Nobuyuki Hikichi (hikichi@sra.co.jp) + + * m/news-risc.h (NO_MODE_T): Defined. + (LINKER): Add #undef. + +1993-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (access_keymap, store_in_keymap): Discard meaningless + high bits of a character event. + +1993-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lisp.h: Don't declare malloc or realloc. + + * xfns.c [EMACS_BIT_MAPS]: Include gray.xbm from ./bitmaps. + + * xterm.c (x_new_font): Don't give up right away if XListFontsWithInfo + finds no fonts--try XLoadQueryFont anyway. + + * xfns.c (Fx_open_connection): Make `data' unsigned char. + + * window.c (Fset_window_configuration): If a window is supposed + to have a buffer, always give it one. + + * xmenu.c (Fx_popup_menu): Error if we don't get a window + or a frame somehow. + + * puresize.h: Test MULTI_FRAME, not HAVE_X_WINDOWS. + + * frame.c (Frubber_band_rectangle): Deleted. + (syms_of_frame): Don't defsubr it. + + * xselect.c (x_get_foreign_selection): Handle x_selection_timeout + as milliseconds, not as seconds. + (syms_of_xselect): Doc fix to match. + + * m/mips4.h (MIPS2): Comment out define. + (LIB_STANDARD): Delete -lisode. + +1993-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syssignal.h [POSIX] [!__GNUC__] (sys_sigmask): Add declaration. + + * alloc.c (make_event_array): Ignore bits above CHAR_META. + + * frame.c [!MULTI_FRAME] (Fframep): New dummy definition. + (syms_of_frame): Defsubr that. + + * buffer.c (syms_of_buffer): Set up Lisp var inhibit-read-only. + * lisp.h (Vinhibit_read_only): Declared. + * buffer.c (Fbarf_if_buffer_read_only): Check Vinhibit_read_only. + * cmds.c (Fnewline): Use Fbarf_if_buffer_read_only. + + * intervals.h (INTERVAL_VISIBLE_P): Use textget. + (INTERVAL_WRITABLE_P): Use textget. + Check Vinhibit_read_only. + + * window.c (syms_of_window): Always defvar pop-up-frames + and pop-up-frame-function. + + * process.c (read_process_output): Deactivate the mark. + Save and restore Vdeactivate_mark. + + * xfns.c (x_set_menu_bar_lines_1): Adjust just the uppermost child + in a vertical split. Adjust the hight counter to the top. + (x_set_menu_bar_lines): Don't change overall frame height. + +1993-06-04 Francesco Potorti` (pot@cnuce.cnr.it) + + * filelock.c (MAKE_LOCK_PATH): If SHORT_FILE_NAMES allocates + different space and calls fill_in_lock_short_file_name. + (fill_in_lock_short_file_name): New function for 14-chars hashed + file names. Replaces fill_in_lock_file_name if SHORT_FILE_NAMES. + +1993-06-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (wait_for_termination): Fix sigpause in POSIX_SIGNALS case. + + * xterm.c (x_catch_errors): Fill in missing array size in cast. + + * Makefile.in (xmakefile): Depend on ../config.status. + + * buffer.c (init_buffer): Init default-directory of minibuffer. + + * m/iris4d.h (LIB_STANDARD): Delete -lbsd. + + * keyboard.c (read_key_sequence): Reset fkey_map when we find + something at the end of Vfunction_key_map. + + * m/ibmrt-aix.h (HAVE_FTIME): Defined. + + * emacs.c (syms_of_emacs): Doc fix. + + * keyboard.c (read_char_menu_prompt): Now static. Add declaration. + + * dispnew.c (Fredraw_display): Redraw all visible frames. + (redraw_garbaged_frames): New function. + * xdisp.c (redisplay, echo_area_display): Use redraw_garbaged_frames. + + * dispnew.c (do_pending_window_change): No need to clear + FRAME_NEW_HEIGHT/WIDTH. Do test width != 0. + + * xterm.c (x_wm_set_size_hint): Handle XGetNormalHints returning 0. + + * xfns.c (x_set_frame_parameters): Process all parms in reverse order. + + * frame.h (FRAME_MINIBUF_WINDOW): Use minibuffer_window. + +1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * sysdep.c (init_sys_modes): Disable VLNEXT char. + Also VWERASE, VREPRINT, VDISCARD. + + * xfaces.c: Test XOS_NEEDS_TIME_H, not HPUX, for including time.h. + * s/sol2.h, s/hpux.h (XOS_NEEDS_TIME_H): Defined. + +1993-06-02 Francesco Potorti` (pot@cnuce.cnr.it) + + * ymakefile (alloca.o): Use temp names allocax.o, allocax.s + + * m/delta.h (MOTOROLA_DELTA): Defined. + (HAVE_SYSVIPC, BAT68K, BAT_ALLOCA): Deleted--obsolete. + (STACK_DIRECTION, HAVE_X_WINDOWS): Deleted--configure knows. + (C_SWITCH_MACHINE): Set to -ga if using the Green Hills compiler. + (LIB_STANDARD, LIB_MATH): Defined to the 68881 versions. + (LIBS_SYSTEM): -lbsd brings sigblock and sigsetmask. + (sigsetmask): Undefined--it is in -lbsd. + (LDAV_SYMBOL): Undefined--we have no such thing. + (KERNEL_FILE): Defined to "/sysV68". + (BSTRING, HAVE_SELECT, HAVE_UNISTD_H, HAVE_TIMEVAL): Defined. + (SIGNALS_VIA_CHARACTERS): Defined. + (memmove): Defined as memcpy--we have no memmove. + (SIGIO, INTERRUPT_INPUT): Undefined--not yet tested. + (SHORT_FILE_NAMES, CLASH_DETECTION): Defined. + +1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.12 released. + + * term.c (term_get_fkeys): Use correct names for F10 and up. + Use the key sequence, not the termcap cap name, in Fdefine_key. + + * intervals.c (copy_intervals): Don't adjust total_length at the end. + Set lengths of subintervals properly. + (balance_intervals): Balance left as well as right. + +1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keymap.c (syms_of_keymap): Add missing 2nd arg to Fcons. + +1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * x/esix5-4.h: Redone by Joe Kelsey. + + * xterm.c (x_new_font): Take out last change. + + * s/386bsd.h (BSD4_2): Defined. + + * fileio.c (Fwrite_region): Don't fsync if autosaving. + + * s/irix4-0.h (GETPGRP_NO_ARG): Defined. + * emacs.c (shut_down_emacs): Handle GETPGRP_NO_ARG. + * sysdep.c (sys_suspend): Handle GETPGRP_NO_ARG. + + * fileio.c [HPUX9]: Don't include errnet.h. + + * hftctl.c (hft_alrm): Don't return a value. + Always declare to return void. + + * floatfns.c [!FLOAT_CHECK_ERRNO] (IN_FLOAT): New definition. + (Flog): Fix argument of `log'. + + * m/pmax.h (KERNEL_FILE): New override definition. + + * keyboard.c (read_key_sequence) [!USE_TEXT_PROPERTIES]: Fix typo. + (menu_bar_items) [!USE_TEXT_PROPERTIES]: Likewise. + + * s/isc3-0.h: #undef C_SWITCH_SYSTEM. + + * xselect.c (Fx_store_cut_buffer_internal): Handle empty string right. + + * xfaces.c (init_frame_faces): Don't look at selected_frame + unless it is an X frame. + + * xfns.c (x_window): Use Vxrdb_name for res_name field. + Delete the shortname stuff. + + * m/pmax.h (LIBS_MACHINE): Defined. + + * Version 19.11 released. + +1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_set_menu_bar_lines): Use FRAME_NEW_HEIGHT and ..._WIDTH. + + * m/sparc.h [__GNUC__ >= 2]: Don't include alloca.h. + + * xterm.c (x_new_font): If XListFontsWithInfo finds nothing, + try to load the font anyway. + + * ymakefile (emacs): Don't run inc-vers if ../lisp is read-only. + (C_SWITCH_SITE_1): New make variable. + (really-oldXMenu): Pass C_SWITCH_X_SITE_1 as C_SWITCH_X_SITE. + Use C_SWITCH_SITE_1 to pass C_SWITCH_SITE. + + * s/386bsd.h: New file. + +1993-05-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fns.c (internal_equal): Don't let ints be equal to floats. + + * print.c (float_to_string): Skip `-' like digits when ensuring + result looks like a float. + + * data.c (Frem): Fix result sign properly. + + * xrdb.c [__bsdi__]: ALternate decls of getpwuid and getpwnam. + + * emacs.c (main) [BSD]: Delete the setpgrp (both times). + + * m/ibmrs6000.h (NLIST_STRUCT): Defined. + + * ymakefile (GETLOADAVG_OBJ): New macro. + (obj): Use that. + + * s/bsd386.h: New file. + + * term.c (term_get_fkeys): If not initialized, init Vfunction_key_map. + + * m/ibmrs6000.h: Delete ! __GNUC__ conditional. + (LD_SWITCH_MACHINE): Defined. + (ORDINARY_LINK): Defined unconditionally. + + * dispnew.c (update_frame): Make preempt_count positive. + Defend against negative baud_rate. + * scroll.c (calculate_scrolling): Defend against negative baud_rate. + + * mem-limits.h [__bsdi__]: Define BSD4_2. + + * xfns.c (x_window): In XSetClassHint, use a shortened version + of the frame name. + + * s/hpux8.h (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname. + + * xterm.c (XTread_socket, case KeyPress) [HPUX]: Test IsModifiedKey. + + * keyboard.c (kbd_buffer_get_event): + Shorten the first MULTI_FRAME conditional. + + * s/usg5-4-2.h (HAVE_VFORK): Deleted. + +1993-05-31 James Clark (jjc@jclark.com) + + * xselect.c (x_reply_selection_request): Call XFlushQueue. + + * window.c (Fset_window_buffer): Set window's force_start to Qnil. + +1993-05-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syntax.c (Fforward_comment): Set point to where scan stops, + thus moving acros whitespace. When moving fwd, treat Sendcomment + as whitespace; likewise for Scomment when moving back. + (scan_sexps_forward): New arg COMMENTSTOP. + (Fparse_partial_sexp): Likewise. + + * xfns.c (Fx_create_frame): Use bitmapIcon, not iconType. + +1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * data.c (float_arith_driver): Detect division by zero in advance. + (arith_driver, Frem): Likewise. + + * xfns.c (Fx_list_fonts): Handle 0 for FRAME_FACES (f) [face_id]->font. + + * print.c (Fwith_output_to_temp_buffer): Doc fix. + + * sysdep.c (wait_for_termination): Delete LINUX conditionals. + + * s/linux.h (HAVE_TCATTR): Deleted. + (BSD): Don't define. + (read, write, open, close): Defined. + (INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Defined. + (C_SWITCH_SYSTEM): Defined. + + * xterm.c: Include systty.h; don't mess with FIONREAD. + Don't include termio.h dorectly. + + * intervals.c (interval_deletion_adjustment): Delete unreachable abort. + + * fns.c (Fyes_or_no_p): Delete unreachable UNGCPRO. + + * keyboard.c (lispy_function_keys): Add `remove' key. + +1993-05-30 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * buffer.c (Fgenerate_new_buffer_name): Doc fix. + +1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (clean): Delete libXMenu11.a. + +1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * m/mips.h (KERNEL_FILE): Set this to "/unix". + * m/mips4.h (MIPS2): Go ahead and define this. + (C_DEBUG_SWITCH): Add -DMips and -g3, and up Olimit to 2000. + +1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (main) [AIX _I386]: Don't handle SIGIOINT. + + * lisp.h (UCHAR): Don't define if _UCHAR_T. + + * m/ibmps2-aix.h (HAVE_GETTIMEOFDAY): Deleted. + (HAVE_SETSID, HAVE_TERMIOS): Defined. + (HAVE_TERMIO): Add #undef. + (SIGNALS_VIA_CHARACTERS): Defined. + (C_DEBUG_SWITCH): Make definition empty. + (LIBS_DEBUG): Defined. + (BROKEN_TIOCGWINSZ, LIB_X11_LIB): Add #undef. + + * sysdep.c (child_setup_tty) [AIX SIGNALS_VIA_CHARACTERS]: Install + something usefull in the VQUIT and VINTR. + (emacs_set_tty): Try only 10 times to call tcsetattr. + Don't use memcmp to test what it did. + + * systty.h [HAVE_TERMIOS _AIX _I386]: Include termios before termio. + + * dispnew.c (buffer_posn_from_coords): Since COL is already + window-relative, don't subtract window_left. + +1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfaces.c (unload_color): Don't #include , + , or . Just write out + "unsigned long" instead of using the "Pixel" typedef; it's in the + protocol, so it's not likely to change. + + * hftctl.c (hft_alrm): Declare and define this to return void, not + int; the AIX #include files have prototypes for it. + + * s/aix3-2.h (LIBS_SYSTEM): Remove -lIM and -liconv from here... + * m/ibmrs6000.h (LIBS_MACHINE): They're already here. Doc fix. + + * Makefile.in (SUBMAKEFLAGS): Remember to propagate MAKE. + +1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/sunos4-1-3.h: Delete the #undef of SYSTEM_MALLOC. + + * systty.h [IRIX4]: Include unistd.h. + + * s/irix4-0.h (IRIX4): Defined. + (IRIS_UTIME): #undef this. + + * xfns.c (Fx_open_connection) [NO_XRM_SET_DATABASE]: + Don't call XrmsSetDatabase. + + * xfaces.c: Fix HPUX conditional syntax. + + * s/hpux8.h (random, srandom): Defined. + + * s/usg5-4-2.h: Don't specify s/ dir in #include. + * s/usg5-4-2.h (PTY_TTY_NAME_SPRINTF): Defined. + (HAVE_SYSV_SIGPAUSE): #undef this. + + * sysdep.c (wait_for_termination): Add POSIX_SIGNALS alternative. + +1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * xfaces.c (init_frame_faces): We have to make sure that face ID's + are valid on all frames or no frames; make sure F has allocated + faces for any face valid on the selected frame. + + * s/hpux9.h: New file; don't use the GNU allocator. Hope we fix + this soon. + +See ChangeLog.3 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/ChangeLog.5 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ChangeLog.5 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,7145 @@ +1995-06-21 Richard Stallman + + * Version 19.29 released. + + * xfns.c (Fx_display_grayscale_p): Return t or nil. + Return t for color displays. + + * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increased to 68000. + + * xdisp.c (decode_mode_spec) [!MULTI_FRAME]: Handle %F properly. + +1995-06-20 Richard Stallman + + * keyboard.c (read_key_sequence): Don't use Vprefix_help_command + for the first character in a key seq. + + * ntinevt.c (map_virt_key): Mark some additional chars as valid ASCII. + + * ntterm.c (ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals. + +1995-06-19 Richard Stallman + + * sysdep.c (rmdir): Fix up Aug 19 1993 change that wasn't done right. + + * ntproc.c (win32_wait): Massage retval into what is expected in Unix. + + * process.c (sigchld_handler): Change XSETFASTINT to XSETINT. + + * keyboard.c (Freset_this_command_lengths): New function. + (before_command_key_count, before_command_echo_length) + (before_command_restore_flag): New variables. + (add_command_key): If requested, reset the lengths. + (command_loop_1): Record current lengths before reading cmd. + (read_char): Update the recorded length before echoing. + + * xfns.c (Fx_create_frame): Fix last arg to x_get_arg for Qdisplay. + + * s/linux.h (LIB_GCC): Fix previous change. + If we redefine it later, #undef it first. + +1995-06-18 Richard Stallman + + * keyboard.c (quit_throw_to_read_char): Turn off the error check + testing poll_suppress_count. + + * s/linux.h (LIB_GCC): Define here, overriding Makefile.in.in, + so as to use C_SWITCH_X_MACHINE. + +1995-06-17 Richard Stallman + + * m/alpha.h (SYSTEM_MALLOC): Definition deleted. + + * keymap.c (Vdefine_key_rebound_commands): New variable. + (syms_of_keymap): Set up Lisp var. + (Fdefine_key): Put new definition onto Vdefine_key_rebound_commands. + + * xmenu.c (menu_item_equiv_key): Do reconsider a command that had + no equivalent before, if it is in Vdefine_key_rebound_commands. + + * data.c (Flocal_variable_if_set_p): New function. + (syms_of_data): Call defsubr. + + * xdisp.c (display_text_line): Fill in charstart for end of buffer. + +1995-06-16 Richard Stallman + + * puresize.h [MULTI_FRAME] (BASE_PURESIZE): Increase to 315000. + + * frame.c (Fdelete_frame): Use do_switch_frame directly. + (do_switch_frame): No longer static. + * window.c (Fset_window_configuration): Use do_switch_frame directly. + * keyboard.c (quit_throw_to_read_char): Use do_switch_frame directly. + * lisp.h (do_switch_frame): Declared. + +1995-06-16 Karl Heuer + + * frame.c [MULTI_FRAME] (Fignore_event): New function. + [MULTI_FRAME] (keys_of_frame): Bind iconify-frame and + make-frame-visible to it. + +1995-06-16 Richard Stallman + + * .gdbinit: Use long, not EMACS_INT. + Do `set main' to make gdb_valbits etc. available. + + * frame.h (struct frame): New field icon_name. + * xterm.h (struct x_display): icon_name deleted. + * xfns.c (x_report_frame_params, x_set_icon_type, x_set_icon_name) + (x_set_name, x_icon, Fx_create_frame): Use moved icon_name field. + * alloc.c (mark_object): Mark icon_name field. + +1995-06-15 Karl Heuer + + * keyboard.h (struct kboard): Add Voverriding_terminal_local_map. + * keyboard.c (init_kboard): Initialize it. + (syms_of_keyboard): Defvar it. + (read_key_sequence, menu_bar_items): + Check Voverriding_terminal_local_map before Voverriding_local_map. + * doc.c (Fsubstitute_command_keys): Likewise. + * keymap.c (Fkey_binding, describe_buffer_bindings): Likewise. + + * xdisp.c (Qoverriding_terminal_local_map): New variable. + (syms_of_xdisp): staticpro it. + (update_menu_bar): If we bind overriding-local-map, also bind + overriding-terminal-local-map. + + * frame.c (Fhandle_switch_frame): Preserve prefix arg. + * keyboard.c (command_loop_1): In special handling for commands + that create a prefix arg, don't handle commands that merely + preserve one that was previously created. + + * .gdbinit ($valmask): Use EMACS_INT, not int. + + * lisp.h (enum pvec_type): Don't use trailing comma. + +1995-06-15 Richard Stallman + + * m/alpha.h (malloc, realloc): If not _MALLOC_INTERNAL, + always use void *. + +1995-06-15 Geoff Voelker + + * callproc.c (call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP. + (call-process-region) [WINDOWSNT]: Use proper temp file template. + + * ntproc.c (win32_spawnve): Accept program names without executable + suffixes. + + * makefile.nt (TRES) [MSVCNT11]: Use emacs.res, and don't compile it. + +1995-06-15 Richard Stallman + + * m/alpha.h (LD_SWITCH_MACHINE): Don't define it. + (malloc, realloc): If non-ANSI C, declare value as char *. + +1995-06-14 Richard Stallman + + * sysdep.c (emacs_set_tty): Swap TCSETAF and TCSETAW. + Rename arg waitp to flushp. + +1995-06-14 Karl Heuer + + * callint.c (Fprefix_numeric_value): Fix type check. + + * keyboard.c (command_loop_1): Clear prefix arg (undo Feb 1 change). + +1995-06-14 Richard Stallman + + * data.c (Flocal_variable_p): Fix backwards logical operator. + +1995-06-14 Karl Heuer + + * m/intel386.h: If NOT_C_CODE, don't include alloca.h. + [!__GNUC__] (C_SWITCH_MACHINE): Disable this; it seems to confuse cpp. + +1995-06-14 Richard Stallman + + * frame.c (Fdelete_frame): If the minibuf window was selected, + make that remain so. + + * process.c (status_notify): Undo May 18 change. + Set update_tick at the beginning not at end. + + * buffer.c (Fprevious_overlay_change): Check for overlays that + end at POS. + +1995-06-13 Richard Stallman + + * xfns.c (syms_of_xfns): Initialize Vx_no_window_manager. Doc fix. + +1995-06-13 Karl Heuer + + * m/ibmrs6000.h (LIBS_MACHINE): Use -lpthreads, not -lpthread. + * config.h.in (HAVE_LIBPTHREADS): Add #undef. + +1995-06-12 Roland McGrath + + * mem-limits.h [_LIBC] (start_of_data): Define to &__data_start + for GNU libc. + +1995-06-11 Richard Stallman + + * xmenu.c (frame_vector_add_frame): Don't forget to store + the longer vector. + + * xterm.h (struct x_display): New field asked_for_visible. + * xterm.c (x_make_frame_visible): Test and set asked_for_visible. + + * widget.c (EmacsFrameSetCharSize): Manually alter the height + and width of the outer widget (and the width of the column widget) + carefully using deltas. + Set update_hints_inhibit nonzero while updating. + Then call update_wm_hints explicitly. + (update_wm_hints): Use 0 for min_rows, min_cols. + Do nothing if update_hints_inhibit is nonzero. + + * xterm.c: Include widget.h. + (x_wm_set_size_hint) [USE_X_TOOLKIT]: + Get the size from the outer widget. + Copy the base and minimum sizes from the old hint. + + * xfns.c [USE_X_TOOLKIT] (x_window): If using Motif, + add some extra to sizes, for consistent behavior. + +1995-06-10 Richard Stallman + + * dispnew.c (Fframe_or_buffer_changed_p): Calculate vector size right. + Add hysteresis when making it larger. Fill it up reliably + and check at the end for overflowing it. + (syms_of_display): Make frame_and_buffer_state initially with 20 elts. + + * keyboard.c (read_char_minibuf_menu_prompt): + If the char to type doesn't match the prompt string, + show the char explicitly. + +1995-06-10 Geoff Voelker + + * ntterm.c,ntproc.c,nt.c: Include config.h before stdio.h. + +1995-06-09 Geoff Voelker + + * makefile.nt (TEMACS): Depend upon $(BLD). + (temacs): Remove $(BLD) dependency. + +1995-06-09 Richard Stallman + + * xterm.c (x_get_keysym_name): New function. + * keyboard.c (modify_event_symbol): Mask out high bits here, + and only for certain purposes. table_size now unsigned. + (modify_event_symbol) [HAVE_X_WINDOWS]: Use x_get_keysym_name. + (make_lispy_event): Don't mask high bits here. + Supply -1 as table_size for system-specific keys. + + * xdisp.c (update_menu_bar): Use set_buffer_internal_1 to switch bufs. + Run the hooks in the proper buffer. + Normally bind overriding-local-map to nil. + (Qoverriding_local_map): New variable. + (syms_of_xdisp): staticpro it. + +1995-06-09 Karl Heuer + + * keyboard.h (struct kboard): New member system_key_syms. + * alloc.c (mark_kboards): Mark it. + * keyboard.c (system_key_syms): Deleted; now part of struct kboard. + (make_lispy_event): Use the struct member. + (init_kboard): Initialize it. + (syms_of_keyboard): Delete initialization and staticpro. + + * Makefile.in.in (SOURCES): Makefile isn't source; Makefile.in.in is. + +1995-06-08 Richard Stallman + + * keyboard.c (Fevent_convert_list): Renamed from + convert_event_type_list. + (syms_of_keyboard): defsubr it. + * keymap.c (Flookup_key, Fdefine_key): Use Fevent_convert_list. + + * xmenu.c (xmenu_show): Do call lw_destroy_all_widgets. + (xdialog_show): Likewise. + (popup_get_selection): Don't call it here. + + * search.c (Freplace_match): Fix check for valid reg in string replace. + Do the right thing with backslash. + + * keyboard.c (Vhelp_event_list): New var. + (syms_of_keyboard): Set up Lisp var. + (help_char_p): New function. + (read_char, echo_char, read_key_sequence): Use help_char_p. + + * keyboard.h (Vlucid_menu_bar_dirty_flag): Declare this variable. + (Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise. + + * keyboard.c (read_key_sequence): Don't run activate-menubar-hook + or call recompute-lucid-menubar. + + * xdisp.c (update_menu_bar): Run activate-menubar-hook + and call recompute-lucid-menubar. + +1995-06-08 Karl Heuer + + * commands.h (last_command): Declaration deleted. + * keyboard.h (struct kboard): New member Vlast_command. + * keyboard.c (last_command): Var deleted; now part of struct kboard. + (init_kboard): Initialize it. + (syms_of_keyboard): Defvar it. + (command_loop_1): Make last_command be kboard-local. + * cmds.c (internal_self_insert): Likewise. + * minibuf.c (Fminibuffer_complete): Likewise. + + * m/ibmrs6000.h (LIBS_MACHINE): Use -lpthread if it exists. + + * m/alpha.h (LIBS_MACHINE): Define to -ldnet or -ldnet_stub. + + * s/msdos.h (SYSTEM_PURESIZE_EXTRA) [!HAVE_X_WINDOWS]: + Increase to 62000. + + * process.c [!subprocesses]: Include sysselect.h. + + * xmenu.c (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display. + +1995-06-07 Karl Heuer + + * keyboard.h (struct kboard): member Vprefix_arg restored, replacing + prefix_factor, prefix_value, prefix_sign, and prefix_partial. + * callint.c (current_prefix_partial): Deleted. + (Vprefix_arg): Deleted; not part of struct kboard again. + (Funiversal_argument, Fnegative_argument, Fdigit_argument) + (clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): Deleted. + (syms_of_callint): Use DEFVAR_KBOARD for Vprefix_arg. + Remove defsubrs for deleted functions. + * lisp.h: Remove declarations for deleted vars and functions. + * alloc.c (mark_kboards): Mark Vprefix_arg instead of + prefix_factor and prefix_value. + * macros.c (Fexecute_kbd_macro): Vprefix_arg is now part of kboard. + * keyboard.c (cmd_error, command_loop_1, Fcommand_execute) + (Fexecute_extended_command, init_kboard, syms_of_keyboard): + Undo Feb 28 change; prefix arg handling is now in Lisp code again. + + * buffer.c: (syms_of_buffer): Doc fix. + + * buffer.c: (Fbuffer_disable_undo): Make this function interactive. + +1995-06-07 Richard Stallman + + * data.c (Flocal_variable_p): New optional arg BUFFER. + Really check whether var is local in *that* buffer. + + * xfns.c (x_real_positions): Uncatch and recatch X errors in the loop. + + * filelock.c (unlock_file, lock_file): Call Fexpand_file_name. + +1995-06-05 Karl Heuer + + * Makefile.in.in (TOOLKIT_DEFINES): Define. + (ALL_CFLAGS): Insert $(TOOLKIT_DEFINES) here. + * xfns.c (syms_of_xfns): Provide motif in Motif version. + + * lisp.h: (Fwaiting_for_user_input_p): Function declared. + (Fupcase_initials, Fupcase_initials_region): Likewise. + (Fplist_get, get_local_map, Fx_popup_menu, Fx_popup_dialog): Likewise. + (Fframe_first_window): Likewise. + * keyboard.c (cmd_error): Use NULL, not 0, as arg to + cmd_error_internal. + (menu_bar_items): Likewise, for arg of current_minor_maps. + (record_char): Add cast. + * indent.c (Fvertical_motion): Add cast. + * undo.c (record_insert): Change args to be ints, not Lisp_Objects. + * casefiddle.c (casify_region): Use explicit local vars for start + and end, so that the type will be correct. + (operate_on_word): Likewise for iarg in this function. + (upcase_initials, upcase_initials_region): Deleted; these were + redundant copies of Fupcase_initials and Fupcase_initials_region. + * abbrev.c (Fexpand_abbrev): Call to upcase_initials_region + changed to Fupcase_initials_region for consistency. + * search.c (Freplace_match): Likewise. + * alloc.c: Declare sbrk. + + * xdisp.c: Include keyboard.h. + + * s/irix5-0.h (POSIX_SIGNALS): Defined. + +1995-06-03 Richard Stallman + + * xterm.c (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases. + + * buffer.c (Fkill_buffer): When killing indirect buffer, + unchain that buffer's markers (only) from the common chain. + Don't rekill this buffer's indirect buffers that are dead. + Do nothing if this buffer is already dead. + +1995-06-03 Karl Heuer + + * editfns.c (Fencode_time): Doc fix. + + * fns.c (NULL): Define if not defined. + +1995-06-02 Richard Stallman + + * xfns.c (Fx_create_frame): Make sure icon_name is a string or nil. + + * xterm.h (struct x_display): Rename icon_label to icon_name + and make it a Lisp_Object. + + * xfns.c (Qicon_name): New variable. + (Fx_create_frame): Look for icon-name parm and set icon_label field. + (x_set_icon_type): Compute arg to x_text_icon + based on frame name and icon_name fields. + (x_set_icon_name): New function. + (x_icon): Call x_text_icon. + (x_set_name): Look at icon_name field when setting the icon name, + (x_frame_parms): Add icon-name. + (syms_of_xfns): Set up Qicon_name. + + * xterm.c (x_text_icon): Do call XSetIconName or XSetWMIconName. + Don't save ICON_NAME anywhere. + + * sysdep.c (old_tty_valid): New variable. + (init_sys_modes): Set old_tty_valid if we set old_tty. + (reset_sys_modes): Restore tty settings only if old_tty_valid. + + * term.c (cursor_to, clear_to_end_of_line_raw): + If chars_wasted is 0, do nothing. + (clear_end_of_line): Don't die if chars_wasted is 0. + + * search.c (trivial_regexp_p): = is special after \. + + * s/ptx.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted. + +1995-06-01 Karl Heuer + + * xfns.c (x_destroy_bitmap): Block and unblock input. + (Fx_horizontal_line): Add one UNBLOCK_INPUT to fix a misbalance, + and move another one to include the call to XFreeGC, in case we + someday remove the "#if 0" conditions. + * widget.c (EmacsFrameDestroy): Block and unblock input. + +1995-05-31 Richard Stallman + + * xfns.c (x_display_info_for_name): Fix error message. + (Fx_open_connection): Fix error messages. + +1995-05-30 Karl Heuer + + * s/sol2-4.h (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h; + added references to /usr/dt/lib. + + * xfns.c (syms_of_xfns): Allow PATH_BITMAPS to be a + colon-separated list. + + * editfns.c (syms_of_editfns): user-login-name renamed from user-name. + user-real-login-name renamed from user-real-name. + C names changed to Vuser_real_login_name, Vuser_login_name as well. + * nt.c: Change Vuser_real_name to Vuser_real_login_name. + +1995-05-30 Richard Stallman + + * xfns.c (x_top_window_to_frame): Don't match menu-bar widget. + + * xdisp.c (update_menu_bar): Reverse test of save_match_data. + + * xmenu.c (set_frame_menubar): Always call update_frame_menubar. + + * xfns.c (x_window): Use applicationShellWidgetClass, + not topLevelShellWidgetClass. Call lw_set_main_areas after + creating the menubar widget. + +1995-05-29 Karl Heuer + + * xdisp.c (update_menu_bar): Do update if region display has changed. + + * frame.c (make_frame_without_minibuffer): New arg DISPLAY. + If there's no minibuffer frame to use, create one. + * xfns.c (Fx_create_frame): Pass new arg to + make_frame_without_minibuffer. + + * fns.c (Frandom): Use EMACS_INT, not int. + Use NULL, not 0, as arg of `time'. + + * frame.c: Declare x_get_focus_frame. + (Fmouse_position): Use NULL, not 0, as arg of pixel_to_glyph_coords. + * keyboard.c (make_lispy_event, make_lispy_movement): Likewise. + +1995-05-29 Richard Stallman + + * xterm.c (XTread_socket) [USE_X_TOOLKIT]: Do pass MotionNotify events + to the toolkit. + + * keyboard.c (Fset_input_mode): When read_socket_hook, ignore + what the user specified, and set interrupt_input in the preferred + way for this system. + + * xterm.c (x_term_init): Call init_sigio only if interrupt_input. + +1995-05-28 Morten Welinder + + * s/osf1.h (COFF): Define. + * m/alpha.h (LD_SWITCH_MACHINE) [!__GNUC__]: Don't define. + (r_alloc, r_re_alloc, r_alloc_free) [REL_ALLOC, + !_MALLOC_INTERNAL, !NOT_C_CODE]: Prototype. + +1995-05-28 Richard Stallman + + * xterm.c (x_set_offset): Distinguish CHANGE_GRAVITY < 0 case. + * xfns.c (x_set_frame_parameters): Pass -1 to x_set_offset. + + * xfns.c (x_report_frame_params): Report top and left + in a way that represents negative offsets correctly. + + * syntax.c (describe_syntax_1): Pass new arg to describe_vector. + + * keymap.c (describe_vector): New arg entire_map. + Don't show bindings shadowed earlier on in the same map. + (Fdescribe_vector, describe_map): Pass new arg. + + * xdisp.c (redisplay_window): Don't use try_window_id if + newline has a display table entry. + + * xdisp.c (update_menu_bar): + Call set_frame_menubar with proper buffer current. + +1995-05-26 Geoff Voelker + + * lread.c (init_lread) [CANNOT_DUMP]: Set Vload_path to EMACSLOADPATH. + +1995-05-26 Richard Stallman + + * xfns.c (x_window): Call initialize_frame_menubar + near the end, after UNBLOCK_INPUT. + + * xmenu.c (popup_get_selection): Force deactivation if key pressed. + New arg `id'. + (xdialog_show, xmenu_show): Pass new arg to popup_get_selection. + * xterm.c (XTread_socket): Don't call popup_get_selection here. + +1995-05-26 Karl Heuer + + * sysdep.c (VFORK_RETURN_TYPE): Use int if not already defined. + (vfork): Declare the return type. + * s/sol2-3.h (HAVE_VFORK): Moved here from s/sol2-4.h. + (VFORK_RETURN_TYPE): Defined. + * s/sol2-4.h (HAVE_VFORK): Moved to s/sol2-3.h. + (pid_t): Deleted; s/sol2-3.h now defines a symbol for this. + + * xdisp.c (x_consider_frame_title): Use FRAME_KBOARD. + +1995-05-26 Geoff Voelker + + * s/windows95.h: New file. + + * ntheap.h (get_data_region_base): Undefined. + (get_reserved_heap_size): Use reserved_heap_size. + (reserved_heap_size): Declared. + * ntheap.c (reserved_heap_size,allocate_heap): Defined. + (sbrk): Use allocate_heap. + + * ntterm.c (set_terminal_modes): Set cursor size appropriate for + Windows 95. + (write_glyphs): Don't memset attrs, which is a word array. + + * nt.c (configuration_buffer): Increase size. + (get_emacs_configuration) [WINDOWS95]: Use appropriate string. + (prepare_standard_handles) [WINDOWS95]: Disable subprocesses. + (reset_standard_handles): Check error number on failure. + + * makefile.nt (LIBS): Use BASE_LIBS and ADVAPI32. + (config.h,paths.h): Use $(CP) instead of cp. + (config.h): Use $(CONFIG_H). + (EMACS) [WINDOWS95]: Don't dump temacs.exe. + (clean): Cleanup MSVC files and config.h. + (cleandump): Separate commands onto multiple lines. + Cleanup comments. + +1995-05-26 Michael Ernst + + * emacs.c (standard_args): -i, -itype, --icon-type take 0, not 1, args + +1995-05-25 Karl Heuer + + * process.c (create_process, send_process): Add volatile qualifiers. + (wait_reading_process_input) [both versions]: Cast args of select. + + * syntax.c (scan_lists): Make stringterm an unsigned char. + + * dispnew.c (change_frame_size_1): Declare arg DELAY. + + * insdel.c (adjust_point): Declare arg AMOUNT. + + * lisp.h (do_symval_forwarding): Declare this function. + (frame_buffer_predicate, Foverlay_start, Foverlay_end): Ditto. + (Fprevious_single_property_change, Fend_of_line, Felt): Ditto. + (Fforward_line, Fforward_word, Fdelete_region, Fforward_char): Ditto. + (Fnarrow_to_region, Fwiden, Fmatch_beginning, Fmatch_end): Ditto. + (Fskip_chars_forward, Fskip_chars_backward): Ditto. + (Ffile_name_absolute_p, read_doc_string): Ditto. + (get_frame_param, store_frame_param, store_in_alist): Ditto. + (describe_map_tree): Declaration moved here from keymap.c. + * keymap.c (describe_map_tree): Move declaration to lisp.h. + + * doc.c (Fsubstitute_command_keys): Cast arg of describe_map_tree. + * frame.c [MULTI_FRAME] (Fmouse_position): Cast arg of + pixel_to_glyph_coords. + * callint.c (Fcall_interactively): Cast arg of doprnt. + * editfns.c (format1): Likewise. + * xdisp.c (message): Likewise. + (scroll_bottom_vpos, fmodetrunc): Declarations deleted. + +1995-05-25 Richard Stallman + + * dispnew.c (Fframe_or_buffer_changed_p): Record frame names + as well as the frame objects. + + * xterm.c (XTread_socket): + For MapNotify, call record_asynch_buffer_change. + + * xdisp.c (prepare_menu_bars): Update frame titles before menu bars. + + * xfns.c (Fx_get_resource): Major rewrite to make it clearer. + (validate_x_resource_name): Use build_string, not make_string. + (Fx_create_frame): Initially use Vinvocation_name as resource name. + Switch to frame name if frame name is explicit. + (x_display_info_for_name, Fx_open_connection): Add casts. + Initially use Vinvocation_name as resource name. + [USE_X_TOOLKIT] (x_window): Use Vx_resource_name for widget names. + + * xmenu.c (xmenu_show, xdialog_show): Increment widget_id_tick + in the same way as in xfns.c. Use LWLIB_ID type where appropriate. + (set_frame_menubar, free_frame_menubar): Add casts to LWLIB_ID. + + * xterm.c (XTflash): Use pointers as args to select. + (XTread_socket, x_set_offset, x_set_window_size) + (x_make_frame_invisible): Cast 2nd arg to x_wm_set_size_hint. + (XTclear_end_of_line): Don't specify return type. + (note_mouse_highlight): Declare args x and y. + (x_icon_type): New declaration. + (flashback): Declaration deleted. + +1995-05-24 Karl Heuer + + * lisp.h (menu_bar_items): Declare this function. + +1995-05-24 Richard Stallman + + * xmenu.c (Fx_popup_dialog): Treat (menu-bar) like t, for POSITION. + + * frame.c (Fdelete_frame): When updating Vdefault_minibuffer_frame, + insist on a frame on the proper keyboard. + + * xterm.c (x_connection_closed): Unblock input, first thing. + Set Vdefault_minibuffer_frame to t + before deleting a frame that might have its own minibuffer. + +1995-05-23 Karl Heuer + + * xfns.c (hack_wm_protocols): Use cast instead of suffix. + +1995-05-23 Richard Stallman + + * xfns.c (x_set_frame_parameters): Pass 1 as change_gravity + when calling x_set_offset. + (x_real_positions): Don't add border_width into win_x, win_y. + * xterm.c (x_set_offset): Add border_width when calling XMoveWindow. + + * xterm.h (struct x_display): New field menubar_height. + * xmenu.c (set_frame_menubar): Set menubar_height field. + * xfns.c (x_window) [both versions]: Set menubar_height. + + * xfns.c [USE_X_TOOLKIT] (x_window): Don't call XMoveWindow + or x_calc_absolute_position. Do use the border_width. + + * xterm.c (x_calc_absolute_position): Use menubar_height field. + In toolkit case, use outermost Emacs widget and its parent. + [USE_X_TOOLKIT] (x_make_frame_visible): Do call x_set_offset. + + + * xfns.c [USE_X_TOOLKIT] (x_window): Pass position to toolkit + only if user-specified. But always use XMoveWindow to move the + window to that position. + + * alloc.c (Fgarbage_collect): Clear consing_since_gc first thing. + + * xdisp.c (redisplay_window): Use set_buffer_internal_1. + + * buffer.c (set_buffer_internal_1): New subroutine. + (Fmove_overlay): Don't set windows_or_buffers_changed. + +1995-05-22 Karl Heuer + + * xselect.c (x_get_window_property): Cast args of XGetWindowProperty. + * xfaces.c (unload_color): Cast args of XFreeColors. + * xfns.c (hack_wm_protocols): Cast args of XGetWindowProperty. + (x_set_border_pixel): Cast args of XSetWindowBorder. + * widget.c (create_frame_gcs): Cast args of XCreateGC. + (setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData. + + * data.c (long_to_cons): Don't assume 32-bit longs. + * fileio.c (Fvisited_file_modtime): Cast arg of long_to_cons. + + * editfns.c (Fformat): Split double into two pointers, not two ints. + + * s/hpux9.h: Delete HAVE_FMOD; configure handles that correctly now. + +1995-05-22 Richard Stallman + + * xdisp.c (display_text_line): Enter a char in charstarts + at the very end of the character loop. + Enter newline or ^M (if selective display) separately. + + * lisp.h (gdb_lisp_params): New enum type. + * .gdbinit: Use gdb_lisp_params to get storage layout info. + Set and use $valmask and $nonvalbits. + + * lread.c (oblookup): Delete argument hashp. + +1995-05-19 Karl Heuer + + * floatfns.c (Flogb): frexp needs a pointer to int, not EMACS_INT. + +1995-05-19 Richard Stallman + + * dispnew.c (buffer_posn_from_coords): Don't let startp be before BEGV. + +1995-05-18 Karl Heuer + + * indent.c (compute_motion): Handle overlay strings. + New arg DID_MOTION. All callers changed. + * dispnew.c, window.c: Add new argument to calls of compute_motion. + * xdisp.c: Add new argument to calls of compute_motion. + (zv_strings_seen): New variable. + (redisplay, try_window, try_window_id): Clear zv_strings_seen. + (display_text_line): Handle overlay strings. + +1995-05-18 Richard Stallman + + * s/sol2-4.h: Undo previous change. + + * emacs.c (Fkill_emacs): Delete the auto-save-list file + after shut_down_emacs. + + * process.c (status_notify): If Vprocess_alist changes within + the loop, do the whole loop again. + +1995-05-17 Karl Heuer + + * emacs.c (Fdump_emacs): Don't take address of array. + + * buffer.c (Fmake_indirect_buffer): Fix interactive spec. + + * Makefile.in.in (SOURCES): Fix reference to ymakefile. + + * keyboard.c (syms_of_keyboard): Always define track-mouse. + (do_mouse_tracking): Always declare this var. + +1995-05-15 Marcus Daniels + + * s/linux.h: Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H. + [__ELF__] (START_FILES, LIB_STANDARD, LIB_GCC, UNEXEC): Define these. + [__ELF__] (UNEXEC_USE_MAP_PRIVATE): Define this. + + * unexelf.c (unexec) [UNEXEC_USE_MAP_PRIVATE]: New logic for + systems that don't support MAP_SHARED with PROT_WRITE. + +1995-05-15 Richard Stallman + + * s/sol2-4.h (LD_SWITCH_SYSTEM): Define. + +1995-05-15 Simon Leinen + + * indent.c (vmotion): handle the case where `minibuf_prompt' is nil. + +1995-05-12 Karl Heuer + + * indent.c (vmotion): Simplify. Replace last three args with a single + struct window *. All callers changed. + * xdisp.c (minmax): New macro. + (redisplay, redisplay_window, try_window_id): Clip cursor hpos at both + low and high extremes, in anticipation of a change to compute_motion. + + * xterm.c (Qvendor_specific_keysyms): New var. + (syms_of_xterm): Initialize and staticpro it. + (x_term_init): Initialize Vsystem_key_alist according to vendor. + + * emacs.c (main) [NeXT]: Add missing braces. + +1995-05-11 Karl Heuer + + * sysdep.c (init_system_name): Clean up signedness mismatch. + * unexelf.c (unexec): Fix type mismatch. + * print.c (float_to_string): Fix type mismatch and simplify. + + * dispnew.c [!MULTI_FRAME] (Fredraw_frame): Delete extra docstring. + * frame.c [!MULTI_FRAME] (Fframe_height, Frame_width): Likewise. + +1995-05-09 enami tsugutomo + + * window.c [MULTI_FRAME] (init_window_once): Set Vterminal_frame + to selected_frame. + * frame.c [MULTI_FRAME] (make_terminal_frame): Don't set + Vterminal_frame. + (do_switch_frame): Set Vterminal_frame to selected_frame. + +1995-05-08 Andreas Schwab + + * Makefile.in.in (VMS_SUPPORT): Add missing `.elc'. + (SOME_MACHINE_LISP): New variable. + (${etc}DOC): Use it. + + * buffer.c (syms_of_buffer): Doc fix. + + * frame.c (frame-height, frame-width, set-screen-height, + set-screen-width, termal-frame) [!MULTI_FRAME]: Delete doc strings. + +1995-05-08 Karl Heuer + + * keyboard.c (init_kboard): Initialize Vdefault_minibuffer_frame. + * keyboard.h (struct kboard): New member Vdefault_minibuffer_frame. + * frame.c: Vdefault_minibuffer_frame is now part of KBOARD instead + of a variable. All references changed. + (make_frame_without_minibuffer): New arg KB. + Require the new frame's minibuffer to be on the same display. + * xfns.c (Fx_create_frame): Pass kb to make_frame_without_minibuffer. + + * xdisp.c (x_consider_frame_title): When setting multiple_frames, + ignore invisible frames and frames on other displays. + + * keyboard.c [MULTI_KBOARD] (read_char): If the character was for + the wrong kboard, don't let it get processed twice. + +1995-05-08 Richard Stallman + + * callproc.c (Fcall_process): Keep reading till buffer is nearly full. + + * emacs.c (Fdump_emacs): Don't use & before my_edata. + +1995-05-08 Francesco Potorti` (pot@cnuce.cnr.it) + + * m/delta.h (C_SWITCH_MACHINE): Let configure decide if this is + a 68040 or 68030. Don't condition on __STDC__. + +1995-05-08 enami tsugutomo + + * frame.c (Fraise_frame, Flower_frame): Make arg FRAME optional. + + * keyboard.c (Fread_key_sequence): Doc fix. + +1995-05-08 Richard Stallman + + * window.c (Fdisplay_buffer): Initialize other, upper, lower. + +1995-05-07 Richard Stallman + + * lisp.h (Fmatch_data, Fstore_match_data): Declared. + + * xdisp.c (prepare_menu_bars): Save and restore the match data. + (update_menu_bar): New arg save_match_data. + Maybe save and restore match data here. + +1995-05-07 Geoff Voelker + + * makefile.nt (region-cache.obj,vm-limit.obj): Dependencies defined. + (OBJ1): Don't compile xfaces.c. + (buffer.obj,indent.obj,search.obj): Add region-cache.h dependency. + +1995-05-07 Paul Eggert + + * data.c (Fmod): Fix the final adjustment, when f2 < 0 and f1 == 0. + + * lread.c (isfloat_string): Reject strings like "0.5+". + +1995-05-07 Richard Stallman + + * process.c (wait_reading_process_input): Pass arg in new call to + set_waiting_for_input. + + * xfns.c (Funfocus_frame): Check for live X frame. + + * lread.c (init_lread): Don't warn about missing installation dirs + when using dirs derived from the executable. + +1995-05-06 Geoff Voelker + + * makefile.nt (TRES): Defined. + (TLIB1,TLIB2): Created out of TLIB. + (TLIB): Split to reduce time to do library updates. + (DOC): Use DOC-X. + (strftime.obj): Compile with -Dstrftime=emacs_strftime. + +1995-05-06 Richard Stallman + + * window.c (syms_of_window): Doc fix. + (temp_output_buffer_show): If we use Vtemp_buffer_show_function, + do nothing else. + + * s/bsd386.h (GETPGRP_NO_ARG): New definition. + (BSD): Include sys/param.h instead of redefining BSD. + But do this only if emacs is defined. + + * lisp.h (gc_cons_threshold): Change back to int. + * alloc.c (gc_cons_threshold): Change back to int. + (min): New macro. + (inhibit_garbage_collection): Don't exceed value an int can hold. + + * xdisp.c (prepare_menu_bars): Clear size-change flag before running + size-change functions. + (scroll_step, debug_end_pos, line_number_display_limit): Now static. + +1995-05-05 Richard Stallman + + * emacs.c (Fdump_emacs_data): Don't use & before my_edata. + + * editfns.c (Fencode_time): Rename arg from min to minute. + (days_per_month): Move variable to top level. + + * process.c (wait_reading_process_input): Don't call prepare_menu_bars. + Clear waiting_for_input around calling redisplay_preserve_echo_area. + + * xfns.c [USE_X_TOOLKIT] (x_window): Always pass position in geometry. + Set XtNmappedWhenManaged to 0 for shell_widget. + (Fx_create_frame): Always call x_wm_set_size_hints. + + * s/sol2-4.h (HAVE_VFORK): Add #undef. + + * s/netbsd.h (GETPGRP_NO_ARG): Defined. + +1995-05-04 Richard Stallman + + * s/freebsd.h: (GETPGRP_NO_ARG): Defined + (HAVE_GETPAGESIZE): Definition deleted. + + * data.c (store_symval_forwarding): Error if value out of range + for an integer variable. + (Fstring_to_number): Avoid using make_number to return value. + Maybe use atol. + +1995-05-04 Karl Heuer + + * buffer.c (Qbefore_string, Qafter_string): New vars. + (syms_of_buffer): Initialize and staticpro them. + (cmp_for_strings, overlay_strings): New functions. + +1995-05-04 Richard Stallman + + * indent.c (string_display_width): Renamed from string_width. + (vmotion): Use new name. + + * s/sco4.h [!__GNUC__] (LINKER): Defined. + + * insdel.c (make_gap): Don't allow buffer size that won't fit in int. + Make this new error check also check exceeding VALBITS. + (insert_1): Delete old error test. + (min): New macro. + + * Makefile.in.in (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj. + + * xfaces.c (region_face, next_face_id): Make static. + + * xselect.c (Vselection_converter_alist, x_selection_timeout) + (Vx_sent_selection_hooks, Vx_lost_selection_hooks, Vselection_alist): + Make static. + + * alloc.c (inhibit_garbage_collection): + Use XSETINT, and do arithmetic in type EMACS_INT. + + * s/hpux9.h (HAVE_FMOD): Defined. + + * sysdep.c (bcmp, bcopy): Fix backward BSTRING conditionals. + + * emacs.c (Fkill_emacs): Delete the Vauto_save_list_file_name file. + +1995-05-04 Morten Welinder + + * data.c (arith_driver): Make accum and next EMACS_INTs. + (Fmod): i1 and i2 are EMACS_INT. + + * editfns.c (Fformat): Allow 30 characters in the printed version + of integers and floats. + + * print.c (print): Handle long EMACS_INT in sprintf. + * keyboard.c (Fexecute_extended_command): + Handle long EMACS_INT in sprintf. + * lread.c (read1): Handle long EMACS_INT in atol. + * doprnt.c (doprnt): Handle long EMACS_INT in sprintf. + * data.c (Fnumber_to_string, Fstring_to_number): + Handle long EMACS_INT in sprintf and atol. + + * process.c (list_processes_1): Cast XFASTINT for passing to sprintf. + + * m/alpha.h (bcopy, bzero, bcmp): Don't let string.h prototype these. + +1995-05-03 Morten Welinder + + * keyboard.c (parse_modifiers, apply_modifiers): Don't assume + 32-bit EMACS_INT. + (parse_modifiers): modifiers is an int, not an EMACS_INT. + (read_key_sequence): Pass modifiers as int, not EMACS_INT. + + * buffer.h (Fdelete_overlay): Was mistakenly called Fdelete_overlays. + + * lisp.h (gc_cons_threshold): Make this an EMACS_INT. + + * alloc.c (gc_cons_threshold): Make this an EMACS_INT. + (gc_sweep): Make already_free an EMACS_INT. + + * search.c (search_buffer): Cast p_limit to EMACS_INT not int. + + * s/osf1.h (GETPGRP_NO_ARG): Define. + +1995-05-03 Richard Stallman + + * keyboard.c (reorder_modifiers): Use XINT. + Cast apply_modifiers arg to int. + + * unexapollo.c: New file. + + * m/apollo.h (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP) + (NO_X_DESTROY_DATABASE): Macros deleted. + (BSTRING): #undef deleted. + (SYSTEM_TYPES): Redefinition deleted. + (UNEXEC): New definition. + (LD_SWITCH_SYSTEM): Define as empty. + (C_SWITCH_MACHINE, LD_SWITCH_MACHINE): New definitions. + (OLDXMENU_OPTIONS): New definition. + + * fileio.c (directory_file_name): Add APOLLO conditional. + (Fcopy_file, Fset_file_modes): Delete APOLLO conditionals. + + * emacs.c: Delete all APOLLO conditionals. + +1995-05-02 Karl Heuer + + * intervals.c (get_local_map): Use Fget_char_property, so that + overlay properties will be considered as well as text properties. + +1995-05-02 Richard Stallman + + * insdel.c (prepare_to_modify_buffer): Use file_truename for locking. + + * fileio.c (Finsert_file_contents): Use file_truename for unlocking. + + * buffer.c (Fset_buffer_modified_p): Use the truename for locking. + + * lread.c (read1): New arg FIRST_IN_LIST; all callers changed. + Special handling for backquote and comma. + (Qbackquote, Qcomma, Qcomma_at, Qcomma_dot): New variables. + (syms_of_lread): Initialize and staticpro them. + (Fread, Fread_from_string): Initialize new_backquote_flag. + +1995-05-01 Karl Heuer + + * xmenu.c (xmenu_show, menubar_selection_callback): Move declaration + of entry to an outer block, to guarantee its value is preserved. + + * keyboard.c (kbd_buffer_get_event): New arg USED_MOUSE_MENU. + [USE_X_TOOLKIT]: Set *USED_MOUSE_MENU if returning menu-bar symbols. + (read_char): Pass used_mouse_menu to kbd_buffer_get_event. + This variable is now meaningful for toolkit menus as well as + non-toolkit menus. + + * dispnew.c (update_frame): Don't put cursor in echo area unless + the echo area is on this frame. + * xdisp.c (redisplay): Don't move the cursor if it's supposed to + be in the echo area. + (display_text_line): Likewise. + (echo_area_display): Put cursor in echo area if appropriate. + +1995-04-30 Richard Stallman + + * emacs.c (standard_args): Add #ifdef VMS for -map. + (main): Delete duplicate code for -version. + (standard_args): Add -help and -version. + + * fileio.c (Fdo_auto_save): Record visited file name + as well as auto-save file name in the auto-save-list-file-name file. + Call Fexpand_file_name for auto-save-list-file-name. + +1995-04-29 Richard Stallman + + * sysdep.c [HAVE_UNISTD_H]: Include unistd.h. + + * emacs.c (standard_args): Add -L/--directory/-directory. + + * s/sunos4shr.h (ORDINARY_LINK): Defined. + (LINKER): Definition deleted. + +1995-04-28 Karl Heuer + + * xfns.c (x_non_menubar_window_to_frame): New function. + * xterm.h: Declare x_non_menubar_window_to_frame. + * xmenu.c (popup_get_selection): Use x_non_menubar_window_to_frame. + Either queue or dispatch the event, but not both. + (dialog_selection_callback): Clear popup_activated_flag. + + * xmenu.c (Fx_popup_menu): If POSITION is just (menu-bar), use the + current mouse position. + (menubar_selection_callback): Use (menu-bar) instead of 'menu-bar. + * keyboard.c (read_char, read_char_x_menu_prompt): Exclude + menu-bar clicks when processing mouse clicks. + + * xterm.c (x_term_init): Add stub to initialize Vsystem_key_alist. + +1995-04-27 Karl Heuer + + * process.c (create_process): Don't reference pty_name if !HAVE_PTYS. + +1995-04-26 Richard Stallman + + * fileio.c (Ffile_regular_p): Use Qfile_regular_p. + (syms_of_fileio): Set up Qfile_regular_p. + + * emacs.c (standard_args): Move -iconic and --icon-type + to the end of the initial args. + +1995-04-25 Karl Heuer + + * alloc.c (mark_kboards): Mark the kbd macro and Vsystem_key_alist. + +1995-04-24 Richard Stallman + + * s/linux.h (REGEXP_IN_LIBC): Defined. + + * callproc.c (Fcall_process): Use bigger buffer, and grow it + as we get more and more data. + +1995-04-24 Karl Heuer + + * xterm.c (x_term_init): If the previous kboard was the dummy one, + switch to the new one immediately. + + * keyboard.h (struct kboard): New member Vsystem_key_alist. + * keyboard.c (Vsystem_key_alist): Delete global variable. + (init_kboard): Initialize Vsystem_key_alist member. + (syms_of_keyboard): Change DEFVAR_LISP to DEFVAR_KBOARD. + (make_lispy_event): Use the kboard's alist instead of the global. + + * fns.c (Fplist_put): Don't signal an error if plist isn't a cons. + + * xterm.c (x_focus_frame, x_focus_event_frame, x_highlight_frame): + Delete these vars; now part of struct x_display_info. + (x_new_focus_frame): New arg DPYINFO. Callers changed. + Use the struct members instead of the globals. + Call x_frame_rehighlight instead of XTframe_rehighlight, so we can + pass on the dpyinfo pointer. + (x_mouse_leave): New arg DPYINFO. Callers changed. + (XTframe_rehighlight): New arg FRAME. Callers changed. + Now does all the work in x_frame_rehighlight. + (x_frame_rehighlight): New function, code from XTframe_rehighlight. + (XTread_socket): Use the struct members instead of the globals. + (x_unfocus_frame, x_iconify_frame, x_destroy_window): Likewise. + (x_display_box_cursor, x_make_frame_invisible): Likewise. + (x_term_init): Initialize the struct members. + (x_initialize): Delete initialization of deleted globals. + * xfns.c (x_get_focus_frame): New arg FRAME. Callers changed. + (Funfocus_frame): Unfocus on selected_frame's display. + * xterm.h (struct x_display_info): New members x_focus_frame, + x_focus_event_frame, x_highlight_frame, replacing global vars. + * frame.c (do_switch_frame): Don't try to refocus termcap frames. + + * Makefile.in.in: Make dispnew.o and keyboard.o depend on xterm.h. + Make intervals.o and term.o depend on keyboard.h. + + * xfns.c (x_window): Fix type mismatch. + + * xdisp.c (message_dolog): The message log doesn't need an undo list. + + * term.c (term_init): MagicWrap implies AutoWrap. + +1995-04-24 Richard Stallman + + * keyboard.c (safe_run_hooks_1, safe_run_hooks_error): New subroutines. + (safe_run_hooks): Handle errors to clear the hook, + instead of always clearing it temporarily. + + * callproc.c (child_setup): Reword "can't exec" message. + Add newline after message. + + * process.c (create_process): Don't abort if can't reopen + pty_name in the child. Exit the child instead. + +1995-04-20 Karl Heuer + + * abbrev.c (Fexpand_abbrev): Add some error checking. + + * xmenu.c (Fx_popup_dialog): Don't pass menubarp arg to xdialog_show. + +1995-04-19 Karl Heuer + + * frame.h (struct frame): New member namebuf. + * frame.c (make_frame): Initialize it. + (Fdelete_frame): Free it. + * xfns.c (x_window): Use (or reuse) frame's namebuf instead of a + temp var. This avoids a storage leak. + +1995-04-19 Richard Stallman + + * xmenu.c (xmenu_show, xdialog_show): Delete menubarp arg. + (Fx_popup_menu): Don't compute menubarp. + +1995-04-18 Richard Stallman + + * callproc.c (Fcall_process): Call Fexpand_file_name for error_file. + + * keyboard.c (map_event_to_object): Declaration deleted. + +1995-04-18 Andreas Schwab + + * eval.c (Ffetch_bytecode): Check the type of the object being + read from the file. + +1995-04-17 Richard Stallman + + * editfns.c (Fencode_time): Don't treat years < 100 as special. + +1995-04-17 Karl Heuer + + * lisp.h: Declare some functions. + * buffer.c (adjust_overlays_for_insert): New function. + (adjust_overlays_for_delete): New function. + * insdel.c (insert_1): Adjust overlay center after inserting. + (insert_from_string_1, insert_from_buffer_1): Likewise. + (del_range_1): Adjust overlay center after deleting. + +1995-04-17 Richard Stallman + + * editfns.c (Fencode_time): Rewrite by Naggum. + +1995-04-15 Richard Stallman + + * xfns.c (x_report_frame_params): Report value of `display' parm. + + * Makefile.in.in (really-lwlib, really-oldXMenu): Mark as .PHONY. + +1995-04-14 Karl Heuer + + * editfns.c (Fencode_time): Fix missing \n\'s. + +1995-04-14 Richard Stallman + + * editfns.c (init_editfns): Add casts. + + * doc.c (get_doc_string): Add cast. + + * keyboard.c (kbd_buffer_get_event): Don't use prototype. + + * xdisp.c (message_log_check_duplicate): Make p1 and p2 + unsigned char *. + +1995-04-13 Richard Stallman + + * xterm.c (x_term_init): Call XtSetLanguageProc only if HAVE_X11XTR6. + +1995-04-13 Karl Heuer + + * editfns.c (Fbuffer_string): Doc clarification. + + * alloc.c: Delete the #if that compares MARKBIT. + + * window.c (Fdisplay_buffer): Search the proper frame when the + current frame is minibuffer-only. + + * fileio.c (Fexpand_file_name): Use IS_DIRECTORY_SEP instead of + special code for WINDOWSNT. + +1995-04-13 Richard Stallman + + * xfaces.c (compute_char_face): Don't use NULL. + + * buffer.c (Foverlays_at, Fnext_overlay_change): Don't use NULL. + (Fprevious_overlay_change): Don't use NULL. + + * xfns.c (Fx_color_defined_p): Doc fix. + + * xfaces.c [! HAVE_X_WINDOWS] (build_face): Deleted. + +1995-04-12 Andreas Schwab + + * callint.c (Fcall_interactively): Fix paren nesting. + + * buffer.c (evaporate_overlays): Fix type error. + +1995-04-13 Richard Stallman + + * xterm.c (XTmouse_position): Handle X errors in XTranslateCoordinates. + + * lisp.h (MARKBIT): Do the shifting as unsigned int. + Delete the #if that compares MARKBIT. + +1995-04-12 Richard Stallman + + * xterm.c (XTread_socket): For ConfigureNotify, + combine the USE_X_TOOLKIT and non-toolkit cases, which provides + some things that were missing in the former. + + * alloc.c (gc_sweep): If a misc has type Lisp_Misc_Free, + keep it on the free list. Sum pseudovector sizes properly. + + * dispnew.c (Fframe_or_buffer_changed_p): Ignore buffers whose names + start with space. + + * editfns.c (Fencode_time): Use XINT to examine `zone'. + +1995-04-11 Geoff Voelker + + * ntinevt.c (nt_kdb_patch_event): Created. + + * callproc.c (child_setup) [WINDOWSNT]: Removed syntax errors. + + * dired.c (Ffile_attributes) [WINDOWSNT]: Removed syntax errors. + + * fileio.c (Fexpand_file_name) [DOS_NT]: Preserve drive letter case. + Fix syntax errors. + Check drive letter when expanding ~\. + + * sysdep.c (sys_subshell) [WINDOWSNT]: Don't invoke restore_console. + + * ntproc.c (win32_wait): Reap synchronous subprocesses, and place + return code in synch_process_retcode. + + * s/windowsnt.h (ctime): Defined to be nt_ctime. + (NULL): Defined when missing from included system files. + (EMACS_CONFIG_OPTIONS): Defined. + (LISP_FLOAT_TYPE): Defined. + (HAVE_TZNAME): Defined. + (HAVE_TIMEVAL): Defined. + (struct timeval): Defined. + (struct timezone): Defined. + + * nt.c (nt_ctime): Defined. + (gettimeofday): Defined. + + * ntinevt.c (do_mouse_event): Use XSETFASTINT. + (SET_FRAME): Undefined. + (select): Renamed to sys_select to correspond to routine in sysdep.c + (sys_select): Support struct timeval. + (key_event): Support German keyboard. + Replace SET_FRAME with XSETFRAME. + (nt_kbd_mods_to_emacs): Renamed to win32_kbd_mods_to_emacs. + (win32_kbd_mods_to_emacs): Support AltGr on German keyboards. + (win32_number_shift_map): Defined. + (WIN32_KEY_SHIFTED): Defined. + (win32_patch_key): Defined. + (map_virt_key): Support VK_OEM_102 for German keyboards. + (win32_mouse_position): Add arg insist. + (do_mouse_event): Replace SET_FRAME with XSETFRAME. + Use win32_kbd_mods_to_emacs. + + * fileio.c (directory_file_name) [WINDOWSNT]: Handle UNC format. + + * nt.c (nt_stat): Defined. + + * s/windowsnt.h (struct nt_stat): Defined. + + * ntinevt.h: Fixed function prototypes. + + * makefile.nt (TEMACS): Add dependence on $(BLD). + + * ntterm.c (Fset_message_beep): Defined. + (ring_bell): Support audio cards. + + * makefile.nt (DOC): Defined. + + * s/windowsnt.h (HAVE_RANDOM): Defined. + (random): Macro undefined. + (srandom): Macro undefined. + (HAVE_UTIME): Defined. + (utime): Defined. + (EMACS_CONFIGURATION): Defined. + + * nt.c (random): Defined. + (srandom): Defined. + + * nt.c (readdir): Include "." and "..". + (get_inode_and_device_vals): Handle directories. + + * fileio.c (Fexpand_file_name) [DOS_NT]: Don't strip slash from + default dirs like "C:\\" + + * makefile.nt (all): Use COMPAT_LIB in library list. + Use DEL_TREE instead of delnode. + + * ntheap.c (sbrk): Shrink heap by arbitrary amounts. + + * m/intel386.h (NO_ARG_ARRAY) [WINDOWSNT]: Defined. + + * s/windowsnt.h (_VARARGS_): Defined. + (_CALLBACK_): Defined. + +1995-04-11 Roland McGrath + + * process.c (create_process): Set PROCESS's tty_name to Qnil when + !PTY_FLAG, so Fprocess_tty_name returns nil for pipes as its + docstring says. + +1995-04-11 Richard Stallman + + * keyboard.c (read_char): Rearrange code so that getcjmp is set + only around sit_for and kbd_buffer_get_event, and + and polling is stopped only around the kbd_buffer_get_event call. + (Ftrack_mouse, tracking_off, read_char): Don't call prepare_menu_bars. + + * dispnew.c (init_desired_glyphs): New function. + * xdisp.c (redisplay): Call init_desired_glyphs for each frame. + Call prepare_menu_bars. + (prepare_menu_bars): Delete code at beginning that duplicates + things done at the beginning of redisplay. + + * alloc.c (inhibit_garbage_collection): New function. + + * xterm.c (XTread_socket): Pass dpyinfo to popup_get_selection. + + * xmenu.c (popup_get_selection): Queue up events that aren't + for the menu, and process them afterward. New arg dpyinfo. + (set_frame_menubar): Use inhibit_garbage_collection. + [USE_X_TOOLKIT] (xmenu_show): Delete the queue code here. + Pass dpyinfo to popup_get_selection. + Don't call lw_destroy_all_widgets. + [USE_X_TOOLKIT] (xdialog_show): Simplify using popup_get_selection. + +1995-04-10 Richard Stallman + + * callint.c (Fcall_interactively): Fix handling of @ + when it tests whether the event has a window in it. + + * s/sco4.h (NO_SOCKETS_IN_FILE_SYSTEM): Defined. + + * eval.c (internal_condition_case): Abort if interrupt_input_blocked>0. + + * xmenu.c (set_frame_menubar): Don't block input until after + the menubar maps have been decoded. + +1995-04-10 Karl Heuer + + * keyboard.c (push_frame_kboard, pop_frame_kboard): Do nothing if + !MULTI_KBOARD. + + * keyboard.c (init_keyboard): Don't malloc a new structure; + initial_kboard should already exist for that. + * frame.c (make_terminal_frame): Put initial_kboard on the list of + all kboard objects. + +1995-04-10 Richard Stallman + + * xmenu.c (popup_get_selection): For ButtonRelease event, + clear dpyinfo->grabbed. + + * window.c (temp_output_buffer_show): Select the chosen window + temporarily for running temp-buffer-show-hook. + (syms_of_window): Fix typo. + + * s/osf1.h: Don't include alloca.h, string.h here. + (malloc. realloc, xmalloc, xrealloc): Declarations moved to m/alpha.h. + * m/alpha.h: Include alloca.h, string.h here. + (malloc. realloc, xmalloc, xrealloc): Declarations moved from s/osf1.h. + + * xdisp.c (display_mode_line): Use push_frame_kboard, pop_frame_kboard. + + * xfns.c (x_window): Copy the frame name to non-Lisp string. + + * keyboard.c (any_kboard_state): Renamed from unlock_kboard. + Define it unconditionally, but it's a no-op unless MULTI_KBOARD. + (single_kboard_state): New function. + (push_frame_kboard, pop_frame_kboard): New functions. + (single_kboard): Renamed from kboard_locked. + + * keyboard.h (single_kboard): Renamed from kboard_locked. + All refs renamed. + (struct kboard): Move flag fields to the end, and make them chars. + Delete the `unused' field. + + * callint.c (Fcall_interactively): Call single_kboard_state + to switch to the single-kboard state. + * minibuf.c (read_minibuf): Call single_kboard_state + to switch to the single-kboard state. + + * alloc.c, data.c, macros.c, print.c: Include keyboard.h. + + * Makefile.in.in (alloc.o, data.o, macros.o, print.o): + Depend on keyboard.h. + + * xterm.h (x_display_info): Use `struct kboard', not KBOARD. + * frame.h (struct frame): Use `struct kboard', not KBOARD. + + * keyboard.h (KBOARD, etc): Moved from lisp.h. + (struct kboard): Renamed from struct KBOARD. + * lisp.h (KBOARD, etc): Moved to keyboard.h. + +1995-04-09 Richard Stallman + + * keyboard.c (unlock_kboard): Do nothing with Vunread_command_events. + (read_char): Clean up logic for reading from KBOARD queues. + + * xfns.c (defined_color): Fix typo (duplicate +). + + * keyboard.c (kbd_buffer_get_event): Set copy by assignment, not init. + + * xterm.c (XTread_socket): Make deiconify event + only if frame was iconified. + + * xrdb.c (xmalloc, xrealloc): Declare them here. + +1995-04-08 Erik Naggum + + * editfns.c (Fencode_time): New function, to match `decode-time'. + +1995-04-08 Richard Stallman + + * intervals.c (set_point): When skipping intangible text, + stop where property value changes. + + * indent.c (Fmove_to_column): Fix minor bug in prev change. + + * lread.c (read_escape): Undo Nov 15 change. + + * xdisp.c (display_mode_line): Test mode_line_inverse_video + before highlighting partial-width mode line. + + * xmenu.c (popup_activate_callback): Increment popup_activated_flag. + (popup_deactivate_callback): Decrement it. + + * s/linux.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted. + config.h should handle them. + + * xdisp.c (redisplay): Don't call update_frame for non-selected + termcap frame. + +1995-04-08 Noah Friedman + + * window.c (Fnext_window, Fprevious_window): If all_frames is a + frame and window is not on that frame, return the first window on + that frame. + +1995-04-07 Richard Stallman + + * lread.c (init_lread): Add site-lisp under the installation dir + to Vload_path if that exists. + + * s/osf1.h (xmalloc, xrealloc): Declare them. + + * frame.c (make_terminal_frame): Use Emacs, Emacs-2, ... as name. + + * xdisp.c (decode_mode_spec): Add %F code. + Order alternatives alphabetically. + + * s/aix4.h: Use "..." in #include. + +1995-04-07 Morten Welinder + + * s/osf1.h: Include alloca.h, string.h. Test NOT_C_CODE. + + * m/alpha.h (SPECIAL_EMACS_INT): Defined. + +1995-04-07 Karl Heuer + + * keyboard.c (kbd_buffer_get_event): Check for frame buried in a cons. + Delete menu_bar_event handling code. + (make_lispy_event): Move it here, so it gets a switch-frame if needed. + + * callint.c (Fcall_interactively): Fix previous change. + +1995-04-07 Richard Stallman + + * doprnt.c (xmalloc, xrealloc): Declare them here. + + * callint.c (Fcall_interactively): `+' is reserved for user changes. + + * process.c (read_process_output_error_handler) + (exec_sentinel_error_handler): Fsleep_for wants two args. + + * xfns.c (validate_x_resource_name): Change invalid chars to `_'. + + * doprnt.c (doprnt): Cast pointer to int by way of EMACS_INT. + + * xmenu.c (menubar_selection_callback, dialog_selection_callback) + (single_submenu): Cast pointer to int by way of EMACS_INT. + + * floatfns.c (Flogb): Use EMACS_INT for `value'. + + * editfns.c (Fformat): Cast int to pointer by way of EMACS_INT. + + * search.c (search_buffer): Avoid casting trt to int. + Use EMACS_INT for comparing pointers. + + * buffer.h (Fdelete_overlays): Add declaration. + + * keyboard.c (parse_modifiers): Use type EMACS_INT for `modifiers'. + + * xterm.c (dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *) + for comparison with face->font. + + * sysdep.c (bcopy): If NEED_BCOPY, do compile this. + + * m/ncr386.h: New file. + + * s/hpux9.h (LD_SWITCH_X_DEFAULT): New definition. + (C_SWITCH_X_DEFAULT): New definition. + + * doc.c (get_doc_string): In (STRING . INTEGER), if INTEGER + is negative, negate it. + + * eval.c (Fuser_variable_p): For (STRING . INTEGER), test sign. + + * s/sol2.h (C_SWITCH_X_SYSTEM): Defined. + + * s/usg5-4-2.h (LIBS_SYSTEM): New override definition. + + * lisp.h (XMISCTYPE): New macro. + (union Lisp_Misc): Delete the `type' field. + Use XMISCTYPE instead of that. + + * alloc.c (Fmake_marker, mark_object): Use XMISCTYPE. + (clear_marks, gc_sweep): Use u_marker union elt to extrat misc type. + + * lread.c (defvar_int, defvar_bool, defvar_lisp_nopro, defvar_kboard) + (defvar_per_buffer): Use XMISCTYPE. + * print.c (print): Use XMISCTYPE. + * fns.c (internal_equal): Use XMISCTYPE. + * buffer.c (Fmake_overlay): Use XMISCTYPE. + * data.c (Ftype_of, do_symval_forwarding, store_symval_forwarding) + (find_symbol_value, Fmake_variable_buffer_local, Fmake_local_variable): + Use XMISCTYPE. + + * xdisp.c (prepare_menu_bars): Do the frame titles last. + +1995-04-06 Richard Stallman + + * xfaces.c (intern_face): Cast FACE_DEFAULT to (XFontStruct *) + for comparison with face->font. + + * puresize.h (CHECK_IMPURE): Remove & from before my_edata. + + * editfns.c (Fformat_time_string): Use emacs_strftime. Doc fix. + + * Makefile.in.in (strftime.o): Define strftime as emacs_strftime. + + * xmenu.c (frame_vector): New static variable. + (syms_of_xmenu): staticpro it. + (frame_vector_add_frame): New function. + (set_frame_menubar): Use frame_vector; use index as the widget id. + (free_frame_menubar): Likewise. Remove the frame from frame_vector. + (menubar_selection_callback): Use frame_vector to turn id into frame. + + * emacs.c (main): Cast arg to `brk'. + + * sysdep.c (init_sys_modes): Use TCOON only if defined. + + * s/netbsd.h (NO_MATHERR): Defined. + (LIBS_SYSTEM): Definition deleted. + + * unexsunos4.c: Treat __NetBSD__ like __FreeBSD__. + +1995-04-06 Karl Heuer + + * fns.c (Fplist_put): Fix missing \n\. + + * xfns.c (x_window_to_frame): Skip non-X frames before testing dpyinfo. + [USE_X_TOOLKIT] (x_any_window_to_frame, x_top_window_to_frame): Ditto. + +1995-04-06 Simon Marshall + + * data.c (Fcar, Fcdr, Fsetcar, Fsetcdr): Arg name doc fixes. + +1995-04-06 Richard Stallman + + * puresize.h (BASE_PURESIZE): Increment to 310000. + + * indent.c (string_width): New function. + (vmotion): Compute the width of minibuf_prompt + if it isn't already known. + + * buffer.c (Fkill_buffer): Call reset_buffer_local_variables + and swap_out_buffer_local_variables. + (swap_out_buffer_local_variables): New subroutine. + (Fkill_all_local_variables): Use that subroutine. + + * search.c (Flooking_at, Fposix_looking_at): Change arg name. + +1995-04-05 Richard Stallman + + * frame.c (Fraise_frame, Flower_frame): Now interactive. + +1995-04-04 Karl Heuer + + * lisp.h: Declare Ffetch_bytecode. + * eval.c (Ffetch_bytecode): New function. + (funcall_lambda): Call it. + (syms_of_eval): defsubr it. + +1995-04-03 Karl Heuer + + * xfns.c (x_window_to_frame): New arg DPYINFO. All callers changed. + (x_any_window_to_frame, x_top_window_to_frame): Likewise. + + * lisp.h (Vmessage_log_max): Declare this variable. + (message_nolog): Declare this function. + * emacs.c (main): Start with an empty message log. + * xdisp.c (message_nolog): New function. + * fns.c (Fy_or_n_p): Don't log prompt. + (Fyes_or_no_p): Fix typo in doc string. + +1995-04-01 Richard Stallman + + * lread.c (oblookup): Save bucket num in oblookup_last_bucket_number. + (Funintern): New function. + (syms_of_lread): defsubr it. + +1995-03-31 Richard Stallman + + * dired.c (Fdirectory_files): Fix bug in IS_ANY_SEP usage + introduced in Oct 30 change. + +1995-03-31 Karl Heuer + + * keyboard.c (command_loop_1): If we ignore force_start, then also + ignore beg_unchanged and end_unchanged. + +1995-03-31 Michael Ernst + + * lread.c (isfloat_string): Permit trailing space. + +1995-03-30 Karl Heuer + + * keyboard.c (event_to_kboard): Ignore dead frames. + (kbd_buffer_get_event): In batch mode, use current_kboard. + + * xterm.c (x_delete_display): Extract kboard deletion, for modularity. + * keyboard.c (wipe_kboard): Make this function static. + (delete_kboard): New function, extracted from x_delete_display. + + * lisp.h: Declare function delete_kboard. + + * xterm.h (struct x_display_info): New member cut_buffers_initialized. + * xterm.c (x_term_init): Initialize it. + * xselect.c (Fx_store_cut_buffer_internal): Use the flag in the + frame's x_display_info, not a global flag. + (Fx_rotate_cut_buffers_internal): Likewise. + + * emacs.c (sort_args): Skip strncmp if longname is a null pointer. + +1995-03-30 Richard Stallman + + * data.c (Fmod): Fix the final adjustment, when i2 < 0 and i1 == 0. + +1995-03-29 Richard Stallman + + * frame.c [MULTI_FRAME] (Factive_minibuffer_window): New function. + [MULTI_FRAME] (syms_of_frame): Defsubr it. + +1995-03-28 Karl Heuer + + * process.c (Fsignal_process): SIGCODE is a symbol, not a string. + +1995-03-28 Richard Stallman + + * fns.c (Fconcat): Undo previous change. + +1995-03-27 Richard Stallman + + * fns.c (Fget, Fput): Fetch and store symbol's plist directly. + +1995-03-27 Boris Goldowsky + + * fns.c (Fplist_put, Fplist_get): New fns. + (Fget): Use Fplist_get to do the work. + (Fput): Use Fplist_put to do the work. + + * textprop.c (Vdefault_text_properties): name changed from + Vdefault_properties. + * intervals.h: As above. + * intervals.c (textget): As above. + + * intervals.c (textget_direct): Fn deleted. + (textget, verify_interval_modification): Use Fplist_get instead. + * intervals.h: Remove declaration. + +1995-03-26 Richard Stallman + + * xterm.c (XTmouse_position): New arg `insist'. + * ntinevt.c (win32_mouse_position): New arg `insist'. + * msdos.c (mouse_get_pos): New arg `insist'. + + * xmenu.c (Fx_popup_menu): Pass 1 for `insist' arg. + (Fx_popup_dialog): Likewise. + * frame.c (Fmouse_position--both definitions): Pass 0 for `insist'. + (Fmouse_pixel_position): Pass 0 for `insist'. + Add HAVE_MOUSE conditional. + * keyboard.c (kbd_buffer_get_event): Pass 0 for `insist' arg. + + * m/intel386.h (C_SWITCH_SYSTEM): Don't #undef or define it. + [SOLARIS2, SOLARIS2_4, !__GNUC__] (C_SWITCH_MACHINE): Define instead. + +1995-03-26 Germano Caronni + + * ralloc.c (r_re_alloc): Correct realloc behavior--allow shrinking + of blocks while reallocating, if shrinking by more than one page. + (relocate_blocs, resize_blocs): Added failsafe to protect future + calling of these routines when in frozen state. + (r_alloc_thaw): Added call to r_alloc_init. + (relocate_blocks, resize_bloc, r_alloc_sbrk, r_alloc_thaw): Extended + functionality to let ralloc package work in frozen state, allowing + for the existence of unused blocks. + +1995-03-25 Richard Stallman + + * process.c (Fsignal_process): Allow signal names as well as numbers. + +1995-03-24 Richard Stallman + + * editfns.c (init_editfns): Use NAME envvar to init user-full-name. + +1995-03-24 Karl Heuer + + * textprop.c (Fnext_property_change): Fix previous change. + +1995-03-23 Kevin Rodgers + + * print.c (temp_output_buffer_setup): (Re)set the default + directory of the temp buffer to that of the current buffer. + +1995-03-23 Karl Heuer + + * buffer.c (syms_of_buffer): Doc fix. + + * xdisp.c (redisplay): Make sure pause is set before used. + Delete unused vars. + (redisplay_window): Make sure update_mode_line is set before used. + If startp might not have been set, use w->start directly. + (try_window_id): In the easy case, find cursor pos before returning. + (try_window_id): Stop scan at bottom of window, not one line later. + Don't fail on account of continuation line below window. + (redisplay_window): Stop scan at bottom of window. + Fix reversed condition. + + * Makefile.in.in (FRAME_SUPPORT, MSDOS_SUPPORT): Don't list face + and mouse related files here. + (FACE_SUPPORT, MOUSE_SUPPORT): New lists. + (FACE_SUPPORT): Add facemenu.elc. + (WINNT_SUPPORT): New list. + (lisp): Add format.elc, FACE_SUPPORT, MOUSE_SUPPORT, WINNT_SUPPORT. + +1995-03-23 Richard Stallman + + * m/sparc.h: Don't include alloca.h if NOT_C_CODE. + + * m/mips-siemens.h (UNEXEC): Override the definition. + (LIBS_DEBUG, ORDINARY_LINK): Add #undefs. + +1995-03-22 Karl Heuer + + * dispnew.c (direct_output_forward_char): Don't use direct output + at an overlay boundary. + * buffer.c (overlay_touches_p): New function. + * lisp.h: Declare overlay_touches_p. + + * fns.c (concat): Treat integers as characters, not strings. + This makes `concat' more like `insert'. + + * window.c (syms_of_window): Fix missing \n\. + * keymap.c (Fwhere_is_internal): Fix missing \n\. + * fileio.c (syms_of_fileio): Fix missing \n\. + +1995-03-21 Marco Walther + + * unexelfsni.c: New file. + + * m/mips-siemens.h: Total rewrite. + +1995-03-20 Richard Stallman + + * xdisp.c (redisplay_window): Skip the only-point-has-changed + optimization if updating the window's mode line. + +1995-03-19 Richard Stallman + + * xdisp.c (invisible_p, invisible_ellipsis_p): Handle list + as invisible property value. + +1995-03-18 Richard Stallman + + * xdisp.c (display_menu_bar): Just one space between menu items. + +1995-03-18 Ted Lemon + + * emacs.c (dump-emacs-data, dump-emacs): Declare my_edata as + char array. + * lastfile.c (my_edata): Declare as char array, not int. + * puresize.h (CHECK_IMPURE): Declare my_edata as char array. + +1995-03-17 Richard Stallman + + * lread.c (Vload_read_function): New variable. + (readevalloop): Use that variable. + (syms_of_lread): Set up Lisp variable. + +1995-03-17 Boris Goldowsky + + * buffer.h (struct buffer): Add file_format member. + + * buffer.c (reset_buffer): Reset file_format element too. + (init_buffer_once): Define file_format flag; reset file_format. + (syms_of_buffer): New vbl buffer-file-format. + + * fileio.c (Finsert_file_contents): Call format-decode. + (build_annotations): Call format-annotate-function for each element of + buffer-file-format. + (Vauto_save_file_format): New vbl. + (build_annotations): Use it. + +1995-03-17 Richard Stallman + + * alloc.c (init_alloc_once): Increase gc_cons_threshold to 300000. + +1995-03-15 Richard Stallman + + * xfns.c (x_decode_color): Don't use cdef if defined_color failed. + +1995-03-15 Karl Heuer + + * config.h.in [HAVE_X_WINDOWS] (MULTI_KBOARD): Define this symbol. + +1995-03-14 Karl Heuer + + * lisp.h (struct KBOARD, MULTI_KBOARD, current_kboard, all_kboards): + (Lisp_Misc_Kboard_Objfwd, Lisp_Kboard_Objfwd, XKBOARD_OBJFWD): + (KBOARD_OBJFWDP, GC_KBOARD_OBJFWDP, kboard_locked, the_only_kboard): + (DEFVAR_KBOARD): Renamed from PERDISPLAY, MULTI_PERDISPLAY, + current_perdisplay, all_perdisplays, Lisp_Misc_Display_Objfwd, + Lisp_Display_Objfwd, XDISPLAY_OBJFWD, DISPLAY_OBJFWDP, + GC_DISPLAY_OBJFWDP, display_locked, the_only_perdisplay, + DEFVAR_DISPLAY. All uses changed. + (struct KBOARD): New member reference_count. + (initial_kboard): Declare this var. + * .gdbinit (xkbobjfwd): Renamed from xdispobjfwd. + * frame.h (struct frame): New member kboard. + (FRAME_KBOARD): Accessor macro for that member, replacing + get_perdisplay. + * xterm.h (struct x_display_info): member kboard (formerly + perdisplay) is now a pointer, not an actual struct. + (get_perdisplay, get_perdisplay_macro): Deleted. + * xfns.c (Fx_create_frame): set the frame's kboard member. + * xterm.c (get_perdisplay): Deleted. + (same_x_server): New function. + (x_term_init): If this display shares a keyboard with one we've + already opened, then share the structure. + (x_delete_display): Don't delete the kboard until the reference + count becomes zero. + * lread.c (defvar_kboard): Renamed from defvar_display. + * alloc.c (mark_kboards): Renamed from mark_perdisplays. + * frame.c (make_frame): Initialize kboard member. + (make_terminal_frame): Create initial_kboard if not already set. + * keyboard.c (unlock_kboard): Renamed from unlock_display. + (wrong_kboard_jmpbuf): Renamed from wrong_display_jmpbuf. + (event_to_kboard): Renamed from event_to_perdisplay. + (kbd_buffer_get_event): If no associated kboard, store + current_kboard rather than the first kboard in the global list. + (init_kboard): Renamed from init_perdisplay. Initialize reference + count. + (wipe_kboard): Renamed from wipe_perdisplay. + * data.c (find_symbol_value): current_perdisplay now is never null. + (store_symval_forwarding, do_symval_forwarding): Likewise. + +1995-03-14 Richard Stallman + + * data.c (Fash): Fix previous change. + + * buffer.c (Fmake_indirect_buffer): Invert the arguments. + + * marker.c (unchain_marker): Allow differing buffers + as long as they have the same text. + +1995-03-13 Karl Heuer + + * keyboard.c (event_to_perdisplay): New function. + (kbd_buffer_get_event): Use event_to_perdisplay. + (kbd_buffer_store_event): If C-g arrives while we're in the run + state on behalf of another display, just clear the queue and + deposit the C-g to be read later. + (read_key_sequence): After a throw, unwind delayed_switch_frame as + well as keybuf. Don't insert an extra switch-frame if empty. + + * print.c (print): current_perdisplay now is never null. + * callint.c (clear_prefix_arg): Likewise. + * macros.c (Fexecute_kbd_macro): Likewise. + +1995-03-13 Richard Stallman + + * minibuf.c (read_minibuf): Save Voverriding_local_map. + (read_minibuf_unwind): Restore Voverriding_local_map. + +1995-03-13 Andreas Schwab + + * unexelf.c (unexec): Adjust the file offset of sections located + after the section header table. + +1995-03-12 Karl Heuer + + * keyboard.c (unlock_display): current_perdisplay now is never null. + (cmd_error, command_loop_1, read_char): Likewise. + (kbd_buffer_get_event, read_key_sequence): Likewise. + (read_char): Handle synchronous quit_char on a different display. + (read_char): Rewrite queue-searching code. + (read_key_sequence): Save selected_frame. + (init_keyboard): Initialize current_perdisplay. + +1995-03-12 Richard Stallman + + * keyboard.c (parse_modifiers_uncached): Delete the code for + multi-character modifiers and for recognizing a modifier alone. + (parse_solitary_modifier): New function. + (convert_event_type_list): Use parse_solitary_modifier. + Also convert symbol A to character A. + Handle shift modifier with lower-case letters. + + * window.c (Fdisplay_buffer): Fix prev change--return sel window. + + * indent.c (compute_motion, Fmove_to_column, current_column) + (character_width): Let display table handle \n, \r, \t. + (compute_motion): Fix logic in previous change wrt skipping invisible. + +1995-03-11 Richard Stallman + + * xdisp.c (display_text_line): When setting selective_rlen, + ignore whether selective display is on or off. + + * textprop.c (Fnext_property_change): Handle LIMIT = t. + + * indent.c (compute_motion): Call recenter_overlay_lists sooner. + Use Fnext_property_change to get a quick lower bound for + where `invisible' changes. + +1995-03-10 Richard Stallman + + * data.c (Fash, Flsh): Change arg names. + +1995-03-09 Richard Stallman + + * intervals.h (TEXT_PROP_MEANS_INVISIBLE): New macro. + (TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS): New macro. + + * xdisp.c (display_text_line, try_window): Check `invisible' prop + using TEXT_PROP_MEANS_INVISIBLE. + (display_text_line): Check TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS; + if it says so, use ellipses after invisible text. + (invisible_p, invisible_ellipsis_p): New functions. + + * indent.c (compute_motion, vmotion): Check `invisible' prop + using TEXT_PROP_MEANS_INVISIBLE. + + * buffer.h (struct buffer): New field `invisibility_spec'. + * buffer.c (reset_buffer_local_variables): Init invisibility. + (init_buffer_once): Set up buffer_local_flags for it. + (syms_of_buffer): New variable `buffer-invisibility-spec'. + +1995-03-08 Richard Stallman + + * syntax.c (Fforward_comment): Always clear immediate_quit for return. + +1995-03-08 Karl Heuer + + * sysdep.c (read_input_waiting): Fix Lisp_Object vs. int problem. + +1995-03-07 Karl Heuer + + * lisp.h (struct PERDISPLAY): New member kbd_queue_has_data. + * keyboard.c (unlock_display): If adding to kbd_queue, set + kbd_queue_has_data. + (read_char): Set and clear kbd_queue_has_data appropriately, but + leave it unset when we push back an incomplete sequence. + (read_char): Take the longjmp even if current_perdisplay was null. + (readable_events): Check kbd_queue_has_data instead of kbd_queue. + (init_perdisplay): Initialize kbd_queue_has_data. + + * keyboard.c (command_loop_1): Removed inline code for prefix args. + * callint.c (current_prefix_partial): New var. + (Funiversal_argument): New function, formerly inlined in keyboard.c. + (Fnegative_argument, Fdigit_argument): Likewise. + (clear_prefix_arg): Moved here from keyboard.c. + Don't clear the internal state if we're still building a prefix arg. + (finalize_prefix_arg, describe_prefix_arg): Moved from keyboard.c. + (syms_of_callint): defsubr the new functions. + * lisp.h: Declare new var and functions. + + * lisp.h (struct PERDISPLAY): New member Vlast_kbd_macro. + * alloc.c (mark_perdisplays): Mark it here. + * keyboard.c (init_perdisplay): Initialize it here. + + * macros.c (Fstart_kbd_macro): Access Vlast_kbd_macro via perdisplay. + (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. + (init_macros): Delete initialization. + (syms_of_macros): Use DEFVAR_DISPLAY for Vlast_kbd_macro. + Doc fix for executing-macro, executing-kbd-macro, last-kbd-macro. + + * keyboard.c (cmd_error): Bind Vprint_level and Vprint_length. + +1995-03-06 Karl Heuer + + * keyboard.c (command_loop_1): Fix test for prefix arg. + +1995-03-06 Boris Goldowsky + + * textprop.c (Vdefault_properties): New variable. + * intervals.h: Declare it. + * intervals.c (textget): Check it. + +1995-03-03 Richard Stallman + + * callint.c (Fcall_interactively): Fix Feb 22 change. + + * keyboard.c (read_key_sequence): Update orig_local_map + for some additional gotos to replay_sequence. + + * process.c (exec_sentinel, read_process_output): If running filter + or sentinel changes the local map, call record_asynch_buffer_change. + +1995-03-02 Karl Heuer + + * xdisp.c (display_mode_line): Temporarily set current_perdisplay + to reference the frame we're updating. + + * lisp.h (struct PERDISPLAY): New members defining_kbd_macro, + kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end, kbd_macro_bufsize. + * macros.h (defining_kbd_macro): Delete declaration. + * macros.c (defining_kbd_macro): Delete; now part of perdisplay. + All uses changed. + (kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): Likewise. + (kbd_macro_bufsize): Likewise. + (Fstart_kbd_macro): Initialize kbd_macro_buffer if not already done. + (init_macros): Delete initialization of defining_kbd_macro. + (syms_of_macros): Delete initialization of kbd_macro_buffer. + * keyboard.c (read_char_minibuf_menu_prompt): orig_defn_macro is + now a Lisp_Object, not an int. + (init_perdisplay): Initialize some of the new members. + (wipe_perdisplay): Free kbd_macro_buffer. + + * keyboard.c (cmd_error): Allow current_perdisplay to be null. + + * keyboard.c (read_key_sequence): New arg can_return_switch_frame. + All callers changed. + (Fread_key_sequence): Likewise. + * callint.c (Fcall_interactively): Defer switch-frame events when + reading `k' or `K' specification. + +1995-03-02 Richard Stallman + + * emacs.c (syms_of_emacs): Doc fix. + +1995-03-02 John Grabowski + + * xfns.c (defined_color): If colormap is full, find closest match. + * xfaces.c (load_color): Call defined_color to allocate the color. + +1995-03-01 Richard Stallman + + * xterm.c (x_connection_closed): Ignore non-X frames. + Fix the logic for deleting frames that use separate minibuffers + that are on the dead connection. + + * buffer.c (Fpop_to_buffer): Call Fset_buffer_major_mode + if we create a buffer. + +1995-02-28 Karl Heuer + + * keyboard.c (cmd_error): Use clear_prefix_arg. + (internal_last_event_frame, Vlast_event_frame): Normal vars again. + All uses changed. + (Quniversal_argument, Qdigit_argument, Qnegative_argument): Declare. + (clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): New fns. + (command_loop_1): Handle digits and minus specially, when they're + part of a prefix arg. + Handle universal-argument and digit-argument and negative-argument + bindings here, rather than doing I/O in the Lisp code. + (read_char): When reading switch-frame events from the side queue, + set internal_last_event_frame. + (readable_events): Return non-zero if a side queue has data. + (kbd_buffer_get_event): Don't abort if event has no associated frame. + (read_key_sequence): Improve behavior when there's no current display. + (init_perdisplay): Initialize the new members. + * callint.c (Fcall_interactively, syms_of_callint): Undo Jan 31 change. + (Vprefix_arg, Vcurrent_prefix_arg): Undo Jan 31 change. + * mocklisp.c (Fml_provide_prefix_argument, Fml_prefix_argument_loop): + Undo Jan 31 change. + * minibuf.c (read_minibuf, read_minibuf_unwind): Undo Jan 31 change. + * frame.c (do_switch_frame): Undo Feb 6 change. + * macros.c (Fexecute_kbd_macro): Use clear_prefix_arg. + * lisp.h (struct PERDISPLAY): Add prefix_factor, prefix_value, + prefix_sign, prefix_partial. Delete Vcurrent_prefix_arg and + Vprefix_arg; those are now plain vars again. + * alloc.c (mark_perdisplays): Update to reflect current Lisp_Objects. + (NSTATICS): Increase to 768. + +1995-02-28 Richard Stallman + + * frame.c (Fframep): Doc fix. + +1995-02-28 Karl Heuer + + * callint.c (Fcall_interactively): Lock the display before + executing the command, no matter how we execute it. + +1995-02-26 Richard Stallman + + * keyboard.c (convert_event_type_list): New function. + (lucid_event_type_list_p): New function. + (parse_modifiers_uncached): If MODIFIERS_END is -1, + look for just a modifier. Guts rewritten. + + * keymap.c (Fdefine_key): Handle Lucid-style (crtl backspace) etc. + (Flookup_key): Likewise. + + * callproc.c (Fcall_process): Extend BUFFER arg so it can specify + a separate output file for stderr output. + (Fcall_process_region): Doc fix. + +1995-02-25 Richard Stallman + + * xmenu.c (Fx_popup_menu): Init f from selected_frame + before calling mouse_position_hook. + + * window.c (Vsame_window_buffer_names, Vsame_window_regexps): New vars. + (syms_of_window): Set up Lisp vars. + (Fdisplay_buffer): Use those vars--if requested, use current window. + +1995-02-24 Karl Heuer + + * keyboard.c (unlock_display): New function. + (cmd_error, command_loop_1): Call it when appropriate. + (read_char): If no current display, don't try to echo. + + * term.c (term_init) [TERMINFO]: Make error message more accurate. + +1995-02-23 Richard Stallman + + * keymap.c (Fglobal_set_key, Flocal_set_key, Fglobal_unset_key) + (Flocal_unset_key): Functions deleted (moved to simple.el). + (syms_of_keymap): Don't defsubr them. + +1995-02-23 Karl Heuer + + * keyboard.c (display_locked): New var to indicate when we're in + the run state. current_perdisplay is now meaningful in the wait + state as well. + (cmd_error): Clear display_locked in addition to current_perdisplay. + (command_loop_1): outer_perdisplay renamed from global_perdisplay. + Restore display_locked as well as current_perdisplay. + (read_char): read_char_perdisplay merged with current_perdisplay. + (read_key_sequence): Likewise. + * minibuf.c (read_minibuf): Make sure the display is locked. + * callint.c (Fcall_interactively): If the display hasn't already + been locked by reading from the minibuffer, lock it before + executing the command. + * lisp.h (display_locked): Declare this var. + +1995-02-23 Richard Stallman + + * window.c (syms_of_window): Doc fixes. + + * keymap.c (Fwhere_is_internal): If FIRSTONLY is not nil or non-ascii, + completely ignore menu bindings. + * xmenu.c (menu_item_equiv_key): Delete the code that rejected + menu bindings returned by Fwhere_is_internal. + + * window.c (window_loop): Handle special display buffer frames + for DELETE_BUFFER_WINDOWS as for UNSHOW_BUFFER. + +1995-02-22 Richard Stallman + + * callint.c (Fcall_interactively): Use markers temporarily in + args vector to stand for point and mark values; replace them + with integers just before calling the command. + +1995-02-21 Karl Heuer + + * lisp.h (struct PERDISPLAY): New member kbd_queue. + Delete obsolete members kbd_buffer_frame_or_window, kbd_buffer, + kbd_fetch_ptr, kbd_store_ptr; these are regular vars again. + * alloc.c (mark_perdisplays): Mark kbd_queue. + Remove reference to obsolete kbd_buffer_frame_or_window. + * xmenu.c (menubar_selection_callback): frame_or_window field of a + menu-bar event now includes both the frame and the magic cookie. + * keyboard.c (kbd_buffer_frame_or_window): Restored old var. + (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Likewise. + (read_char_perdisplay): New var. + (read_char): Search all appropriate perdisplay objects, and do the + right thing if the next event comes from a different source. + (read_key_sequence): If there's a change of display in mid-stream, + retreat and try reading the new display. + (find_active_event_queue): Function deleted. All callers changed + to just test the main kbd_buffer instead. + (kbd_buffer_store_event): Write to the main kbd_buffer again. + (kbd_buffer_get_event): Read from the main kbd_buffer again. + Now returns a perdisplay pointer in addition to a lispy event. + (Fdiscard_input, swallow_events): Use the main kbd_buffer again. + (stuff_buffered_input): Likewise. + (init_perdisplay): Initialize member kbd_queue. + Remove references to obsolete members. + (wipe_perdisplay): Remove obsolete reference. + (init_keyboard, syms_of_keyboard): Restore initialization of vars. + +1995-02-21 Richard Stallman + + * xdisp.c (display_string, display_text_line): + Display table overrides ordinary display even for \t, \n, etc. + +1995-02-19 Richard Stallman + + * frame.c (Fmake_terminal_frame): Doc fix. + +1995-02-18 Richard Stallman + + * s/hpux9.h (LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT): + Add #undef's to cancel hpux8.h's definitions. + +1995-02-17 Richard Stallman + + * config.h.in (MULTI_FRAME): Define unconditionally. + +1995-02-16 Richard Stallman + + * dispnew.c (change_frame_size_1): New subroutine. + (change_frame_size): If f is termcap frame, change size of all of them. + (remake_frame_glyphs): No longer static. + Don't mark nonselected termcap frame as garbaged. + + * term.c (calculate_costs): Update max_frame_height, max_frame_width. + They determine length of chars_wasted, copybuf and char_ins_del_vector. + + * xdisp.c (redisplay): Don't display nonselected terminal frames. + + * frame.c (Fmake_terminal_frame): New function. + (syms_of_frame): defsubr it. + (make_terminal_frame): Init Vframe_list only the first time. + Set visible and async_visible directly. + Give each terminal frame a unique name. + + * ralloc.c (r_alloc_check): Return void. + (r_alloc_freeze): Initialize if it hasn't been done. + (r_re_alloc, r_alloc_free, r_alloc_sbrk): Likewise. + (r_alloc_init): Set __malloc_extra_blocks. + +1995-02-15 Paul Reilly + + * s/dgux.h (LIB_MOTIF): Add -lgen to provide provide the symbols + `regcmp' and `regex'. + +1995-02-15 Richard Stallman + + * xmenu.c (xmenu_show, both versions): New arg for_click. + (Fx_popup_menu): Compute it and pass it. + +1995-02-14 Richard Stallman + + * callint.c: Doc fix. + +1995-02-14 Paul Reilly + + * xterm.c (x_bitmap_icon): Fix test for unallocated icon bitmap. + +1995-02-14 Richard Stallman + + * filelock.c: (unlock_buffer, unlock_all_files, Flock_buffer) + (Funlock_buffer): Use buffer's file_truename, not filename. + + * buffer.c (syms_of_buffer): Set up Lisp var buffer-file-truename. + (init_buffer_once): Set up flag and default value for file_truename. + (reset_buffer): Init file_truename slot. + + * buffer.h (struct buffer): New field file_truename. + + * ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs. + + Include getpagesize.h unconditionally. + (free_bloc): Don't die if bloc->next or bloc->prev is null. + [!emacs] (bzero): New macro definition. + + * keyboard.c (input_poll_signal): Add ignored argument. + (interrupt_signal): Likewise. + + * dispnew.c (window_change_signal): Add ignored argument. + + * process.c (Fstart_process): Make process marker point into proc buf. + + * xterm.c (x_display_bar_cursor): Use frame's cursor_width. + + (x_connection_signal): New function. + (x_initialize): Use it as signal handler. + + * xfns.c (x_set_cursor_type): Set cursor_width field. + Handle args of form (bar . WIDTH). + + * xterm.h (struct x_display): New element cursor_width. + +1995-02-14 Richard Stallman + + * filelock.c (unlock_buffer, unlock_all_files, Flock_buffer) + (Funlock_buffer): Use buffer's file_truename, not filename. + + * buffer.h (struct buffer): New field file_truename. + * buffer.c (syms_of_buffer): Set up Lisp var buffer-file-truename. + (init_buffer_once): Set up flag and default value for file_truename. + (reset_buffer): Init file_truename slot. + + * xterm.h (struct x_display): New element cursor_width. + * xfns.c (x_set_cursor_type): Set cursor_width field. + Handle args of form (bar . WIDTH). + * xterm.c (x_display_bar_cursor): Use frame's cursor_width. + +1995-02-13 Richard Stallman + + * m/iris4d.h (STACK_DIRECTION): Undef before defining. + [__GNUC__] (C_SWITCH_MACHINE): Remove -cckr. + Add -32, only if IRIX_FORCE_32_BITS. + * s/irix5-0.h [__GNUC__] (C_SWITCH_SYSTEM): Defined. + * s/irix4-0.h [__GNUC__] (C_SWITCH_SYSTEM): Define this. + (C_SWITCH_MACHINE): Instead of this. + + * ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs. + + * s/irix6-0.h: New file. + + * fileio.c (Fexpand_file_name): Copy default-directory + before looking for a handler on the directory arg. + + * cmds.c (Vself_insert_face, Vself_insert_face_command): New variables. + (syms_of_cmds): Set up Lisp variables. Doc syntax fix. + (internal_self_insert): Handle Vself_insert_face. + + * lisp.h (Qprocessp): Declared. + + * xdisp.c (redisplay_window): If we update the mode line, + switch to the buffer for real, and switch back for real. + +1995-02-12 Richard Stallman + + * xterm.c (x_connection_signal): New function. + (x_initialize): Use it as signal handler. + + * keyboard.c (input_poll_signal): Add ignored argument. + (interrupt_signal): Likewise. + + * dispnew.c (window_change_signal): Add ignored argument. + +1995-02-11 Richard Stallman + + * fileio.c (Fexpand_file_name): Look for a handler for defalt. + (syms_of_fileio): Minor rearrangement. + + * ralloc.c: Include getpagesize.h unconditionally. + (free_bloc): Don't die if bloc->next or bloc->prev is null. + [!emacs] (bzero): New macro definition. + + * xmenu.c (menu_item_equiv_key): If command is an alias, + check only the underlying command for a keyboard equivalent. + + * s/netbsd.h (WAIT_USE_INT): Defined. + * syswait.h: New alternative specified by WAIT_USE_INT. + + * process.c (Fstart_process): Make process marker point into proc buf. + +1995-02-10 Richard Stallman + + * data.c: Rename arg OBJ to OBJECT in all type predicates. + (Ftype_of): New function. + +1995-02-09 Richard Stallman + + * xfaces.c (load_color): Ignore failure from XAllocColor. + * xfns.c (x_decode_color): Ignore failure from defined_color. + + * m/intel386.h [SOLARIS2_4, !__GNUC__] (C_SWITCH_SYSTEM): Defined.. + [SOLARIS2_4, !__GNUC__]: Include alloca.h. + +1995-02-07 Richard Stallman + + * Makefile.in.in (maintainer-clean): Renamed from realclean. + Print warning message. + +1995-02-07 Karl Heuer + + * keyboard.c (command_loop_1): Put back cancel_echoing call, if + there's a perdisplay for it to apply to. + (init_perdisplay): Initialize echo vars. + + * xdisp.c (message_log_check_duplicate): New function. + (message_dolog): Delete previous line if the new one is a + duplicate. Include a counter if appropriate. + Don't bother truncating the buffer until after adding newline. + +1995-02-06 Karl Heuer + + * lisp.h (struct PERDISPLAY): Add Vlast_event_frame. + Define internal_last_event_frame only #if MULTI_FRAME. + Add some placeholders so we don't need to rebuild every time this + struct changes. + * keyboard.c (internal_last_event_frame, Vlast_event_frame): + Deleted; now part of perdisplay. All uses changed. + (MOUSE_ACTIVITY_AVAILABLE) Deleted. + (find_active_event_queue): New arg check_mouse. All callers changed. + (Vlast_event_frame): Change from DEFVAR_LISP to DEFVAR_DISPLAY. + * frame.c (do_switch_frame): internal_last_event_frame is now in + perdisplay. + +1995-02-05 Richard Stallman + + * ralloc.c (r_alloc_size_in_use): New function. + + * alloc.c (emacs_blocked_malloc): Set __malloc_extra_blocks here. + (malloc_hysteresis): New variable. + (init_alloc_once): Initialize malloc_hysteresis. + (buffer_memory_full): New function. + * emacs.c (main): Undo previous change. + * buffer.c (Fget_buffer_create): Call buffer_memory_full. + + * alloc.c (refill_memory_reserve): New function. + * ralloc.c (r_alloc_free): Call refill_memory_reserve. + +1995-02-04 Richard Stallman + + * alloc.c (SPARE_MEMORY): New macro. + (emacs_blocked_free): If no spare_memory now, and enough free + space is available, get a new spare. + (__malloc_size_t, _bytes_used): Declared. + (bytes_used_when_full): New variable. + + * frame.h (struct frame): New field window_sizes_changed. + (FRAME_WINDOW_SIZES_CHANGED): New macro (two definitions). + * window.c (Fdelete_window, set_window_height, set_window_width) + (Fsplit_window, Fset_window_configuration): Set + FRAME_WINDOW_SIZES_CHANGED to 1 in the frame being changed. + * xdisp.c (Vwindow_size_change_functions): New variable. + (prepare_menu_bars): Call those functions. Add gcproing. + (syms_of_xdisp): Set up Lisp variable. + + * alloc.c (syms_of_alloc): Improve memory exhausted error message. + (init_alloc_once): Allocate spare_memory. + (memory_full): Free spare_memory. + +1995-02-03 Richard Stallman + + * xselect.c (x_get_foreign_selection, x_reply_selection_request): + Use an unwind-protect to call x_stop_queuing_selection_requests. + (some_frame_on_display): New function. + (queue_selection_requests_unwind): New function. + +1995-02-03 Karl Heuer + + * callint.c (syms_of_callint): Move DEFVAR_DISPLAY's ... + * keyboard.c (syms_of_keyboard): ... to here. + [MULTI_PERDISPLAY] (current_perdisplay, all_perdisplays): New vars. + (find_active_event_queue): Search all perdisplays. + (init_perdisplay, wipe_perdisplay): New functions. + (init_keyboard): Move perdisplay initialization to init_perdisplay. + (syms_of_keyboard): Likewise. + (cmd_error): Cancel echoing here. + (command_loop_1): Not here. + + * lisp.h (all_perdisplays): New var. + (struct PERDISPLAY): New member next_perdisplay. + * alloc.c (mark_perdisplays): New function. + (Fgarbage_collect): Call it. + * lread.c (defvar_display): Don't staticpro; these objects are now + protected through mark_perdisplays. + * xterm.c [MULTI_PERDISPLAY] (x_term_init): Initialize perdisplay. + [MULTI_PERDISPLAY] (x_delete_display): Destroy perdisplay. + (x_delete_display): Use xfree, not free. + + * lisp.h (defvar_display): Declare this function. + (DEFVAR_DISPLAY): Use current_perdisplay, not get_perdisplay. + * data.c (do_symval_forwarding): Likewise. + (store_symval_forwarding, find_symbol_value): Likewise. + * print.c (print): Likewise. + * keyboard.c (echo_prompt, echo_char, echo_dash, echo): Likewise. + (cancel_echoing, echo_length, read_char, Fdiscard_input): Likewise. + (stuff_buffered_input): Likewise. + +1995-02-03 Richard Stallman + + * xdisp.c (display_text_line): Deduct minibuf prompt from taboffset. + (try_window): Deduct minibuf prompt from tab_offset, after 1st line. + +1995-02-02 Richard Stallman + + * xselect.c (wait_for_property_change): Avoid unlikely timing error. + + * keyboard.c (kbd_buffer_get_event, swallow_events): + Remove selection_request event from input queue before processing it. + +1995-02-01 Karl Heuer + + * macros.c (Fexecute_kbd_macro): Clear prefix arg here. + * keyboard.c (cmd_error): And here. + (command_loop_1): Not here. + (command_loop_1): Save original perdisplay in case we're already + locked to a particular display. + Move display-specific cleanup to end of main loop. + Use perdisplay to access prefix arg. + (Fcommand_execute, Fexecute_extended_command): Use perdisplay. + +1995-02-01 Richard Stallman + + * xterm.c (x_unqueue_events): Arg is now a Display *. + (x_start_queuing_selection_requests): Likewise. + (x_stop_queuing_selection_requests): Likewise. + * xselect.c (x_get_foreign_selection): Pass display to + x_start_queueing_selection_events and x_stop_queueing_selection_events. + + * xselect.c (x_reply_selection_request): Call + x_start_queueing_selection_events and x_stop_queueing_selection_events. + Handle X protocol errors. + +1995-01-31 Karl Heuer + + * callint.c (Fcall_interactively): Use perdisplay. + (Vprefix_arg, Vcurrent_prefix_arg): Delete vars; now in perdisplay. + (syms_of_callint): Use DEFVAR_DISPLAY for prefix-arg and + current-prefix-arg. + * minibuf.c (read_minibuf, read_minibuf_unwind): Use perdisplay. + * mocklisp.c (Fml_provide_prefix_argument): Use perdisplay. + (Fml_prefix_argument_loop): Likewise. + * lisp.h (current_perdisplay): New var. + (DEFVAR_DISPLAY): Add missing ampersand. + (Vprefix_arg, Vcurrent_prefix_arg): Delete; now in perdisplay. + + * lread.c [!MULTI_PERDISPLAY] (defvar_display): Use staticpro. + +1995-01-31 Richard Stallman + + * emacs.c (main) [REL_ALLOC]: Set __malloc_extra_blocks. + +1995-01-30 Richard Stallman + + * buffer.c (syms_of_buffer): overwrite-mode doc fix. + +1995-01-30 Karl Heuer + + * lisp.h [MULTI_PERDISPLAY]: Declare get_perdisplay as a function. + * xterm.c [MULTI_PERDISPLAY] (get_perdisplay): Define this as an + exported function. + * xterm.h [MULTI_PERDISPLAY] (get_perdisplay): Define this as a + macro, for sources that include this header. + [MULTI_PERDISPLAY] (get_perdisplay_macro): Internal macro version. + + * lisp.h (DEFVAR_DISPLAY): New macro. + * lread.c (defvar_display): New function. + + * lisp.h: Declare store_symval_forwarding here. + * eval.c (specbind): Not here. + (specbind): Handle display-local vars. + * data.c (do_symval_forwarding): Handle display-local vars. + (store_symval_forwarding, find_symbol_value): Likewise. + (Fmake_variable_buffer_local): Disallow display-local vars here. + (Fmake_local_variable): Likewise. + + * keyboard.c (syms_of_keyboard): Fix missing backslashes. + +1995-01-29 Richard Stallman + + * fns.c (Frassoc): New function. + (syms_of_fns): defsubr it. + +1995-01-28 Richard Stallman + + * ecrt0.c: Renamed from crt0.c. + * Makefile.in.in (ecrt0.o): Target renamed from crt0.o. + (START_FILES): Use ecrt0.o. + +1995-01-27 Karl Heuer + + * lisp.h (PERDISPLAY, the_only_perdisplay, get_perdisplay): + Renamed from PERD, etc. All uses changed. + (ECHOBUFSIZE): New constant, replaces sizeof (echobuf). + (enum Lisp_Misc_Type): New enumeration Lisp_Misc_Display_Local. + (struct Lisp_Display_Objfwd): New structure. + (XDISPLAY_OBJFWD, DISPLAY_OBJFWDP): Access the new structure. + (union Lisp_Misc): Add new member. + * keyboard.c (kbd_buffer_frame_or_window): Delete; now in perdisplay. + (immediate_echo, echobuf, echoptr, echo_after_prompt): Likewise. + (echo_prompt, echo_char, echo_dash): use perdisplay and ECHOBUFSIZE. + (echo, cancel_echoing, echo_length, echo_truncate): Likewise. + (read_char, kbd_buffer_store_event, kbd_buffer_get_event): Likewise. + (Fdiscard_input, stuff_buffered_input): Likewise. + (init_keyboard, syms_of_keyboard): Likewise. + * alloc.c (mark_object): Ignore Lisp_Misc_Display_Objfwd objects. + * print.c (print): Handle internal display-local object. + * .gdbinit (xdispobjfwd): New macro. + + * xdisp.c (message_log_need_newline): This var is now static. + (message_dolog): Set message_log_need_newline appropriately. + Don't change it at all if message logging is currently disabled. + (message_log_maybe_newline): New function. + (message2): Use message_log_maybe_newline. + * print.c (printchar, strout): Use message_log_maybe_newline. + Leave all of the newline bookkeeping to message_dolog. + * lisp.h (message_log_maybe_newline): Function declared. + + * xdisp.c (message_dolog): Rename " *Messages*" buffer to "*Messages*" + +1995-01-27 Richard Stallman + + * minibuf.c (Fread_string): Add third arg HISTORY. + * callint.c (Fcall_interactively): Pass new arg to Fread_string. + +1995-01-27 Richard Stallman + + * insdel.c (modify_region): Clear point_before_scroll field. + +1995-01-25 Richard Stallman + + * buffer.h (struct buffer): New field point_before_scroll. + * buffer.c (init_buffer_once, syms_of_buffer): + Set up buffer-local var point_before_scroll. + (reset_buffer): Init point_before_scroll. + * intervals.c (set_point): Set point_before_scroll to nil. + +1995-01-24 Karl Heuer + + * lisp.h (PERD): New struct containing per-display data. + (the_only_perd): Declare an instance of it. + (get_perd): Macro to retrieve it. + * keyboard.c (the_only_perd): Define this var here. + (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Delete; now part of perd. + (find_active_event_queue): New function. + (readable_events, kbd_buffer_get_event, swallow_events): Use it. + (kbd_buffer_store_event): Store in EVENT's frame's queue. + (Fdiscard_input, stuff_buffered_input): Use perd. + (init_keyboard): Initialize the new vars. + kbd_buffer is now a pointer, not an array. + * xterm.h (struct x_display_info): New member display_perd. + + * process.c (process_tick, update_tick): Make non-static. + +1995-01-24 Richard Stallman + + * keyboard.c (read_key_sequence): New arg dont_downcase_last + inhibits downcasing the last event, when it's uppercase and undefined. + (Fread_key_sequence): Likewise new arg. + * callint.c (Fcall_interactively): Define K mostly like k. + Pass new arg to Fread_key_sequence. + * keymap.c (Flocal_set_key, Fglobal_set_key): Use K, not k, to read key seq arg. + +1995-01-23 Karl Heuer + + * indent.c (compute_motion): Don't get hung in selective-display loop. + + * syssignal.h: Don't use function prototypes. + + * keyboard.c (read_key_sequence): Don't wait for a possible key + translation sequence if we already have a binding. + Add missing break statement. + + * sysselect.h: New file, mostly extracted from process.c and xterm.c. + * process.c: #include sysselect.h instead of defining things by hand. + * sysdep.c (sys_select): Renamed from select. Use SELECT_TYPE + instead of int. Defer to native select if that function is usable. + * config.h (HAVE_SYS_SELECT_H): Add #undef for configure. + * s/isc3-0.h (BROKEN_SELECT_NON_X): #define this. + + * s/isc3-0.h [__GNUC__] (POSIX_SIGNALS): #define this. + [__GNUC__] (sigsetmask, HAVE_SYSV_SIGPAUSE): #undef these. + (LIBX11_SYSTEM): Don't use -lc; loading this before -lcposix gives + us the wrong signal functions. + (C_SWITCH_SYSTEM): Add _XOPEN_SOURCE. + (EXTRA_INITIALIZE): Make conditional on __GNUC__. + +1995-01-22 Richard Stallman + + * minibuf.c (read_minibuf): Don't print the prompt in batch mode. + + * emacs.c (sort_args): Ordinary args get priority 0. + So do -f, -l, -insert, etc. --kill gets negative priority. + Everything else gets positive priority. + +1995-01-21 Richard Stallman + + * xterm.c (x_destroy_window): Don't let frame being destroyed + remain in x_focus_event_frame. + +1995-01-21 Richard Stallman + + * config.h.in [NO_REMAP]: #undef static. + +1995-01-20 Karl Heuer + + * lisp.h (union Lisp_Misc): Make the `type' field just 16 bits, + to match the substructures. + +1995-01-20 Morten Welinder + + * fileio.c (file_name_as_directory, Ffile_name_directory) + (Ffile_name_nondirectory): Delete special MSDOG code now covered by macros. + + * s/msdos.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined. + + * msdos.c (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate) + (XMenuActivate, XMenuDestroy): Add dummy `display *' argument. + + * xmenu.c [MSDOS]: #include msdos.h. + * msdos.h (x_mouse_leave): Add neutralizing define. + (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate) + (XMenuActivate, XMenuDestroy): Add prototype. + * Makefile.in.in (xmenu.o): Add msdos.h as dependency. + + * buffer.c (syms_of_buffer) [DOS_NT]: Add missing ';'. + +1995-01-19 Karl Heuer + + * textprop.c (Ftext_property_any): Handle the trivial case specially. + + * sysdep.c (seed_random): Renamed from srandom. + (get_random): Renamed from random. Return VALBITS random bits. + * fns.c (Frandom): Call seed_random and get_random. + + * print.c (print): Print internal types too, for debugging. + Print appropriate message for invalid pseudovector or misc type. + + * .gdbinit (xboolfwd, xbuflocal, xbufobjfwd, xcompiled): New macros. + (xintfwd, xmiscfree, xobjfwd, xoverlay, xwinconfig): New macros. + +1995-01-19 Abramo Bagnara + + * term.c (term_get_fkeys_1): Bug fix for function key above f19. + +1995-01-18 Richard Stallman + + * editfns.c (subst_char_in_region_unwind): New function. + (Fsubst_char_in_region): Use it to make undo_list t temporarily. + + * buffer.c (Fbuffer_local_variables): Unconditionally call + find_symbol_value, but conditionally use its value. + + * xrdb.c: Don't include sys/param.h. + (MAXPATHLEN): Definition deleted. + +1995-01-18 Boris Goldowsky + + * cmds.c (internal_self_insert): Don't test current_column + when deciding to call auto_fill_function. + +1995-01-18 Karl Heuer + + * lisp.h (SWITCH_ENUM_CAST): New macro. + * alloc.c, data.c, keyboard.c, syntax.c, xdisp.c: Change all + occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead. + +1995-01-18 Richard Stallman + + * window.c (Qtemp_buffer_show_hook): New hook. + (syms_of_window): Init and staticpro it. + (temp_output_buffer_show): Run the hook. + +1995-01-16 Karl Heuer + + * xdisp.c (message_dolog): Ignore narrowing. + Use low-level functions, to bypass modification and motion hooks. + + * window.h (struct window): New member column_number_displayed. + * xdisp.c (redisplay): Use that field instead of a global flag. + (redisplay_window, display_mode_line, decode_mode_spec): Likewise. + + * cm.c (cmcheckmagic): New function. + * cm.h: Declare it. + * term.c (write_glyphs, insert_glyphs): Call it. + +1995-01-16 Richard Stallman + + * keyboard.c (kbd_buffer_store_event): Cast arg of bcopy. + +1995-01-15 Roland McGrath + + * ralloc.c (r_alloc_init): Remove unused variable END. + +1995-01-13 Karl Heuer + + * alloc.c (Fpurecopy): Mask size field when copying pseudovector. + +1994-01-12 Boris Goldowsky + + * lisp.h: Declare Qrear_nonsticky. + + * cmds.c (Vuse_hard_newlines): New variable. + (Fnewline): If use_hard_newlines is on, mark inserted + newline(s) with `hard' property, marked rear-nonsticky. + +1994-01-12 Tom Tromey + + * buffer.c (list_buffers_1, Flist_buffers): Functions deleted. + +1995-01-12 Karl Heuer + + * xdisp.c (message_log_need_newline): New var. + (message_dolog): New function, extracted from message2. + * print.c (printchar, strout): Call message_dolog. + * lisp.h: Declare message_dolog. + + * alloc.c (DONT_COPY_FLAG): Default this to 1. + Check to make sure it's not the same as MARKBIT. + (mark_object): Use the same XOR expression as elsewhere. + (gc_sweep): Don't touch DONT_COPY_FLAG here; this one is a real + size field, not a mangled pointer. + + * fns.c (internal_equal): Delete redundant tests. + Mask size field when comparing pseudovectors. + + * fns.c (Frandom): Use VALBITS instead of hardcoded constants. + +1995-01-10 Karl Heuer + + * alloc.c (DONT_COPY_FLAG): Fix typo. + + * lisp.h: Use large constants for Lisp_Misc_Type. + + * lisp.h: Add some function declarations. + * insdel.c: Declare all non-returning functions `void'. + (insert_1): Make non-static. New arg PREPARE. All callers changed. + * xdisp.c (Vmessage_log_max): New var. + (syms_of_xdisp): defvar and initialize it. + (message2_nolog): Renamed from message2. + (message2): Log messages, then call message2_nolog. + (message1_nolog): New function. + * keyboard.c (echo): Don't log the key echoes. + * alloc.c (Fgarbage_collect): Don't log the GC message. + +1995-01-10 Richard Stallman + + * emacs.c (main): Handle SIGABRT, SIGHWE, SIGPRE, SIGORE, SIGDLK, + SIGCPULIM, if they are defined. + + * alloc.c (DONT_COPY_FLAG): New bit flag. + (mark_object, gc_sweep, compact_strings): Use it. + +1995-01-10 Karl Heuer + + * editfns.c (Finsert_char): Check inherit flag for long strings too. + + * editfns.c (Fnarrow_to_region): Swap using temp Lisp_Object, not int. + +1995-01-10 Richard Stallman + + * keyboard.c (syms_of_keyboard): Doc fix. + + * unexsunos4.c (unexec): Cast value of sbrk. + (run_time_remap): Cast arg to brk. + (brk_value): Renamed from Brk. + (is_it): Cast 1st arg of mmap. + +1995-01-09 Richard Stallman + + * keyboard.c (read_key_sequence): If first event is mouse click, + use the text property keymap from where the click was. + New local var orig_local_map. + +1995-01-09 Karl Heuer + + * window.c (Fscroll_other_window): On small windows, scroll by 1 line. + +1995-01-09 Richard Stallman + + * fns.c (internal_equal): Once again use a switch. + + * lisp.h (struct Lisp_Free, struct Lisp_Marker, etc.): + Make the `type' field just 16 bits, and declare as int. + Add explicit spacer field after it. + (struct Lisp_Marker): New field insertion_type. + +1995-01-08 Richard Stallman + + * keymap.c (store_in_keymap): Copy a cons only if car is a string. + + * xterm.c: Don't include param.h. + + * buffer.c (syms_of_buffer): Doc fix. + +1995-01-06 Karl Heuer + + * m/alliant-2800.h (VALBITS, GCTYPEBITS): Deleted; default is better. + * m/apollo.h, m/aviion.h, m/delta.h, m/hp800.h, m/ibmrt.h: Likewise. + * m/intel386.h, m/nh4000.h, m/tower32v3.h: Likewise. + * m/att3b.h (VALBITS, XTYPE): Adjust for new bit layout. + * m/alpha.h, m/gec63.h, m/pfa50.h: Likewise. + +1995-01-05 Richard Stallman + + * frame.c [!MULTI_FRAME] (window_frame): New function. + [!MULTI_FRAME] (syms_of_frame): defsubr it. + +1995-01-05 Roland McGrath + + * doc.c (store_function_docstring, Fdocumentation): Use & + PSEUDOVECTOR_SIZE_MASK on `size' field of compiled byte-code object. + * callint.c (Fcall_interactively): Likewise. + * eval.c (Fcommandp): Likewise. + +1995-01-04 Karl Heuer + + * alloc.c (mark_object, mark_buffer): Don't mark buffer twice. + + * .gdbinit (xint, xcar, xcdr): Use correct shift and mask values. + + * lisp.h [EXPLICIT_SIGN_EXTEND] (XINT): Use symbolic constants. + +1995-01-04 Richard Stallman + + * doc.c (store_function_docstring): Arg is now EMACS_INT. + +1995-01-02 Karl Heuer + + * lisp.h (enum Lisp_Type): Don't use trailing comma. + (VALBITS, GCTYPEBITS): Define these regardless of NO_UNION_TYPE. + [!NO_UNION_TYPE] (union Lisp_Object): Use symbolic constants. + + * alloc.c (mark_object): Make `else' visible outside MULTI_FRAME. + +1995-01-02 Richard Stallman + + * keymap.c (store_in_keymap): While dumping, copy DEF if it's a cons. + + * buffer.c (reset_buffer): Don't alter intervals here. + (Fget_buffer_create): Use BUF_MARKERS. Init BUF_INTERVALS here. + (Fkill_buffer): Use BUF_MARKERS; but don't touch it in indir buf. + Likewise BUF_INTERVALS. Don't free the text in indirect buffer. + When killing a base buffer, kill its indirect buffers first. + (init_buffer_once): Set up .text and BUF_INTERVALS + in buffer_local_symbols and buffer_defaults. + + * alloc.c (mark_buffer, gc_sweep): Use BUF_INTERVALS. + * editfns.c (Ftranspose_regions): Use BUF_INTERVALS. + (transpose_markers): Use BUF_MARKERS. + + * insdel.c (insert_1, prepare_to_modify_buffer, insert_from_buffer_1): + Use BUF_INTERVALS. + (adjust_markers): Use BUF_MARKERS. + + * buffer.h (struct buffer): Fields markers and intervals moved out. + (struct buffer_text): Fields markers and intervals moved here. + (BUF_MARKERS, BUF_INTERVALS): New macros. + * textprop.c (validate_interval_range): Use BUF_INTERVALS. + * intervals.c: Use BUF_INTERVALS throughout. + * marker.c: Use BUF_MARKERS throughout. + + * undo.c (Fprimitive_undo): Use base buffer's modtime field. + +1995-01-01 Richard Stallman + + * .gdbinit: Adapt to new Lisp_Object format. + (xvectype, xmisctype): New commands. + (xtype): Print the misc or vectorlike subtype too. + + * xdisp.c (redisplay_window): Call set_buffer_temp. + + * buffer.c (set_buffer_temp): New function. + + * buffer.h (struct buffer): Make buffer_file_type field unconditional. + * buffer.c (reset_buffer_local_variables): Initialize + buffer_file_type field. + + * lisp.h (PVEC_BUFFER, PVEC_PROCESS, PVEC_FRAME, PVEC_COMPILED) + (PVEC_WINDOW, PVEC_WINDOW_CONFIGURATION, PVEC_SUBR): + Now enumeration constants, not macros. + (PVEC_FLAG): Enumeration alias for PSEUDOVECTOR_FLAG. + + * buffer.h (struct buffer): save_modiff field deleted. + (struct buffer_text): save_modiff field moved here. + (SAVE_MODIFF, BUF_SAVE_MODIFF): New macros. + Use them instead of direct access to save_modiff field. + * buffer.c, editfns.c, fileio.c, filelock.c, insdel.c, keyboard.c: + * undo.c, xdisp.c: Use SAVE_MODIFF and BUF_SAVE_MODIFF + instead of direct access to the save_modiff field. + * window.c (temp_output_buffer_show): Use BUF_SAVE_MODIFF. + + * buffer.h (struct buffer): New field pt_marker. + New fields begv_marker, zv_marker. + * buffer.c (Fget_buffer_create): Initialize pt_marker, begv/zv_marker. + (set_buffer_internal): Use and update this markers. + Copy undo_list in and out of the base buffer. + (Fget_buffer_create): Init save_modiff field here. + (reset_buffer): Not here. + (Fbuffer_modified_p): Use BUF_SAVE_MODIFF. + (Fset_buffer_modified_p): Use SAVE_MODIFF. + (Fkill_buffer, list_buffers_1): Use BUF_SAVE_MODIFF. + + * term.c (term_init): Fatal error if screen is too small. + +1994-12-31 Richard Stallman + + * xdisp.c (redisplay_window): For buffer_shared count, + treat an indirect buffer as equivalent to its base. + + * print.c (print): Don't drop thru to error for markers and overlays. + +1994-12-30 Richard Stallman + + * insdel.c (adjust_point): Use BUF_PT. + + * intervals.c (temp_set_point, set_point): Use BUF_PT. + (get_local_map): Get keymap from specified buffer, not current one. + + * fileio.c (Finsert_file_contents, Fwrite_region): + Error if buffer is indirect. + (Fdo_auto_save): Do nothing for an indirect buffer. + + * alloc.c (mark_buffer): In indirect buffer, mark the base buffer. + + * buffer.c (Fmake_indirect_buffer): New function. + (Fbuffer_base_buffer): New function. + (syms_of_buffer): defsubr them. + (Fget_buffer_create): Initialize the size field. + + * print.c (print): Make buffer case a branch of + the Lisp_Vectorlike case. + + * alloc.c (mark_object): Make buffer case a branch of + the Lisp_Vectorlike case. + + * buffer.h (struct buffer): Make text field be a pointer. + The struct buffer_text field renamed to own_text. + Add fields indirect_to_buffer and size. + Move pt, begv and zv fields here. + (struct buffer_text): Moved from here. + (BEGV, PT, ZV, BEGV_ADDR, PT_ADDR, ZV_ADDR): Corresponding changes. + (BUF_BEGV, BUF_PT, BUF_ZV): Corresponding changes. + (SET_BUF_ZV, SET_BUF_PT, point): + + * lisp.h (XSETBUFFER, BUFFERP, GC_BUFFERP): Rewrite: use pseudovectors. + (enum Lisp_Type): Delete Lisp_Buffer. + (enum Lisp_Misc_Type): Add Lisp_Misc_Float (not yet used). + +1994-12-29 Richard Stallman + + * lisp.h (VALBITS): Default now 28. + (GCTYPEBITS): Default now 3. + + * lisp.h (enum Lisp_Type): Lisp_Process, Lisp_Window, Lisp_Frame, + Lisp_Subr deleted. + (PSEUDOVECTORP, GC_PSEUDOVECTORP): Add paren for proper nesting. + (PROCESSP, GC_PROCESSP, XSETPROCESS): Rewrite to use pseudovectors. + (WINDOWP, GC_WINDOWP, XSETWINDOW): Likewise. + (FRAMEP, GC_FRAMEP): Likewise. + (SUBRP, GC_SUBRP, XSETSUBR): Likewise. + (PVEC_SUBR): New macro. + (struct Lisp_Subr): Add a size field. + (DEFUN (both definitions)): Store that size field. + + * frame.h (XSETFRAME): Use pseudovector. + + * alloc.c (mark_object): Don't use Lisp_Process, Lisp_Window. + Handle frames, compileds and subrs as branch of Lisp_Vectorlike case. + (Fmake_byte_code): Use XSETCOMPILED. + + * data.c (Faref): Handle compiled function as pseudovector. + + * fns.c (Flength): Handle compiled function as pseudovector. + + * xterm.c (x_scroll_bar_handle_click): Use GC_WINDOWP. + (XTframe_rehighlight, x_window_to_scroll_bar): Use GC_FRAMEP. + + * print.c (print): Get size of compiled function as pseudovector. + Use a switch statement again. + + * process.h: Make size field an EMACS_INT. + +1994-12-28 Richard Stallman + + * unexsunos4.c [! sparc] (REL_INFO_TYPE): Use `struct relocation_info'. + +1994-12-27 Richard Stallman + + * keyboard.c (make_lispy_event) [USE_X_TOOLKIT]: Turn off + special handling of menu bar mouse events. + (make_lispy_event): Tell pixel_to_glyph_coords not to clip. + + * xterm.c (XTupdate_begin): Fix backward test in previous change. + (x_display_box_cursor): Don't redraw old cursor spot in mouse face + if cursor was on a newline. + + * s/isc4-1.h: New file. + +1994-12-26 Richard Stallman + + * xterm.c (XTread_socket): Handle button events from outside + the frame, received due to grabbing the mouse with a button. + +1994-12-25 Richard Stallman + + * callint.c (Vmouse_leave_buffer_hook, Qmouse_leave_buffer_hook): + New variables. + (syms_of_callint): Set them up. + (Fcall_interactively): Run the hook, for `@'. + + * buffer.c (syms_of_buffer): Doc fix for buffer-file-type. + + * search.c (set_search_regs): Really set search_regs.start and .end. + (save_search_regs): Set them to 0 here. + + * minibuf.c (read_minibuf): GCPRO things. + + * lisp.h (enum Lisp_Type): Add Lisp_Type_Limit. + * data.c (wrong_type_argument): Abort if VALUE is invalid Lisp object. + Use Lisp_Type_Limit. + +1994-12-24 Richard Stallman + + * puresize.h (BASE_PURESIZE): Incremented by 20k. + +1994-12-23 Richard Stallman + + * xfns.c (x_figure_window_size): Treat missing user-position parm + as nil. + +1994-12-23 Steven Suhr + + * scroll.c (scrolling_1): When scroll_region_ok is set, use a + new scrolling method which scrolls groups of lines directly + to their final vertical positions. + (struct matrix_elt): New field writecount. + (calculate_direct_scrolling): New function. + (do_direct_scrolling): New function. + + * term.c (scroll_region_cost): New variable. + (calculate_costs): Put scroll region overhead in scroll_region_cost. + + * termchar.h (scroll_region_cost): Declared. + + * dispnew.c (scrolling): Fewer restrictions if scroll_region_ok is + set. New vector old_draw_cost for direct scrolling method. + +1994-12-23 Michal Jankowski (Michal.Jankowski@fuw.edu.pl) + + * keyboard.c (read_char): Don't echo keys when echo_keystrokes is 0. + +1994-12-22 Richard Stallman + + * xfns.c (x_set_frame_parameters): Handle icon-left, icon-top parms. + +1994-12-21 Richard Stallman + + * buffer.c (Fget_buffer_create): Copy the name, and clear text props. + +1994-12-20 Richard Stallman + + * eval.c (Fdefvar): Fix minor error in previous change. + (funcall_lambda): Fetch bytecode and constants vector from file if nec. + + * lread.c (Qload_file_name, Vload_file_name): New variables. + (syms_of_lread): Initialize and staticpro it. + (Fload): Bind it. + (read_list): Before dumping, ignore (#$ . WHATEVER)--return 0. + + * lread.c (read1): Implement #@ and #$ constructs. + + * frame.c (make_frame): Init buffer_predicate field. + + * doc.c (get_doc_string): Now static. Arg now Lisp_Object. + Allow (FILE . POS) as position argument. + (Fdocumentation, Fdocumentation_property): Fix calls to get_doc_string. + (Fdocumentation_property): Handle cons as value via get_doc_string. + (read_doc_string): New function. + + * buffer.c (assoc_ignore_text_properties): New function. + (Fget_buffer): Use assoc_ignore_text_properties. + +1994-12-19 Richard Stallman + + * s/dgux.h (C_DEBUG_SWITCH): Define this only if __GNUC__. + +1994-12-18 Richard Stallman + + * buffer.c (Fother_buffer): Take account of frame's buffer predicate. + + * frame.h (struct frame): New field buffer_predicate. + Move all the Lisp_Object fields to the top. + + * frame.c (Fmodify_frame_parameters): For non-X frames, + call store_frame_param for each parameter set. + (store_frame_param): Handle buffer_predicate field. + (frame_buffer_predicate): New function. + (Qbuffer_predicate): New variable. + (syms_of_frame): Set it up. + + * alloc.c (mark_object): In a frame, mark the buffer_predicate. + Don't mark the height and width fields. + +1994-12-15 Richard Stallman + + * minibuf.c (Fall_completions): New arg hide_spaces. + (Fminibuffer_completion_help): Pass new arg. + +1994-12-14 Richard Stallman + + * emacs.c (main): Fix conversion of --display to -d. + + * xmenu.c (push_menu_item): New arg DEF. + (single_keymap_panes, list_of_items): Pass new arg. + (MENU_ITEMS_ITEM_DEFINITION): New macro. + (MENU_ITEMS_ITEM_LENGTH): Now 5. + [USE_X_TOOLKIT] (xmenu_show): Store 0 in call_data if item def is 0. + (single_submenu): Likewise. + + * emacs.c (main): Implement --version. + + * xterm.c (XTupdate_begin): Discard records of prior mouse highlight + when frame must be redrawn. + + * textprop.c (add_properties): Add gcpro's. + (Fadd_text_properties, copy_text_properties): Likewise. + +1994-12-13 Richard Stallman + + * s/sunos4-1-3.h: Just include sunos4shr--do nothing else. + + * eval.c (Fdefconst, Fdefvar): Error if too many arguments. + +1994-12-13 Richard Stallman + + * emacs.c (sort_args): Make `options' a vector of ints. + +1994-12-11 Richard Stallman + + * buffer.c (report_overlay_modification): Renamed from + verify_overlay_modification. + * insdel.c: Calls changed. + + * insdel.c (signal_before_change, signal_after_change): + Call verify_overlay_modification here. + (prepare_to_modify_buffer): Don't call verify_overlay_modification. + + * buffer.c (call_overlay_mod_hooks): New args AFTER, ARG1, ARG2, ARG3. + Args START, END deleted. Pass each function AFTER, ARG1 and ARG2, + and ARG3 if ARG3 is not nil. + (verify_overlay_modification): New args AFTER, ARG1, ARG2, ARG3. + Pass them to call_overlay_mod_hooks. + + * search.c (compile_pattern): Call re_set_registers here. + And no need to BLOCK_INPUT for that. + (compile_pattern_1): Instead of here. + +1994-12-10 Richard Stallman + + * s/aix4-1.h: New file. + + * unexaix.c (unrelocate_symbols): Add AIX4_1 conditionals and code. + + * sysdep.c (sys_siglist) [AIX]: Add AIXHFT conditional. + + * systty.h: Change AIX conditional around HFNKEYS to AIXHFT. + +1994-12-09 Richard Stallman + + * bytecode.c (Fbyte_code): Call Ffollowing_char and Fprevious_char + as functions. Don't mask char-syntax arg to just 8 bits. + +1994-12-08 Richard Stallman + + * keyboard.c (read_char): After auto-saving, redisplay. + +1994-12-06 Richard Stallman + + * xfns.c (Fx_color_values): Doc fix. + + * buffer.c (list_buffers_1): Right-align the size values. + + * frame.h (struct frame): New field cost_calculation_baud_rate. + (FRAME_COST_BAUD_RATE): New macro. + * term.c (calculate_costs): Set FRAME_COST_BAUD_RATE. + Don't test dont_calculate_costs. + (dont_calculate_costs): Variable deleted. + (term_init): Don't set dont_calculate_costs. + * dispnew.c (update_frame): Call calculate_costs if baud_rate changed. + +1994-12-05 Karl Heuer + + * emacs.c (sort_args): Don't overwrite the terminating null pointer. + +1994-12-05 Richard Stallman + + * keyboard.c (read_key_sequence): Downcase undefined shifted fn keys. + +1994-12-04 Richard Stallman + + * emacs.c (argmatch): Take argc as arg; don't go past end of argv. + (main): Change calls to argmatch. + + * intervals.h (INTERVAL_LAST_POS): Don't subtract 1 here. + + * intervals.c (compare_string_intervals): New function. + * fns.c (internal_equal): Call compare_string_intervals. + (Fstring_equal): Doc fix. + + * scroll.c (scroll_cost): FRAME_DELETE_COST and FRAME_DELETEN_COSTS + were confused. Fixed. + + * xterm.c (x_make_frame_visible, x_make_frame_invisible) + (x_iconify_frame): Give error if frame has explicit_parent. + (x_new_font): Don't set window height if frame has explicit_parent. + + * xfns.c (Fx_create_frame): Check for parent-id parameter. + Set explicit_parent and parent fields. + Don't set visibility if explicit_parent. + [! USE_X_TOOLKIT] (x_window): Specify parent window. + + * xterm.h (struct x_display): New field explicit_parent. + + * s/ultrix4-3.h (SET_LINE_DISCIPLINE): Defined. + + * sysdep.c (child_setup_tty): Use CDISABLE for setting VERASE, VKILL. + (init_sys_modes) [SET_LINE_DISCIPLINE]: Set specified line discipline. + (reset_sys_modes) [SET_LINE_DISCIPLINE]: Restore old line discipline. + +1994-12-03 Richard Stallman + + * lread.c (readevalloop): Ignore ^M here. + + * emacs.c (argmatch): Handle lstr == 0. + +1994-11-28 Richard Stallman + + * regex.c (re_match_2_internal): + Rename label `succeed' to `succed_label'. + + * xfns.c (Fx_synchronize): Fix doc string syntax. + + * xmenu.c: Don't include ../oldXMenu/XMenu.h if USE_X_TOOLKIT. + + * Makefile.in.in: Fix erroneous comment syntax. + + * s/ultrix4-3.h: New file. + + * systty.h: Have just one conditional to include unistd.h. + Test NEED_UNISTD_H, not AIX and IRIX4. + (UNISTD_H_INCLUDED): Don't define or test this. + * m/ibm370aix.h (NEED_UNISTD_H): Defined. + * s/aix3-1.h (NEED_UNISTD_H): Defined. + * s/irix4-0.h (NEED_UNISTD_H): Defined. + + * fileio.c (internal_delete_file, internal_delete_file_1): + New functions. + * buffer.c (Fkill_buffer): Use internal_delete_file. + * callproc.c (delete_temp_file): Use internal_delete_file. + +1994-11-25 Roland McGrath + + * search.c (search_regs_saved): Don't initialize; it dumps as pure. + +1994-11-24 Francesco Potorti` + + * m/delta.h (C_SWITCH_MACHINE): -inline-functions removed, + because the compiler shipped with R3V7 is not stable. + +1994-11-24 Richard Stallman + + * keyboard.c (command_loop_1): Use safe_run_hooks to run + deferred-action-function. + (Qdeferred_action_function): New variable. + (syms_of_keyboard): Initialize and staticpro Qdeferred_action_function. + +1994-11-23 Richard Stallman + + * keyboard.c (syms_of_keyboard): Doc fix. + + * fns.c (Fy_or_n_p): Handle exit-prefix in query-replace-map. + +1994-11-22 Richard Stallman + + * search.c (save_search_regs): Add declaration. + + * minibuf.c (Fminibuffer_complete_and_exit): + Catch errors in do_completion. + (complete_and_exit_1, complete_and_exit_2): New subroutines. + + * s/aix4.h: New file. + * s/aix3-1.h (AIXHFT): Defined. + * m/ibmrs6000.h (OBJECTS_MACHINE): Define only if AIXHFT. + + * sysdep.c (init_sys_modes): Tes AIXHFT, not AIX. + (reset_sys_modes): Test AIXHFT. + (hft_init, hft_reset): Test AIXHFT, not AIX. + +1994-11-21 Richard Stallman + + * window.c (Fdisplay_buffer): Use `b' to read existing buffer name. + +1994-11-21 David J. MacKenzie (djm@mole.gnu.ai.mit.edu) + + * config.h.in: Add #undefs for --with-pop, --with-kerberos, and + --with-hesiod. + +1994-11-19 Francesco Potorti` + + * lisp.h: (running_asynch_code): New global flag. + * emacs.c (running_asynch_code): New global flag. + (main): Initialise it. + * process.c (read_process_output, exec_sentinel): Set and + reset the running_asynch_code global flag and restore match data. + + * search.c (Flooking_at, Fstring_match, search_buffer, + Fstore_match_data): Save the match data if a filter or a sentinel + is running. + (search_regs_saved, saved_search_regs): New variables. + (save_search_regs, restore_match_data): New functions. + +1994-11-19 Richard Stallman + + * emacs.c (sort_args): New function. + (main): Call sort_args. + Check for -d/-display after -nw, -batch, -help. + Accept --display, with arg attached or separate. + +1994-11-18 Richard Stallman + + * filelock.c (init_filelock): Add missing semicolon. + +1994-11-18 Karl Heuer + + * indent.c (recompute_width_table): Do the right thing if no previous + table existed. + Fix Lisp_Object vs. integer problem. + (width_run_cache_on_off): Let recompute_width_table create the vector. + +1994-11-17 Karl Heuer + + * lisp.h: (enum Lisp_Misc_Type): Rename Lisp_Vector to + Lisp_Vectorlike. Mark Lisp_Window_Configuration as obsolete. + (PSEUDOVECTOR_FLAG, PSEUDOVECTOR_SIZE_MASK, PVEC_BUFFER, + PVEC_PROCESS, PVEC_FRAME, PVEC_COMPILED, PVEC_WINDOW, + PVEC_WINDOW_CONFIGURATION): New constants. + (XSETPSEUDOVECTOR, PSEUDOVECTORP, VECTORLIKEP): New macros. + (XSETVECTOR, XSETWINDOW_CONFIGURATION, VECTORP, + WINDOW_CONFIGURATIONP): Use the new convention. + (XSETCOMPILED): New macro. + * print.c (print): Use type test macros. + * keymap.c (Fsingle_key_description): Likewise. + * doc.c (Fdocumentation): Likewise. + * alloc.c (Fpurecopy): Likewise. + (mark_object): Use the new pseudovector convention. + * fns.c (Fvconcat, concat): Use Lisp_Vectorlike. + * ntinevt.c (SET_FRAME): Use accessor macros. + (key_event, do_mouse_event): Likewise. + +1994-11-17 Richard Stallman + + * filelock.c (init_filelock): Always copy lock_path. + (lock_dir, superlock_file, MAKE_LOCK_NAME): + Renamed from lock_path, superlock_path, MAKE_LOCK_PATH. + +1994-11-16 Richard Stallman + + * s/domain.h: New file. + +1994-11-16 Roland McGrath + + * s/gnu.h [NOT_C_CODE]: Include fcntl.h. + +1994-11-16 Richard Stallman + + * xdisp.c (try_window, display_text_line): Undo previous change. + + * dired.c (Fdirectory_files): Pass new arg to `compile_pattern'. + + * search.c (struct regexp_cache): New field `posix'. + (compile_pattern_1): New arg `posix'. Controls the syntax spec + for parsing; also record it in the cache. + (compile_pattern): New arg `posix'. + (looking_at_1, string_match_1, fast_string_match): Pass 0 for new arg. + (search_buffer): New arg `posix'. Now static. + (search_command): New arg `posix'. All callers changed. + (Fposix_search_forward, Fposix_search_backward): New functions. + (string_match_1, looking_at_1): New subroutines broken out. + (Fstring_match, Flooking_at): Use them. + (Fposix_string_match, Fposix_looking_at): New functions. + (syms_of_search): defsubr new functions. + +1994-11-16 Roland McGrath + + * xdisp.c (try_window): Don't pass window to Fget_char_property; + pass its buffer. + (display_text_line): Likewise. + +1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it) + + * Makefile.in.in (TAGS): The new etags allows tagging DEFVARs. + +1994-11-15 Richard Stallman + + * lread.c (Fload): Call Fsubstitute_in_file_name after trying handler. + + * fileio.c (Fread_file_name_internal): Protect orig_string. + +1994-11-15 enami tsugutomo + + * keyboard.c (Fopen_dribble_file): Call fclose only when + dribble is non zero. + +1994-11-15 Karl Heuer + + * keymap.c (access_keymap): Use type test macros. + + * alloc.c (Fmake_vector): Call allocate_vectorlike. + (allocate_vectorlike): New function, extracted from Fmake_vector. + * lisp.h: Declare allocate_vectorlike. + (VECSIZE): New macro. + * process.c (make_process): Use allocate_vectorlike and VECSIZE. + * frame.c (make_frame): Likewise. + * window.c (make_dummy_parent, make_window): Likewise. + (Fcurrent_window_configuration): Likewise. + (SAVE_WINDOW_DATA_SIZE): Macro deleted. + + * lisp.h: Delete declaration of Farray_length. + * data.c (Farray_length): Delete this obsolete function. + (Faref, Faset): If object is a string, use XSTRING, not XVECTOR. + * fns.c (Flength): Don't call Farray_length, just use size field. + + * xterm.h (XSCROLL_BAR): Extract from Lisp_Vector, not generic pointer. + + * xselect.c (wait_for_property_change): Encode location as a cons + of two integers instead of lying about the type. + (wait_for_property_change_unwind): Decode it likewise. + + * eval.c (Finteractive_p): Use XSUBR instead of its expansion. + + * lisp.h (GC_INTEGERP, etc): New type-test macros for use during GC. + * buffer.h (OVERLAY_POSITION): Use the new type-test macros. + * process.c (NETCONN_P, kill_buffer_processes): Likewise. + * buffer.c (overlays_at): Likewise. + * filelock.c (unlock_all_files): Likewise. + * xfns.c (x_window_to_frame): Likewise. + (x_any_window_to_frame, x_top_window_to_frame): Likewise. + * fileio.c (Fdo_auto_save): Likewise. + + * xfaces.c (Fpixmap_spec_p): Avoid function calls and assignments + as arguments to a type-test macro. + * textprop.c (PLIST_ELT_P): Likewise. + * keymap.c (current_minor_maps): Likewise. + + * lisp.h (NATNUMP): New macro. + (CHECK_NATNUM): Use that macro instead of its expansion. + * data.c (Fnatnump): Likewise. + * xfns.c (x_set_frame_parameters): Likewise. + * keymap.c (access_keymap, store_in_keymap): Likewise. + * doc.c (Fdocumentation): Likewise. + * alloc.c (Fmake_list): Use CHECK_NATNUM instead of its expansion. + Now signals using `wholenump' instead of `natnump'. + (Fmake_vector, Fmake_string): Likewise. + + * data.c (syms_of_data): Set Qwholenump as function, not variable. + + * alloc.c (free_float): Don't assume XFASTINT accesses the raw bits. + (make_float, free_cons, Fcons, Fmake_symbol, gc_sweep): Likewise. + +1994-11-15 Richard Stallman + + * xterm.c (x_mouse_leave): New function broken out of XTread_socket. + When x_focus_event_frame is nonzero, assume that frame gets focus. + (XTread_socket): Use x_mouse_leave for LeaveNotify. + * xmenu.c (xmenu_show): Call x_mouse_leave. + + * fileio.c (Fsubstitute_in_file_name): Run a handler. + (Qsubstitute_in_file_name): New variable. + (syms_of_fileio): Set it up. + + * lread.c (read_escape): For \S-a, return A. + + * buffer.c (Frename_buffer): Rename arg NAME to NEWNAME. + +1994-11-14 Richard Stallman + + * s/freebsd.h (LD_SWITCH_SYSTEM): Add -dc and -dp. + (HAVE_GETPAGESIZE): Defined. + + * sysdep.c (init_sys_modes): Maybe call tcflow. + +1994-11-14 Karl Heuer + + * lisp.h: (enum Lisp_Misc_Type): Add new enumeration Lisp_Misc_Overlay. + (enum Lisp_Type): Delete the corresponding enumeration from here. + (struct Lisp_Overlay): New structure. + (XOVERLAY, OVERLAYP): Access the new structure. + (union Lisp_Misc): Add new member. + * buffer.h (OVERLAY_START, OVERLAY_END): Use the new substructure. + * alloc.c (mark_object, gc_sweep): Likewise. + * print.c (print): Likewise. + * buffer.c (Fmake_overlay): Likewise. + (Foverlay_properties, Foverlay_get, Foverlay_put): Likewise. + * fns.c (internal_equal): Likewise. + Simplify by returning int. + (Fequal): Use new interface to internal_equal. + + * buffer.c (list_buffers_1): Use PT, not point. + +1994-11-14 Richard Stallman + + * fileio.c (Finsert_file_contents): Init not_regular at the beginning. + +1994-11-14 Karl Heuer + + * buffer.c (Fkill_all_local_variables): Use XBUFFER_LOCAL_VALUE, + not XCONS. + +1994-11-14 Roland McGrath + + * s/gnu.h (A_TEXT_OFFSET): Macro removed. + (A_TEXT_SEEK): Define to just sizeof (struct exec). + +1994-11-14 Karl Heuer + + * lread.c (defvar_int): Use accessor macro. + (defvar_bool, defvar_lisp_nopro, defvar_per_buffer): Likewise. + +1994-11-13 Richard Stallman + + * xfaces.c (load_pixmap): Handle bitmap_id < 0. F is a FRAME_PTR. + + * frame.c (syms_of_frame): Fix typo. + + * minibuf.c (Fdisplay_completion_list): Update COLUMN unconditionally. + If a name is long, put it on its own line. + +1994-11-13 Brendan Kehoe (brendan@lisa.cygnus.com) + + * s/hpux9.h (C_SWITCH_SYSTEM) [__GNUC__]: Set -D_BSD to get the + correct definitions from sys/wait.h. + +1994-11-12 Richard Stallman + + * frame.c (syms_of_frame): Doc fix for default-frame-alist. + +1994-11-11 Richard Stallman + + * fileio.c (Finsert_file_contents): If VISIT, set the buffer components + such as the filename even before signaling error for non-regular file. + + * s/iris3-5.h, s/iris3-6.h (MAIL_USE_FLOCK): Defined. + * s/irix3-3.h, s/irix5-0.h (MAIL_USE_FLOCK): Defined. + * s/irix5-2.h: New file. + + * m/paragon.h: New file. + +1994-11-11 Karl Heuer + + * lisp.h: (enum Lisp_Misc_Type): Add new enumerations + Lisp_Misc_Buffer_Local_Value and Lisp_Misc_Some_Buffer_Local_Value. + (enum Lisp_Type): Delete the corresponding enumerations from here. + (struct Lisp_Buffer_Local_Value): New structure. + (XBUFFER_LOCAL_VALUE): Access the new structure. + (BUFFER_LOCAL_VALUEP, BUFFER_SOME_LOCAL_VALUEP): Likewise. + (union Lisp_Misc): Add new member. + * alloc.c (mark_object): New code to handle buffer-local substructure. + (gc_sweep): Generalize marker code to handle other substructures. + * bytecode.c (Fbyte_code): Special case for buffer-local objects is + now handled by the more general test. Simplify. + * buffer.c (set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS. + * data.c (store_symval_forwarding): Likewise. + (swap_in_symval_forwarding, Fset, default_value, Fset_default, + Fkill_local_variable): Likewise. + (Fmake_variable_buffer_local): Use the new substructure. + (Fmake_local_variable): Likewise. + +1994-11-10 Richard Stallman + + * process.c (create_process) [OSF1]: Use setpgid, not setpgrp. + +1994-11-09 Boris Goldowsky + + * cmds.c (Fnewline): Always use insert_and_inherit. + +1994-11-09 Richard Stallman + + * lisp.h (FRAMEP): Use the second definition whenever HAVE_MOUSE. + + * keyboard.c (tracking_off): Test old value with NILP. + Restore the old value whatever it may be. + (syms_of_keyboard): Use DEFVAR_LISP for track-mouse. + +1994-11-09 Karl Heuer + + * data.c (Fboundp, find_symbol_value): Use type test macros + instead of checking XTYPE directly. + + * keyboard.c (print_help): Set help-mode in *Help* buffer. + * keymap.c (describe_buffer_bindings): Likewise. + * syntax.c (describe_syntax_1): Likewise. + +1994-11-08 Roland McGrath + + * keyboard.c (EVENT_QUEUES_EMPTY): Only test do_mouse_tracking and + mouse_moved #ifdef HAVE_MOUSE. + (Ftrack_mouse): Protect with #ifdef HAVE_MOUSE. + (syms_of_keyboard): Protect initialization of do_mouse_tracking, + defsubr of Strack_mouse, and DEFVAR of track-mouse with #ifdef + HAVE_MOUSE. + +1994-11-07 Karl Heuer + + * frame.c (Fset_frame_height): Compare against height, not width. + +1994-11-07 Roland McGrath + + * keyboard.c: Move decl of input_fd outside of #ifdef + HAVE_X_WINDOWS. + +1994-11-03 Karl Heuer + + * xterm.c (XTread_socket): Generate iconify and deiconify events. + +1994-11-03 Geoff Voelker + + * m/intel386.h (VIRT_ADDR_VARIES) [WINDOWSNT]: Defined. + (DATA_END) [WINDOWSNT]: Defined. + (DATA_START) [WINDOWSNT]: Defined. + (HAVE_ALLOCA) [WINDOWSNT]: Defined. + + * s/windowsnt.h: Include malloc.h. + (MODE_LINE_BINARY_TEXT): Defined. + (HAVE_MOUSE): Defined. + + * ntheap.c (sbrk): Allow request sizes to be different than the + page size. + + * makefile.nt: Changed references of m\m-windowsnt.h to + m\intel386.h and of s\s-windowsnt.h to s\windowsnt.h. + +1994-11-01 Karl Heuer + + * xfns.c (Fx_list_fonts): Don't bother to retrieve font info when + there's no size_ref to compare it against. + + * editfns.c: (Fdecode_time): Fix Lisp_Object vs. integer problems. + Don't use tm_gmtoff; it's not portable. + + * lisp.h: Leave DEVICE_SEP undefined by default. + +1994-11-01 Richard Stallman + + * buffer.c (init_buffer): Fix error message syntax. + + * fileio.c (Fsubstitute_in_file_name): Add missing #endif. + + * lread.c: Don't include ctype.h. + (isfloat_string, read1): Don't use isdigit. + + * editfns.c (Fdecode_time): Change one XFASTINT to XINT. + + * s/windowsnt.h (SYSTEM_PURESIZE_EXTRA): Defined. + +1994-10-31 Richard Stallman + + * xfns.c (x_window): Make ibw 0 by default. + +1994-10-31 Karl Heuer + + * xterm.c (XTclear_end_of_line): Finish the line dance here too, + just as was done in XTwrite_glyphs. + + * xdisp.c (column_number_displayed): New variable. + (redisplay, redisplay_window): If that var is set, do mode line. + (display_mode_line): Unset the var. + (decode_mode_spec): Set the var if %c was seen. + +1994-10-30 voelker + + * makefile.nt: New file. + * nt.c, nt.h: New files. + * ntheap.c, ntheap.h: New files. + * ntinevt.c, ntinevt.h: New files. + * ntproc.c, ntterm.c: New files. + + * m/windowsnt.h, s/windowsnt.h: New files. + + * nt.c: New file. + + * makefile.nt:New file. + + * lisp.h (DEVICE_SEP, DIRECTORY_SEP, IS_DEVICE_SEP) + (IS_DIRECTORY_SEP, IS_ANY_SEP): New macros, defined if not already def. + + * s/msdos.h (DOS_NT): Defined. + + * term.c (term_init) [WINDOWSNT]: Do some Windows-specific + initialization, then skip the rest of the code. + (FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0. + + * systty.h: Test DOS_NT, not MSDOS. + + * syssignal.h [WINDOWSNT] (EMACS_KILLPG): Use win32_kill_process. + + * sysdep.c [WINDOWSNT]: Add includes for NT. + Define _P_WAIT. Declare _spawnlp, _getpid. + [WINDOWSNT] (select, strerror, vfork): Don't use these definitions. + + * sysdep.c (init_sys_modes): Test DOS_NT, not MSDOS. + (emacs_get_tty, emacs_set_tty,(child_setup_tty, init_baud_rate): Ditto. + + * sysdep.c (sys_subshell) [WINDOWSNT]: Use _spawnlp. not vfork. + (wait_for_termination) [WINDOWSNT]: Use wait. + (discard_tty_input) [WINDOWSNT]: Do nothing at all. + + * process.c: Use macros IS_ANY_SEP, IS_DIRECTORY_SEP, + IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP. + [WINDOWSNT]: Add includes. Don't define sys_siglist. + + * process.c (sigchld_handler): Work around bug in MS C compiler. + (sigchld_handler) [WINDOWSNT]: Do not call signal. + (signal_process) [WINDOWSNT]: Use win32_kill_process instead of kill. + (read_process_output) [WINDOWSNT]: Use read_child_output instead of + read. + + * process.c (create_process) [WINDOWSNT]: Use + pipe_with_inherited_out and pipe_with_inherited_in. + Use the pid returned by child_setup. Deal with not having vfork, + Call register_child. + (close_process_descs): Do nothing if WINDOWSNT. + + * process.c (proc_buffer_char): No longer static. + + * ndir.h (MAXNAMLEN) [WINDOWSNT]: Define as 255. + + * mem-limits.h [WINDOWSNT]: Don't include vlimit.h. + (get_lim_data): Alternate definition for WINDOWSNT. + + * lread.c: Change explicit uses of the Unix directory separator + '/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP, + IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP. + + * lread.c (init_lread) [WINDOWSNT]: Disable warnings about + directories in the load path not existing. + + * lread.c (load): Test DOS_NT instead of MSDOS. + + * keyboard.c (read_key_sequence): Use flags instead of gotos to + enable the Microsoft C compiler to compile the routine. + + * keyboard.c (read_avail_input) [WINDOWSNT]: Just return 0. + + * fileio.c: Change explicit uses of the Unix directory separator + '/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP, + IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP. + + * fileio.c [WINDOWSNT]: Don't define HAVE_FSYNC; add includes for NT. + + * fileio.c (Ffile_name_absolute_p): Test DOS_NT instead of MSDOS. + (Fwrite_region, Fdo_auto_save, Ffile_modes): Likewise. + + * fileio.c (Qfind_buffer_file_type): Test DOS_NT instead of MSDOS. + (syms_of_files): Likewise. + (Finsert_file_types): Test DOS_NT instead of MSDOS. + Rename local var try to trytry. + + * fileio.c (Fadd_name_to_file): Wlways fail. + (Frename_file) [WINDOWSNT]: Use MoveFile, not link and unlink, + and check for both ERROR_FILE_EXISTS and ERROR_ALREADY_EXISTS. + (Fmake_directory_internal) [WINDOWSNT]: Invoke mkdir without the mask. + + * fileio.c (Fexpand_file_name): Test DOS_NT, not MSDOS. + (Fexpand_file_name) [WINDOWSNT]: Accept // or \\ at start. + Call dostonunix_filename for HOME envvar, for ~USER. + Quote directory separators found in environment variables. + (Fsubstitute_in_file_name): Test DOS_NT instead of MSDOS. + (Fsubstitute_in_file_name) [WINDOWSNT]: Accept // or \\ at start. + Work around alloca bug in MS compiler. + (Ffile_name_directory): Test DOS_NT instead of MSDOS sometimes. + But don't insert a drive letter on windows. + + * emacs.c (Fdump_emacs): Don't reset the data start address by + invoking memory_warnings just before unexec-ing. + + * editfns.c (init_editfns): Get the username from the environment + variable USERNAME instead of USER. + + * dired.c: Use macros IS_ANY_SEP, IS_DIRECTORY_SEP, and DIRECTORY_SEP. + (file-attributes) [WINDOWSNT]: Set st_gid and st_uid to Qnil; use + get_inode_and_device_vals to fake up inode number and device number. + + * callproc.c (getenv_internal) [WINDOWSNT]: Use strnicmp, not bcmp. + + * callproc.c (child_setup): Use IS_DIRECTORY_SEP. + [WINDOWSNT]: Call prepare_standard_handles. Use spawnve. + Use reset_standard_handles. + + * callproc.c (Fcall_process_region): Test DOS_NT, not MSDOS. + (Fcall_process) [WINDOWSNT]: Call pipe_with_inherited_out. + Use the return value of child_setup to get the child's pid; + don't call vfork etc. explicitly. + + * callproc.c [WINDOWSNT]: Add includes. Defone NOMINMAX, _P_NOWAIT. + (Vbinary_process_input, Vbinary_process_output) + (Qbuffer_file_type): Test DOS_NT, not MSDOS. + (syms_of_callproc): Test DOS_NT, not MSDOS. + + * callproc.c (init_callproc): Test DOS_NT, not MSDOS. + + * buffer.h (struct buffer): Test DOS_NT, not MSDOS. + + * buffer.c (init_buffer): Use DIRECTORY_SEP, IS_DIRECTORY_SEP macros, + not character constants. + (init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS. + +1994-10-30 Erik Naggum + + * editfns.c (Fdecode_time): New function. + (syms_of_editfns): defsubr it. + +1994-10-30 Richard Stallman + + * keyboard.c (make_lispy_event): Record double and triple for drags. + Put in click_modifier for multi-clicks. + (read_key_sequence): Convert double-drag first to plan drag, + and only later try a click. + + * unexsunos4.c (unexec): Don't print number of pure bytes used. + +1994-10-29 Richard Stallman + + * xfns.c (Fx_create_frame): + Don't set xlwmenu_default_font if not USE_X_TOOLKIT. + + * puresize.h (BASE_PURESIZE): Increment MULTI_FRAME value. + +1994-10-29 Karl Heuer + + * keyboard.c (read_avail_input): Fix Lisp_Object vs. int problem. + +1994-10-29 Richard Stallman + + * xterm.c (fast_find_position): Special case if POS is end of buffer. + + * xterm.c (x_delete_display): Call XrmDestroyDatabase. + +1994-10-28 Richard Stallman + + * s/osf1.h (LD_SWITCH_SYSTEM): Definitions deleted. + + * m/alpha.h (LD_SWITCH_MACHINE): New definition. + +1994-10-28 Rainer Schoepf + + * s/osf1.h (INTERRUPTIBLE_IO, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE) + (read, write, open, close): New definitions. + +1994-10-27 Karl Heuer + + * buffer.c (Fset_buffer_major_mode): New function. Set the + default major mode here. + (Fget_buffer_create): Not here. + (Fswitch_to_buffer): Call Fset_buffer_major_mode. + (syms_of_buffer): defsubr the new function. + + * termhooks.h (iconify_event, deiconify_event): New enum event_kind's. + * keyboard.c (kbd_buffer_get_event): Translate them to lispy events. + (head_table): Initialize those new symbols appropriately. + * frame.c (keys_of_frame): Bind those events to 'ignore, since the + window manager has already done the work. + + * xmenu.c (set_frame_menubar): Don't copy string during GC risk. + +1994-10-26 Richard Stallman + + * config.h.in (HAVE_GETPAGESIZE): Add #undef. + * m/sequent-ptx.h (HAVE_GETPAGESIZE): Explicitly #undef. + * s/linux.h, s/msdos.h (HAVE_GETPAGESIZE): Definition deleted. + * m/symmetry.h (HAVE_GETPAGESIZE): Definition deleted. + + * xterm.c (x_destroy_window): Rewrite to fetch dpyinfo just once. + + * xfns.c (Fx_create_frame): Set xlwmenu_default_font. + + * widget.c (set_frame_size): Set app_shell and wmshell the same. + + * xterm.c [USE_X_TOOLKIT]: Make application context explicitly + and support multiple top-level shells. + (x_initialize): Call XtToolkitInitialize, XtCreateApplicationContext; + don't open display or make a shell. + (x_term_init): Call XtOpenDisplay. + + * xfns.c [USE_X_TOOLKIT] (x_window): Use XtAppCreateShell. + (Xt_app_shell, Xt_app_con): Variables deleted. + (Fx_close_connection) [USE_X_TOOLKIT]: Call XtCloseDisplay. + + * xterm.c (x_scroll_bar_create): Use XMapRaised directly. + (x_make_frame_visible, x_iconify_frame): Likewise. + (XMapWindow): Macro definition deleted. + (METABIT): Macro deleted. + (MAXDESC, FD_SETSIZE, FD_SET, FD_CLEAR, FD_ZERO, FD_ISSET): Likewise. + (x_id_name): Variable deleted. + + * process.c (status_message): Add a cast. + (sigchld_handler): Add a cast. + + * xfns.c (x_window): Pass new arg f to hack_wm_protocols. + + * xdisp.c (display_text_line): Truncate the minibuf_prompt if nec. + +1994-10-26 Karl Heuer + + * window.c (syms_of_window): Fix missing \n\'s. + +1994-10-26 Richard Stallman + + * xselect.c (x_own_selection, x_get_foreign_selection): Change calls + to x_catch_errors and friends. + + * xfns.c (x_set_mouse_color, x_real_positions): Change calls + to x_catch_errors and friends. + + * xterm.c (x_catch_errors, x_check_errors, x_had_errors_p) + (x_uncatch_errors): Make the argument a display, not a frame. + + * xterm.c (XTread_socket_fake_io_error): New variable. + (XTread_socket): Obey XTread_socket_fake_io_error. + +1994-10-25 Karl Heuer + + * process.c (list_processes_1): Print tty name. + +1994-10-25 Karl Fogel (kfogel@phylo.life.uiuc.edu) + + * window.c (Vtemp_buffer_show_function): Doc fix. + +1994-10-25 Richard Stallman + + * xterm.h: Delete X10 code. + + * xfns.c (Fx_create_frame): Don't increment refernce_count + until the frame is put on the frame list. + + * xterm.c (x_initialize): Init x_noop_count, x_focus_frame + and x_highlight_frame here. + (x_term_init): Not here. + + * xterm.c (x_term_init): Open the connection first thing; + if that fails, don't allocate dpyinfo. + +1994-10-24 Karl Heuer + + * xdisp.c (decode_mode_spec): New spec %c, for current column. + +1994-10-24 Richard Stallman + + * xselect.c (Fx_selection_exists_p): Fix backwards if. + + * xterm.c (x_delete_display): New function. + (x_connection_closed): New args dpyinfo and error_message. + Delete all frames on the dead display + and all frames using them for minibuffers. + Call x_delete_display. + Maybe signal a Lisp error. + * xfns.c (Fx_close_connection): Call x_delete_display. + + * xselect.c (Fx_selection_exists_p): + If selected_frame isn't an x frame, return nil. + + * keyboard.c (record_char): New subroutine. + (read_char): Use record_char. + Split up menu-bar mouse click events here. + Call record_char for both halves; likewise echo_char + and add_command_key. + +1994-10-23 Richard Stallman + + * xfns.c (x_display_info_for_name, Fx_open_connection): + Signal error if x_term_init fails. + (Fx_open_connection): New arg must_succeed. + + * xfns.c (x_real_positions): Catch errors and retry if error happens. + No need to block input here. + + * xterm.c (x_term_init): Don't report error here--just return 0. + + * xfns.c (Fx_create_frame): Don't store the frame name + till after FRAME_X_DISPLAY_INFO is set up. + (Fx_close_connection): Renamed from Fx_close_current_connection + + * xfns.c: Many doc fixes and Lisp function arg renamings. + + * xterm.c (x_scroll_bar_report_motion): Store proper value in + *bar_window (the Emacs window, not the X window number). + +1994-10-22 Richard Stallman + + * keyboard.c (kbd_buffer_get_event): + Cope if mouse_position_hook does not store anything. + + * xterm.c (x_scroll_bar_report_motion): Don't clear *fp. + + * xterm.h (struct x_display_info): + New fields bitmaps, bitmaps_size, bitmaps_last. + (struct x_bitmap_record): Structure moved here. + * xfns.c (x_bitmaps, x_bitmap_size, x_bitmap_last): + Variables deleted. Use fields in x_display_info instead. + (x_bitmaps_free): Variable deleted. + (x_destroy_bitmap, x_allocate_bitmap_record): Don't use or set it. + (x_allocate_bitmap_record): New arg f. Callers changed. + (x_lookup_pixmap): Function deleted. + (x_destroy_all_bitmaps): New function. + (Fx_close_current_connection): Call x_destroy_all_bitmaps. + Free the fonts in the font table. Free various other data + that dpyinfo points to. Avoid using Fdelq. + + * xterm.c (x_wm_set_icon_pixmap): Use x_bitmap_pixmap. + + * xterm.c: + (show_mouse_face): New arg dpyinfo. All callers changed. + (clear_mouse_face): New arg dpyinfo. All callers changed. + + * xterm.h (struct font_info): New type. + (struct x_display_info): New fields font_table, font_table_size + and n_fonts. + + * xterm.h (struct x_display_info): New field scratch_cursor_gc. + * xterm.c (scratch_cursor_gc): Variable deleted. + (dumpglyphs): Use scratch_cursor_gc in x_display_info. + + * xterm.h (mouse_face_*): New fields. + * xterm.c (mouse_face_*): Variables deleted. + Use fields in x_display_info instead. + * xterm.c (syms_of_xterm): Don't staticpro mouse_face_window. + + * xterm.c (expose_all_windows, expose_all_icons): Variables deleted. + (BLOCK_INPUT_mask): Variable deleted. + + * xterm.h (struct x_display_info): New field x_id_name. + * xfns.c (x_set_name, Fx_create_frame): Use x_id_name field. + * xterm.c (x_term_init): Set up x_id_name field. + (x_id_name): Variable deleted. + + * xterm.c (x_font_table, x_font_table_size, x_n_fonts): Vars deleted. + (x_new_font): Use new fields. + (warp_mouse_on_deiconify): Unused variable deleted. + + * xterm.c (x_term_init): Set up dpyinfo->xrdb. + Set up dpyinfo->vertical_scroll_bar_cursor. + (x_scroll_bar_create): Use vertical_scroll_bar_cursor slot. + (x_vertical_scroll_bar_cursor): Variable deleted. + + * xterm.c (x_term_init): Really return dpyinfo. + + * insdel.c (insert_from_buffer_1): Don't use min. + + * xterm.c (x_term_init): Call add_keyboard_wait_descriptor, + not change_keyboard_wait_descriptor. + + * xfns.c (Fx_close_current_connection): + Call delete_keyboard_wait_descriptor. + + * process.c: Handle multiple keyboard input descriptors. + (non_keyboard_wait_mask): New variable. + (Fset_process_filter): Update non_keyboard_wait_mask + (create_process, Fopen_network_stream, deactivate_process): + (init_process, sigchld_handler): Likewise. + (wait_reading_process_input): Maybe use non_keyboard_wait_mask. + (add_keyboard_wait_descriptor): + Renamed from change_keyboard_wait_descriptor. + Clear the old descriptor's bit only the first call. + (delete_keyboard_wait_descriptor): New function. + (keyboard_bit_set): New function. + (wait_reading_process_input): Use keyboard_bit_set. + Start the loop over process descs from 0, and explicitly + ignore non-process input descs. + (init_process): Don't init keyboard_descriptor. + (keyboard_descriptor): Variable deleted. + (add_keyboard_wait_descriptor): Don't set keyboard_descriptor. + (delete_keyboard_wait_descriptor): New function. + + * xterm.c (x_term_init): Pass new arg to init_sigio. + Don't set old_fcntl_owner. + Don't call change_input_fd. + (XTread_socket): Loop over displays and process input from each. + + * sysdep.c: Never use input_fd if using X. + (stuff_char): Do nothing if read_socket_hook. + (setpgrp_of_tty): Function deleted. + (init_sigio): Take fd as argument. Callers changed. + Don't call request_sigio; do the work here. + (request_sigio, unrequest_sigio): Do nothing if read_socket_hook. + (init_sys_modes): Don't call EMACS_GET_TTY unless we are going + to change the settings. + + * xfns.c (Fx_close_current_connection): Call check_x_display_info. + Delete the display from x_display_list and x_display_name_list. + (Fx_display_list): New function. + (syms_of_xfns): defsubr it. + + * xterm.c (x_display_name_list): New variable. + (syms_of_xterm): staticpro it. + Don't staticpro slots in the_x_screen. + (x_term_init): Update x_display_name_list along with x_display_list. + Actually malloc the x_display_info. + (the_x_screen): Variable deleted. + + * xfns.c (Fx_list_fonts): Use `name_list_element' field. + (x_display_info_for_name): Scan x_display_name_list + along with x_display_list. + + * xterm.h (struct x_display_info): Replace elements `name' + and `face_list_cache' with one cons cell `name_list_element'. + (x_display_name_list): Variable declared. + +1994-10-22 Karl Heuer + + * insdel.c (insert_from_buffer, insert_from_buffer_1): New functions. + * editfns.c (Finsert_buffer_substring): Use insert_from_buffer + instead of insert. + +1994-10-21 Richard Stallman + + * xmenu.c (xmenu_show): Get the screen number for DisplayHeight + and DisplayWidth. Use root_window slot in the x_display_info. + + * xfns.c (x_sync): Take frame ptr as arg. + * frame.c (other_visible_frames): Pass a frame ptr to x_sync. + * xterm.c (x_make_frame_visible, x_make_frame_invisible): + Pass a frame ptr to x_sync. + +1994-10-21 Karl Heuer + + * insdel.c (insert_before_markers): Don't inherit; + insert_before_markers_and_inherit does that. + +1994-10-21 Richard Stallman + + * dispnew.c (Fframe_or_buffer_changed_p): + Detect deletion of a buffer at the end of the buffer list. + + * xterm.c (x_term_init): Init all the components of dpyinfo. + + * sysdep.c (input_fd): No longer static. + * keyboard.c (read_avail_input): Use input_fd. + +1994-10-20 Richard Stallman + + * xfns.c (check_x_display_info): New function. + (Fx_create_frame): Use it. + (Fx_display_*, Fx_server_*): Use fields in the x_display_info, + not static variables. Call check_x_display_info. + +1994-10-20 Karl Heuer + + * window.c (Fdisplay_buffer): Make old_selected_window a Lisp_Object. + +1994-10-20 Tom Tromey + + * buffer.c (list_buffers_1): Always mark current_buffer read-only. + +1994-10-20 Fred Pierresteguy + + * m/dpx2.h (LD_SWITCH_MACHINE): Defined. + +1994-10-20 Richard Stallman + + * term.c (calculate_costs): Call x_screen_planes. + * xfns.c (x_screen_planes): New function. + + * xterm.h (EMACS_CLASS): Macro moved here. + * xfns.c (EMACS_CLASS): Macro moved to xterm.h. + + * xfns.c (Qdisplay): New variable. + (syms_of_xfns): Set it up. + (Fx_create_frame): Handle display parameter + which says where to get the FRAME_X_DISPLAY_INFO. + (x_display_info_for_name): New function. + + * xterm.c (x_display_info_for_display): New function. + + * xselect.c (Xatom_*): Variables deleted. + Use slots in x_display_info structure instead. + (symbol_to_x_atom, x_atom_to_symbol): + New arg dpyinfo. All callers changed. + (xatoms_of_xselect): Function deleted. + + * xfns.c (select_visual): New arg dpy. + + * xterm.h (struct x_display_info): New fields *_mod_mask. + * xterm.c (x_*_mod_mask): Variables deleted. + (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): + New arg dpyinfo; all callers changed. + Store the masks in that structure. + + * xterm.h (struct x_display_info): New field icon_bitmap_id. + * xterm.c (icon_bitmap): Variable deleted. + (x_bitmap_icon): Use icon_bitmap_id in x_display_info. + + * xterm.c (icon_font_info): Variable deleted. + + * xterm.h (struct x_display_info): New field `connection'. + * xterm.c (x_term_init): Set up `connection' field. + + * xterm.h (x_display_list): New variable. + * xterm.c (x_find_modifier_meanings): + Arg is now struct x_display_info *. + (x_term_init): Return an x_display_info *. + Store all the data in it, including X atoms and xrdb. + Put the x_display_info structure on x_display_list. + Pass name as Lisp_Object. + (the_x_screen): Variable moved here. + (syms_of_xterm): Staticpro parts of the_x_screen. + * xfns.c (Fx_open_connection): Get dpyinfo from x_term_init. + Don't set up atoms, xrdb here. Pass name as Lisp_Object. + (the_x_screen): Variable moved to xterm.c. + (syms_of_xfns): Don't staticpro it here. + + * xterm.h (struct x_display_info): New field xrdb. + * xfns.c (xrdb): Variable deleted. + (Fx_get_resource): Use selected_frame's xrdb. + (x_get_resource_string): Likewise. + + * xterm.h (XExposeRegionEvent): Unused macro deleted. + (XGetWindowInfo, XGetFont, XLoseFont): Unused macros deleted. + (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): Unused macros deleted. + (MAX_FACES_AND_GLYPHS, Bitmap): Unused macros deleted. + (struct event_queue): Structure deleted (was unused). + (EVENT_BUFFER_SIZE): Macro deleted. + + * xterm.h (XClear): Macro deleted. Callers use XClearWindow. + (XWarpMousePointer): Macro deleted. Callers use XWarpPointer. + (XStuffPending): Macro deleted. Callers use XPending. + (XHandleError, XHandleIOError): Macros deleted. + Callers use XSet...ErrorHandler. + (XChangeWindowSize): Macro deleted. Callers use XResizeWindow. + (Color): Macro deleted; replaced with XColor. + (FONT_TYPE): Macro deleted; replaced with XFontStruct. + (PIX_TYPE): Macro deleted; replaced with unsigned long. + + * xterm.h (FRAME_X_SCREEN): New macro. + (WHITE_PIX_DEFAULT, BLACK_PIX_DEFAULT): Take arg f. + * xfaces.c (unload_color): Pass arg f to WHITE_PIX_DEFAULT + and BLACK_PIX_DEFAULT. + + * xterm.c (windowinfo): Variable deleted. + + * xterm.h (ROOT_WINDOW): Macro deleted. + (struct x_display_info): New field root_window. + All uses changed. + + * xterm.h (XDISPLAY): Macro deleted. + (XFlushQueue): Macro deleted. All callers changed. + (DISPLAY_SCREEN_ARG): Maco deleted. + (DISPLAY_CELLS): Macro deleted. + (WINDOWINFO_TYPE): Macro deleted. + + * xterm.h (struct x_display_info): New fields Xatom... + * xterm.c (Xatom_*): Variables deleted. + (x_iconify_frame, XTread_socket): Get atoms from the x_display_info, + + * xfns.c (Fx_open_connection): Store the atoms in x_display_info. + (hack_wm_protocols): New arg f. Get atoms from x_display_info. + (x_window): Get atoms from x_display_info. + + * xfns.c (Vmouse_depressed, mouse_buffer_offset): Variables deleted. + (syms_of_xfns): Delete Lisp variables too. + (Fx_synchronize): Take frame as arg. + (Fx_close_current_connection): Take frame as arg. Error is not fatal. + * xterm.c (XTread_socket): Don't update Vmouse_depressed. + + * xterm.h (struct x_display_info): New field grabbed. + * xterm.c (x_mouse_grabbed): Variable deleted. + (note_mouse_highlight): Use grabbed field instead. + (XTmouse_position, XTread_socket): Likewise. + * xmenu.c (xdialog_show, xmenu_show): + Use grabbed field instead of x_mouse_grabbed. + + * xfns.c (mouse_timestamp): Variable deleted. + + * xterm.h (struct x_display_info): Struct renamed from x_screen. + (x_display): x_screen field renamed to display_info. + (FRAME_X_DISPLAY): Use new name. + (FRAME_X_DISPLAY_INFO): Likewise; also renamed from FRAME_X_SCREEN. + + * xterm.h (struct x_display_info): + New fields height, width, screen, visual, n_planes. + * xfns.c (screen_visual, x_screen_planes): Variables deleted. + (x_screen, x_screen_height, x_screen_width): Variables deleted. + (Fx_open_connection): Don't set them here. + Put that info in the x_display_info structure. + (x_window): Get the visual from x_display_info structure. + (x_decode_color): Use n_planes from x_display_info structure. + * xterm.c (x_calc_absolute_position, x_wm_set_size_hint): + Get screen height, width from the x_display_info structure. + * xmenu.c (xmenu_show): Use the screen in FRAME_X_DISPLAY_INFO, + not the default screen. + + * xterm.c: Use FRAME_X_DISPLAY instead of x_current_display + and XDISPLAY. + + * xfns.c: Use FRAME_X_DISPLAY instead of x_current_display + and XDISPLAY. + (x_in_use): New variable, + (check_x, using_x_p): Test x_in_use. + (Fx_open_connection): Set x_in_use. + (check_x_frame): New function. + (defined_color): New arg f specifies frame. Callers changed. + (x_decode_color): New arg f. All callers changed. + (Fx_color_values, Fx_color_defined_p): New arg FRAME. + Use check_x_frame. + (Fx_list_fonts): Use check_x_frame. + + * keyboard.c (do_mouse_tracking): Now a FRAME_PTR. + (EVENT_QUEUES_EMPTY, Ftrack_mouse, tracking_off): Changed accordingly. + (kbd_buffer_get_event): Let do_mouse_tracking specify the display + for mouse tracking. + + * minibuf.c (read_minibuf): Undo previous change. + +1994-10-19 Richard Stallman + + * window.c (Fdisplay_buffer): If the other window is smaller + than its peer, even out their heights. + + * xterm.c (x_catch_errors, x_check_errors, d_errors_p) + (x_uncatch_errors): Take frame as arg. + (x_stop_queuing_selection_requests, x_unqueue_events, x_queue_event) + (x_start_queuing_selection_requests): Take frame as arg. + (x_find_modifier_meanings): New arg `display'. All callers changed. + (x_scroll_bar_create, x_scroll_bar_set_handle) + (x_scroll_bar_move): New local var f. + (x_scroll_bar_report_motion): Rename arg f to fp. + New local var f. + (XTmouse_position): Lossage. + (frame_highlight, frame_unhighlight): Arg frame renamed to f. + + * callproc.c (child_setup): Always use _exit. + + * xselect.c (x_own_selection, x_get_foreign_selection): Pass frame + to x_catch_errors, x_check_errors, x_uncatch_errors. + + * xfns.c (x_set_mouse_color): Pass frame to x_catch_errors, + x_check_errors, x_uncatch_errors. + + * xselect.c (x_get_foreign_selection): Get display from + selected_frame. Pass frame to x_stop_queuing_selection_requests and + x_start_queuing_selection_requests. + (x_own_selection, Fx_disown_selection_internal, Fx_selection_exists_p) + (Fx_store_cut_buffer_internal, Fx_get_cut_buffer_internal) + (Fx_rotate_cut_buffers_internal): Get display from selected_frame. + + * xmenu.c: Use FRAME_X_DISPLAY, not XDISPLAY or x_current_display. + (menu_item_equiv_key): Reject equiv sequences + that start with mouse clicks. + +1994-10-19 Karl Heuer + + * search.c: (searchbufs): New variable, replaces searchbuf and + last_regexp and search_fastmap. + (syms_of_search): Initialize it. + (searchbuf_head): New variable. + (compile_pattern_1): Renamed from compile_pattern and made static. + Copy the regexp string in case the caller modifies it in place later. + (compile_pattern): New code, uses a cached entry if one is available. + The pattern buffer is now a return value instead of an arg. + (set_search_regs): Set num_regs directly, since there's no active + pattern buffer to pass to re_set_registers. + (Fstore_match_data): Likewise. + (Flooking_at): Use the new calling convention for compile_pattern. + (Fstring_match, fast_string_match, search_buffer): Likewise. + * dired.c (Fdirectory_files): Likewise. + +1994-10-18 Richard Stallman + + * keyboard.c (Voverriding_local_map_menu_flag): New variable. + (syms_of_keyboard): Set up Lisp var. + (menu_bar_items): Obey Voverriding_local_map_menu_flag. + + * ralloc.c (struct heap): New fields first_bloc, last_bloc. + (struct bp): New field heap. + (get_bloc, free_bloc, obtain, r_alloc_sbrk): Update new fields. + (reorder_bloc): New function. + (update_heap_bloc_correspondence): + Renamed from update_heap_free_pointers. Update new fields. + (relinquish): Add error check for new fields. + + * Makefile.in.in (SOME_MACHINE_OBJECTS): Add msdos.o and x*.o files. + +1994-10-17 Karl Heuer + + * minibuf.c (read_minibuf): Store the object, not the string, into + the history variable. + + * xfns.c (x_set_unsplittable): New function. + (x_frame_parms): Add that function to the table. + + * xterm.c (do_line_dance): Decrement index only once per loop. + + * scroll.c (do_line_insertion_deletion_costs): Fix argument order. + +1994-10-17 Morten Welinder + + * fileio.c (Fexpand_file_name) [MSDOS]: Correct the for absolute + default directory. + + * config.h.in [HAVE_X_WINDOWS]: #define HAVE_FACES and HAVE_MOUSE. + + * dispextern.h: Guard entire file from being include more than once. + [MSDOS]: Include msdos.h. + + * dispnew.c (direct_output_for_insert): Check HAVE_FACES, not + HAVE_X_WINDOWS. + (selected_frame, last_minibuffer_frame): Doc fix. + + * dosfns.c (Fset_mouse_position, Fmsdos_mouse_p) [!HAVE_X_WINDOWS]: + New functions. + (syms_of_dosfns) [!HAVE_X_WINDOWS]: Defsubr them. Also define + Qmsdos_color_translate. + (init_dosfns) [SYSTEM_MALLOC]: Don't call non-existing get_lim_data. + + * dosfns.h (Qmsdos_color_translate) [!HAVE_X_WINDOWS]: New variable. + + * editfns.c (init_editfns) [MSDOS]: Let the user name default to + "root". + + * emacs.c (main) [MSDOS && !HAVE_X_WINDOWS]: Call syms_of_xfaces + and syms_of_xmenu. + + * frame.c [MSDOS]: Include msdos.h. + (Fframep #1) [MSDOS]: Doc change for the following. + (Fframep #2) [MSDOS]: Return 'pc for when termcap is not used. + (Fmouse_position #2) [HAVE_MOUSE]: Return useful information. + (Fframe_parameters #2): Show "font" as "default". + (Fframe_parameters #2) [MSDOS]: Show fore- and background colours. + (Fmodify_frame_parameters #2) [MSDOS]: Call IT_set_frame_parameters. + (Fframe_list #2): New stub function. + (syms_of_frame #2): defsubr frame_list. + (syms_of_frame #2) [MSDOS]: Initialize the_only_frame. + (Fselected_frame #2): Doc fix. + + * frame.h [!MULTI_FRAME]: We give up having selected_frame be + an always-zero integer variable. From now on it will be a + pointer to a `struct frame' just like in the MULTI_FRAME case. + (selected_frame, last_nonminibuf_frame): use FRAME_PTR, not EMACS_INT. + (XFRAME): Redefine to use the_only_frame. + (XSETFRAME): Define to set Lisp value. + (WINDOW_FRAME): Redefine to return Lisp value. + (FOR_EACH_FRAME): Set the frame variable to Lisp value. + (output_method): New method: output_msdos_raw. + (FRAME_TERMCAP_P, FRAME_X_P) [MSDOS]: Define non-stub versions. + + * keyboard.c (read_char_x_menu_prompt): Include menu code also in + case MSDOS. + (gobble_input): Complete Sep 15 change. + + * lisp.h: #define glyph-stuff when HAVE_FACES, not only when + HAVE_X_WINDOWS. + (FRAMEP): Define different versions for MULTI_FRAME and MSDOS. + Otherwise, don't define at all. + + * makefile.in.in (MSDOS_SUPPORT): Add faces.elc. + (msdos.o, dosfns.o): Add dependencies. + (MSDOS_OBJ): New set of object files. + (obj): Include MSDOS_OBJ. + + * msdos.c: #include dispextern.h, termopt.h, and window.h needed + for the following. + (highlight): New variable. + (rien_du_tout, IT_ring_bell, IT_set_face, IT_write_glyphs, + IT_clear_end_of_line, IT_cursor_to, IT_reassert_line_highlight, + IT_change_line_highlight, IT_update_begin, IT_set_menu_bar_lines, + IT_set_frame_parameters): New functions like their XT_* counterparts. + (internal_terminal_init): Initialize Vwindow_system, + Vwindow_system_version, the_only_x_display, and terminal hooks. + (mouse_get_xy): New function. + (mouse_get_pos, mouse_check_moved): Use mouse_get_xy. + (IT_menu_create, IT_menu_make_room, IT_menu_search_pane, + IT_menu_calc_size, IT_menu_display, XMenuCreate, XMenuAddPane, + XMenuAddSelection, XMenuLocate, XMenuActivate, XMenuDestroy, + x_pixel_width, x_pixel_height): New functions. + (init_environment) [HAVE_X_WINDOWS]: Let DISPLAY default to "unix:0.0". + (init_environment): Handle the case of a relative argv[0]. + (dos_rawgetc): Use XSETFRAME. + (the_only_x_display, x_current_display) [!HAVE_X_WINDOWS]: New + variables. + + * msdos.h: (XFontStruct, GC, Pixmap, Display, Window) [MSDOS_NO_X]: + Dummy types. + (struct face, FACE_HAS_GC, FACE_GC, FACE_FOREGROUND, FACE_BACKGROUND, + FACE_FONT, FACE_STIPPLE, FACE_UNDERLINE_P) [MSDOS_NO_X]: Define like + corresponding X-versions. + (struct x_display) [MSDOS_NO_X]: Define cut-down version. + (FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE, + FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES, + FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES, FRAME_DEFAULT_FACE, + FRAME_MODE_LINE_FACE, x_current_display, XFreeGC, same_size_fonts, + unload_font, unload_color, XGetGeometry, DisplayWidth, + DisplayHeight, XMenuSetAEQ, XMenuSetFreeze, XMenuRecompute, + FONT_WIDTH, check_x, ButtonReleased) [MSDOS_NO_X]: Define suitable + stubs. + (XM_FAILURE, XM_SUCCESS, XM_NO_SELECT, XM_IA_SELECT) [MSDOS_NO_X]: + Define like old-x-menu versions. + Guard the entire file from being included more than once. + (internal_flush): Correct guarding conditional. + Don't include . + + * puresize.h (SYSTEM_PURESIZE_EXTRA): Default to 0. + (BASE_PRESIZE): Increase by SYSTEM_PURESIZE_EXTRA. + + * s/msdos.h: #define HAVE_FACES. + (LIBX11_SYSTEM, HAVE_X11R5) [HAVE_X_WINDOWS]: Define. + (PURESIZE): Don't define. + (SYSTEM_PURESIZE_EXTRA): Define. + + * sysdep.c (init_sys_modes): Make sure that internal_terminal_init + is only called once. + (init_sys_modes, reset_sys_modes) [HAVE_X_WINDOWS]: Add conditional. + (reset_sys_modes) [MSDOS]: Change to MSDOG's default colours. + (kbd_input_ast): Use just XSETFRAME. + + * window.c (init_window_once) [!MULTI_FRAME]: Set selected_frame and + last_nonminibuf_frame once and for all. + + * xdisp.c (redisplay, copy_part_of_rope, fix_glyph, + display_text_line, display_mode_line): Check HAVE_FACES, not + HAVE_X_WINDOWS. + + * xfaces.c: Guard the file by HAVE_FACES, not HAVE_X_WINDOWS. + [MSDOS]: Include dosfns.h needed for the following. + [!HAVE_X_WINDOWS]: Don't #include xterm.h or Xos.h. + [!HAVE_X_WINDOWS] (intern_face, clear_face_cache, load_font, + load_color, unload_color, Fpixmap_spec_p, load_pixmap, + same_size_fonts, frame_update_line_height): Don't define. + [!HAVE_X_WINDOWS] (intern_face, clear_face_cache, build_face): Define + stubs. + (load_color) [MSDOS && !HAVE_X_WINDOWS]: Special version. + (Fset_face_attribute_internal) [MSDOS && !HAVE_X_WINDOWS]: Stubify + font setting, mask away 0x08 (the blink bit) from background colour. + (syms_of_xfaces) [!HAVE_X_WINDOWS]: Don't defsubr Spixmap_spec_p. + (Fmake_face_internal): Use FOR_EACH_FRAME. + (init_frame_faces): Guard multi-frame stuff with MULTI_FRAME. + + * xmenu.c [!HAVE_X_WINDOWS]: Don't #include xterm.h. + [!HAVE_X_MENU]: Don't #include XMenu.h. + (xmenu_show, xdialog_show) [!HAVE_X_WINDOWS]: We don't need the + button hack for msdos. + (xmenu_show) [!HAVE_X_WINDOWS]: Don't adjust coordinates with + respect to the (non-existing) outer window manager. + + * xterm.c (x_term_init) [!subprocesses]: Don't set input descriptor. + + +1994-10-17 Richard Stallman + + * xfaces.c (intern_face): Update mask properly to set stipple + and fill_style. Set everything all at once in XCreateGC. + + * window.c (Fdisplay_buffer): In desperation case of looking for + something to split, verify that a window's frame is splittable. + +1994-10-16 Richard Stallman + + * Makefile.in.in (xfns.o): Depend on paths.h. + + * xfns.c: Include paths.h. + +1994-10-16 Morten Welinder + + * editfns.c (Fuser_login_name): Optional argument uid decides + which user's login name to return. + +1994-10-16 Richard Stallman + + * xterm.c (dumpglyphs): Explicitly draw background stipple. + + * xfaces.c (intern_face): Set the fill_style. + + * paths.h.in (PATH_BITMAPS): New macro. + + * xterm.c (x_bitmap_icon): Arg FILE is now a Lisp_Object. + (x_iconify_frame, x_make_frame_visible): Supply FILE arg to it. + * xfns.c (x_set_icon_type): Pass x_bitmap_icon 2nd arg as Lisp_Object. + (x_icon_type): Return a Lisp_Object. + + * xfns.c (x_destroy_bitmap, x_reference_bitmap): Take frame as arg. + Callers changed. + (struct x_bitmap_record): New fields height, width, depth. + (x_create_bitmap_from_data): Fill in those fields. + (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap): New functions. + (x_create_bitmap_from_file): Arg FILE is now a Lisp_Object. + Search Vbitmap_file_path for it. Fill in new fields. + (syms_of_xfns): Set up Vbitmap_file_path. + + * xterm.c (x_bitmap_icon): Properly discard the previous bitmap. + (x_text_icon): Discard bitmap only if we have one. + + * xfaces.c (copy_face, merge_faces): Copy the pixmap_h and pixmap_w. + (intern_face): Store the stipple in the GC. + (unload_color): Really do free the color. + (free_frame_faces): Call unload_pixmap. + (Fset_face_attribute_internal): Handle background pixmap. + Destroy old pixmap when necessary. + (free_frame_faces): Destroy pixmaps. + (load_pixmap): New function. + (Fpixmap_spec_p): New function. + (syms_of_xfaces): Set up Lisp function pixmap-spec-p. + Set up Qpixmap_spec_p. + + * dispextern.h (struct face): Delete cached_index field. + * xfaces.c (compute_base_face): Don't set cached_index field. + + * ralloc.c (heap_base): Move static var to top level. + (struct heap): New slot `free'. + (obtain): Set `free' for new heap. + (get_bloc): Update `free'. + (find_heap): New function. + (update_heap_free_pointers): New function. + (resize_bloc, r_alloc_sbrk): Call update_heap_free_pointers. + +1994-10-15 Richard Stallman + + * lread.c (load_unwind): Cast argument of fclose. + + * xmenu.c: Delete HAVE_X11 conditionals. + + * xfaces.c (compute_base_face): Use FRAME_FOREGROUND_PIXEL, + FRAME_BACKGROUND_PIXEL, FRAME_FONT. + + * xterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) + (FRAME_FONT): New macros. + +1994-10-15 Tom Tromey + + * xterm.c (x_bitmap_icon): Allow bitmap to come from file. + (x_wm_set_icon_pixmap): Second arg is now pixmap_id; + call x_lookup_pixmap. + (x_text_icon): Call x_destroy_bitmap. + + * xfns.c (x_set_icon_type): If icon-type is a string, then use + bitmap from that file. + (Fx_create_frame): Set icon_bitmap field to -1. + (struct x_bitmap_record): New structure type. + (x_bitmaps, x_bitmaps_size, x_bitmaps_last, x_bitmaps_free): + New variables. + (x_allocate_bitmap_record): New function. + (x_reference_bitmap, x_create_bitmap, x_create_bitmap_from_file) + (x_destroy_bitmap, x_lookup_pixmap): New functions. + + * xterm.h (x_display): Changed icon_bitmap_flag to icon_bitmap. + Changed all users. + +1994-10-15 Richard Stallman + + * textprop.c (Fset_text_properties): Special case for getting + rid of all properties of a string. + +1994-10-15 Karl Heuer + + * xterm.c (stuffline, scraplines): Functions deleted. + (line_dance, line_dance_len, line_dance_in_progress): New vars. + (XTins_del_lines): Don't do any X calls; just update the array. + (do_line_dance): New function. Do the X calls here. + (XTupdate_end, XTwrite_glyphs): Call do_line_dance. + +1994-10-14 Richard Stallman + + * s/isc4-0.h (LIBS_SYSTEM): Add -lcposix. + (sigblock, SIG_BLOCK): Define if not defined. + + * sysdep.c (read_input_waiting): Set e.frame_or_window w/ XSETFRAME. + + * xterm.c (x_new_font): Don't keep looping after the FONT property. + +1994-10-13 Karl Heuer + + * term.c (term_get_fkeys_1): Workaround for IBM's dialect of terminfo. + +1994-10-13 Richard Stallman + + * xfns.c (Fx_create_frame): Init the FRAME_X_SCREEN + as soon as can be done. + + * xdisp.c (redisplay): Call clear_face_cache instead + of clear_face_vector. Do it at most once per 1000 redisplays. + + * xfaces.c: Eliminate the "display faces"; store GCs in the + "computed faces". + (face_vector, nfaces, nfaces_allocated): Vars deleted. + (free_frame_faces): Free GCs in the computed faces. + Free the computed faces themselves. + (clear_face_cache): Renamed from clear_face_vector + and completely rewritten to free GCs in the computed faces. + (get_cached_face): Function deleted. + (build_face): Function deleted; code moved into intern_face. + (intern_face): Don't treat default and modeline faces specially. + (recompute_basic_faces): Call intern_face, not build_face. + + * xfaces.c (intern_face, clear_face_vector, load_font, unload_font) + (load_color, free_frame_faces, recompute_basic_faces): + Use FRAME_X_DISPLAY. + + * m/mips-siemens.h (C_ALLOCA): Defined. + (HAVE_ALLOCA): Definition deleted. + + * editfns.c (Fuser_login_name, Fuser_real_login_name): + Call init_editfns now if it was not done before. + + * puresize.h (BASE_PURESIZE): Incremented. + + * lisp.h (Funhandled_file_name_directory): Declared. + +1994-10-10 Rainer Schoepf (Schoepf@Uni-Mainz.de) + + * unexalpha.c (Brk): Declare as unsigned long. + (unexec): Do CHECH_SCNHDR on _RCONST if that's defined. + Ignore rdata_section if there is none. + (update_dynamic_symbols): New arg new_name. Call changed. + Fix some calls to WRITE. + (fatal_unexec): Declare all arguments. + +1994-10-12 Richard Stallman + + * unexelf.c: Include config.h. + + * s/freebsd.h (LD_SWITCH_SYSTEM): New definition. + +1994-10-11 Karl Heuer + + * lisp.h (enum Lisp_Misc_Type): Add new enumerations + Lisp_Misc_Intfwd, Lisp_Misc_Boolfwd, Lisp_Misc_Objfwd, + Lisp_Misc_Buffer_Objfwd. + (enum Lisp_Type): Delete the corresponding enumerations from here. + (struct Lisp_Buffer_Objfwd): New structure. + (struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd): Ditto. + (XINTFWD, XBOOLFWD, XOBJFWD, XBUFFER_OBJFWD): Access the new structure. + (INTFWDP, BOOLFWDP, OBJFWDP, BUFFER_OBJFWDP): Ditto. + (XSETINTFWD, XSETBOOLFWD, XSETOBJFWD, XSETBUFFER_OBJFWD): Deleted. + (union Lisp_Misc): Add new members. + (allocate_misc): Declare this function. + (XINTPTR): Deleted. + * alloc.c (mark_object): Use the new substructure. + * buffer.c (buffer_slot_type_mismatch): Take just the offset as + argument. Only check against types that are actually used. + * bytecode.c (Fbyte_code): Skip optimization for all Lisp_Misc types. + * data.c (do_symval_forwarding, store_symval_forwarding, + find_symbol_value, Fset, default_value, Fset_default, + Fkill_local_variable): Use the new substructure. + (store_symval_forwarding): Change args to buffer_slot_type_mismatch. + * lread.c (defvar_int, defvar_bool, defvar_lisp, + defvar_lisp_nopro, defvar_per_buffer): Use the new substructure. + + * minibuf.c (test_completion): Fix reversed condition. + + * ralloc.c: Install Hiroshi Nakano's rewrite to allow multiple + heaps, for implementations where the C library makes calls to + sbrk directly. + +1994-10-11 Jim Blandy + + * search.c (scan_buffer): After temporarily turning immediate_quit + off, turn it back on by setting it to allow_quit, never 1. + + * search.c (find_before_next_newline): Declare the arguments' + types explicitly; don't let them default to int. + + * xdisp.c (display_scan_buffer): Pass the correct number of + arguments to scan_buffer. + +1994-10-11 Richard Stallman + + * keyboard.c (read_key_sequence): The output of function-key-map + goes to key-translation-map, but not vice versa. + Don't exit if either of them is a possibility. + +1994-10-11 Karl Heuer + + * lisp.h (Lisp_Misc): new type code, replacing Lisp_Marker (and + soon to replace other type codes as well). + (XMARKER, SETMARKER, MARKERP): Check/set the new type field. + (XMISC, SETMISC, MISCP): New accessor macros for the superset type. + (struct Lisp_Free): New structure. + (Lisp_Misc_Free): Type code for that structure. + * buffer.h (OVERLAY_POSITION): Marker assert now tests substructure. + * alloc.c: (MARKER_BLOCK_SIZE, marker_block, marker_free_list): + Now refers to the superset type, not just markers. + (allocate_misc): New function, extracted from Fmake_marker. + (Fpurecopy): Check the substructure. + (clear_marks, mark_object, gc_sweep): Likewise. + * buffer.c (buffer_slot_type_mismatch): Test against Lisp_Misc. + * fns.c (internal_equal): Check the substructure. + * print.c (print): Check the substructure. + +1994-10-10 Karl Heuer + + * sysdep.c (sys_subshell): Use NILP macro directly, not its + expansion. Previous code was leftover from when NULL was a bad + word. + +1994-10-10 Richard Stallman + + * fileio.c (Finsert_file_contents): Use original unexpanded + FILENAME arg to set buffer-file-name. + + * buffer.c (list_buffers_1): Fix indentation in header lines. + + * xdisp.c (redisplay_window): Fix Oct 1 change: + don't call cancel_my_columns unless we will call try_window. + +1994-10-10 Jim Blandy + + * buffer.c (syms_of_buffer): Doc fix for cache-long-line-scans. + +1994-10-10 Richard Stallman + + * syntax.c (scan_sexps_forward): At startincomment, + do notice a 2-char comment ender that straddles FROM. + +1994-10-09 Jim Blandy + + Cache the results of some scans, to improve performance in buffers + containing very long lines. + * region-cache.c, region-cache.h: New files. + * Makefile.in.in (obj) Add region-cache.o to the list of files. + (region-cache.o): New target. + (buffer.o, indent.o, search.o): Depend on region-cache.h. + * buffer.h (struct buffer): New members: newline_cache, + width_run_cache, width_table, and cache_long_line_scans. + * buffer.c: #include region-cache.h. + (Fget_buffer_create): Initialize new members of struct buffer. + (Fkill_buffer): Free memory occupied by caches. + (init_buffer_once): Set default value for cache_long_line_scans in + buffer_defaults, and give it a bit in buffer_local_flags. + (syms_of_buffer): Add DEFVAR_PER_BUFFER for cache_long_line_scans. + * insdel.c (prepare_to_modify_buffer): Invalidate width run and + newline caches, if they exist. + * search.c: #include "region-cache.h". + (max, min): Make these functions, not macros; we'd like to pass + them arguments that would be bad to evaluate more than once. + (newline_cache_on_off): New function. + (scan_buffer): New argument END. Call newline_cache_on_off. If + this buffer's newline cache is enabled, consult it to see if we + need to scan a region for newlines, and store information in the + cache after doing so. + (find_next_newline): Pass new arg to scan_buffer. + (find_before_next_newline): New function. + * cmds.c (Fforward_line): Call scan_buffer with new args. + (Fend_of_line): Replace call to Fforward_line and search loop with + call to find_before_next_newline. + * syntax.c (find_defun_start): Call scan_buffer with new args. + * indent.c: #include "region-cache.h". + (character_width, disptab_matches_widthtab, recompute_width_table, + width_run_cache_on_off): New functions. + (compute_motion): Call width_run_cache_on_off. If this buffer's + width run cache is enabled, consult it to see if we need to + traverse a region character-by-character; store information in the + cache after doing so. Call find_before_next_newline instead of + writing out an equivalent loop explicitly, to take advantage of + the newline cache. + Doc fixes. + * xdisp.c (redisplay_window): Invalidate width_run_cache, if the + buffer's display table doesn't match the width table the cache was + built for. + (display_text_line): Use compute_motion to skip forward to the + left edge of the window when the window is hscrolled; this is + faster than rendering all the characters into the bit bucket when + the hscroll is large. + Doc fixes. + (display_count_lines): Call scan_buffer with new args. + * disptab.h (window_display_table): Doc fix. + (buffer_display_table): New declaration. + * indent.h (disptab_matches_widthtab, recompute_width_table): New + declarations. + +1994-10-08 Richard Stallman + + * keyboard.c (inhibit_local_menu_bar_menus): New variable. + (read_char_x_menu_prompt): Optionally don't use local maps. + (syms_of_keyboard): Set up Lisp variable. + +1994-10-07 Karl Heuer + + * lisp.h (enum Lisp_Misc_Type): New type. + (struct Lisp_Marker): Add a member of that type. Delete unused + member `modified'. + +1994-10-07 Morten Welinder + + * minibuf.c (test_completion): New function, extracted from + do_completion. + (do_completion): Use test_completion. + (Fminibuffer_complete_and_exit): If completion is already + exact, don't try to complete it. + + * dired.c (file_name_completion): Ignore files "." and ".." + in first pass. + (Ffile_name_completion): Perform the completion even if the + name part is empty. + +1994-10-07 Richard Stallman + + * insdel.c (make_gap): Keep input blocked till after we set BEG_ADDR. + + * fileio.c (check_writable, check_executable): Test HAVE_EACCESS. + + * config.h.in (HAVE_EACCESS): Add #undef. + +1994-10-06 Karl Heuer + + * alloc.c (mark_object): Don't check for Lisp_Void; nothing ever + creates that type. + * bytecode.c (Fbyte_code): Likewise. + * data.c (Fboundp, Ffboundp, find_symbol_value, Fset, + Fdefault_boundp, Fdefault_value): Likewise. + * lisp.h (Lisp_Void, VOIDP): Deleted. + + * floatfns.c (Fabs): Don't use XFASTINT when negative. + * data.c (Flsh, Fadd1, Fsub1, Flognot): Likewise. + + * buffer.c (init_buffer_once): Don't use XSETFASTINT when negative. + (reset_buffer_local_variables, Fbuffer_local_variables): Access + buffer_local_flags as Lisp_Object, not int. + * data.c (Fset, default_value, Fset_default, + Fkill_local_variable): Likewise. + * lread.c (defvar_per_buffer): Likewise. + Give XSETBUFFER_OBJFWD an integer offset, not a pointer. + + * lread.c (read1): New argument for returning out-of-band data, + obviating the need for Lisp_Internal datatype. + (read0, read1, read_list): Use that new calling sequence. + * lisp.h (Lisp_Internal, XSETINTERNAL, INTERNALP): Deleted. + + * lread.c (Fload, load_unwind): Store stream pointer as a cons of + two integers, obviating the need for Lisp_Internal_Stream datatype. + * lisp.h (Lisp_Internal_Stream, XSETINTERNAL_STREAM, + INTERNAL_STREAMP): Deleted. + * alloc.c (mark_object): Delete case Lisp_Internal_Stream. + +1994-10-05 Richard Stallman + + * unexec.c (make_hdr): Undo June 16 change. + + * fileio.c (Ffile_regular_p): New function. + (syms_of_fileio): defsubr it. + + * xterm.c (x_term_init): Call XtSetLanguageProc or XSetLocaleModifiers. + +1994-10-04 Richard Stallman + + * xfns.c (x_set_icon_type): Remove period from error message. + + * xterm.c (x_make_frame_visible, x_iconify_frame): + Call x_bitmap_icon if frame wants a bitmap icon. + + * xfns.c (x_icon_type): New function. + + * callint.c (Finteractive): Doc fix. + +1994-10-04 Karl Heuer + + * buffer.c (validate_region): Swap using temp Lisp_Object, not int. + + * lisp.h (XSETINT): Set object type as well as value. + (XSETCONS, XSETBUFFER, XSETVECTOR, XSETSUBR, XSETSTRING, + XSETSYMBOL, XSETMARKER, XSETOBJFWD, XSETWINDOW, XSETPROCESS, + XSETFLOAT): Likewise. + (XSETBOOLFWD, XSETBUFFER_OBJFWD, XSETWINDOW_CONFIGURATION, + XSETINTERNAL_STREAM, XSETINTFWD, XSETINTERNAL): New macros. + (XSETUINT, XSETPNTR, XFUNCTION, XSETFUNCTION, XSETINTPTR): Deleted. + + * frame.h (XSETFRAME): Set object type as well as value. + * m/alpha.h, m/gec63.h, m/hp800.h, m/iris4d.h, m/iris5d.h, m/mips.h: + Don't override the (new) definition of XSETINT from lisp.h. + Delete XSETUINT and XSETPNTR, which are no longer used. + * *.c: Use new accessor macros instead of calling XSET directly. + * xterm.h (SCROLL_BAR_UNPACK): Likewise. + * fns.c (Fstring_equal): No longer necessary to set type separately. + (Fstring_lessp): Likewise. + * callint.c (Fprefix_numeric_value): Likewise. + * fileio.c (Finsert_file_contents): Likewise. + + * lisp.h (XSETFASTINT): New macro. + (XFASTINT): Changed to non-lvalue syntax, to ensure that callers + will use XSETFASTINT instead. + (CHECK_NUMBER_COERCE_MARKER): Don't use XFASTINT as an lvalue. + (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Likewise. + * *.c: Likewise. + * frame.h (FOR_EACH_FRAME): Likewise. + +1994-10-04 Richard Stallman + + * Makefile.in.in (MKTIME_OBJ): New variable. + (obj): Use MKTIME_OBJ. + + * config.h.in (HAVE_MKTIME): Add #undef. + + * xmenu.c (widget_id_tick): Move definition into conditional. + (syms_of_xmenu): Conditionalize initialization of widget_id_tick. + + * xmenu.c (last_menu_bar_item_end): Var deleted. + (this_menu_bar_item_beg, this_menu_bar_item_end): Vars deleted. + (other_menu_bar_item_p, unread_menu_bar_button) + (check_mouse_other_menu_bar): Functions deleted. + (last_event_timestamp, Vdouble_click_time, Vmouse_depressed): + Decls deleted. + (xmenu_show): XMENU_FOO conditional and its contents deleted. + + * xterm.c (input_signal_count): New variable. + (XTread_socket): Increment it. + (x_make_frame_visible): Exit final loop when XTread_sockets has run. + +1994-10-02 Karl Heuer + + * window.c (Frecenter): Don't trigger point-motion hooks. + + * fileio.c (Finsert_file_contents): set type of `end', not just + the value. + + * xfns.c (x_figure_window_size): Use new formula for scroll bar width. + + * config.h.in (HAVE_UTIME_H): Add #undef. + * systime.h: Don't include here. + * sysdep.c: Include it here instead. + (set_file_times): Move struct declaration to top of file. + +1994-10-02 Paul Reilly + + * xmenu.c (popup_get_selection): Remove BLOCK_INPUT, UNBLOCK_INPUT + since the calls to popup_get_selection provide the protection. + +1994-10-02 Paul Reilly + + * xfns.c: (HACK_EDITRES): Declare if using X11R5. + (widget_id_tick): New variable. + (x_any_window_to_frame): Use lw_window_is_in_menubar for + widget set independence. + (x_window): Renamed screen_widget to frame_widget. Use + lw_create_widget and lw_set_main_areas for widget set + independence. Enable using editres for X11R5. + + * widget.c (EmacsFrameSetCharSize): Use lw_refigure_widget for + widget set independence. + + * widget.h: Declare resources showGrip, allowResize, and + resizeToPreferred. + + * keyboard.c (make_lispy_event): Do not set item. Now handled in + xmenu.c by popup_get_selection. + +1994-10-01 Richard Stallman + + * frame.c (keys_of_frame): Make binding for delete-frame. + + * xdisp.c (redisplay_window): If we set PT, and that alters a region + being highlighted, call try_window again. + + * Makefile.in.in (LIBXTR6): If NEED_LIBW, add -lw. + * s/usg5-4-2.h (NEED_LIBW): Defined. + + * Makefile.in.in (LDFLAGS): New variable. + (LIBX): Use LDFLAGS. + +1994-09-30 Richard Stallman + + * data.c (Fmake_local_variable): Doc fix. + +1994-09-29 Richard Stallman + + * fileio.c (check_writable, check_executable) [__HURD__]: + Use eaccess. + + * xfaces.c (compute_char_face): Handle list as overlay face property. + +1994-09-29 Karl Heuer + + * minibuf.c (scmp): Use unsigned chars, to avoid confusing DOWNCASE. + + * unexaix.c (CHECK_SCNHDR, write_segment): Fix format/arg mismatch. + * xfns.c (x_report_frame_params): Likewise. + +1994-09-29 Boris Goldowsky + + * xfaces.c (compute_char_face): If face text-property is a list, + merge the attributes of the faces in the list. + +1994-09-29 Richard Stallman + + * buffer.c (Foverlay_get): Handle `category' property on overlay. + + * xfaces.c (Fset_face_attribute_internal): Mark frame garbaged whenever + any face's font or color is changed. + + * keyboard.c (head_table): Set up Qdelete_frame. + (kbd_buffer_get_event): Handle delete_window_event by making + a delete-frame event. + +1994-09-28 Richard Stallman + + * data.c (Flocal_variable_p): New function. + (syms_of_data): defsubr it. + +1994-09-28 Karl Heuer + + * fileio.c (Fdelete_file): Undo Sep 16 change. + * dired.c (syms_of_dired): Likewise. + +1994-09-27 Karl Heuer + + * frame.h (scroll_bar_pixel_width, scroll_bar_cols): Update comment. + * xfns.c (x_set_scroll_bar_width): Nil now means 2 columns' worth. + (Fx_create_frame): Default scroll bar width is now nil. + * xterm.c (x_new_font): New rule for computing column width. + Factored out common code. + (XTset_vertical_scroll_bar): Use new width formula. + [!USE_X_TOOLKIT] (x_set_window_size): Likewise. + * widget.c (set_frame_size, EmacsFrameSetCharSize): Likewise. + + * lisp.h (BOOLFWDP, INTERNALP, INTFWDP, OBJFWDP, INTERNAL_STREAMP, + BUFFER_LOCAL_VALUEP, SOME_BUFFER_LOCAL_VALUEP, BUFFER_OBJFWDP, + VOIDP): New type test macros. + * *.h, *.c: Use type test macros instead of checking XTYPE directly. + +1994-09-26 Richard Stallman + + * window.c (syms_of_window): Doc fix. + +1994-09-26 Fred Pierresteguy + + * m/dpx2.h (POSIX_SIGNALS): Define it. + (sigsetmask): Add #undef. + +1994-09-26 Karl Heuer + + * m/*.h, s/*.h (WORDS_BIG_ENDIAN): Renamed from BIG_ENDIAN, + and restored where mistakenly deleted by earlier change. + + * emacs.c (argmatch): New function. + (main): Recognize --longopt synonyms for all options handled here. + Add --help and --version. + +1994-09-25 Richard Stallman + + * unexsunos4.c: Delete __FreeBSD__ conditional macro definitions. + (unexec): Major changes in UNDO_RELOCATION code. + + * unexsunos4.c (is_it): Rename argument and local variable. + +1994-09-25 Richard Stallman + + * Makefile.in.in (${etc}DOC): Run make-docfile twice--two batches. + +1994-09-24 Richard Stallman + + * sysdep.c (set_file_times): Don't test HAVE_UTIME. + Assume utime exists if utimes does not. + + * config.h.in (HAVE_UTIMES): Add #undef. + + * editfns.c (Fformat_time_string): Mostly rewritten, to handle + unlimited size, and report errors properly. + + * Makefile.in.in (strftime.o, mktime.o): New target. + (obj): Add strftime.o and mktime.o. + + * strftime.c, mktime.c: New files (shared from libc). + +1994-09-24 Erik Naggum (erik@naggum.no) + + * editfns.c (Fformat_time_string): New function. + (syms_of_editfns): Defsubr it. + +1994-09-24 Richard Stallman + + * sysdep.c [USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions. + * s/sunos4-1.h (USE_DL_STUBS): Defined. + * s/sunos4shr.h (USE_DL_STUBS): Add #undef. + + * fileio.c (Ffile_writable_p): Use stat to test for existence. + (check_executable, check_writable): New functions. + (Ffile_executable_p, Ffile_writable_p): Use the new functions. + + * intervals.c (set_point): + If Vinhibit_point_motion_hooks, ignore intangible properties. + If move backwards into intangible text, move back over it. + + * textprop.c (syms_of_textprop): Doc fix. + + * config.h.in (STACK_DIRECTION): Don't redefine if defined already. + Move definition down past #include's. + +1994-09-23 Richard Stallman + + * s/linux.h: Don't include signal.h, values.h. + (signal): Definition deleted. + + * abbrev.c (Fexpand_abbrev): Instead of Fcapitalize_region, + just upcase the first initial. + + * casefiddle.c (Fupcase_initials_region): New function. + (Fupcase_initials): New function. + (syms_of_casefiddle): defsubr them. + + * minibuf.c (read_minibuf_unwind): Preserve Vdeactivate_mark. + + * s/isc2-2.h (DONT_DEFINE_SIGNAL): Macro deleted. + + * m/next.h (DK_HEADER_FILE): Macro deleted. + + * m/tahoe.h (DKSTAT_HEADER_FILE): Macro deleted. + + * m/hp800.h (CPTIME_SYMBOL, DKXFER_SYMBOL): Macros deleted. + + * sysdep.c (start_of_text): Don't test CANNOT_UNEXEC. + * unexec.c: Don't test CANNOT_UNEXEC. + * unexaix.c: Don't test CANNOT_DUMP or CANNOT_UNEXEC. + + * sysdep.c: Delete BROKEN_FASYNC conditional. + + * data.c (Fset_default, Fset): Delete RTPC_REGISTER_BUG conditionals. + + * process.c (Fprocess_send_eof): Delete DID_REMOTE conditional. + + * buffer.c (get-file-buffer): Doc fix. + +1994-09-23 Richard Stallman + + * frame.c (prev_frame): Fix typo. + + * unexec.c (copy_text_and_data): Delete some printf's. + + * m/acorn.h (PURESIZE): Definition deleted. + + * xfns.c (x_figure_window_size): Decode (- N), (+ N) for position. + (x_set_frame_parameters): Handle (+ N) and (- N). + Preserve negative positions properly too. + [USE_X_TOOLKIT] (x_window): Let xneg, yneg specify whether to + negate left and top. + (Fx_parse_geometry): Handle [XY]Negative with positive number + or negative number without [XY]Negative. + + * callint.c (Qplus): New variable. + (syms_of_callint): Set it up. + * lisp.h (Qplus): Declared. + + * xfns.c (Fx_create_frame): Rename menuBarLines resource to menuBar. + + * s/sunos4-1-3.h, s/sunos4shr.h (X_IO_BUG): Definition deleted. + + * textprop.c (Fset_text_properties): Don't let validate_interval_range + increment START and END twice. + + * xterm.h (FRAME_X_DISPLAY): New macro. + + * s/freebsd.h (BSD): Have two definitions according to version number. + +1994-09-22 Richard Stallman + + * xterm.c (x_destroy_window): Decrement ref count of x_screen struct. + + * xfns.c (the_x_screen): New variable. + (syms_of_xfns): Staticpro parts of it. + (Fx_open_connection): Initialize it. + (Fx_create_frame): Make frame point to it. + (Fx_list_fonts): Use a cache stored in FRAME_X_SCREEN. + + * xterm.h (struct x_screen): New structure. + (struct x_display): New field x_screen. + (FRAME_X_SCREEN): New macro. + + * process.c (exec_sentinel_error_handler): Call update_echo_area. + (read_process_output_error_handler): Likewise. + + * xdisp.c (update_echo_area): New function. + +1994-09-22 Karl Heuer + + * buffer.c (evaporate_overlays): Overlay is in car, not cdr. + +1994-09-21 Tom Tromey + + * doc.c (get_doc_string): Look in ../etc while dumping. + (munge_doc_file_name): New subroutine. + +1994-09-22 Richard Stallman + + * minibuf.c (Fcompleting_read): Doc fix. + + * puresize.h (BASE_PURESIZE): Increment both values. + + * window.c (Fdelete_other_windows): Nice error if WINDOW is minibuf. + + * lisp.h (Vdebug_on_error): Declared. + + * process.c (exec_sentinel_error_handler): New function. + (exec_sentinel): Catch all errors in the sentinel. + + * keyboard.c (read_char): Don't return right away when + read_char_minibuf_menu_prompt returns non-nil. + Instead, set key_already_recorded, which inhibits most but not all + of the work at non_reread. + +1994-09-21 Simon Leinen + + * cm.h (cmputc): Return int rather than void. + * cm.c (evalcost, cmputc): They now return their arguments. + +1994-09-21 Per Abrahamsen + + * window.c (display-buffer, special-display-buffer-names) + (special-display-regexps, special-display-function): Accept cons + cells in `special-display-buffer-names' and + `special-display-regexps'. If the buffer name matches the car, + call `special-display-function' with the cdr as a second argument. + +1994-09-21 Richard Stallman + + * s/bsd386.h (HAVE_TERMIOS, NO_TERMIO): Defined. + + * editfns.c (Fmessage_or_box): Use Fmessage_box with new name. + + * process.c (read_process_output_error_handler): New function. + (read_process_output_call): New function. + (read_process_output): Catch and report errors in filters. + + * keyboard.c (cmd_error_internal): + New function, broken out of cmd_error. + + * fileio.c (Fread_file_name): If DEFAULT is nil and INITIAL is not, + use INITIAL to set DEFAULT. + + * editfns.c (Fmessage_box): Renamed from Fbox_message. + +1994-09-17 Michael Ben-Gershon (mybg@cs.huji.ac.il) + + * unexec.c (copy_text_and_data): Add RISCiX changes. + + * m/acorn.h, s/riscix1-1.h, s/riscix1-2.h: New files added. + +1994-09-21 Bill Burton (billb@progress.com) + + * s/ptx.h: New file for Sequent DYNIX/ptx 1.x/2.x + + * m/sequent-ptx.h: New file for Sequent DYNIX/ptx 1.x/2.x + +1994-09-21 Frederic Pierresteguy + + * editfns.c (Fbox_message): New function to print a message in + a dialog box. + (Fmessage_or_box): New function that choose whether to print a + message in a dialog or in the echo area. + +1994-09-21 Richard Stallman + + * search.c (Freplace_match): New 4th arg OBJECT can specify string + to replace in. + + * casefiddle.c (upcase_initials): New function. + (casify_object): Handle CASE_CAPITALIZE_UP. + + * fns.c (concat3): New function. + + * xfns.c (Fx_get_resource): Doc fix. + + * buffer.c (overlays_at): New arg PREV_PTR. + Return previous overlay end. + (Foverlays_at): Pass NULL for last 2 args of overlays_at. + (Fnext_overlay_change): Pass new arg to overlays_at. + (Fprevious_overlay_change): New function. + * xterm.c (note_mouse_highlight): Pass new arg to overlays_at. + * xfaces.c (compute_char_face): Pass new arg to overlays_at. + * textprop.c (Fget_char_property): Pass new arg to overlays_at. + (NULL): Define if not defined. + + * minibuf.c (get_minibuffer): Make BUF current to kill its local vars. + +1994-09-20 Karl Heuer + + * ralloc.c (r_alloc_freeze_level): New variable. + (r_alloc_freeze, r_alloc_thaw): New functions. + (r_alloc_sbrk): Refuse to move blocs, if frozen. + + * unexaix.c (report_error): Include reason in error message. + +1994-09-20 Richard Stallman + + * eval.c (init_eval_once): Init Vrun_hooks here. + (syms_of_eval): Not here. + +1994-09-20 Karl Heuer + + * search.c (trivial_regexp_p): New function. + (search_buffer): Don't depend on internal format of re_pattern_buffer. + + * frame.h (FRAME_SCROLL_BAR_PIXEL_WIDTH): New macro, supersedes + VERTICAL_SCROLL_BAR_PIXEL_WIDTH; no longer device-dependent. + All callers changed. + (FRAME_SCROLL_BAR_COLS): New macro, supersedes + VERTICAL_SCROLL_BAR_WIDTH; no longer constant. All callers changed. + (scroll_bar_pixel_width, scroll_bar_cols): New members of struct frame. + * xterm.h (VERTICAL_SCROLL_BAR_PIXEL_WIDTH): Deleted. + * xfns.c (x_set_scroll_bar_width): New function. + (x_frame_parms): Add that function to this table. + (Qscroll_bar_width): New symbol. + (syms_of_xfns): Initialize and staticpro it. + (Fx_create_frame): Set default scroll bar width. + * xterm.c (x_new_font): Compute number of scrollbar columns. + + * keyboard.c (kbd_store_ptr): Declare storage class before qualifier. + (make_lispy_event): Fix Lisp_Object vs. int problems. + (read_avail_input, menu_bar_items_index, read_key_sequence): Likewise. + * window.c (Fset_window_buffer): Likewise. + * alloc.c (make_float, make_pure_float): Likewise. + + * sysdep.c (set_file_times): Move this out of the USG conditional. + +1994-09-19 Richard Stallman + + * s/sco4.h (POSIX_SIGNALS): Defined. + +1994-09-19 Karl Heuer + + * buffer.c (syms_of_buffer): Doc fix. + + * keymap.c (Fkey_description): Reverse condition. + +1994-09-19 Jim Blandy + + Add a new element to display tables controlling side-by-side + window borders. + * buffer.c (syms_of_buffer): Update doc string for + `buffer-display-table'. + * disptab.h (DISP_TABLE_SIZE): Bump to 262. + (DISP_BORDER_GLYPH): New accessor macro. + * xdisp.c (display_text_line): Consult the display table when + building side-by-side window borders. + +1994-09-19 Richard Stallman + + * s/netbsd.h (SYSTEM_TYPE): Delete definition. + + * lisp.h (RETURN_UNGCPRO): Use if (1) .. else, not do ... while (0). + +1994-09-18 Karl Heuer + + * lisp.h (Fmember): Declare this function. + * intervals.c: #include "keyboard.h" + * term.c: Declare Fmake_sparse_keymap. + * minibuf.c (read_minibuf): Fix Lisp_Object vs. int problems. + * frame.h [!MULTI_FRAME] (FOR_EACH_FRAME): Likewise. + * fns.c (Frandom): Likewise. + * eval.c (Fsignal): Likewise. + * frame.c (Fframe_parameters): Likewise. + * indent.c (vmotion, Fvertical_motion): Likewise. + * lread.c (openp): Likewise. + * dispnew.c (direct_output_for_insert, direct_output_forward_char): + Likewise. + * textprop.c (validate_interval_range, property_value, + Fget_char_property, Fnext_property_change, + Fnext_single_property_change, Fprevious_property_change, + Fprevious_single_property_change): Likewise. + +1994-09-18 Richard Stallman + + * process.c (pty_name): Move it up; make it static. + (create_process): Set the tty_name field. + (Fprocess_tty_name): New function. + (syms_of_process): defsubr it. + + * process.h (struct process): New field tty_name. + + * s/sol2.h (HAVE_VFORK): Defined. + (C_SWITCH_SYSTEM): Deleted. + (const): Definition deleted. + + * fileio.c (Ffile_writable_p): Don't use ro_fsys. + (ro_fsys): Deleted. + +1994-09-18 Karl Heuer + + * config.h.in (_ALL_SOURCE): Don't redefine if already defined. + + * xdisp.c [!HAVE_X_WINDOWS] (store_frame_title): Dummy macro. + + * sysdep.c (set_file_times): New function, replaces EMACS_SET_UTIMES. + * fileio.c (Fcopy_file): Use it, and check for the error return. + * systime.h: Declare it. + [HAVE_UTIME_H]: #include . + + * config.h.in (_ALL_SOURCE, HAVE_STRUCT_UTIMBUF, HAVE_SELECT, + HAVE_TIMEVAL): Add #undefs. + + * s/*.h, m/*.h: Delete obsolete symbols USE_UTIME, MISSING_UTIMES, + IRIS_UTIME, USG_SYS_TIME, HAVE_SELECT, HAVE_TIMEVAL, BIG_ENDIAN. + +1994-09-18 Richard Stallman + + * dispnew.c (preserve_other_columns): Fix arg to sizeof in bcopy call. + + * minibuf.c (get_minibuffer): Call Fkill_all_local_variables. + + * buffer.c (reset_buffer): Don't call reset_buffer_local_variables. + (Fget_buffer_create): Call it here. + (init_buffer_once): And here. + + * window.c (struct saved_window_data): New slots min_width, min_height. + (Fcurrent_window_configuration): Set slots from window_min_... + (Fset_window_configuration): Restore them. + Set window_min_height and window_min_width to 1 + while restoring windows. + + * unexsunos4.c (SUNOS4 or __FreeBSD__): Define UNDO_RELOCATION. + (unexec): Test UNDO_RELOCATION. Distinguish the relocation formats + of __FreeBSD__ and SUNOS4. + + * s/sol2.h (REL_ALLOC): #undef deleted. + + * keymap.c (Fkey_description): Give error if KEYS not an array. + (get_keyelt, access_keymap, get_keymap_1): Use type test macros. + +1994-09-17 Richard Stallman + + * unexsunos4.c (unexec): Fix logic for rounding section boundaries. + + * config.h.in (EMACS_CONFIG_OPTIONS): Add #undef. + + * textprop.c (property_value): Declare args plist, prop. + + * s/osf1.h (malloc, realloc): Declared. + + * print.c (print): sprintf arg for frame depends on VALBITS. + + * callproc.c (Fcall_process) [__osf__ && __alpha]: + Don't stop reading if read returns negative. + + * puresize.h (PURESIZE_RATIO, BASE_PURESIZE): Defined. + (PURESIZE): Define it based on those. + * m/alpha.h (PURESIZE): Definitions deleted. + +1994-09-16 Karl Heuer + + * buffer.h: Declare some functions. + * intervals.h: Declare some functions. + * lisp.h: Declare some functions. + * xterm.c, xfaces.c: Add #include "intervals.h" + * fileio.c (barf_or_query_if_file_exists): Fix declaration. + * xmenu.c (menu_item_enabled_p): Fix declaration. + +1994-09-16 Richard Stallman + + * xfns.c (hack_wm_protocols): Arrange to handle WM_SAVE_YOURSELF. + + * s/hpux9.h (HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change. + +1994-09-16 Karl Heuer + + * emacs.c (Vsystem_configuration_options): New variable. + (syms_of_emacs): Initialize it. + + * buffer.h: Declare evaporate_overlays. + * buffer.c: Declare new symbol Qevaporate. + (syms_of_buffer): Initialize it. + (Fmove_overlay): Check if overlay is empty. + (Foverlay_put): Check if setting evaporate property on empty overlay. + (evaporate_overlays): New function. + * insdel.c (del_range_1): Call evaporate_overlays after deleting text. + +1994-09-16 Richard Stallman + + * m/intel386.h (HAVE_VFORK): Defined. + [__GNUC__] (C_SWITCH_SYSTEM): Add #undef. + + * emacs.c (shut_down_emacs): Don't call Fx_close_current_connection. + + * lisp.h (EMACS_INT, EMACS_UINT): Define, if not already defined. + + * alpha.h (EMACS_INT, EMACS_UINT): Defined. + +1994-09-16 Rainer Schoepf + + * s/osf1.h [__alpha] (LD_SWITCH_SYSTEM): Alternate definition. + + * unexalpha.c, m/alpha.h: New files. + + * alloc.c (pure, pure_size): Use EMACS_INT. + (free_float, free_cons, PAD, STRING_FULLSIZE, struct string_block) + (make_pure_string, make_pure_vector, Fgarbage_collect, mark_object) + (gc_sweep, compact_strings, Fmemory_limit): Use EMACS_INT. + + * buffer.c (reset_buffer_local_variables, Fbuffer_local_variables) + (init_buffer_once): Use EMACS_INT. + + * callint.c (Fcall_interactively): Use EMACS_INT. + + * data.c (sign_extend_lisp_int): Use EMACS_INT. + + * dispextern.h (struct face): Use EMACS_UINT. + + * doc.c (Fdocumentation): Use EMACS_INT. + + * editfns.c (Fnarrow_to_region, format1): Use EMACS_INT. + + * floatfns.c (FLOAT_TO_INT, FLOAT_TO_INT2): Use EMACS_INT. + + * frame.h (struct frame, selected_frame, last_nonminibuf_frame): + Use EMACS_INT. + + * lisp.h (Lisp_Object): Use EMACS_INT. + (MARKBIT): Don't define if already defined. + (VALMASK, GCTYPEMASK, XSETTYPE, XSET) + (XSETCONS, XSETBUFFER, XSETVECTOR, XSETSUBR, XSETSTRING) + (XSETSYMBOL, XSETFUNCTION, XSETMARKER, XSETOBJFWD) + (XSETINTPTR, XSETWINDOW, XSETPROCESS, XSETFLOAT) + (struct Lisp_String, struct Lisp_Vector): Use EMACS_INT. + + * lread.c (Fload): Use EMACS_INT. + + * marker.c (unchain_marker): Use EMACS_INT. + + * mem-limits.h: Check for __alpha, in __osf__ conditional. + (EXCEEDS_LISP_PTR): Use EMACS_UINT. + + * print.c (print): Use EMACS_UINT. + + * puresize.h (CHECK_IMPURE, all versions): Use EMACS_INT. + + * window.h (struct window): Use EMACS_INT. + + * xdisp.c (message): Use EMACS_INT. + + * xterm.h (struct scroll_bar, SCROLL_BAR_VEC_SIZE): Use EMACS_INT. + +1994-09-16 Morten Welinder + + * fileio.c (Finsert_file_contents) [MSDOS]: Don't re-gc-protect + filename; delete unused variables. + +1994-09-16 Karl Heuer + + * term.c (clear_to_end): Fix reversed condition. + +1994-09-16 K. Berry + + * dired.c (Qcompletion_ignored_extensions): New symbol. + (syms_of_dired): Initialize it. + * fileio.c (Fdelete_file): Bind completion-ignored-extensions to nil. + +1994-09-16 Morten Welinder (terra@diku.dk) + + * s/msdos.h (MODE_LINE_BINARY_TEXT): Define this symbol. + * xdisp.c (decode_mode_spec): Use it when defined. + +1994-09-16 Andreas Schwab + * minibuf.c (read_minibuf): Don't add to the history list if the + minibuffer string is empty, since it is not very useful. + +1994-09-16 Richard Stallman + + * m/hp9000s300.h [not BSD4_3] [__GNUC__] (HAVE_ALLOCA): Defined. + +1994-09-16 Karl Heuer + + * xdisp.c [!HAVE_X_WINDOWS] (frame_title_ptr): define as always null. + +1994-09-16 Richard Stallman + + * xterm.c: Delete X11 conditionals. + (XTupdate_end, XTupdate_begin, XTclear_end_of_line) + (XTclear_frame, XRINGBELL, stufflines, scraplines, dumprectangle) + (XTread_socket, x_draw_box, clear_cursor, refreshicon, x_iconify_frame) + (x_bitmap_icon, x_text_icon, x_new_font, x_term_init) + (x_calc_absolute_position, x_set_window_size) + (x_make_frame_visible, x_make_frame_invisible): Delete X10 code. + (dumpqueue, x_do_pending_expose, dumpborder, XEvent, x_read_exposes) + (enqueue_event, dequeue_event, queue_event_count) + (mouse_event_pending_p, x_set_resize_hint): Delete X10 versions. + + * xfns.c: Delete X11 conditionals. + (defined_color, x_decode_color, x_set_foreground_color) + (x_set_background_color, x_set_mouse_color, x_set_cursor_color) + (x_set_border_color, x_set_border_pixel, Fx_create_frame) + (Fx_open_connection, Fx_close_current_connection, syms_of_xfns): + Delete X10 code. + (Fx_get_default, Fx_get_resource, Fx_rubber_band) + (Fx_store_cut_buffer, Fx_get_cut_buffer): Delete X10 definitions. + + * xfns.c (Fx_display_grayscale_p): New function. + (syms_of_xfns): defsubr it. + + * s/bsd386.h (__bsdi__): Define, unless already defined. + (DECLARE_GETPWUID_WITH_UID_T): Define. + + * filelock.c (getpwuid): Test just DECLARE_GETPWUID_WITH_UID_T, + not __bsdi__. + * xrdb.c (getpwuid, getpwnam): Test just DECLARE_GETPWUID_WITH_UID_T, + not __bsdi__. + +1994-09-15 Karl Heuer + + * editfns.c (syms_of_editfns): Make Vsystem_name and Vuser...name + lisp variables again. + * xdisp.c (multiple_frames, Vframe_title_format, + Vicon_title_format): New variables. + (store_frame_title): New function. + (x_consider_frame_title): Format title according to template. + (display_mode_element): Handle frame title as well as mode line. + (decode_mode_spec): Use w->buffer, not current_buffer. + +1994-09-15 Richard Stallman + + * s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Defined. + [NO_SHARED_LIBS and __FreeBSD__]: + (LD_SWITCH_SYSTEM, A_TEXT_OFFSET, A_TEXT_SEEK): Alternate definitions. + + * textprop.c (syms_of_textprop): + Delete Lisp var interval-balance-threshold. + + * intervals.c, intervals.h (interval_balance_threshold): Var deleted. + + * xfns.c (Fx_create_frame): Make 1 the default for menu-bar-lines. + + * keyboard.c (gobble_input): Use sigblockx only if it is defined. + + * unexsunos4.c [SUNOS4]: Include link.h. + (unexec) [SUNOS4]: Cancel relocations that ld.so did. + + * s/sunos4-0.h (SUNOS4): Defined. + +1994-09-14 Richard Stallman + + * Makefile.in.in (xmenu.o): Depend on puresize.h. + (cmds.o): Depend on window.h. + + * cmds.c: Include window.h. + (Fnewline): Inhibit the insert-at-end-of-line hack + when at the top of the window. + + * minibuf.c (Fcompleting_read): Doc fix. + + * xmenu.c: Include puresize.h. + (menu_item_equiv_key): Use CHECK_IMPURE. + + * syntax.c (Fforward_comment): Do increment from, when reaching + single-char comment end going forward. + + * callproc.c (delete_temp_file): Use Fdelete_file. + + * fileio.c (Fset_default_file_modes): Doc fix. + + * Makefile.in.in (OLDXMENU variable): Refer to the library in the + dir where it is compiled. + (OLDXMENU rule): Delete the commands; keep just a dep. + +1994-09-11 Richard Stallman + + * Version 19.27 released. + +1994-09-10 Richard Stallman + + * keymap.c (syms_of_keymap): Doc fix. + + * keyboard.c (gobble_input): Block SIGALRM if we are using it. + + * gmalloc.c: Bug fix affecting __ptrdiff_t in non-ANSI case. + +1994-09-07 Richard Stallman + + * Version 19.26 released. + +1994-09-08 Richard Stallman + + * keyboard.c (record_asynch_buffer_change): Don't test + Fwaiting_for_user_input_p if no subprocesses. + +1994-09-05 Richard Stallman + + * s/sol2.h [USE_X_TOOLKIT && HAVE_X11XTR6] (REL_ALLOC): Undefine it. + +1994-09-04 Richard Stallman + + * emacs.c (init_cmdargs): After chasing link, use only the + expanded name. + +1994-09-04 Karl Heuer + + * fileio.c (Ffile_accessible_directory_p): Put back the gcpro. + + * sysdep.c (srandom): Pass arg to srand48; no return value. + +1994-09-04 Richard Stallman + + * emacs.c (init_cmdargs): When setting dir, expand the dir name. + + * sysdep.c (random, srandom): Check HAVE_LRAND48, not HAVE_RAND48. + Call lrand48, nor rand48. + + * config.h.in (HAVE_LRAND48): Replaces HAVE_RAND48. + +1994-09-03 Kaveh R. Ghazi (ghazi@noc.rutgers.edu) + + * m/delta88k.h [__GNUC__] (HAVE_ALLOCA): Defined. + [__GNUC__] (C_ALLOCA): Add #undef + (LIB_X11_LIB): Add #undef. + (HAVE_TERMIOS): Defined. + (HAVE_TERMIO): Add #undef. + (NO_TERMIO): Defined. + (sigsetmask): Add #undef. + (USE_GETOBAUD): Defined. + +1994-09-03 Richard Stallman + + * sysdep.c (init_baud_rate): Test that getobaud is actually defined. + + * sysdep.c (init_baud_rate) [USE_GETOBAUD]: Use getobaud. + +1994-09-02 Richard Stallman + + * insdel.c (prepare_to_modify_buffer): Don't call + verify_overlay_modification if no overlays or + verify_interval_modification no intervals. + + * textprop.c (Fset_text_properties): + Return early if buffer has no intervals and PROPS is nil. + +1994-09-02 Lennart Staflin (lenst@rudolf) + + * xdisp.c (display_text_line): Don't overrun the charstart area. + +1994-09-02 Richard Stallman + + * insdel.c (insert_1): Don't call interval fns if buffer has none. + + * textprop.c (Fset_text_properties): Don't create or split an interval + if we trivially do not need to change anything. + +1994-08-31 Richard Stallman + + * xfns.c (defined_color): New arg ALLOC--optionally don't allocate + the color. + (x_decode_color, Fx_color_defined_p): Pass new arg. + (Fx_color_values): New function. + +1994-08-30 Richard Stallman + + * frame.c (Fdelete_frame): Fix previous change. + +1994-08-30 enami tsugutomo + + * fileio.c (Fwrite_region): unbind_to should take two args. + +1994-08-30 Richard Stallman + + * fileio.c (Ffile_accessible_directory_p): No need for gcpro. + + * keyboard.c (input_polling_used): New function. + * xterm.c (x_make_frame_visible): Call input_polling_used. + +1994-08-28 Richard Stallman + + * frame.c (Fdelete_frame): Free the frame's glyphs arrays. + Free the line insert/delete cost vectors. + + * dispnew.c (free_frame_glyphs): No longer static. + + * m/next.h (HAVE_MACH_MACH_H): Defined. + + * editfns.c (Finsert_and_inherit_before_markers): + Use insert_before_markers_and_inherit for character args. + (Finsert_and_inherit): Use insert_and_inherit for character args. + + * insdel.c (insert_before_markers_and_inherit): New function. + + * cmds.c (internal_self_insert): Use insert_and_inherit. + +1994-08-27 Richard Stallman + + * indent.c (Findent_to): Pass new arg to Finsert_char. + + * editfns.c (Finsert_char): New arg INHERIT. + Use insert_and_inherit if requested. + + * insdel.c (insert_1): New arg INHERIT. + (insert_and_inherit): New function. + +1994-08-26 Richard Stallman + + * keyboard.c (polling_for_input): Define var unconditionally. + * keyboard.h (polling_for_input): Declared. + * xterm.c: Include keyboard.h. + (x_make_frame_visible): Fix previous change: test polling_for_input + instead of whether SIGIO is defined. + * Makefile.in.in (xterm.o): Depend on keyboard.h. + +1994-08-26 Kevin Rodgers + + * xfns.c (Fx_color_defined_p): Return list of RGB values, not just t. + +1994-08-26 Karl Heuer + + * xterm.c (x_make_frame_visible): Call signal handler directly. + +1994-08-25 Richard Stallman + + * s/linux.h: Add LINUX_QMAGIC conditional. + + * m/alliant-2800.h (USE_NONANSI_DEFUN): Defined. + + * lisp.h (DEFUN): Check USE_NONANSI_DEFUN. + + * Makefile.in.in (obj): Put cm.o before term.o. + (Avoids mysterious lossage on Irix.) + + * xmenu.c (xmenu_show): Don't queue events that are in the menu bar. + +1994-08-24 Richard Stallman + + * xmenu.c (xmenu_show): Do nothing special for ButtonPress in the menu. + Call XtDispatchEvent for all ButtonRelease events. + xlwmenu.c now deals with posting the menu. + Check for events in subwidgets of the menu + when deciding whether to queue them for later handling. + + * unexelfsgi.c (unexec): Copy previous change in unexelf.c. + + * s/irix5-0.h [__GNUC__] (LD_SWITCH_SYSTEM): Defined. + +1994-08-24 Simon Leinen + + * term.c (term_init): Added missing argument to tgetstr. + (tgetstr): Move declarations to top level. + +1994-08-24 Karl Heuer + + * xterm.c (x_make_frame_visible): Raise a signal to cause the + pending X I/O to be read. + +1994-08-24 Richard Stallman + + * xdisp.c (display_scan_buffer): New function. + (display_count_lines): Use that. + + * intervals.c (textget): Ignore category prop if not a symbol. + +1994-08-23 Roland McGrath + + * s/gnu.h: New file. + +1994-08-23 Karl Heuer + + * indent.c (pos_tab_offset): Don't trigger point-motion hooks. + + * buffer.c (Frename_buffer): Fix gcpro problems. + * fileio.c (Fmake_symbolic_link, Ffile_accessible_directory_p, + Finsert_file_contents, auto_save_error, Fwrite_region): Likewise. + (Fcopy_file, build_annotations, Fdo_auto_save): Delete unused + variables. + +1994-08-23 Richard Stallman + + * fileio.c (O_RDONLY): Defined. + (Finsert_file_contents, Fcopy_file): use it. + (barf_or_query_if_file_exists, Ffile_exists_p): Use stat, not access. + (Ffile_readable_p): Use open, not access. + + * lread.c (O_RDONLY): Defined. + (openp): Use it. + + * unexelf.c (unexec): Don't alter the info field + of SHT_SYMTAB and SHT_DYNSYM sections. + + * xdisp.c (redisplay_window): Don't access text before BEGV. + + * keyboard.c (read_char): After read_char_minibuf_menu_prompt, + don't just return; jump to non_reread. + + * fileio.c (Fmake_directory_internal): Pass just 2 args to handler. + +1994-08-23 Karl Heuer + + * frame.c (Fmake_frame_invisible, Ficonify_frame): Don't switch frames. + +1994-08-22 Karl Heuer + + * search.c (Fstring_match): Fix sign error. + + * m/ibmrs6000.h (LD_SWITCH_MACHINE): Use full path to ibmrs6000.inp. + +1994-08-21 Richard Stallman + + * m/ibmrs6000.h (LD_SWITCH_MACHINE): Supply m/ibmrs6000.inp as input. + + * m/ibmrs6000.inp: New file. + +1994-08-19 Hiroshi NAKANO + + * unexelf.c: Eliminate local var bss_end. + Update the symbol values of _edata and _end. + +1994-08-19 Richard Stallman + + * process.c (wait_reading_process_input): + Clear waiting_for_user_input_p before returning. + + * xterm.c (x_make_frame_visible): Quit if requested, in loop at end. + +1994-08-17 Richard Stallman + + * keyboard.c (read_char): Don't show buffer-events to the user. + Handle chars over 255 in dribble files. + +1994-08-17 Karl Heuer + + * callproc.c (Fcall_process_region): gcpro filename_string. + +1994-08-17 Richard Stallman + + * doc.c (store_function_docstring): Do nothing for bytecode object + which has no slot for doc string. + +1994-08-16 Richard Stallman + + * buffer.c (list_buffers_1): Update header line layout. + +1994-08-13 Richard Stallman + + * s/sol2-4.h (pid_t): New definition. + (vfork): Definition deleted. + + * xmenu.c (xmenu_show): Unconditionally update x_mouse_grabbed + and Vmouse_depressed. + + * window.c (window_loop, case UNSHOW_BUFFER): + When we delete a frame, skip all the windows on that frame. + +1994-08-12 Karl Heuer + + * s/isc4-0.h (NEED_SIOCTL): moved to isc-3.0.h. + * s/isc3-0.h (NEED_SIOCTL): moved from isc-4.0.h, and disabled + BROKEN_TIOCGWINSZ since it works fine when you use . + (C_SWITCH_SYSTEM): Add -D_SYSV3 to ensure availability of + traditional non-standard functions. + (memmove): Delete this macro; it screws up if you + use the native cc. (Emacs already does the right thing anyway.) + +1994-08-12 Richard Stallman + + * indent.c (compute_motion): Use WIN's frame, not selected one. + + * xterm.c (x_new_font): Don't set filename = full_name if that's null. + +1994-08-11 Richard Stallman + + * Makefile.in.in (FRAME_SUPPORT): Add faces.elc. + + * search.c (Freplace_match): Treat caseless initial like a + lowercase initial. + + * keymap.c (Fdefine_key): Fix error message. + (Fsingle_key_description): Likewise. + +1994-08-10 Richard Stallman + + * s/sol2-3.h (POSIX_SIGNALS): Define it. + (PTY_TTY_NAME_SPRINTF): New overriding definition. + (sigsetmask): Add #undefs. + + * s/sol2-4.h (POSIX_SIGNALS, PTY_TTY_NAME_SPRINTF, sigsetmask): + Delete those things (moved to sol2-3.h). + + * s/sol2-4.h (HAVE_VFORK): Deleted. + (vfork): Define as emacs_vfork. + + * window.c (Fwindow_end): Undo previous change. + +1994-08-09 Richard Stallman + + * keyboard.c (record_asynch_buffer_change): Do nothing + except when waiting_for_user_input_p. + + * m/i860.h [USG5_4] (SVR4): Defined. + + * xdisp.c (display_text_line): + Make previous change #ifdef HAVE_X_WINDOWS. + +1994-08-08 Richard Stallman + + * puresize.h [MULTI_FRAME] (PURESIZE): Increased. + + * window.c (Fwindow_end): If window_end_valid is nil, return nil. + + * window.c (Fpos_visible_in_window_p): Do something reasonable + if w->start is outside the buffer bounds. + +1994-08-07 Richard Stallman + + * s/sol2-4.h (PTY_TTY_NAME_SPRINTF): New definition. + (sigsetmask): Add #undef. + + * keymap.c (Faccessible_keymaps): Fix previous change. + +1994-08-06 Richard Stallman + + * xdisp.c (display_text_line): Use the face properties + of the overlay arrow, if any. + + * xfaces.c (compute_glyph_face_1): New function. + + * m/intel386.h (LIBS_MACHINE): If SOLARIS2_4, don't define this. + * s/sol2-4.h (SOLARIS2_4): Defined. + +1994-08-05 Richard Stallman + + * keymap.c (Fuse_global_map, Fuse_local_map): + Call record_asynch_buffer_change. + + * xterm.c (XTread_socket): + Don't test X_IO_BUG; make that code unconditional. + (x_noop_count, x_term_init): Likewise. + +1994-08-04 Richard Stallman + + * data.c (Fdefine_function, Fdefalias): Handle advice as in Ffset. + (Qad_advice_info): Lisp and C names renamed from Qadvice_info. + (Qad_activate): C name renamed from Qactivate_advice. + + * fileio.c (Fread_file_name_internal): Call double_dollars + when `changed' is set. + +1994-08-03 Caveh Jalali (caveh@eng.sun.com) + + * m/intel386.h [SOLARIS2] (VALBITS, GCTYPEBITS): New definitions. + + * s/sol2-4.h: New file. + +1994-08-03 Richard Stallman + + * buffer.c (list_buffers_1): Add one column to size column. + + * xterm.c (x_make_frame_visible): Start one_in_four at 1. + + * window.c (Fwindow_end): Doc fix. + + * xterm.c (construct_mouse_click, construct_menu_click): + Don't update x_mouse_grabbed, Vmouse_depressed, last_mouse_frame here. + (XTread_socket): Update them here, so we do it without fail. + (XTmouse_position, XTread_socket case MotionNotify): + Check last_mouse_frame is nonzero before using it. + + * Makefile.in.in (alloca.o): Use -f in all rm's. + +1994-08-02 Richard Stallman + + * keymap.c (Faccessible_keymaps): Use PREFIX to set loop starting + point; don't even consider maps except those reached via prefix. + + * keyboard.c (make_lispy_event): If the position is not in a window, + at least pass along the frame it is in. + +1994-08-01 Roland McGrath + + * data.c (Ffset): Don't call Fget unless SYM's plist is consp. + +1994-08-01 Richard Stallman + + * eval.c (Fprog2): Doc fix. + + * window.c (Fmove_to_window_line): Doc fix. + +1994-08-01 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * xmenu.c (xmenu_show): Ignore any geometry resource from the user. + +1994-07-31 Richard Stallman + + * xfns.c (Fx_get_resource): Doc fix. + + * data.c (syms_of_data): Set up Qadvice_info, Qactivate_advice. + (Ffset): Activate advice if symbol has advice-info property. + + * xdisp.c (redisplay_window): Avoid using SET_PT to change point + temporarily. + + * dispnew.c (sit_for): Undo previous change. + +1994-07-30 enami tsugutomo + + * dispnew.c (direct_output_for_insert): Pass missing 8th + argument to compute_char_face. + +1994-07-30 Richard Stallman + + * keyboard.c (follow_key): Don't downcase letters here. + Delete arg `case_converted'. + (read_key_sequence): Do it here; but not if in middle of fcn key. + + * fns.c (Frandom): Handle LIMIT >= 40000000. + + * xdisp.c (decode_mode_spec): Handle %&. + +1994-07-29 Richard Stallman + + * process.c (create_process): Set default handling for SIGINT, etc. + +1994-07-28 Richard Stallman + + * process.c (wait_reading_process_input): Fix previous change. + + * s/hpux9.h (HAVE_TERMIOS, NO_TERMIO): Defined. + (HAVE_TERMIO): Add #undef. + + * sysdep.c (random): Use rand differently, and distinguish BSD/USG. + + * fns.c (Frandom): Fix previous change. + +1994-07-27 Richard Stallman + + * syssignal.h [POSIX_SIGNALS] (signal): New definition. + + * config.h.in (HAVE_RAND48): Add #undef. + +1994-07-26 Richard Stallman + + * xterm.c (x_queue_event, x_unqueue_events): New functions. + (x_start_queuing_selection_requests): New function. + (x_stop_queuing_selection_requests): New function. + (XTread_socket): Queue up SelectionRequest events sometimes. + * xselect.c (x_get_foreign_selection): Use the new feature + to queue up SelectionRequest events. + + * process.c (wait_reading_process_input): If wait_for_cell, + do check for keyboard input and handle it. + + * fns.c (Frandom): Use just the low 30 bits of random's value. + + * sysdep.c (random, srandom): Obey HAVE_RAND48 flag. + Test that random is not a macro. Don't test USG or BSD4_1. + + * m/tek4300.h (tek4300): Don't define if already defined. + +1994-07-25 Richard Stallman + + * m/tek4300.h (BSD_PGRPS): Defined. + + * puresize.h (PURESIZE): Increase non-MULTI_FRAME value. + + * editfns.c (get_system_name): Add a cast. + + * config.h.in: Add #undef HAVE_H_ERRNO. + * process.c, sysdep.c [!HAVE_H_ERRNO]: Declare h_errno. + * sysdep.c (init_system_name): Set h_errno to 0 initially. + * process.c (Fopen_network_stream): Set h_errno to 0 initially. + + * window.c (Fdisplay_buffer): Add MULTI_FRAME cond in last change. + + * Makefile.in.in: Add #undef alloca. + +1994-07-23 Richard Stallman + + * minibuf.c (Fdisplay_completion_list): gcpro `completions'. + + * print.c (internal_with_output_to_temp_buffer): gcpro things. + + * puresize.h (PURESIZE): Incremented to 252000. + +1994-07-23 Jim Blandy (jimb@totoro.bio.indiana.edu) + + * .gdbinit: Set the breakpoint in x_error_quitter instead of + _XPrintDefaultError. + +1994-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fnext_window, Fprevious_window): Don't get stuck in a loop + in the minibuffer frame. + + * dispnew.c (direct_output_for_insert): Dpn't call compute_char_face + for a non-X frame. + + * s/usg5-4.h: Move #undef static before the includes. + + * xrdb.c [USG5] (SYSV): Don't define if already defined. + + * fileio.c (Fwrite_region): Do unwind the new unwind protect. + +1994-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (struct font_info): New field full_name. + (x_new_font): Record, and return, the full name of the font. + + * widget.c (EmacsFrameSetCharSize): Delete the code to make rows at + least 3. + + * fileio.c (Vwrite_region_annotations_so_far): New variable. + (syms_of_fileio): Set up Lisp var. + (build_annotations): Handle annotate functions that switch buffers. + Set Vwrite_region_annotations_so_far. + (Fwrite_region): Handle change of buffer in build_annotations. + Add an unwind protect to restore original buffer and kill the temp. + + * sysdep.c (init_system_name): Retry gethostbyname after TRY_AGAIN + failure. + + * process.c (Fopen_network_stream): + Retry gethostbyname after TRY_AGAIN failure. + + * s/isc4-0.h [__GNUC__] (LIBX11_SYSTEM): Add -lcposix. + + * s/usg5-4.h (PTY_TTY_NAME_SPRINTF): Fail smoothly if cannot get pty. + + * sysdep.c (sys_subshell): Expand ~ in dir. + Do the processing of dir before calling fork. + Use vfork. + +1994-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (note_mouse_movement): Use proper data type for window + args to XQueryPointer. + (x_scroll_bar_note_movement): Likewise. + + * keyboard.c (Vdeferred_action_list, Vdeferred_action_function): + New variables. + (command_loop_1): Handle them. + (syms_of_keyboard): Set up Lisp variables. + + * s/linux.h [emacs]: Include stdio.h. + + * commands.h (unread_command_char): Declared. + * dispnew.c (sit_for): Return immediately if unread events exist. + +1994-07-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * textprop.c (Fget_text_property): Simplify using Ftext_properties_at. + +1994-07-17 Richard Stallman + + * xfns.c (Fx_create_frame): Use 140 as default font size. + + * xmenu.c [USE_X_TOOLKIT] (xmenu_show): Handle UnmapNotify events. + +1994-07-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fdisplay_buffer): Cope with unsplittable frames + and dedicated windows. + + * frame.c [!MULTI_FRAME] (Fframe_first_window): Defined. + (syms_of_frame): Defvar it. + +1994-07-14 Morten Welinder (terra@diku.dk) + + * s/msdos.h (HAVE_VOLATILE): Define. + +1994-07-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (safe_run_hooks): Use local var to restore hook's value. + +1994-07-13 Morten Welinder (terra@diku.dk) + + * keyboard.c (kbd_buffer_get_event) [HAVE_MOUSE]: Include code + to check for mouse dragging. + (make_lispy_movement) [HAVE_MOUSE]: Define also in this case, + but only include the non-multiframe stuff. + + * msdos.c (mouse_init1): Use alternate mouse detection for old + mouse drivers. + (mouse_get_pos): Downscale coordinates by 8. + +1994-07-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fselect_window): Fix bug checking new_point is in range. + + * fileio.c (syms_of_fileio): Finish previous change. + + * keyboard.c (command_loop_1): Do direct output for cursor motion + over text chars when disp tab exists but says nothing for them. + + * frame.h (FRAME_EXTERNAL_MENU_BAR) [!USE_X_TOOLKIT]: Give zero. + + * xdisp.c [!HAVE_X_WINDOWS] (compute_char_face, compute_glyph_face): + Add simple alternate definitions for non-X case. + +1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (Qlast_nonmenu_event): New variable. + (syms_of_process): Set it up. + (read_process_output, exec_sentinel): Bind it to t around filter. + + * fileio.c (Fmake_directory_internal): Use Qmake_directory_internal. + (syms_of_fileio): Set up Qmake_directory_internal, not Qmake_directory. + + * frame.c [MULTI_FRAME] (Fframe_parameters): For non-X frames, + fill in menu-bar-lines value. + +1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show): Don't call XtUngrabPointer here. + + * Makefile.in.in (ctagsfiles): Rewrite to avoid compiler bug. + +1994-07-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * window.c (Fdisplay_buffer): Add MULTI_FRAME conditional + in previous change. + +1994-07-10 Morten Welinder (terra@diku.dk) + + * m/intel386.h [MSDOS] (NO_REMAP): Defined. + * s/msdos.h (HAVE_MOUSE, PURESIZE): Definitions moved here. + * m/dos386.h: File obsolete and deleted. + + * msdos.c (dos_rawgetc): Use bios, not kbhit. + +1994-07-09 Morten Welinder (terra@diku.dk) + + * fileio.c (Ffile_name_directory, Ffile_name_nondirectory, + file_name_as_directory, directory_file_name, Fexpand_file_name, + Ffile_name_absolute_p, Fsubstitute_in_file_name) [MSDOS]: + Allow backslashed file names. + +1994-07-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * puresize.h (PURESIZE) [MULTI_FRAME]: Increased to 250000. + + * lread.c (readevalloop): Correctly unbind the unwind protect. + +1994-07-08 Morten Welinder (terra@diku.dk) + + * msdos.c (do_visible_bell): Clean-up using GNU assembly extension. + +1994-07-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * m/sparc.h (BIG_ENDIAN): Don't redefine if defined. + + * Makefile.in.in (alloca.o): Delete allocatem.c first thing. + + * xmenu.c (xmenu_show) {USE_X_TOOLKIT}: ButtonPress no longer pops + down; instead it forces the next ButtonRelease to exit. Don't + dispatch on ButtonPress events. + + * xfns.c (syms_of_xfns): Provide x-toolkit in toolkit version. + Undo previous change. + (x_toolkit): Variable deleted. + + * xfns.c (x_toolkit): New variable. + (syms_of_xfns): Set up Lisp var x-toolkit. + + * window.c (Fnext_window, Fprevious_window): ALL_FRAMES = 0 means + try both visible frames and iconified frames. + (window_loop): Likewise, for FRAMES = 0. + (Fget_buffer_window): Likewise, for FRAME = 0. + (Fdisplay_buffer): Pass 0 to Fget_buffer_window; + if the frame is iconified, make it visible. + + * frame.c (next_frame, prev_frame): + MINIBUF = 0 means try visible frames and iconified frames. + +1994-07-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Keyboard input exits the menu. + ButtonRelease does so if within Vdouble_click_time. + Ignore mouse motion if button was already released. + (menu_item_selection): Declare volatile, if __STDC__. + + * keyboard.c (make_lispy_event): Ignore menu bar up events. + +1994-07-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * doprnt.c (doprnt): Handle padding on %c. + + * frame.c (next_frame, prev_frame): Change which frames to use + when MINIBUF is a window. + (Fnext_frame, Fprevious_frame): Doc fixes. + + * window.c: Doc fixes. + +1994-07-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket, construct_menu_click) [USE_X_TOOLKIT]: + Update x_mouse_grabbed and Vmouse_depressed. + +1994-07-02 Richard Stallman (rms@gnu.ai.mit.edu) + + * xdisp.c (decode_mode_spec): %+ makes % for unmodified RO buffer. + + * buffer.c (syms_of_buffer): Doc fix. + + * xfaces.c (get_cached_face): Set the cached_index field. + +1994-07-01 Richard Stallman (rms@gnu.ai.mit.edu) + + * sysdep.c (init_sys_modes): Turn off VSTART and VSTOP chars. + On DGUX, turn off INPCK. + +1994-07-01 Paul Reilly (pmr@churchy.gnu.ai.mit.edu) + + * xfns.c (Fx_create_frame): Add GC protection for frame being made. + +1994-06-30 Richard Stallman (rms@gnu.ai.mit.edu) + + * xterm.c (x_make_frame_visible): In x_sync loop at the end, + every fourth time, sleep for 1/4 second. + + * xselect.c (x_own_selection, x_get_foreign_selection): + Get rid of spurious X_TOOLKIT conditional. + + * frame.c (Fdelete_frame): Call x_clear_frame_selections. + + * xselect.c (x_own_selection): Put the frame in Vselection_alist. + (x_clear_frame_selections): New function. + + * xterm.c (x_draw_box): Use curs_x and curs_y, not f->cursor_[xy]. + + * xfns.c (XLIB_ILLEGAL_ACCESS): Defined. + +1994-06-29 Richard Stallman (rms@gnu.ai.mit.edu) + + * s/hpux.h (random, srandom): Defined. + + * cmds.c (internal_self_insert): Now can return 2. + * keyboard.c (command_loop_1): Don't clear nonundocount + when internal_self_insert returns 1. + +1994-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_set_frame_parameters): Call x_set_offset directly. + Handle `-' for position parameters. + +1994-06-28 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * lread.c (readchar): Restart interrupted I/O. + +1994-06-28 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * fileio.c (a_write): Loop while *ANNOT is listp, not consp. + Previous code omitted all data from output files when *ANNOT was + nil. + +1994-06-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_set_name): If no change needed, avoid consing. + + * xdisp.c (prepare_menu_bars): Call x_consider_frame_title + only if windows_or_buffers_changed. + + * keyboard.c (safe_run_hooks): Take symbol as arg. + Use Fsymbol_value and Fset. + (command_loop_1): Pass symbol to safe_run_hooks. + Look in the value cell to check for trivial case (no hooks). + + * xdisp.c (redisplay_region): For special treatment, BUF most be + both current and displayed in selected window. + + * buffer.c (Foverlay_put): Pass redisplay_region a struct buffer *. + +1994-06-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * fileio.c (a_write): Verify that *annot is a cons. + +1994-06-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (echo_dash): Fix backwards conditional. + (read_key_sequence): Don't echo if echo_keystrokes is 0. + + * m/news-risc.h (C_DEBUG_SWITCH) [not NEWSOS5]: + Don't define if __GNUC__. + (KERNEL_FILE) [not NEWSOS5]: New override definition. + +1994-06-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (send_process): Major rewrite. + Don't put in a C-d unless a single line is too long. + Read process input whenever output gets stuck. + Relocate BUF if we read input. New arg OBJECT. + (Fprocess_send_region, Fprocess_send_string, process_send_signal) + (Fprocess_send_eof): Pass new arg OBJECT. + + * buffer.h (BUF_PTR_CHAR_POS): New macro. + + * window.c (Fsave_window_excursion): Doc fix. + + * s/hpux9.h (C_SWITCH_SYSTEM): Add -D_BSD. + + * frame.c (Fframe_parameters): Don't handle menu-bar-lines explicitly. + + * window.c (Fother_window_for_scrolling): New function. + (Fscroll_other_window): Use that. + (syms_of_window): defsubr it. + +1994-06-24 Karl Heuer (kwzh@nutrimat.gnu.ai.mit.edu) + + * fileio.c (Finsert_file_contents): Fix check for non-regular files. + +1994-06-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syntax.c (scan_lists, Fforward_comment): When moving backward over + a comment, ignore a comment-starter that overlaps the comment-ender. + + * minibuf.c (Fcompleting_read): Doc fix. + +1994-06-23 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * keyboard.c (syms_of_keyboard): Don't staticpro the same var twice. + +1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/convexos.h: File deleted. + + * xterm.c: Don't include string.h or strings.h. + + * term.c (term_get_fkeys): Don't redeclare term_get_fkeys_1 here. + + * m/convex.h (LIBS_MACHINE, GETPGRP_NO_ARG): Defined. + (NLIST_NAME_UNION, DECLARE_GETPWUID_WITH_UID_T): Defined. + (CRT0_DUMMIES): Conditionalize according to __GNUC__. + (convex): Define if necessary. + (C_SWITCH_MACHINE): Definition deleted. + +1994-06-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * buffer.c (Fmove_overlay): Fix typo in previous change. + + * s/sunos4shr.h (X_IO_BUG): Defined. + +1994-06-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * minibuf.c (read_minibuf_unwind): Run Qminibuffer_exit_hook here. + (read_minibuf): Not here. + + * buffer.c (Fkill_buffer): Don't delete auto save file + if it didn't come from this Emacs session. + (Fmove_overlay): Add missing XINT calls in previous change. + +1994-06-20 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xfns.c (x_window): Delete duplicate computation. + Change type of reference argument from int to Dimension. + +1994-06-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * config.h.in: Move #undef HAVE_STRERROR before the #includes. + + * m/mips4.h (HAVE_STRERROR, HAVE_XRMSETDATABASE) + (HAVE_XSCREENRESOURCESTRING, HAVE_SETSID): Add #undefs. + + * buffer.c (Fmove_overlay): Call redisplay_region even when + changing to a different buffer. + + * syntax.c (Fmatching_paren): Fix typo. + + * xterm.c (show_mouse_face): Set endcolumn ok in side-by-side windows. + +1994-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/linux.h (SEGMENT_MASK): Defined. + + * xfns.c (x_window): Take account of pane widget internal border width. + + * s/linux.h (C_OPTIMIZE_SWITCH): Definition deleted. + + * lisp.h (RETURN_UNGCPRO): Swallow semicolon. + (GCPRO5): New macro. + + * xmenu.c (single_keymap_panes): Put menu_item_equiv_key in the gcpro. + (menu_item_equiv_key): GCPRO things. + + * keymap.c (Flookup_key): Add gcpro. + (Fkey_binding, Fminor_mode_key_binding): Likewise. + (Fwhere_is_internal): Likewise. + + * keyboard.c (apply_modifiers): Use assq_no_quit. + +1994-06-19 Erik Naggum (erik@naggum.no) + + * syntax.h (SYNTAX_MATCH): Fix typo (syntax -> matcher). + + * syntax.c (Fmatching_paren): New function. + (Fchar_syntax): Pass arg directly to SYNTAX, no masking. + +1994-06-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * .gdbinit: Doc fixes. + (xsymbol): Cast $ to int. + (xvector, xstring): Don't use a string constant. + Reduce size limit for printing contents. + + * s/sol2.h (GETTIMEOFDAY_ONE_ARGUMENT): Undo previous change. + +1994-06-18 Francesco Potorti` (pot@fly.cnuce.cnr.it) + + * m/delta.h (memmove): switch the first two args. + +1994-06-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_make_frame_visible): At end, wait till Emacs sees + frame is visible. + + * keyboard.c (echo_after_prompt): New variable. + (echo_prompt, cancel_echoing): Set it. + (echo_dash): Test it. + + * s/linux.h (C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE. + (HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR): + (HAVE_XSCREENNUMBEROFSCREEN, HAVE_XRMSETDATABASE): + Comment out these definitions. + + * Makefile.in.in (doprnt.o): Depend on config_h. + +1994-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * systime.h (EMACS_GET_TIME): Test GETTIMEOFDAY_ONE_ARGUMENT, + not USG5_4. + * s/usg5-4.h (GETTIMEOFDAY_ONE_ARGUMENT): Define it. + * s/sol2.h (GETTIMEOFDAY_ONE_ARGUMENT): Undef it. + + * xfns.c (x_real_positions): Make sure we know the parent window. + +1994-06-17 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * window.h (minibuf_prompt): Now a Lisp_Object. All uses changed. + + * minibuf.c (minibuf_save_list): New variable, replaces + minibuf_save_vector. + (read_minibuf): Cons it up. + (read_minibuf_unwind): Pop back the saved values. + (syms_of_minibuf): staticpro it. + + * indent.c (compute_motion): Recenter overlays, for speed. + +1994-06-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (scratch_cursor_gc): New variable. + (dumpglyphs): Rework handling of GCs for cursor display + to use scratch_cursor_gc, and reuse the GC more. + +1994-06-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * unexec.c (make_hdr): Handle case of no "additional header". + + * xdisp.c (redisplay_region): Treat selected window's buffer + specially, not current buffer. + + * syssignal.h [USG5_4] (sigblock): Use |, not &. + +1994-06-16 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xdisp.c (redisplay_window): Don't use shortcut if window_end_vpos + is out of date. + +1994-06-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (Fprocess_status): Return nil for process name + that has no process. + + * dispnew.c (syms_of_display): Make baud-rate a user var. + + * syntax.c (scan_lists): Get error if eob within comment with depth!=0. + +1994-06-16 Roland McGrath (roland@geech.gnu.ai.mit.edu) + + * unexec.c: Include and [USG5] to define + O_* macros. + (O_RDONLY, O_RDWR): Define if undefined. + [emacs] (report_error): Use report_file_error so the user can tell + what the errno code was. + (unexec): Use O_RDONLY instead of explicit 0. + (make_hdr): Don't undo A_TEXT_OFFSET adjustment #ifndef NO_REMAP, + since it was never adjusted earlier #ifndef NO_REMAP. + (adjust_lnnoptrs): Use O_RDWR instead of explicit 2. + +1994-06-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_noop_count): New variable. + (x_term_init) [X_IO_BUG]: Init it. + (XTread_socket) [X_IO_BUG]: Don't do XNoOp every time, just 1 in 100. + +1994-06-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * syssignal.h (sigblock) [USG5_4]: Define if not defined. + +1994-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lread.c: Put config.h first. + + * hftctl.c: Put sys/signal.h and errno.h first, then config.h. + + * dired.c: Put stdio.h, sys/types.h and sys/stat.h after config.h. + + * callproc.c, dispnew.c, frame.c, term.h: Put stdio.h after config.h. + * widget.c, xmenu.c, xterm.c: Put stdio.h after config.h. + +1994-06-14 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * sysdep.c (init_system_name): New function, replaces get_system_name. + * lisp.h: declare it. + * editfns.c (init_editfns): Call it. + (get_system_name): New function, now just uses Vsystem_name. + * xterm.c (x_term_init): Use Vsystem_name instead of calling + get_system_name. + + * keymap.c (Fsingle_key_description): Allow strings as keys. + + * process.c (create_process): Set input_wait_mask before forking. + +1994-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * indent.c (vmotion): Use find_next_newline_no_quit. + (indented_beyond_p): Likewise. + + * search.c (find_next_newline_no_quit): New function. + + * sysdep.c (init_sys_modes): Don't set up sigio here if window system. + + * keyboard.c (read_key_sequence): Verify event has a POSN_BUFFER_POSN + before trying to extract it. + + * eval.c (init_eval_once): Call xmalloc, not malloc. + + * process.c (Fprocess_send_eof): Doc fix. + +1994-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * keyboard.c (interrupt_signal, init_keyboard): + Don't handle SIGINT and SIGQUIT if using window system directly. + + * sysdep.c (init_sys_modes): Don't call set_terminal_modes + if using a window system. + + * xterm.c (XTread_socket): Use x_top_window_to_frame in prev change. + + * s/sol2.h (SOLARIS2): Defined. + + * m/intel386.h: Add conditional for SOLARIS2. + +1994-06-13 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * xmenu.c (single_keymap_panes): gcpro some things. + +1994-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (XTread_socket): Handle Xatom_wm_save_yourself + by calling XSetCommand. + + * emacs.c (init_cmdargs): Set up initial_argv, initial_argc. + + * keyboard.c (syms_of_keyboard): Properly init Vsystem_key_alist. + + * unexaix.c (adjust_lnnoptrs): Handle multiple aux symbols. + +1994-06-12 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * editfns.c (transpose_markers): Allow for gap at start of region. + (Ftranspose_regions): Don't precompute pointers into buffer text. + +1994-06-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xfns.c (x_window): Request "save yourself" commands. + + * callint.c (Fcall_interactively): Ignore `-' in string. + (Fcall_interactively): Don't call minibuffer-window-active-p; + determine directly whether a minibuf window is active. + + * keyboard.c (read_char): When we loop and call redisplay, + do prepare_menu_bars first. + +1994-06-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * search.c (Freplace_match): Be sure not to treat non-digit like digit. + + * xmenu.c (xmenu_show): Don't call XMenuDestroy twice + in XM_FAILURE case. + + * Makefile.in.in (xterm.o): Depend on dispextern.h. + + * s/sunos4-1-3.h (X_IO_BUG): Defined. + +1994-06-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/linux.h (CLASH_DETECTION): Defined. + + * minibuf.c (Fdisplay_completion_list): + Require at least two spaces between items. + +1994-06-07 Richard Stallman (rms@geech.gnu.ai.mit.edu) + + * keyboard.c (command_loop_1): + Treat nil in display tab like no display tab. + +1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * mips-siemens.h: Include pyramid.h, not mips.h. + (LOAD_AVE_TYPE, LOAD_AVE_CVT): Definitions deleted. + (NO_ARG_ARRAY, HAVE_ALLOCA): Defined. + (BROKEN_FIONREAD): Add #undef. + +1994-06-07 Morten Welinder (terra@diku.dk) + + * msdos.c (init_environment): Clean up code and make the default + EMACSPATH equal to the directory from which Emacs was started. + (emacsroot): New variable. + (rootrelativepath): New function. + * msdos.h: Add template for rootrelativepath. + * lread.c [MSDOS]: #include "msdos.h". + * callproc.c (init_callproc) [MSDOS]: Exclude less code, so ../etc + is still tested for doc file. + +1994-06-06 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * fns.c (Fy_or_n_p, Fyes_or_no_p) [HAVE_X_MENU]: Redisplay before + popping up a menu. + + * dispnew.c (Fframe_or_buffer_changed_p): Reuse the state vector. + +1994-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * frame.c (Ficonify_frame, Fmake_frame_invisible, Fmake_frame_visible): + Increment windows_or_buffers_changed. + + * xdisp.c (redisplay): Don't call x_consider_frame_title. + (display_mode_line): Likewise. + (prepare_menu_bars): Call it here. + +1994-06-06 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * dispnew.c (Fframe_or_buffer_changed_p): New function. + +1994-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xterm.c (x_wm_set_icon_position, x_wm_set_icon_pixmap): + [USE_X_TOOLKIT]: Use top-level widget's window. + + * s/bsd386.h (BSD): Redefine. + (WAITTYPE, WRETCODE, WCOREDUMP): New definitions. + Include wait.h. + + * m/sun386.h (LIBS_MACHINE) [USG]: New #define. + + * xterm.c (x_term_init): New args xrm_option and resource_string. + Pass an -xrm option to XtAppInitialize if appropriate. + + * xfns.c (Fx_open_connection): Set up Vx_resource_name and xrm_option + before calling x_term_init. Pass new args. + + * keyboard.c (modify_event_symbol): Return nil if out of range. + + * keymap.c (Fkey_description): Avoid using Fmapconcat--do it directly. + + * keyboard.c, dispnew.c: Include systime.h after xterm.h. + + * xfns.c (x_window): Take account of internal border of paned widget. + + * m/dos386.h (PURESIZE): Increased to 240000. + + * xfns.c (using_x_p): New function. + * fns.c (Fy_or_n_p): Don't use dialog box if not an X frame. + (Fyes_or_no_p): Likewise. + +1994-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * s/hpux9shr.h (C_DEBUG_SWITCH): Define as empty. + +1994-06-03 Morten Welinder (terra@diku.dk) + + * callproc.c [MSDOS]: #include "msdos.h" for rootrelativepath + template. + + * msdos.c (run_msdos_command): Make local copy of argv[2] on stack, + not on heap. + (run_msdos_command): When changing argv[2] from using slashes to + using backslashes, only do so on the first white-space delimited + part. + +1994-06-02 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * textprop.c (Fprevious_single_property_change): Check for null + interval after correcting for edge effects. + + * xdisp.c (display_text_line): Make sure pointer is in range. + + * xmenu.c (xdialog_show): Fix problem with message in dialog box. + +1994-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * emacs.c (main): Do the setpgrp after checking for -batch. + + * keyboard.c (command_loop_1): Properly handle nil in display table. + + * s/hpux9.h (C_SWITCH_SYSTEM): Put inside __GNUC__ conditional. + +1994-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * process.c (kill_buffer_processes): For net conn, use Fdelete_process. + +See ChangeLog.4 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/ChangeLog.6 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ChangeLog.6 Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,5363 @@ +1996-08-11 Richard Stallman + + * Version 19.33 released. + +1996-08-10 Richard Stallman + + * s/sco5.h (POSIX_SIGNALS): Don't define it, #undef instead. + (NO_SOCKETS_IN_FILE_SYSTEM): Definition deleted. + (sigblock): New definition. + +1996-08-10 Marcus Daniels + + * m/sequent-ptx.h (LOAD_AVE_TYPE, FSCALE, LOAD_AVE_CVT): + Undef them before defining. + + * s/ptx4.h: Fix include file name. + (NO_FILIO_H): Move definition. + +1996-08-09 Richard Stallman + + * m/alpha.h [__ELF__] (UNEXEC): Use unexelf1.c. + +1996-08-09 David Mosberger-Tang + + * unexelf1.c: New file, copied from unexelf.c. + [__alpha__]: Include to get COFF debugging + info declarations for .mdebug section. + [__GNU_LIBRARY__ - 0 >= 6]: Include . + [notdef ElfW]: Define backwards compatible ElfW macro. + (unexec) [__alpha__]: Add code to update Alpha COFF symbol table + (.mdebug section). + (unexec) [__alpha__]: Work around binutils-2.7 bug: for Alpha ELF + sometimes unneeded data relocs do not get elided properly which + results in reloc entries that contain all zeroes. + + * m/alpha.h [__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common. + (TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC): Define only if + __ELF__ is not defined. + (LINUX_SBRK_BUG): Define only if LINUX and __GNU_LIBRARY__ < 6. + (NO_TERMIO): Always define this. No Alpha system should need + termio. + (COFF, DATA_END): Define only if __ELF__ is not defined. + +1996-08-08 Richard Stallman + + * s/usg5-4.h: Don't include filio.h if NO_FILIO_H. + + * s/ptx4.h: New file. + + * config.in (GETTIMEOFDAY_ONE_ARGUMENT): Conditionalize on + HAVE_GETTIMEOFDAY. + +1996-08-07 Richard Stallman + + * xmenu.c (xmenu_show): Set dummy.state. + Set dummy.button appropriately. + (popup_get_selection) [USE_MOTIF]: Set event.xbutton.button. + + * s/osf1.h (LD_SWITCH_SYSTEM): New definition. + +1996-08-06 Paul Eggert + + * editfns.c (set_time_zone_rule): Don't put a string literal + "TZ=..." in environ. + +1996-08-05 Richard Stallman + + * minibuf.c (Fread_from_minibuffer): Make position 0 in the initial + input mean the beginning. + +1996-08-04 Eli Zaretskii + + * callproc.c (Fcall_process_region) [DOS_NT]: Avoid downcasing + the `X' characters in the template passed to `mktemp'. + +1996-08-02 Richard Stallman + + * widget.c (EmacsFrameSetCharSize): Call do_pending_window_change. + +1996-07-31 Richard Stallman + + * Version 19.32 released. + + * s/hpux10.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT): + Override to add /usr/contrib directories. + +1996-07-31 Richard Stallman + + * xterm.c (XTread_socket): Delete the code to pass menu bar keys + to the toolkit alone. + (XTread_socket): Don't fail to pass button events to toolkit. + +1996-07-29 Richard Stallman + + * xterm.c (XTread_socket): Pass keys in menu bar to toolkit alone + only for Motif. + + * xdisp.c (prepare_menu_bars): Conditionalize previous change. + +1996-07-27 Richard Stallman + + * filelock.c (lock_file_owner_name): Always initialize the_pw. + + * xterm.c (XTread_socket): Fixing previous change: + Clear last_mouse_press_frame on non-menu-bar ButtonPress. + Always use last_mouse_press_frame as frame for ButtonRelease. + But ignore the event if frame's output_data.x is null. + Save the ButtonRelease only if USE_MOTIF. + (last_mouse_press_frame): This is now a Lisp object. + (syms_of_xterm): Initialize and staticpro it. + + * xmenu.c (pending_menu_activation): Don't initialize. Not static. + (set_frame_menubar): If no saved_menu_event yet, set deep_p. + Don't clear pending_menu_activation here. + + * xmenu.c (Fx_popup_dialog): Don't fail to initialize WINDOW. + + * xdisp.c (prepare_menu_bars): Clear pending_menu_activation. + + * print.c: When printing into a buffer, generate all the text + first, then insert it all at once. + (print_buffer): New variable. + (print_buffer_size, print_buffer_pos): New variables. + (PRINTPREPARE): Allocate print_buffer. + (PRINTFINISH): Free print_buffer after inserting its contents. + (printchar, strout): Output into print_buffer. + (print_string): If printcharfun is nil, use strout. + +1996-07-26 Marcus Daniels + + * xmenu.c (pending_menu_activation): New variable. + (x_activate_menubar): Don't call set_frame_menubar for + ButtonRelease events. Instead, set pending_menu_activation. + (set_frame_menubar): If pending_menu_activation, set deep_p. + + * xterm.c (last_mouse_press_frame): New variable. + (XTread_socket): Store a saved_button_event for ButtonRelease. + +1996-07-25 Marcus Daniels + + * xmenu.c (set_frame_menubar): Use -1 for call_data + in the deep_p = 0 case. + +1996-07-24 Geoff Voelker + + * ntinevt.c (win32_read_socket): Never block reading from input queue. + +1996-07-24 Marcus Daniels + + * editfns.c (Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP, + since timezone environment variable is ignored. + +1996-07-23 Richard Stallman + + * buffer.c (buffer_permanent_local_flags): New variable. + (init_buffer_once): Initialize it. + (reset_buffer_local_variables): New argument PERMANENT_TOO. + Callers changed. Now declared static. + + * s/irix6-0.h [__GNUC__] (C_DEBUG_SWITCH): Define as -g3. + + * m/mips.h, m/iris4.h, m/iris5d.h (LIBS_MACHINE) [__GNUC__ and ABIN32]: + Define as empty. + +1996-07-23 Paul Eggert + + * editfns.c (Fdecode_time, difftm): Work even if tm_year represents + negative years; this is possible with 64-bit time_t values. + +1996-07-20 Karl Heuer + + * fileio.c (check_writable): Use euidaccess, not eaccess. + +1996-07-20 Erik Naggum + + * intervals.c (balance_intervals_internal): Recurse directly. + +1996-07-19 Eli Zaretskii + + * unexec.c (copy_text_and_data) [DJGPP >= 2]: Switch off two bits + in `_crt0_startup_flags' so they don't go into the dumped Emacs. + Restore the value of `_crt0_startup_flags' after .text and .data + were dumped. + +1996-07-19 Karl Heuer + + * s/irix5-0.h (_BSD_SIGNALS): Define. + * s/irix6-0.h (SA_RESTART): Add #undef. + +1996-07-16 Andrew Innes + + * w32term.c (w32_read_socket): Need to erase background + immediately before repainting exposed region. + + * makefile.nt (DOC, clean): Use OBJDIR macro. + +1996-07-16 Karl Heuer + + * xfns.c (Fx_create_frame): Do xlwmenu hack only if USE_LUCID. + + * m/alpha.h, unexelf.c: Undo Jul 15 changes. + * config.in, data.c, keyboard.c, process.c: Undo Jul 15 changes. + * cm.h, sysdep.c, terminfo.c: Undo Jul 15 and Jul 16 changes. + +1996-07-16 Karl Heuer + + * cm.h, terminfo.c, sysdep.c: Test HAVE_TERMIOS rather than the + automatically-generated HAVE_TERMIOS_H, in case is + present but unusable. + +1996-07-16 Richard Stallman + + * fns.c (Fy_or_n_p): Pass 3rd arg to Flookup_key. + + * s/hpux10.h (LIBS_TERMCAP): New definition. + +1996-07-15 Karl Heuer + + * window.c (struct save_window_data, struct saved_window): First + placeholder member is EMACS_INT, not int. + + * print.c (print): Fix args in strout calls. + + * xterm.h (struct x_output): Member saved_button_event replaced by + saved_menu_event. + * xmenu.c (x_activate_menubar): Allow any event, not just ButtonPress. + * xterm.c (SET_SAVED_MENU_EVENT): New macro. + (SET_SAVED_BUTTON_EVENT, SET_SAVED_KEY_EVENT): New macros. + (XTread_socket): Defer key events as well as button presses. + + * frame.c (Qmouse_leave_buffer_hook): Delete redundant definition. + (syms_of_frame_1): Delete the duplicate assignment and staticpro. + * lisp.h (Qmouse_leave_buffer_hook, Qfont): Declare here. + * floatfns.c (Qarith_error): Delete redundant definition. + * xfns.c (Qfont): Delete redundant definition. + (syms_of_xfns): Delete the duplicate assignment and staticpro. + * w32fns.c (Qfont): Delete redundant definition. + (syms_of_win32fns): Delete the duplicate assignment and staticpro. + * xfns.c (xlwmenu_default_font): Declare, but don't define. + * xselect.c (last_event_timestamp): Declare, but don't define. + +1996-07-15 David Mosberger-Tang + + * m/alpha.h (TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC, DATA_END): + Omit these definitions if ELF. + (LINUX_SBRK_BUG): Omit this if using a recent GNU library. + [__ELF__] (C_SWITCH_MACHINE): Define. + (NO_TERMIO): Define this unconditionally. + (COFF): Omit this if ELF. + * config.in (HAVE_TERMIOS_H): Add #undef. + * cm.h [HAVE_TERMIOS_H]: Declare ospeed as speed_t. + * sysdep.c [HAVE_TERMIOS_H]: Likewise. + * dispnew.c: Don't delare ospeed; cm.h already did it. + * terminfo.c: Use . + [HAVE_TERMIOS_H]: Declare ospeed as speed_t. + [USG]: Include . + * data.c (arith_error): Don't reinstall sig handler if POSIX_SIGNALS. + * keyboard.c (input_available_signal, interrupt_signal): Likewise. + * process.c (create_process_1, sigchld_handler): Likewise. + * unexelf.c: Add 64-bit ELF and Alpha/ELF support. + +1996-07-13 Richard Stallman + + * search.c (Fmatch_data): If no matching done yet, return Qnil. + +1996-07-13 Paul Eggert + + * vmstime.c (sys_gmtime): Don't assume year < 2000. + +1996-07-13 Karl Heuer + + * process.c (wait_reading_process_input) [hpux]: Workaround for + annoying messages. + +1996-07-12 Richard Stallman + + * indent.c (Fvertical_motion): Doc fix. + +1996-07-11 Andrew Innes + + * w32fns.c (win32_wnd_proc): Handle WM_ERASEBKGND and + WM_PALETTECHANGED messages inline (as they should be). + + * w32term.c (w32_read_socket): Remove unused WM_ERASEBKGND code. + No need to erase background now on (delayed) WM_PAINT. Move + WM_PALETTECHANGED processing to raw input thread. + +1996-07-11 Richard Stallman + + * keyboard.c (menu_bar_item): Skip menu-bar equiv keys data + to get just the keymap. + + * s/irix5-0.h [__GNUC__] (C_DEBUG_SWITCH): New definition. + +1996-07-11 David Mosberger-Tang + + * mem-limits.h (lim_data): Make this an unsigned long. + +1996-07-11 Bill Mann + + * s/usg5-4-3.h: New file. + +1996-07-11 Marcus Daniels + + * xterm.c (XTread_socket): Add #ifdef for previous change. + +1996-07-11 Richard Stallman + + * buffer.c (syms_of_buffer): Doc fix. + +1996-07-08 Roland McGrath + + * mem-limits.h [_LIBC]: Use weak_extern instead of weak_symbol for + __data_start. + +1996-07-07 Michael I. Bushnell, p/BSG + + * s/gnu.h: Enable use of ncurses library cleanly. + +1996-07-07 Karl Heuer + + * xterm.c: Undo previous change. + (XTread_socket): Better way to avoid sending toolkit-specific + events to Emacs. + +1996-07-07 Richard Stallman + + * xmenu.c (popup_get_selection): For a ButtonRelease on the proper + display, don't queue it, and always deactivate the menu. + +1996-07-07 Eli Zaretskii + + * msdos.c (IT_menu_display): Display control characters as ^X. + (XMenuAddPane, XMenuAddSelection): Adjust menu width for control + characters (displayed as ^X). + + * dired.c (file_name_completion): Set `stat' flags to avoid + computing expensive fields in struct stat (makes filename + completion much faster). + + * fileio.c (Fcopy_file): Use st_ino under DJGPP v2 and later to + prevent copying file into itself. + (check_executable): DJGPP v2 `stat' doesn't need to be augmented + in case of executable files. + (Ffile_modes): Use `stat' results as is in DJGPP v2 and later. + +1996-07-04 Eli Zaretskii + + * msdos.c (dostounix_filename): On caseless filesystems, downcase + the filename. + (unixtodos_filename): Downcase the drive letter. + (init_environment): Downcase the pathnames in the environment only + when running on caseless filesystems. + +1996-07-03 Andrew Innes + + * nt.c (normalize_filename): Always lower-case drive letters, even + on systems that preserve case in filenames. + + * fileio.c (DRIVE_LETTER) [WINDOWSNT]: Lower-case drive letters. + +1996-07-05 Andrew Innes + + * w32term.c (x_set_mouse_pixel_position): Adjust coords by frame + position. + (x_set_mouse_position): Call x_set_mouse_pixel_position. + +1996-07-05 Andrew Innes + + * nt.c (sys_rename): Do not delete newname if only changing case. + On Windows 95, use our version of mktemp (not the MSVC version) + and give the temp name a long extension to ensure the final rename + works as expected. + +1996-07-03 Eli Zaretskii + + * callproc.c (Fcall_process) [MSDOS]: Initialize fd[0]; unlink + `tempfile' in case of errors. + (Fcall_process): When fd_error is negative, + don't close fd[0] if it's same as filefd. + +1996-07-03 Eli Zaretskii + + * callproc.c (Fcall_process) [MSDOS]: Make the `tempfile' + parameter passed to `report_file_error' be a Lisp string. + (Fcall_process): If stderr is redirected to NULL_DEVICE, make + `report_file_error' print the name of device. Make the arguments + a cons cell. + +1996-07-06 Richard Stallman + + * indent.c (Fvertical_motion): Doc fix. + +1996-07-03 Marcus Daniels + + * xterm.c (XTread_socket): Use lw_tookit_related_event_p to + avoid sending toolkit-specific events to Emacs. + +1996-07-01 Richard Stallman + + * m/alpha.h (HAVE_X11R4, HAVE_X11R5): Definitions deleted + since xterm.h and config.h should take care of them. + + * xselect.c (x_clear_frame_selections): Don't call + redisplay_preserve_echo_area here. + +1996-06-30 Richard Stallman + + * systty.h: Delete spurious period from last change. + +1996-07-01 Eli Zaretskii + + * fileio.c (DRIVE_LETTER) [MSDOS]: Lower-case drive letters. + + * msdos.c (msdos_downcase_filename): Always lower-case drive + letters, even on systems that preserve case in filenames. + +1996-06-29 Richard Stallman + + * s/sol2-5.h (LIB_MOTIF): Fix typo. + + * emacs.c (main): Add `GNU Emacs' to the response to --version. + + * xfns.c (Fx_create_frame): Gcpro parms, parent, and name. + + * systty.h (GETPGRP_NO_ARG): Always define it, if __GNU_LIBRARY__. + +1996-06-28 Richard Stallman + + * frame.c (make_frame_without_minibuffer): GCPRO the frame f. + + * config.in (AMPERSAND_FULL_NAME): Defined by default. + + * s/sol2-5.h (LIB_MOTIF): New definition. + + * emacs.c (standard_args): Delete `-rn' option. + + * .gdbinit: Add `dir ../lwlib'. + + * print.c (print): Obey Vprint_length for vectors, bitvectors. + + * fileio.c (check_executable): Use euidaccess, not eaccess. + + * config.in (HAVE_EUIDACCESS): This replaces HAVE_EACCESS. + + * xterm.h: Don't define HAVE_X11R5 here. + + * config.in (HAVE_X11R5): Add #undef. + + * unexhp9k800.c (unexec): Cast result of sbrk. + (run_time_remap): Cat arg to brk. + +1996-06-27 Richard Stallman + + * xterm.c (x_connection_closed): Call clear_waiting_for_input. + + * keyboard.c (modify_event_symbol): Add properly to *symbol_table. + +1996-06-26 Richard Stallman + + * xterm.c (x_connection_closed): Add newline when printing error + message on stderr. + (XTread_socket, Xatom_wm_save_yourself clause): + Don't call XSetCommand if f is 0. + (x_error_quitter): Delete newline from sprintf string. + + * xdisp.c (redisplay_internal): Use last_had_star to decide + whether to update the mode line to update the star. + (update_menu_bar): Likewise. + Also, don't set w->update_mode_line for frames that use + set_frame_menubar. + (redisplay_internal, mark_window_display_accurate): + Set last_had_star. + + * window.h (struct window): New field, last_had_star. + +1996-06-25 Richard Stallman + + * xterm.c (x_connection_signal): Just return after calling `signal'. + (X_CONNECTION_LOCK_FLAG): Definition deleted. + (x_connection_signal_dpyinfo): Variable deleted. + (x_connection_signal_1): Function deleted. + (x_connection_close_if_hung): Function deleted. + + * indent.c (Fmove_to_column): Go after invis chars at the goal column. + +1996-06-24 Richard Stallman + + * xterm.c (x_connection_closed): If waiting_for_input, + call quit_throw_to_read_char. + +1996-06-24 Paul Eggert + + * unexelf.c (unexec): Round up section header offset to bss alignment + before deciding whether it's after the bss section. + +1996-06-23 Richard Stallman + + * xfns.c (x_real_positions): Don't call x_uncatch_errors twice. + + * indent.c (current_column_1): Add declaration. + +1996-06-22 Richard Stallman + + * indent.c: Make current-column, move-to-column and current-indentation + handle invisible chars (both text properties and overlays). + (skip_invisible): New function. + (Fmove_to_column): Use skip_invisible. Get rid of `retry' label. + (compute_motion): Use skip_invisible. + (current_column_1): New function. + (current_column): Use current_column_1 if might have invisible text. + + * data.c (Fdefalias): Doc fix. + + * s/gnu-linux.h (LD_SWITCH_SYSTEM): Just one definition. + Don't use prefix-args here because Makefile.in + does that when necessary. + +1996-06-21 Richard Stallman + + * s/sco5.h: New file. + + * s/gnu-linux.h: Renamed from lignux.h. + (SYSTEM_TYPE): Changed to gnu/linux. + + * callproc.c (Fcall_process): Fix previous change. + + * xterm.c (x_iconify_frame): If frame is invisible, + explicitly mark it as iconified. + + * keyboard.c (kbd_buffer_get_event): Don't call x_activate_menubar + for a deleted frame. + +1996-06-19 Richard Stallman + + * s/sol2-4.h (LD_SWITCH_SYSTEM): Use no space after -L and -R. + +1996-06-18 Nico Francois + + * w32fns.c (Vwin32_alt_is_meta): New variable. + (win32_get_modifiers): Map Alt to alt_modifier if required. + (syms_of_win32fns): DEFVAR new variable. + + * ntinevt.c (Vwin32_alt_is_meta): Declared. + (win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required. + +1996-06-16 Richard Stallman + + * callproc.c (Fcall_process): Handle t or nil as STDERR_FILE. + + * s/hpux10.h (HPUX10): New macro. + +1996-06-14 Andrew Innes + + * w32fns.c (win32_wnd_proc): No need to forward WM_ERASEBKGND to + main thread. + + * w32term.c (w32_read_socket): Erase update rect on WM_PAINT, so + no need to process WM_ERASEBKGND. + +1996-06-13 Richard Stallman + + * xmenu.c (Qmenu_alias): New variable. + (syms_of_xmenu): Initialize it. + (menu_item_equiv_key): Check this property on the definition. + + * fileio.c (Fexpand_file_name): When simplifying /foo/.., + keep the initial slash. + + * s/hpux10.h (LIBS_SYSTEM): Two new definitions (and #undef first). + +1996-06-12 Richard Stallman + + * emacs.c (main): For SIGHUP, use sigblock and sigunblock, + not sigblockx and sigunblockx. + + * buffer.c (Fkill_buffer): Doc fix. + +1996-06-12 Andrew Innes + + * ntproc.c (restrict_dos_process): Variable deleted. + (sys_spawnve): Restrict DOS processes on NT as well. + + * nt.c: Delete restrict_dos_process. + +1996-06-12 Andrew Innes + + * nt.c (restrict_dos_process): Renamed from can_run_dos_process. + (init_ntproc): Refer to restrict_dos_process. + + * ntproc.c (restrict_dos_process): Renamed from can_run_dos_process. + (sys_spawnve): Refer to restrict_dos_process. + +1996-06-12 Richard Stallman + + * syssignal.h (sigunblockx): Use sigunblock. + +1996-06-11 Richard Stallman + + * process.c (wait_reading_process_input): Move the O_NONBLOCK and + O_NDELAY conditionals out of the EWOULDBLOCK conditional. + +1996-06-10 Richard Stallman + + * keymap.c (Fset_keymap_parent): Return early if KEYMAP already has + the proper parent. + + * s/lignux.h [__ELF__] (LD_SWITCH_SYSTEM): Define it. + + * frame.c (Fmake_terminal_frame): Test MSDOS, not __MSDOS__. + + * xdisp.c (redisplay_internal): Use FRAME_WINDOW_P. + (decode_mode_spec): Likewise. + + * minibuf.c (choose_minibuf_frame): Eliminate + MSDOS-non-MULTI_FRAME conditional. + + * dispnew.c (change_frame_size, remake_frame_glyphs): + Use FRAME_WINDOW_P. + + * msdos.c (check_x): Fix error message. + +1996-06-09 Eli Zaretskii + + * xfaces.c (init_frame_faces): Build faces for an MSDOS frame + like for X frame. + (Fmake_face_internal): Call `ensure_face_ready' for MSDOS frames. + (Fset_face_attribute_internal): Support face attributes for MSDOS + frames. + + * xdisp.c (redisplay_internal): Use `Vterminal_frame' and other + termcap frame code on MSDOS as well. + (display_text_line) [HAVE_FACES]: Support faces on MSDOS. + (decode_mode_spec): Return frame name on MSDOS like for termcap + frames. + + * window.c (Fset_window_configuration) [HAVE_WINDOW_SYSTEM]: Call + `x_set_menu_bar_lines' on MSDOS as well. + + * msdos.h (check_x): Macro definition deleted. + (DisplayWidth): Use `selected_frame'. + (DisplayHeight): Use `selected_frame'. + (x_mouse_leave): Remove; it's not used. + + * msdos.c (x_set_menu_bar_lines): New function, copied from xfns.c. + (IT_set_frame_parameters): Use selected_frame instead of + the_only_frame. + (internal_terminal_init): Use selected_frame instead of the_only_frame. + (check_x): New function, replacing macro in msdos.h. + (XMenuActivate): Use selected_frame instead of + the_only_frame. Don't let the title for the "Buffers" popup + include a number when it is split into several menus. + + * minibuf.c (choose_minibuf_frame): Support multiple frames on MSDOS. + + * frame.h (FRAME_MSDOS_P): A new macro for MSDOS frames. + + * frame.c (Qpc): New variable. + (syms_of_frame_1): Define and staticpro it. + (Fframep): Support MSDOS frames. + (make_terminal_frame, Fmake_terminal_frame): Support MSDOS frames. + (Fset_mouse_position, Fset_mouse_pixel_position): Support MSDOS frames. + (Fframe_parameters, Fmodify_frame_parameters): Support MSDOS frames. + + * dosfns.c (Fset_mouse_position): Remove the DOS-specific + definition (it's defined on `frame.c'). + (syms_of_dosfns): Remove defsubr of `Fset_mouse_position'. + + * dispnew.c (Fredraw_frame, remake_frame_glyphs) + (direct_output_for_insert, change_frame_size): Support MSDOS frames. + +1996-06-10 Richard Stallman + + * keymap.c (fix_submap_inheritance): If parent_entry is not a keymap, + use nil instead. + + * alloc.c (mark_object): Do set ARRAY_MARK_FLAG for bool-vectors. + +1996-06-10 Andrew Innes + + * w32fns.c (x_to_win32_font): Allow any quality fonts. + +1996-06-09 Richard Stallman + + * keyboard.c (read_char): Use unsigned to compare against + the size of Vkeyboard_translate_table. + Check size for char-table too. + + * s/freebsd.h (DONT_REOPEN_PTY): New definition. + + * process.c (create_process): Add DONT_OPEN_PTY conditional. + +1996-06-07 Andrew Innes + + * nt.c (init_environment): Read PRELOAD_WINSOCK from registry if + not set in environment. + + (winsock_inuse) [HAVE_SOCKETS]: New variable. + (have_winsock) [HAVE_SOCKETS]: Obsolete variable removed. + + (term_winsock) [HAVE_SOCKETS]: Only unload winsock library if there + are no active sockets still open, and if the cleanup function + succeeds. Return TRUE if winsock is unloaded. + + (init_winsock) [HAVE_SOCKETS]: Load winsock if not already loaded, + and return TRUE if winsock support is available. Unload winsock + immediately if new parameter load_now is false. Check that + WSAStartup supports the winsock version we requested. + + (set_errno, check_errno, sys_socket, sys_bind, sys_connect, + sys_htons, sys_ntohs, sys_inet_addr, sys_gethostname, + sys_gethostbyname, sys_getservbyname, sys_close, sys_read, + sys_write) [HAVE_SOCKETS]: Check winsock_lib instead of + have_winsock to determine if winsock support is available. + + (sys_socket, sys_close) [HAVE_SOCKETS]: Count sockets in use. + + (init_ntproc) [HAVE_SOCKETS]: Only load winsock library on startup + if PRELOAD_WINSOCK is set in environment (or registry). + + * ntproc.c (Fwin32_has_winsock, + Fwin32_unload_winsock) [HAVE_SOCKETS]: New functions. + (syms_of_ntproc) [HAVE_SOCKETS]: defsubr them. + + * process.c (Fopen_network_stream) [WINDOWSNT]: Ensure Windows + socket library is loaded if available. + +1996-06-07 Marcus Daniels + + * xterm.c (XTread_socket): Use XtAppNextEvent when using + toolkit configurations. + +1996-06-07 Andrew Innes + + * nt.c (sys_mktemp): Complete rewrite. + +1996-06-07 Andrew Innes + + * ntproc.c (sys_kill): Don't try to terminate a DOS process. + +1996-06-06 Andrew Innes + + * fileio.c (Ffile_name_directory) [WINDOWSNT]: Remove previous + change, which was incorrect and isn't strictly required. + +1996-06-06 Eli Zaretskii + + * xfaces.c (Fset_face_attribute_internal) [MSDOS]: Don't mask + bright color bit in background colors. + + * msdos.c (bright_bg): New function, enables bright background colors. + (dos_set_window_size): Move code to `bright_bg'. + (IT_set_terminal_modes): Enable bright background colors. + (IT_set_frame_parameters): Don't mask bright color bit in + background colors. Record colors on `termscript' file. + (internal_terminal_init): Enable bright background colors. Fix + default colors setting from $EMACSCOLORS. + +1996-06-07 Geoff Voelker + + * w32fns.c (sync_modifiers): New function. + (w32_wnd_proc): Synchronize modifiers on each key down. + +1996-06-06 Andrew Innes + + * nt.c (init_winsock): Dynamically link to SetHandleInformation. + (sys_socket): If possible, use SetHandleInformation to make socket + handle non-inheritable to avoid a bug in NT. + +1996-06-05 Richard Stallman + + * keymap.c (Fkeymap_parent, Fset_keymap_parent): New functions. + (fix_submap_inheritance): New function. + (access_keymap): Use fix_submap_inheritance. + +1996-06-05 Paul Eggert + + * editfns.c: (set_time_zone_rule): + Work around localtime cache bug in SunOS 4.1.3_U1 and SunOS 4.1.4. + +1996-06-04 Geoff Voelker + + * w32term.c (w32_read_socket): If the dead key was produced using + AltGr and has a valid AltGr scan code, it's a valid key and + should not be discarded. + +1996-06-03 Kim Storm + + * ntproc.c (Vwin32_downcase_file_names): New variable. + (syms_of_win32fns): DEFVAR it. + + * fileio.c (DRIVE_LETTER): [DOS_NT] New macro. + (expand_file_name): Apply DRIVE_LETTER macro to drive names. + + * nt.c (normalize_filename): New function. + (dostounix_filename, unixtodos_filename): Use it. + (readdir): Convert upper case file names to lower case + if win32-downcase-file-names is non-nil. + +1996-05-31 Andrew Innes + + * fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't strip trailing / + when newdir is just "//". + (Ffile_name_directory) [WINDOWSNT]: Return Qnil if filename is a + partial UNC name such as "//foo". + +1996-05-31 Richard Stallman + + * xmenu.c (single_submenu): Handle non-keymap lists like symbols. + + * w32fns.c (reset_modifiers): Only clear a modifier if the + modifier key has been detected to have been released since + Emacs lost focus. + (win32_wnd_proc): Have Windows translate VK_NUMLOCK and + VK_SCROLL key downs; don't reset the modifier state when + Emacs loses focus. + +1996-05-30 Richard Stallman + + * buffer.c (Fpop_to_buffer): Doc fix. + + * window.c (Fdisplay_buffer): Doc fix. + +1996-05-27 Karl Heuer + + * s/sol2.h (LIBS_SYSTEM): Define this. + +1996-05-25 Karl Heuer + + * Version 19.31 released. + +1996-05-25 Karl Heuer + + * m/sparc.h [__linux__] (A_TEXT_OFFSET, A_TEXT_SEEK): Don't define. + +1996-05-24 Marcus Daniels + + * xterm.c [SOLARIS2]: Include string.h. + +1996-05-24 Andrew Innes + + * w32fns.c: (Vwin32_mouse_move_interval): New lisp variable. + (syms_of_win32fns): Add Vwin32_mouse_move_interval to syms. + (saved_mouse_msg): Renamed to saved_mouse_button_msg. + (timer_id): Renamed to mouse_button_timer. + (saved_mouse_move_msg, mouse_move_timer): New variables. + (win_msg_worker): Delete WM_TIMER code. + (win32_wnd_proc): Handle WM_TIMER events here. Use separate timers + for mouse down and mouse move (including scroll bar drag) events. + Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events. + Only filter WM_MOUSEMOVE events when a button is held down. + Always pass on message to DefWindowProc after calling + TranslateMessage. Reset keyboard modifiers when losing focus. + + * w32term.c (x_scroll_bar_handle_click): Repaint scroll bar handle + when drag is finished. + +1996-05-23 Geoff Voelker + + * w32fns.c (win32_wnd_proc): When passing modifier keystrokes back + to Windows, invoke TranslateMessage on them. + (reset_modifiers): Don't reset Window's keyboard state. + +1996-05-23 Richard Stallman + + * lread.c (init_lread): Init Vload_file_name to Qnil. + +1996-05-21 Geoff Voelker + + * w32fns.c (modifier_set): Check toggle state of CapsLock even + if modifiers are not being recorded. + +1996-05-21 Andrew Innes + + * nt.c (get_volume_info): Always update *pPath correctly, even if + UNC header is incomplete. + +1996-05-21 Richard Stallman + + * indent.c (compute_motion): When calling Fget_char_property, + don't pass window if window is displaying the wrong buffer. + + * dispnew.c (init_display) [HAVE_LIBNCURSES]: If X, call tgetent. + + * keyboard.c (Fexecute_extended_command): Don't look for + a key binding if executing a kbd macro. + + * print.c (Fprin1_to_string): Preserve Vdeactivate_mark. + + * systty.h [__GNU_LIBRARY__]: #include . + + * cmds.c (internal_self_insert): Don't return 2 for auto-fill + unless the auto_fill_function returns non-nil. + +1996-05-17 Karl Heuer + + * nt.h (struct _child_process): New member is_dos_process. + * nt.c (_sys_read_ahead): Handle sleep here. + (sys_read): Not here. + (init_ntproc): Initialize can_run_dos_process, dos_process_running. + * ntproc.c (Vwin32_pipe_read_delay): New var. + (can_run_dos_process, dos_process_running): New vars. + (win32_is_dos_binary): New function. + (reap_subprocess, sys_spawnve): Use them. + (syms_of_ntproc): Defvar and initialize Vwin32_pipe_read_delay. + + * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Enable the display of + menus in --no-window mode on NT. + +1996-05-17 Geoff Voelker + + * w32term.c (w32_read_socket): Mask out lower 4 bits of wParam + for WM_SYSCOMMAND messages. + +1996-05-15 Karl Heuer + + * makefile.nt: Fix typo in previous patch. + + * callproc.c (Fcall_process): Don't close the same fd twice. + +1996-05-15 Kim Storm + + * nt.c (sys_read): Introduce a small delay before reading from + a pipe or socket to allow more data to be buffered; otherwise, + process output is read one byte at a time on fast machines + (which is slow). + +1996-05-14 Karl Heuer + + * w32select.c (QCLIPBOARD): New symbol. + (Fx_selection_exists_p): New function. + (syms_of_win32select): Initialize/staticpro and defsubr them. + +1996-05-13 Richard Stallman + + * makefile.nt (w32*.obj): Fix deps. + +1996-05-13 Andrew Innes + + * eval.c (Fsignal) [HAVE_WINDOW_SYSTEM]: Changed from + HAVE_X_WINDOWS, so that TOTALLY_UNBLOCK_INPUT is called on Windows. + + * w32fns.c (win32_wnd_proc): Reenable quit_char detection. + +1996-05-13 Richard Stallman + + * w32menu.c: Include buffer.h. + (set_frame_menubar): Make sure input is unblocked + when we call create_menu_items. + Switch temporarily to proper buffer, bind inhibit-quit to t, + and run the same hooks as in smenu.c. + (syms_of_win32menu): Initialize and staticpro Qdebug_on_next_call. + + * w32term.c (note_mouse_movement): Upwards mouse movement + recognition corrected. + +1996-05-12 Richard Stallman + + * callproc.c (Fcall_process): Fix previous change (now !MSDOS only). + +1996-05-12 Karl Heuer + + * macros.c (Fstart_kbd_macro): Add missing xrealloc arg. + +1996-05-12 Richard Stallman + + * Makefile.in (MSDOS_SUPPORT): Use full name disp-table.elc. + +1996-05-12 Eli Zaretskii + + * dosfns.c (init_dosfns) [DJGPP >= 2]: Make `opendir' preserve + filename case (under Windows 95) and find hidden files. + + * msdos.c (Fmsdos_downcase_filename): Don't change the argument, + return a copy. + +1996-05-11 Eli Zaretskii + + * msdos.c (msdos_downcase_filename): New function to convert case + in filenames. + (Fmsdos_downcase_filename): New function. + (syms_of_msdos): Defsubr it. + + * s/msdos.h (FILE_SYSTEM_CASE): Call Fmsdos_downcase_filename + instead of Fdowncase. + +1996-05-11 Geoff Voelker + + * s/windowsnt.h (SYSTEM_PURESIZE_EXTRA): Macro defined. + +1996-05-11 Andrew Innes + + * w32term.c (x_scroll_bar_set_handle): Always use start + in calling SetScrollPos. + (x_scroll_bar_handle_click): In line up/down cases, don't alter y. + Don't call x_scroll_bar_set_handle. + + * nt.c (map_win32_filename): If not a fat volume, cvt name to dos. + +1996-05-11 Richard Stallman + + * ntheap.c (allocate_heap): Clean up conditional. + +1996-05-11 Geoff Voelker + + * ntheap.c (allocate_heap): Bump heap base up to 27MB to + satisfy Windows 95. + +1996-05-10 Richard Stallman + + * callproc.c (Fcall_process): Close fd_error if successful. + +1996-05-10 Geoff Voelker + + * w32fns.c (win32_wnd_proc): Disable setting of Vquit_flag + at this point. + +1996-05-10 Andrew Innes + + * w32fns.c (win_msg_worker): Use post_msg. + (win32_wnd_proc): Don't abort if button_state & this, just return. + Use post_msg instead of my_post_msg in some places. + (win32_to_x_font): Major rewrite. + (struct enumfont_t): New element logfont. + (enum_font_cb2): Add special code for TRUETYPE_FONTTYPE. + (Fx_list_fonts): Call x_to_win32_font. + + * w32term.c (x_scroll_bar_move): Call my_show_window. + (x_scroll_bar_clear): Likewise. + + * ntterm.c (prev_console_mode): New variable. + (unset_kbd): Use prev_console_mode. + (reset_kbd): Set prev_console_mode. Call Fset_input_mode. + + * emacs.c (main) [WINDOWSNT]: Call syms_of_ntproc. + + * ntproc.c (Vwin32_quote_process_args): New variable. + (sys_spawnve): If Vwin32_quote_process_args, quote the args. + (syms_of_ntproc): Set up Lisp variable. + +1996-05-10 Richard Stallman + + * xterm.c (x_connection_signal_1): Call x_connection_closed properly. + +1996-05-08 Richard Stallman + + * msdos.c (syms_of_msdos): Fix typo. + +1996-05-07 Richard Stallman + + * termhooks.h (enum scroll_bar_part): Delete extra comma. + +1996-05-06 Richard Stallman + + * msdos.c (Fmsdos_long_file_names): New function. + (syms_of_msdos): Defsubr it. + + * s/msdos.h (GMALLOC_INHIBIT_VALLOC): Defined. + + * casetab.c (set_case_table): Set upcase_table, case_canon_table + and case_eqv_table in the buffer. + + * casefiddle.c (casify_region, casify_object): + If case table has been changed, call Fset_case_table. + +1996-05-04 Richard Stallman + + * editfns.c (Fencode_time): Accept MANY args, so as to cope + with the value of decode-time. + +1996-05-03 Andrew Innes + + * keyboard.c (Qup, Qdown): New variables. + (syms_of_keyboard): Initialize and staticpro. + (scroll_bar_parts): Add Qup and Qdown. + (make_lispy_event) [WINDOWSNT]: Handle win32_scroll_bar_click. + + * termhooks.h (enum scroll_bar_part): New alternatives + scroll_bar_up_arrow, scroll_bar_down_arrow. + (win32_scroll_bar_click): New enum constant. + +1996-05-03 Andrw Innes + + * makefile.nt (SUBSYSTEM) [NTGUI]: Remove conditional. + (LINK_FLAGS): Explicitly set base address, and stack and heap sizes. + (nt.obj): Add dependency to nt.h. + + * nt.c (nt_ctime): Function renamed to sys_ctime. + + Undefine macros for shadowed CRT functions. + (nt_stat, get_unassigned_drive_letter, is_toplevel_share_name, + stat_toplevel_share): Functions deleted. + + Include sys/socket.h and + undefine macros for shadowed socket functions. + + (getwd): Return NULL if GetCurrentDirectory fails. + + (gethostname) [!HAVE_SOCKETS]: Replace with winsock version. + + (nt_sleep): Renamed to sys_sleep. + + (rename): Renamed to sys_rename. Always rename to a temporary name + first on Windows 95. Unlink new name first if necessary. + + (dir_finding): Variable deleted. + (dir_is_fat, dir_pathname): New variables. + + (openddir): Fail if dir_find_handle is in use. Save directory name + in dir_pathname, and set dir_is_fat appropriately. + (closedir, readdir): Use dir_find_handle in place of dir_finding. + (readdir): Copy directory name from dir_pathname on first + call. Use IS_DIRECTORY_SEP instead of IS_ANY_SEP. Force filename + to be lower case on FAT volumes. + + (getpwuid): Move struct passwd initialization to init_user_info, + return information for current user if uid matches. + + (getuid, geteuid): Return uid determined by init_user_info. + (getgid, getegid): New functions. + + (getpwnam): Ignore case when comparing name. + (init_user_info): New function. Determine user name and id from + NT security calls if possible, otherwise try Windows networking + calls before falling back to hard-coded defaults. Ensure HOME and + SHELL environment variables are set. + + (unixtodos_filename): New function. + + (REG_ROOT): Trailing backslash removed. + + (init_environment): Call init_user_info. + + (get_inode_and_device_vals, pipe_with_inherited_out, + pipe_with_inherited_in): Functions deleted. + + (prepare_standard_handles, reset_standard_handles): Moved to + ntproc.c and simplified to match other changes (all handles are + already non-inheritable). + + (get_emacs_configuration): Detect Windows flavour (Windows 95 or + NT) at run-time. Change OS name for Windows 95 to be "win95". + + (fd_info): New variable. Array of extra info for file descriptors + needed for pipe/socket support. + + (utc_base_ft, utc_base, init): New internal variables used for + implementing stat. + + (get_volume_info, is_fat_volume, map_win32_filename, convert_time, + convert_from_time_t, hashval, generate_inode_val): New + internal support functions for shadowed C library functions. + + (sys_access, sys_chdir, sys_chmod, sys_link, sys_mkdir, + sys_mktemp, sys_rmdir, sys_unlink): Call map_win32_filename + before calling shadowed C library function. + + (sys_fopen, sys_open): Map file names, and ensure file handle is + non-inheritable. + + (stat): Replace buggy library function. Fake reaonsable i-node + values by hashing the canonical file name, and use uid/gid values + determined by init_user_info. + + (term_winsock, init_winsock, set_errno, check_errno) + [HAVE_SOCKETS]: New internal socket support functions (plus + associated variables) required to support dynamic linking to + Windows socket library. + + (sys_socket, sys_bind, sys_connect, sys_htons, sys_ntohs, + sys_inet_addr, sys_gethostname, sys_gethostbyname, + sys_getservbyname) [HAVE_SOCKETS]: New functions to provide + dynamically loaded interface to Windows socket library. + + (sys_close, sys_dup, sys_dup2, sys_read, sys_write): New wrappers + for C library functions to handle sockets and pipes. + + (sys_pipe): Make pipe handles non-inheritable, and set binary mode + as required. + + (_sys_read_ahead): New internal support function for pipe/socket + support in sys_select. + + (term_ntproc): New function. + (init_ntproc): New function to initialise socket support and make + initial std handles non-inheritable. Also ensure stdin, stdout + and stderr have valid handles so that pipes and sockets can't + inadvertently use fd 0, 1, or 2. + + * nt.h: Check to see if already included. + (fd_set, filedesc): New structures. + (child_process, MAX_CHILDREN, CHILD_ACTIVE): Definitions moved + from ntproc.c. + (FD_SET, FD_CLR, FD_ISSET, FD_ZERO): Operate on fd_set structures. + (SELECT_TYPE): New macro. + New child process status enumeration. + (FILE_READ, FILE_WRITE, FILE_BINARY, FILE_PIPE, FILE_SOCKET): + New macros. + (fd_info, new_child, delete_child): Declared. + + * ntheap.c: Include lisp.h. + (allocate_heap): Use VALBITS to determine size of heap. + (allocate_heap) [WINDOWS95]: Conditional code removed. + (sbrk): Use VALMASK instead of an unsigned integer mask. + + * ntinevt.c (win32_kdb_patch_key): Initialize isdead. + (key_event) [HAVE_NTGUI]: Use Windows key code. + + * ntproc.c: Include config.h after CRT headers. Include fcntl.h. + (child_process, MAX_CHILDREN, CHILD_ACTIVE): Moved to nt.h. + (DebugPrint): New macro. + (new_child): Create input event structures for child processes. + (delete_child): New function. + (reader_thread): Return nonzero upon failure. Use _sys_read_ahead. + (create_child): Add child_process and parent PID arguments. + Don't create input event or thread structures here. + Fixup Windows 95 negative process IDs. + (register_child): Don't set consumed event; instead, set thread + status so that select will release it. + (remove_child): Renamed to reap_process. Only free resources + of synchronous children. + (win32_wait): Renamed to sys_wait. Sanity check to make sure + handle to subprocess exists. Don't reclaim thread resources here. + (win32_spawnve): Renamed to sys_spawnve. + Check for proper wait mode first thing. + Convert command name to DOS format. + Quote whitespace and quotes in arguments to subprocess. + Use alloca instead of malloc. + If max subprocesses, return EAGAIN in hopes of another completing. + (sys_select): Add support for socket input. Remove dead code. + Check input from children fairly. + (sys_select) [HAVE_TIMEVAL]: Remove conditional check and code. + (win32_kill_process): Renamed to sys_kill. Use OpenProcess + to terminate process. + (prepate_standard_handles, reset_standard_handles): Moved here + from nt.c. + + * ntterm.c (reset_kbd): Try to use interrupt input. + + * unexnt.c (WinMain): Function removed. + (_start) [HAVE_NTGUI]: Don't invoke WinMain, but do set up + WinMain args as crt0.c would. + + * w32fns.c (quit_char, Vwin32_enable_italics, Vwin32_enable_palette): + New variables. + (syms_of_win32fns): Set up new lisp variables. + + (Fwin32_rgb): Dead procedure removed. + (Fwin32_define_rgb_color, Fwin32_load_color_file, win32_map_color, + win32_regenerate_palette, win32_unmap_color): New functions. + (syms_of_w32fns): Set up new lisp functions. + (define_color): Use palettes. Simulate use of PALETTE_RGB to + use closest color instead of dithering. + (map_mode): Function removed. + (WIN32_COLOR, SET_WIN32_COLOR): New macros. + + (win32_init_class): Don't set CS_OWNDC in the WNDCLASS style. + (win32_createwindow): Invoke ShowWindow to discard defaults + from parent. + (win32_wnd_proc): Use separate critical sections appropriately. + Handle palette change, show window, and set window position messages. + Record WINDOWPLACEMENT structure length. + Detect quit_char. + (Fx_create_frame): Set scrollbar width to be the system standard. + + (Ffocus_frame, Funfocus_frame): Functions now do nothing. + + (x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold", + "light", "extralight", and "thin" fonts. + (x_to_win32_charset, win32_to_x_charset): New functions. + (win32_to_x_font): Use new height units. Use win32_to_x_charset. + (x_to_win32_font): Use x_to_win32_charset. Support Win32 font names + in addition to X font names. + + (win32_load_font, Fx_list_fonts, Fx_display_color_cells, + Fx_display_mm_height, Fx_display_mm_width: Use GetDC directly. + + (Fx_open_connection): Support external color mapping files. + + (win32_abort): Map abort button to abort, retry to debug, and + ignore to continue. + + * w32reg.c (REG_ROOT): Remove trailing backslash. + + * w32select.c (Fwin32_set_clipboard_data, Fwin32_get_clipboard_data): + Calculate exact size of clipboard string with CRs removed or inserted. + + * w32term.c (Vwindow_system): Declared. + (win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box): + Use Get/ReleaseFrameDC. + + (pixel_to_glyph_coords): Support tty mode. + (w32_read_socket): Explicitly use FALSE. + Handle WM_PALLETTECHANGED event. + (parse_button): Handle mouse button emulation. + + (my_show_window, my_set_window_pos): New functions. + (x_set_offset, x_set_window_size, x_raise_frame, x_lower_frame): + Use my_set_window_pos. + (x_make_frame_visible, x_iconify_frame): Use my_show_window. + + (x_draw_box): Don't trim right and bottom. + (x_make_frame_visible): Don't invoke SetForgroundWindow. + + (win32_term_init): Use GetDC directly. Initialize palette + and win32_num_mouse_buttons. + (win32_update_begin): Regenerate palette if necessary. + (x_delete_display): Free palette. + + (win32_initialize) [ATTACH_THREADS]: Only AttachThreadInput if + conditional is defined. + + * w32term.h (struct win32_palette_entry): New structure. + (win32_display_info): New fields has_palette, p_colors_in_use, + n_colors_in_use, h_palette. + (win32_output): New field h_old_palette. + (WM_EMACS_SETWINDOWPOS): New macro. + (WM_EMACS_DESTROY_WINDOW): Value redefined. + (win32_window_pos): New structure. + (GetFrameDC, ReleaseFrameDC): Functions declared. + + (my_get_dc): Macro undefined. + (map_mode): Function declaration removed. + (enter_crit, leave_crit): Function declarations changed to macros. + + * w32xfns.c: Include frame.h. + (hEvent): Renamed to h_input_available. + (init_crit, delete_crit, get_next_msg, post_msg): + Use h_input_available. + (GetFrameDC, ReleaseFrameDC): New functions. + (leave_crit): Function removed. + + * s/windowsnt.h: Include string.h. + (HAVE_FREXP, HAVE_FMOD): Macros removed. + (struct timeval, struct timezone, gettimeofday): Declarations removed. + (HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined. + (DIRECTORY_SEP): Use Vdirectory_sep_char. + (EXEC_SUFFIXES): Add .cmd to list of suffixes. + (HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS, + TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR, + HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP, + HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros. + (access, chdir, chmod, close, creat, ctime, dup, dup2, fopen, + link, mkdir, mktemp, open, pipe, read, rename, rmdir, select, + sleep, unlink, write, spawnve, wait, kill, signal): + Macros redefined from win32_* to sys_*. + [__STDC__]: Define when including direct.h, io.h, stdio.h. + (struct nt_stat): Definition removed. + (stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, + st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined. + + * s/windows95.h: File removed. + +1996-05-02 Richard Stallman + + * keyboard.c (Fthis_single_command_keys): New function. + (syms_of_keyboard): defsubr it. + (this_single_command_key_start): New variable. + (add_command_key): Reduce this_single_command_key_start if nec. + (command_loop_1): Clear this_single_command_key_start if nec. + (Fread_key_sequence, Fexecute_extended_command): Likewise. + (read_key_sequence): Set this_single_command_key_start. + (command_loop_1): Clear echo area while inhibit-quit is still t. + +1996-05-01 Richard Stallman + + * keyboard.c (Fevent_convert_list): Never treat last elt as modifier. + + * buffer.c (add_overlay_mod_hooklist): Fix call to bcopy. + + * insdel.c (signal_after_change): Correct the arg to + report_overlay_modification. + + * s/sol2-4.h (C_SWITCH_X_SYSTEM): Definition moved from sol2.h. + + * s/sol2.h (C_SWITCH_X_SYSTEM): Definition moved to sol2-4.h. + +1996-05-01 Eli Zaretskii + + * msdos.c (dos_get_modifiers): Restore missing comment terminator. + (getdefdir): Rewrite to call `_fixpath' instead of `intdos'. + (run_msdos_command) [DJGPP > 1]: Work around some MSDOS + command-line restrictions by running shell commands via `system' + instead of `spawnve'. + + * fileio.c (Fexpand_file_name) [DOS_NT]: Correct the `if' clause + to compile on all platforms. + +1996-04-30 Richard Stallman + + * xterm.c [USE_X_TOOLKIT]: Include X11/Shell.h. + (x_wm_set_icon_pixmap) [USE_X_TOOLKIT]: Tell widget the new pixmap. + +1996-04-29 Andrew Innes + + * fileio.c (Fexpand_file_name) [DOS_NT]: Keep dir sep following ~ + or ~user, but don't collapse the newdir prefix in that case. + +1996-04-26 Richard Stallman + + * keyboard.c (make_lispy_event): FRAME_MENU_BAR_ITEMS now has + four elements per item. Add a separate slot for the hpos. + (menu_bar_items): Likewise. + (menu_bar_item): Initialize the hpos slot to 0. + + * xdisp.c (display_menu_bar): FRAME_MENU_BAR_ITEMS now has + four elements per item. + (update_menu_bar): If we update FRAME_MENU_BAR_ITEMS, + also set w->update_mode_line. + + * xmenu.c (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has + four elements per item. + + * w32menu.c (get_frame_menubar_event, set_frame_menubar): + FRAME_MENU_BAR_ITEMS now has four elements per item. + + * fileio.c (Fexpand_file_name, Ffile_name_absolute_p): Doc fixes. + (Ffile_exists_p, Ffile_executable_p, Ffile_readable_p) + (Ffile_writable_p, Ffile_directory_p, Ffile_regular_p) + (Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p) + (expand_and_dir_to_file): Rename abspath to absname. + +1996-04-26 Andrew Innes + + * fileio.c (Fexpand_file_name) [!DOS_NT]: Fix incorrect expansion of + "/foo/../bar" -> "//bar". Delete relpath variable. + + * fileio.c (CORRECT_DIR_SEPS) [DOS_NT]: New macro. + (IS_DRIVE) [DOS_NT]: Added separate definitions for DOS and NT. + (Ffile_name_directory) [DOS_NT]: Simplify code to match change in + getdefdir in msdos.c. Ignore embedded colons. Correct dir seps. + (Ffile_name_nondirectory) [DOS_NT]: Ignore embedded colons. + Correct IS_ANY_SEP to IS_DIRECTORY_SEP. + (file_name_as_directory) [DOS_NT]: Correct dir seps. + Correct IS_ANY_SEP to IS_DIRECTORY_SEP. + (directory_file_name) [DOS_NT]: Correct dir seps. + (Fmake_temp_name) [DOS_NT]: Correct dir seps. + (Fexpand_file_name) [DOS_NT]: Remove relpath, tmp and + defdir variables; init drive to 0. + Correctly detect when default_directory is absolute. + Be strict when looking for MSDOS drive specifier; defer calling + getdefdir. Ignore drive specifier if name now has UNC prefix. + Correctly recognise if name is not absolute when trying simple + method to expand; return original string if possible. + Skip dir sep after ~ or ~user. + Use getpwnam instead of HOME for ~user on NT. + Handle error return from getdefdir. + Correctly detect if newdir is absolute before using default_directory. + Handle case where newdir is not absolute - expand relative to + current working dir if necessary (instead of calling getdisk + later). Only keep UNC prefix if nm starts with dir sep. + Replace kludgy handling of drive spec in newdir. Correct dir seps. + (Fsubstitute_in_file_name) [DOS_NT]: Correct dir seps for NT as + well. Merge equivalent #ifdef APOLLO and WINDOWSNT cases. Ignore + embedded colons and be strict about drive specs. + (Fcopy_file) [DOS_NT]: Do dev/inode check on NT. + (Ffile_name_absolute_p) [DOS_NT]: Be strict about drive specs. + (check_executable) [DOS_NT]: Test st_mode on NT. + (Ffile_readable_p) [DOS_NT]: Use access instead of open on NT. + (Ffile_modes) [DOS_NT]: Don't embelish st_mode value on NT. + (Fread_file_name) [DOS_NT]: Correct dir seps in HOME. + (syms_of_fileio): Add Vdirectory_sep_char. + + * msdos.c (getdefdir): Include drive letter and colon when + constructing default directory for drive. + +1996-04-26 Richard Stallman + + * xterm.c (x_scroll_bar_clear): Do nothing if frame now has no + scroll bars. + + * xfns.c (x_window) [! USE_X_TOOLKIT]: Initialize wm_hints.icon_pixmap. + +1996-04-26 Andrew Innes + + * callproc.c (Fcall_process) [WINDOWSNT]: Remove conditional NT code. + (Fcall_process_region) [DOSNT]: Canonicalize slashes in filename. + (child_setup) [WINDOWSNT]: Decrease handles array by one. + + * dired.c (Ffile_attributes) [WINDOWSNT]: Remove conditional NT code. + + * emacs.c (main) [WINDOWSNT]: Invoke init_ntproc. + (shut_down_emacs) [WINDOWSNT]: Invoke term_ntproc. + + * lisp.h [WINDOWS_NT]: Declare Vdirectory_sep_char. + + * lread.c (close_load_descs) [WINDOWS_NT]: Don't actually do anything. + + * process.c (Fopen_network_stream): Set process infd to inch. + (create_process, read_process_output, Fsignal_process) [WINDOWSNT]: + Remove conditional NT code. + + * syssignal.h (EMACS_KILLPG) [WINDOWSNT]: Invoke kill instead of + win32_kill_process. + + * term.c (FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]: Remove + conditional for HAVE_NTGUI. + +1996-04-25 Eli Zaretskii + + * msdos.c (getdefdir) [DJGPP > 1]: Use 32-bit ESI to pass buffer + address to `intdos' instead of SI which can be 16-bit. + +1996-04-25 Richard Stallman + + * lread.c (read_escape): Detect READCHAR reporting eof. + + * editfns.c (save_excursion_restore): Add gcpros. + + * unexelf.c (unexec): Add conditional for SOLARIS_POWERPC. + + * fileio.c (syms_of_fileio): Doc fix. + +1996-04-24 Richard Stallman + + * xfns.c (Fx_list_fonts) [BROKEN_XLISTFONTSWITHINFO]: + Free the font, and the fontinfo too if we don't want it. + + * xterm.c (x_connection_signal): Call sigunblock properly. + +1996-04-23 Richard Stallman + + * dispnew.c: Include blockinput.h. + (change_frame_size_1): Block input around the real work. + + * Makefile.in (dispnew.o): Depend on blockinput.h. + +1996-04-21 Richard Stallman + + * process.c (wait_reading_process_input, both definitions): + If wait_for_cell, don't call timer_check, and use + detect_input_pending instead of detect_input_pending_run_timers. + + * frame.c (Fframe_parameters, both definitions): + Get sizes from FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH if they are nonzero. + +1996-04-20 Richard Stallman + + * indent.c (compute_motion): Pass window to Fget_char_property. + +1996-04-19 Richard Stallman + + * keyboard.c (read_key_sequence): + Fix confusion between key and new_key. + +1996-04-18 Richard Stallman + + * keyboard.c (syms_of_keyboard): Doc fix. + +1996-04-17 Richard Stallman + + * xterm.h (STANDARD_EVENT_SET): Remove PointerNotifyHintMask. + * widget.c (EmacsFrameRealize): Use STANDARD_EVENT_SET. + * xterm.c (note_mouse_movement): Don't call XQueryPointer. + (x_scroll_bar_note_movement): Don't call XQueryPointer. + + * xterm.c (x_new_font): Intern FONT just once for finding full name. + + * xterm.h (CHECK_X_FRAME): Macro deleted. + +1996-04-16 Richard Stallman + + * xdisp.c (decode_mode_spec): For %F, use explicit name or `Emacs'. + (decode_mode_spec): Use frame F, not selected frame. + On termcap frames, implicit names are ok. + +1996-04-16 Andrew Innes + + * w32term.c (w32_read_socket): Initialize frame_or_window field. + (x_make_frame_visible): Don't call SetForegroundWindow + after x_set_offset. + (win32_initialize): Call AttachThreadInput at the end. + + * w32fns.c (defined_color): Map color to nearest in default palette. + (win32_wnd_proc): Special handling for WM_CLOSE. + +1996-04-16 Kim Storm + + * msdos.c (check_timer): Removed; use gettime instead. + (sys_select): Call __dpmi_yield while waiting for input to + improve multitasking behaviour. + Do not check timer when no timeout. + +1996-04-16 Richard Stallman + + * buffer.c (syms_of_buffer): Doc fix. + +1996-04-15 Eli Zaretskii + + * process.c (wait_reading_process_input) [!subprocesses]: + Get rid of the loop around the detect_input_pending call. + +1996-04-14 Eli Zaretskii + + * process.c (wait_reading_process_input) [!subprocesses]: Handle + the case of READ_KBD being a cons cell. Retry the timer check + after a timer fired. (All of these make this definition + consistent with the one that supports async subprocesses.) + +1996-04-13 Richard Stallman + + * process.c (wait_reading_process_input, both definitions): + Use plain detect_input_pending just before the select call. + (wait_reading_process_input) [subprocesses]: + Get rid of the loop around the detect_input_pending call. + + * editfns.c (Fcompare_buffer_substrings): Fix dumb bug handling + buffer name as second arg. + + * xfns.c (x_set_frame_parameters): Get height and width from + FRAME_NEW_WIDTH and FRAME_NEW_HEIGHT if nonzero. + +1996-04-12 Richard Stallman + + * emacs.c (main) [MSDOS]: Always call tzset, not init__gettimeofday. + + * editfns.c (Fformat_time_string): Doc fix. + +1996-04-11 Richard Stallman + + * keyboard.c (read_char): Use detect_input_pending_run_timers + before redisplay, not detect_input_pending. + (readable_events): Don't touch timers at all if DO_TIMERS_NOW is 0. + (timer_check): Always run timers directly. + Bind inhibit-quit to t here. + + * process.c (wait_reading_process_input, both definitions): + Don't call detect_input_pending; use detect_input_pending_run_timers. + +1996-04-11 Erik Naggum + + * emacs.c (standard_args): Synchronize with startup.el. + +1996-04-11 Eli Zaretskii + + * msdos.c: Include signal.h. + (__write) [DJGPP == 2.0]: New function, avoids + calling `malloc' while writing to a text file, so that buffer + text being written won't be relocated. + (abort) [DJGPP > 1]: Generate traceback, to identify the abort + cause. + + * emacs.c (main) [DJGPP v2]: Make standard streams use binary mode. + Call `tzset' instead of `init_gettimeofday'. + + * fileio.c [MSDOS]: If DJGPP version 2, include fcntl.h and string.h. + + * lread.c [MSDOS]: If DJGPP version 2, include unistd.h. + Include msdos.h somewhat earlier. For X_OK. + + * unexec.c [DJGPP v2]: Include fcntl.h. + (copy_text_and_data) [DJGPP v2]: Momentarily restore + the hardware exceptions table before dumping it. + + * sysdep.c [DJGPP]: Declare `etext' and `start'. + (wait_for_termination) [DJGPP]: Do not wait for child on MS-DOS. + (sys_subshell): Ignore signals while sub-shell runs. + + * sysdep.c [DJGPP v2] (etext, start): Declared. + (wait_for_termination) [DJGPP v2]: Just exit. + + * s/msdos.h (DATA_START, TEXT_START, TEXT_END, _NAIVE_DOS_REGS) + (POSIX_SIGNALS): Define if DJGPP v2. + (LIBS_SYSTEM, chdir, NO_MODE_T, TEXT_START, NO_MATHERR) + (LOCALTIME_CACHE, tzset): Don't define if DJGPP v2. + + * msdos.c [MSDOS]: If DJGPP version 2, include fcntl.h. + (_crt0_startup_flags): Initialize to work + correctly both with and without GNU `malloc' and `ralloc'. + (internal_terminal_init): Use only 3 bits when setting background + colors. + (init_environment): Call tzset, not init_gettimeofday. + (ctrl_break_vector, ctrl_break_regs): Don't define if DJGPP v2. + (ctrl_break_func, install_ctrl_break_check): Don't define if DJGPP v2. + (dos_ttraw) [DJGPP v2]: Don't call install_ctrl_break_check. + Call setmode at the end and exit. + (dos_ttcooked) [DJGPP v2]: Call setmode at the end and exit. + (gethostname, gettimeofday): Don't define if DJGPP v2. + (alarm, fork, kill, nicr, pause, sigsetask): Don't define if DJGPP v2. + +1996-04-11 Richard Stallman + + * xdisp.c (redisplay_window): Move w->start marker before + running window-scroll-functions (in scroll_step case). + +1996-04-11 Andreas Schwab + + * syswait.h: Remove `|| defined (LINUX)' from #if condition. + + * s/lignux.h: Define HAVE_WAIT_HEADER. + +1996-04-11 Geoff Voelker + + * w32fns.c (win32_color_map): Use PALETTERGB instead of RGB. + + * w32term.h (BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT): Use PALETTERGB + instead of RGB. + +1996-04-10 Richard Stallman + + * term.c (calculate_ins_del_char_costs): Use proper frame's width. + + * frame.c (make_frame_without_minibuffer): Don't change the + mini_window's buffer if it already displays a minibuffer. + + * xfns.c (Fx_list_fonts): Handle X protocol errors. + +1996-04-09 Richard Stallman + + * minibuf.c (read_minibuf): GCPRO ambient_dir. + +1996-04-08 Richard Stallman + + * frame.c (Fset_frame_size): Do call Fset_frame_size + if size is specified and there is a pending size change already. + + * xfns.c (x_set_frame_parameters): Do call Fset_frame_size + if size is specified and there is a pending size change already. + + * xterm.c: Include locale.h if HAVE_SETLOCALE. + (x_term_init): Restore LC_TIME as well as LC_NUMERIC. + +1996-04-08 Miles Bader + + * s/gnu.h (HAVE_PTYS): #undef removed. + +1996-04-08 Richard Stallman + + * config.in (HAVE_LIBNCURSES): Renamed from HAVE_NCURSES. + * s/lignux.h: Test HAVE_LIBNCURSES, not HAVE_NCURSES. + +1996-04-06 Richard Stallman + + * dispnew.c (sit_for): Call swallow_events. + +1996-04-05 Richard Stallman + + * s/lignux.h [HAVE_NCURSES] (LIBS_TERMCAP): New definition. + + * alloc.c (garbage_collection_messages): New variable. + (syms_of_alloc): Set up Lisp variable. + (Fgarbage_collect): Variable controls whether to display messages. + + * lread.c: Include locale.h. + (init_lread): Specify LC_NUMERIC locale. + * xterm.c (x_term_init): Respecify LC_NUMERIC locale. + + * config.in (HAVE_SETLOCALE): Add #undef. + +1996-04-04 Richard Stallman + + * ralloc.c (r_alloc_check): Don't check alignment of h->start. + + * minibuf.c (read_minibuf): Rearrange operations, mainly putting + the read_minibuf_unwind setup and the associated variable changes + together after saving the frame configuration. + +1996-04-03 Richard Stallman + + * process.c (wait_reading_process_input): Don't call + wait_reading_process_input_1 if time_limit is -1. + +1996-04-02 Richard Stallman + + * xterm.c (x_destroy_window): Do call XCloseIM if X11R6. + +1996-04-01 Richard Stallman + + * emacs.c (main): Initialize displayname. + +1996-03-30 Richard Stallman + + * s/lignux.h (TERMINFO): Do define (if HAVE_NCURSES). + +1996-03-29 Richard Stallman + + * xterm.c (x_destroy_window) [SOLARIS2]: Don't free the IC or IM. + +1996-03-28 Geoff Voelker + + * nt.c (rename): New function. + +1996-03-28 Richard Stallman + + * fileio.c (Frename_file) [WINDOWSNT]: Remove conditional code. + + * keyboard.c (last_timer_event): New variable. + (timer_check): Set that variable. + +1996-03-28 Erik Naggum + + * dispnew.c (make_frame_glyphs): Zero the correct number of bytes. + + * widget.c (EmacsFrameResize): We may be called from an interrupt, + so delay the resize operation. + +1996-03-27 Geoff Voelker + + * makefile.nt: Change uses of del to $(DEL). + +1996-03-27 Richard Stallman + + * xterm.c (x_connection_closed): Don't check _Xdebug. + +1996-03-26 Richard Stallman + + * xterm.c (XTread_socket, MapNotify case): + Call record_asynch_buffer_change only if >1 frames. + + * s/lignux.h: Renamed from s/linux.h. + (SYSTEM_TYPE): Changed to "lignux". + + * process.c (wait_reading_process_input_1): New (empty) function. + (wait_reading_process_input): Call wait_reading_process_input_1. + If timer_check runs some timers, retry it. + +1996-03-24 Richard Stallman + + * Makefile.in (xfns.o, xmenu.o, widget.o): Depend on ../lwlib/lwlib.h. + + * callproc.c (Fcall_process, child_setup): If BSD_PGRPS, call + setpgrp the BSD way even on USG. + + * s/linux.h (setpgrp): New macro. + (BSD_PGRPS): Defined. + +1996-03-19 Richard Stallman + + * callint.c (Fcall_interactively): In `c' case, use message_nolog + instead of message1_nolog. + +1996-03-19 Andreas Schwab + + * config.in (HAVE_LINUX_VERSION_H): Renamed from HAVE_VERSION_H. + * s/linux.h: Test HAVE_LINUX_VERSION_H, not HAVE_VERSION_H. + +1996-03-17 Andreas Schwab + + * process.c (wait_reading_process_input): Eliminate bogus test + that was trying to check read_kbd and failing. + +1996-03-17 Richard Stallman + + * xfns.c (X_I18N_INHIBITED): New macro--define this + instead of undefining HAVE_X_I18N. + (x_window) [HAVE_X_I18N]: Set FRAME_XIM. + [X_I18N_INHIBITED]: Set FRAME_XIM and FRAME_XIC to 0. + + * xterm.c (x_destroy_window) [HAVE_X_I18N]: Free xic and xim of frame. + + * xterm.h (struct x_output): New member xim. + (FRAME_XIM): New macro. + +1996-03-16 Geoff Voelker + + * unexnt.c (WinMain): Allocate a console for stdout + and stderr if necessary. + + * w32fns.c (Vwin32_pass_alt_to_system, + Vwin32_pass_optional_keys_to_system): New variables. + (reset_modifiers, map_keypad_keys): New functions. + (win32_wnd_proc): Fixup keypad function keys. + Handle the three new keys on Windows keyboards. + Reset internal keyboard modifier state upon window focus. + + * w32term.h (VK_NUMPAD_*, VK_LWIN, VK_RWIN, VK_APPS): + Define virtual keys for the numpad functions and the three + new keys on Windows keyboards. + +1996-03-14 Richard Stallman + + * s/aix3-2.h (X11R5_INHIBIT_I18N): Definition moved here. + * s/aix3-2-5.h (X11R5_INHIBIT_I18N): Definition moved to aix3-2.h. + + * s/irix5-2.h (NEED_LIBW): Defined. + +1996-03-13 Richard Stallman + + * widget.c (update_from_various_frame_slots) + (update_various_frame_slots): Take account of menubar_height. + + * s/linux.h (LINUX_SIGIO_DOES_WORK): Define only if HAVE_VERSION_H. + + * config.in (HAVE_VERSION_H): Add #undef. + +1996-03-11 Eli Zaretskii + + * process.c (wait_reading_process_input) [! subprocesses]: Run + timers and redisplay if they were run, like the code for systems + which support subprocesses does. + +1996-03-10 Richard Stallman + + * s/linux.h (TERMINFO): Don't define this. + + * process.c [!subprocesses] (wait_reading_process_input): + Port the timer changes from the other wait_reading_process_input. + +1996-03-09 Richard Stallman + + * xterm.c (x_calc_absolute_position): Don't explicitly subtract + the external menu bar height--PIXEL_HEIGHT (f) includes that. + +1996-03-08 Bill Mann + + * m/ibmrs6000.h (LD_SWITCH_MACHINE): Undo previous change-- + define this unconditionally. + (LD_SWITCH_SITE): New conditional definition. + For gcc 2.7.x, use /bin/ld instead of collect2, + +1996-03-07 Richard Stallman + + * emacs.c (main) [! HAVE_NTGUI]: Don't call syms_of_xmenu. + +1996-03-07 Bill Mann + + * unexaix.c (write_segment,copy_sym): Increase blocking from + 128 to 4k bytes. + (adjust_lnnoptrs): Handle include file names, mostly for dbx. + (unrelocate_symbols): Remove some unnecessary tests. + +1996-03-07 Eli Zaretskii + + * Makefile.in (MSDOS_OBJ): Remove xmenu.o. + + * msdos.c (check_timer): Remove code for dos-display-time. + (syms_of_msdos): Delete dos-display-time Lisp var. + +1996-03-07 Bill Mann + + * unexaix.c: Handle both AIX 3.2 and 4.1 bind output. + (make_hdr): Handle data_start being non-zero for 4.1. Padding + sections are omitted in 4.1, but padding bytes can still be + present. Calculate bias directly from first real section + following bss. + (copy_text_and_data): Correct data section starting point for 4.1. + (adjust_lnnoptrs): Adjust line number pointers correctly for both + 3.2 and 4.1, based on published IBM documentation. + (unrelocate_symbols): Compute and subtract relocation offsets for + text and data sections. Handle data_start being non-zero for 4.1. + Skip unnecessary writes. + +1996-03-06 Richard Stallman + + * sysdep.c (init_sys_modes): Clear INLCR like ICRNL. + + * widget.c (pixel_to_char_size): Cast args to int. + +1996-03-05 Karl Heuer + + * alloc.c (struct string_block_head): Change to match string_block. + +1996-03-05 Richard Stallman + + * process.c (wait_reading_process_input): + Redisplay after timer_check if timers were actually run. + + * keyboard.c (timers_run): New variable, incremented when a timer is + run directly. + (timer_check, swallow_events): Increment timers_run. + (swallow_events): Redisplay if get_input_pending has run timers. + (detect_input_pending_run_timers): New arg DO_DISPLAY. + + * dispnew.c (sit_for): Pass DISPLAY to detect_input_pending_run_timers. + + * process.c (wait_reading_process_input): + Pass DO_DISPLAY to detect_input_pending_run_timers. + +1996-03-04 Richard Stallman + + * process.c (Fopen_network_stream): + Set immediate_quit around gethostbyname. + + * dispnew.c (sit_for): Use detect_input_pending_run_timers. + + * xfns.c [AIX] [HAVE_X11R5] (XIMStatusNothing): Definition deleted. + + * config.in (HAVE_NCURSES): Add #undef. + * s/linux.h (TERMINFO): Define, if HAVE_NCURSES. + +1996-03-03 Andreas Schwab + + * data.c (Fkill_local_variable): Call find_symbol_value directly, + not via Fsymbol_value, to avoid getting void-variable error. + +1996-03-03 Richard Stallman + + * xterm.c (x_connection_closed): Don't unblock input until the end. + + * s/linux.h (LINUX_SIGIO_DOES_WORK): Maybe define, based on Linux vers. + [LINUX_SIGIO_DOES_WORK]: Don't undef SIGIO, SIGPOLL, SIGPOLL. + Do define INTERRUPT_INPUT. + + * keyboard.c (init_keyboard): Initialize timer_idleness_start_time. + + * Makefile.in (obj): Add xmenu.o. + (XOBJ): Delete xmenu.o. + * emacs.c (main): Always call syms_of_xmenu. + * xmenu.c: Put most of file into HAVE_MENUS conditional. + (Fx_popup_menu): Put parts into HAVE_MENUS conditionals. + + * process.c (wait_reading_process_input): + Use getpid when generating SIGIO. + + * keyboard.c (reinvoke_input_signal): Use getpid. + +1996-03-02 Richard Stallman + + * keyboard.c (input_poll_signal): Use start_polling + after first incrementing poll_suppress_count. + +1996-03-01 Richard Stallman + + * xterm.c [X_CONNECTION_LOCK_FLAG] (abort, exit): New definitions. + + * keymap.c (Fuse_global_map, Fuse_local_map): + Don't call record_asynch_buffer_change. + +1996-02-28 Richard Stallman + + * s/aix3-2.h: Avoid the #pragma alloca on AIX 4. + + * s/aix4-1.h (REL_ALLOC): #undef deleted. + +1996-02-27 Richard Stallman + + * xfns.c [AIX] [HAVE_X11R5] (XIMStatusNothing): Defined. + + * keyboard.c (timer_check): Walk down both timer lists in parallel. + +1996-02-26 Richard Stallman + + * keyboard.c (Fcommand_execute): New arg SPECIAL. + All callers changed. + + * xterm.c (X_CONNECTION_LOCK_FLAG): New macro. + (x_connection_close_if_hung): New subroutine, at the end of the file. + Include X11/Xlibint.h only for this function. + #undef bcopy, bzero, bcmp, min, max first. + Define malloc and free to avoid type conflicts. + (x_connection_signal): Use x_connection_close_if_hung. + + * doprnt.c (doprnt1): Move cast to unsigned inside a shift. + +1996-02-26 enami tsugutomo + + * xdisp.c (redisplay_window): Pass preserve_echo_area as a missing + second argument of redisplay_windows. + +1996-02-25 Richard Stallman + + * minibuf.c (read_minibuf): + Bind inhibit-read-only to t around clearing the minibuffer. + (read_minibuf_unwind): Likewise. Also, clearing the buffer + is now the last thing we do. + + * keyboard.c (command_loop_1): Explicitly clear the echo area + with message2; don't just clear echo_area_glyphs. + Don't set no_direct in that case. + + * lisp.h (Qinhibit_read_only): Declared. + + * xterm.c (x_set_window_size): Clear out the mouse-highlighting data + if it applies to this frame. + Clear out the frame cursor position in Xt version as in Xlib version. + +1996-02-24 Richard Stallman + + * fileio.c (Fexpand_file_name): Fix confusion in detecting + that default_directory is already absolute so need not be expanded. + + * syntax.c (Fcopy_syntax_table): Set default to nil. + Set the parent only if it was nil. + + * xterm.c (x_update_cursor): If no previous cursor position is known, + leave the cursor off. + +1996-02-23 Richard Stallman + + * xdisp.c (redisplay_internal): Renamed from redisplay. + New arg PRESERVE_ECHO_AREA. + (redisplay): New wrapper function calls redisplay_internal. + (redisplay_window, redisplay_windows): New arg PRESERVE_ECHO_AREA. + +1996-02-22 Richard Stallman + + * process.c (Fopen_network_stream): Set immediate_quit for the connect. + +1996-02-22 Erik Naggum + + * dispnew.c (Fsleep_for): Accept sub-second intervals. + +1996-02-21 Richard Stallman + + * xdisp.c (redisplay_window): If window-scroll-functions change + the start position, redisplay from the new one. + + * xfns.c (defined_color): When we find a "near" color in the map, + make sure it is really available as a read-only color. + + * process.c (wait_reading_process_input): + Pass new arg to swallow_events. + + * process.c (wait_reading_process_input): If read_kbd is 1, + use detect_input_pending_run_timers instead of detect_input_pending. + + * keyboard.c (swallow_events): New arg DO_DISPLAY. + + * keyboard.c (swallow_events): Process timer_event events here. + (detect_input_pending_run_timers): New function. + + * keyboard.c (Vtimer_idle_list): New variable. + (syms_of_keyboard): Set up Lisp var. + (timer_check): Check for idle-time timers too. + Expect timers to have 8 slots. Initialize triggertime. + (timer_start_idle, timer_stop_idle): New functions. + + * keyboard.c (get_input_pending): New arg do_timers_now. + (readable_events): Likewise. + (Finput_pending_p): Use get_input_pending, so we can specify + 1 for do_timers_now. + + * fns.c (map_char_table): Fix args in recursive call. + + * s/netbsd.h (vfork): Delete definition (kernel bug fixed). + + * fileio.c (Fdo_auto_save): Pause before restoring old message. + + * s/aix4-1.h (C_DEBUG_SWITCH) [not __GNUC__]: New definition. + (C_OPTIMIZE_SWITCH) [not __GNUC__]: Add #undef. + (X11R5_INHIBIT_I18N): #undef deleted. + + * s/aix4-1.h (REL_ALLOC): Add #undef. + +1996-02-21 Andreas Schwab + + * keyboard.c (timer_check): Check for difference being zero. + +1996-02-21 Erik Naggum + + * process.c (Faccept_process_output): Accept sub-second timeouts. + +1996-02-20 Andreas Schwab + + * eval.c (init_eval_once): Initialize specpdl_ptr. + +1996-02-19 Karl Heuer + + * xfns.c (Fx_create_frame): Title is a string, not a symbol. + +1996-02-18 Richard Stallman + + * unexelf.c: Use , not "config.h". + +1996-02-17 Richard Stallman + + * doc.c (get_doc_string): Move static vars outside the function, + and rename to get_doc_string_buffer and get_doc_string_buffer_size. + +1996-02-16 Karl Heuer + + * keyboard.c (syms_of_keyboard): Doc fix. + (Fopen_dribble_file): Check for failure. + +1996-02-16 enami tsugutomo + + * keyboard.c (Fopen_dribble_file): Close dribble file before + opening new file. + +1996-02-15 Eli Zaretskii + + * fileio.c (Fmake_temp_name) [MSDOS]: Make sure there is at least + one character before the dot, in case `prefix' is only a directory + name. + +1996-02-13 Karl Heuer + + * xfns.c (x_real_positions): Cast arg of XFree. + +1996-02-12 Richard Stallman + + * xterm.c (x_error_quitter): Add newline to error message. + + * xmenu.c (xmalloc_widget_value): Define only if USE_X_TOOLKIT. + +1996-02-12 Erik Naggum + + * doc.c (get_doc_string): Always read entire disk blocks. + +1996-02-11 Richard Stallman + + * keyboard.c [HAVE_NTGUI] (lispy_function_keys): Add mappings + for keypad function keys and new PC optional keys. + + * xmenu.c (xmalloc_widget_value): Fix previous change. + + * xdisp.c (redisplay) [USE_X_TOOLKIT]: Do nothing if popup_activated. + + * xmenu.c (xmalloc_widget_value): New function. + Use it instead of malloc_widget_value. + +1996-02-10 Richard Stallman + + * textprop.c (Fadd_text_properties): Don't return without ungcpro. + +1996-02-10 Roland McGrath + + * window.c (display_buffer_1): Fix typo in last change. + +1996-02-10 Richard Stallman + + * window.c (display_buffer_1): Raise the frame if already visible. + +1996-02-09 Richard Stallman + + * keyboard.c (read_char, timer_check): Call any_kboard_state + after calling Fcommand_execute, if was previously in that state. + +1996-02-08 Richard Stallman + + * dired.c (Fdirectory_files): Doc fix. + + * process.c (Fopen_network_stream): Use sizeof, not strlen, + for numeric_addr. + +1996-02-08 Eli Zaretskii + + * fileio.c (Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in + the prefix of the temporary file name. + +1996-02-07 Richard Stallman + + * process.c (remove_process): Don't unlink the process marker. + + * m/paragon.h (LIB_STANDARD): Add -lmach. + (LD_DATA_START): Definition deleted. + (LD_SWITCH_SYSTEM): Definition and #undef deleted. + +1996-02-06 Richard Stallman + + * buffer.c (Fbuffer_live_p): New function. + (syms_of_buffer): defsubr it. + + * xterm.c (min, max): Don't define if already defined. + + * xfns.c (x_real_positions): Use XFree. + + * Makefile.in (emacs.o): Depend on blockinput.h. + * emacs.c: Include blockinput.h. + +1996-02-06 Kevin Gallo + + * w32term.h (FONT_WIDTH): Use average character width, not maximum. + +1996-02-05 Richard Stallman + + * emacs.c (fatal_error_signal): Do TOTALLY_UNBLOCK_INPUT. + +1996-02-05 Karl Heuer + + * process.c (sigchld_handler): Use cleaner end-of-list test. + +1996-02-04 Paul Eggert + + * s/sol2-4.h (LIB_X11_LIB): Remove; this undoes the Jan 31 change, + which didn't fix the Solaris linking problem. The problem was + fixed instead by the Feb 1 change to ../configure.in. + +1996-02-04 Richard Stallman + + * fns.c (syms_of_fns): Set yes-or-no-p-history to nil. + + * s/netbsd.h, s/freebsd.h (vfork): Define as fork. + + * lread.c (Fread_char_exclusive): Doc fix. + +1996-02-03 Richard Stallman + + * xfns.c (x_frame_parms): Add "title" element. + (x_set_title): New function. + (x_set_name): Let title parm override name parm for title use. + (x_set_icon_name): Use title parm before name parm, if no icon_name. + + * Properly undo the way deletion affects markers. + * undo.c (record_marker_adjustment): New function. + (Fprimitive_undo): Handle marker-adjustment elements. + * insdel.c (adjust_markers): When a marker is inside text + being deleted, call record_marker_adjustment for it. + (del_range_1): Call adjust_markers before record_delete. + * buffer.c (syms_of_buffer): Doc fix. + +1996-02-02 Richard Stallman + + * xterm.c (x_connection_signal): Call x_connection_closed properly. + (x_connection_closed): Set FRAME_X_DISPLAY to 0. + (x_destroy_window): Don't do any X operations if FRAME_X_DISPLAY is 0. + +1996-02-02 Darrin B. Jewell + + * lisp.h (VECSIZE): Round up when dividing. + +1996-02-01 Geoff Voelker + + * w32xfns.c (prepend_msg): New function. + + * w32fns.c (modifiers, modifier_key_support_tested, + modifiers_recorded): New variables. + (EMACS_LCONTROL, EMACS_RCONTROL, EMACS_LMENU, + EMACS_RMENU): New macros. + (test_modifier_support, record_keydown, record_keyup, + modifier_set, construct_modifiers): New functions. + (win32_wnd_proc): Monitor modifier keyup and keydown messages. + Map window modifiers into console modifiers to unify input. + + (x_create_frame): Use the FixedSys font as the default font. + (x_to_win32_font): For now, always use ANSI_CHARSET. + + * w32term.c (convert_to_key_event, is_dead_key): New functions. + (w32_read-socket): Convert console modifiers to Emacs modifiers. + Use console input routines to unify keyboard support. + (x_make_frame_visible): Make frame foreground window. + + * ntinevt.c (win32_kbd_mods_to_emacs, win32_kbd_patch_key, + key_event): Convert from static to global functions. + (win32_kbd_patch_key): Set modifiers when AltGr is pressed. + (key_event): Don't modify key code on window input. + +1996-02-01 Richard Stallman + + * keyboard.c (read_char_minibuf_menu_prompt): Use malloc to allocate + the echo-area prompt buffer. + (read_char_minibuf_menu_text, read_char_minibuf_menu_width): + New variables. + +1996-02-01 enami tsugutomo + + * dispnew.c (update_frame): Compare FRAME_MINIBUF_WINDOW(f) + against with not minibuf_window but echo_area_window. + +1996-02-01 Richard Stallman + + * xterm.c (x_term_init): Use "" as 2nd arg to setlocale. + + * process.c (wait_reading_process_input): If select times out, + return only if we had no timers to shorten the wait. + Don't shorten the wait for timers if time_limit is -1. + + * syssignal.h [POSIX_SIGNALS] (sigsetmask): + Don't define if already defined. + + * keyboard.c (echo_now): Renamed from `echo'. All callers changed. + +1996-01-31 Karl Heuer + + * process.h (synch_process_death, synch_process_retcode): Delete + extra declaration. + +1996-01-31 Richard Stallman + + * s/sol2-4.h (LIB_X11_LIB): New definition. + +1996-01-30 Karl Heuer + + * s/isc2-2.h (HAVE_SOCKETS): Moved here from s/isc4-1.h. + (NO_SOCKETS_IN_FILE_SYSTEM, NEED_NET_ERRNO_H): Likewise. + (LIBS_SYSTEM): Use -linet unconditionally. + * s/isc4-1.h (HAVE_SOCKETS): Moved to s/isc2-2.h. + (NO_SOCKETS_IN_FILE_SYSTEM, NEED_NET_ERRNO_H): Likewise. + * s/isc4-0.h (LIBS_SYSTEM): Use -linet unconditionally. + +1996-01-30 Richard Stallman + + * window.c (Fset_window_buffer): Set buffer temporarily around running + the window-scroll-functions. + (Fset_window_buffer_unwind): New function. + (window_initialized): New variable. + (init_window_once): Set it. + + * callproc.c (child_setup): Fix size in write call. + +1996-01-29 Richard Stallman + + * fns.c (Qcursor_in_echo_area): New variable. + (syms_of_fns): Set up Lisp var. + (Fy_or_n_p): Bind Qcursor_in_echo_area in case of nonlocal exit. + + * keyboard.c (make_lispy_event): Timer event is a list, not just cons. + (timer_check): When DO_IT_NOW is true, handle events by running + the definition of timer-event. Don't get the current time if there + are no pending timers. If an event was generated, return 0, + If all timers were handled, return -1. Add gcpros. + + * xterm.c (x_connection_signal): Don't stop polling. + Don't mess with SIGALRM. + Those were relics of the superseded Dec 19 change. + + * process.c (wait_reading_process_input): Don't exit immediately + if select returns due to timeout--loop around to check time left. + + * keyboard.c (readable_events): Tell timer_check to execute events. + +1996-01-28 Richard Stallman + + * keyboard.c (timer_check): Return an EMACS_TIME. + (read_char, kbd_buffer_get_event): Calls changed accordingly. + + * process.c (wait_reading_process_input): Call timer_check + and shorten the inner delay if appropriate. + +1996-01-28 Morten Welinder + + * termhooks.h (event_kind): New event type: timer_event. + + * keyboard.c (Qtimer_event): New symbol. + (read_char, kbd_buffer_get_event): Don't sleep past the next timer. + (readable_events, kbd_buffer_get_event): Check for timer events. + (make_lispy_event): Handle timer events. + (timer_check): New function. + (Vtimer_list): New variable. + (syms_of_keyboard): Set up Qtimer_event and Vtimer_list. + +1996-01-28 enami tsugutomo + + * process.c (create_process): Set outchannel to be non-blocking. + +1996-01-28 Richard Stallman + + * xfns.c (x_frame_parms): Alphabetize. + (enum x_frame_parm): Data type deleted. + + * xterm.c (XTframe_raise_lower): Rename arg `raise' to `raise_flag'. + +1996-01-27 Richard Stallman + + * emacs.c (sort_args): Error if option is missing an arg. + + * editfns.c (syms_of_editfns): Make buffer-access-fontify-functions + locally nil in the prin1 buffer. + + * fns.c (Fy_or_n_p): Call choose_minibuf_frame. + + * editfns.c (Fcompare_buffer_substrings): Access case_canon_table + as a char_table. + +1996-01-27 enami tsugutomo + + * sysdep.c (child_setup_tty): Turn off ISTRIP to pass 8bit. Turn + off TAB3 do don't expand tabs. + +1996-01-26 Richard Stallman + + * minibuf.c (Fset_minibuffer_window): New function. + (keys_of_minibuf): defsubr it. + + * cmds.c (Fdelete_backward_char): In overwrite mode, + insert spaces, unless we deleted a tab. + +1996-01-26 Eli Zaretskii + + * msdos.c (dos_rawgetc): Allow simulation of `Mouse-3' by + simultaneous click/drag of `Mouse-1' and `Mouse-2'. + +1996-01-25 Richard Stallman + + * xselect.c (xfree): Macro deleted. + Callers changed to use `free' directly. + + * xselect.c (x_get_window_property_as_lisp_data): Use xfree, not XFree. + (x_get_window_property): Use XFree for tmp_data. + +1996-01-25 Eli Zaretskii + + * dosfns.c (mode25, mode4350): Moved to `lisp/dos-fns.el'. + + * msdos.c (dos_set_window_size): Make the window size change + faster for standard sizes. Fix a bug in v2-specific code to + change window size. + +1996-01-24 Geoff Voelker + + * w32fns.c, w32reg.c, w32term.c, w32term.h, w32xfns.c: + Latest patches backed out. + +1996-01-24 Richard Stallman + + * termhooks.h (struct input_event): New field `padding'. + Change `kind' field to an int. + +1996-01-24 Eli Zaretskii + + * msdos.c (dos_set_window_size): New function; switches the screen + to the size as close as possible to requested frame dimensions. + + * msdos.h: (dos_set_window_size): Prototype for a new function. + + * dispnew.c (change_frame_size_1) [MSDOS]: Support frame size + changing as best as possible. + +1996-01-24 Richard Stallman + + * Makefile.in (xmenu.o): Depend on termhooks.h. + +1996-01-24 Eli Zaretskii + + * process.c (wait_reading_process_input) [not subprocesses]: Do + not assume SELECT_TYPE is an int. + + * msdos.c (sys_select): Use time macros to prevent time values + from overflowing. + +1996-01-23 Geoff Voelker + + * xdisp.c (update_menu_bar, redisplay_window): Use FRAME_WINDOW_P + instead of only testing for X11. + +1996-01-23 Karl Heuer + + * m/mips-siemens.h (UNEXEC): unexsni.o renamed from unexelfsni.o. + * m/iris5d.h (UNEXEC): unexsgi.o renamed from unexelfsgi.o. + * m/iris4d.h [USG5_4] (UNEXEC): Likewise. + + * config.in (LOCALTIME_CACHE): Delete extra #undef. + +1996-01-23 Felix Lee + + * data.c (kill-local-variable): Didn't update the value of + forwarded objects. + + * xdisp.c (mark_window_display_accurate): buffer->clip_changed was + being inappropriately cleared. + +1996-01-23 Eli Zaretskii + + * syssignal.h (sigblock): Delete this, undoing previous change. + * msdos.c (sigblock): New (dummy) function. + +1996-01-22 Simon Marshall + + * editfns.c (syms_of_editfns): Correct spelling of Lisp variable + buffer-access-fontified-property. + +1996-01-20 Roland McGrath + + * unexelf.c (unexec): Undo data relocations unconditionally, not + #ifdef SOLARIS2. + +1996-01-20 Karl Heuer + + * syssignal.h [__DJGPP__] (sigblock): Define trivially. + +1996-01-20 Andrew Innes + + * w32term.c (x_make_frame_visible): Explicitly make the frame + the selected frame. + +1996-01-20 Andrew Innes + + * w32xfns.c: Include frame.h. + (critsect, h_input_available): New variables. + (init_crit, delete_crit): Handle all three critical sections. + (GetFrameDC, ReleaseFrameDC): New functions. + (get_next_msg, post_msg): Use h_input_available. + Use CRIT_MSG critical section. + + * w32term.h (win32_palette_entry): New structure. + (has_palette, p_colors_in_use, n_colors_in_use, h_palette, + regen_palette): Declare variables. + (struct win32_output): New field. + (my_get_dc): Macro removed. + (GetFrameDC, ReleaseFrameDC): Declare functions. + + (critsect): Declare variable. + (enum win32_critical_section): New enumeration. + (enter_crit, leave_crit): Functions converted to macros. + + * w32term.c (win32_fill_rect): Remove unused variable. + (x_iconify_frame): Conform to coding style. + (x_draw_box): Don't trim right and bottom. + (x_wm_set_size_hint): Use specific CRIT_MSG critical section. + + (win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box): + Use Get/ReleaseFrameDC. + (win32_update_begin): Regenerate palette if required. + (w32_read_socket): Use FALSE. Handle WM_PALETTECHANGED. + (win32_term_init): Use GetDC directly. + Enable palette in display structure. + Predefine white and black. + (x_delete_display): Free palette table. + + * w32reg.c (REG_ROOT): Don't use trailing backslash. + + * w32fns.c (Vwin32_enable_italics, Vwin32_enable_palette): + New variables. + (syms_of_win32fns): Set up new lisp variables. + + (x_set_frame_parameters, x_real_positions, win32_load_font, + win32_abort): Conform to coding style. + + (Fwin32_define_rgb_color, Fwin32_load_color_file, Fwin32_map_color, + Fwin32_unmap_color, Fwin32_regenerate_palette): New functions. + (syms_of_win32fns): Set up new lisp subroutines. + (defined_color): Use palettes. + (map_mode): Function removed. + + (win32_init_class): Don't CS_OWNDC. + (win32_wnd_proc): Use segregated critical sections appropriately. + Handle WM_PALETTECHANGED. + Record WINDOWPLACEMENT structure length. + + (x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold", + "light", "extralight", and "thin" fonts. + (x_to_win32_charset, win32_to_x_charset): New functions. + (win32_to_x_font): Use win32_to_x_charset. + (x_to_win32_font): Use x_to_win32_charset. + Support Windows font names. + + (Fx_list_fonts, Fx_display_color_cells, Fx_display_mm_height. + Fx_display_mm_width): Use GetDC directly. + + (Fx_open_connection): Support external color mapping files. + +1996-01-20 Geoff Voelker + + * ntterm.c (clear_frame): Use FillConsoleOutput* calls instead of + ScrollConsoleScreenBuffer (which has a bug on Windows 95). + + * ntinevt.c (WIN32_KEY_SHIFTED): Macro undefined. + (win32_number_shift_map): Array undefined. + (win32_kbd_patch_key): Properly handle virtual keys for + arbitrary keyboards. + (map_virt_key, key_event, win32_mouse_position, do_mouse_event, + win32_read_socket): Support for MULE. + + * nt.c (nt_stat): Use alloca instead of xmalloc. + (get_unassigned_drive_letter, is_toplevel_share_name, + stat_toplevel_share): New functions for stat on remote shares. + (readdir): Use IS_ANY_SEP. + + * makefile.nt (keyboard.obj, dispnew.obj): Depend upon w32term.h. + (LIBS): Link with mpr.lib for remote share support. + +1996-01-20 Paul Eggert + + * editfns.c (Fformat_time_string): Doc fix. + Don't crash if the resulting string is empty. + +1996-01-19 Karl Heuer + + * buffer.c (Fother_buffer): If we have to create a new buffer, use + default-major-mode. + +1996-01-19 Erik Naggum + + * frame.c (make_frame): Initialize frame title field to nil. + +1996-01-18 Richard Stallman + + * alloc.c (mark_object): Mark frame title field. + +1996-01-22 Richard Stallman + + * xterm.c [SOLARIS2]: Include Xlibint.h. + (x_connection_signal): Access XlibDisplayWriting properly. + No need to sleep--if the flag is set, assume connection is dead. + +1996-01-21 Richard Stallman + + * lisp.h (XCAR, XCDR, CAR, CDR): New macros. + + * xmenu.c (set_frame_menubar): + Use safe_run_hooks for Qmenu_bar_update_hook. + + * xdisp.c (update_menu_bar): + Use safe_run_hooks for Qmenu_bar_update_hook. + + * lread.c (syms_of_lread): Set Vsource_directory here. + (init_lread): Not here. + + * macros.c (Fstart_kbd_macro): Use xmalloc. + Shrink the kbd macro buffer if it is very big. + + * lisp.h (make_number): New macro definition. + * data.c (make_number): Function deleted. + +1996-01-20 Richard Stallman + + * keymap.c (Faccessible_keymaps): Doc fix. + +1996-01-19 Richard Stallman + + * keymap.c (describe_command): Sometimes use col 32 for desc. + Record that col in previous_description_column for hysteresis. + (describe_map): Clear out previous_description_column. + +1996-01-19 enami tsugutomo + + * frame.c (make_frame): Initialize title parameter to Qnil. + +1996-01-18 Richard Stallman + + * xterm.c (x_connection_signal): Explicitly check the thread interlock + on Solaris. + +1996-01-17 Richard Stallman + + * keyboard.c (safe_run_hooks): Use Qt, not Qerror, to avoid + running the debugger. + + * eval.c (run_hook_with_args): Do nothing if Vrun_hooks is nil. + + * xfns.c (Qtitle): Declared. + (Fx_create_frame): Initialize title parameter. + Don't use the title resource to initialize the name parameter. + + * frame.c (syms_of_frame_1): Initialize Qtitle. + + * xdisp.c (decode_mode_spec, case 'F'): Use `title' field. + + * frame.h (struct frame): New field `title'. + +1996-01-17 Karl Heuer + + * window.c (replace_buffer_in_all_windows): Don't change selected + window, even temporarily; that has undesirable side effects. + +1996-01-17 Richard Stallman + + * emacs.c (dump_environ): Variable deleted. + (main): Don't free dump_environ. + (Fdump_emacs): Don't set dump_environ. + (environ): Declare only on VMS, as before. + +1996-01-15 Richard Stallman + + * s/aix4-1.h (X11R5_INHIBIT_I18N): Add undef. + (LIB_MOTIF): Undef before defining. + +1996-01-14 Richard Stallman + + * window.c (display_buffer_1): Don't deiconify the selected frame. + +1996-01-14 Paul Eggert + + * emacs.c (Fdump_emacs): If HAVE_TZSET and not + LOCALTIME_CACHE, call tzset to force a tz reload. + +1996-01-13 eggert + + * emacs.c (set_time_zone_rule): New decl. + (environ): Always declare. + (dump_tz, dump_environ): New vars. + (main): Change TZ twice if the execution TZ happens to be the same as + the dump TZ. Free dump environ. + (Fdump_emacs): Set TZ to unlikely value just before dumping. + * editfns.c (set_time_zone_rule): Now extern, not static. + * config.in (HAVE_TZSET): Add #undef. + +1996-01-12 Roland McGrath + + * Makefile.in ($(OLDXMENU) rules): Fix conditionals so no rules + are defined when !HAVE_MENUS. + +1996-01-12 Richard Stallman + + * msdos.c (dos_rawgetc): Make buf longer. + +1996-01-11 Richard Stallman + + * xdisp.c (redisplay_window): Fix minor bug in Fset_marker call. + + * s/aix3-2-5.h (LIB_MOTIF): New macro definition. + +1996-01-10 Richard Stallman + + * window.c (Fset_window_buffer): Call the window-scroll-functions. + +1996-01-08 Karl Heuer + + * keymap.c (Fapropos_internal): Fix previous change. + * abbrev.c (Fdefine_abbrev_table): Fix previous change. + * fns.c (Fset_char_table_parent): Fix previous change. + * data.c (Flognot): Fix previous change. + * macros.c (Fexecute_kbd_macro): Fix previous change. + +1996-01-08 Erik Naggum + + * abbrev.c (Fdefine_global_abbrev, Fdefine_mode_abbrev, + Fabbrev_symbol, Finsert_abbrev_table_description, + Fdefine_abbrev_table): Harmonize arguments with documentation. + + * alloc.c (Fmake_symbol): Harmonize arguments with documentation. + + * buffer.c (Fmake_indirect_buffer, Fset_buffer_major_mode, + Fpop_to_buffer, Fbury_buffer, Foverlay_get): Harmonize arguments + with documentation. + + * bytecode.c (Fbyte_code): Harmonize arguments with documentation. + + * callint.c (Fcall_interactively, Fprefix_numeric_value): Harmonize + arguments with documentation. + + * casefiddle.c (Fupcase_region, Fdowncase_region, + Fcapitalize_region, Fupcase_initials_region): Harmonize arguments + with documentation. + + * casetab.c (Fcase_table_p): Harmonize arguments with + documentation. + + * cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line, + Fdelete_char, Fdelete_backward_char): Harmonize arguments with + documentation. + + * data.c (Fboundp, Ffboundp, Fmakunbound, Ffmakunbound, + Fsymbol_plist, Fsymbol_name, Ffset, Fdefalias, Fdefine_function, + Fsetplist, store_symval_forwarding, swap_in_symval_forwarding, + find_symbol_value, Fsymbol_value, Fset, default_value, + Fdefault_boundp, Fdefault_value, Fset_default, Fsetq_default, + Fmake_variable_buffer_local, Fmake_local_variable, + Fkill_local_variable, Flocal_variable_p, Flocal_variable_if_set_p, + Faref, Faset, Fzerop, Fnumber_to_string, Fstring_to_number, Frem, + Fmod, Fadd1, Fsub1, Flognot): Harmonize arguments with + documentation. + + * dired.c (Fdirectory_files, Ffile_name_completion, + Ffile_name_all_completions, Ffile_name_all_versions): Harmonize + arguments with documentation. + + * dispnew.c (Fsend_string_to_terminal, Fsit_for): Harmonize + arguments with documentation. + + * doc.c (Fdocumentation, Fdocumentation_property, + Fsubstitute_command_keys): Harmonize arguments with documentation. + + * dosfns.c (Fint86, Fdos_memget, Fdos_memput, Fmsdos_set_keyboard): + Harmonize arguments with documentation. + + * editfns.c (Fchar_to_string, Fstring_to_char, Fgoto_char, + Fencode_time, Finsert_char, Fbuffer_substring, + Fbuffer_substring_no_properties, Finsert_buffer_substring, + Fdelete_region, Fnarrow_to_region): Harmonize arguments with + documentation. + (Fformat_time_string): Allow TIME to default to current time. + + * emacs.c (Fdump_emacs_data, Fdump_emacs): Harmonize arguments with + documentation. + + * eval.c (Fmacroexpand, Fthrow, Fbacktrace_frame): Harmonize + arguments with documentation. + + * fileio.c (Ffile_name_directory, Ffile_name_nondirectory, + Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name, + Fsubstitute_in_file_name, Fcopy_file, Fmake_directory_internal, + Fdelete_directory, Fdelete_file, Frename_file, Fadd_name_to_file, + Fdefine_logical_name, Ffile_modes, Fset_file_modes, + Fset_default_file_modes, Fdo_auto_save, Fread_file_name): Harmonize + arguments with documentation. + + * filelock.c (Flock_buffer, Ffile_locked_p): Harmonize arguments + with documentation. + + * floatfns.c (Fbessel_jn, Fbessel_yn): Harmonize arguments with + documentation. + + * fns.c (Frandom, Flength, Felt, Fsort, Fchar_table_subtype, + Fchar_table_parent, Fset_char_table_parent, Fchar_table_extra_slot, + Fset_char_table_extra_slot, Fchar_table_range, + Fset_char_table_range, Fmap_char_table, Fmapconcat, Fmapcar): + Harmonize arguments with documentation. + + * frame.c (Fhandle_switch_frame, Fset_frame_height): Harmonize + arguments with documentation. + + * indent.c (Findent_to): Harmonize arguments with documentation. + + * keyboard.c (Fevent_convert_list, Fcommand_execute): Harmonize + arguments with documentation. + + * keymap.c (Fkeymapp, Fdefine_prefix_command, Faccessible_keymaps, + Ftext_char_description, Fapropos_internal): Harmonize arguments + with documentation. + + * lread.c (Feval_buffer, Feval_region, Fintern, Fintern_soft): + Harmonize arguments with documentation. + + * macros.c (Fend_kbd_macro, Fexecute_kbd_macro): Harmonize + arguments with documentation. + + * marker.c (Fset_marker): Harmonize arguments with documentation. + + * minibuf.c (Ftry_completion, Fall_completions, Fcompleting_read): + Harmonize arguments with documentation. + + * print.c (Fwrite_char, Fprin1, Fprin1_to_string, Fprinc, Fprint): + Harmonize arguments with documentation. + + * process.c (Fprocessp, Fget_buffer_process, Fdelete_process, + Fprocess_status, Fprocess_exit_status, Fprocess_id, Fprocess_name, + Fprocess_command, Fprocess_tty_name, Fset_process_buffer, + Fprocess_buffer, Fprocess_mark, Fset_process_filter, + Fprocess_filter, Fset_process_sentinel, Fprocess_sentinel, + Fset_process_window_size, Fprocess_kill_without_query, + Faccept_process_output): Harmonize arguments with documentation. + + * search.c (Fmatch_end, Fregexp_quote): Harmonize arguments with + documentation. + + * syntax.c (Fsyntax_table_p, Fchar_syntax, Fmatching_paren, + Fmodify_syntax_entry): Harmonize arguments with documentation. + + * textprop.c (Ftext_properties_at, Fget_text_property, + Fget_char_property, Fnext_property_change, + Fnext_single_property_change, Fprevious_property_change, + Fprevious_single_property_change, Fadd_text_properties, + Fput_text_property, Fset_text_properties, Fremove_text_properties, + Ftext_property_any, Ftext_property_not_all): Harmonize arguments + with documentation. + + * window.c (Fwindowp, Fwindow_live_p, Fother_window, + Fenlarge_window, Fshrink_window, Fscroll_up, Fscroll_down, + Fscroll_other_window, Fscroll_left, Fscroll_right, Frecenter, + Fwindow_configuration_p): Harmonize arguments with documentation. + + * xfaces.c (Fpixmap_spec_p): Harmonize arguments with + documentation. + +1996-01-08 Erik Naggum + + * buffer.c (Fkill_buffer): Delete buffer from Vbuffer_alist after + replacing it. + +1996-01-08 Karl Heuer + + * s/sol2-3.h (PTY_TTY_NAME_SPRINTF): Make failure non-fatal. + + * unexelf.c (unexec) [SOLARIS2]: Undo relocations performed by the + runtime linker. + + * config.in: (LOCALTIME_CACHE): Add #undef. + +1996-01-08 Richard Stallman + + * xdisp.c (display_text_line): Clear out redisplay_end_trigger + before calling the functions. + + * xselect.c (x_handle_selection_notify): Give an indication + in reading_selection_reply of whether the request succeeded. + (x_get_foreign_selection): Do error if foreign selection was cleared. + + * dispnew.c (init_display): Treat null string DISPLAY var like not set. + +1996-01-07 Erik Naggum + + * fns.c (Fplist_get): Rename arg `val' to `plist' as in doc. + +1996-01-07 Richard Stallman + + * lread.c (read1): Use xmalloc and xrealloc, not malloc and realloc. + + * s/sol2-5.h: Add #if 0 around everything but the include of sol2-4.h. + + * process.c (create_process): Restore the signal state + after vfork whether it succeeds or not. + + * m/hp800.h: Conditionalize many macro definitions on __hpux. + (NEED_BSDTTY): Delete duplicate definition. + + * lread.c (dump_path): New static var. + (init_lread): Use that to record dump-time initial path. + Delete the local var dump_path; find Vsource_directory differently. + (syms_of_lread): staticpro it. + + * config.in (LOCALTIME_CACHE): Add #undef. + + * editfns.c (update_buffer_properties): Delete superfluous &'s. + + * emacs.c (main): In batch mode, don't handle SIGHUP if was ignored. + Block it while we decide what to do. + +1996-01-06 Richard Stallman + + * keymap.c (describe_map): New arg nomenu. + (describe_map_tree): Pass that arg. + +1996-01-05 Richard Stallman + + * fileio.c (do_auto_save_unwind): Don't close DESC if DESC < 0. + (Fdo_auto_save): Unconditionally set up unwind-protect. + + * s/linux.h (LIBS_TERMCAP): Definition deleted. + +1996-01-05 Richard Stallman + + * termhooks.h (struct input_event): Put frame_or_window last. + +1996-01-04 Erik Naggum + + * window.c (replace_buffer_in_all_windows): Only re-select old + window if it is still live. + +1996-01-04 Paul Eggert + + Spelling corrections. + * s/vms.h, s/vms5-5.h (SHARABLE_LIB_BUG): Renamed from + SHAREABLE_LIB_BUG. + * xselect.c (syms_of_xselect): Doc fix for x-selection-timeout. + * sysdep.c (WRITABLE): Renamed from WRITEABLE. + * unexelfsni.c (unexec): Message fix. + * sysdep.c (sys_siglist): Message fix. + * eval.c (syms_of_eval): Doc fix for inhibit-quit. + * window.c (Fprevious_window, Fwindow_configuration_p): Doc fix. + * keymap.c (Flookup_key): Doc fix. + +1996-01-04 Geoff Voelker + + * nt.c (getuid): Only return root uid if Administrator. + (geteuid): Return getuid. + +1996-01-03 Ulrich Leodolter + + * ntproc.c (win32_wait): fixed bad synch_process_retcode + and initialized synch_process_death if signaled. + +1996-01-02 Richard Stallman + + * xterm.c (XTread_socket): For selection_clear_event and + selection_request_event, initialize the frame_or_window field. + + * window.c (replace_buffer_in_all_windows): New function. + Like Freplace_buffer_in_windows but really does all frames. + * buffer.c (Fkill_buffer): Use replace_buffer_in_all_windows. + +1995-12-31 Richard Stallman + + * xterm.c (XTread_socket): Pass KeyPress events to the toolkit. + Make the OTHER label exist unconditionally, and make the gotos + unconditional when that is convenient. + +1995-12-31 Eli Zaretskii + + * fileio.c (Ffile_readable_p) [MSDOS]: Use access rather than open. + +1995-12-30 Roland McGrath + + * Makefile.in (${etc}DOC): Remove spurious `cd' command line. + +1995-12-28 Richard Stallman + + * xterm.c (x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo. + + * s/hpux9.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT): + Add options to specify /usr/lib/X11R5 and /usr/include/X11R5. + +1995-12-25 Richard Stallman + + * xfns.c (check_x_display_info, check_x_frame, x_set_font) + (Fx_list_fonts): Fix error messages. + +1995-12-24 Eli Zaretskii + + * dired.c (Ffile_attributes) [MSDOS]: Remove special detection of + MS-DOS executable files by filename extension (library `stat' does + this itself now). + + * msdos.c (XMenuActivate): Make sure the menu title is always + displayed with `msdos-menu-active-face', no matter where the mouse + pointer is. + +1995-12-23 Richard Stallman + + * msdos.c (have_menus_p): Defined. + + * s/msdos.h (HAVE_MENUS): Defined. + + * config.in (HAVE_MENUS): Renamed from HAVE_X_MENU. + + * Makefile.in (XOBJ, LIBXMENU, $(OLDXMENU), really-oldXMenu): + HAVE_X_MENU renamed to HAVE_MENUS. + + * keyboard.c (read_char_x_menu_prompt): + HAVE_X_MENU renamed to HAVE_MENUS. + + * emacs.c (main): Call syms_of_xmenu if and only if HAVE_MENUS. + + * editfns.c (Fmessage_box, Fmessage_or_box): + HAVE_X_MENU renamed to HAVE_MENUS. Doc fixes. + + * xfns.c (have_menus_p): Renamed from using_x_p. + * w32xfns.c (have_menus_p): Renamed from using_x_p. + * fns.c (Fy_or_n_p, Fyes_or_no_p): using_x_p renamed to have_menus_p. + HAVE_X_MENU renamed to HAVE_MENUS. + + * keyboard.c (Fexecute_extended_command): Nice error if empty cmd name. + + * callint.c (Fcall_interactively): Undo previous change. + * keyboard.c (Fcommand_execute): Undo previous change. + + * s/aix3-2.h: Add #pragma alloca. + + * Makefile.in (LIBXT): Use DYNAMIC_OPTION too. + * s/sol2-5.h (STATIC_OPTION): For GCC, use -Xlinker. + (DYNAMIC_OPTION): Define like STATIC_OPTION. + + * s/sunos4shr.h (LIBXMU): Replace previous change. + Bring back the old definition, but conditionalize on ! HAVE_X11R6. + + * config.in (HAVE_X11R6): Add #undef. + * xterm.h (HAVE_X11R6): Definition deleted (previous change undone). + + * xdisp.c (redisplay_window): Clear force_start field + before running the Qwindow_scroll_functions. + In the recenter case, set w->start before running them. + +1995-12-24 Adrian Colley + + * s/aix3-2.h: Add #pragma alloca. + +1995-12-23 Geoff Voelker + + * makefile.nt (LINK_FLAGS): Dump symbol map when linking. + * unexnt.c (get_bss_info_from_map_file): New function. + (get_section_info): When .bss section parameters are not in the + executable, search the symbol map file for them. + +1995-12-23 Richard Stallman + + * syntax.h (SYNTAX_ENTRY): Add cast in call to syntax_parent_lookup. + + * print.c (NULL): #undef deleted. + + * cmds.c (internal_self_insert): Declare arg c1 as unsigned char. + +1995-12-21 Richard Stallman + + * xdisp.c (prepare_menu_bars): If update_mode_lines, + update all frame titles too. + +1995-12-20 Richard Stallman + + * eval.c (skip_debugger): New function. + (find_handler_clause): Call skip_debugger. + (Vdebug_ignored_errors): New variable. + (syms_of_eval): Set up Lisp variable. + + * print.c (Ferror_message_string): New function. + (syms_of_print): defsubr it. Doc fix. + (print_error_message): New subroutine. + + * keyboard.c (cmd_error_internal): Use print_error_message. + +1995-12-19 Karl Heuer + + * callint.c (Fcall_interactively): Don't log prompt strings. + + * xfns.c: Use , not "paths.h". + + * frame.c [!MULTI_FRAME] (syms_of_frame): Make mouse-pixel-position + a synonym for mouse-position, for the benefit of lisp packages + that use it. + +1995-12-19 Eli Zaretskii + + * msdos.c (check_timer): Get rid of the DOS-specific menubar clock + feature; call `display-time-filter' from time.el to display time + on the modeline instead. This makes `display-time' work under DOS. + (abort): Use our own function instead of the one from the library + which reverts the console device to cooked mode. + (syms_of_msdos): `dos-display-time'--a new variable for + communicating with `display-time'. + * dosfns.c (syms_of_dosfns): Delete the `dos-menubar-clock' and + `dos-timer-hooks' variables. + * dosfns.h (Vdos_menubar_clock, Vdos_timer_hooks): + Declarations deleted. + +1995-12-19 Richard Stallman + + * xterm.c (x_connection_signal): Set an alarm around XNoOp call. + + * xfns.c [X11R5_INHIBIT_I18N]: Undef HAVE_X_I18N if X11R5. + * xterm.h (HAVE_X11R6): New macro, defined when appropriate. + * s/aix3-2-5.h (X11R5_INHIBIT_I18N): Defined. + +1995-12-17 Richard Stallman + + * s/sol2-5.h (LIBXT_STATIC, STATIC_OPTION): Defined. + + * Makefile.in (LIBXT): Handle LIBXT_STATIC. + + * fileio.c (syms_of_fileio): Doc fix. + + * callint.c (Fcall_interactively): Handle an arg of form (FCN ARGS...). + + * keyboard.c (Fcommand_execute): Allow function + args list as cmd. + +1995-12-14 Richard Stallman + + * m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't define if using GCC. + +1995-12-13 Karl Heuer + + * xterm.c (x_connection_closed): Don't delete dpyinfo if it's null. + +1995-12-12 Eli Zaretskii + + * msdos.c (run_msdos_command): Support redirection of stderr. + * callproc.c (Fcall_process) [MSDOS]: Support redirection of + stderr. Assign process exit code to `synch_process_retcode' and + error description to `synch_process_death'. Reset + `synch_process_alive' to zero when the sub-process exits. + + * msdos.c (IT_set_terminal_modes): Save screen color attribute + byte at startup, write saved screen dimensions to termscript + file. + (IT_reset_terminal_modes): When restoring startup screen contents, + only restore as much as was saved, and only as much as the screen + dimensions on exit can hold. Blank the rest with the background + color saved at startup. Write restored screen dimensions to + termscript file. + + * msdos.c (XMenuActivate): Display the menu pane title. + (XMenuLocate): Do not ignore pane title length when deciding on + menu location. + +1995-12-12 Andreas Schwab + + * emacs.c (main): Fix args to handle `--display DISPLAY'. + + * data.c (Ftype_of): Return `char-table' and `bool-vector' for + char tables and bool vectors, resp. + (Qchar_table, Qbool_vector): New variables. + (syms_of_data): Initialize and staticpro them. + +1995-12-12 Karl Heuer + + * window.c (Fsplit_window): Account for scroll bar width. + + * minibuf.c (choose_minibuf_frame): Test HAVE_X_WINDOWS. + + * m/alpha.h (PTY_OPEN): Block SIGCHLD during openpty. + + * s/sunos4shr.h (LIBXMU): Use dynamic linking. + +1995-12-12 Paul Eggert + + * process.c (create_process): Use Posix signal handling to + block signals, if available. If HAVE_VFORK, save and restore + signal handlers that the child might change, since in many + systems (e.g. Solaris 2.4) if the child changes the signal + handlers this munges the parent's handler. + * s/sol2-3.h (HAVE_VFORK): Remove #undef, since we now + know how to use Solaris vfork. + (VFORK_RETURN_TYPE): Remove definition. + +1995-12-12 Richard Stallman + + * callint.c (Fcall_interactively): Move have_prefix_arg label to 'p'. + + * process.c (Fopen_network_stream): Call bind_polling_period earlier. + +1995-12-10 Richard Stallman + + * keymap.c (Fkey_binding): Handle text-property keymaps. + + * Makefile.in (dotdot): New variable. + (SOME_MACHINE_LISP): Use relative file names. + (shortlisp): New variable. + (${etc}DOC): Use shortlisp instead of lisp. + + * xdisp.c (redisplay_window): Don't do the scroll_step thing + if startp is outside the accessible part of the buffer. + + * lread.c (init_lread): Add ../lisp (in build dir) to load-path + when dumping. + +1995-12-09 Richard Stallman + + * editfns.c (Fset_time_zone_rule): Move static var environbuf + to top level. + (syms_of_editfns): Initialize environbuf explicitly. + + * window.c (Fsplit_window): Rename size to size_int and chsize to size. + + * cmds.c (Fbackward_char, Fforward_char): Rename arg to ARG. + + * buffer.h (struct buffer): Delete redisplay_end_trigger field. + * buffer.c (reset_buffer, init_buffer_once): Delete code that touches + redisplay_end_trigger field in buffer. + +1995-12-07 Richard Stallman + + * editfns.c (Vbuffer_access_fontified_property): New variable. + (syms_of_editfns): Set up Lisp var. + (make_buffer_string): Don't call the Vbuffer_access_fontify_functions + if the text is already fontified. + (Fbuffer_string): Pas 1 for PROPS arg. + (update_buffer_properties): New subroutine. + (Finsert_buffer_substring): Use update_buffer_properties. + +1995-12-06 Richard Stallman + + * textprop.c (add_properties, remove_properties, set_properties): + Call signal_after_change. + + * s/hpux9.h (LIBXMU, NO_EDITRES): Define only if not HAVE_LIBXMU. + +1995-12-05 Richard Stallman + + * config.in (HAVE_LIBXMU): Add #undef. + + * s/hpux9shr.h (C_DEBUG_SWITCH): Definition turned off. + + * m/iris4d.h (C_SWITCH_MACHINE): Define only if THIS_IS_MAKEFILE. + +1995-12-04 Richard Stallman + + * editfns.c (make_buffer_string): New arg PROPS. + (Fbuffer_string, Fbuffer_substring): Pass new arg. + (Fbuffer_substring_no_properties): New function. + (syms_of_editfns): defsubr it. + (Vbuffer_access_fontify_functions): New variable. + (Qbuffer_access_fontify_functions): New variable. + (syms_of_editfns): Set up Lisp variable, initialize them. + (make_buffer_string): Run this new hook. + + * minibuf.c (read_minibuf): Pass PROPS arg to make_buffer_string. + Let make_buffer_string handle the gap. + +1995-12-03 Richard Stallman + + * config.h (EMACS_INT, EMACS_UINT): Definitions deleted + because lisp.h also defines them. + + * Makefile.in (keymap.o): Depend on puresize.h. + + * keymap.c: Include puresize.h. + (store_in_keymap): Check PURE_P (def) and copy if nec. + + * puresize.h (PURE_P): New macro (three definitions). + (CHECK_IMPURE): Use PURE_P. + + * buffer.c (Fkill_buffer): Rename arg bufname to buffer. + Don't gcpro it after the last use. + (Fswitch_to_buffer, Fpop_to_buffer): Rename arg bufname to buffer. + (Fset_buffer): Likewise, and rename local buffer to buf. + +1995-12-01 Richard Stallman + + * Makefile.in (THIS_IS_MAKEFILE): New definition. + * s/irix6-0.h (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE. + + * macros.c (Fstore_kbd_macro_event): New function. + (syms_of_macros): defsubr it. + +1995-11-29 Richard Stallman + + * xdisp.c (message_dolog): Save and restore windows_or_buffers_changed. + +1995-11-28 Paul Eggert + + * Makefile.in (lisp): Remove c-mode.elc. + +1995-11-27 Richard Stallman + + * msdos.c (sys_select): Check timer once even if input is pending. + +1995-11-26 Richard Stallman + + * xfns.c (x_set_menu_bar_lines) [USE_X_TOOLKIT]: + Don't crash for non-X frame. + + * callint.c (Fcall_interactively): In `c' case, clear out the message + after reading the character. + + * xdisp.c (decode_mode_spec): For p and P, avoid overflow with + large buffer sizes. + + * xmenu.c (set_frame_menubar): When called with deep_p == 0, + that invalidates the previous f->menu_bar_vector. + +1995-11-24 Richard Stallman + + * Version 19.30 released. + + * msdos.c (IT_set_menu_bar_lines): Clear last_modified field. + +1995-11-23 Andreas Schwab + + * keyboard.c (read_char): Handle unread events from popup menus. + +1995-11-22 Geoff Voelker + + * makefile.nt (DOC, clean): Don't use switches to del not supported + by Windows 95. + +1995-11-22 Richard Stallman + + * xterm.c (XTmouse_position): Exit the loop if child == win. + (x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY. + (XTframe_up_to_date): Block and unblock input. + +1995-11-22 Eli Zaretskii + + * msdos.c (internal_terminal_init): Initialize the_only_x_display.font. + + * xfaces.c (Fset_face_attribute_internal) [MSDOS]: + Set font field to 1. + +1995-11-22 Richard Stallman + + * msdos.c (dos_set_keyboard): If CODE is not recognized, + initialize to the US keyboard table. + +1995-11-21 Richard Stallman + + * s/linux.h (LIB_MOTIF): New definition. + + * editfns.c (Fcurrent_time): Doc fix. + + * s/hpux10.h (FORCE_ALLOCA_H): Defined (for getdate.y). + (HPUX10): Defined. + + * window.c (Fdisplay_buffer): Always deiconify the window's frame. + (display_buffer_1): New subroutine. + + * m/alpha.h [LINUX] (LINUX_SBRK_BUG): Defined. + * emacs.c (main): Add LINUX_SBRK_BUG conditional call to __sbrk. + + * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increased. + + * dosfns.c (syms_of_dosfns): Use 0x75 for dos_keypad_mode. + +1995-11-20 Richard Stallman + + * alloc.c (Flist): Avoid using -- in while condition. + + * xfaces.c (unload_color, unload_font): Never invalidate computed + faces 0 and 1. + + * minibuf.c (choose_minibuf_frame): On MSDOS, just use minibuf_window. + +1995-11-19 Richard Stallman + + * xterm.c (show_mouse_face): + When clearing cursor, use proper column range. + + * lread.c (Vsource_directory): New variable. + (init_lread): Initialize it. + (syms_of_lread): Set up Lisp var. + +1995-11-18 Fred Fish + + * s/linux.h: #undef SIGPOLL and SIGURG as well as SIGIO. + +1995-11-18 Richard Stallman + + * data.c (Fmake_local_variable): Call find_symbol_value + before making a new local binding. + +1995-11-15 Roland McGrath + + * mem-limits.h [_LIBC] (start_of_data): Use weak ref to + __data_start; use &etext if not present. + +1995-11-15 Richard Stallman + + * xterm.c (XTread_socket): Verify a ButtonPress was actually in the + menu bar before generating a menu_bar_activate_event event. + + * s/hpux10.h: New file. + + * textprop.c (Fset_text_properties): Call set_properties + even if we also merge an interval. + + * xselect.c (x_clear_frame_selections): Get selection_symbol properly. + (syms_of_xselect): Doc fix. + + * doprnt.c (doprnt1): Add a cast. + + * alloc.c (mark_object): Don't overwrite original argument value. + + * .gdbinit (xsymbol): Cast name explicitly to (char *). + +1995-11-14 Geoff Voelker + + * w32term.h: New file. + +1995-11-14 Richard Stallman + + * keyboard.c (Fexecute_extended_command): + Call Fwhere_is_internal just once to handle all the maps. + + * xdisp.c (Qredisplay_end_trigger_functions): Renamed from ..._hook. + (syms_of_xdisp): Set up new name. + (display_text_line): Call them with arguments. + + * window.c (Fset_window_redisplay_end_trigger): Doc fix. + + * fileio.c (check_executable) [DOS_NT]: Treat all dirs as executable. + +1995-11-13 Richard Stallman + + * frame.h (FRAME_WINDOW_P): Always define it one way or another. + + * m/alpha.h: Declare calloc like malloc. + +1995-11-12 Richard Stallman + + * xselect.c (x_clear_frame_selections): Undo previous change. + + * fileio.c (Fcopy_file): Don't chmod output file on MSDOS + unless we have DJGPP version 2. + + * s/usg5-4.h (LIBS_STANDARD): Definition deleted. + + * s/isc2-2.h (LIBS_SYSTEM): Fix typo in prev change. + + * dispnew.c: Always include dispextern.h before cm.h. + +1995-11-11 Richard Stallman + + * xdisp.c (display_text_line): Handle redisplay_end_trigger + before getting the face of the next character. Reset next_face_change. + + * frame.c (syms_of_frame_1): Set up Vdefault_frame_alist here. + (syms_of_frame): Not here. + (Vdefault_frame_alist): Definition now unconditional. + + * msdos.c (dos_menubar_clock_displayed): New variable. + (check_timer): Erase the clock if it has been turned off. + + * doc.c (Fdocumentation): Reject a file reference + at the end of a lambda body. + + * xdisp.c (display_menu_bar): Fix backwards conditional. + (update_menu_bar, redisplay_window): Don't use FRAME_EXTERNAL_MENU_BAR + in #ifdef, since it is always defined. + +1995-11-10 Simon Leinen + + * s/hpux9.h (NO_EDITRES): Defined. + (LIBXMU): Define once again. + + * xfns.c (HACK_EDITRES): Don't define if NO_EDITRES is defined. + + * xterm.c (HACK_EDITRES): Define here as in xfns.c. + (XTread_socket): Test HACK_EDITRES. + +1995-11-10 Richard Stallman + + * s/isc2-2.h (LIB_STANDARD_1): New macro. + (LIB_STANDARD): Use LIB_STANDARD_1. + (LIBS_SYSTEM): Use it here too. + + * print.c (debug_print): Explicitly print a CR. + + * keyboard.c (interrupt_signal): Do special things in GC. + +1995-11-10 Andreas Schwab + + * frame.c (set_menu_bar_lines): Record the fact that the window + configuration changes. + (set_menu_bar_lines_1): Mark the window as modified. + +1995-11-09 Richard Stallman + + * floatfns.c (Fexpt): Doc fix. + + * window.h (struct window): New field redisplay_end_trigger. + + * window.c (Fwindow_redisplay_end_trigger): New function. + (Fset_window_redisplay_end_trigger): Likewise. + (syms_of_window): defsubr them. + + * xdisp.c (display_text_line): Get redisplay_end_trigger from window. + +1995-11-09 Richard Stallman + + * buffer.c (syms_of_buffer): Delete the buffer-redisplay-end-trigger + local variable. + +1995-11-09 Simon Leinen + + * xmenu.c: Don't include Xaw/Paned.h unless USE_LUCID is defined. + (set_frame_menubar): Conditionalized some code on USE_LUCID that + depends on the fact that the parent widget of the menu bar is an Xaw + "Paned" widget. + +1995-11-09 Erik Naggum + + * eval.c (run-hook-with-args, run-hook-list-with-args): Safeguard + against a t in the global value of hook variables. + +1995-11-08 Richard Stallman + + * s/msdos.h (SYMS_SYSTEM): Add syms_of_msdos. + + * Makefile.in (lisp): Add loadup.el. + + * indent.c (compute_motion): Update next_boundary + when we skip to next newline. + +1995-11-07 Richard Stallman + + * lread.c (oblookup): Clear ARRAY_MARK_FLAG in obsize. + + * callint.c (syms_of_callint): Set up Qlet, Qletx, Qsave_excursion. + (Fcall_interactively): Look past those special forms + when checking for a call to `list'. + +1995-11-07 Geoff Voelker + + * config.in [HAVE_X_WINDOWS] (HAVE_WINDOW_SYSTEM): New macro. + * s/windowsnt.h [HAVE_NTGUI] (HAVE_WINDOW_SYSTEM): New macro. + * dispextern.h dispnew.c, emacs.c, frame.c, keyboard.c, process.c, + scroll.c, sysdep.c, window.c, xdisp.c: Use HAVE_WINDOW_SYSTEM + instead of testing for specific window systems. + + * frame.h [HAVE_X_WINDOWS] (FRAME_WINDOW_P): Macro defined. + [HAVE_NTGUI] (FRAME_WINDOW_P): Macro defined. + * dispnew.c, frame.c, scroll.c, xdisp.c: Use FRAME_WINDOW_P + instead of testing for specific window system frames. + + * xdisp.c (update_menu_bar, redisplay_window): Test for definition + of FRAME_EXTERNAL_MENU_BAR before using it. + +1995-11-06 Kevin Gallo + + * xterm.h (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): New macros. + * dispnew.c (update_frame): Use FRAME_INTERNAL_BORDER_WIDTH. + (update_line): Use FRAME_LINE_HEIGHT and FRAME_FONT. + + * xdisp.c [HAVE_NTGUI] (set_menu_framebar): Declare external. + [HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables + for Win32 window system. + [HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include + procedures for Win32 window system. + [HAVE_NTGUI] (x_consider_frame_title): Test for Win32 frame. + [HAVE_NTGUI] (display_text_line): Test for Win32 frame on face change. + [HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system. + + * window.c [HAVE_NTGUI] (Fset_window_configuration): Set menu + bar lines. + + * term.c [HAVE_NTGUI] (FRAME_TERMCAP_P): Don't redefine. + + * sysdep.c [HAVE_NTGUI] (init_sys_modes, reset_sys_modes): + Don't initialize terminal mode when using window system. + [HAVE_NTGUI] (BUFFER_SIZE_FACTOR): Increase for use with window system. + + * scroll.c [HAVE_NTGUI] (do_scrolling, do_direct_scrolling): + Update frame geometry. + + * process.c [HAVE_NTGUI] (POLL_FOR_INPUT): Define macro. + + * keyboard.c [HAVE_NTGUI]: Include w32term.h. + [HAVE_NTGUI] (KBD_BUFFER_SIZE): Increase for NT window system. + [HAVE_NTGUI] (POLL_FOR_INPUT): Define. + [HAVE_NTGUI] (kbd_buffer_get_event): Enable windowing and menu events. + [HAVE_NTGUI] (lispy_function_keys): Define array for NT. + [HAVE_NTGUI] (make_lispy_event): Enable menu bar events. + [HAVE_NTGUI] (modify_event_symbol): Map symbol to keysym. + [HAVE_NTGUI] (read_char_x_menu_prompt): Display menus. + + (FUNCTION_KEY_OFFSET): New macro. + (make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes + before applying modifiers. + + * frame.c [HAVE_NTGUI]: Test for a Win32 frame in procedures + that test for an X frame. + + * frame.h (output_method): New method: output_win32. + (output_data): New data: win32. + (FRAME_WIN32_P): New macro. + [HAVE_NTGUI] (external_menu_bar): Define variable. + [HAVE_NTGUI] (FRAME_EXTERNAL_MENU_BAR): Defined macro. + + * fns.c [HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup. + + * emacs.c [HAVE_NTGUI]: Declare Vwindow_system. + [HAVE_NTGUI] (main): Enable inhibit_window_system. + Initialize environment from registry. + Declare syms of Win32 windowing modules. + + * dispnew.c [HAVE_NTGUI]: Include w32term.h. + Include dispextern.h before cm.h since dispextern.h includes windows.h. + [HAVE_NTGUI] (make_frame_glyphs, free_frame_glyphs, scroll_frame_lines, + update_frame, update_line): Test for WIN32 frame. + [HAVE_NTGUI] (init_display): Initialize WIN32 window system. + + * dispextern.h [HAVE_NTGUI]: Include win32.h. + [HAVE_NTGUI] (struct frame_glyphs): Include pixel fields. + + * w32term.c, w32xfns.c, w32fns.c, w32faces.c, w32select.c, + w32menu.c, w32reg.c, win32.h: New files. + + * s/windowsnt.h [HAVE_NTGUI] (abort): New macro. + [HAVE_NTGUI] (HAVE_FACES): Defined. + + * unexnt.c [HAVE_NTGUI] (WinMain): New procedure. + [HAVE_NTGUI] (hinst, hprevinst, lpCmdLine, nCmdShow): New variables. + [HAVE_NTGUI] (_start): Invoke WinMainCRTStartup. + + * ntterm.c (nt_ring_bell): Renamed from ring_bell, now global. + (initialize_win_nt_display): Use nt_ring_bell. + [HAVE_NTGUI] (pixel_to_glyph_coords, glyph_to_pixel_coords): + Don't define. + + * ntproc.c [HAVE_NTGUI] (create_child): Pass handles to children. + [HAVE_NTGUI1] (sys_select): Support alternate keyboard handling. + + * nt.h (nt_get_resource): Prototype defined. + + * nt.c (nt_get_resource, init_environment): Defined. + (prepare_standard_handles, restore_standard_handles) [HAVE_NTGUI]: + Don't duplicate or restore standard handles. + + * makefile.nt (SUBSYSTEM, TLIBW32, TLASTLIB, WIN32OBJ): Defined. + (w32term.obj, w32xfns.obj, w32fns.obj w32faces.obj, w32select.obj, + w32menu.obj, w32reg.obj): Defined. + (LINK_FLAGS): Use SUBSYSTEM. + (OBJ1): Remove lastfile.obj. + (LIBS, TEMACS): Use TLASTLIB. + (LIBS) [NTGUI]: Use TLIBW32 and GUI libs. + (EMACS): Remove Windows 95 conditional. + (clean): Remove paths.h. + +1995-11-06 Richard Stallman + + * xdisp.c (display_string): Detect truncation more carefully. + + * dispnew.c (update_line): Avoid indexing into obody by -1. + + * s/hpux9.h (LIBXMU): Never define this. + +1995-11-06 Erik Naggum + + * print.c (debug_print): Print newline to stderr, too. + +1995-11-05 Richard Stallman + + * xfaces.c (unload_font): Invalidate computed faces. + (unload_color): Likewise. + (new_computed_face): Reuse invalidated computed faces. + +1995-11-04 Richard Stallman + + * indent.c (Fmove_to_column): Doc fix. + + * buffer.c (Fmake_overlay): New args front-advance + and rear-advance. + + * fileio.c (Fwrite_region): Move the code that writes annotations + for empty files. + +1995-11-03 Karl Heuer + + * msdos.h (struct x_output): Rename from struct x_display. + * msdos.c (the_only_x_display): Type is now struct x_output. + (internal_terminal_init): frame member is now named output_data. + (init_environment): Fix timezone rules. + * emacs.c (main): [MSDOS] Call init_gettimeofday. + * frame.c [!MULTI_FRAME] (Fmodify_frame_parameters): Add missing + declaration and initialization. + [MULTI_FRAME] (choose_minibuf_frame): Moved to minibuf.c; now + unconditional. + * minibuf.c (choose_minibuf_frame): Moved here from frame.c. + +1995-11-01 Richard Stallman + + * Makefile.in (USE_@X_TOOLKIT_TYPE@): Define here, if appropriate. + (THIS_IS_YMAKEFILE): Definition deleted. + +1995-10-31 Richard Stallman + + * doprnt.c: Include lisp.h. + (doprnt1): Renamed from doprnt. New arg LISPSTRINGS. + This is now a static subroutine. + (doprnt): New definition calls doprnt1. + (doprnt_lisp): New function. + + * editfns.c (Fformat): Use doprnt_lisp. + + * s/dgux.h: Test NOT_C_CODE instead of THIS_IS_YMAKEFILE. + Get fatal error if not using GCC. + + * xdisp.c (redisplay_window): On non-X frame, always use + FRAME_MENU_BAR_LINES as criterion for whether to display menu bar. + (update_menu_bar): Likewise. + (display_menu_bar): Do the work here for non-X frames + regardless of USE_X_TOOLKIT. + + * m/alpha.h: Don't test THIS_IS_YMAKEFILE. + + * s/usg5-4.h: Always include sys/wait.h unless NOT_C_CODE; + don't test #ifdef emacs for that. + +1995-10-31 Karl Heuer + + * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/altos.h: + * m/amdahl.h, m/apollo.h, m/att3b.h, m/aviion.h, m/celerity.h: + * m/clipper.h, m/cnvrgnt.h, m/cydra5.h, m/delta.h, m/delta88k.h: + * m/dpx2.h, m/dual.h, m/elxsi.h, m/gec63.h, m/gould.h, m/hp9000s300.h: + * m/i860.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h: + * m/irist.h, m/isi-ov.h, m/masscomp.h, m/mega68.h, m/mg1.h, m/news.h: + * m/next.h, m/nh3000.h, m/nh4000.h, m/ns16000.h, m/ns32000.h, m/nu.h: + * m/orion.h, m/orion105.h, m/pfa50.h, m/plexus.h, m/pyramid.h: + * m/sequent.h, m/sparc.h, m/sps7.h, m/stride.h, m/sun1.h, m/sun2.h: + * m/tad68k.h, m/tahoe.h, m/targon31.h, m/tek4300.h, m/tekxd88.h: + * m/template.h, m/tower32.h, m/tower32v3.h, m/ustation.h, m/vax.h: + * m/wicat.h, m/windowsnt.h, m/xps100.h: + (SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h. + +1995-10-30 Karl Heuer + + * alloc.c, data.c, doprnt.c, floatfns.c, fns.c, indent.c + * insdel.c, lisp.h, lread.c, print.c, xdisp.c, xfaces.c, xterm.c + (BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG): Rename from + SHORTBITS, INTBITS, LONGBITS. + * m/alpha.h, m/convex.h, m/hp800.h, m/intel386.h, m/iris4d.h + * m/iris5d.h, m/mips-siemens.h, m/mips.h: + (SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h + Used new names for those macros in all references. + +1995-10-30 Richard Stallman + + * config.in (BITS_PER_CHAR, BITS_PER_INT, BITS_PER_SHORT) + (BITS_PER_LONG): Define if not already defined. + + * print.c (debug_print): Print a newline here. + + * .gdbinit (pr): Don't print newline here. + + * syntax.c (check_syntax_table): Check the purpose slot. + Use Qsyntax_table_p for the error message. + + * lisp.h (CHECK_CHAR_TABLE): Don't accept nil. + + * Makefile.in (prefix-args): Use LDFLAGS, not ALL_LDFLAGS. + + * unexalpha.c (fatal_unexec): Don't use varargs. + + * editfns.c (Fencode_time): Add cast. + (Fset_time_zone_rule): Add cast. + + * xterm.h: Move the include of Xlocale.h after setting HAVE_X11R5. + + * keyboard.c (command_loop_1): Test pre- and post-command hooks + for non-nil-ness by looking at the V... variable. + +1995-10-29 Andreas Schwab + + * m/m68k.h [linux]: Define NO_REMAP and TEXT_START, + and also DATA_SEG_BITS if compiling for ELF. + (HAVE_ALLOCA, alloca): Define if compiling with GCC. + + * keymap.c (describe_translation): Insert newline after key + description. + + * fns.c (Fsafe_length): Add missing parentheses around & + within comparison. + + * minibuf.c (temp_echo_area_glyphs): Only delete the temporary + message. + +1995-10-29 Richard Stallman + + * syssignal.h [POSIX_SIGNALS] (signal): Undef before defining. + + * unexelfsgi.c (find_section): New arg old_section_h. + Rename file_h to old_file_h and fix type. + Calls changed. + + * syntax.c (Fmodify_syntax_entry): Don't fail to init MATCH. + + * lisp.h (PVEC_TYPE_MASK): Remove the 0x100 bit. + + * keyboard.c (command_loop_1): No direct display if Column Number mode. + (Vcolumn_number_mode): New variable. + (syms_of_keyboard): Set up Lisp variable. + + * marker.c (Fset_marker_insertion_type): Doc fix. + + * alloc.c (Fmake_char_table): Doc fix. + + * casetab.c (Fset_case_table): Doc fix. + + * alloc.c: Cast first arg to bzero. + +1995-10-28 Richard Stallman + + * xterm.h (FRAME_XIC): Fix wrong field name. + + * alloc.c (Fmemory_use_counts): Cast 1 to EMACS_INT before shift. + + * eval.c (run_hook_with_args): Add forward declaration. + +1995-10-27 Richard Stallman + + * Makefile.in (TAGS): Separate export DIR=`pwd` into two commands. + + * syntax.h (SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): + Fix the non-GCC definitions. + + * callint.c (Fcall_interactively): New arg KEYS. + + * keyboard.c (Fcommand_execute): New arg KEYS. Callers changed. + (read_char): Specify KEYS when handling Vspecial_event_map. + +1995-10-26 Richard Stallman + + * msdos.c (IT_ring_bell): Use intdos, not write. + +1995-10-25 Karl Heuer + + * data.c [!HAVE_FMOD] (fmod): Make consistent with ANSI definition. + Don't use drem; it's not the same function. + +1995-10-24 Richard Stallman + + * s/linux.h (REGEXP_IN_LIBC): Definition turned off. + + * minibuf.c (syms_of_minibuf): Doc fix. + +1995-10-23 Erik Naggum + + * fns.c (map_char_table): Map over only CHAR_TABLE_ORDINARY_SLOTS + slots, not vector size. + + * casetab.c (Fcase_table_p, Fcurrent_case_table): Delete unused + local variables. + (set_case_table): Delete obsolete local variable `down', use + `table' where referenced. Fix assignment to `canon' when nil. + Store eqv in extras[2], not extras[0]. + (init_casetab_once): Case-tables have 3 extra slots, not 4. + +1995-10-22 Richard Stallman + + * msdos.c (recent_doskeys_index, total_doskeys, recent_doskeys): + New variables. + (Frecent_doskeys): New function. + (syms_of_msdos): New function. + + * search.c (string_match_1): Pass the POSIX arg to compile_pattern. + + * keyboard.c (ok_to_echo_at_next_pause): Make it a char *. + (read_char): Copy and compare with echo_area_glyphs. + + * buffer.c (reset_buffer_local_variables): Call + Fset_standard_case_table if std case table seems to have been changed. + +1995-10-21 Richard Stallman + + * buffer.c (reset_buffer): Initialize redisplay_end_trigger slot. + Initialize extra1, extra2 and extra3 slots. + + * textprop.c (Fnext_single_property_change): Rearrange handling of + limit = t; don't return t. + + * xdisp.c (try_window_id): Stop the compute_motion at ZV, not Z, + when checking if all changes are below the window. + + * keyboard.c (read_char): If we reread a char, the next pause + can start echoing despite a remaining echo area message. + (ok_to_echo_at_next_pause): New variable. + (cancel_echoing): Clear ok_to_echo_at_next_pause. + +1995-10-20 Richard Stallman + + * xdisp.c (Qredisplay_end_trigger_hook): New variable. + (syms_of_xdisp): Set up Lisp variable. + (display_text_line): Run the hook when appropriate. + + * buffer.c (init_buffer_once): Mark redisplay_end_trigger always local. + Also fix previous change. + (syms_of_buffer): Set up Lisp var buffer-redisplay-end-trigger. + + * buffer.h (struct buffer): New slot redisplay_end_trigger. + Also extra1, extra2, extra3. + +1995-10-19 Erik Naggum + + * fns.c (Fmap_char_table): Call map_char_table with correct args. + +1995-10-18 Richard Stallman + + * config.in (RE_TRANSLATE_TYPE): New definition. + + * casetab.c: Case tables are now char-tables, + and the case table is stored in the downcase_table slot only. + (Fcurrent_case_table, Fstandard_case_table, set_case_table) + (compute_trt_inverse, init_casetab_once): Use new data format. + + * buffer.c (reset_buffer_local_variables): + Get the up, eqv and canon tables from within the down case table. + + * editfns.c (Fchar_equal): Handle char-table as case table. + + * fns.c (Fchar_table_subtype): New function. + (syms_of_fns): defsube it. + + * fns.c (map_char_table): When possible, use a number + to describe the range. + + * doc.c (Fsubstitute_command_keys): Pass new arg to describe_map_tree. + + * keymap.c (describe_map_tree): New arg always_title. Callers changed. + + * search.c (compile_pattern_1, compile_pattern, search_buffer): + Case tables are char-tables now. + +1995-10-16 Richard Stallman + + * lisp.h (UPCASE_TABLE): Definition deleted. + (UPPERCASEP, LOWERCASEP, NOCASEP, UPCASE, UPCASE1, DOWNCASE) + (DOWNCASE_TABLE): Case tables are now char-tables. + (Vascii_upcase_table, Vascii_canon_table, Vascii_eqv_table): + Declarations deleted. + + * keyboard.c (read_char): Let Vkeyboard_translate_table be char-table. + (syms_of_keyboard): Doc fix. + +1995-10-15 Richard Stallman + + * lread.c (read1): Handle #' as prefix. + (Qfunction): New variable. + (syms_of_lread): Set up Qfunction. + + * fns.c (Fchar_table_range): New function. + (syms_of_fns): defsubr it. + +1995-10-14 Richard Stallman + + * unexelfsgi.c (find_section): New function. + (unexec): Use it. Also simplify previous changes. + +1995-10-13 Richard Stallman + + * unexelfsgi.c (unexec): Find the old data section. + New variable new_offsets_shift used instead of new_data2_size + since they are not always the same. Simplify logic for copying + the headers and inserting new ones. + + * xterm.c (x_term_init, XTread_socket): Add HAVE_X_I18N support. + + * xfns.c (x_window, both versions): Add HAVE_X_I18N support. + +1995-10-12 Richard Stallman + + * xterm.h (HAVE_X_I18N): New macro. + Maybe include Xlocale.h. + (struct x_output): New field xic. + (FRAME_XIC): New macro. + + * window.c (Fdelete_other_windows): Set w->force_start. + + * xdisp.c (syms_of_xdisp): Doc fix. + +1995-10-11 Richard Stallman + + * fileio.c (Finsert_file_contents): If replacing, + set selected_window->start_at_line_beg. + +1995-10-11 Kim Storm + + * keyboard.c (make_lispy_event) [!USE_X_TOOLKIT]: Dragging + the mouse into the menu-bar and releasing it there did + not create a drag-mouse event. + (set-input-mode) [MSDOS]: Do not call reset_sys_modes and + init_sys_modes. + + * dosfns.c (insert-startup-screen): New function. + (msdos-memget, msdos-memput): New functions. + (msdos-set-keyboard, insert-startup-screen): New functions. + (dos-timezone-offset, dos-display-scancodes, dos-menubar-clock, + dos-hyper-key, dos-super-key, dos-keypad-mode, dos-keyboard-layout, + dos-decimal-point): New variables. + + * dosfns.h (dos_timezone_offset, dos_display_scancodes, + dos_menubar_clock, dos_hyper_key, dos_super_key, dos_keypad_mode, + dos_keyboard_layout, dos_decimal_point): New variables. + + * msdos.c: [!HAVE_X_WINDOWS]: + Reworked display code to perform immediate screen output. + Added menu-bar clock. + Reworked keyboard code to support international keyboards. + Improved keypad handling (see dos-keypad-mode). + Properly distinguish between C-end and C-kp-1 etc. + Corrected M-return & M-kp-enter. + Added support for hyper and super keys. + Reworked mouse code to avoid mouse flicker. + Saves and restores DOS-screen prior to emacs startup. + (sys_select): Would abort if rfds = NULL. + (dos_direct_output): New function. + (dos_dump_scancodes): New variable. + + * msdos.h (internal_flush): Removed + (mouse_init1, mouse_check_moved, mouse_pressed, mouse_released): Removed. + (dos_get_saved_screen, dos_set_keyboard): New functions. + + * s/msdos.h: Check that DJGPP v. 1 is used. + Define __DJGPP__ to 1. + Simplified INTERNAL_TERMINAL termcap definition. + Removed #define fflush internal_flush. + + * sysdep.c: (init_sys_modes) [!HAVE_X_WINDOWS (MSDOS)]: + Always call set_terminal_modes. + (reset_sys_modes) [MSDOS]: Do not look at EMACSCOLORS. + + +1995-10-11 Richard Stallman + + * buffer.c (Fkill_buffer): Don't kill auto save file if not recent. + + * keymap.c (describe_vector): Support nested char-tables. + +1995-10-10 Richard Stallman + + * Give char-tables a new slot `purpose'. + + * lisp.h (struct Lisp_Char_Table): New slot `purpose'. + (CHAR_TABLE_STANDARD_SLOTS): Add one. + + * alloc.c (Qchar_table_extra_slots): New variable. + (syms_of_alloc): Initialize it. + (Fmake_char_table): Take new arg PURPOSE and get N from a property. + + * fns.c (Fcopy_sequence): Call Fmake_char_table the new way. + (map_char_table): No longer static. New arg C_FUNCTION. + (Fmap_char_table): Call to map_char_table changed. + (Fset_char_table_parent): Allow nil s new parent. + Fix the code that checks for a loop in parents. + + * syntax.c (Qsyntax_table): New variable. + (init_syntax_once): Call Fmake_char_table the new way. + Set up Qsyntax_table. + (Fsyntax_table_p): Check the `purpose' field. + + * disptab.h (DISP_TABLE_P): Check the `purpose' slot. + (Qdisplay_table): Declared. + * dispnew.c (Qdisplay_table): New variable. + (syms_of_display): Initialize it. + +1995-10-09 Richard Stallman + + * data.c (Qvector_or_char_table_p): New variable. + (Fvector_or_char_table_p): New function. + (syms_of_data): Set up Lisp var and function. + + * lisp.h (CHECK_VECTOR_OR_CHAR_TABLE): New macro. + +1995-10-09 Erik Naggum + + * buffer.c (buffer-display-table): Document new implementation. + +1995-10-09 Richard Stallman + + * minibuf.c (temp_echo_area_glyphs): Restore the old point value. + +1995-10-08 Richard Stallman + + * process.c (exec_sentinel, read_process_output): + Call record_asynch_buffer_change only if caller is reading kbd input. + + * buffer.c (init_buffer_once): Make file_format always local, + not just local when set. + +1995-10-07 Erik Naggum + + * alloc.c (Fmake_char_table): Initialize parent to nil. + +1995-10-07 Richard Stallman + + * keyboard.c (command_loop_1): Access display tables as char-tables. + + * indent.c (buffer_display_table): Use DISP_TABLE_P. Return type + struct Lisp_Char_Table * since display tables are now char-tables. + (character_width, disptab_matches_widthtab, recompute_width_table) + (current_column, Fmove_to_column, compute_motion): + Corresponding changes. + + * window.c (window_display_table): Use DISP_TABLE_P. Return type + struct Lisp_Char_Table * since display tables are now char-tables. + * xdisp.c (redisplay_window, redisplay_window, display_text_line): + Fix up calls to window_display_table. Access display tables + as char-tables. + + * disptab.h (DISP_TABLE_EXTRA_SLOTS, DISP_TABLE_P): New macros. + (DISP_TRUNC_GLYPH, DISP_CONTINUE_GLYPH, DISP_ESCAPE_GLYPH) + (DISP_CTRL_GLYPH, DISP_INVIS_VECTOR, DISP_BORDER_GLYPH): + Use the `extras' field. + (window_display_table, buffer_display_table): Change return type. + + * keymap.c (describe_vector): Use Flength to get length of vector. + + * Makefile.in (bytecode.o): Depend on syntax.h. + +1995-10-06 Richard Stallman + + * syntax.c (describe_syntax): Handle new syntax-table data format. + (Fmodify_syntax_entry, init_syntax_once): Use SET_RAW_SYNTAX_ENTRY. + Handle new syntax-table data format. + (check_syntax_table): Use CHECK_CHAR_TABLE. Now static. + Don't return anything; callers changed. + (Fcopy_syntax_table): Use Fcopy_sequence. + (Fchar_syntax, Fmatching_paren, Fforward_comment): Copy complex args + to SYNTAX into variables before using them. + (Fsyntax_table_p): Accept any char-table. + (syntax_parent_lookup): New function. + (syntax_temp): New variable. + + * syntax.h: Use char tables as syntax tables. + (RAW_SYNTAX, RAW_SYNTAX_MATCH): Macros deleted. + (RAW_SYNTAX_ENTRY, SET_RAW_SYNTAX_ENTRY): New macros. + (SYNTAX, SYNTAX_MATCH): Rewritten. + (SYNTAX_ENTRY, SYNTAX_WITH_FLAGS): New macros. + (SYNTAX_COMSTART_SECOND, SYNTAX_COMEND_FIRST, SYNTAX_COMEND_SECOND) + (SYNTAX_PREFIX, SYNTAX_COMMENT_STYLE): Use SYNTAX_WITH_FLAGS. + + * callint.c (callint_message, callint_message_size): New vars. + (syms_of_callint): Set up new vars. + (Fcall_interactively): Keep the prompt in the heap. + +1995-10-05 Richard Stallman + + * window.c (Fset_window_hscroll): Don't reject args > SHORTBITS. + + * indent.c (Fmove_to_column): Make it interactive. + +1995-10-04 Richard Stallman + + * lisp.h (struct Lisp_Char_Table): New structure. + (CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_ORDINARY_SLOTS): New macros. + (CHAR_TABLE_EXTRA_SLOTS): New macro. + + * buffer.c (Fmake_indirect_buffer): Was taking marker positions + from current buffer, which is irrelevant. + (init_buffer_once): Make buffer-file-format always local. + +1995-10-03 Richard Stallman + + * unexec.c (write_segment): Write valid data in units of 1<<13, + but write zeros only a page at a time. + + * window.c (window_scroll): Always set force_start. + +1995-10-02 Richard Stallman + + * eval.c (run_hook_with_args_2): New function. + + * unexec.c (write_segment): Use pagesize as unit of writing + instead of 128. + + * lisp.h (CHECK_CHAR_TABLE): New macro. + + * frame.c (Qmouse_leave_buffer_hook): New variable. + (syms_of_frame_1): Initialize it. + (Fhandle_switch_frame): Run the hooks. + + * keyboard.c (Vsuggest_key_bindings): New variable. + (syms_of_keyboard): Set up Lisp variable. + (Fexecute_extended_command): When enabled, show an equivalent + key binding. + +1995-10-01 Richard Stallman + + * xterm.c (x_connection_signal_1): New function. + (x_connection_signal): Try all the server connections + to see which one was lost. + +1995-09-29 Richard Stallman + + * xdisp.c (Qwindow_scroll_functions, Vwindow_scroll_functions): + New variables. + (syms_of_xdisp): Initialize them. + (redisplay_window): Call the functions when appropriate. + + * xterm.c (XTcondemn_scroll_bars): No error if + FRAME_CONDEMNED_SCROLL_BARS is non-nil already. + Just move all the scroll bars into there. + + * dispnew.c (get_display_line): Don't abort if there's text + in the line to the right beyond HPOS. + (quit_error_check): Make this a no-op. + + * fileio.c (barf_or_query_if_file_exists): New arg STATPTR. + Callers changed. + (Fcopy_file): Error if input and output are the same file. + +1995-09-28 Carsten Bormann + + * m/ibmrs6000.h: Add early support for Solaris 2.5 on PowerPCs. + [USG5_4] (CANNOT_DUMP): Define this if USG5_4. + (UNEXEC): Don't define if already defined. + [USG5_4] (DATA_SEG_BITS, LIBS_MACHINE): Alternate definitions. + (C_SWITCH_MACHINE, LD_SWITCH_MACHINE, NLIST_STRUCT, WORDS_BIG_ENDIAN) + (TEXT_START, DATA_START, TEXT_END, DATA_END): + Don't define, if USG5_4. + +1995-09-27 Richard Stallman + + * lisp.h (pvec_type): Add PVEC_CHARTABLE and PVEC_BOOLVECTOR. + Move PVEC_BUFFER to a higher bit. + (CHARTABLEP, GC_CHARTABLEP, XSETCHARTABLE, XCHARTABLE): New macros. + (XBOOLVECTOR, XSETBOOLVECTOR, BOOLVECTORP, GC_BOOLVECTORP): New macros. + (struct Lisp_Boolvector): New data type. + + * lread.c (read1): Handle chartables and boolvectors. + * print.c (print): Handle chartables and boolvectors. + (print_boolvector): New function. + * data.c (Fchartablep, Fboolvectorp): New functions. + (syms_of_data): defsubr them. + (Faref, Faset, Fsequencep): Handle chartables and boolvectors. + + * fns.c (Fset_char_table_range): New function. + (make_char_table, Fmap_char_table): New function. + (Fchar_table_extra_slot, Fset_char_table_extra_slot): New functions. + + * fns.c (Fcopy_sequence, Felt, internal_equal, Ffillarray): + Handle chartables and boolvectors. + (Flength, concat): Handle boolvectors as args. + (Flength): Handle chartables as args. + + * alloc.c (Fmake_chartable, Fmake_boolvector): New functions. + (syms_of_alloc): defsubr them. + + * buffer.c (Fmake_overlay): Set end-marker's insertion_type to 1. + +1995-09-22 Richard Stallman + + * xfns.c (Fx_create_frame): Set up buffer-predicate slot. + + * gmalloc.c (current_core_address): New function. + (_malloc_internal): Use current_core_address. + (morecore): Avoid using __morecore (0). + + * ralloc.c (r_alloc_sbrk): Round up amount being returned. + +1995-09-20 Paul Eggert + + * msdos.c (gettimeofday, init_gettimeofday, daylight, gmtoffset): + Undo previous change to msdos.c. + (init_environment): No need to call tzset and init_gettimeofday, + since `main' now does that for us. + (gettimeofday): Ignore tzp; it's obsolescent. + (init_gettimeofday): Invoke tzset first. + * s/msdos.h (LOCALTIME_CACHE, tzset): New macros. + +1995-09-17 Richard Stallman + + * xfns.c (x_decode_color): Get error if color not defined. + + * xmenu.c (popup_get_selection): Pop menu down if button is pressed + outside the menu. + + * minibuf.c (read_minibuf_unwind): Use safe_run_hooks. + + * keyboard.c (safe_run_hooks): No longer static. + + * keyboard.c (read_char_x_menu_prompt): + When unreading events generated by a menu, + turn symbols and integers into lists, + for the sake of last_nonmenu_event and thus y-or-n-p. + +1995-09-15 Richard Stallman + + * lread.c (Fload): Rename arg STR to FILE. + +1995-09-14 Richard Stallman + + * ralloc.c (r_alloc_sbrk): Get the right heap data address + in multi-heap case. + +1995-09-12 Karl Heuer + + * s/isc2-2.h (BROKEN_SELECT_NON_X): Define this instead of turning + off HAVE_SELECT. + * s/isc3-0.h (BROKEN_SELECT_NON_X): Moved to s/isc2-2.h. + (HAVE_SELECT): Deleted; s/isc2-2.h no longer undefs this. + +1995-09-12 Richard Stallman + + * insdel.c (signal_after_change): Call report_interval_modification. + + * textprop.c (call_mod_hooks): Moved from intevals.c + (verify_interval_modification): Moved from intervals.c. + (interval_insert_behind_hooks, interval_insert_in_front_hooks): + New variables. + (report_interval_modification): New function. + * intervals.c (call_mod_hooks, verify_interval_modification): + Functions moved to textprop.c. + +1995-09-10 Richard Stallman + + * xmenu.c (xmenu_show): Ignore `quote' when looking up the result. + +1995-09-10 Paul Eggert + + * editfns.c (Fencode_time): Use mktime to do the real work; + this fixes bugs involving out-of-range dates and leap seconds, + and allows date arithmetic via out-of-range values for arguments. + Allow the ZONE parameter to be a TZ-style string. + Doc string fix: `1900' -> `this century'. + (set_time_zone_rule): New function. + (Fset_time_zone_rule): Use it. + (environ, make_time): Add extern declarations. + (days_per_month): Remove. + +1995-09-09 Richard Stallman + + * keyboard.c (command_loop_1): Set this_command to nil + before reading a command. + + * editfns.c (Fdecode_time): Doc fix. + +1995-09-08 Richard Stallman + + * m/apollo.h (HAVE_UNISTD_H): Add #undef. + +1995-09-07 Paul Eggert + + * editfns.c (Fset_time_zone_rule): New function. + (syms_of_editfns): defsubr it. + * msdos.c (gettimeofday): Don't bother setting time zone, + since nobody uses it, and our hacks to get it get in the way + of the above fix. Use simpler method for getting time stamp. + (init_gettimeofday, daylight, gmtoffset): Remove. + * msdos.h (init_gettimeofday): Remove declaration. + +1995-09-06 Paul Eggert + + * configure.in (LOCALTIME_CACHE): Define if tzset exists and + if localtime caches TZ. Check for tzset. + + * emacs.c (main): Call tzset only if LOCALTIME_CACHE is defined; + not all Suns have this bug. + * m/pmax.h, s/386bsd.h, s/bsd386.h, s/freebsd.h, s/gnu.h, + s/netbsd.h (LOCALTIME_CACHE): Remove; now configured automatically. + +1995-09-06 Erik Naggum + + * alloc.c (Fmake_marker): Initialize insertion_type to 0. + +1995-09-03 Richard Stallman + + * insdel.c (adjust_markers_for_insert): New function. + (insert_from_buffer_1, insert_from_string_1, insert_1): Call it. + +1995-09-01 Richard Stallman + + * fileio.c (Fmake_symbolic_link, Fadd_name_to_file): + Look for handler for the new name as well as for the target. + + * dired.c (Ffile_name_all_completions, Ffile_name_completion): + Look for handler for FILE as well as for DIRNAME. + +1995-08-31 Richard Stallman + + * marker.c (Fcopy_marker): New arg TYPE. + (Fmarker_insertion_type, Fset_marker_insertion_type): New functions. + (syms_of_marker): defsubr them. + + * buffer.c (Fmake_indirect_buffer): Set the insertion_type of the + zv_marker markers to 1. + + * window.c (save_window_save): Pass the new arg to Fcopy_marker. + + * editfns.c (save_excursion_save): Pass the new arg to Fcopy_marker. + +1995-08-31 Erik Naggum + + * keyboard.c (Fcommand_execute): Ignore `disabled' property on + commands if `disable-command-hook' is nil. + +1995-08-30 Richard Stallman + + * keyboard.c (read_key_sequence): Validate the event position + before calling get_local_map. + +1995-08-29 Jack Repenning + + * unexelfsgi.c: Compute new data offset based on memory + address; also, copy .got from memory not temacs. + +1995-08-29 Kim Storm + + * dosfns.c (Fmsdos_mouse_enable, Fmsdos_mouse_disable) + (Fmsdos_mouse_init): New functions. + (syms_of_dosfns): defsubr them. + (Fmode25, Fmode4350): Call mouse_off unconditionally. + (Fset_mouse_position): Return nil. + + * msdos.h (sleep_or_kbd_init): Delete declaration. + + * frame.c [!MULTI_FRAME] (Factive_minibuffer_window): New function. + [!MULTI_FRAME] (syms_of_frame): defsubr it. + + * sysdep.c (sys_subshell) [MSDOS]: Handle SUSPEND env var. + Disable error report from subshell if system returns non-zero. + Don't call vfork before calling system. + Don't call wait_for_termination. + (sys_select): Turn it off if MSDOS. + (reset_sys_modes): Support EMACSCOLORS env var. + + * puresize.h (SITELOAD_PURESIZE_EXTRA): New macro. + (BASE_PURESIZE): Use SITELOAD_PURESIZE_EXTRA. + + * msdos.c (putchar): Call internal_flush instead of _flsbuf. + (DO_TERMSCRIPT): New macro to support open-termscript. + (internal_flush): Corrected handling of flush in middle of + escape sequences. Handle screen width > 127. + (flush_escape): New function for use by internal_flush. + (sys_select): New MS-DOS specific version with us timing. + (EMACSCOLORS): New environment variable. + (IT_clear_end_of_line): Set default face. + (run_msdos_command): Restore mouse position after command. + Close "backup fd"s. + Corrected switch to cooked mode while running command. + (mouse_on, mouse_off): Now checks have_mouse > 0. + Note: "have_mouse < 0" means that a mouse is present, but + it has been disabled via msdos-mouse-disable. + (IT_write_glyphs): Allow esc-character itself to be printed. + (event_timestamp): New function to make reliable times stamps. + (sys_chdir): Skip drive letter before calling chdir. + (sleep_or_kbd_hit): Handle 60 seconds time wrap. + (mouse_get_pos): Return event_timestamp. + + +1995-08-29 Richard Stallman + + * msdos.c (struct IT_menu_state): Refer to it as struct, not typedef. + + * editfns.c (Fdecode_time): Doc fix. + + * minibuf.c (Fdisplay_completion_list): Clear all text properties + for the whitespace between completion items. + + * xterm.c (x_wm_set_icon_pixmap): If trying to turn off icon + pixmap, do nothing. + +1995-08-28 Roland McGrath + + * s/gnu.h (GETPGRP_NO_ARG, WAIT_USE_INT, UNEXEC): New macros. + (HAVE_SOCKETS, A_TEXT_SEEK, NO_REMAP): Macros removed. + +1995-08-27 Richard Stallman + + * doprnt.c (doprnt): Fix typo in error message. + +1995-08-26 Richard Stallman + + * emacs.c (decode_env_path): Use ".", not nil, for current dir. + +1995-08-22 Richard Stallman + + * keyboard.c (modifier_names): Add 4 bits to modifier bit positions. + +1995-08-21 Karl Heuer + + * xdisp.c (display_text_line): Write blanks under the entire + scroll bar, not just the first column. + +1995-08-21 Richard Stallman + + * s/irix5-2.h (SA_RESTART): Add #undef. + + * keyboard.c: + (Qpost_command_idle_hook, Vpost_command_idle_hook): New vars. + (syms_of_keyboard): Set up new vars. + (command_loop_1): Run Qpost_command_idle_hook. + +1995-08-20 Richard Stallman + + * s/aix3-1.h (SYSTEM_TYPE): Change to just "aix". + + * s/aix4.h: Include aix3-2-5.h, not aix3-2.h. + * s/aix4-1.h (sigsetmask, _setjmp, _longjmp): Delete undefs. + [__GNUC__] (_NO_PROTO): Add undef. + + * s/aix3-2-5.h (POSIX_SIGNALS, CLASH_DETECTION): Defined. + (SIGNALS_VIA_CHARACTERS, MAIL_USE_LOCKF): Defined. + (sigmask, sigsetmask, _setjmp, _longjmp): Add undefs. + +1995-08-19 Richard Stallman + + * dispnew.c: Include syssignal.h. + + * lisp.h (struct Lisp_Marker): Make insertion_type an unsigned int. + +1995-08-16 Richard Stallman + + * syntax.c (scan_sexps_forward): Fix previous change. + +1995-08-15 Karl Heuer + + * emacs.c (sort_args): Initialize best_priority smaller than any + actual priority. + +1995-08-14 Richard Stallman + + * fileio.c (Fwrite_region): New arg lockname. + (auto_save_1): Pass new arg. + + * callproc.c (Fcall_process_region): Pass new arg to Fwrite_region. + + * emacs.c (standard_args): Fix previous change. + +1995-08-14 Erik Naggum + + * emacs.c (standard_args): Add option --eval to evalute an + expression on the command line and print the result. + +1995-08-14 Richard Stallman + + * cmds.c (Fself_insert_command): Optimize the case with arg > 2 + to avoid running change hooks lots of times. + +1995-08-13 Richard Stallman + + * s/isc4-1.h (NO_SOCKETS_IN_FILE_SYSTEM): Defined. + (START_FILES): Defined. + (LIB_STANDARD): New definition, details depending on __GNUC__. + + * syntax.c (scan_sexps_forward): Use the initial depth + in the starting state for tracking when we reach TARGETDEPTH. + +1995-08-11 Richard Stallman + + * m/alpha.h: Test OSF1, not __osf1__. + (ORDINARY_LINK): Define only if OSF1. + (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, PTY_OPEN): + Define only if OSF1. + (TEXT_END, DATA_END): Fix the definitions. + +1995-08-10 Richard Stallman + + * s/linux.h (ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved to intel386.h + (LIBS_SYSTEM): Define this instead of LIBS_MACHINE. + + * m/intel386.h [linux] (ULIMIT_BREAK_VALUE, SEGMENT_MASK): + Moved from linux.h. + + * m/alpha.h [linux] (COFF, NO_TERMIO): Defined. + [linux] (TEXT_END, DATA_END): New definitions. + + * unexalpha.c (fatal_unexec): Use vfprintf, not _doprnt. + + * m/alpha.h (LIBS_DEBUG, START_FILES, LIBS_MACHINE): + Define only if __osf1__. + + * macros.c (Fcancel_kbd_macro_events): New function. + (syms_of_macros): defsubr it. + + * frame.c (store_frame_param): Don't call set_menu_bar_lines if X. + +1995-08-07 Richard Stallman + + * keyboard.c (read_key_sequence): Undo previous change. + Instead, put back the orig_uppercase event if key is not defined. + When downcasing, back up one step in key-translation processing. + + * doprnt.c (doprnt): Error if %-width is too big. + + * editfns.c (Fformat): Limit minlen to avoid stack overflow. + +1995-08-07 Karl Heuer + + * insdel.c (signal_before_change, signal_after_change): Fix + spelling of Vbefore_change_functions and Vafter_change_functions. + +1995-08-07 Richard Stallman + + * doprnt.c (doprnt): Don't let size_bound be gigantic. + Fix error message. + +1995-08-06 Richard Stallman + + * buffer.c (get_truename_buffer): New function. + * filelock.c (lock_file): Use get_truename_buffer. + + * emacs.c (main) [USG5]: Call setpgrp without testing INTERRUPT_INPUT. + + * xdisp.c (redisplay): Compute mini_frame the same way + echo_area_display does. + + * keyboard.c (kbd_buffer_store_event): + Don't insert two buffer_switch_event's in a row. + + * xfns.c (x_set_menu_bar_lines) [USE_X_TOOLKIT]: When turning + menu bar on, make sure next redisplay creates it. + + * eval.c (run_hook_with_args): Move the GCPRO2; add UNGCPRO. + + * process.c (read_process_output, exec_sentinel): Call + record_asynch_buffer_change after any eval. Don't call + prepare_menu_bars. + (wait_reading_process_input): Don't call prepare_menu_bars. + +1995-08-05 Richard Stallman + + * search.c (Freplace_match): New arg SUBEXP. + + * eval.c (run_hook_with_args): Add gcpros. + * print.c (print_string): Use insert_from_string for output to buffer. + * minibuf.c (Fdisplay_completion_list): gcpro elt. + + * insdel.c (signal_before_change, signal_after_change): Major rewrite. + (before_change_function_restore, after_change_function_restore) + (before_change_functions_restore, after_change_functions_restore): + Functions deleted. + * eval.c (run_hook_list_with_args): New function. + * buffer.c (Qbefore_change_functions, Qafter_change_functions): + New variables. + (syms_of_buffer): Initialize them. + * buffer.h (Qbefore_change_functions, Qafter_change_functions): + Declared. + + * frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Doc fixes. + [not MULTI_FRAME] (Fframe_visible_p): New function. + [not MULTI_FRAME] (syms_of_frame): defsubr it. + + * xfns.c (Ffocus_frame, Funfocus_frame): Make them no-ops. + +1995-08-04 Richard Stallman + + * xterm.c (x_delete_display) [AIX]: Don't call XRmDestroyDatabase. + + * msdos.c (IT_write_glyphs): Call ScreenSetCursor. + + * lread.c (saved_doc_string*): New variables. + (load_force_doc_strings): New variable. + (syms_of_lread): Set up Lisp var load-force-doc-strings. + (read_list): Handle load_force_doc_strings. + Use the saved_doc_string, if it's right; otherwise, reread from file. + (read1): Save last doc string in saved_doc_string. + +1995-08-03 Richard Stallman + + * frame.c (set_menu_bar_lines, set_menu_bar_lines_1): New functions. + (store_frame_parameter): Call set_menu_bar_lines. + [!MULTI_FRAME] (Fmodify_frame_parameters): Call set_menu_bar_lines. + + * frame.c: Move various Q... vars to top of file, unconditional. + (Vterminal_frame): Just one definition, at top of file, unconditional. + (syms_of_frame_1): New function. + (syms_of_frame. both definitions): Call syms_of_frame_1. + +1995-08-02 Richard Stallman + + * keyboard.c (read_key_sequence): Don't downshift an event + if that fails to make it bound. + (follow_key): Don't alter contents of NEXT until the end. + + * xmenu.c [USE_X_TOOLKIT] (xmenu_show): Compute root-based + coordinates. Make a dummy event to pass them to lw_popup_menu. + + * lread.c (Funintern): Fix deleting the last symbol in a chain. + +1995-08-01 Richard Stallman + + * xdisp.c (redisplay): When displaying a terminal frame, + if it isn't the same one as last time, clear it and redraw. + Don't redisplay mini_frame as well, if it is a termcap frame. + + * frame.c (do_switch_frame): Do nothing special when switching + between terminal frames. + +1995-07-31 Karl Heuer + + * s/usg5-4.h, s/sol2-5.h (GETTIMEOFDAY_ONE_ARGUMENT): Deleted; + configure handles this now. + +1995-07-31 Simon Marshall + + * eval.c (run_hook_with_args): Renamed from Frun_hook_with_args. + Take extra arg CONDITION, and return appropriately based on hook + function value if CONDITION is until_success or until_failure. + (Frun_hooks, Frun_hook_with_args, + Frun_hook_with_args_until_success, + Frun_hook_with_args_until_failure): New functions, use it. + (syms_of_eval): defsubr them. + + * lisp.h (Frun_hook_with_args, + Frun_hook_with_args_until_success, + Frun_hook_with_args_until_failure): Declare them. + +1995-07-31 Richard Stallman + + * xterm.c (XTread_socket): For UnmapNotify, use x_top_window_to_frame. + + * keyboard.c (kbd_buffer_get_event, swallow_events): Fix prev change. + +1995-07-30 Richard Stallman + + * xmenu.c (single_submenu): + Only ignore 1st char of pane name if that is an @. + + * frame.c (Fmake_terminal_frame): Copy face_alist from selected frame. + + * s/linux.h (HAVE_XRMSETDATABASE): Define if not defined. + +1995-07-28 Richard Stallman + + * s/isc3-0.h (HAVE_SELECT): Defined. + + * s/isc4-1.h (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined. + (HAVE_TERMIOS): Defined. + (HAVE_TERMIO): Add undef. + + * s/isc4-0.h (sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS. + + * process.c: Maybe include net/errno.h. + + * alloc.c (cons_cells_consed, floats_consed, vector_cells_consed) + (symbols_consed, string_chars_consed, misc_objects_consed) + (intervals_consed): New vars. + (make_float, Fcons, make_interval, allocate_vectorlike, Fmake_symbol) + (allocate_misc, make_uninit_string): Increment them. + (Fmemory_use_counts): New function. + (syms_of_alloc): defsubr it. + +1995-07-28 Gvran Uddeborg + + * s/isc4-1.h: ISC 4.1 has termios. + +1995-07-27 Richard Stallman + + * config.in (GETTIMEOFDAY_ONE_ARGUMENT): Add #undef. + +1995-07-27 Karl Heuer + + * eval.c (syms_of_eval): Add missing defsubr. + + * buffer.c: (struct sortstrlist): New type. + (overlay_heads, overlay_tails): Change to struct sortstrlist. + (overlay_heads_len, overlay_tails_len): Deleted; now part of struct. + (record_overlay_string): New function. + (overlay_strings): Simplify. Use record_overlay_string. + Check for window match in overlays_after loop, not just in + overlays_before. + Handle zero-sized overlays better. + +1995-07-27 Richard Stallman + + * keymap.c (describe_buffer_bindings): Print bindings from + Vfunction_key_map and from Vkey_translation_map. + (describe_translation): New function. + (describe_command): Handle vector like string. + (describe_map_tree): New arg TRANSL. Callers changed. + + * keymap.c (Vkey_translation_map): Defined. + (syms_of_keymap): Set up Lisp var. + * keyboard.c (Vkey_translation_map): Just declare, don't define. + (syms_of_keyboard): Don't set up Lisp var. + +1995-07-26 Richard Stallman + + * Makefile.in (prefix-args): Pass ALL_LDFLAGS. + + * xdisp.c (syms_of_xdisp): Doc fix. + + * keyboard.c (kbd_buffer_get_event): Update input_pending after + discarding one event from the queue, if we process the event here. + (swallow_events): Likewise. + +1995-07-25 Richard Stallman + + * m/iris4d.h (LIBS_MACHINE): Delete -lsun. + * s/irix3-3.h (LIBS_SYSTEM): Defined. + + * frame.h (struct frame): Rename `display' member to `output_data'. + Use new data type name for output_data.x. + * xterm.h (struct x_output): Renamed from struct x_display. + * xterm.c, xfns.c, xmenu.c, dispnew.c, frame.c, xfaces.c: Do renamings: + frame->display => frame->output, struct x_display -> struct x_output. + +1995-07-25 Karl Heuer + + * lisp.h (Frun_hook_with_args): Declare this function. + * eval.c (Frun_hook_with_args): New C function, formerly in subr.el. + * insdel.c (signal_before_change): Use Frun_hook_with_args. + (signal_after_change): Likewise. + +1995-07-24 Richard Stallman + + * xterm.c (next_noop_dpyinfo): New variable. + (XTread_socket): Use that to cycle through all displays for XNoOp. + +1995-07-24 Andreas Schwab + + * undo.c (Fprimitive_undo): Don't end inner loop + just because a previous-modtime doesn't match any more. + +1995-07-24 Richard Stallman + + * process.c (Fstart_process): + Don't expand the file name before trying openp. + +1995-07-23 Richard Stallman + + * xterm.h (struct x_display): New fields saved_button_event, id. + * termhooks.h (enum event_kind): Added menu_bar_activate_event. + * xterm.c (XTread_socket) [USE_X_TOOLKIT]: For ButtonPress in menu bar, + save the event--don't pass to Xt yet. Make a menu_bar_activate_event. + (temp_index, temp_buffer): Now static. + * keyboard.c (kbd_buffer_get_event) [USE_X_TOOLKIT]: + Handle menu_bar_activate_event by calling x_activate_menubar. + * xmenu.c: Include buffer.h. + (x_activate_menubar): New function. + (set_frame_menubar): New arg deep_p. Callers changed. + Run various hooks here when deep_p is true. + (frame_vector): Variable deleted. + (syms_of_xmenu): Don't staticpro it. + (frame_vector_add_frame): Function deleted. + (menubar_id_to_frame): New function. + (menubar_selection_callback): Use menubar_id_to_frame. + (next_menubar_widget_id): New variable. + (set_frame_menubar): Use next_menubar_widget_id. + (free_frame_menubar): Get id from f->display.x->id. + + * xdisp.c (update_menu_bar): Pass new arg to set_frame_menubar. + * xfns.c (x_menubar_window_to_frame): New function. + + * window.c (Fprevious_window, Fnext_window): When minibuf = nil, + accept only the minibuffer window that is currently active. + +1995-07-21 Richard Stallman + + * lread.c (read_list): When a file loaded from site-init.el uses #$, + turn it into a relative file name starting with ../lisp. + + * dispnew.c (update_frame): Check that the echo area is in the + frame being displayed. + + * keyboard.c (command_loop_1): Clear echo area after 2 sec + only if the minibuffer is in the same place as the echo area. + + * window.h (echo_area_window): Declared. + + * xdisp.c (echo_area_display): Use selected frame's minibuf window + but don't set the minibuf_window (don't call choose_minibuffer_frame). + (message2_nolog, message): Likewise. + (echo_area_window): New variable. + (echo_area_display): Set echo_area_window. + (redisplay_window): Distinguish minibuf_window and echo_area_window. + + * fileio.c (do_auto_save_unwind): Set auto_saving to 0. + (Fdo_auto_save): Don't clear auto_saving here. Set it to 1 + only when we make the unwind-protect. + + * xdisp.c (redisplay): Skip shortcuts if buffer's clip_changed is set. + (redisplay_window): If buffer's clip_changed is set, update mode line. + + * frame.c (do_switch_frame): Don't call choose_minibuffer_frame. + (choose_minibuf_frame): Choose frame regardless of minibuffer level. + * minibuf.c (read_minibuf): Call choose_minibuffer_frame. + First save the previous minibuf_window. + (read_minibuf_unwind): Restore old minibuf_window. + +1995-07-20 Richard Stallman + + * s/aix4.h (AIX4): New definition. + * m/ibmrs6000.h (LD_SWITCH_MACHINE) [AIX4]: New alternate definition. + + * xmenu.c (set_frame_menubar): If the Lisp-level menu bar menus + are unchanged, don't recompute the widgets. + + * xmenu.c (syms_of_xmenu): Set up Qdebug_on_next_call. + (set_frame_menubar): Bind it to nil. + + * fileio.c (Ffile_modes) [DOS_NT]: Use check_executable. + (check_executable): DOS_NT code moved here from Ffile_modes. + (check_writable): New code for MSDOS. + + * editfns.c (Fformat): Doc fix. + +1995-07-20 Karl Heuer + + * fns.c (Fsafe_length): Return a conservative upper bound. + +1995-07-20 Richard Stallman + + * editfns.c (Fsubst_char_in_region): + Bind buffer-file-name to nil if NOUNDO is true. + + * insdel.c (prepare_to_modify_buffer): Don't lock the file + if current_buffer->filename is nil. + + * msdos.c (init_environment): Move alloca call out of function arg. + + * puresize.h [!MULTI_FRAME] (BASE_PURESIZE): Increased to 325000. + +1995-07-19 Richard Stallman + + * textprop.c (Fget_char_property): If OBJECT is non-current buffer, + use it properly for overlays_at. + +1995-07-18 Richard Stallman + + * alloc.c (init_alloc_once): Set gc_cons_threshold from Lisp obj size. + + * editfns.c (Fmessage): Doc fix. + (Fformat): Increment total for size of control string. + + * window.c (Fwindow_start): Doc fix. + + * xfaces.c (unload_color): Don't free colors if immutable colormap. + + * eval.c (Ffuncall, Fapply): Doc fix. + + * callint.c (Fcall_interactively): Doc fix. + + * fileio.c (Fexpand_file_name): Initial ~ means name is absolute. + + * config.in: Renamed from config.h.in. + * paths.in: Renamed from paths.h.in. + * Makefile.in: Renamed from Makefile.in.in. + (paths.h): Depend on paths.in. + (config.h): Depend on config.in. + (distclean): Delete Makefile.c, not Makefile.in. + (SOURCES): Corresponding changes. + + * callproc.c (init_callproc): Set Vdoc_directory based on + Vinstallation_directory when that's non-nil, regardless of whether + we had to set Vexec_directory. + + * unexsunos4.c (unexec): If not SUNOS4_SHARED_LIBRARIES + or if apparently not dynamically linked, just clear rel and erel. + + * s/sunos4shr.h (SUNOS4_SHARED_LIBRARIES): Defined. + +1995-07-18 Mikael Djurfeldt + + * xdisp.c (decode_mode_spec): New arg spec_width. + Use pint2str for %l and %c. New code to output ??. + (display_mode_element): New var minendcol. + Pass new arg to decode_mode_spec. + (pint2str): New function. + +1995-07-17 Karl Heuer + + * bytecode.c (Fbyte_code): Fix variable names in previous change. + +1995-07-17 Richard Stallman + + * xfns.c [USE_MOTIF]: Don't include X11/Xaw/Paned.h, X11/Xaw/Label.h. + +1995-07-16 Richard Stallman + + * keyboard.c (kbd_buffer_get_event): Discard a selection_clear_event + before processing it. + + * bytecode.c (Fbyte_code): For Beqlsign, if both args are ints, + compare as ints. + + * xterm.c [HAVE_X11XTR6]: Include locale.h + (x_term_init) [HAVE_X11XTR6]: Set LC_NUMERIC and LC_TIME back to C. + + * data.c (Fnumber_to_string): Make `buffer' long enough. + +1995-07-15 Richard Stallman + + * xselect.c (x_clear_frame_selections): Delete duplicate code. + + * alloc.c (Flist): Rewritten. + +1995-07-13 Richard Stallman + + * dispnew.c (Fsit_for): Don't call prepare_menu_bars here. + + * emacs.c (main): Add to usage message. + + * s/netbsd.h (AMPERSAND_FULL_NAME): Defined. + +1995-07-12 Richard Stallman + + * s/sco4.h (SCO_R4): Defined. + +1995-07-10 Richard Stallman + + * floatfns.c (Fexpt): Use EMACS_INT for integer calculation. + (Ffloor): Likewise. + +1995-07-09 Richard Stallman + + * buffer.c (last_overlay_modification_hooks): New variable. + (last_overlay_modification_hooks_used): Likewise. + (syms_of_buffer): Init last_overlay_modification_hooks. + (add_overlay_mod_hooklist): New function. + (call_overlay_mod_hooks): Call add_overlay_mod_hooklist. + (report_overlay_modification): When AFTER is non-nil, + call the functions recorded in last_overlay_modification_hooks. + + * s/aix4-1.h (_setjmp, _longjmp): Add #undef's. + + * alloc.c (allocating_for_lisp): New variable. + (init_intervals, make_interval, init_symbol, Fmake_symbol) + (init_float, make_float, init_cons, Fcons) + (allocate_vectorlike, init_marker, allocate_misc) + (init_strings, make_uninit_string): Set allocate_misc temporarily. + + * Makefile.in.in (TAGS): Use etags from build dir, but make TAGS + file in source dir. + (${lispsource}TAGS): Renamed from ../lisp/TAGS. Deps changed too. + (tags): Corresponding changes. + (lisptagsfiles): Delete the term/*.el files. + + * fileio.c (Fwrite_region): If fsync fails with EINTR, don't + report a Lisp error. + +1995-07-08 Richard Stallman + + * process.c (keyboard_bit_set): Fix one-off in loop end. + +1995-07-07 Richard Stallman + + * keymap.c (current_minor_maps): Catch errors in Findirect_function. + (current_minor_maps_error): New function. + +1995-07-06 Richard Stallman + + * frame.h (struct frame): New field `mouse_moved'. + * keyboard.c (mouse_moved): Variable deleted. + (kbd_buffer_get_event, readable_events): + Check mouse_moved in all frames. + Check do_mouse_tracking for non-nil ness. + (Ftrack_mouse): Set do_mouse_tracking to t. + * xterm.c (note_mouse_movement): Set mouse_moved in the x_display_info. + (XTmouse_position, x_scroll_bar_note_movement): Likewise. + (x_scroll_bar_report_motion): Likewise. + + * xterm.c (x_draw_box, x_display_box_cursor, x_display_bar_cursor): + New args x, y. Don't use curs_x or curs_y here. Callers changed. + + * ntinevt.c (win32_mouse_position, mouse_moved_to): + Access mouse_moved in selected_frame. + * msdos.c (mouse_get_pos, mouse_check_moved, XMenuActivate): + Access mouse_moved in selected_frame. + + * lread.c (Fread): Rename arg READCHARFUN to STREAM. + + * xfns.c (Fx_list_fonts): Don't free thisinfo if it is 0. + + * sysdep.c (sys_close): Handle Sunos 4.1 bug in close errno value. + +1995-07-05 Richard Stallman + + * Makefile.in.in (lispsource): Renamed from lispdir. + + * sysdep.c (init_system_name): Add cast in init for fqdn. + +1995-07-03 Michael Shields + + * m/intel386.h [linux]: Include values.h and #undef + certain macros, to avoid conflict later. + +1995-07-06 Karl Heuer + + * s/irix6-0.h [!__GNUC__] (LD_SWITCH_SYSTEM): Define this. + + * s/usg5-4-2.h (LIB_MOTIF, VFORK_RETURN_TYPE): Define these. + + * xterm.c (x_initialize) [USE_X_TOOLKIT]: Set fallback resources. + + * window.c (Fset_window_hscroll): Set clip_changed in the buffer. + (temp_output_buffer_show): Likewise. + + * lisp.h (get_keymap_1): Declared. + + * editfns.c (Fwiden): Set clip_changed in current buffer. + (Fnarrow_to_region, save_restriction_restore): Likewise. + + * buffer.c (overlays_in): Don't count empty overlays at END. + (Foverlays_in): Likewise. + +1995-07-02 Richard Stallman + + * keyboard.c (read_char): Temporarily clear Vquit_flag + while checking Vspecial_event_map. + + * xdisp.c (redisplay_window): Fix typos in clip_changed change. + + * buffer.h (struct buffer): New field clip_changed. + + * xdisp.c (clip_changed): Variable deleted. + (prepare_menu_bars): Don't look at clip_changed. + (redisplay): Don't set clip_changed. Do set b's clip_changed. + (redisplay_window): Check clip_changed in current_buffer. + (mark_window_display_accurate): Clear clip_changed + in the window's buffer. + +1995-07-01 Richard Stallman + + * keyboard.c (Vspecial_event_map): New variable. + (syms_of_keyboard): Define Lisp var; init the map. + (read_char): Look up each event in Vspecial_event_map; if bound, + execute the binding here and read another event. + (keys_of_keyboard): Make bindings for iconify-frame, + make-frame-visible and delete-frame. + + * fns.c (Fsafe_length): New function. + (syms_of_fns): defsubr it. + * lisp.h (Fsafe_length): Declared. + * xfaces.c (compute_char_face): Use Fsafe_length. + + * s/aix4-1.h (sigsetmask): Add #undef. + + * s/riscos5.h: New file. + + * xfns.c (x_set_icon_type, x_set_icon_name): Don't ever remap the + frame window; changing the icon doesn't make it disappear. + + * process.c (Fstart_process): Expand PROGRAM. + Error if it is a directory. + + * s/sunos4shr.h (LIBXMU): New definitions (two alternative ones). + + * s/sunos4-1-3.h: Don't use sunos4shr.h; go back to 19.28 definition. + +1995-06-30 Geoff Voelker (voelker@cs.washington.edu) + + * nt.c (PASSWD_FIELD_SIZE): Defined. + (the_passwd_name, the_passwd_passwd, the_passwd_gecos, + the_passwd_dir, the_passwd_shell, getpwuid): Use PASSWD_FIELD_SIZE. + (get_emacs_configuration): Check if processor macros are defined. + + * ntheap.c: Include config.h. + (syspage_mask, real_data_region_end): Defined. + (allocate_heap) [WINDOWS95]: Reverse conditional, end search + at 0xD00000. + (sbrk): Commit and uncommit memory in machine dependent + page size chunks. + + * s/windows95.h (CANNOT_DUMP): Undefined. + * makefile.nt (EMACS) [win95]: Removed. + + * makefile.nt (TLASTLIB): Defined. + (TEMACS): Use TLASTLIB. + * unexnt.c (get_section_info): Set the end of the data region + to be just before the start of the shared library data. + (read_in_bss): Read directly into memory. + (map_in_heap): Read directly into memory if unable to map. + +1995-06-30 Richard Stallman + + * s/hpux9.h (LIBX11_SYSTEM): Add undef. + + * m/intel386.h [SOLARIS] (LIBS_MACHINE): Move this out of the + SOLARIS2_4 conditional. + + * xdisp.c (redisplay_window): Update individual window's mode line + if %c calls for an update. + (redisplay): Set update_mode_line for selected window only, + if it needs this because of %c. + +1995-06-29 Richard Stallman + + * s/aix3-2-5.h (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these + names instead of C_SWITCH_OPTIMIZE, C_SWITCH_DEBUG. + + * s/aix4.h: Include aix3-2.h, not aix3-2-5.h. + + * callproc.c (child_setup): Don't get confused if in == err. + + * xterm.c (XTread_socket): Turn off meta, super, hyper and alt bits + in the arg for XLookupKey. + +1995-06-28 Morten Welinder + + * unexmips.c [MACH]: Include a.out.h. + [MACH] (STYP_INIT, _RDATA, STYP_RDATA, _SDATA, STYP_SDATA): Defined. + [MACH] (_SBSS, STYP_SBSS, HDRR, pHDRR): New definitions. + (unexec): Add MACH conditionals. + + * m/pmax.h [MACH]: Use built-in alloca, set START_FILES. + + * s/mach-bsd4-3.h: New file. + +1995-06-28 Richard Stallman + + * term.c (term_init): Alternative error messages for TERMCAP/TERMINFO. + + * m/alpha.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN) + (PTY_TTY_NAME_SPRINTF): New definitions. + + * dispnew.c (update_frame): Pretend cursor is in echo area + rather than put it in a minuffer hidden by the echo area. + +1995-06-27 Richard Stallman + + * s/hpux9.h (LIBXMU): New definition. + + * s/hpux9-x11r4.h, s/hpux9shxr4.h: New files. + + * xmenu.c (single_submenu): Handle commands appearing directly + in the menu bar. + +1995-06-26 Richard Stallman + + * xterm.c (x_display_bar_cursor, x_display_box_cursor): + Don't alter curs_x or curs_y here. + (x_display_cursor): Copy them from the frame cursor here. + (x_update_cursor): New function. + (frame_highlight, frame_unhighlight): Use x_update_cursor. + + * xdisp.c (echo_area_display): Don't set FRAME_CURSOR_... here. + (redisplay): In the "point hasn't moved" shortcut, + make sure that the cursor is in the right window already. + + * msdos.c (IT_cursor_to, IT_clear_end_of_line, IT_write_glyphs): + (IT_set_face): Call internal_flush if short of room. + +1995-06-25 Morten Welinder + + * emacs.c (init_cmdargs): Make Vinvocation_directory + absolute if it isn't already. + +1995-06-25 Richard Stallman + + * frame.c (Fdelete_frame): It's ok to have no minibuffer left on + a kboard if there are no frames on it either. + + * buffer.c (overlays_in): New function. + (Foverlays_in): New function. + (syms_of_buffer): defsubr it. + + * xfns.c (Fx_open_connection, x_display_info_for_name): + Error if window-system is not x. + + * process.c (Fopen_network_stream): Sleep 1 sec before connect retry. + + * frame.c (next_frame, prev_frame): Consider only frames on same kbd. + (Fdelete_frame): If next_frame finds nothing, try an alternative. + + * buffer.c (overlay_strings): Fix calls to xrealloc. + +1995-06-24 Richard Stallman + + * s/aix4-1.h (LIB_MOTIF): Defined. + + * emacs.c (main): Fix --help message. + + * window.c (Fsplit_window): Nicer error if split size is too small. + + * Makefile.in.in (LIBXMU): New macro. + (LIBXT): Use LIBXMU. + +1995-06-23 Richard Stallman + + * fileio.c (directory_file_name): Don't get confused by // at end + on Unix-like systems. + +1995-06-22 Richard Stallman + + * xmenu.c (menu_item_enabled_p_1): Special handling for quit. + (set_frame_menubar): Inhibit quitting. + +1995-06-21 Richard Stallman + + * buffer.c (syms_of_buffer): Doc fix. + + * Makefile.in.in (SOME_MACHINE_OBJECTS): Add dosfns.o, + intervals.o, textprop.o. + +See ChangeLog.5 for earlier changes. diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/README Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,4 @@ +This directory contains bitmap files that Emacs uses from +/usr/include/X11/bitmaps. That directory doesn't seem to exist under +VMS. + diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/cntrpmsk.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/cntrpmsk.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,6 @@ +#define cntr_ptrmsk_width 16 +#define cntr_ptrmsk_height 16 +static unsigned char cntr_ptrmsk_bits[] = { + 0xc0, 0x03, 0xc0, 0x03, 0xe0, 0x07, 0xe0, 0x07, 0xf0, 0x0f, 0xf0, 0x0f, + 0xf8, 0x1f, 0xf8, 0x1f, 0xfc, 0x3f, 0xfc, 0x3f, 0xfc, 0x3f, 0xdc, 0x3b, + 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x03}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/cntrptr.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/cntrptr.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,8 @@ +#define cntr_ptr_width 16 +#define cntr_ptr_height 16 +#define cntr_ptr_x_hot 7 +#define cntr_ptr_y_hot 1 +static unsigned char cntr_ptr_bits[] = { + 0x00, 0x00, 0x80, 0x01, 0x80, 0x01, 0xc0, 0x03, 0xc0, 0x03, 0xe0, 0x07, + 0xe0, 0x07, 0xf0, 0x0f, 0xf0, 0x0f, 0x98, 0x19, 0x88, 0x11, 0x80, 0x01, + 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x00, 0x00}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/crosswv.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/crosswv.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,6 @@ +#define cross_weave_width 16 +#define cross_weave_height 16 +static unsigned char cross_weave_bits[] = { + 0x55, 0x55, 0x88, 0x88, 0x55, 0x55, 0x22, 0x22, 0x55, 0x55, 0x88, 0x88, + 0x55, 0x55, 0x22, 0x22, 0x55, 0x55, 0x88, 0x88, 0x55, 0x55, 0x22, 0x22, + 0x55, 0x55, 0x88, 0x88, 0x55, 0x55, 0x22, 0x22}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/dimple1.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/dimple1.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,6 @@ +#define dimple1_width 16 +#define dimple1_height 16 +static unsigned char dimple1_bits[] = { + 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, + 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00, + 0x55, 0x55, 0x00, 0x00, 0x55, 0x55, 0x00, 0x00}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/dimple3.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/dimple3.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,6 @@ +#define dimple3_width 16 +#define dimple3_height 16 +static unsigned char dimple3_bits[] = { + 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x11, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x11, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/gray.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/gray.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,4 @@ +#define gray_width 2 +#define gray_height 2 +static unsigned char gray_bits[] = { + 0x01, 0x02}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/gray1.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/gray1.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,4 @@ +#define gray1_width 2 +#define gray1_height 2 +static unsigned char gray1_bits[] = { + 0x01, 0x02}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/gray3.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/gray3.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,4 @@ +#define gray3_width 4 +#define gray3_height 4 +static unsigned char gray3_bits[] = { + 0x01, 0x00, 0x04, 0x00}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/leftpmsk.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/leftpmsk.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,6 @@ +#define left_ptrmsk_width 16 +#define left_ptrmsk_height 16 +static unsigned char left_ptrmsk_bits[] = { + 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00, 0xfc, 0x01, + 0xfc, 0x03, 0xfc, 0x07, 0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x01, 0xdc, 0x03, + 0xcc, 0x03, 0x80, 0x07, 0x80, 0x07, 0x00, 0x03}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/leftptr.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/leftptr.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,8 @@ +#define left_ptr_width 16 +#define left_ptr_height 16 +#define left_ptr_x_hot 3 +#define left_ptr_y_hot 1 +static unsigned char left_ptr_bits[] = { + 0x00, 0x00, 0x08, 0x00, 0x18, 0x00, 0x38, 0x00, 0x78, 0x00, 0xf8, 0x00, + 0xf8, 0x01, 0xf8, 0x03, 0xf8, 0x07, 0xf8, 0x00, 0xd8, 0x00, 0x88, 0x01, + 0x80, 0x01, 0x00, 0x03, 0x00, 0x03, 0x00, 0x00}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/rtpmsk.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/rtpmsk.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,6 @@ +#define right_ptrmsk_width 16 +#define right_ptrmsk_height 16 +static unsigned char right_ptrmsk_bits[] = { + 0x00, 0x30, 0x00, 0x38, 0x00, 0x3c, 0x00, 0x3e, 0x00, 0x3f, 0x80, 0x3f, + 0xc0, 0x3f, 0xe0, 0x3f, 0xf0, 0x3f, 0xf0, 0x3f, 0x80, 0x3f, 0xc0, 0x3b, + 0xc0, 0x33, 0xe0, 0x01, 0xe0, 0x01, 0xc0, 0x00}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/rtptr.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/rtptr.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,8 @@ +#define right_ptr_width 16 +#define right_ptr_height 16 +#define right_ptr_x_hot 12 +#define right_ptr_y_hot 1 +static unsigned char right_ptr_bits[] = { + 0x00, 0x00, 0x00, 0x10, 0x00, 0x18, 0x00, 0x1c, 0x00, 0x1e, 0x00, 0x1f, + 0x80, 0x1f, 0xc0, 0x1f, 0xe0, 0x1f, 0x00, 0x1f, 0x00, 0x1b, 0x80, 0x11, + 0x80, 0x01, 0xc0, 0x00, 0xc0, 0x00, 0x00, 0x00}; diff -r ac7e9e5e2ccb -r 8f14d08e19f7 src/bitmaps/stipple.xbm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/bitmaps/stipple.xbm Wed Sep 29 16:37:29 1999 +0000 @@ -0,0 +1,4 @@ +#define stipple_width 16 +#define stipple_height 4 +static unsigned char stipple_bits[] = { + 0x55, 0x55, 0xee, 0xee, 0x55, 0x55, 0xba, 0xbb};