2025-04-14 Noah Friedman * nuke-whitespace.el: Enable lexical scope. (nuke-trailing-whitespace-always-major-modes): Add python-mode. 2025-03-31 Noah Friedman * fff.el: Use lexical scope. Replace obarrays with hashtables for completion. Use called-interactively-p instead of interactive-p. (fff-default-obarray-size): Variable removed. (fff-env->obarray, fff-symbol-list->obarray): Removed. (fff-env->hash, fff-symbol-list->hash): New functions. (fff-find-file-in-exec-path): (fff-insert-file-in-exec-path): Only consider executable files. (fff-file-executable-p): New function. (fff-file-nondirectory-p): handle optional 2nd argument. The completion functions will pass key and value for hashtables. We use the value to store the full path of the file so its properties can be accurately examined. (fff-string-split): Removed. (fff-path-string->list): Use split-string instead. * fff-elisp.el: Use lexical scope. Replace obarrays with hashtables for completion. Use called-interactively-p instead of interactive-p. Call lambda directly; don't use (function (lambda ...)) Tidy some loops by using mapc. (fff-emacs-lisp-library-suffix-regexp): New defconst. (fff-emacs-lisp-bytecode-source-file-name): Don't set major mode. (fff-elisp-make-emacs-lisp-library-completions): Preserve match-data. 2025-03-27 Noah Friedman * sendmail-alias.el (sendmail-alias-build-table): Check tbl against obarrayp. 2024-11-28 Noah Friedman * what-domain.el (what-domain-list): Some additions and changes since 2024-04-09. 2024-08-14 Noah Friedman * init-macros.el (defvar-local): New macro, for Emacs 24.2 and earlier. * ascii-table.el (ascii-table-make-map): Use string-make-unibyte to convert chars > 127 to a form key-description will decode as a chorded key. Works around commit 5522cc7879a17cab2 to src/keymap.c. 2024-07-07 Noah Friedman * proc-filters.el (proc-filter-column-motion): For 'CSI 1 K' or 'CSI 2 K' sequences, check if preceded by carriage return or backspace, and ignore this CSI-K sequence if so. 2024-06-16 Noah Friedman * buffer-fns.el (enquote-lines-skip-blank-lines): New variable. (enquote-lines-styles): New variable. (enquote-lines-region): New command. 2024-05-15 Noah Friedman * buffer-fns.el (kill-non-process-buffers): New function. 2024-05-13 Noah Friedman * xterm-frobs.el: Enable lexical binding. (xterm-screen-dcs-encapsulation): Perform getenv on initial-environment, if defined. 2024-05-06 Noah Friedman * list-fns.el: Rename some fns to avoid collisions with Emacs 28. (nf-length<=, nf-length<, nf-length=, nf-length>, nf-length>=): Renamed from their non-prefixed counterparts. (nf-length<=>): Renamed for consistency with the above. (length<=,length<, length=, length>, length>=): Make defaliases, but only if undefined. (circular-list-p): (circular-list-size): Use `if' rather than `and'. 2023-11-04 Noah Friedman * proc-filters.el (proc-filter-column-motion): Add 'A' to CSI search. 2023-10-25 Noah Friedman * nf-rgb.el: New file. * xterm-frobs.el (xterm-base16-decode-string): (xterm-base16-encode-string): New functions. These are in anticipation of sending/receiving X resource strings. (xterm-set-x-property): New function. 2023-10-23 Noah Friedman * init-macros.el (make-on-off-mode-commands): Fix escaped character in docstring. 2023-10-14 Noah Friedman * init-macros.el (icalled-interactively-p): Emacs 23.1 did not allow arg. * frame-fns.el (frame-fns::called-interactively-p): Here also. 2023-10-12 Noah Friedman * upower.el (upower-device-get-state): (upower-device-get-type): (upower-device-get-warning-level): (upower-device-get-tech): Fix typos calling upower-device-get-property. * buffer-fns.el: Fix docstrings >80 chars wide. Fix minor obsolescent usage. (bell-flash-mode-line): Use floating point arg to sit-for. (kill-all-buffers): Use called-interactively-p. (unfill-region): Assume most-positive-fixnum is defined. * xterm-frobs.el (xterm-set-width, xterm-set-height): (xterm-set-pixel-width, xterm-set-pixel-height): New commands. * init-macros.el (defconst-undefined): New macro. (setq-unless-obsolete): Expansion should use setq, not set. 2023-10-02 Noah Friedman * init-macros.el (setq-unless-obsolete): New macro. 2022-08-31 Noah Friedman * proc-filters.el: More cursor positioning handling. (proc-filter-carriage-motion): Set proc-filter-carriage-motion-last-end-char to NUL if at point-max. (proc-filter-column-motion): Set inhibit-field-text-motion to t. Enlarge current narrowing to include the true beginning of current line. Process "CSI Pm J" ctlseq; but for now do nothing. When processing "CSI Pm;... H" and new column is past current column, insert spaces to reach it; if new column is before current column, delete region as before. (proc-filter-color): Filter multi-param "CSI m". 2022-08-07 Noah Friedman * ssh.el (ssh-tab-or-complete): Use completion-at-point if comint-dynamic-complete is unavailable. 2022-06-11 Noah Friedman * proc-filters.el (proc-filter-misc-regexp): Filter Window Manipulation extensions. 2022-06-01 Noah Friedman * buffer-fns.el (nuke-all-text-properties): Bind inhibit-read-only to t. 2022-05-21 Noah Friedman * proc-filters.el (proc-filter-misc-regexp): Add "^A^B". 2022-05-14 Noah Friedman * proc-filters.el: Complete rewrite of carriage motion filtering, plus other smaller changes. (proc-filter-shell-output-filters): Reorder. (proc-filter-input-sender): New function. (proc-filter-crlf-input-mode): Set comint-input-sender to that. (proc-filter-process-echoes-mode): New minor mode. (proc-filter-saved:comint-process-echoes): Internal variable. (proc-filter-inhibit-quit): New variable. (proc-filter-shell-output-filter): Bind it to inhibit-quit. Also bind inhibit-point-motion-hooks, inhibit-read-only, and buffer-undo-list. (proc-filter-carriage-motion): No need to bind them here anymore. (proc-filter-column-motion): Rewritten. (proc-filter-eol-or-esc): New helper function. (proc-filter-misc-regexp): New defconst. (proc-filter-misc-ctlseqs): Use it. * frame-fns.el (with-selected-display): Don't pass frame arg to frames-on-display-list. This is for Emacs 22 and earlier. (toggle-frame-parameter): Don't check if current value is nil. That might not be the `off' value. (toggle-frame-wm-decoration): New command. Probably needs additional work. (frame-wm-remap): New function. 2022-05-01 Noah Friedman * proc-filters.el (proc-filter-osc): New filter. (proc-filter-shell-output-filters): Add it. 2022-04-20 Noah Friedman * init-macros.el (save-mark-and-excursion): Check if save-mark-and-excursion--save is bound; if not, just use save-excursion. (keywordp): New conditional defun. 2022-03-21 Noah Friedman * nf-color.el: New file. * string-fns.el (sexp-lessp): Fix typo. 2022-03-18 Noah Friedman * buffer-fns.el: Remove autoload cookies for noninteractive functions. (text-property-regions, text-property-regions-sorted): New functions. 2022-03-17 Noah Friedman * proc-filters.el (proc-filter-column-motion): Bounds check negative distance. * ssh.el (ssh-command-args): New buffer-local variable. (ssh-after-start-hook): New hook. (ssh): Run it after all else, if starting new process. * string-fns.el (sexp-lessp): New function. (symbol-name-lessp): Deleted. This was just a special case of s-expression. * buffer-fns.el (buffer-process-list): (current-buffer-process): New functions. 2022-03-16 Noah Friedman * host-fns.el (abbreviate-hostnick): Make more portable by not depending on 3-arg version of split-string. Handle empty ("null") strings another way. * file-fns.el: Do not hardcode ~/.emacs.d/ into paths. (nf-backup-directory): New variable, incorporating user-emacs-directory. (nf-ro-backup-directory-alist, make-auto-save-file-name): Use it. 2022-03-14 Noah Friedman * buffer-fns.el: Fix 25+ year old typo in a command name. Also rewrite it using ancient subr functionality: The Fset_text_properties function existed at least as early as 1992, probably via Joseph Arceneaux. In any case, well before the first (public) release of Emacs 19.7. The Foverlays_in function first appeared in 1995 (Emacs 19.30). * buffer-fns.el (nuke-all-text-properties): Fix typo. Just use set-text-properties instead of traversing the buffer looking for text property changes. (nuke-all-overlays): Just use overlays-in to get a list of overlays in the region, rather than traversing the buffer looking for them. * string-fns.el (with-command-output-to-clipboard): Use gui-select-text if fbound. 2022-02-18 Noah Friedman * upower.el: New functions and some renaming for consistency. (upower-dbus-devices-interface, upower-dbus-wakeups-path): upower-dbus-wakeups-interface): New defconsts. (upower-device-get-names): Renamed from upower-get-device-names. (upower-device-get-all-properties): Renamed from upower-get-device-properties. (upower-device-get-property): Renamed from upower-get-device-property. (upower-device-get-state, upower-device-get-type): (upower-device-get-warning-level, upower-device-get-tech): Renamed from upower-get-device-*. (upower-device-get-method-names, upower-device-argument-names): (upower-device-call-method, upower-device-get-history): (upower-wakeups-get-capability, upower-wakeups-get-total): (upower-wakeups-get-data, upower-daemon-version) (upower-lid-closed-p): (upower-lid-closed-p, upower-get-argument-names): (upower-device-path): New functions. 2022-02-15 Noah Friedman * list-fns.el (npatch-function): If target has active advice, deactivate it while working and reactivate it afterward. For this to work, the function arg needs to be the symbol name, not the symbol-function. 2022-02-07 Noah Friedman * upower.el: New file. 2022-02-06 Noah Friedman * host-fns.el (abbreviate-hostnick): Rewritten. New optional arg nhmaxlen to limit the length of non-hyphenated strings. 2022-02-02 Noah Friedman * listbuf.el: Add sort by File column. (listbuf-sort-by-visited-file-order): New command. (Buffer-menu-mode-map): Bind 'F' to it. 2022-01-25 Noah Friedman * string-fns.el (symbol-name-lessp): New function. 2022-01-01 Noah Friedman * nf-other-window.el: New file. 2020-11-26 Noah Friedman * string-fns.el (xor-string): New function. 2020-11-06 Noah Friedman * listbuf.el (listbuf-get-Mode): If buffer has a process but mode-line-process is nil, supply a default format spec. 2020-11-05 Noah Friedman * listbuf.el (listbuf-display-all-buffers): New command. Bind it to `A'. 2020-11-04 Noah Friedman Cannot use tabulated-list-entry-size-> in listbuf-field-table because that assumes the size column number is a constant. * listbuf.el (listbuf-get-C): Simplify. (listbuf-collected-widths): Initialize from format labels. (listbuf-sort-cmp-size): New function. (listbuf-field-table): Use it for Size field. (listbuf-sort-cmp-buffer-order): Renamed from listbuf-sort-cmp-physical-order. (listbuf-sort-by-buffer-order): Renamed from listbuf-sort-by-original-order. (listbuf-sort-by-buffer-name): New command. Bind it to `B'. 2020-11-03 Noah Friedman * listbuf.el: Complete rewrite for Emacs 24 and later. This rewrite depends on the tabulated-list backend introduced in v24. * obsolete/listbuf.el: Move old version here. 2020-10-27 Noah Friedman * frame-fns.el (disabling-buggy-dynamic-bytecode): Don't check the value of byte-compile-dynamic, just emacs version. This variable is obsolete as of Emacs 27. (toggle-font-backend-order): Misc comment editing. 2020-10-26 Noah Friedman * init-macros.el (setq-locals): Renamed from setq-local and defined unconditionally. Add docstring. (setq-local): defalias-undefined to setq-locals. * buffer-fns.el (setq-locals): Duplicate function removed. This is defined in init-macros.el. 2020-09-26 Noah Friedman * vh-scroll.el (vh-scroll-mode): Define minor mode. (vh-scroll-point-visible): Do nothing unless vh-scroll-mode is on. * init-macros.el (setq-local): Handle multiple pairs. 2020-09-25 Noah Friedman * cddb.el: New file. 2020-09-19 Noah Friedman * frame-fns.el (toggle-font-backend-order): New command. 2020-04-17 Noah Friedman * ctwm-fns.el (make-ctwm-workspace-frames): Append additional search on display geometry. 2020-02-12 Noah Friedman * nf-cl-lib-compat.el (cl-first, cl-second, cl-third) (cl-eval-when): New aliases. 2019-10-04 Noah Friedman * flash-paren.el (flash-paren-do-flash-with-overlay-faces): Wrap call to redisplay in save-excursion. This is the latest attempt to avoid point being moved in one window to a point where another window displaying the same buffer has a different point. [2020-10-28: this seems to have worked.] 2019-09-28 Noah Friedman * ctwm-fns.el (ctwm-remap-frame): Fix order or args to set-frame-xprop to match its revised calling convention. * frame-fns.el (frame-xprop): Check if frame is an integer and pass it as window-id if so to x-window-property-attributes. (set-frame-wm-normal-hint): Fix order of type and format to set-frame-xprop's new calling convention. (set-frame-wm-hint): Here also. 2019-09-25 Noah Friedman * list-fns.el (npatch-function): Use `cl-do', not `do'. 2019-09-19 Noah Friedman * frame-fns.el: Add optional window-id arg to all of the frame xprop functions, which can be used in place of passing the id as the frame arg. This is a bit cleaner for multi-display cases. Also, add some more type inferencing and data conversion for corner cases. (frame-xprop-raw): New optional arg window-id, which can be used in place of passing the window-id as the frame parameter. (frame-xprop): Here also. Handle emacs returning any data type as a string if element size is 8. In particular, if the property attributes say it's an INTEGER or CARDINAL, then do the proper conversion. (set-frame-xprop): New optional arg window-id here also. Only supported in Emacs 27 and later. If value is a single number, convert it to a list since that's what x-change-window-property requires. Do better inferencing of data type when not provided. For example if value to be set is a list of integers, see if any are negative and use INTEGER instead of CARDINAL. 2019-09-18 Noah Friedman * dbfrobs.el: Make public domain. (dbfrobs::uninteresting-error-conditions): Add `user-error'. 2019-09-09 Noah Friedman * list-fns.el: Require 'cl-lib. (npatch-function): Use cl-nsubst, not nsubst. 2019-09-01 Noah Friedman * ctwm-fns.el: Require 'cl-lib. (make-ctwm-workspace-frames): Use cl-assoc, not assoc*. * nf-cl-lib-compat.el: New file. * host-fns.el: Require cl-lib, not cl. (host-name-to-addr): Use cl-subseq, not subseq. 2019-08-07 Noah Friedman * init-macros.el (init-map-plist): New macro. (setq-default-values): Use it instead of `map-plist'. The latter is defined in list-fns.el but this package should not require any external packages. 2019-08-06 Noah Friedman * init-macros.el: New file. * dired-fnotify.el (dired-fnotify-callback): Check that we still care about the event, i.e. that dired-fnotify-fdassoc still has an entry for the event fd. * buffer-fns.el: Remove some long-obsolete charset display hacks for non utf8-capable terminals. (disptable-w32/palmos-8bit-glyph-map): Variable deleted. (disptable-insert-w32/palmos-8bit-glyphs): Function deleted. 2019-07-30 Noah Friedman * buffer-fns.el (messages-syslog): New variable. (messages): When invoked with prefix arg, display that file. 2019-07-18 Noah Friedman * list-fns.el (npatch-function): New function. 2019-06-05 Noah Friedman * frame-fns.el (xrdb-symbols, xrdb-symbol-value): New functions. 2019-06-04 Noah Friedman * file-fns.el (make-autosave-for-buffer-before-kill-p): Don't make kill-buffer-hook buffer-local explicitly; just use the `local' flag to `add-hook'. 2019-05-24 Noah Friedman * imapcount.el (imapcount-get-pass): Require all of host,port,user in auth store to match. 2019-05-22 Noah Friedman * ascii-table.el: Make public domain. (ascii-table-display): Don't disable multibyte; let the display engine do its job. (ascii-table-char-display): Return display strings for bytes between 161-255. 2019-05-11 Noah Friedman * vm-advices.el (vm-make-multibyte-work-buffer): New advice. (vm-make-work-buffer): New advice. (vm-with-string-as-temp-buffer): Removed. Since this is a defsubst (at least in VM 8.1.2), it had no effect on compiled packages. 2019-05-06 Noah Friedman * imapcount.el (imapcount-get-pass): New function. (imapcount-start): Use it. Document that user will be queried interactively if the variable `imapcount-pass' is nil. (imapcount-pass): Specify customization type as either string or function. (imapcount-server): Default to localhost; don't depend on smtpmail-smtp-server. * string-fns.el (with-command-output-to-string): Remove final newline from output. Use with-temp-buffer instead of unsafe clunky inline code. (with-command-output-to-clipboard): Don't check for final newline. 2019-05-05 Noah Friedman * imapcount.el: New file. 2019-01-14 Noah Friedman * frame-fns.el (set-frame-wm-hint): Call frame-modify-field-prop, not frame-parse-field-prop. Add in initial-state plist. 2018-12-17 Noah Friedman * flash-paren.el (flash-paren-do-flash-with-overlay-faces): More attempts to work around strange multi-window point-jumping behavior: Call `redisplay' without argument. Do not select windows. 2018-09-07 Noah Friedman * vm-advices.el (vm-with-string-as-temp-buffer): New defadvice. 2018-08-31 Noah Friedman * moo.el (moo): Remove redundant &optional keyword. Reported by Faried Nawaz 2018-03-06 Noah Friedman * ctwm-fns.el: Add support for renamed X properties of ctwm 4.0. (ctwm-workspace-count): Try _NET_NUMBER_OF_DESKTOPS before _WIN_WORKSPACE_COUNT. (frame-ctwm-workspace-number): Try _NET_WM_DESKTOP before _WIN_WORKSPACE. 2018-02-02 Noah Friedman * flash-paren.el (flash-paren-do-flash-with-overlay-faces): Save selected window and always re-select after sleeping. If the buffer is visible in multiple windows, the current window's point will sometimes move to the same point as in the other window when input arrives. I haven't tracked down where this is happening, but it started sometime in Emacs 26. 2017-12-27 Noah Friedman * math-fns.el (monitor-WxH, monitor-diagonal): New functions. Prefix all financial functions with `fin:'. (fin:loan-payment-per-period): New function. (fin:principal-balance): New function. 2017-11-07 Noah Friedman * proc-filters.el (proc-filter-column-motion): Some escape sequences assumes first column is 0, others (msdog) are 1. Adjust to 0, but no lower. 2017-11-03 Noah Friedman * proc-filters.el (proc-filter-column-motion): Don't erase lines entirely, i.e. delete but ignore "\e[y;1H\n". * buffer-fns.el (find-buffers-named): New function. 2017-11-02 Noah Friedman * proc-filters.el: Make public domain. Remove autoload cookies for non-interactive functions. (proc-filter-column-motion): Also handle full screen positioning (\e[y;xH) but ignore row positioning. If column position is less than point, delete chars between point and specified col. Column 1 in an escape sequence is column 0 in the emacs buffer, so adjust accordingly. 2017-10-26 Noah Friedman * warlord.el (warlord-bait): Use abs, not warlord-abs. 2017-10-12 Noah Friedman * vm-addons.el: Make public domain. Remove autoload cookies from non-interactive functions. (vma-folder-font-lock-citation-faces): (vma-folder-font-lock-make-citation-level): (vma-folder-make-header-font-lock-regexp): (vma-folder-font-lock-keywords): (vma-folder-font-lock-match-me-multdom): (vma-folder-font-lock-signature-matcher): (vma-folder-font-lock-setup): Moved to vm-fontlock.el and prefix changed from vma- to vmfl-. * vm-addons.el (buffer-fns): require it. (vma-w3m-cite-mode): New variable and command. (vma-w3m-cite-chars): New variable. (vma-w3m-cite-preprocess, vma-w3m-cite-postprocess): New functions. (vma-mime-display-internal-emacs-w3m-text/html): New function. (vm-mime-display-internal-emacs-w3m-text/html): New defadvice. Perform normal unadvised behavior when vma-w3m-cite-mode is nil. * vm-fontlock.el: New file. 2017-10-10 Noah Friedman * vm-advices.el: Make public domain. Prefix all advice labels with 'vm-adv:'. (vm-mime-can-display-internal) (vm-mime-display-internal-text/html): Remove advice. VM 8.x has reworked html presentation and these are obsolete. (vm-decode-mime-message, vm-mime-parse-entity): (vm-make-presentation-copy): (vm-match-data, vm-mime-get-header-contents): (vm-mime-insert-button): (vm-preview-current-message): Leave defined but disabled. I suspect these are obsolete, but want to test. * vm-addons.el (vma-folder-font-lock-setup): Disable region unfontification in the buffer. (vma-folder-font-lock-make-citation-level): Specify 'keep for fontification, to preserve any existing font properties in a region. 2017-10-08 Noah Friedman * face-fns.el: Make public domain. (color-name-to-xcms-name): New function. 2017-09-19 Noah Friedman * file-fns.el (make-auto-save-file-name): New defadvice. Put autosaves under ~/.emacs.d if original directory is not writable. 2017-09-18 Noah Friedman * win-disp-util.el (wdu-split-window-keep-point): Set :type 'sexp. * frame-fns.el (frame-fns::called-interactively-p): New macro. (display-balanced-single-quotes): Use it. (ffx-frame-geometry-string): fix calls to ffx-geometry-coord-add, from x-geomtry-coord-add. (frame-modify-field-prop): Pass field-name to format. (set-selected-frame-title): Remove long-obsolete alias. (large-simple-frame-setup): Use (system-name) rather than system-name. 2017-09-17 Noah Friedman * win-disp-util.el (wdu-temp-buffer-completion-restore-point): Don't call `redisplay' unless it's defined. It was added in Emacs 22. * update-gpl.el: New file but old code, extracted from old private inits. * frame-fns.el (ffx-font-dimensions): Don't assume font-info always returns non-nil. This can happen in earlier versions of emacs where it cannot look up fonts it has not already rendered. (ffx-atom-list): Use delete-char, not delete-backward-char. (make-large-simple-frame): Set menu-bar-lines to 0 in new frame params. * buffer-fns.el (toggle-variable-command): New function. 2017-09-09 Noah Friedman * nf-ucs.el (nf-ucs-apropos-display): Sort results in ascending order. (nf-ucs-apropos): Handle case where ucs-names is a hashtable. (nf-ucs-char-name): Here also. Display octal and decimal values in addition to hex code point. * buffer-fns.el (smallcaps-table): Handle case where ucs-names is a hashtable instead of an alist. * frame-fns.el (make-large-simple-frame-fontset-alist): Specify iso10646-1 for all fonts. For terminus fonts, specify `xos4' as the foundry to force lookup of X bitmap fonts and not a freetype-rendered version of same. 2017-08-31 Noah Friedman * string-fns.el: Make public domain. Remove all autoload cookies; none of these are interactive commands. (with-command-output-to-clipboard): New function. 2017-08-28 Noah Friedman * fff-elisp.el (fff-find-loaded-emacs-lisp-function-or-variable): Only warn that source file may not correspond to compiled file if they are found in different directories. Emacs 24 and later no longer record source files in the elc file, so searching and finding a side-by-side source file is the most likely case now. 2017-08-27 Noah Friedman * dired-fnotify.el (dired-fnotify-schedule-restart): Revert previous change of 2016-10-11: use run-with-timer, not run-with-idle-timer. This seems to work better. (dired-fnotify-remove-watch): Message in echo area if there is an exception from file-notify-rm-watch. 2017-08-16 Noah Friedman * win-disp-util.el: Make public domain. Remove autoload cookies from all non-interactive functions. (win-disp-util): New defgroup. (wdu-split-window-keep-point): Convert to defcustom. (wdu-delete-window-keep-point): Here also. 2017-06-05 Noah Friedman * motion-fns.el (next-narrowed-page, prev-narrowed-page): New commands. * escreen.el (escreen-get, escreen-set): Move into eval-and-compile before the definition of escreen-make-frame-specific-accessors so that the compiled code will use whatever new changes are made to those defsubsts rather than a prior loaded definition. (escreen-make-frame-specific-accessors): Make accessors accept optional arg FRAME. The program does not currently need this, but might someday and the generic get/set defsubsts already accepted a frame argument. 2017-05-25 Noah Friedman * escreen.el: Make public domain. Remove dependency on frame-local variables, since they were deprecated in 2008 and completely unsupported in Emacs 26. Data is still stored in per-frame parameters, but they are set and retrieved explicitly. (escreen-configuration-alist, escreen-current-screen-number) (escreen-last-screen-number, escreen-highest-screen-number-used) (escreen-one-screen-p): Variables deleted, replaced with frame-parameter accessor functions. All references in program changed. (escreen-current-screen-string, escreen-frame-local-variables): Variables removed entirely. (escreen-frame-default-values): New variable. Default values for frame-specific variables are here now. (escreen-make-frame-specific-accessors): New macro. Used to define functions `foo' and `set-foo' for each of the symbols in `escreen-frame-default-values'. (escreen-get, escreen-set): New functions used by accessors. (escreen-mode-line-format): Use new accessors. Make variable risky-local so display engine will trust it. (escreen-save-current-frame): Renamed from `escreen-save-frame-excursion'. (escreen-mapc): Defalias removed. Just use `mapc' throughout. (escreen-map-frames): Removed. (escreen-install): Just inline mapping, since this is the only place escreen-mapc was used previously. Don't check for, or use, `make-variable-frame-local'; modify `after-make-frame-functions' unconditionally. (escreen-initialize-frame-variables): Don't bother copying default values into frame-specific parameters; `escreen-get' already falls back to those. 2017-01-09 Noah Friedman * frame-fns.el (make-variable-frame-specific) (frame-specific-variable-p, frame-specific-value) (set-frame-specific-value): New functions. (make-large-simple-frame-fontset-form): New optional arg frame. Retrieve frame-specific value of make-large-simple-frame-fontset, if any. 2017-01-05 Noah Friedman * list-fns.el (map-plist): New macro. * frame-fns.el (frame-type-local-standard-display-table): (set-frame-type-local-standard-display-table): (make-standard-display-table-frame-local): Declare obsolete as of 26.0. 2016-11-24 Noah Friedman * agchat.el, disptime.el, emacs-variants.el, fff-rfc.el: * frame-fns.el, invoice.el, linux-coretemp.el, listbuf.el: * proc-filters.el, rmail-frobs.el, timestamp.el, update-dns.el: * vm-addons.el, what-domain.el, xterm-frobs.el: Replace all calls to `string-to-int' with `string-to-number'. The latter has been the preferred name since Emacs 19; the former has been completely removed from Emacs 26. 2016-11-09 Noah Friedman * fff-elisp.el (fff-emacs-lisp-def-regexp): Can't use \\S- syntax class in []. Since `-' is in the elisp symbol syntax class already, don't use []. 2016-10-11 Noah Friedman * dired-fnotify.el (dired-fnotify-schedule-restart): Use run-with-idle-timer, not run-with-timer. 2016-08-23 Noah Friedman * string-fns.el (chop-string): New function. 2016-08-22 Noah Friedman * buffer-fns.el (fold-sexp-indent): New command. 2016-08-20 Noah Friedman * dired-fnotify.el: New file. 2016-08-09 Noah Friedman * ctwm-fns.el (frame-ctwm-workspace-number): Update docstring. (frame-ctwm-workspace-name): Return whole xprop, not car. * frame-fns.el (frame-xprop): Coerce negative numeric return values to unsigned. (frame-parse-field-prop): If slot is not a list of integers, just use the slot value instead of the corresponding aref of the vector. (frame-modify-field-prop): If slot is not a list of integers, don't modify anything in the vector except for the corresponding bit in flags. (frame-wm-hints-field): Order fields in descending numerical order. Rename `icon-start-pos' to `icon-position'. Rename `icon-bitmap-mask-id' to `icon-mask-id'. 2016-08-06 Noah Friedman * frame-fns.el (save-current-frame): Remove superfluous def-edebug-spec. (frame-xprop::record-field): Function deleted. (frame-xprop::set-symbolic-afield): Function deleted. (frame-xprop-parse::WM_NORMAL_HINTS): Function deleted. (frame-xprop-parse::WM_HINTS): Function deleted. (frame-xprop-raw): New function. (frame-xprop): Use frame-xprop-raw. (set-frame-xprop): New function. (frame-parse-field-prop): New function. (frame-modify-field-prop): New function. (frame-wm-normal-hints-field): New variable. (frame-wm-normal-hints-window-gravity); Renamed from frame-xprop-vector::gravity. (frame-wm-normal-hints): New function. (set-frame-wm-normal-hint): New function. (frame-wm-hints-field): New defconst. (frame-wm-hints-initial-state): Renamed from frame-xprop-vector::initial-state (frame-wm-hints): New function. (set-frame-wm-hint): New function. (ffx-set-frame-geometry): Doc fix. * ctwm-fns.el (ctwm-workspace-names): Check WM_WORKSPACESLIST before _WIN_WORKSPACE_NAMES. (ctwm-remap-frame): New function. (set-frame-ctwm-workspace): Use it. Use set-frame-xprop instead of x-change-window-property. 2016-07-29 Noah Friedman * flash-paren.el (flash-paren-background-at-pos): Handle case that face property is a cons, not an alist. 2016-07-27 Noah Friedman * flash-paren.el: Avoid using sit-for when alternative method is available (Emacs 22 or later). Make program public domain. (flash-paren-matching-paren): defalias to lambda instead of defun. (flash-paren-while-no-input): New macro. (flash-paren-do-flash-with-overlay-faces): Use it. Avoid sit-for when possible. 2016-07-14 Noah Friedman * fff-rfc.el (fff-rfc-path): Remove obsolete directories. Update /com/doc path. (fff-rfc-extensions): Add ".xz". 2016-07-04 Noah Friedman * nuke-whitespace.el: Make public domain. (nuke-trailing-whitespace-p): (nuke-trailing-whitespace-always-major-modes): (nuke-trailing-whitespace-never-major-modes): Add autoload cookies. 2016-06-11 Noah Friedman * math-fns.el (capacity-si2bi): New function. 2015-12-15 Noah Friedman * ysq.el (ysq-server): Update. (ysq-ticker-collect-internal): Add e=.csv. Add Host header in HTTP request. 2015-11-09 Noah Friedman * frame-fns.el (toggle-frame-parameter): New function. (toggle-frame-menu-bar-mode): New command. (toggle-frame-tool-bar-mode): New command. (toggle-frame-scroll-bar-mode): New command. (toggle-frame-horizontal-scroll-bar-mode): New command. (toggle-frame-fringe-mode): New command. 2015-10-20 Noah Friedman * host-fns.el (host-addr-to-string): Function deleted. Just use standard format-network-address function. * socks4.el: New file. 2015-10-19 Noah Friedman * host-fns.el: Make public domain. Remove all autoload cookies; these are functions, not commands, and other libraries should explicitly require this one. (host-name-to-addr): New function. (host-addr-to-string): New function. (host-nickname): Function deleted. 2015-10-18 Noah Friedman * buffer-fns.el (setq-locals): Create a series of `(set (make-local-variable 'var) val)' sexps instead of a single multi-pair setq at the end of the progn. 2015-09-13 Noah Friedman * buffer-fns.el (reverse-characters-region): New command. (reverse-characters-rectangle): New command. 2015-08-26 Noah Friedman * frame-fns.el (copy-char-table): Use set-char-table-range, not aset. * motion-fns.el: Make public domain. (move-to-column-rigidly): Fix interactive spec. 2015-06-30 Noah Friedman * warlord.el: Make public domain. (warlord-abs): Function deleted. Use random with numeric arg directly throughout. This macro was only needed for Emacs 18. (warlord-random): Function deleted. (warlord-random-number-string): New function. All callers of warlord-random changed. (warlord-bait-phone-number): Use format. (warlord-random-elt): New function. (warlord-bait): Use it. Handle differences in fill-region-as-paragraph after emacs 19. * flame.el (flame-random): Macro deleted. Use random with numeric arg directly throughout. This macro was only needed for Emacs 18. (flame-random-member): Make defsubst and don't check if arg is a list. 2015-06-27 Noah Friedman * scalia.el (scalia-grammar-new): Fix missing parens. Make defconst. (scalia-grammar): Make defconst. 2015-06-26 Noah Friedman * scalia.el: New file. 2015-02-18 Noah Friedman * flash-paren.el (flash-paren-check): Check that cursor is not in the echo area. 2015-02-07 Noah Friedman * fff-elisp.el (fff-emacs-library-suffixes): New constant. (fff--emacs-lisp-library): Use it. (fff-locate-emacs-lisp-library): Use it. (fff-emacs-lisp-function-loadfile): Use it. (fff-elisp-load-history-file-name): Use it. (fff-emacs-lisp-subr-regexp): New variable. (fff-emacs-subr-source-file): New function. (fff-find-emacs-subr): New function. (fff-find-loaded-emacs-lisp-function-or-variable): Use it. (fff-elisp-make-emacs-lisp-library-completions): Check for compressed files also. 2015-02-06 Noah Friedman * list-fns.el: Make public domain. Remove all autoload cookies. Use (declare (indent ..)) for all functions that formerly had a separate sexp fiddling with lisp-indent-function directly. Add debug declare form to macros. (lf-macrop): Renamed from macrop. Alias if the latter is not defined (it is in Emacs 25). (lf-autoloadp): Renamed from autoloadp. Alias if the latter is not defined (it is in Emacs 24). (lf-functionp): Renamed from functionp. Alias if the latter is not defined (it is in Emacs 23). 2015-02-05 Noah Friedman * frame-fns.el: Replace sexps modifying lisp-indent-function properties with their corresponding (declare (indent ..)) statements inside the function. Add debug declaration for macros. Remove autoload cookies from anything but interactive commands. (ffx-font-dimensions): Handle pre-Emacs 25 short font-info return values. (ffx-screen-display-name): New function. * ctwm-fns.el: Renamed from ctwm.el. Remove autoload cookies from anything but interactive commands. (iconify-new-ctwm-workspace-frames): New user option. (make-frame-on-ctwm-workspace): Support putting workspaces on different X display screens. New optional arg for window decoration. (ctwm-workspace-frames-alist): New user variable. (make-ctwm-workspace-frames): New command. 2015-02-04 Noah Friedman * frame-fns.el (ffx-font-dimensions): Handle Emacs 24 and earlier font-info not returning enough fields. 2015-02-03 Noah Friedman * frame-fns.el (ffx-font-dimensions): Use `font-info' if available. (frame-symbol-to-xprop-name): Keywords have 1 leading colon, not 2. (large-simple-frame-setup): New function. (make-large-simple-frame): Call it instead of inline setup. (make-frame-with-geometry-use-lsf-fontset): New variable. (make-frame-with-geometry): Use it. 2015-02-02 Noah Friedman * ctwm.el: New file. * frame-fns.el (make-frame-with-geometry): New function. (save-current-frame): Renamed from save-frame-excursion. Since no state other than the selected frame is preserved, this name is more consistent with `save-current-buffer' and friends. (ffx-frame-geometry-string): Renamed from x-frame-geometry. The former name of this function conflicted with a new C primitive in Emacs 25. (ffx-display-completions, ffx-display-history) (ffx-display-complete, ffx-display-add-completion) (ffx-display-remove-completion, ffx-display-completing-read) (ffx-font-name-completing-read, ffx-set-frame-position) (ffx-set-frame-position, ffx-geometry-coord-add) (ffx-adjust-frame-position, ffx-set-frame-geometry) (ffx-font-dimensions, ffx-atom-list): Changed start of names from "x-" to "ffx-" to avoid potential conflict with standard Emacs functions in the future. (frame-xwininfo): No need to use with-selected-display. (ffx-set-frame-position): No need to use with-selected-display. 2015-02-01 Noah Friedman * buffer-fns.el (with-command-output-to-temp-buffer): New macro. * frame-fns.el: Require buffer-fns. (x-atom-list): New function. (frame-xprop-vector::initial-state): Capitalize elts. (with-selected-display): New macro. (frame-xwininfo): Use it. (x-set-frame-position): Use it. (frame-xprop): Use it. Remove code that was redundant with frame-symbol-to-xprop-name. Fix missing space in args to split-string. Remove unnecessary call to substring. 2015-01-31 Noah Friedman * frame-fns.el (frame-xprop-vector::gravity): New variable. (frame-xprop-vector::initial-state): New variable. (frame-xprop): New function. (frame-symbol-to-xprop-name): New function. (frame-xprop::record-field): New function. (frame-xprop::set-symbolic-afield): New function. (frame-xprop-parse::WM_NORMAL_HINTS): New function. (frame-xprop-parse::WM_HINTS): New function. 2015-01-25 Noah Friedman * file-fns.el (live-find-file): New command. 2015-01-11 Noah Friedman * disptime.el (disptime-force-mode-line-update): Don't call sit-for when using force-mode-line-update, to work around emacs git commit 614beeecf29d16c08f66a4f82b6085be90df8a47. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19494 for more details. Change license to public domain. 2015-01-02 Noah Friedman * mapcar.el: Remove all autoload cookies and move file to obsolete subdirectory. Equivalent definitions exist in the cl-extras library. 2014-12-20 Noah Friedman * proc-filters.el (proc-filter-crlf-input-mode): New minor mode. 2014-12-12 Noah Friedman * buffer-fns.el (smallcaps-table): New variable. (smallcaps-region): New command. (smallcaps-word): New command. (smallcaps-rectangle): New command. 2014-11-17 Noah Friedman * load-fns.el (add-forms-to-after-load-alist): Use progn rather than lambda, for better compatibility. It seems that in some circumstances what gets pushed to the alist is a form which returns a quoted lambda expression instead of evaluating the lambda expression itself. Perhaps because lambda is itself a macro. If there is only one sexp, do not even wrap it in a progn. 2014-11-15 Noah Friedman * proc-filters.el (proc-filter-shell-erase-buffer): Ignore read-only text properties, but not read-only buffers. 2014-10-30 Noah Friedman * win-disp-util.el (wdu-set-window-text-height): New command, analogous to set-window-text-height, but interactive. (wdu-set-window-text-width): New command. Emacs 24 does not have an analogous function. 2014-08-23 Noah Friedman * linux-coretemp.el (coretemp-dirs): Return both hwmon subdirs *and* coretemp top level dirs. The actual temp input files will be in the latter on 3.8 and earlier kernels. 2014-08-06 Noah Friedman * linux-coretemp.el: Handle hwmon subdirs present in newer kernels, sometime between 3.7 and 3.14. (coretemp-sys-dir): Renamed from coretemp-sys-directory. (coretemp-dir-re): Renamed from coretemp-directory-re. (coretemp-hwmon-dir-re): New variable. (coretemp-dirs): Return hwmon subdirs if they exist. (coretemp-dir-inputs): Append "/" to dir if necessary. 2014-05-09 Noah Friedman * vm-vcal.el: New file. 2013-08-03 Noah Friedman * hack-locals.el: Add library headers as per http://www.gnu.org/software/emacs/manual/html_node/elisp/Library-Headers.html and requested by Jonas Bernoulli . * doh.el: Here also. * viewtex.el: Here also. * deep-copy.el: Here also. * zalgo.el: Here also. * doh.el: Make public domain. * viewtex.el: Here also. * deep-copy.el: Here also. * zalgo.el: Here also. 2013-07-02 Noah Friedman * load-fns.el (add-forms-to-after-load-alist): Use eval-after-load and lambda-wrap the forms. Sometime around 2013-06-15 the evaluation of forms was reduced from `eval' to `funcall' over every item. * czscm.el (in-czscm): Replace old-style backquotes. * map-win.el (map-win): Here also. * order-head.el (mail-reorder-headers-save-undo-boundary): Here also. * save-undo.el (save-undo-boundary): Here also. * setq-trap.el (setq-trap): Here also. 2013-05-16 Noah Friedman * buffer-fns.el: Make entire file public domain. (capitalize-rectangle): New function. 2013-04-19 Noah Friedman * fff-elisp.el (fff-emacs-lisp-def-regexp): Explicitly include `-' in symbol names in addition to \\S- matching characters, in case `-' has been modified in emacs-lisp mode to be treated as whitespace for motion-related reasons. 2013-04-07 Noah Friedman * buffer-fns.el (copy-and-comment-lines): Renamed from copy-and-comment-region. When called interactively, make sure newly commented lines are within the narrowed region if narrowed, and make sure they are visible in the window if at the very top. * string-fns.el (cram-md5-response): New function. 2013-04-06 Noah Friedman * buffer-fns.el (toggle-mode-line-inverse-video): Use mode-line face when defined, instead of modeline. Don't set mode-line-inverse-video if currently unbound. 2013-04-05 Noah Friedman * buffer-fns.el (copy-and-comment-region): New function. 2012-11-21 Noah Friedman * nf-ucs.el (nf-ucs-tabulated-list-format): New constant. (nf-ucs-tabulated-list-entries): New variable. (nf-ucs-use-header-line): New variable. (nf-ucs-apropos-mode): New function. (nf-ucs-sort-pred): New function. (nf-ucs-apropos-display): Use tabulated-list mode. 2012-08-25 Noah Friedman * fshell.el (fshell-send-commands): Shorten timeout for accept-process-output to .1. Prior to sending commands, check for prompt, not just for process output. 2012-08-04 Noah Friedman * string-fns.el (with-output-to-string): Delete macro. * vh-scroll.el: Add provide. * upside-down.el: Add provide. 2012-07-25 Noah Friedman * frame-fns.el (make-large-simple-frame-fontset-font): New function. (make-aaa-frame): Use it. (make-large-simple-frame): Use it. Remove description of font sizes used for specific display resolutions from docstring. 2012-07-09 Noah Friedman * proc-filters.el (proc-filter-sentinel): New function. * ssh.el (ssh-carriage-filter): Delete obsolete function. (ssh): Don't add it to comint-output-filter-functions, and especially don't add it *after* the call to ssh-mode, as the last change inadvertently did. * ftelnet.el (ftelnet-carriage-filter): Delete obsolete function. (ftelnet): Don't add it to comint-output-filter-functions. 2012-06-24 Noah Friedman * ssh.el (ssh): Don't check for make-local-hook; use 4-arg add-hook call unconditionally. 2012-01-05 Noah Friedman * nf-procmail-mode.el (nf-procmail-mode): Modify syntax of backslash to be an escape char. 2011-12-06 Noah Friedman * frame-fns.el (make-large-simple-frame): Move frame upper-left corner position to 0,0 only if the requested coordinates to the function were both null and/or zero. This is to force such windows into the upper left hand corner even if the window manager places them randomly elsewhere on the display when the requested coordinates are 0,0. 2011-11-28 Noah Friedman * nf-configparser.el (nf-configparser-end-of-defun): New function. (nf-configparser-beginning-of-defun): New function. (nf-configparser-mode): Set them to be used. 2011-11-21 Noah Friedman * nf-configparser.el (nf-configparser-mode): Set font-lock-defaults rather than modifying the existing value; the latter causes settings to change for all other conf minor modes. 2011-11-13 Noah Friedman * nf-configparser.el: New file. (nf-configparser-mode): Add autoload cookie. 2011-11-07 Noah Friedman * frame-fns.el (make-large-simple-frame): Set frame upper-left corner position to 0,0. 2011-11-06 Noah Friedman * fff-rfc.el (fff-find-rfc): Disable vc-handled-backends temporarily. 2011-10-10 Noah Friedman * frame-fns.el (make-large-simple-frame): Use x-list-fonts to select valid fontspec. 2011-08-15 Noah Friedman * linux-coretemp.el: Handle linux 2.6.40 / linux 3.0 coretemp module, which defines one coretemp.N directory for each socket, and multiple temp*_input files beneath for each physical (non-ht) core. 2011-08-14 Noah Friedman * linux-coretemp.el (coretemp-average): Don't divide by zero if no coretemp values. 2011-06-13 Noah Friedman * proc-filters.el (proc-filter-shell-output-filter): Do nothing if there is no buffer process. * ftelnet.el (ftelnet): Use 4-argument variation of add-hook to modify local hooks; do not use make-local-hook or make-local-variable anymore. (ftelnet-user-output-filter): Here also. (ftelnet-user-output-filter): Remove hooks from local values, not default values. (ftelnet-user-input-filter): Here also. 2011-05-13 Noah Friedman * win-disp-util.el (wdu-delete-window): Select n-win after deleting previous window. This is also selects n-win's buffer. Don't consider top window point unless top and next window were displaying the same buffer. 2011-05-04 Noah Friedman * linux-coretemp.el: New file. 2011-01-26 Noah Friedman * math-fns.el (gamma): New function. 2010-11-15 Noah Friedman * win-disp-util.el (wdu-temp-buffer-completion-fixup-data): New variable. (wdu-temp-buffer-completion-save-point): New function. (wdu-temp-buffer-completion-restore-point): New function. 2010-11-13 Noah Friedman * fshell.el (fshell-reuse-visible-buffers): New variable. (fshell-reuse-visible-buffer-frames): New variable. (fshell-buffer-name-p): New function. (fshell-buffer-local-value-pre22): New function. (fshell-buffer-local-value): New defalias. (fshell-process-matching-shell-directory): New function. (fshell): New behavior: when given a single universal prefix arg, look for an existing shell buffer with the same current working directory, subject to the variables above, before creating a new one. With two universal prefix args, always create a new shell buffer. 2010-11-04 Noah Friedman * vm-addons.el (vma-address-list->regexp): Function removed. (vma-globlist->regexp): Function removed. (vma-mime-boundary): New function. (vma-signature-region): New function. (vma-folder-font-lock-signature-matcher): New function. (vma-folder-font-lock-keywords): Use it. (vma-mime-add-final-boundary): Use fmailutils-header-contents rather than fmailutils-get-header-contents. 2010-11-02 Noah Friedman * vm-addons.el (vma-folder-font-lock-citation-faces): Alter order for personal aesthetics. (vma-folder-font-lock-make-citation-level): Fix mod arithmetic to use n-1. * vm-addons.el (vma-folder-font-lock-citation-faces): New variable. (vma-folder-font-lock-make-citation-level): New function. (vma-folder-make-header-font-lock-regexp): New function. (vma-folder-font-lock-keywords): Use them in revised definition. (vma-folder-font-lock-match-me-multdom): New function. (vma-folder-font-lock-setup): Don't set font-lock-keywords-case-fold-search; instead set case parameter of font-lock-defaults for the mode. * vm-multdom.el (vm-multdom-address-list-regexp): Provide better grouping and anchor to word boundaries rather than begin/end of string/buffer. Doc updates. * fmailutils.el (fmailutils-make-address-regexp): New function. 2010-07-03 Noah Friedman * frame-fns.el (make-large-simple-frame): Bind default-frame-alist to nil. * bytecomp-fns.el (defun-compile): Replace old-style backquotes with modern syntax that has been in use for well over a decade now. (Sheesh.) Necessary as Emacs 24 no longer works well with the old syntax. 2010-04-28 Noah Friedman * proc-filters.el (proc-filter-misc-ctlseqs): New function. 2010-04-27 Noah Friedman * frame-fns.el (display-balanced-single-quotes): Add "Fedora Project" as a recognized x server vendor. Check for new xorg vendor release numbers (e.g. 10706000 => 1.7.6.x) 2010-04-21 Noah Friedman * frame-fns.el (make-large-simple-frame-fontset-alist): Use wildcards to avoid specifying dpi or character set; let emacs figure that out itself. 2010-04-17 Noah Friedman * timestamp.el (time-stamp-date-string): Don't use #' in front of lambda sexp. (time-stamp-concat-form): Nor here. (update-time-stamp): Bind inhibit-field-text-motion non-nil so that beginning-of-line will ignore field property changes; bolp doesn't pay attention to these. 2010-04-07 Noah Friedman * fshell.el (fshell-input-at-current-prompt-p): New function. (fshell-send-commands): New function. 2010-03-22 Noah Friedman * proc-filters.el (proc-filter-symbol-on-hook): New defsubst. (proc-filter-color): Use it. 2010-03-03 Noah Friedman * buffer-fns.el (unfill-region): New command. 2010-02-21 Noah Friedman * file-fns.el (nf-ro-backup-directory-alist): New variable. (make-backup-file-name-1): New defadvice. 2010-02-09 Noah Friedman * hack-locals.el (hack-local-variables-prop-line): If buffer-file-name is nil, use buffer-name in query instead. 2009-12-07 Noah Friedman * math-fns.el (comb:choose, comb:permute): New functions. (sumorial): Reverse order of some operations to avoid integer rounding errors. 2009-10-21 Noah Friedman * xterm-frobs.el (xterm-lisp-indent-region): New function, derived from 23.1 lisp-indent-region. This function was removed from the Emacs source 2009-08-16 by Stefan Monnier . 2009-08-25 Noah Friedman * sendmail-alias.el (sendmail-alias-build-table): New function, derived by combining the old versions of build-mail-aliases and build-mail-abbrevs in this file. Don't call sendmail-alias-expand-include on null abbrev table slots. (build-mail-aliases): Replace with defalias. (build-mail-abbrevs): Replace with defalias. * nuke-whitespace.el: Renamed from whitespace.el. Provide 'nuke-whitespace instead of 'whitespace. (nuke-trailing-whitespace-regexp): Renamed from whitespace-regexp. (nuke-whitespace-eob-newline-regexp): Renamed from whitespace-eob-newline-regexp. (nuke-trailing-whitespace-doit): Renamed from whitespace-do-nuke-whitespace. (nuke-whitespace-check-mode): Renamed from whitespace-check-mode. 2009-05-27 Noah Friedman * face-fns.el (override-face-attributes): Yet again try to get syntax right for custom-set-faces. 2009-05-12 Noah Friedman * comint-popup.el (comint-popup-idle-threshold-max): New variable. (comint-popup-suppress-idle-popup): New command. 2009-03-18 Noah Friedman * face-fns.el (override-face-attributes): Once again try to get syntax right for custom-set-faces. 2008-10-17 Noah Friedman * math-fns.el (APY, interest-earned): New functions. 2008-10-14 Noah Friedman * upside-down.el: New file. 2008-07-21 Noah Friedman * fshell.el (fshell-after-start-shell-hook): New variable. (fshell-start-shell): Run new hook. 2008-03-03 Noah Friedman * frame-fns.el (make-large-simple-frame-fontset-alist): For terminus fontset, specify iso8859-1 explicitly rather than wildcarding; this matters for the v23 font-backend implementation. 2007-09-12 Noah Friedman * buffer-fns.el (temporary-display-command-output): New function. 2007-09-10 Noah Friedman * insert-hooks.el: Removed. * intelli-scroll.el: Removed. * jump-def.el: Removed. * kf-frobs.el: Removed. * lpf-frobs.el: Removed. * mtalk.el: Removed. * rsz-message.el: Removed. * webster.el: Removed. * eldoc.el: Moved to obsolete/ subdirectory. * rlogin.el: Moved to obsolete/ subdirectory. * rsz-mini.el: Moved to obsolete/ subdirectory. * type-break.el: Moved to obsolete/ subdirectory. 2007-08-09 Noah Friedman * bytecomp-fns.el (byte-compile-dest-file): Override original definition use defadvice. * frame-fns.el (disabling-buggy-dynamic-bytecode): New macro. (for-frame-type): Use it. * load-fns.el (read-load-library): New function. (load-offer-compile): Use it. (load-library): Use it. (load-offer-do-compilation): New function. (load-offer-compile): Use it. (byte-compile-file-form-require-offer-compile): New function. (require-offer-compile): If byte compilation of a file is already in progress, just use `require'; don't attempt to compile the feature to be loaded. 2007-07-23 Noah Friedman * win-disp-util.el (wdu-delete-window-keep-point): New variable. (wdu-delete-window): New command. (wdu-install-keybindings): Bind wdu-delete-window. (wdu-split-window-vertically): When `wdu-split-window-keep-point' is neither t or nil, and the current line would be obscured by the new mode line, show the current line in the new window by scrolling by 1 line. 2007-07-18 Noah Friedman * frame-fns.el (make-large-simple-frame-fontset): New variable. (make-large-simple-frame-fontset-alist): New variable. (make-large-simple-frame-fontset-form): New defsubst. (make-large-simple-frame): Use them. * listbuf.el (listbuf-get-Mode): If mode-name is not a string, use format-mode-line to evaluate it. (listbuf-field-alist): Increate maximum width of Size field to 8. 2007-05-31 Noah Friedman * frame-fns.el (x-font-dimensions): Pass result from x-resolve-font-name into x-decompose-font-name; in unicode-2 branch, x-decompose-font-name no longer calls this itself. 2006-12-21 Noah Friedman * listbuf.el (listbuf-sort-by-buffer-name): Compare uniqueness numbers on buffer names numerically. (listbuf-sort-by-mode-and-buffer-name): Call listbuf-sort-by-buffer-name if comparing buffer names, to pick up uniqueness number handling. * string-fns.el (matching-substring): New optional regexp arg. 2006-10-31 Noah Friedman * lat1conv.el (lat1conv-table): Add entries for ?\223 (``) and ?\224 (''). 2006-10-25 Noah Friedman * frame-fns.el (make-large-simple-frame): Reverse previous change using `fringe-columns' earlier today: instead, force fringe widths to zero, then reset fringe style after frame is created. * frame-fns.el: Require string-fns. (x-font-name-completing-read): New function. (x-font-dimensions): New function. (make-large-simple-frame): New optional arg FONT. If prefix arg given, read a font name and use that for the new frame; font dimensions calculated by x-font-dimensions. Use `fringe-columns' if defined. * obarray-fns.el (find-symbols): New function. (symbols-with-property): New function. (symbol-properties): New function. * list-fns.el (flatten-lists): Rewritten, greatly simplified. (append-list-members): New function. (delete-dups-by): Renamed from uniquify-list-members. This is more consistent with `delete-dups' in subr.el. (make-general-car-cdr): New optional args `safe' and `compile'. (reverse-sequence): New function. (nreverse-sequence): New function. 2006-10-20 Noah Friedman * proc-filters.el (proc-filter-carriage-motion): Undo part of previous change: *do* move end marker back by one character when last one is CR. Delete all CR characters at the beginning of lines in output region. 2006-10-10 Noah Friedman * dbfrobs.el (dbfrobs:call-stack-list): New function. (dbfrobs:in-call-stack-p): New function. (dbfrobs:error-conditions, dbfrobs:debug-on-condition): Remove (function ...) wrapper around lambda. (after-debugger-mode-hook): Docstring change. (dbfrobs::insert-hooks): Function removed. (dbfrobs::eval-after-load): Function removed. (debugger-mode): Modified with defadvice instead of obsolete insert-hooks machinery. 2006-09-26 Noah Friedman * proc-filters.el (proc-filter-carriage-motion): Don't set evaporate or intangible properties on overlay; not needed. When last ending char is a CR, do not move end marker back by one character; that can affect the window-visibility at process mark such that (for example) comint-popup.el will believe the end of the buffer needs to be displayed in another window. 2006-09-22 Noah Friedman * fshell.el (fshell-start-shell): New function. (fshell): Use it. (fshell-restart-shell): New command. * face-fns.el (override-face-attributes): Correct syntax of call to custom-set-faces when face is actually a display spec: for each spec, set those properties. * buffer-fns.el (setq-locals): New macro. * proc-filters.el (proc-filter-simple-send): New function. (proc-filter-simple-send-eol): New variable. 2006-08-28 Noah Friedman * proc-filters.el (proc-filter-carriage-motion): Don't let "output\r\r\n" erase "output" line. That is, swallow sequential CRs if they are terminated by a newline. 2006-08-17 Noah Friedman * frame-fns.el (display-balanced-single-quotes): Use decode-char instead of make-char. 2006-08-14 Noah Friedman * load-fns.el (add-after-load-alist): If load-history-regexp is defined, use new regexp-based string elts for after-load-alist. (eval-after-load-forms-for): If load-history-regexp is defined, use it to find the right forms to eval. (load-offer-compile): Check load-history-regexp case. (library-loaded-p): Here also. 2006-08-11 Noah Friedman * buffer-fns.el (hide-region, unhide-region): New functions. 2006-08-06 Noah Friedman * fmailutils.el (fmailutils-make-envelope): New function. 2006-07-31 Noah Friedman * list-fns.el (length<=>): New function. (length<, length<=, length=, length>=, length>): New functions. (length-lessp): New alias. 2006-07-01 Noah Friedman * frame-fns.el (frame-xwininfo): Use outer-window-id unless x-no-window-manager is set. (x-set-frame-position): renamed from set-frame-position-absolute. Completely rewritten. (x-set-frame-geometry): Use x-set-frame-position if any position coordinates are negative. (x-geometry-coord-add): Add docstring. 2006-06-05 Noah Friedman * buffer-fns.el (apply-on-rectangle-region-points): New function. (downcase-rectangle): New function. (upcase-rectangle): New function. 2006-05-19 Noah Friedman * dirtree.el (walk-filesystem): Declare indentation style. 2006-05-15 Noah Friedman * file-fns.el (nf-backup-buffer-mtime-interval): New variable. (nf-backup-buffer-if-mtime-elapsed): New function. * nf-procmail-mode.el: New file. 2006-04-20 Noah Friedman * frame-fns.el (frame-xwininfo): New function. (set-frame-position-absolute): New function. 2006-03-14 Noah Friedman * math-fns.el (temp:ctof, temp:ftoc): New functions. 2006-02-17 Noah Friedman * fshell.el (fshell-buffer-name): New variable. (fshell): Use it. (fshell-make-new-buffer-name): New function. (fshell): Use it. 2005-12-22 Noah Friedman * disptime.el (disptime-default-directory): New variable. (disptime-update): Use it. Always use global value of process-environment. 2005-11-10 Noah Friedman * list-fns.el (first-matching): New function. 2005-11-07 Noah Friedman * load-fns.el (require-offer-compile): New optional arg `filename'. Pass it to load-offer-compile. (load-offer-compile): In `require' mode, if 2nd argument to function is a string, assume that is the base file name to load. (library-loaded-p): New function. (add-forms-to-after-load-alist): New function, moved from list-fns.el. Use `mapc' instead of iterating over alist tediously. (add-after-load-alist): New function, moved from list-fns.el. Use `library-loaded-p' instead of inlining check in load-history. (load-library): Make advice instead of defun, so that original definition can be retrieved. Try to provide completion via `locate-file-completion' if fff-elisp feature is not loaded. * list-fns.el (add-after-load-alist): (add-forms-to-after-load-alist): Functions removed; moved to load-fns.el. 2005-10-29 Noah Friedman * vm-addons.el: Remove all uses of #'. (vm-vs-sent-between): New function. (vm-virtual-selector-function-alist): Add `sent-between'. (vm-supported-interactive-virtual-selectors): Add `sent-between'. (sent-between): Define vm-virtual-selector-clause and vm-virtual-selector-arg-type properties. (vma-mime-add-final-boundary): Add X- header documenting fact that separator was added to the message. (vm-get-header-contents) New defadvice. (vma-do-reply-list-called): New internal variable. (vma-do-reply-list): Simplified. Just bind `vma-do-reply-list-called' to activate alternative behavior of advised vm-get-header-contents function. 2005-10-21 Noah Friedman * frame-fns.el (empty-other-frames): New function. (switch-to-empty-buffer): New function. (x-display-add-completion): Add autoload cookie. 2005-07-02 Noah Friedman * buffer-fns.el (kill-all-buffers): Use mapc, not for-each. 2005-06-24 Noah Friedman * frame-fns.el (for-frame-type): make type arg quoted in predicate "(eq window-system (quote ))". 2005-06-23 Noah Friedman * frame-fns.el (delete-frame): Check window-system type of frame; don't assume global. * whitespace.el (whitespace-do-nuke-whitespace): Wrap save-match-data around call to y-or-n-p; match data seems to get clobbered in multi-tty development branch. 2005-06-13 Noah Friedman * buffer-fns.el (buffer-percentage-mode-install): No `function' wrapper around `lambda'. (toggle-mode-line-inverse-video): Specify frame to set-face-attribute. (rename-buffer): No `function' wrapper around `lambda'. (bell-flash-mode-line): Sit for 50ms instead of 100ms. * linuxproc.el (linuxproc-insert-file-contents): Call default file handler for Emacs 21 and later. (linuxproc-verify-visited-file-modtime): Return t if file is writable, nil otherwise. 2005-06-08 Noah Friedman * face-fns.el (override-face-attributes): If frame is actually a face spec, call custom-set-faces. 2005-05-27 Noah Friedman * frame-fns.el (delete-frame): Never close original tty frame. * buffer-fns.el (disptable-w32/palmos-8bit-glyph-map): Restructured; now contains both 7bit and unicode alternatives. (disptable-insert-w32/palmos-8bit-glyphs): Optional arg `ucs-p' means use unicode character glyphs. 2005-05-24 Noah Friedman * list-fns.el (nf:do): Renamed from `do'. Don't use #'. * bytecomp-fns.el: Require bytecomp. Require backquote. (emacs-lisp-file-regexp): defvar it. * emacs18-v19compat.el (mapc): New function. (load): Use it. (require): Use it. (when): New macro. (unless): New macro. 2005-05-23 Noah Friedman * emacs18-v19compat.el (lambda): New macro. * escreen.el (escreen-one-screen-p): Change default to t. (escreen-save-frame-excursion): Check that original frame is still live before restoring. * disptime.el (disptime-update): Temporarily change default directory to home dir while calling update functions. * face-fns.el (make-less-bright-color): Don't use #'. (delete-face-attributes): Handle optional frame arg. (override-face-attributes): Handle optional frame arg. Do not modify customs properties with custom-set-faces. * frame-fns.el: Update copyright address. Don't require face-fns. (save-frame-excursion): Check that original frame is still live before restoring. (toggle-frame-cursor-type): Function deleted. (set-cursor-type): New function. (display-balanced-single-quotes): New function. (make-standard-display-table-frame-local): New function. (set-frame-type-local-standard-display-table): New function. (frame-type-local-standard-display-table): New function. (frame-display-type): New function. (copy-char-table): New function. (make-aaa-frame): Disable left-fringe. Set cursor type to hbar. Set all faces to green locally on frame. (make-frobbity-frame): Set tool-bar-lines to 3. 2005-05-20 Noah Friedman * escreen.el (escreen-create-screen): Start new screen with a completely new initial window, i.e. don't reuse any previous window objects. 2005-05-19 Noah Friedman * escreen.el: Update copyright with new FSF address. * escreen.el (escreen-configuration-alist): New slot `name'. This slot isn't actually useful yet; code is pending. (escreen-save-current-screen-configuration): skip `name' slot when writing the screen map to the alist. (escreen-configuration-screen-name): New accessor. (escreen-configuration-window-data-configuration): Incremented. (escreen-configuration-data-map): Incremented. (escreen-configuration-selected-window-count): Incremented. * escreen.el (escreen-frame-local-variables): New variable. (escreen-install): Declare variables that are to be frame-local. (escreen-initialize-frame-variables): New function. (escreen-install): Add it to after-make-frame-functions. Call it for existing frames. * escreen.el (escreen-get-active-screen-numbers): Generate echo area message with single mapconcat instead of mapcar+format. (escreen-one-screen-p): New variable. (escreen-mode-line-format): Use it. (escreen-save-frame-excursion): New macro. (escreen-mapc): New function (defalias). (escreen-map-frames): New function (defsubst). (escreen-window-edges): Make defalias. (escreen-install): Use `member' directly. (escreen-member): Function deleted. (escreen-force-mode-line-update): Function deleted. (escreen-enable-number-mode-if-more-than-one-screen): Call force-mode-line-update directly. (escreen-map-critical-data-format): Don't wrap `function' around `lambda'. (escreen-initialize-frame-variables): Here also. (escreen-configuration-alist-sort-by-number): Here also. (escreen-save-user-data): Here also. * escreen.el (escreen-goto-screen-before-hook): New hook. Suggested by Johann . (escreen-goto-screen): Call it. 2005-05-18 Noah Friedman * frame-fns.el (for-frame-type): Do not call byte-compile. (delete-frame): Add `frame-fns:' prefix to advice name. (make-frame-on-display): Add `frame-fns:' prefix to advice name. (x-geometry-coord-add): New function. (x-adjust-frame-position): New function. (x-set-frame-geometry): New function. (x-frame-geometry): New function. 2005-05-17 Noah Friedman * listbuf.el (listbuf-get-w3m-file): New function. (listbuf-file-field-table): Add entry for w3m-mode. * frame-fns.el (for-frame-type): New macro. (for-window-system-frames): New macro. (for-tty-frames): New macro. (save-frame-excursion): Remove autoload cookie. * vm-addons.el (vma-reply-list): Fix typo in call to vma-do-reply-list. (vma-reply-list-include-text): Here also. * fff-elisp.el (fff-emacs-lisp-function-loadfile): New function. (fff-find-loaded-emacs-lisp-function-or-variable): Use it. (fff-locate-emacs-lisp-library): Fixup docstring. 2005-05-16 Noah Friedman * list-fns.el (deep-copy-tree): Renamed from `copy-tree'. Also copy hashtables when allp. (uniquify-list-members): New function. (circular-list-size): Renamed from `circular-list-length'; it's not really proper to speak of the "length" of a non terminating (and therefore non-proper) list. 2005-04-14 Noah Friedman * fshell.el (fshell-no-tty): Declare "P" interactive spec. * proc-filters.el (proc-filter-carriage-overlay): New variable. (proc-filter-carriage-motion): Initialize it. Put overlay over newlines or backspaces which have been left in the buffer for later carriage motion processing. 2005-03-07 Noah Friedman * fff-elisp.el (fff-elisp-load-history-elt-by): Rewrite to move method test outside of loop(s). (fff-emacs-lisp-def-regexp): Looser regexp to match more def* cases. * ascii-table.el (ascii-table-display): Disable undo and set buffer in unibyte mode. 2005-02-22 Noah Friedman * fff-elisp.el (fff-elisp-load-history-elt-by): Handle Emacs 22-style load history where function symbols are of the form `(defun . symbol-name)' instead of just `symbol-name'. 2004-07-25 Noah Friedman * motion-fns.el (other-window-directionally): New function. (other-window-direction): New variable. 2004-06-21 Noah Friedman * xterm-title.el: New file. 2004-06-14 Noah Friedman * load-fns.el (eval-after-load-forms-for): Handle case that load-file arg is a symbol. Rewrite other case to avoid using any additional local variables. 2004-06-11 Noah Friedman * dirtree.el (directory-tree): New arg `depth-limit'. Return subdirectories in sorted order. When depth-first non-nil, do not make children a sublist; just append the parent to the end of the child list. 2004-06-08 Noah Friedman * vm-addons.el (vma-reply-list, vma-reply-list-include-text) (vma-do-reply-list): New functions. 2004-05-30 Noah Friedman * list-fns.el (make-general-car-cdr): New function. 2004-05-25 Noah Friedman * term/xterm-256color.el: Replaced with static table defined via xterm-frobs.el. * xterm-frobs.el (xterm-standard-16color-alist): New variable. (xterm-standard-256color-alist): New function. 2004-05-17 Noah Friedman * xterm-frobs.el (xterm-screen-dcs-encapsulation): Match "screen" exactly or "screen-" with any suffix. (xterm-color-map): Use max choice for gc-cons-threshold, not min. (xterm-print-formatted-color-alist): New function. * xterm-frobs.el (xterm-iconify, xterm-deiconify, xterm-set-font) (xterm-set-icon-title, xterm-set-window-title) (xterm-set-all-titles, xterm-set-background-color) (xterm-set-foreground-color, xterm-set-cursor-color) (xterm-set-mouse-foreground-color) (xterm-set-mouse-background-color, xterm-set-highlight-color) (xterm-reverse-video, xterm-normal-video) (xterm-sync-emacs-colors, xterm-print-formatted-color-alist): Add autoload cookies. 2004-05-14 Noah Friedman * xterm-frobs.el (xterm-screen-dcs-encapsulation): New variable. (xterm-dcs-encapsulation): Variable deleted. (xterm-send-escape-sequence): Use new variable. Break escape sequence into multiple encapsulated pieces if encapsulation sequences (e.g. string end) are present. (xterm-send-and-read-response): Insert answerback data into a preallocated char buffer instead of consing a new string each time a character is read. (xterm-report-color-cells): New function. (xterm-color-rgb-data): New function. (xterm-color-approximate): New function. (xterm-color-substring-to-number): New defsubst. (xterm-color-map): New function. (xterm-sync-emacs-colors): New function. 2004-05-10 Noah Friedman * ascii-table.el: New file. * string-fns.el (integer-to-string): New function. 2004-04-27 Noah Friedman * fff-elisp.el (fff--emacs-lisp-library): `allp' arg renamed to `which'. If `which' is numeric and there are at least that many results, call op on that match. (fff-find-emacs-lisp-library): `allp' arg renamed to `which'. Update docstring regarding numeric prefix arguments. (fff-insert-emacs-lisp-library): `allp' arg renamed to `which'. (fff-locate-emacs-lisp-library): `allp' arg renamed to `which'. If `which' is numeric and there are at least that many results, display that match. Update docstring regarding numeric prefix arguments. In Emacs 21, make use of multi-line echo area. * fff.el (fff--file-in-path): `allp' arg renamed to `which'. If `which' is numeric and there are at least that many results, call op on that match. (fff--file-in-locate-db): Here also. (fff-find-file-in-exec-path): `allp' arg renamed to `which'. Update docstring regarding numeric prefix arguments. (fff-find-file-in-envvar-path): Here also. (fff-find-file-in-path): Here also. (fff-insert-file-in-exec-path): `allp' arg renamed to `which'. (fff-insert-file-in-envvar-path): Here also. (fff-insert-file-in-path): Here also. (fff-find-file-in-locate-db): Here also. (fff-insert-file-in-locate-db): Here also. * buffer-fns.el (nuke-all-overlays): New function. 2004-04-26 Noah Friedman * twiki-outline.el: New file. 2004-02-16 Noah Friedman * load-fns.el (load-offer-compile): Fix interactive spec to use fff-completing-read-emacs-lisp-library, not completing-read-emacs-lisp-library, and only if the former is actually defined. (load-libraries-with-debugging-if-exist): Eval non-string args instead of loading them. Change handling of debug-on-error to avoid shadowing it. 2004-02-15 Noah Friedman * load-fns.el (require-offer-compile): New function. (load-offer-compile-load-action): New internal variable. (load-offer-compile): Use it to call `load' or `require' as specified. (load-libraries-with-debugging-if-exist): Use load-offer-compile instead of load. * host-fns.el (abbreviate-hostnick): Remove static table of host->nickname mappings. Always remove domain name, if any. (dns-domain-name): Function renamed from domain-name. 2004-02-09 Noah Friedman * vm-advices.el (vm-preview-current-message): Bind vm-auto-decode-mime-messages to t around original definition. 2003-09-19 Noah Friedman * vm-addons.el (list-fns): Require list-fns. 2003-06-05 Noah Friedman * math-fns.el (power-of-two-p): New function. 2003-05-12 Noah Friedman * frame-fns.el (make-large-simple-frame): Use 10x20 for displays larger than 1600x1280. 2003-03-25 Noah Friedman * qpdecode.el (fmailutils): Require it. (qpdecode-update-encoding-headers): Use fmailutils-position-on-field instead of mail-position-on-field. (qpdecode-get-header-contents): Here also. (qpdecode-put-unique-header): Here also. 2003-02-07 Noah Friedman * math-fns.el (average): New function. * dirtree.el (walk-filesystem): If entry is a directory and action returns nil, do not descend into subdirectory. Fix typo in let: fulllname -> fullname. 2003-01-07 Noah Friedman * proc-filters.el (proc-filter-carriage-motion): Delay processing trailing backspaces until replacement text arrives. 2002-12-27 Noah Friedman * whitespace.el (nuke-trailing-whitespace-always-major-modes): Add cperl-mode. 2002-10-31 Noah Friedman * shop.el (shop-adjectives): Add more vocabulary. (shop-nouns): Add more vocabulary. 2002-09-21 Noah Friedman * proc-filters.el (proc-filter-column-motion): New function. (proc-filter-shell-output-filters): Use it. (proc-filter-color): Renamed from proc-filter-color-ls. Do nothing if ansi-color mode is enabled. 2002-09-16 Noah Friedman * proc-filters.el (proc-filter-carriage-motion-beg): New variable. (proc-filter-carriage-motion-end): New variable. (proc-filter-carriage-motion-last-end-char): New variable. (proc-filter-carriage-motion): Renamed from process-carriage-output-filter. Save last output chunk's final char and use it to decide if scanning work is necessary for new chunk. Do not renarrow buffer when working; use markers to delimit region after widening. (proc-filter-color-ls): Renamed from process-color-ls-filter. (proc-filter-trailing-whitespace): Renamed from process-trailing-whitespace-filter. (proc-filter-shell-output-filters): Update with new function names. 2002-09-01 Noah Friedman * proc-filters.el (process-carriage-output-filter): Don't look for newlines or backspaces in new output chunk before starting re-narrowing work; there might not be any in new chunk but a trailing CR from previous output chunk may need processing anyway. Just check that input string != "". * proc-filters.el (process-carriage-output-filter): Ignore final CR if at end of ouput chunk, until next chunk is processed. 2002-08-31 Noah Friedman * proc-filters.el (proc-filter-shell-output-filters): Remove process-ticker-filter and process-backspace-filter. Make process-carriage-output-filter first. (process-ticker-filter-regexps): Variable deleted. (process-ticker-filter): Function deleted. (process-ticker-re-output-filter): Function deleted. (process-backspace-filter): Function deleted. (process-filter-last-output-start): Prefer the larger of comint-last-input-end or comint-last-output-start. (process-carriage-output-filter): Rewritten; handle CRLF separately from bare CR, and also handle backspace. (process-color-ls-filter): Don't use process-re-output-filter. (process-trailing-whitespace-filter): Rewritten; ignore last line and check line just prior to last output chunk. (proc-filter-shell-output-filter-mode): If interactive, message current state of mode. (proc-filter-shell-output-filter): bind inhibit-field-motion and buffer-read-only; narrow region to output chunk. Save excursion, restriction, and match data. 2002-08-09 Noah Friedman * emacs18-v19compat.el: New file; contents from init-18.el. (current-time): New function. 2002-08-04 Noah Friedman * agchat.el (agchat): Don't change agchat-port and agchat-host unless called interactively. If called from list and host/port args nil, use defaults. (agchat-send-sequence): New function. * agchat.el (agchat-color-table): Variable deleted. (agchat-color-scheme-table): New variable. (agchat-color-scheme): New variable. (agchat-color-lookup): Use them. * agchat.el (agchat-host): Change default to "silverchat.com". * agchat.el (agchat-process-sentinel): Renamed from agchat-sentinel. (agchat-process-filter): Renamed from agchat-filter. (agchat): Set process filter and sentinel to new names. * agchat.el (agchat-connect-hook): New variable. (agchat): Call it. (agchat-process-sentinel): Call it if sentinel invoked by non-blocking connection being established. Do not assume that sentinel is only called when process exits. * agchat.el (agchat-open-network-stream-function): New variable. (agchat): Call it. Check if process status is `connect' indicating non-blocking connect. * agchat.el (agchat-display-output): New function. (agchat-process-filter-data): New buffer-local variable. (agchat-process-filter-discard-strings): New variable. (agchat-process-filter): Use them to chunk incoming data and only perform display of text when final newline encountered. This makes colorization more accurate. Use agchat-display-output to perform actual buffer insertion. * agchat.el (agchat-color-filter): Only go back to end of prior search when scanning for successive color markers, rather than point-min. (agchat-colorize-region): Make new face property front-sticky and rear-nonsticky. * agchat.el (agchat-popup-regexp-list): Make regexp for private messages more specific. (agchat-output-beep): New function. (agchat-message-timestamp): New function. 2002-08-02 Noah Friedman * agchat.el (agchat-port): Default to 23. * agchat.el (agchat-output-filter-functions): Add `agchat-color-filter'. (agchat-color-mode-regexp): Accept optional `;' just before trailing `m'. (agchat-color-table): Redefine for tty modes. Better X defaults. (agchat-colors-need-faces-p): New variable. * agchat.el (agchat-overlay-region): Function deleted. (agchat-colorize-region): New function. (agchat-color-filter): Use it. Fixup `end' offset when removing escape sequences from buffer. (agchat-color-lookup): New function. (agchat-face-lookup): New function. * agchat.el (agchat-popup-regexp-list): Don't pop up on public messages; just private ones. * agchat.el (agchat-delete-input-region): New function. (agchat-mode): Don't set comint-process-echoes. Add `agchat-delete-input-region' to comint-input-filter-functions. * agchat.el (agchat-default-output-filter): Preserve match data. (agchat-color-filter): Here also. (agchat-popup): Use save-match-data, not store-match-data. 2002-07-16 Noah Friedman * spookmime.el (spookmime-mml-make-boundary): New function. 2002-07-15 Noah Friedman * flame.el (flame-plural-correct): New function. (flame-iterate-list): Use it. (flame-grammar): New vocabulary, including new categories `conspirators', `computer-os', `war-thing'. 2002-07-14 Noah Friedman * silly-mail.el (sm-mail-header-table): Update required symbol for sm-add-flame. (sm-emacs-taunt-table): New entries. Removed one duplicate. * flame.el: Complete rewrite. * motion-fns.el (move-to-column-rigidly): Renamed from move-to-column-force. Use insert-char instead of insert and make-string. Return resulting column. * listbuf.el (listbuf-field-alist): Fix typo in docstring regarding listbuf-oversized-field-action. (listbuf-noselect): New function. (listbuf): Call it. (listbuf-current-buffer-position): new buffer-local variable. (listbuf-noselect): Set it. Return new buffer. (listbuf): Use it. Return new buffer. (listbuf-display-buffer): If point is a symbol, use symbol value. * listbuf.el (listbuf-ignore-buffer-predicate-list): New variable. (listbuf-ignore-buffer-p): New function. (listbuf-collect): Call it. * listbuf.el (listbuf-noselect): Do not call buffer-disable-undo in Emacs 18. (listbuf-current-file-version): Do not call file-accessible-directory-p in Emacs 18. 2002-07-11 Noah Friedman * math-fns.el (sumorial): New function. (factorial): New function. 2002-07-03 Noah Friedman * ssh.el (ssh-parse-words): Extended to handle moderate amounts of quoting for `-o' extended options. 2002-06-25 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Add regexp for rsync 2.5.x progress meters. * ysq.el (ysq-ticker-collect-internal): send http request using upper-case GET and HTTP/1.0. I guess http is case-sensitive, but yahoo's web server never rejected the lower-case requests before today. 2002-06-21 Noah Friedman * face-fns.el (enable-mode-font-lock): Use nconc, not add-to-list; v20 and earlier do not support appending. (disable-mode-font-lock): Here also. 2002-06-16 Noah Friedman * list-fns.el (delete-list-members): New function. * face-fns.el (enable-mode-font-lock): New function. (disable-mode-font-lock): New function. 2002-04-27 Noah Friedman * fff-elisp.el (fff-elisp-make-emacs-lisp-library-completions): Skip elts in load-history with null filename. * diacriticalize.el: New file. 2002-03-28 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Performance tweak for openssh scp regexp. 2002-03-20 Noah Friedman * vkill.el (vkill-ps-command): Convert user-uid to string for concat. 2002-03-14 Noah Friedman * silly-mail.el (sm-emacs-taunt-table): New entries, mostly from kfogel. 2002-03-08 Noah Friedman * face-fns.el (delete-face-attributes): New function. (override-face-attributes-settor-alist): New variable. (override-face-attributes): Use it. 2002-03-07 Noah Friedman * escreen.el (escreen-map-restore-narrowed-region): Check that end is valid. 2002-02-07 Noah Friedman * vm-advices.el (vm-su-monthday): Use after advice form, not around. Check that return value from original is not null and has non-zero length. 2002-01-07 Noah Friedman * escreen.el (escreen-map-restore-mark-marker): Handle XEmacs zmacs-regions. 2002-01-02 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Add regexps for wget 1.8 progress bars. 2001-12-08 Noah Friedman * ssh.el (ssh-x-display-follow-current-frame): New variable. (ssh-with-check-display-override): New function. (ssh): Use it. * win-disp-util.el (wdu-scroll-screen-down): Preserve current column. (wdu-scroll-screen-up): Here also. (wdu-scroll-down-4-lines): Here also. (wdu-scroll-up-4-lines): Here also. (wdu-toggle-truncate-lines): When disabling truncate-lines, scroll all the way to the right. (wdu-temporary-goal-column-commands): New variable. (line-move): Defadvise to use it. * vh-scroll.el (line-move): Replace redefinition with defadvice. Old implementation was losing in a bad way when encountering intangible text properties. 2001-11-29 Noah Friedman * term/xterm-256color.el: Do not call `xterm-256color-define' on load unless $TERM is `xterm-256color'. (xterm-256color-generate-xresources-template): Renamed from xterm-256color-generate-xresources. (xterm-256color-create-xresources-file): New function. (xterm-256color-merge-xresources): New function. 2001-11-25 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Add newline to negated character set in openssh scp regexp. 2001-11-12 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): New regexp for openssh `scp'. 2001-11-07 Noah Friedman * buffer-fns.el (disptable-insert-w32/palmos-8bit-glyphs): Take 2nd optional argument MAP. 2001-10-24 Noah Friedman * linuxproc.el (linuxproc-uninstall): New function. (linuxproc-fnh-alist-sans-linuxproc): New function. (linuxproc-insert-file-contents): Temporarily remove `linuxproc-handler-fn' from file-name-handler-alist. 2001-09-23 Noah Friedman * buffer-fns.el (kill-all-buffers): New function. 2001-09-20 Noah Friedman * what-domain.el: New file. * escreen.el (escreen-set-buffer-list-order): Rewrite. * fff-rfc.el (fff-rfc-extensions): New variable. (fff-find-rfc): Use it. Handle integer argument if called from lisp. Strip any `rfc-' prefix from argument. * fff-rfc.el: New file (code extracted from personal init files). 2001-09-09 Noah Friedman * vkill.el (vkill-update-process-info): Nuke trailing whitespace from ps output. 2001-09-06 Noah Friedman * list-fns.el (set-buffer-list-order): rewrite to avoid O(n**2) repeated delq. 2001-08-31 Noah Friedman * emacs-name.el (emacs-name-vector): New entries. * cust-stub.el: Define defalias if not already defined. * escreen.el (escreen): New defgroup. (escreen-max-screens): Customize. (escreen-new-screen-default-buffer): Customize. (escreen-restore-killed-buffers): Customize. (escreen-number-mode): Customize. (escreen-goto-screen-hook): Customize. (escreen-menu-mode-hook): Customize. (escreen-prefix-char): Customize. (escreen-preserve-buffer-list-order): New variable. (escreen-map-restore-buffer-list): New function. (escreen-set-buffer-list-order): New function. (escreen-map-data-format): New entry for buffer list. (escreen-install-number-mode-format): New variable. (escreen-prefix): Use defalias, not fset. (escreen-install): Use them. (escreen-killed-buffer-p): Use buffer-live-p if defined. * sendmail-alias.el (sendmail-alias-expand-include): Remove spurious `n' at beginning of line. * list-fns.el (copy-tree): if new arg ALLP non-nil; copy vectors, strings, and markers too. (set-buffer-list-order): New function. 2001-08-30 Noah Friedman * list-fns.el (add-list-members): Handle LIST as non-symbol. * string-fns.el (string-to-vector): defalias if undefined. * buffer-fns.el (disptable-w32/palmos-8bit-glyph-map): New variable. (disptable-insert-w32/palmos-8bit-glyphs): New function. 2001-06-29 Noah Friedman * frame-fns.el (delete-frame): Check for display only when window-system is 'x, otherwise perform default action. 2001-06-20 Noah Friedman * frame-fns.el (x-display-add-completion): Make interactive; prompt for display name. (x-display-remove-completion): New function. 2001-06-18 Noah Friedman * vm-advices.el (vm-mime-can-display-internal): New defadvice `html-always'. * vm-advices.el (vm-mime-display-internal-text/html): New defadvice `no-w3-delay'. 2001-06-07 Noah Friedman * bbdb-pilot-jwz.el (bbdb-record-to-pilot-record): Only put voice/main/phone fields in "Main" pilot fields if they are whole words; e.g. don't treat "voicemail" bbdb phone labels as a "Main" pilot field type. 2001-05-15 Noah Friedman * bbdb-pilot-jwz.el (bbdb-to-pilot-file): Add autoload cookie. (bbdb-record-to-pilot-record): Handle bbdb file format version 6. (pilot-record-to-bbdb-record): Handle bbdb file format version 6. Patches by Martin Schwenke . 2001-05-12 Noah Friedman * bbdb-pilot-jwz.el (bbdb-record-to-pilot-record): append successive street address lines to `st', not replace. (bbdb-to-pilot): Push records that have either name or company defined. Reported by Martin Schwenke . 2001-02-19 Noah Friedman * jump-def.el (jump-def-regexp): Better matching for c-mode, but still needs to debugged; it sometimes catches `for' and `if' statements inside functions. 2001-01-31 Noah Friedman * list-fns.el (for-each): indent like `while'. 2001-01-17 Noah Friedman * bbdb-pilot-jwz.el (bbdb-record-to-pilot-record): Don't copy-alist notes until after it has been verified that it's not a string. Suggested by David R. Karger . 2001-01-05 Noah Friedman * jump-def.el (jump-def-regexp): New entries for perl-mode and cperl-mode. 2000-12-18 Noah Friedman * vm-addons.el (vma-folder-font-lock-keywords): Change quoted text from font-lock-comment-face to font-lock-string-face. 2000-12-08 Noah Friedman * vm-addons.el (vma-folder-font-lock-keywords): New variable. (vma-folder-font-lock-setup): New function. 2000-12-07 Noah Friedman * term/xterm-256color.el: New file. 2000-11-22 Noah Friedman * frame-fns.el: Require 'face-fns. (x-display-completions): Add autoload cookie. (x-display-history): Add autoload cookie. (delete-frame): Use #' read syntax, not (function ...). (set-frame-titles): Renamed from set-selected-frame-title. (set-selected-frame-title): Alias to set-frame-titles and mark obsolete. (save-frame-excursion): New macro. (set-basic-frame-color): Use it. New optional frame arg. New optional arg to toggle dimming fringe face. (make-aaa-frame): Cleaned up to avoid merging all of default-frame-alist explicitly. (make-frobbity-frame): Here also. (make-large-simple-frame): New function. * face-fns.el (make-less-bright-color): New function. 2000-11-04 Noah Friedman * buffer-fns.el (nuke-html-tags): Handle
and tags. 2000-10-27 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Add entry for "rsync --progress". * ftelnet.el (ftelnet-send-urgently): Explicitly pass process object to `comint-send-urgently'. (ftelnet-send-suspend): Here also. 2000-09-14 Noah Friedman * ysq.el: All timer and mode-line functions moved to ysq-modeline.el. * ysq-modeline.el: New file; timer and mode-line features moved into this file from ysq.el. * ysq.el (ysq-ticker-collect-parse): Handle case of commas inside quoted fields, e.g. for dividend-date. (ysq-read-shares-outstanding): Strip leading whitespace. 2000-08-28 Noah Friedman * vm-addons.el (vma-kill-duplicate-messages-by-message-id): New function. 2000-08-24 Noah Friedman * vm-advices.el (vm-display-buffer): New defadvice. * pb-popup.el (pb-popup): New defgroup. (pb-popup-mode): Customize. (pb-popup-ratio): Customize. (pb-popup-min-height): Customize. (pb-popup-available-frames): Customize. (pb-popup-make-new-frames): Customize. (pb-popup-mode): Return chosen window. Allow mark parameter to be an integer (i.e. buffer position). Use #' syntax on arg to walk-windows. (pb-popup-window): Return chosen window. (pb-popup-frame): Return chosen window. (pb-make-frame, pb-select-frame, pb-selected-frame): Aliases deleted; all callers changed simply to use native functions. 2000-08-21 Noah Friedman * protbuf.el (protect-process-buffer-from-kill-preserve-function): New variable. (protect-process-buffer-from-kill): Use it. 2000-08-08 Noah Friedman * timestamp.el: Assuming maintenance. Call `provide'. (time-stamp-date-string-elts): New variable. (time-stamp-date-string): Use it. (time-stamp-concat-form-elts): New variable. (time-stamp-concat-form): Use it. (update-time-stamp): Save match-data. 2000-08-07 Noah Friedman * list-fns.el (circular-list-p): Check for tortoise-hare equality with every advance of hare, instead of half as often. * list-fns.el (circular-list-length): Change last third of algorithm not to require destructive modification of list. * list-fns.el (do): Use native backquote, not macro-based backquote. Expand cdr of test-exprs outside of while loop, not within. 2000-08-02 Noah Friedman * bbdb-pilot-jwz.el: Add GPL comment. 2000-07-27 Noah Friedman * list-fns.el (circular-list-p): New function. (circular-list-length): New function. 2000-07-24 Noah Friedman * bbdb-pilot-jwz.el (bbdb-pilot-ignored-notes): Add `title'. (bbdb-record-to-pilot-record): Make `notes' be a copy of the notes returned from the record. Do not destructively modify until actual time to produce notes list. 2000-07-23 Noah Friedman * battery.el: File removed; standard emacs releases have current version. 2000-07-22 Noah Friedman * vm-addons.el (vma-address-list->regexp): Use #' read syntax, not (function ...). (vma-afa-match-format): Here also. (vma-set-spool-file): Here also. * vm-addons.el (vma-kill-messages-by-descriptor): Rewrite to be compatible with vm-virtual-folder-alist. Do not install this function on vm-arrived-messages-hook on load. 2000-06-29 Noah Friedman * vcard.el (vcard-hexstring-to-ascii): New macro. (vcard-region-decode-quoted-printable): Use it. * string-fns.el (string-to-number-base): New function. 2000-06-03 Noah Friedman * eldoc.el (eldoc-minor-mode-string): Add autoload cookie; otherwise autoloaded add-minor-mode call complains in Emacs 21. * fshell.el (fshell): Use format string to produce buffer name, rather than concat; in Emacs 21, concat no longer automatically converts integers to strings. Patch by Kai Großjohann . 2000-06-01 Noah Friedman * proc-filters.el (proc-filter-shell-output-filter-mode): New variable and function. (proc-filter-shell-output-filter): Use it. (process-ticker-filter-regexps): Delete redundant mpg123 regexp. pi-getrom carriage return optional. 2000-05-25 Noah Friedman * comment.el (comment-mode-alist): Add entry for sql-mode. 2000-04-28 Noah Friedman * disptime.el (disptime-builtin-load-average-p): t for windows-nt system-type. * host-fns.el (host-name): Downcase. 2000-03-19 Noah Friedman * bbdb-pilot-jwz.el (bbdb-pilot-ignored-notes): Add `creation-date' and `timestamp'. (bbdb-pilot-format): Use prin1 and set print-escape-nonascii nil so that iso8859-1 characters in database will be preserved, instead of converting to octal form. Replace \" in printed forms with "". (bbdb-record-to-pilot-record): Recognize `voice' and `phone' as Main number types. Always put email address last in phone/email list. Group numbers with same type together into single location. Make sure that all notes are appended; previously if there was no literal `notes' field and only one other notes-like field, that other field would be ignored. (bbdb-to-pilot-file): Fix interactive spec so file need not already exist. 2000-03-17 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Add entry for pi-getrom. 2000-03-12 Noah Friedman * eval-expr.el (eval-expr): New defgroup. (eval-expr-error-message-delay): Customize. (eval-expr-prompt): Customize. (eval-expr-honor-debug-on-error): Customize. (eval-expr-use-echo-area-or-buffer): Customize. (eval-expr-print-level): Customize. (eval-expr-print-length): Customize. (eval-expr-print-function): Customize. Default uses `pp' if defined. * doh.el (doh-initialize): Disable multibyte encoding while reading data. (doh-write-region): New function. (doh!): Use it. * eldoc.el (eldoc-echo-area-use-multiline-p): New user option. (eldoc-echo-area-multiline-supported-p): New variable. (eldoc-docstring-format-sym-doc): Use them. (eldoc-mode): If not using idle timers, append to local post and pre command hooks. Suggested by David Byers . 2000-03-10 Noah Friedman * vkill.el (vkill-goal-column): Variable deleted. (vkill): Don't set goal column. (vkill-command-column-regexp): New variable. (vkill-update-process-info): Use it to set goal column here. (vkill-send-signal): Handle variable amount of whitespace after signal markers. Use syntax table regexps instead of literal whitespace. (vkill-after-send-signal-hook): New variable. (vkill-send-signal): Run it. * load-fns.el (eval-after-load-forms-for): New function. (load-offer-compile): Use it. (override-autoload): New function. (override-autoloads): Use it. * type-break.el (type-break): perform autosave. Suggested by Stephen Gildea . (type-break-do-query): Cancel query schedule while performing actual query, to avoid possibility of a second query being made while first one is already in progress. (type-break-time-stamp-format): New variable. (type-break-time-stamp): New function. (type-break-time-warning): Use it. (type-break-keystroke-warning): Use it. (type-break-noninteractive-query): Use it. 2000-03-03 Noah Friedman * frame-fns.el (toggle-frame-cursor-type): New function. 2000-02-28 Noah Friedman * buffer-fns.el (set-buffer-directory-file-name): Check that buffer has a file name. (toggle-mode-line-inverse-video): No really, this time handle toggling correctly for color vs. mono frames. * frame-fns.el (set-basic-frame-color): New function. * face-fns.el (override-face-attributes): Comment fix. 2000-02-27 Noah Friedman * face-fns.el (override-face-attributes): Require 'list-fns if using custom-set-faces. * buffer-fns.el (toggle-mode-line-inverse-video): Fix logic once again for set-face-attribute case on ttys. * flash-paren.el (flash-paren-background-at-pos): Better handling of unspecified-bg for v21. (flash-paren-face-background): Here also. * list-fns.el (push-command): New function. (merge-into-property-list): New function. * proc-filters.el (process-ticker-filter-regexps): Add filter for lukemftp progress bars. 2000-02-26 Noah Friedman * whitespace.el (whitespace-check-mode): Query visible buffers only. 2000-02-25 Noah Friedman * list-fns.el (delete-by): Revert previous change. (delassoc-by): New function to implement previous change. 2000-02-23 Noah Friedman * vcard.el (vcard-char-to-int): New defalias. (vcard-region-decode-base64-table): Use it. (vcard-region-decode-base64): Here too. * eval-expr.el (eval-expr-print-function): New variable. (eval-expr): Use it. (eval-expr-print-level): Default to eval-expression-print-level if bound. (eval-expr-print-length): Default to eval-expression-print-length if bound. (eval-expr-use-echo-area-or-buffer): New variable. (eval-expr-count-display-lines): New function. (eval-expr-display-message): Use them. 2000-02-22 Noah Friedman * buffer-fns.el (toggle-mode-line-inverse-video): Toggle mode-line-inverse-video appropriately for tty frames even if set-face-attribute is used. (make-local-copied-variables): Return SYM1, for compatibility with `make-local-hook'. 2000-02-21 Noah Friedman * buffer-fns.el (toggle-mode-line-inverse-video): When using face attributes, mode-line-inverse-video should always be t. 2000-02-19 Noah Friedman * list-fns.el (delete-by): Rewrite. Should be able to handle lists via assq, etc. now. 2000-02-18 Noah Friedman * load-fns.el (load-offer-compile-default-action): New variable. (load-offer-compile-check-directory-function): New variable. (load-offer-compile-check-directory-mkdir-p): New variable. (load-offer-compile-check-directory): New function. (load-offer-compile-choice): New function. (load-offer-compile-query): New function. (load-offer-compile): Use them. * flash-paren.el (flash-paren-method): Fix radio function defaults to use existing function names. (flash-paren-background-at-pos): Handle case that frame parameters contain "unspecified-bg" as background-color. * eldoc.el (eldoc-display-message-no-interference-p): Don't interfere with edebug. Add autoload cookie for eldoc-mode minor-mode-alist initialization. * dirtree.el (existing-directory-root): New function. 2000-02-11 Noah Friedman * update-dns.el (update-dns-serial-fts-format): New variable. (update-dns-serial): Use it. 2000-02-10 Noah Friedman * silly-mail.el (sm-put-header-fill-content): Handle case where fill-region-as-paragraph does not leave a trailing newline. Use buffer-string, not buffer-substring. 2000-02-09 Noah Friedman * battery.el: Use linuxproc handlers instead of local hacks to read /proc/apm. 2000-02-03 Noah Friedman * vcard.el (vcard-parse-region-value): Do not use `new-marker'; use `set-marker' and `make-marker' instead. * vm-vcard.el: Work with vcard.el 2.0. * vcard.el: Complete rewrite. 2000-02-02 Noah Friedman * xterm-frobs.el (xterm-dcs-encapsulation): New variable. (xterm-send-escape-sequence): Use it. 2000-01-21 Noah Friedman * dirtree.el (walk-filesystem): New function. 2000-01-17 Noah Friedman * frame-fns.el (x-display-add-completion): New function. (x-display-completing-read): Use it. 2000-01-12 Noah Friedman * frame-fns.el (delete-frame): call x-close-connection, but only if we're not closing the original display. (x-display-completions): New variable. (x-display-history): New variable. (make-frame-on-display): New defadvice. (set-display): New function. (x-display-complete): New function. (x-display-completing-read): New function. (delete-frame): Don't call x-close-connection; that tends to crash emacs 20 in unpredictable ways (for example, closing the connection to the original server easily exercises this bug) and isn't really necessary. 2000-01-10 Noah Friedman * ftcp.el (ftcp-open-network-stream-program): Default to `nc'. (ftcp-open-network-stream-program-args): Default to nil. (ftcp-process-connection-type): Default to `default'. (ftcp-open-network-stream-mode): Add autoload cookie. (ftcp-open-network-stream): Rename from ftcp-open-network-stream-external; original function deleted. If ftcp-process-connection-type is set to `default', use current value of `process-connection-type'. (open-network-stream): defadvise. 1999-12-23 Noah Friedman * fff-elisp.el (fff-completing-read-emacs-lisp-symbol): Do not pass `default' arg to completing-read if not supported in this emacs version. 1999-12-03 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Add regexps for uudeview. 1999-11-11 Noah Friedman * win-disp-util.el (wdu-window-point-coordinates, wdu-window-list, wdu-buffer-window): Add autoload cookies. (wdu-buffer-window): New function. * proc-filters.el (process-color-ls-filter): Handle case where no numeric value appears in escape sequence. 1999-11-10 Noah Friedman * list-fns.el: Add indentation hint for `do'. 1999-11-04 Noah Friedman * flash-paren.el: Require 'custom. Require 'timer, don't just load it. (flash-paren-method): Make defcustom. Change default to flash-paren-do-flashing-with-autoselected-method. (flash-paren-face-on, flash-paren-face-off): (flash-paren-face-region): New faces. (flash-paren-characterp): New function. (flash-paren-check): Use it. (flash-paren-do-flash-with-overlay): Function deleted. (flash-paren-do-flashing-with-autoselected-method): New function. (flash-paren-do-flash-with-overlay-faces): New function. (flash-paren-do-flash-with-overlay-blink): New function. (flash-paren-do-flash-get-overlay-face): New function. (flash-paren-face-background): New function. (flash-paren-background-at-pos): Use it. 1999-10-30 Noah Friedman * linuxproc.el: Update comments. * load-fns.el (load-offer-compile-dynamic-p, load-offer-compile, load-library, load-libraries-with-debugging-if-exist, override-autoloads, require-soft): Functions moved here from file-fns.el. (load-library): use fff-elisp package for providing completion. * fff-elisp.el (fff-emacs-lisp-def-regexp): Fix previous change to match symbols exactly. (fff-emacs-lisp-goto-definition): Go to (match-beginning 1) if defined. (fff--emacs-lisp-library): Do not clobber value of lib if intern-soft returns nil. (fff-emacs-lisp-library-completion-table): New variable. (fff-elisp-flush-library-completion-table): New function. (fff-elisp-make-emacs-lisp-library-completions): New function. (fff-completing-read-emacs-lisp-library): Use it. (fff-elisp-install-map): Add autoload cookie. * file-fns.el (load-offer-compile-dynamic-p, load-offer-compile, load-library, load-libraries-with-debugging-if-exist, override-autoloads, require-soft): Moved to load-fns.el. (completing-read-emacs-lisp-library): Function deleted. 1999-10-29 Noah Friedman * frame-fns.el (make-aaa-frame): Take optional frame-params arg and apply that alist to new frame properties. 1999-10-28 Noah Friedman * fff-elisp.el: This is predominantly not new code; just routines split out from the main fff.el package for the sake of maintainability. (fff-emacs-lisp-def-regexp, fff-find-emacs-lisp-library, fff-insert-emacs-lisp-library, fff--emacs-lisp-library, fff-locate-emacs-lisp-library, fff-find-loaded-emacs-lisp-function-or-variable, fff-emacs-lisp-goto-definition, fff-locate-loaded-emacs-lisp-library, fff-emacs-lisp-bytecode-source-file-name, fff-insert-file-contents-next-region, fff-completing-read-emacs-lisp-library, fff-completing-read-emacs-lisp-symbol, fff-function-or-variable-at-point, fff-make-emacs-lisp-library-completions, fff-complete-feature, fff-function-at-point): Moved here from fff.el. (fff-elisp-load-history-elt-by): Moved here from fff.el and renamed from fff-load-history-elt-by. (fff-elisp-load-history-file-name): Moved here from fff.el and renamed from fff-load-history-file-name. (fff-elisp-install-map): New function. * fff.el (fff-default-obarray-size): Use defvar, not defconst. (fff-emacs-lisp-def-regexp, fff-find-emacs-lisp-library, fff-insert-emacs-lisp-library, fff--emacs-lisp-library, fff-locate-emacs-lisp-library, fff-find-loaded-emacs-lisp-function-or-variable, fff-emacs-lisp-goto-definition, fff-locate-loaded-emacs-lisp-library, fff-load-history-elt-by, fff-load-history-file-name, fff-emacs-lisp-bytecode-source-file-name, fff-insert-file-contents-next-region, fff-completing-read-emacs-lisp-library, fff-completing-read-emacs-lisp-symbol, fff-function-or-variable-at-point, fff-make-emacs-lisp-library-completions, fff-complete-feature, fff-function-at-point): Moved to fff-elisp.el. (fff-install-map): Do not add keybindings for any of the relocated functions; those are now installed by fff-elisp-install-map in fff-elisp.el. (fff-emacs-lisp-def-regexp): Do not require whitespace after symbol name. (fff-completing-read-emacs-lisp-symbol): New function. (fff-function-or-variable-at-point): New function. (fff-function-at-point): New defalias. (fff-find-loaded-emacs-lisp-function-or-variable): Renamed from fff-find-loaded-emacs-lisp-function. Use fff-completing-read-emacs-lisp-symbol for interactive input and use fff-function-or-variable-at-point for default value. No longer require that selected symbol have a function definition; variable definitions are acceptable too. * flash-paren.el: Renamed file from flashparen.el to flash-paren.el. In variable and function name changes below, all references changed. (flash-paren): Renamed defgroup from flashparen. (flash-paren-mode): Renamed variable from flash-matching-mode. (flash-paren-delay): Renamed variable from flash-matching-delay. (flash-paren-method): Renamed variable from flash-matching-method. (flash-paren-current-delay): Renamed variable from flash-matching-current-delay. (flash-paren-mode): Renamed function from flash-matching-mode. (flash-paren-even-quoting-p): Renamed function from flash-matching-even-quoting-p. (flash-paren-check): Renamed function from flash-matching-char. (flash-paren-do-flash-with-overlay): Renamed function from flash-matching-do-flash-with-overlay. (flash-paren-do-flash-with-buffer-modification): Renamed function from flash-matching-do-flash-with-buffer-modification. (flash-paren-background-at-pos): Renamed function from flash-matching-background-at-pos. (flash-paren-make-marker): Renamed function from flash-make-marker. (flash-paren-matching-paren): Renamed from flashparen-matching-paren. 1999-10-25 Noah Friedman * flash-paren.el (flash-matching-method): This should be a defvar, not defcustom. (flashparen): New defgroup. (flash-matching-mode): Customize. (flash-matching-delay): Customize. (flash-matching-method): New variable. (flash-matching-char): Use it. Restore point before calling flashing function. (flash-matching-do-flash-with-overlay): New function. (flash-matching-background-at-pos): New function. (flash-matching-do-flash-with-buffer-modification): Renamed from flash-matching-do-flash. Insert strings instead of characters. Preserve text properties. Preserve value of buffer-read-only during display. * vcard.el (vcard-parse-string): Bind case-fold-search to t. Downcase key for comparison purposes. * eldoc.el: Use add-minor-mode to set minor-mode-alist, if available. (eldoc-function-arglist): New function. (eldoc-function-argstring): Use it. * buffer-fns.el (toggle-mode-line-inverse-video): Use face attributes modifiers if available; these appear in Emacs 21. 1999-10-24 Noah Friedman * win-disp-util.el (wdu-scroll-screen-down): Give explit arg to scroll-down if n>0. This makes the function behave more nicely with scroll-in-place.el. (wdu-scroll-screen-up): Give explit arg to scroll-up if n>0. * list-fns.el (functionp): return t for symbols with function definitions. 1999-10-22 Noah Friedman * vm-advices.el (vm-match-data): New defadvice. * bytecomp-fns.el (bcf-byte-compile-dest-file): Return a default destination file name if none computed by bcf-byte-compile-dest-file-table. 1999-10-21 Noah Friedman * vm-addons.el (vma-mime-boundary-chars): Variable removed. (vma-mime-make-spookmime-boundary): Function removed. (vma-mime-make-multipart-boundary): Function removed. (vma-random): Function removed. This functionality all moved to spookmime.el. * vm-advices.el: Remove advice around vm-mime-make-multipart-boundary; functionality moved to spookmime.el. 1999-10-20 Noah Friedman * vm-advices.el (vm-decode-mime-message): Re-signal caught error properly. (vm-make-presentation-copy): Add doc string. (vm-mime-insert-button): Add doc string. (vm-mime-make-multipart-boundary): Rewrite as a simple call to vma-mime-make-spookmime-boundary. * vm-addons.el (vma-mime-boundary-chars): New variable. (vma-mime-make-spookmime-boundary, vma-mime-make-multipart-boundary, vma-random): New functions. 1999-10-19 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Fix whitespace matching in scp regexp. * file-fns.el (load-offer-compile-dynamic-p): Renamed from load-init-file-compile-dynamic. All references changed. (load-offer-compile): Renamed from load-init-file. (completing-read-emacs-lisp-library): Renamed from load-init-file-completing-read. New arg require-match. All callers changed. (load-library): New function. 1999-10-18 Noah Friedman * fff.el (fff-file-name-completions-in-path, fff-completing-read-file-in-path, fff-completing-read-emacs-lisp-library, fff-make-emacs-lisp-library-completions): New functions. (fff-complete-emacs-lisp-library): Function deleted. (fff-find-emacs-lisp-library, fff-insert-emacs-lisp-library, fff-locate-emacs-lisp-library): Use fff-completing-read-emacs-lisp-library. (fff-find-file-in-exec-path, fff-insert-file-in-exec-path): Use fff-completing-read-file-in-path. * file-fns.el (file-name-completions-in-path): New function. (load-init-file-completing-read): New function. (load-init-file): Use load-init-file-completing-read. If keyboard quit, signal quit. Make sure after-load-alist forms are evaluated. * vm-addons.el, vm-advices.el: Code originated from init-vm.el. 1999-10-15 Noah Friedman * proc-filters.el (process-ticker-filter-regexps): Improve scp and mpg123 patterns. (process-ticker-re-output-filter): Narrow region around new text. (proc-filter-shell-output-filter): Restore point after work is done. * fff.el (fff-load-history-file-name): Fix missing setq. * motion-fns.el (insert-numbers, new-marker, occur-long-lines, zippify-region): Functions deleted; moved to buffer-fns.el. * buffer-fns.el (insert-numbers, new-marker, occur-long-lines, zippify-region): Moved here from motion-fns.el. (insert-numbers): Implement new arg PADP. 1999-10-12 Noah Friedman * proc-filters.el (process-filter-output-functions): Default value should be a list. (process-ftp-tick-filter, process-scp-tick-filter, process-mpg123-tick-filter): Functions deleted. (proc-filter-shell-output-filters): delete them from default list. (process-ticker-filter-regexps): New variable. (process-ticker-filter): New function. (proc-filter-shell-output-filters): Add it to default list. (process-ticker-re-output-filter): lisp-indent like `while'. 1999-10-11 Noah Friedman * proc-filters.el (process-trailing-whitespace-filter): Do not strip trailing whitespace on lines where process mark is still at the end. * list-fns.el (autoloadp, functionp, macrop): New functions, from init-common.el. * file-fns.el (load-init-file-compile-dynamic): New variable, from init.el. (load-init-file): New function, from init.el. * buffer-fns.el: Require emacs-variants. (nuke-html-tags, messages): New functions. 1999-10-10 Noah Friedman * buffer-fns.el (buffer-percentage-mode-line-format): Add docstring. make-autoloads complains without one. * kbd-fns.el (iso-acc-add-keys, iso-acc-install-extra-keys): Functions copied from init-common.el * list-fns.el (do): macro taken from from init-common.el. 1999-10-08 Noah Friedman * save-undo.el (save-undo-boundary): Add autoload cookie. * proc-filters.el (process-filter-output-functions): Add docstring. (proc-filter-shell-prompt-pattern-modes): Add docstring. (proc-filter-shell-output-filters): New variable. (process-re-output-filter): Take many regexp arguments. (process-filter-last-output-start): New function. (process-re-output-filter): Use it. (process-trailing-whitespace-filter): New function. (process-ticker-re-output-filter): New function. (process-ftp-tick-filter): New function. (process-scp-tick-filter): New function. (process-mpg123-tick-filter): New function. (process-backspace-filter): New function. (proc-filter-shell-output-filter): New function. * comint-popup.el (comint-popup-buffer): Add autoload cookie. 1999-10-06 Noah Friedman * fmailutils.el (fmailutils-goto-next-header-or-tab): New function, pulled from init-mail.el. * fff.el (fff-load-history-file-name): Handle relative file names in the load history. * string-fns.el: Add autoload cookies. 1999-09-29 Noah Friedman * xterm-frobs.el: The following changes owe to a change in behavior between early XFree86 versions of xterm (3.2.x) and more recent ones (3.3.3.1). (xterm-set-foreground-color, xterm-set-background-color): Reverse definitions. (xterm-aaa-mode): Switch color settings for mouse foreground and background. 1999-09-28 Noah Friedman * xterm-frobs.el (xterm-iconify, xterm-deiconify, xterm-set-foreground-color, xterm-set-background-color, xterm-set-cursor-color, xterm-set-mouse-foreground-color, xterm-set-mouse-background-color, xterm-set-Tek-foreground-color, xterm-set-Tek-background-color, xterm-set-highlight-color, xterm-aaa-mode, xterm-report-cursor-position, xterm-report-window-state, xterm-report-window-position-pixels, xterm-report-window-size-pixels, xterm-report-window-size, xterm-report-icon-title, xterm-report-window-title, xterm-send-and-read-response, xterm-substring): New functions. 1999-09-27 Noah Friedman * flame.el (psychoanalyze-flamer): Insert an additional newline after inserted flame. Needed for proper interaction with Emacs 20.3. Reported by Detlev Zundel . 1999-07-19 Noah Friedman * update-dns.el (update-dns-serial): Rewrite to handle Y2K compliant serial numbers (i.e. of the form "YYYYMMDDNN"). Continue handling YYMMDDNN serial numbers for backward compatibility. 1999-06-29 Noah Friedman * fmailutils.el (fmailutils-body-start-position): New function. 1999-06-24 Noah Friedman * silly-mail.el (sm-microsoft-header, sm-microsoft-table): New variables. (sm-add-microsoft): New function. (sm-mail-header-table): Update. * vm-vcard.el (vm-vcard-format-simple): Use vcard-format-string, not vcard-display-string. The latter was a reference to an obsolete function. 1999-06-19 Noah Friedman * fff.el (fff-emacs-lisp-def-regexp): New variable. (fff-emacs-lisp-goto-definition): Use it. (fff-default-obarray-size): New defconst. (fff-complete-feature, fff-symbol-list->obarray, fff-env->obarray): Use it. (fff-find-emacs-lisp-library): Doc fix. (fff-complete-emacs-lisp-library): New function. (fff-find-emacs-lisp-library, fff-insert-emacs-lisp-library, fff-locate-emacs-lisp-library): Use fff-complete-emacs-lisp-library, not fff-complete-feature. (fff--emacs-lisp-library): Handle case where lib is a feature name but not a file name, and find source file which provided it. (fff-emacs-lisp-bytecode-source-file-name, fff-env->obarray): Use save-match-data, not store-match-data. (fff-symbol-list->obarray): Add optional obarray-or-size and filter args. Handle elts of list whether symbols or strings. (fff-string-split): New optional limit arg. Use save-match-data, not store-match-data. Do not bind `string' just before function returns. Duh. 1999-06-13 Noah Friedman * win-disp-util.el: Code moved from init-common.el and cleaned up. 1999-06-10 Noah Friedman * fff.el (fff-suffix): Handle case where str is a list of strings. Make defun, not defsubst. 1999-06-09 Noah Friedman * kf-frobs.el (kf-nf-non-whitespace-regexp): Rewrite for XEmacs 20 syntax tables. Now also takes an optional syntax table argument. 1999-06-03 Noah Friedman * protbuf.el (protect-buffer-from-kill): Only bury if buffer is in selected window. (protect-process-buffer-from-kill): Here also. (protect-buffer-bury-p): Update docstring. (protect-buffer-from-kill): Give buffer arg to bury-buffer. (protect-process-buffer-from-kill): Here also. (protect-buffer-verbose, protect-buffer-bury-p): New variables. (protect-buffer-from-kill, protect-process-buffer-from-kill): Use them. (protect-buffer-from-kill-mode): Doc fix. 1999-05-22 Noah Friedman * lude.el (lude-soft-directory): add /opt/lude/soft. 1999-04-27 Dave Love * type-break.el (type-break-mode): Doc fix. * rsz-mini.el (resize-minibuffer-mode): Doc fix. 1999-04-27 Noah Friedman * shop.el (shop-adjectives): Add "anti-shock". (shop-nouns): Add "trousers". 1999-03-30 Karl Heuer * type-break.el (type-break-mode): Doc fix. * rsz-mini.el (resize-minibuffer-mode): Doc fix. 1999-03-21 Noah Friedman * order-head.el (mail-reorder-headers-save-position): Use fmailutils-current-header-start, not fmailutils-get-beginning-of-header-line-position. (mail-reorder-headers-restore-position): Here also. * fmailutils.el (fmailutils-header-start): New function. (fmailutils-current-header-start): Renamed from fmailutils-get-beginning-of-header-line-position. (fmailutils-make-header-regexp): Convert from defsubst to defun. (fmailutils-append-header-contents): Add optional arg RELATIVE. (fmailutils-next-header-start): New function. (fmailutils-current-header-contents-begin): New function. (fmailutils-current-header-contents-end): New function. (fmailutils-header-contents): New function. (fmailutils-put-unique-header): Add optional arg RELATIVE. (fmailutils-remove-header): Add optional arg RELATIVE. 1999-03-17 Noah Friedman * ns-browse.el (ns-browse-clean-temporary-file): Delete duplicate, incomplete definition. Suggestion from Dominic Mitchell . 1999-03-09 Noah Friedman * lat1conv.el (lat1conv-table-ctl-chars): New variable. 1999-02-24 Noah Friedman * rheeet-mail.el (rheeet-frob-subject-line): Use subj, not subject. 1999-02-08 Noah Friedman * eval-expr.el (eval-expr-print-level): Don't deref print-level unless bound. Portability hack for emacs 18. 1999-01-21 Noah Friedman * whitespace.el (nuke-trailing-whitespace-always-major-modes): Add sml-mode. 1998-12-11 Noah Friedman * horoscope.el (horoscope-display): New function. (horoscope): Use it. Prefix arg inserts text into the current buffer. Based on suggestion from Alex Schroeder . 1998-10-30 Andreas Schwab * eldoc.el (eldoc-argument-case): Fix customize type. 1998-10-03 Noah Friedman * rlogin.el (rlogin-send-Ctrl-C): Use process-send-string, not send-string. (rlogin-send-Ctrl-D): Here also. (rlogin-send-Ctrl-Z): Here also. (rlogin-send-Ctrl-backslash): Here also. * ssh.el (ssh-send-Ctrl-C): Use process-send-string, not send-string. (ssh-send-Ctrl-D): Here also. (ssh-send-Ctrl-Z): Here also. (ssh-send-Ctrl-backslash): Here also. 1998-09-19 Noah Friedman * eldoc.el (eldoc-message): Check for 1-arg case, and store string in eldoc-last-message without consing a new string. Rearrange logic from nested if's into cond's. (eldoc-print-fnsym-args): Renamed to eldoc-get-fnsym-args-string. Do not print message; just return string. (eldoc-get-var-docstring): Renamed from eldoc-print-var-docstring. Do not print message; just return string. Cache that string in eldoc-last-data. (eldoc-last-data): Make into a vector. (eldoc-get-fnsym-args-string): Use new data form of structure. (eldoc-get-var-docstring): Here also. (eldoc-last-data-store): New function. (eldoc-get-fnsym-args-string): Use it. (eldoc-get-var-docstring): Here also. (eldoc-docstring-first-line): Minimize interim string consing. Call substitute-command-keys on the result. (eldoc-print-var-docstrings, eldoc-print-docstring, eldoc-docstring-message): Functions removed. (eldoc-docstring-format-sym-doc): New function, functionality ripped out of eldoc-docstring-message. (eldoc-get-fnsym-args-string, eldoc-get-var-docstring): Use it. * cvs-scramble.el: Add comment. 1998-09-11 Noah Friedman * type-break.el (type-break-mode): remove :version field from defcustom declaration. It's wreaking too much havoc with XEMacs and older versions of Emacs, which share this code. * rsz-mini.el (resize-minibuffer-mode): remove :version field from defcustom declaration. It's wreaking too much havoc with XEMacs and older versions of Emacs, which share this code. * ftelnet.el (ftelnet): If using make-local-hook, pass the 4th arg `t' to add-hook also to modify the new local value. * rlogin.el (rlogin): If using make-local-hook, pass the 4th arg t to add-hook also to modify the new local value. * ssh.el: Comment fixes only, including update copyright year. (ssh): If using make-local-hook, pass the 4th arg t to add-hook also to modify the new local value. 1998-08-28 Noah Friedman * comment.el (comment-do-uncomment): If line-delimited single-char comments are indented, remove them and all leading whitespace. Suggested by Peter Breton . 1998-08-20 Noah Friedman * obarray-fns.el (obarrayp): Doc fix. (copy-obarray): Don't provide workaround for missing setplist; it's been there since emacs 18 and is portable. (make-local-obarray): Don't clobber value if already buffer-local. Doc fixes. (unintern-symbols-with-prefix): Rewrite to avoid using `for-each'; that was a personal function. Trivial doc fixes. 1998-08-18 Noah Friedman * eval-expr.el (eval-expr-display-message): Use frame-width, not screen-width. Required by XEmacs 21, which finally retires the latter. 1998-08-04 Noah Friedman * eval-expr.el (eval-expr): If an error occurs, use eval-expr-error-message; don't reimplement using eval-expr-display-message. (eval-expr-read-lisp-object-minibuffer): If read-from-string does not read entire object, reread positioning point at end of token(s) read. (eval-expr-error-message): New args waitp and raw-error. (eval-expr, eval-expr-read-lisp-object-minibuffer): Use them. 1998-07-30 Noah Friedman * eval-expr.el: Replacement for jbw's eval-expression-fix.el 1998-07-21 Noah Friedman * vcard.el (vcard-format-box): Return empty string if no data to present; don't return borders. (vcard-format-get-address): Handle case that `adr' contains only one field. * cust-stub.el: Rewrite. (cust-stub:custom-declare-group): New macro. 1998-07-13 Noah Friedman * dirtree.el (directory-tree): Fix quoting in docstring. 1998-06-24 Andreas Schwab * rlogin.el (rlogin-process-connection-type, rlogin-directory-tracking-mode): Use `other' widget type. 1998-06-05 Noah Friedman * vcard.el (vcard-parse-string): Handle "key:field" type entries, i.e. no whitespace between key and field. Communicator 4.1 seems to generate these. 1998-05-15 Richard M. Stallman * type-break.el (type-break-mode): Don't alter global-mode-string. Instead, add an element to minor-mode-alist. 1998-05-13 Richard M. Stallman * type-break.el (type-break-mode-line-message-mode): Doc fix. Fix some messages. (type-break-mode): Doc fix. 1998-05-07 Noah Friedman * lude.el (lude-soft-directory): Search for existing directory. (lude-soft-re): Initialize based on lude-soft-directory. (lude-find-file): Allow searching multiple modifications in lude-soft-file-map. 1998-03-27 Noah Friedman * lat1conv.el (lat1conv-table): Add entries for \221 and \222. 1998-03-23 Andreas Schwab * rsz-mini.el (resize-minibuffer-mode): Make it a proper minor mode: toggle resize-minibuffer mode when called without argument. 1998-03-14 Richard M. Stallman * type-break.el (type-break-emacs-variant): store-match-data => set-match-data. * rlogin.el (rlogin-parse-words): store-match-data => set-match-data. 1998-03-05 Noah Friedman * comment.el (comment-mode-alist): Added commented-out "#if 0/#endif" c-mode entry as a suggestion. 1998-03-01 Noah Friedman * fmailutils.el (fmailutils-add-fcc-related-headers): New arg replacep. 1998-02-10 Noah Friedman * vcard.el (vcard-format-lines): Handle case where 2nd column has more lines than first column. 1998-01-29 Stephen Eglen * type-break.el (type-break-mode): New customize variable to automatically load the package. Other variables customized. 1998-01-20 Noah Friedman * emacs-name.el (emacs-name-set-frame-title): Update title and icon-name frame parameters also. 1998-01-03 Richard M. Stallman * rsz-mini.el (resize-minibuffer-mode): Variable customized to automatically load the package. 1997-12-23 Noah Friedman * vm-multdom.el (vm-multdom-user-addresses): new syntax allows members to be a list. Update docstring. (vm-multdom-address-list-regexp): Handle regexps in sublists. (vm-multdom-set-recipient-address): Handle case that info returned for recipient address is a list. (vm-multdom-recipient-address-headers): Declare with defconst. (vm-multdom-match-address): New function. (vm-multdom-find-recipient-address): Use it. (vm-multdom-set-reply-address): Use fmailutils-set-from-address. (vm-multdom-quote-address-comment, vm-multdom-replace-string-regexp): Functions deleted. (vm-multdom-set-reply-address-hook): Variable deleted. * fmailutils.el (fmailutils-set-from-address-hook): New variable. (fmailutils-quote-address-comment, fmailutils-replace-string-regexp, fmailutils-set-from-address): New functions. Do not bind fmailutils-fcc in mail-mode-map. 1997-11-26 Noah Friedman * flashparen.el (flash-matching-do-flash): let-bind `before-change-functions' and `after-change-functions'. 1997-10-19 Karl Fogel * kf-frobs.el: New file. 1997-07-09 Noah Friedman * eldoc.el [top level]: Add `up-list' and `down-list' to eldoc-message-commands. 1997-06-30 Noah Friedman * czscm.el: Add new elisp procedure type. Change calling conventions for "primitive" procedure types to inherit env and tail args. New primitives: eval, apply New special forms: do Reimplement procedure property lists. 1997-06-29 Noah Friedman * czscm.el: Evaluator does tail-call elimination now. 1997-06-26 Noah Friedman * ns-browse.el (ns-browse-buffer-keep): New function. * czscm.el: New special forms: letrec, case. Special form `define' now accepts procedure syntax: (define (proc args) body) New boolean atoms #t and #f. Fix appropriate special forms to return them. * comment.el (comment-character-p): New function. (comment-do-uncomment): Use it. 1997-06-23 Noah Friedman * ns-browse.el: Replace all uses of defconst with defvar. * escreen.el (escreen-map-save-narrowed-region): Renamed from escreen-narrowed-region. (escreen-map-restore-narrowed-region): Renamed from escreen-restore-narrowed-region. (escreen-map-save-point): Renamed from escreen-save-point. (escreen-map-restore-point): Renamed from escreen-restore-point. (escreen-map-data-format): Use new names. (escreen-map-save-window-start, escreen-map-restore-window-start escreen-map-restore-mark-marker, escreen-map-save-truncate-lines, escreen-map-restore-truncate-lines, escreen-map-save-mode-line-face, escreen-map-restore-mode-line-face, escreen-map-save-menu-bar-mode, escreen-map-restore-menu-bar-mode): Name these previously anonymous functions in escreen-map-data-format. (escreen-map-data-format): Use them instead of anonymous definitions. (escreen-create-screen): Delete unused local variables `buffer-list' and `buffer-list-length'. (escreen-configuration-screen-number, escreen-configuration-window-data-configuration, escreen-configuration-data-map, escreen-configuration-selected-window-count, escreen-configuration-data-map-critical, escreen-configuration-data-map-user, escreen-configuration-data-map-critical-buffer, escreen-configuration-data-map-critical-buffer-name, escreen-configuration-data-map-critical-buffer-file-name): New functions for accessing and mutating portions of escreen-configuration-alist. (escreen-kill-screen, escreen-goto-screen, escreen-get-active-screen-numbers, escreen-first-unused-screen-number, escreen-save-current-screen-configuration, escreen-screen-defined, escreen-restore-critical-data, escreen-menu): Use them. (escreen-save-screen-map): Renamed from escreen-get-screen-map. All callers changed. (escreen-restore-screen-map): Renamed from escreen-set-screen-map. All callers changed. (escreen-save-critical-data, escreen-save-user-data): New functions. (escreen-save-screen-map): Use them. (escreen-restore-critical-data, escreen-restore-user-data): New functions. (escreen-restore-screen-map): Use them. (escreen-restore-buffer): Function deleted. (escreen-restore-screen-map): Don't call it. (escreen-window-edges, escreen-force-mode-line-update, escreen-member): Don't conditionally define differently. Instead, define single definition which does appropriate version checking at run time. The rationale for this is that the run-time cost is small, and having a top-level definition assists with load-history lookup and lazy loading in more modern versions of emacs. * ssh.el: Provide 'ssh. * rlogin.el: Provide 'rlogin. * rsz-mini.el: Update copyright year. Put back RCS version comment string, which rms keeps removing. Don't call resize-minibuffer-mode at load time. Don't modify minibuffer-setup-hook at load time. (resize-minibuffer-mode): Add resize-minibuffer-setup to minibuffer-setup-hook. * type-break.el: Don't require timer; use autoloaded functions from Emacs or XEmacs, depending on variant. Do not use defsubst anywhere. Replace with defuns. (type-break-warning-message-mode): Variable deleted. (type-break-query-mode): New variable and function. (type-break-mode): Mention in docstring. (type-break-run-at-time): New function. All callers of run-at-time changed. (type-break-cancel-function-timers): New function. All callers of cancel-function-timers changed. (type-break-check-post-command-hook): New function. (type-break-mode, type-break-schedule, type-break-alarm, type-break-time-warning-alarm): Call it. (type-break-mode-line-countdown-or-break): New function. (type-break): Call it. (type-break-time-warning-schedule): Put type-break-time-warning on type-break-post-command-hook. (type-break-check): Call type-break-mode-line-countdown-or-break. (type-break-noninteractive-query): New function. (type-break-force-mode-line-update): New function. 1997-06-14 Noah Friedman * dbfrobs.el (dbfrobs:toggle-debug-on-error): Add autoload cookie. 1997-06-06 Noah Friedman * flashparen.el (flash-use-idle-timer-p, flash-timer, flash-matching-current-delay): New variables. (flash-matching-mode): Fix function docstring. Schedule timer if idle timers available. If no prefix arg, toggle mode. (flash-schedule-timer): New function. (flash-matching-char): Use executing-kbd-macro, not executing-macro. (flash-make-marker): New function. (flash-matching-do-flash): Check if using idle timers before checking whether to deactivate mark in transient mark mode. Bind inhibit-read-only to t in edit loops. Make flash-matching-opoint and flash-matching-mpoint into markers using flash-make-marker. 1997-05-28 Noah Friedman * ssh.el (ssh): New defgroup. (ssh-program, ssh-explicit-args, ssh-mode-hook, ssh-process-connection-type, ssh-directory-tracking-mode, ssh-host, ssh-remote-user): Use defcustom, not defvar. (ssh-mode): Make mode-class special. 1997-05-25 Noah Friedman * listbuf.el (listbuf-print): In XEmacs, don't highlight quotation marks around quoted names. In Emacs, enable rear-nonsticky property on highlighted buffer names. 1997-05-22 Noah Friedman * eldoc.el (eldoc-message-commands): Move docstring into comments, since this isn't a user variable. (eldoc-message-commands-table-size, eldoc-use-idle-timer-p, eldoc-function-argstring-from-docstring-method-table): Use defvar, not defconst. (eldoc-last-data): Use cons explicitly; don't rely on dotted pair read syntax. I'm worried the latter might get compiled as read-only data someday. (eldoc-docstring-message): If truncating symbol name, show ending of name rather than beginning. The former is generally more unique. (eldoc-function-argstring-from-docstring-method-table): Handle pathological `save-restriction' case. [top level]: Add `indent-for-tab-command' to eldoc-message-commands. 1997-05-21 Noah Friedman * fmailutils.el (fmailutils-make-message-id): Pass explicit time spec to format-time-string and current-time-string. (fmailutils-rfc822-date): Here also. 1997-05-18 Noah Friedman * listbuf.el (listbuf-print): Put text properties in XEmacs buffer menus if supported. (listbuf-get-Buffer): For XEmacs, use print-escape-newlines to get right printing behavior, instead of checking for newlines explicitly. (listbuf-prettify-file-name): If XEmacs, pass extra arg to abbreviate-file-name. * suggbind.el (after-execute-extended-command-hook): Default to nil. (suggbind-install, suggbind-uninstall, suggbind-insert-hooks, suggbind-execute-extended-command): Functions deleted. (execute-extended-command): New defadvice. * fmailutils.el (fmailutils-position-on-field): New function. (fmailutils-append-header-contents, fmailutils-get-beginning-of-header-line-position, fmailutils-get-header-contents, fmailutils-put-header, fmailutils-put-unique-header, fmailutils-remove-header): Use it, not mail-position-on-field. (fmailutils-make-header-regexp): Don't insist on whitespace at end of header name. * order-head.el (mail-reorder-headers-restore-position): Use fmailutils-position-on-field. (mail-reorder-headers-string-member, mail-reorder-headers-string-delete): New functions. (mail-reorder-headers-get-header-names, mail-reorder-headers-restore-headers): Use them. 1997-05-17 Ralph Schleicher * battery.el: New file. 1997-05-16 Noah Friedman * fmailutils.el (fmailutils-make-message-id): Use microseconds instead of random number if available. Include process id of emacs in message id. 1997-05-08 Noah Friedman * order-head.el (mail-reorder-headers-save-position): Use fmailutils-current-header, not mail-current-header. Use fmailutils-get-beginning-of-header-line-position, not mail-get-beginning-of-header-line-position. (mail-reorder-headers-restore-position): Use fmailutils-get-beginning-of-header-line-position, not mail-get-beginning-of-header-line-position. (mail-reorder-headers-delete): Use fmailutils-remove-header, not mail-remove-header. (mail-reorder-headers-get-header-names): Use fmailutils-get-header-names, not mail-get-header-names. (mail-reorder-headers-collect-headers): Use fmailutils-get-header-contents, not mail-get-header-contents. Use fmailutils-remove-header, not mail-remove-header. (mail-reorder-headers-restore-headers): Use fmailutils-put-unique-header, not mail-put-unique-header. Use fmailutils-put-header, not mail-put-header. * fmailutils.el: Where functions were renamed, all callers were changed. Drop provide of 'friedman-mail-utils. (fmailutils-header-separator-position): Renamed from mail-header-separator-position. (fmailutils-append-header-contents): Renamed from mail-append-header-contents. (fmailutils-current-header): Renamed from mail-current-header. (fmailutils-get-beginning-of-header-line-position): Renamed from mail-get-beginning-of-header-line-position. (fmailutils-get-header-contents): Renamed from mail-get-header-contents. (fmailutils-get-header-names): Renamed from mail-get-header-names. (fmailutils-put-header): Renamed from mail-put-header. (fmailutils-put-unique-header): Renamed from mail-put-unique-header. (fmailutils-remove-header): Renamed from mail-remove-header. (fmailutils-make-message-id): Renamed from mail-make-message-id. (fmailutils-add-fcc-related-headers): Renamed from mail-add-fcc-related-headers. (fmailutils-fcc): Renamed from mail-fcc. (mail-folder-directory): Variable declaration deleted. (fmailutils-fcc): Use it if bound and non-nil, otherwise use default-directory. 1997-05-05 Richard M. Stallman * rlogin.el (rlogin-mode): Add a mode-class property. 1997-05-03 Noah Friedman * suggbind.el: Fix LCD archive comment. 1997-04-30 Noah Friedman * fff.el: Fix comment-related typo. 1997-04-20 Noah Friedman * order-head.el: Nearly total rewrite. Package renamed to order-head.el from mail-reorder-headers.el. (mail-reorder-headers-preferred): Add Message-Id to default list. (mail-reorder-headers-concat-identical-address-headers): Renamed from mail-reorder-headers-concat-identical-headers. (mail-reorder-headers-save-undo-boundary): New macro. (mail-reorder-headers-rfc822-addresses): New function. (mail-reorder-headers-save-position, mail-reorder-headers-restore-position, mail-reorder-headers-delete, mail-reorder-headers-get-header-names, mail-reorder-headers-collect-headers, mail-reorder-headers-restore-headers): New functions. (mail-reorder-headers): Use them. Provide 'order-head as well as 'mail-reorder-headers. 1997-04-17 Noah Friedman * fmailutils.el (fmailutils-header-name-regexp): New constant. (fmailutils-save-state): New macro. All functions changed to use this instead of save-excursion. (fmailutils-make-header-regexp): New function. (mail-make-message-id): New function. (fmailutils-rfc822-date): New function. (fmailutils-rfc822-time-zone-offset): New function. (fmailutils-rfc822-time-zone-name): New function. (mail-add-fcc-related-headers): New function. (fmu-member): Function deleted. 1997-04-15 Noah Friedman * rlogin.el (rlogin-process-connection-type): Default to t for solaris 2.x. 1997-04-14 Richard M. Stallman * eldoc.el: Add defgroup; use defcustom for user vars. 1997-04-13 Noah Friedman * shop.el (shop-nouns): Added Ritz Cracker Crumbs. Woo hoo! 1997-04-12 Richard M. Stallman * rsz-mini.el: Add defgroup; use defcustom for user vars. * rlogin.el: Update copyright year. * rlogin.el: Add defgroup's; use defcustom for user vars. 1997-04-01 Noah Friedman * fshell.el (fshell): If called with non-numeric prefix arg, or `t', always create new shell buffer. Patch by Jeff Dwork . 1997-03-27 Noah Friedman * eldoc.el (eldoc-idle-delay): Make defvar, not defconst. (eldoc-minor-mode-string): Make defvar, not defconst. (eldoc-argument-case): Make defvar, not defconst. 1997-03-15 Noah Friedman * pb-popup.el (pb-popup): Fix args to walk-windows. 1997-03-14 Noah Friedman * silly-mail.el (sm-mail-header-table): Update for rewritten kibologize.el. (sm-add-kibology): Here also. * kibologize.el: Total rewrite, using Bob Manson's horoscope engine. * twiddle.el (twiddle-hacks): Doc string update: Allow initial-char arg to be a string. Define initial string for "twiddle". (twiddle-mode-string): Renamed from twiddle-string. All callers changed. (twiddle-current-pos, twiddle-current-saved-char, twiddle-direction, twiddle-temp): New variables. (twiddle-frob-twiddle, twiddle-frob-roll, twiddle-frob-asterisk): Use them. (twiddle-initialize-data): Initialize them. (twiddle-start-twiddling): Call it. (twlddle-stop): Set twiddle-mode-string to nil. (twiddle-frob-mode-line-format): Rewritten. (twiddle-make-thunk): New function. (twiddle-timer-start): Use it to pass args for xemacs timers. (twiddle-mode-line-update): New alias. All callers of force-mode-line-update changed to use that. 1997-03-13 Noah Friedman * twiddle.el: Comment fix. 1997-03-11 Noah Friedman * whitespace.el (nuke-trailing-whitespace): If called interactively, call whitespace-do-nuke-whitespace interactively. (whitespace-do-nuke-whitespace): Make interactive. If called interactively, unconditionally strip whitespace. 1997-03-09 Noah Friedman * fff.el: Remove FSF copyright notice; I never sent papers for this program. (fff-emacs-variant): Now a function, not a constant. All callers changed. (fff-length1-p): Now a defsubst, not a macro. (fff-suffix): Now a defsubst, not a macro. (fff-complete-feature, fff-complete-envvar): New functions used to delay completion table generation. (fff-find-emacs-lisp-library, fff-insert-emacs-lisp-library, fff-locate-emacs-lisp-library, fff-find-file-in-envvar-path, fff-insert-file-in-envvar-path): Use them. (fff-emacs-lisp-goto-definition): New function. (fff-find-loaded-emacs-lisp-function): Use it. If can't find source file used to compile bytecode, look for source file in same directory, or do a regular load-path lookup. Warn user. (fff-member, fff-member-fn): Deleted. All previous callers use `member' directly. (fff-controlify-key-sequence): Now a function, not a macro. (fff-make-sparse-keymap): Now a function, not macro. (fff-define-key): Now a function, not a macro. Do not "controllify" key sequence args by default. (fff-install-map): Define keys using control sequences. 1997-03-03 Noah Friedman * youwill.el: New phrases from Mark Welch. Added new vocabulary and sentences from Bob Manson. 1997-03-02 Noah Friedman * youwill.el (youwill-random-member): Rewrite. 1997-03-01 Noah Friedman * silly-mail.el (sm-at&t-hype-header): New variable. (sm-add-at&t-hype): New command. (sm-mail-header-table): Add new slow for sm-add-at&t-hype. 1997-02-23 Noah Friedman * disptime.el (disptime-toggle-showing-mail): New command. 1997-02-19 Noah Friedman * eldoc.el (eldoc-message-commands): Doc fixes. (eldoc-message): Make function, not macro. (eldoc-last-message): New internal variable. (eldoc-mode): Initialize it to nil. (eldoc-message): Use it. (eldoc-print-current-symbol-info): Use it. (eldoc-pre-command-refresh-echo-area): New function. (eldoc-mode): Put it on pre-command-hook if in XEmacs or using idle timers in Emacs. (eldoc-message-commands-table-size): New constant. (eldoc-add-command): Use it to initialize eldoc-message-commands. (eldoc-display-message-no-interference-p): New function. (eldoc-display-message-p): Use it. (eldoc-print-fnsym-args, eldoc-print-var-docstring): Arg sym no longer optional. Do not initialize arg if nil. (eldoc-forward-sexp-safe): Function deleted. (eldoc-beginning-of-sexp): New function. (eldoc-fnsym-in-current-sexp): Use eldoc-beginning-of-sexp. Use eldoc-current-symbol to get symbol at point. (eldoc-function-argstring-from-docstring-method-table): Forge docstrings for `and', `or', `list', `+', and `-'. (eldoc-add-command-completions): New function. (eldoc-add-command): Take list of args. No longer interactive. (eldoc-remove-command-completions): New function. (eldoc-remove-command): Take list of args. No longer interactive. [top level]: Initialize eldoc-message-commands using eldoc-add-command-completions. 1997-02-15 Noah Friedman * silly-mail.el (sm-mail-header-table): Load `horoscope' for horoscope function. (sm-add-horoscope): Require horoscope. * ns-browse.el (ns-browse-clean-temporary-file): Don't ever loop more than 5 times before deleting file. Also, give up if user input arrives. 1997-02-14 Noah Friedman * uboat.el: Rewritten. 1997-02-13 Noah Friedman * silly-mail.el (sm-mail-header-table): Restructured. Items can now be lists instead of symbols. (sm-load-missing-libraries): New variable. (sm-random-header-function): New function. (sm-add-random-header): Use it. (sm-user-header-function-p): New function. (sm-add-all-headers): Use it to decide whether to invoke functions. (sm-add-drdoom-fodder): Use sm-put-random-sequence-items, not sm-add-sequence-items, which doesn't exist. (sm-emacs-name-header): New variable. (sm-emacs-name-table): New variable. (sm-add-emacs-name): New function. (sm-horoscope-header): New variable. (sm-add-horoscope): New function. (sm-uboat-death-message-header): New variable. (sm-add-uboat-death-message): New function. * emacs-name.el: Inline acronyms in vector; don't use cookie1 and a separate file. 1997-02-11 Noah Friedman * shop.el (shop-random-range): Fix typo. (shop-random-range): Make a function. Allow upper arg to be optional. (shop-random): Expand to (random n) if supported by emacs variant. (shop-string-numbered-list): New function. * silly-mail.el (sm-shopping-list-count): Default to range [3..6). (sm-add-shopping-list): Use shop-string-numbered-list and shop-random-range. 1997-02-08 Noah Friedman * silly-mail.el (sm-put-header-multiline-content): Use sm-fill-indent-width, not sm-indent-width. Total rewrite. * disptime.el (disptime-count-mail-sentinel): If count is 0, clear disptime-mail-string. (disptime-set-mail-string): Check mail-file to see if it's actually set to the symbol `remote'. Treat contents as empty if attr is nil. (disptime-count-mail-messages): Check if mail-file is actually set to the symbol `remote'. If so don't bother with modtime data; always run program. (disptime-mail-file): Document 'remote setting. (disptime-set-mail-string): Allow for case that mail-file is a symbol. (disptime-count-mail-messages): Don't add mail-file to list of args if nil. 1997-02-04 Noah Friedman * shop.el (shop-capitalize-string): New optional arg allp. Unless allp, capitalize only first word. (shop): Capitalize shopping list items. (shop-middle-name): Pass 2nd arg t to shop-capitalize-string. * eldoc.el (eldoc-display-message-p): New function. Return nil if cursor-in-echo-area, or using idle timers and a command is still active. (eldoc-print-current-symbol-info): Use eldoc-display-message-p. 1997-02-03 Noah Friedman * eldoc.el: Update copyright notice to reflect assignment to FSF and incorporation into Emacs. Attempt to load `timer'. (eldoc-idle-delay): Make defconst. (eldoc-minor-mode-string): Make defconst. (eldoc-argument-case): Make defconst. (eldoc-message-commands): Renamed from eldoc-mode-message-commands. All callers changed. Add `mouse-set-point' as a default candidate. (eldoc-use-idle-timer-p): New constant. (eldoc-timer): New variable. (eldoc-current-idle-delay): New variable. (eldoc-schedule-timer): New function. (eldoc-mode): Use idle timers if supported. (eldoc-add-command): Provide completion on interactive commands only, not all bound functions. (eldoc-print-current-symbol-info): Renamed from eldoc-mode-print-current-symbol-info. All callers changed. Check whether using idle timers or being run from post-command hooks. Use `executing-kbd-macro' instead of `executing-macro'. (eldoc-print-fnsym-args): Don't make interactive. Cache current symbol name in eldoc-last-data; it was forgetting to do this previously. If subr args cannot be determined, show single-line docstring for it instead. (eldoc-docstring-message): New function. (eldoc-print-docstring): New function. (eldoc-print-var-docstring): Use them. (eldoc-function-argstring-from-docstring-method-table): New constant. (eldoc-function-argstring-from-docstring): Use it. 1997-01-28 Noah Friedman * ns-browse.el (ns-browse-expose-all-headers-method): Add entry for vm-presentation-mode (new in VM 6.0). (ns-browse-hide-exposed-headers-method): Here too. 1996-12-26 Richard M. Stallman * rsz-mini.el: Comment change. 1996-12-07 Richard M. Stallman * rsz-mini.el: Get rid of RCS id. 1996-11-23 Noah Friedman * ns-browse.el (ns-browse-buffer): Accept prefix arg new-window. (ns-browse-save-buffer-to-file): If randomly-generated name, make sure it does not yet exist. 1996-11-19 Karl Heuer * rsz-mini.el (resize-minibuffer-frame): Don't assume minibuffer frame is selected. 1996-11-14 Karl Heuer * rsz-mini.el (resize-minibuffer-frame-restore): Don't assume minibuffer frame is selected. 1996-10-31 Noah Friedman * webster.el (webster-server): Default to $WEBSTERHOST if defined. (webster-port): Default to $WEBSTERPORT if defined. 1996-10-18 Noah Friedman * qpdecode.el (qpdecode-gnus-toggle-article-headers, qpdecode-gnus-widen-article-headers, qpdecode-gnus-narrow-article-headers): New functions. (qpdecode-toggle-all-mail-headers-method, qpdecode-expose-all-mail-headers-method, qpdecode-hide-exposed-mail-headers-method): Add methods for gnus article mode. 1996-10-07 Noah Friedman * qpdecode.el (qpdecode-expose-all-mail-headers-method, qpdecode-hide-exposed-mail-headers-method): Add methods for RMAIL. (qpdecode-decode-message): Don't save point. (qpdecode-rmail-all-headers-exposed-p, qpdecode-rmail-widen-message-headers, qpdecode-rmail-narrow-message-headers): New functions. * qpdecode.el: Rewritten. 1996-10-06 Noah Friedman * fff.el: Assign copyright to FSF. (fff-emacs-variant, fff-menu-bar-support-p): Define at compile time using eval-and-compile. (fff-emacs-variant): Remove check for nemacs-version. Replace `gnu' variant name with `emacs'. (fff-menu-bar-support-p): Define in terms of fff-emacs-variant. (fff-locate-files-in-locate-db): Replace reference to renamed variable `fff-locate-files-program-args' with `fff-locate-program-args'. (fff-use-current-buffer-first-call-p): Create defvar to shut up compiler warnings. (fff-display-matches-mode): Doc fix. (fff-path-string->list): Replace call to string-split with fff-string-split. 1996-10-04 Noah Friedman * zenirc-frobs.el: New file. * eldoc.el (eldoc-function-argstring-from-docstring): Add search that finds arglist for `start-process'; possibly others. 1996-10-02 Noah Friedman * qpdecode.el: If there is no transfer encoding type header (e.g. in multipart/mixed messages, ask whether to assume quoted-printable. 1996-09-30 Noah Friedman * whitespace.el (nuke-trailing-whitespace-always-major-modes): Add makefile-mode. 1996-09-25 Noah Friedman * comment.el (comment-mode-alist): Add entry for message-mode. This appears to be a new reply mode for gnus in emacs 19.34. 1996-09-24 Noah Friedman * suggbind.el: Require 'advice. (suggbind-command-bindings): Use executing-kbd-macro, not executing-macro. * qpdecode.el: New file. 1996-09-15 Noah Friedman * suggbind.el (suggbind-command-bindings): Check that cmdsym is bound before printing in echo area. 1996-09-04 Noah Friedman * disptime.el (disptime-builtin-load-average-p): Check for gnu/linux system type. 1996-08-23 Noah Friedman * fshell.el (fshell-no-tty): New command. 1996-07-15 Noah Friedman * vkill.el (vkill-goal-column, vkill-ps-command, vkill-all-ps-command): Add gnu/linux as recognized system type. (vkill-ps-command, vkill-all-ps-command): For linux systems, do not pass `-g' option to `ps'. 1996-07-14 Noah Friedman * eldoc.el (eldoc-mode): Toggle eldoc-mode if no prefix given. 1996-07-06 Noah Friedman * ssh.el (ssh): Prepend ssh-explicit-args to command args, and do it after parsing. 1996-07-05 Noah Friedman * ssh.el: New file. 1996-06-24 Noah Friedman * doh.el: New file. 1996-06-23 Noah Friedman * escreen.el (escreen-get-screen-map): Save the number of the selected window (as an offset from the first window). (escreen-set-screen-map): Restore it. * rlogin.el (rlogin): add rlogin-carriage-filter to comint-output-filter-functions, not ftelnet-carriage-filter. 1996-06-20 Noah Friedman * rlogin.el (rlogin): make comint-output-filter-functions local before adding hooks. * ftelnet.el (ftelnet): Make comint-output-filter-functions local before adding hooks. 1996-06-14 Richard M. Stallman * rlogin.el (rlogin): Doc fix. 1996-06-13 Noah Friedman * meditate.el (meditate-ignore-regexp-list): Add ignore for opening URL message. 1996-06-02 Noah Friedman * disptime.el (disptime-reset-timer): Fix typo. * fff.el (fff-menu-bar-support-p): nil for xemacs. (fff-find-emacs-lisp-library, fff-insert-emacs-lisp-library, fff--emacs-lisp-library, fff-locate-emacs-lisp-library, fff-find-file-in-exec-path, fff-insert-file-in-exec-path, fff-find-file-in-envvar-path, fff-insert-file-in-envvar-path, fff-find-file-in-path, fff-insert-file-in-path, fff--file-in-path, fff-find-file-in-locate-db, fff-insert-file-in-locate-db, fff--file-in-locate-db): Reverse meaning of prefix arg, and change name to `allp'. All callers changed. 1996-05-16 Noah Friedman * vm-multdom.el: New file. 1996-05-08 Noah Friedman * rlogin.el (rlogin): Call rlogin-mode after adding rlogin-carriage-filter to output filter functions, so user can remove it if desired. * ftelnet.el (ftelnet): Call ftelnet-mode after adding ftelnet-carriage-filter to output filter functions, so user can remove it if desired. 1996-05-07 Noah Friedman * fshell.el (fshell): If no prefix arg is given and process in *shell* buffer is exited, reuse that buffer. 1996-05-06 Noah Friedman * disptime.el (disptime-builtin-load-average-p): put condition-case around call to load-average, in case it signals a "not implemented on this system" error. 1996-05-05 Noah Friedman * dbfrobs.el (dbfrobs::set-condition): Check that debug-on-error is a list before adding or removing elts. (dbfrobs::eval-after-load): Rewritten. 1996-05-04 Noah Friedman * disptime.el: New file. 1996-04-25 Noah Friedman * whitespace.el: Put under GPL. (nuke-trailing-whitespace-always-major-modes, nuke-trailing-whitespace-never-major-modes): New variables. (whitespace-check-mode): New function. (nuke-trailing-whitespace-p): Default to that. (whitespace-regexp, whitespace-eob-newline-regexp): New constants. (whitespace-do-nuke-whitespace): New function. (nuke-trailing-whitespace): Use it. 1996-04-20 Noah Friedman * vkill.el: Comment fixes. Recognize Linux systems. (process-list-vkill, process-list-all-vkill): New commands. (vkill-toggle-truncate-lines): Use recenter to update display. 1996-04-19 Noah Friedman * suggbind.el: New file. 1996-04-17 Noah Friedman * fff.el: Emacs 19 menu bar support added. (fff-find-loaded-emacs-lisp-function, fff-find-file-in-envvar-path, fff-insert-file-in-envvar-path): New commands. (fff-menu-bar-support-p, fff-emacs-variant): New constants. (fff-suffix): New macro. (fff-locate-emacs-lisp-library): Use it. (fff-locate-loaded-emacs-lisp-library): Remove optional arg `pred'. All callers changed. (fff-load-history-file-name, fff-load-history-elt-by): New functions. (fff-locate-loaded-emacs-lisp-library): Use them. (fff-emacs-lisp-bytecode-source-file-name, fff-insert-file-contents-next-region, fff-env->obarray): New functions. 1996-04-11 Noah Friedman * fff.el: Doc fixes. 1996-04-10 Noah Friedman * fff.el (fff-member-fn): New function. (fff-member): New macro. (fff-files-in-directory-list): Use it. (fff--emacs-lisp-library): Don't check if matches are just a single string. Instead, check if result is a list of length 1. (fff-locate-emacs-lisp-library): Insert missing pred arg to interactive spec. (fff-display-matches-mode-selection-action, fff-display-matches-mode-selection-buffer, fff-display-matches-mode-selection-marker): Variables deleted. (fff-display-matches-mode-selection-data): New variable. (fff-display-matches-mode): Set it from arglist. (fff-display-matches): Make a marker for startpos. Pass name of buffer as well as buffer object. (fff-display-buffer): New args not-this-window-p and selectp. All callers changed. (fff-display-matches-use-current-buffer-p): New function. (fff-display-matches-select-match): Use it if original buffer is killed. 1996-04-08 Noah Friedman * fff.el: New file. 1996-04-03 Noah Friedman * listbuf.el (listbuf-current-file-version): Make sure directory is accessible before calling file-name-all-completions in it. (listbuf-xemacs-p): Renamed from listbuf-lucid-p. All references changed. (listbuf-field-alist): Change max field with for "Rev" back to 10. (listbuf-position-on-current-buffer-p): New variable. (listbuf): Use it. (listbuf-buffer-name): Change to defconst from defvar. (listbuf-current-file-version-info): New constant. (listbuf-current-file-version): New function. (listbuf-get-Rev): Use it on non-remote file names. Check that vc-mode is also a string. (listbuf-file-name-remote-p): New function. (listbuf-user@host-prefix): Use it. (listbuf-prettify-remote-file-name): New function. (listbuf-prettify-file-name): Use it. * fshell.el: Update FSF address in copyright notice. (fshell-inherit-cwd): Expand leading `~' in default directory. (fshell-inherit-cwd): Comment fix. (fshell-make-shell-hook): New hook. (fshell-make-shell): Run it. (fshell-inherit-cwd): New function. 1996-03-29 Noah Friedman * listbuf.el (listbuf-get-File): If found name is a list, mapcar the listbuf-buffer-file-name-filter here. (listbuf-get-dired-file): Not here. Just return dired-directory. (listbuf-user@host-prefix): New function. (listbuf-prettify-file-name): Use it to compute remote file name prefix. 1996-03-28 Noah Friedman * ftcp.el (ftcp-open-network-stream-program-args): Remove "--no-sighup". 1996-03-26 Noah Friedman * listbuf.el (listbuf-display-buffer): New function. (listbuf): Use it. (listbuf-print): New arg orig-buffer. When printing the line for the buffer matching orig-buffer, put a `.' in the first column. Return that point. (listbuf-1): Don't call listbuf-print. (listbuf): Do it here. Keep track of original buffer, and pass it as arg to listbuf-print. Use return value to position point. Disable undo in the buffer list buffer. * webster.el (webster-send): Allow a `run' process-status to indicate process is still alive. 1996-03-20 Noah Friedman * ftcp.el (ftcp-open-network-stream-mode): Remove references to `buffer'. 1996-03-05 Noah Friedman * ftcp.el (ftcp-open-network-stream-program-args): Don't include --verbose. That screws up w3 and possibly other process filters. 1996-03-03 Noah Friedman * ftcp.el: New file. 1996-02-14 Noah Friedman * escreen.el (escreen-first-window): Rewritten. * vkill.el (vkill-goal-column, vkill-ps-command, vkill-all-ps-command): Updated for linux. 1996-01-29 Noah Friedman * escreen.el (escreen-first-window, escreen-first-window-p): New functions. (escreen-get-screen-map): Save screen data starting with window returned by escreen-first-window. (escreen-set-screen-map): Switch to first window to sync window ops with configuration data. (escreen-map-critical-data-format): Don't store window edges. (escreen-restore-buffer): Adjust accordingly. (escreen-menu): Here also. 1996-01-24 Andreas Schwab * type-break.el (type-break-demo-life): Pass proper format string to message. 1996-01-23 Noah Friedman * ftelnet.el, dbfrobs.el, escreen.el: Added LCD archive entry data. 1996-01-20 Richard Stallman * type-break.el: Move defsubsts before defuns. 1996-01-16 Noah Friedman * protbuf.el (protect-buffer-from-kill-mode, protect-process-buffer-from-kill-mode): Toggle existing state if no prefix arg given. 1996-01-14 Erik Naggum * rlogin.el, rsz-mini.el: Update FSF's address. 1996-01-04 Paul Eggert * type-break.el (type-break-guesstimate-keystroke-threshold): Renamed from type-break-guestimate-keystroke-threshold. (type-break-keystroke-threshold, type-break-mode): Doc fix. (type-break-warning-message-mode): New variable. (type-break-warning-countdown-string): New variable. (type-break-warning-countdown-string-type): New variable. (type-break-warning-message-mode): New function. (type-break-alarm): Reset type-break mode. (type-break-check): Ignore mouse motion. 1996-01-09 Karl Heuer * rsz-mini.el: Comment fixes. 1995-12-15 Noah Friedman * invoice.el (invoice-time-state): Move decl nearer to top of file. Implement invoice timing. 1995-12-11 Noah Friedman * invoice.el (invoice-insert-item): Use time-stamp.el functions instead of timestamp.el. * invoice.el: New file. 1995-12-03 Noah Friedman * escreen.el (escreen-new-screen-default-buffer): New variable. (escreen-create-screen, escreen-restore-buffer): Use it. (escreen-menu): Put a `*' next to current screen number. 1995-11-27 Noah Friedman * escreen.el (escreen-save-point): Rewritten. (escreen-position-valid-p, escreen-save-point, escreen-restore-point): New functions. (escreen-map-data-format): Use them. (escreen-map-data-format): Instead of making a simple point-marker, use either the process mark (if live), or make a before-insertion marker at point. (escreen-map-data-format, escreen-map-critical-data-format): New variables. (escreen-get-screen-map, escreen-set-screen-map): Use them. (escreen-restore-buffer): New function. (escreen-set-screen-map): Use it. (escreen-restore-narrowed-region, escreen-make-marker): New functions. (escreen-menu): Update to reflect changed configuration-alist structure. 1995-11-26 Noah Friedman * fmailutils.el: Renamed to fmailutils.el. * escreen.el: Largely rewritten. Removed the dependency on screen.el (an early version of tapestry.el). 1995-11-25 Noah Friedman * eldoc.el (eldoc-message): New macro. (eldoc-print-var-docstring, eldoc-print-fnsym-args): Use it. 1995-11-22 Noah Friedman * fill-colons.el: New file. 1995-11-21 Noah Friedman * eldoc.el (eldoc-mode-print-current-symbol-info): Do nothing if executing-macro. 1995-11-18 Noah Friedman * eldoc.el (eldoc-minor-mode-string): New variable. * listbuf.el (listbuf-lucid-p): Match on "\\(XEmacs\\|Lucid\\)", not "GNU Emacs [0-9.]+\\( XEmacs\\)* Lucid "; XEmacs 19.13 changed the format of the emacs-version string. 1995-11-17 Noah Friedman * order-head.el: Require fmailutils, not friedman-mail-utils; that packaged is renamed. 1995-11-16 Noah Friedman * term/aaa.el: New file. 1995-11-14 Noah Friedman * silly-mail.el (mail-add-nsa-fodder): Don't leave trailing whitespace in generated string. * whitespace.el (nuke-trailing-whitespace-p): Default to nil for vm-summary-mode. 1995-11-13 Noah Friedman * eldoc.el [top level]: Make sure to set global minor-mode-alist, not local one. (eldoc-mode-print-current-symbol-info): Make sure this-command is a symbol. (eldoc-function-argstring): If fn is a macro, skip leading `macro' elt. (eldoc-function-argstring-from-docstring): Look for `condition-case' pattern. 1995-11-12 Noah Friedman * dbfrobs.el (dbfrobs::eval-after-load): New function. [top level]: Use it if eval-after-load is not defined. * eldoc.el: New file. * flash-paren.el (flash-matching-mode): If post-command-idle-hook is defined, use that instead of post-command-hook. (flash-matching-char): Catch any errors from blink-matching-open. 1995-10-27 Noah Friedman * ftelnet.el (ftelnet): Rename arg `prefix' to `buffer'; If that optional arg is buffer or string, use that as name. 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. * 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 bee renamed. 1995-09-23 Noah Friedman * time.el (display-time-show-mail-count): New variable. (display-time-get-mail-number, display-time-get-rmail-number): Use it. 1995-09-19 Noah Friedman * comment.el (comment-mode-alist): Add news-reply-mode. 1995-08-07 Noah Friedman * agchat.el (agchat-host): Changed from chat.eden.com to chat.silverchat.com. 1995-08-03 Richard M. Stallman * rsz-mini.el (resize-minibuffer-setup): Use make-local-hook. 1995-08-02 Noah Friedman * uboat.el: New file. 1995-07-09 Noah Friedman * vh-scroll.el: Define hscroll-step for the benefit of XEmacs. * vh-scroll.el: New file. 1995-06-18 Noah Friedman * meditate.el (meditate-regexp-list): Added a regexp for "do tell...". 1995-06-12 Noah Friedman * agchat.el (chat-simple-send): New function. (chat-mode): bind comint-input-sender to it. Set comint-process-echoes = t. 1995-06-08 Roland McGrath * rlogin.el (rlogin): If optional second arg is buffer or string, use that as name. 1995-06-05 Noah Friedman * meditate.el (meditate-hostname): Changed from cheshire.oxy.edu to zenmoo.zennet.com. 1995-06-01 Noah Friedman * rmail-frobs.el: New file. 1995-05-16 Noah Friedman * ftelnet.el (ftelnet-history): New variable. (ftelnet): Use it. Skip args beginning with `-' when searching for hostname and port. 1995-05-12 Roland McGrath * rlogin.el (rlogin-history): New defvar. (rlogin): Use rlogin-history as history var in read-from-minibuffer. 1995-04-29 Noah Friedman * whitespace.el (nuke-trailing-whitespace-p): Never remove trailing whitespace from mail-mode buffers. They may contain uuencoded data, diffs, etc. which are sensitive to differences in trailing whitespace. 1995-04-24 Noah Friedman * order-head.el (mail-reorder-headers-use-rfc822): Change default to nil. (mail-reorder-headers): Simplify sorting algorithm. Use while loops instead of mapcar when return value is unused. Capitalize all header names to avoid case differences which screw `member'. (mail-reorder-headers-delete): New function. Make `delete' an alias for it if delete is undefined. * fmailutils.el (mail-position-on-field, fmu-delete): Functions removed. (mail-put-header): Search for mail-header-separator with newline appended or for mail-header-separator on the end of a line, whichever is found first. Doc fix. (fmu-member): Define `member' as alias if member not already defined. (mail-get-header-names): Call member, not fmu-member. (mail-fcc): Do read-file-name in interactive spec. Make arg `file' mandatory. 1995-04-17 Noah Friedman * pigletfill.el: New file. 1995-04-15 Noah Friedman * flashparen.el (flash-matching-char): Don't clear echo area. * dbfrobs.el (dbfrobs::saved-debug-on-error): New variable. (dbfrobs:toggle-debug-on-error): Save or restore debug-on-error using saved value. Suggested by Jens-UH Petersen . 1995-04-14 Noah Friedman * flashparen.el (flash-matching-char): Fix to previous change: don't call char-syntax if chc is nil. (flash-matching-char): If current char is ) and matching open is off-window, call blink-matching-open to display context in echo area. From Albert L. Ting . 1995-04-10 Noah Friedman * listbuf.el (listbuf-print): Set Buffer-menu-buffer-column. (listbuf-field-alist): Doc fix. 1995-04-08 Noah Friedman * rsz-mini.el (resize-minibuffer-window): Make sure minibuffer window is selected. (resize-minibuffer-window-restore): Likewise. * dbfrobs.el (dbfrobs::uninteresting-error-conditions): Add `mark-inactive'. * webster.el (webster-start): kill process without query on exit. * listbuf.el (listbuf-1): Initialize indent-vector with 0 in all slots. Compute widths starting with index 1, not 0. (listbuf-collect): Make vect 1 larger than listbuf-field-alist. Put buffer object in slot 0, shifting others accordingly. (listbuf-print): Don't insert slot 0. For Emacs 19, put buffer name and mouse face in text properties for the buffer name. (listbuf-get-dired-file): If a list, return print string. (listbuf-prettify-file-name): Try to use abbreviate-file-name. (listbuf-sort-by-buffer-name): Use higher index to account for new buffer slot. (listbuf-sort-by-mode-and-buffer-name): Likewise. Sorting fix from Bill Brodie . 1995-04-07 Noah Friedman * flashparen.el (flashparen-matching-paren): New function or defalias. (flash-matching-char): Use it. * ftelnet.el (ftelnet): Use format, not concat, to generate numeric buffer names. Do not create a new buffer if process in existing buffer has exited. (ftelnet-directory-tracking-mode): Set shell-dirtrackp, not shell-dirtrack-p. (ftelnet-pop-to-buffer): Check if same-window-regexps is boundp, not fboundp. * rlogin.el (rlogin-directory-tracking-mode): Set shell-dirtrackp, not shell-dirtrack-p. (rlogin): Use format, not concat, to generate numeric buffer names. Do not create a new buffer if process in existing buffer has exited. 1995-04-05 Noah Friedman * webster.el (webster-filter): Use store-match-data, not set-match-data. 1995-04-04 Noah Friedman * dbfrobs.el (dbfrobs::set-condition): fix misplaced sexp in cond. 1995-03-31 Noah Friedman * protbuf.el (protect-process-buffer-from-kill-mode, protect-buffer-from-kill-mode): Make these variables permanent-local. 1995-03-25 Noah Friedman * listbuf.el (listbuf-field-alist): Change width tolerance for "Buffer" to 20. (listbuf-print): Insert space between elements if current column is equal to computed indent column, so next field is separated by space. (listbuf-get-File): use `list-buffers-directory' if non-nil. * agchat.el: Do not require backquote. Require pb-popup "softly". (chat-carriage-filter): Initialize beg using length of string. (chat-popup-mode, chat-popup-ratio, chat-popup-min-height, chat-popup-any-frame): Variables deleted. (chat-map-windows): Macro deleted. (chat-popup-mode, chat-maybe-popup-window, chat-popup-window, chat-window-end): Functions deleted. (chat-popup): New function. (chat-display-string): Function deleted. (chat-filter): Perform all insertion. (chat-output-filter-functions): New variable. (chat-filter): Call it. * map-win.el: New file. * pb-popup.el: Do not require backquote. (pb-popup-map-windows): Macro deleted. (pb-popup:) Use walk-windows instead. (pb-popup-current-buffer, pb-window-end): Functions deleted. 1995-03-24 Noah Friedman * comint-popup.el, dbfrobs.el: New file. * flashparen.el (flash-matching-delay): Use 0.5 if baud-rate is at least 9600bps. (flash-matching): Variable deleted. (flash-matching-mode): New function and variable. (flash-matching-char): Use new variable. Do nothing if keyboard macro is running. Narrow to region in condition handler. (flash-matching-do-flash): Make defun, not defsubst. Deactivate mark if appropriate. Shadow before-change-function, after-change-function, and deactivate-mark. 1995-03-22 Noah Friedman * acldoc.el (acldoc-update-unmarked-keywords): Do not abort search for a word altogether if a verbatim region is entered; just skip that entry. Add ?' to punctuation list. 1995-03-15 Noah Friedman * fshell.el (fshell-pop-to-buffer): New function. (fshell): Use it rather than switch-to-buffer. [top level]: Add autoload cookie to update same-window-regexps. * ftelnet.el (ftelnet-pop-to-buffer): New function. (ftelnet): Use it rather than switch-to-buffer. [top level]: Add autoload cookie to update same-window-regexps. 1995-03-13 Noah Friedman * acldoc.el: Changes mostly by Matt Kaufmann. (acldoc-topics, acldoc-suspect-topics, acldoc-topics-common-words): Updated. (acldoc-update-doc-section): Abort if point not at top level of file. (acldoc-update-marked-keywords, downcase-real-word): New local variable. Don't automatically mark topic words starting with `:'. Rule out current-topic words before querying on suspect words. Allow `es' as valid punctuation, in addition to `ed' et. al. 1995-03-12 Richard M. Stallman * rlogin.el (rlogin): Use pop-to-buffer. (same-window-regexps): Add elt to match *rlogin-...* with or without at end. 1995-03-10 Noah Friedman * flashparen.el: Complete rewrite based on buffer modification, not overlay arrows. 1995-03-08 Noah Friedman * flashparen.el: New file. * whitespace.el (nuke-trailing-whitespace-p): make buffer-local. 1995-03-04 Noah Friedman * acldoc.el: Changes from Matt Kaufmann. (acldoc-topics): New form to evaluate in acl2 to generate topics. (acldoc-topics-common-words): Add "default", "keep", and "simple". (acldoc-update-marked-keywords): Check that word is not the current topic or in the topic list (the former being the more important check for the sake of this change), before checking in suspect list for query. Show current topic in query. (acldoc-update-doc-section): Require leading space or tab before docstring in search. (acldoc-update-unmarked-keywords): Ignore regions between ~bq[]/~eq[] and ~bf[]/~ef[], in addition to ~bv[],~ev[]. Skip past first newline, not "~/". * eval-expression.el (eval-expression): Use save-excursion around with-output-to-temp-buffer, since set-buffer is used. 1995-02-28 Noah Friedman * ftelnet.el: All functions: rename from telnet-* to ftelnet-*. (ftelnet-urgent-alist): New variable. (ftelnet-send-urgently): New function. (ftelnet-send-interrupt): Renamed from telnet-send-C-c. (ftelnet-send-eof): Renamed from telnet-send-C-d. (ftelnet-send-quit): Renamed from telnet-send-C-\\. (ftelnet-send-suspend): Renamed from telnet-send-C-z. (ftelnet-delete-or-send-eof): Renamed from telnet-delete-or-send-C-d. (ftelnet-mode-map): Bindings updated appropriately. (ftelnet-carriage-filter): Don't assume buffer is narrowed to most recent output. * rlogin.el (rlogin-carriage-filter): Don't assume region is narrowed to most recent output. 1995-02-24 Noah Friedman * infobook.el, acldoc.el: New files. 1995-02-20 Noah Friedman * whitespace.el: New file. 1995-02-18 Noah Friedman * pb-popup.el: New file. * comment.el (comment-mode-alist): New entries for ada-mode, plain-tex-mode, slitext-mode, and latex-mode. Doc fixes. (comment-do-comment, comment-do-uncomment): Remove interactive specs and make args required. (comment-mode-specific-comment-chars): Return list with the right number of elements. 1995-02-13 Noah Friedman * comment.el: New file. 1995-01-30 Noah Friedman * mbp.el: New file. 1995-01-28 Noah Friedman * fshell.el (fshell-default-make-new-shell): New variable. (fshell): Renamed from `shell'. (fshell-make-shell): Renamed from `make-shell'. 1995-01-23 Noah Friedman * listbuf.el (listbuf-collect): Don't use unwind-protect just to preserve match data. (listbuf-sorting-predicate): New variable. (listbuf-1): funcall it if set. (listbuf-prettify-file-name): New function. (listbuf-buffer-file-name-filter): New variable. (listbuf-get-File): Use it if set. (listbuf-prettify-file-name, listbuf-sort-by-buffer-name, listbuf-sort-by-mode-and-buffer-name): New functions. (listbuf-revert-after-execute, listbuf-do-revert-after-execute): New functions. 1995-01-11 Noah Friedman * ftelnet.el: New file. 1995-01-10 Noah Friedman * hack-locals.el (hack-local-variables-prop-line, hack-local-variables): Ignore all arguments. * rlogin.el: Removed several more gratuitous autoload cookies. (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. (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-mode-map): Copy shell-mode-map fully if not a list. In lucid emacs, keymaps are opaque objects. (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-07 Noah Friedman * geek.el (geek-item): Simplify. (geek-restore-header): New function. (geek-replace-header): New function. (geek-subvert-header): Use it. Add hook to mail-send-actions to restore original string after message is sent, using geek-restore-header. * geek.el: New file. 1995-01-05 Noah Friedman * remap-parens.el: New file. * listbuf.el (listbuf-field-alist): Increase max width of `Rev' field to 10. Doc fixes. (listbuf-get-dired-file, listbuf-get-w3-file): New functions. (listbuf-file-field-table): Use them instead of inlined lambda forms. (listbuf-lucid-p): New flag. (listbuf): Don't use save-excursion. Define buffer-local revert-buffer-function that preserves files-only flag. (listbuf-1): If field width exceeds maximum tolerance and padding isn't desired, don't set computed width to max; pretend that entry doesn't even exist. (listbuf-print): Do not insert anything if field is empty. Insert space separator only if inserted fields already exceed expected starting columns. Under Lucid Emacs, backindent buffer name if quoted. (listbuf-get-Buffer): Quote name for Lucid Emacs if appropriate. (listbuf-get-Rev): Show vc type as well as version number. Don't bother returning empty string otherwise. (listbuf-get-Proc, listbuf-get-File): Don't bother returning empty string. 1995-01-04 Noah Friedman * agchat.el (chat-popup-window): Look for window-end or use chat-window-end dynamicaly. Don't fset the former. Do nothing if chat-popup-mode is nil. * sendmail-alias.el: Updated comments. * webster.el: Total rewrite. * sendmail-alias.el: require 'sendmail. (sendmail-alias-file): Variable deleted. (mail-personal-alias-file): defvar for versions of emacs prior to 19.29. All uses of `sendmail-alias-file' changed. 1995-01-03 Noah Friedman * agchat.el: New file. 1994-12-23 Noah Friedman * listbuf.el: Rewritten. 1994-12-08 Richard M. Stallman * rlogin.el (rlogin-initially-track-cwd): Now a 3-way flag. (rlogin): Handle that. 1994-12-06 Noah Friedman * webster.el: New file. 1994-10-28 Ben Mesander * kill-a-lawyer.el: checked in with -k by friedman at 1997/02/19 19:52:45 1994-10-25 Noah Friedman * mtalk.el: New file. 1994-10-19 Noah Friedman * fshell.el (shell-local-dirtrack): New command. 1994-10-06 Noah Friedman * type-break.el: Assign copyright to FSF, and change comments to reflect that type-break is now part of GNU Emacs. 1994-10-03 Richard M. Stallman * rlogin.el (rlogin): Doc fix. 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-17 Noah Friedman * time-frobs.el (time-remote-host): Use FQDN for nutrimat. (frob-display-time): Set remote user to `friedman'. 1994-09-07 Noah Friedman * warlord.el: Require yow and flame. (warlord-bait): Don't load them here. Call `flame-string' instead of inlining function to get flame construction. 1994-08-28 Noah Friedman * setq-trap.el, lpf-frobs.el: New files. 1994-08-17 Noah Friedman * what-line.el (count-words): Make interactive. Make START and END args optional, defaulting to region-beginning and region-end if not specified. Widen before narrowing to region. If called interactively, print number of words in echo area. 1994-08-16 Noah Friedman * snake.el: Do not require boss.el. (snake-loop): Do not mention boss keys in echo area. Do not call snake-boss-has-come. (snake-boss-has-come, snake-boss-goes-away): Functions deleted. 1994-08-16 Alex Rezinsky * snake.el: checked in with -k by friedman at 1994/08/16 19:14:16 1994-08-09 Noah Friedman * type-break.el: [top level] Do not call type-break-mode. (type-break-time-sum): New function. (type-break-schedule): Use it. Make interactive again. (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. * silly-mail.el: Updated emacs taunts. 1994-07-28 Noah Friedman * type-break.el (type-break-time-warning-intervals, (type-break-keystroke-warning-intervals, type-break-warning-repeat): New variables. (type-break-current-time-warning-interval, type-break-current-keystroke-warning-interval, type-break-time-warning-count, type-break-keystroke-warning-count): New variables. (type-break-demo-boring): New function. (type-break-demo-functions): Add it to the default list. (type-break-post-command-hook): New variable. (type-break-run-tb-post-command-hook): New function. (type-break-mode): Install them. (type-break-keystroke-reset): New function. (type-break-check): Call it when appropriate. (type-break): call type-break-cancel-schedule. Check that rest time was within 60 seconds of "good rest" interval, not 120. (type-break-time-warning-schedule, type-break-cancel-time-warning-schedule, type-break-time-warning-alarm, type-break-time-warning): New functions. (type-break-schedule): Remove interactive spec and docstring. Call type-break-time-warning-schedule. (type-break-cancel-schedule): Remove interactive spec and docstring. Call type-break-cancel-time-warning-schedule. (type-break-check): Don't check for type-break-mode here. type-break-run-tb-post-command-hook does that now. (type-break-keystroke-warning): New function. (type-break-check-keystroke-warning): New inline function (defsubst). (type-break-check): Call it. (type-break-query): Bind type-break-mode to nil while calling query function. 1994-07-21 Noah Friedman * type-break.el (type-break-schedule): Remove autoload cookie. (type-break-check): Optimized for speed. (type-break-good-rest-interval): Doc fix. (type-break-keystroke-threshold): Calcuate based on 35wpm, not 30. (type-break-demo-function-vector): Variable deleted. (type-break-demo-functions): New variable. (type-break): Use new variable. (type-break-time-difference): Return absolute value. (type-break-format-time): New inline function (defsubst). (type-break-statistics, type-break): Use it. (type-break-mode): Just test prefix-numeric-value >= 0 to to enable mode. The only visible difference is that invocation with no prefix arg the same as if given positive numeric prefix arg now. Do not document type-break-query-interval or type-break-query-function here; make fritterware-happy users read the source. (type-break): If type break is much less (at least 2 minutes) than a "good rest interval", ask user whether or not to continue with the break. (type-break-check): Do nothing if user is in the minibuffer. When alarm is signaled but min threshold isn't reached, reschedule break. (type-break-demo-life): Eat char entered to end life demo. 1994-07-19 Noah Friedman * type-break.el (type-break-keystroke-threshold): Change default wpm to 30 and lower threshold to 1/5, rather than 1/4, of upper. (type-break-guestimate-keystroke-threshold): Change threshold fraction here too. (type-break-demo-life): Restart when all life perishes. (type-break-check): Shrink keystroke count if it is less than min-threshold chars from max-threshold, not more. (type-break-statistics): If time for scheduled break is less than a minute away, show seconds instead. 1994-07-18 Noah Friedman * type-break.el (type-break-mode): Make variable `nil' by default. (type-break-mode): If setting to t and mode was already enabled, don't reschedule breaks or reset keystroke counter. (type-break-good-rest-interval): New variable. (type-break-time-difference): New inline function (defsubst). (type-break-time-last-break, type-break-time-next-break, type-break-time-last-command): New variables. (type-break-check): Reset timers and counters if user has been idle more than type-break-good-rest-interval seconds (assuming it's set). Never set keystroke counter to be less than the min threshold. (type-break): Admonish user if s/he rested less than type-break-good-rest-interval seconds (assuming it's set). (type-break-demo-hanoi): Eat a char when quitting. (type-break-statistics, type-break-guestimate-keystroke-threshold): New commands. (type-break-mode): New variable and function. (type-break-interval): Increase default to 1 hour. (type-break-query-interval): Variable renamed from type-break-delay-interval. (type-break-keystroke-interval): Variable deleted. (type-break-keystroke-threshold): New variable. (type-break-demo-life): Function renamed from type-break-life. (type-break-demo-hanoi): Function renamed from type-break-hanoi. (type-break-alarm-p): Variable renamed from type-break-p. (type-break): Don't query. (type-break-query): (New function) query here. (type-break-check): Call type-break-query, not type-break. Do nothing if type-break-mode is nil. Increment type-break-keystroke-count with the length of this-command-keys, not just 1. Query for break when keystroke count exceeds cdr of keystroke threshold variable. Query for break after an alarm only if keystroke count exceeds car of keystroke threshold variable. (type-break-select): Function deleted. (type-break): Move that code here. (type-break-cancel-schedule): Function renamed from cancel-type-break. Reset type-break-alarm-p. (type-break-alarm): Function renamed from type-break-soon. [top level]: Call type-break-mode; don't set up hook explicitly. 1994-07-14 Noah Friedman * type-break.el: Real initial revision. (rewrite from hanoi-break.) 1994-07-13 Noah Friedman * 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-12 Richard M. Stallman * rsz-mini.el: (resize-minibuffer-setup): Copy the value of post-command-hook. 1994-06-30 Noah Friedman * rsz-mini.el (resize-minibuffer-window-restore): Don't do anything if the window height is already 1. 1994-06-26 Noah Friedman * silly-mail.el: Added jimb's emacs taunt code, without integrating it. At least I know where to find it. 1994-06-24 Noah Friedman * meditate.el (meditate-regexp-list): Fixed various regexps. (meditate-filter): Rewritten yet again. (meditate-ignore-regexp-list): New variable. (meditate-auto-reply): Ignore lines matching them. (meditate): Doc fix. 1994-06-22 Noah Friedman * 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-21 Noah Friedman * fshell.el, killbuf.el, protbuf.el: New files. 1994-06-19 Noah Friedman * flame.el: Merged in changes from v19 before it was dropped. 1994-06-16 Noah Friedman * rlogin.el (rlogin-password-paranoia): Variable deleted. (rlogin-password): Function deleted. This functionality is handled by comint-watch-for-password-prompt. (rlogin-filter): Function deleted. (rlogin): Do not set the process filter to rlogin-filter. 1994-05-20 Noah Friedman * rsz-mini.el: Enable resize-minibuffer-mode when this file is loaded. * listbuf.el: Complete rewrite. 1994-05-19 John Grabowski * savebufs.el: checked in with -k by friedman at 1994/05/19 14:36:47 1994-05-16 Richard M. Stallman * rsz-mini.el: Comment change. 1994-05-02 Richard M. Stallman * rsz-mini.el: New file. 1994-05-02 Noah Friedman * rsz-minibuf.el: Program as originally incorporated into GNU Emacs 19.23. No functional changes except for the name of the provide (changed to `rsz-mini', to match the name of the file in the distribution). I'm freezing this RCS file with this entry. See rsz-mini.el,v for future changes. 1994-04-13 Noah Friedman * kibologize.el: Received from kibo@world.std.com. 1994-04-09 Noah Friedman * rsz-minibuf.el (resize-minibuffer-min): Function deleted. (resize-minibuffer-window, resize-minibuffer-frame): Use `min' instead. 1994-04-08 Noah Friedman * rsz-minibuf.el: Changed title description, status, and keywords. (resize-minibuffer-setup): First cond should be true if window-system is t AND this is a minibuffer-only frame. Modify minibuffer-exit-hook if minibuffer-only frame. (resize-minibuffer-window): More straightforward logic for choosing when to enlarge window. (resize-minibuffer-frame): More straightforward logic for choosing when to resize frame. Fixed bug that prevented frame shrinkage even when resize-minibuffer-frame-exactly was t. 1994-04-07 Noah Friedman * rsz-minibuf.el: Updated copyright year. Added commentary about how to use the package. (toggle-resize-minibuffer-mode): Function deleted. (resize-minibuffer-mode): Change default value of variable to nil. Moved description of mode into docstring for resize-minibuffer-mode function. If prefix is nil, set it to 0. (resize-minibuffer-window-max-height): Removed mention of window-min-height in docstring. (resize-minibuffer-window-exactly): Renamed from resize-minibuffer-resize-window-exactly. (resize-minibuffer-frame, resize-minibuffer-frame-max-height, resize-minibuffer-frame-exactly): New variables. (resize-minibuffer-frame, resize-minibuffer-frame-restore): New functions. (resize-minibuffer-window): Renamed from resize-minibuffer-resize-window. Optional argument removed; function now just uses resize-minibuffer-window-exactly. Assume minibuffer window is current; do not do window hopping. Do not call recenter. (resize-minibuffer-setup): Handle minibuffer frames if resize-minibuffer-frame is non-nil and in a window system. (rsz-minibuf-enabled-p): Variable deleted. (rsz-minibuf-disable, rsz-minibuf-enable, rsz-minibuf-toggle): Functions deleted. Renamed all remaining symbol prefixes from `rsz-minibuf' to `resize-minibuffer'. Install resize-minibuffer-setup on minibuffer-setup-hook. (resize-minibuffer-mode): New variable. (resize-minibuffer-mode, toggle-resize-minibuffer-mode): New functions. (resize-minibuffer-resize-window): If fit is nil, use the value of the variable resize-minibuffer-resize-window-exactly. If t, always size minibuffer exactly. If not nil or t, never shrink minibuffer window. 1994-03-31 Noah Friedman * rsz-message.el, rsz-minibuf.el: Cleaned up comments for release to gnu-emacs-sources. 1994-03-14 Noah Friedman * time-frobs.el: New file. 1994-02-14 Roland McGrath * type-break.el: New file. 1994-02-08 Noah Friedman * zenirc-eval-sexp.el: New file. 1994-02-05 Roland McGrath * 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-01-10 Noah Friedman * flame.el: Prefixed all global symbols with `flame', except for `*flame' and `psychoanalyze-flamer'. Added (provide 'flame). (flame-string): New function. (flame1): Use it. (flame): If not interactive, just return a string; don't pop up a buffer. 1994-01-06 Noah Friedman * emacs.lines: Fixed typo: `leven-' to `Eleven-'. 1993-12-15 Noah Friedman * tcapedit.el: New file. 1993-12-03 Noah Friedman * emacs.lines: New file. 1993-12-02 Noah Friedman * emacs-name.el: New file. 1993-12-01 Noah Friedman * moo.el: Unfinished changes, checkpointed 1994-05-02 because I haven't had time to work on it recently. * proc-filters.el: New file. * rlogin.el: Remove spurious comment between autoload cookie and defvar for rlogin-initially-track-cwd. (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-24 Noah Friedman * update-dns.el: New file. 1993-11-15 Noah Friedman * moo.el: New file. 1993-11-03 Noah Friedman * mapcar.el: New file. 1993-10-28 Noah Friedman * irc.el (irc-server-connect-hook): New variable. (irc, irc-do-server): run it after connecting. (irc-dont-send-ctcp-error-reply-to-avoid-flooding): New variable. (irc-filter): Check for (eq npoint nil). (irc-parse-priv): CTCP mesages can have multiple args; fix regexp. (irc-parse-ctc): Handle CTCP `PING' and `ACTION'. Don't reply to illegal CTCP messages if irc-dont-send-ctcp-error-reply-to-avoid-flooding is non-nil. * hack-locals.el: New file. 1993-10-22 Richard M. Stallman * rlogin.el (rlogin, rlogin-mode): Use comint-file-name-prefix, not comint-filename-prefix. 1993-10-18 Noah Friedman * 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): Arguments to function are now a string with multiple words (hostname first) and an optional prefix. (rlogin-with-args): Function deleted. (rlogin): Set process filter after calling `rlogin-mode' since the latter called `comint-mode', which sets its own initial process filter. * rsz-message.el: New file. 1993-10-17 Noah Friedman * rsz-minibuf.el: Completely rewritten to use before/after change hooks and pre/post command hooks in GNU Emacs 19. New `message' replacement to do resizing. * rsz-minibuf.el: New file. 1993-10-15 Noah Friedman * sendmail-alias.el (build-mail-aliases, mail-mail-abbrevs): Put aliases in a unique buffer and kill it when finished. (build-mail-aliases): Don't reset `mail-aliases' if it's a vector. 1993-10-04 Noah Friedman * irc.el (irc-do-server): Deleted spurious closing paren. (irc-server-connect-hook): New variable. (irc, irc-do-server): Run it immediately after setting the process sentinel but before doing anything else. Fix ctcp ACTION and PING Add irc-dont-send-ctcp-error-reply-to-avoid-flooding. * irc.el: New file. 1993-09-28 Noah Friedman * sendmail-alias.el: Added new copyright & changed bug reporting address. build-mail-abbrevs: New function. * eval-expression.el: New file. * insert-hooks.el: Rewritten completely (by roland) to use advice.el instead. * sendmail-alias.el, remap-del-key.el, newaliases.el, esend.el: New files. 1993-09-09 Noah Friedman * rlogin.el: require 'shell. 1993-09-08 Roland McGrath * 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. 1993-08-25 Roland McGrath * silly-mail.el: Add Bariumenemanilow as a new antipastobozoticataclysm. 1993-07-14 Roland McGrath * silly-mail.el (mail-add-nsa-fodder): Doc fix. 1993-07-02 Noah Friedman * order-head.el (mail-reorder-headers): Ignore case in mail-reorder-headers-address-headers and headers we try to find in it. Use bizarre kludge to avoid spurious undo boundary after rfc822-addresses invocation. 1993-06-17 Roland McGrath * silly-mail.el (suppress-antipastobozoticataclysm, antipastobozoticataclysm-strings): New variables. mail-add-antipastobozoticataclysm): New function. (mail-add-{all,various}-silly-headers, mail-add-random-silly-header): Use them. 1993-04-17 Noah Friedman * viewtex.el: more sexy tex filter. 1993-04-13 Noah Friedman * insert-hooks.el, escreen.el, fmailutils.el, listbuf.el, meditate.el, order-head.el, silly-mail.el, time.el, viewtex.el, warlord.el: New files. 1993-03-29 Noah Friedman * vkill.el: Set goal column to start of command. 1993-03-27 Noah Friedman * whine.el: New file. * rlogin.el: moby rlogin-filter fixes. 1993-03-25 Noah Friedman * flame.el: Umodified from GNU Emacs 18.59. 1993-03-22 Eric S. Raymond * rlogin.el: Added or corrected Commentary headers 1993-03-19 Eric S. Raymond * rlogin.el: Added keyword. 1993-03-17 Eric S. Raymond * rlogin.el: Add standard library headers. 1991-08-27 Noah Friedman * term/ibm6155.el: New file. 1991-06-27 Noah Friedman * vkill.el: Changed bsd ps arguments to get the complete command line, added "w" command to toggle between truncated lines and line wrapping in the process list buffer. 1991-05-31 Noah Friedman * term/300h.el: New file. 1991-04-28 Noah Friedman * vkill.el: New file. Handle differences in `ps' under various operating systems. 1991-01-09 Noah Friedman * terminal.el: Initial revision (from Emacs 18.59). Because of fundamental changes to Emacs 19's keymap structure and other changes, this version may not work in Emacs 19 unchanged.