Michael Kifer [Sun, 18 May 2003 17:18:09 +0000 (17:18 +0000)]
2003-05-18 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-mult.el (ediff-default-filtering-regexp): new variable.
* ediff-util.el (ediff-maybe-save-and-delete-merge): change in a
message.
* ediff.el (ediff-directories,ediff-directory-revisions,
ediff-directories3,ediff-merge-directories,
ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions,
ediff-merge-directory-revisions-with-ancestor): make use of the new
ediff-default-filtering-regexp variable.
Stefan Monnier [Sun, 18 May 2003 03:01:22 +0000 (03:01 +0000)]
Don't require vc.el anymore.
(log-edit-mode-map): Fold vc-log-mode-map into it.
(vc-log-mode-map): Redefine as an alias.
(vc-previous-comment): Don't widen.
(vc-comment-to-change-log): Don't redundantly set paragraph-separate.
Don't require `add-log' since it's already required at toplevel.
Stefan Monnier [Sat, 17 May 2003 22:21:36 +0000 (22:21 +0000)]
(which-func-format): Make it risky-local-variable.
(which-func-table): New var.
(which-func-current): Make it into a constant modeline spec.
(which-func-previous): Remove.
(which-func-update): Only update the selected window.
(which-func-update-1): Use the new var to allow the current
function to be different for a buffer shown in two windows.
Stefan Monnier [Sat, 17 May 2003 21:19:55 +0000 (21:19 +0000)]
(Fselect_window): Add optional `norecord' arg.
(select_window_1): Fold into Fselect_window.
(select_window_norecord): New function.
(temp_output_buffer_show): Use it. Preserve current buffer.
(delete_window, Fother_window, Fset_window_configuration):
Pass nil as new arg to Fselect_window.
Stefan Monnier [Sat, 17 May 2003 20:29:40 +0000 (20:29 +0000)]
(pp-to-string, Info-goto-node): Don't autoload.
(widget-choose, widget-map-buttons): Use with-current-buffer.
(widget-field-add-space): Change to nil (and to defconst).
(widget-info-link-action): Use `info'.
Stefan Monnier [Sat, 17 May 2003 18:47:18 +0000 (18:47 +0000)]
(create_root_interval, graft_intervals_into_buffer): Use BEG.
(merge_properties, intervals_equal, merge_properties_sticky): Use XCAR, XCDR.
(adjust_for_invis_intang): Pass new arg to text_property_stickiness.
(get_local_map): Use get_pos_property (for stickiness and empty overlays).
(read_minibuf): If buffer is empty, record the default in the history.
(Fminibuffer_complete_word): When deleting the overlap, take account
of its real position.
Nick Roberts [Sat, 17 May 2003 10:17:57 +0000 (10:17 +0000)]
(gdb-info-frames-custom): Reverse contrast of face for
selected frame.
(gdb-annotation-rules): Stop using frames-invalid and
breakpoints-invalid annotations. Update after post-prompt instead.
(gdb-post-prompt): Update frames and breakpoints here.
(gdb-invalidate-frame-and-assembler)
(gdb-invalidate-breakpoints-and-assembler): Remove.
(gdb-current-address): Remove.
(gdb-previous-address): New variable.
(gud-until): Extend to work in Assembler buffer
(gdb-append-to-inferior-io): Select IO buffer when there is
output.
(gdb-assembler-custom): Try to get line marker (arrow) to display
in window. Correct parsing for OS dependent output syntax of Gdb
command, where.
(gdb-frame-handler): Correct parsing for OS dependent output
syntax of Gdb command, frame.
(gdb-invalidate-assembler): Update assembler buffer correctly when
frame changes (revisited).
Stefan Monnier [Fri, 16 May 2003 21:12:25 +0000 (21:12 +0000)]
(imenu--split-menu): Remove unused var `count'.
Don't copy the sequence since we're already modifying it elsewhere.
(imenu--create-keymap): Rename from imenu--create-keymap-1.
Add optional `cmd' argument. Remove unused var `counter'.
(imenu-update-menubar): Use the new arg to get the old behavior.
(imenu--mouse-menu): Don't use the new arg to recover the lost behavior.
Lute Kamstra [Thu, 15 May 2003 13:22:15 +0000 (13:22 +0000)]
Rewrote the local minor mode so that it can be
sticky as well and made sticky the default. Reimplemented the
global minor mode. Updated the commentary section to document
these changes.
(hl-line-sticky-flag): New user option.
(hl-line-overlay): Made it buffer-local and gave it a docstring.
(global-hl-line-overlay): New variable.
(hl-line-mode): Rewritten to use `hl-line-sticky-flag'.
(hl-line-highlight): Rewritten to use `hl-line-sticky-flag'.
(hl-line-unhighlight): Updated docstring.
(global-hl-line-mode): Implemented directly so that is does not
depend on `hl-line-mode' any more.
(global-hl-line-highlight, global-hl-line-unhighlight): New
functions.
Stefan Monnier [Thu, 15 May 2003 01:29:53 +0000 (01:29 +0000)]
(tex-compile-history, tex-input-files-re)
(tex-use-reftex, tex-compile-commands): New vars.
(tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
(tex-command-executable, tex-command-active-p, tex-compile-default)
New functions.
(tex-compile): New command.
(tex-mode-map): Bind it to C-c C-c.
Stefan Monnier [Wed, 14 May 2003 18:43:12 +0000 (18:43 +0000)]
(make_lispy_event): Apply modifiers to multibyte-char keys.
(keyremap): Add `parent' field.
(keyremap_step): Use it. Remove `parent' argument.
(read_key_sequence): Setup and use the new `parent' field.
Stefan Monnier [Wed, 14 May 2003 15:00:31 +0000 (15:00 +0000)]
(cvs-parse-table): Remove unused var `type'.
Look up `.cvsignore' to see what to do with `new-dir' messages.
(cvs-parse-merge): Remove unused var `handled'.
Stefan Monnier [Wed, 14 May 2003 01:54:28 +0000 (01:54 +0000)]
(xemacsp): Remove. Replace with (featurep 'xemacs).
(ispell-graphic-p): Inline and then remove.
(toplevel): Get rid of unnecessary loop.
(ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
with a call to aref.
(ispell-get-line): Remove unused arg `reg-end'.
(ispell-region): Update corresponding call.
Stefan Monnier [Tue, 13 May 2003 20:39:27 +0000 (20:39 +0000)]
(reftex-extract-bib-entries, reftex-extract-bib-entries-from-thebibliography):
New arg re-list.
(reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
Use member-ignore-case. Don't add unnecessary trailing \n.
(reftex-offer-bib-menu): Consolidate duplicated code from
reftex-extract-bib-entries and reftex-extract-bib-entries-from-thebibliography.
Stefan Monnier [Tue, 13 May 2003 19:45:01 +0000 (19:45 +0000)]
(back-to-indentation): Simplify.
(undo-equiv-table, undo-in-region, undo-no-redo): New vars.
(undo): Use them to implement the no-redo form of undo.
(undo-only): New fun.
(shell-command): Don't require `shell' since shell-mode is autoloaded.
(insert-buffer): Simplify.
(completion-setup-function): Use minibufferp.
(event-apply-alt-modifier, event-apply-super-modifier)
(event-apply-hyper-modifier, event-apply-shift-modifier)
(event-apply-control-modifier, event-apply-meta-modifier):
Fix docstring to show the proper key sequence.
Stefan Monnier [Tue, 13 May 2003 19:15:19 +0000 (19:15 +0000)]
(uniquify-after-kill-buffer-p): Set default to t.
(uniquify-ignore-buffers-re): Revert to nil now that uniquify
is more careful about preserving buffer names.
Nick Roberts [Mon, 12 May 2003 23:47:31 +0000 (23:47 +0000)]
(gdb-invalidate-assembler): Update assembler buffer
correctly when frame changes.
(gdb-info-threads-custom, gdb-threads-buffer-name)
(gdb-display-threads-buffer, gdb-frame-threads-buffer)
(gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
(gdb-threads-select, gdb-threads-mouse-select): New functions and
variable for a buffer that provides a selectable threads list.