Karl Heuer [Mon, 17 Jul 1995 23:03:53 +0000 (23:03 +0000)]
(shell-command): Use save-match-data.
Put the buffer in shell mode, don't use shell-command-filter.
(shell-command-filter): Deleted.
(shell-command-sentinel): Don't reset the mode line.
Don't test the buffer name--what was that for, anyway?.
(column-number-mode): New variable and new command.
Karl Heuer [Mon, 17 Jul 1995 22:57:32 +0000 (22:57 +0000)]
(x-create-frame-with-faces): Set background-mode
and display-type frame parameters.
(x-frob-font-slant, x-frob-font-weight):
Replace the adstyle field with *, if we can find it.
(set-face-background): Use face-color-supported-p.
(face-color-gray-p): New function.
(face-default-stipple): New variable.
(set-face-background): Use face-default-stipple for all grays.
(set-face-stipple): Change arg name.
(face-color-supported-p): Use face-color-gray-p.
Karl Heuer [Mon, 17 Jul 1995 22:56:28 +0000 (22:56 +0000)]
(vc-mode-line): Don't write-protect a
VC-Log buffer. Better mode line text for initial comments.
Streamlined the function.
(vc-locking-user): Consider a cvs file "locked"
if its status is either 'locally-modified or 'needs-merge.
(vc-workfile-version): Catch 'found when calling vc-find-cvs-master.
(vc-fetch-master-properties): Handle cvs status "Needs Checkout".
This is intended for future use.
(vc-fetch-master-properties): Shrink the window
that displays the error message.
Karl Heuer [Mon, 17 Jul 1995 22:50:30 +0000 (22:50 +0000)]
(canonically-space-region): Doc fix.
(fill-region-as-paragraph): In adaptive-fill-mode,
if paragraph has one line, take the fill prefix from it.
(adaptive-fill-regexp): Doc fix.
(fill-individual-paragraphs): Use `adaptive-fill-regexp'
to determine `fill-prefix' if `adaptive-fill-mode' is non-nil.
Karl Heuer [Mon, 17 Jul 1995 22:44:40 +0000 (22:44 +0000)]
(add-log-current-defun): Handle C struct definitions.
(add-change-log-entry): Use case-sensitive search for file name.
Find first blank line correctly.
Karl Heuer [Mon, 17 Jul 1995 22:20:01 +0000 (22:20 +0000)]
(lispsource): Renamed from lispdir.
(TAGS): Use etags from build dir, but make TAGS
file in source dir.
(${lispsource}TAGS): Renamed from ../lisp/TAGS. Deps changed too.
(tags): Corresponding changes.
(lisptagsfiles): Delete the term/*.el files.
Karl Heuer [Mon, 17 Jul 1995 22:19:07 +0000 (22:19 +0000)]
(last_overlay_modification_hooks): New variable.
(last_overlay_modification_hooks_used): Likewise.
(syms_of_buffer): Init last_overlay_modification_hooks.
(add_overlay_mod_hooklist): New function.
(call_overlay_mod_hooks): Call add_overlay_mod_hooklist.
(report_overlay_modification): When AFTER is non-nil,
call the functions recorded in last_overlay_modification_hooks.
Karl Heuer [Mon, 17 Jul 1995 22:12:45 +0000 (22:12 +0000)]
[HAVE_X11XTR6]: Include locale.h
(x_term_init) [HAVE_X11XTR6]: Set LC_NUMERIC and LC_TIME back to C.
(note_mouse_movement): Set mouse_moved in the x_display_info.
(XTmouse_position, x_scroll_bar_note_movement): Likewise.
(x_scroll_bar_report_motion): Likewise.
(x_draw_box, x_display_box_cursor, x_display_bar_cursor):
New args x, y. Don't use curs_x or curs_y here. Callers changed.
Simon Marshall [Sun, 9 Jul 1995 13:26:41 +0000 (13:26 +0000)]
Do all cleanups in font-lock-fontify-region and font-lock-hack-keywords inside
their unwind-protect UNWINDFORMS. Also eval inside font-lock-set-defaults, not
font-lock-choose-keywords.
Paul Eggert [Sat, 8 Jul 1995 18:44:04 +0000 (18:44 +0000)]
(datearg): Separate date from time with comma, not space,
to avoid CVS 1.5 bug.
(CVSROOT): Don't abort if unset and if repository is an absolute pathname.
Karl Heuer [Fri, 7 Jul 1995 20:01:01 +0000 (20:01 +0000)]
Symbols renamed to be like mode-line indicator.
Supposed to now also work for Lucid.
(2C-mode-map): New name for `tc-mode-map'. Additionally bound to [f2].
(2C-minor-mode-map) New variable.
(2C-mode): New name for `tc-other'.
(2C-mode-line-format): New name for `tc-mode-line-format'.
(2C-other-buffer-hook): New variable.
(2C-separator): New name for `tc-separator'.
(2C-window-width): New name for `tc-window-width'.
(2C-beyond-fill-column): New name for `tc-beyond-fill-column'.
(2C-autoscroll, 2C-autoscroll-start): New variables.
(2C-other): New name for `tc-other'.
(2C-mode): New name for `tc-mode', `tc-two-columns'.
(2C-two-columns): New function.
(2C-associate-buffer): New name for `tc-associate-buffer'.
(2C-split): New name for `tc-split'.
(2C-dissociate): New name for `tc-dissociate'.
(2C-merge): New name for `tc-merge'.
(2C-associated-buffer): New name for `tc-associated-buffer'.
(2C-toggle-autoscroll, 2C-autoscroll): New functions.
(tc-scroll-line, tc-scroll-up, tc-scroll-down, tc-recenter): Deleted
functions.
Karl Heuer [Fri, 7 Jul 1995 19:48:24 +0000 (19:48 +0000)]
restructured, largely rewritten without the bugs and
extended to cover over 15 shells. Most variables can now work as a
lookup table, and, unless set by user, do.
(sh-mode-syntax-table): Possibly multiple tables.
(sh-shell): Set initially so shell or other libraries may use features.
(sh-assignment-regexp): Replaces `sh-assignment-space'.
(sh-here-document-word): Set to more common "EOF".
(sh-variables): Changed semantics.
(sh-font-lock-keywords): Much nicer.
(sh-ancestor-alist, sh-alias-alist, sh-shells, sh-abbrevs)
(sh-dynamic-complete-functions, sh-require-final-newline)
(sh-comment-prefix, sh-indentation, sh-header-marker, sh-builtins)
(sh-leading-keywords): New variables.
(sh-use-prefix, sh-find-file-modifies, sh-query-for-magic)
(sh-magicless-file-regexp, magic-number-alist, sh-executable)
(sh-chmod-argument, sh-shell-is-csh, sh-tab-width)
(sh-sh-font-lock-keywords, sh-ksh-font-lock-keywords)
(sh-bash-font-lock-keywords, sh-csh-font-lock-keywords)
(sh-tcsh-font-lock-keywords): Variables deleted, see also executable.el.
(sh-mode): Shell dependent code moved to `sh-set-shell'.
(sh-feature, sh-abbrevs, sh-syntax-table, sh-append, sh-modify): New
functions.
(sh-execute-region): New command.
(sh-indexed-loop): Far more efficient code generated for sh.
(sh-repeat, sh-tmp-file, sh-while-getopts): New skeletons.
(sh-or-other-mode, define-sh-skeleton, sh-executable, sh-chmod)
(sh-query-for-variable): Command deleted.
Karl Heuer [Fri, 7 Jul 1995 19:40:05 +0000 (19:40 +0000)]
New name for generalized upd-copyr.el
(copyright-limit, copyright-regexp): New variables
(copyright-query): New name for `inhibit-update-copyright'
(copyright-current-year): New name for `current-year'
(copyright-current-gpl-version): New name for `current-gpl-version'
(copyright-update): New name for `update-copyright' and
`ask-to-update-copyright'
(copyright): New skeleton command
Karl Heuer [Fri, 7 Jul 1995 19:30:23 +0000 (19:30 +0000)]
extended to use skeletons or call functions
(auto-insert, auto-insert-query, auto-insert-prompt): New variables
(auto-insert-alist): New features
(auto-insert): New name for `insert-auto-insert-files'
(define-auto-insert): New function
Karl Heuer [Fri, 7 Jul 1995 19:21:17 +0000 (19:21 +0000)]
partly rewritten and extended.
(skeleton-filter, skeleton-untabify, skeleton-further-elements)
(skeleton-abbrev-cleanup): New variables
(skeleton-proxy, skeleton-abbrev-cleanup): New functions
(skeleton-insert): Sublanguage element < must now be handled via
`skeleton-further-elements' (used only in sh-script and ada). Lisp
expressions can be quoted to ignore the return value.
(skeleton-read): New name for `skeleton-internal-read' because this may
be useful in skeletons.
(local-variables-section): New skeleton command, might go to simple.el.
Karl Heuer [Fri, 7 Jul 1995 18:53:58 +0000 (18:53 +0000)]
Restructured, largely rewritten and extended.
(apropos-use-faces, apropos-local-map): New variables.
(apropos-command): New name for `command-apropos' no longer in help.el.
(apropos-value): New command.
(apropos-documentation): New name for `super-apropos'
(apropos-follow, apropos-mouse-follow): New commands for hypertext.
(apropos-describe-plist): New function.
(clip_changed): Variable deleted.
(prepare_menu_bars): Don't look at clip_changed.
(redisplay): Don't set clip_changed. Do set b's clip_changed.
(redisplay_window): Check clip_changed in current_buffer.
(mark_window_display_accurate): Clear clip_changed in the window's buffer.
(redisplay_window): Update individual window's mode line
if %c calls for an update.
(redisplay): Set update_mode_line for selected window only,
if it needs this because of %c.
(Vspecial_event_map): New variable.
(syms_of_keyboard): Define Lisp var; init the map.
(read_char): Look up each event in Vspecial_event_map; if bound,
execute the binding here and read another event.
(keys_of_keyboard): Make bindings for iconify-frame,
make-frame-visible and delete-frame.