1. 28 Aug, 2009 1 commit
    • Stefan Monnier's avatar
      * gnus/nnheader.el (nnheader-find-file-noselect): · 14acf2f5
      Stefan Monnier authored
      * gnus/mm-util.el (mm-insert-file-contents):
      * org/org-html.el (org-export-as-html):
      * org/org-docbook.el (org-export-as-docbook):
      * textmodes/reftex.el (reftex-get-file-buffer-force):
      * progmodes/verilog-mode.el (verilog-batch-execute-func):
      * emulation/viper.el (viper-go-away, viper-set-hooks):
      * emacs-lisp/re-builder.el (re-builder-unload-function):
      * emacs-lisp/bytecomp.el (byte-compile-file):
      * ses.el (ses-unload-function):
      * hexl.el (hexl-find-file):
      * files.el (normal-mode):
      * ehelp.el (with-electric-help):
      * autoinsert.el (auto-insert-alist):
      * arc-mode.el (archive-mode):
      Use (default-value 'major-mode) instead of default-major-mode.
      14acf2f5
  2. 15 Aug, 2009 1 commit
    • Michael Kifer's avatar
      2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu> · 68b962d4
      Michael Kifer authored
      	* viper-cmd.el (viper-insert-isearch-string): new function.
      	(viper-if-string): redefine C-s in the minibuffer to insert the last
      	incremental search string.
      
      	* ediff-init.el (ediff-coding-system): use escape-quoted in case of
      	XEmacs.
      
      	* ediff-merg.el (ediff-merge-region-is-non-clash-to-skip,
      	ediff-merge-region-is-non-clash,
      	ediff-skip-merge-region-if-changed-from-default-p): use defun.
      	Also check if the job is really a merge job.
      
      	* ediff.el (ediff-current-file): new function.
      68b962d4
  3. 09 Jan, 2009 1 commit
  4. 05 Jan, 2009 1 commit
  5. 22 Nov, 2008 1 commit
  6. 16 Nov, 2008 1 commit
  7. 06 May, 2008 1 commit
  8. 16 Apr, 2008 1 commit
  9. 06 Apr, 2008 1 commit
    • Michael Kifer's avatar
      2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu> · a5254f37
      Michael Kifer authored
      	* viper*.el (viper-search-wrap-around-t): replace with
      	viper-search-wrap-around.
      
      	* ediff*.el: replace 3-argument 'require' statements with 1-argument
      	ones (wrapped in if's). For compatibility with the current stable
      	version of XEmacs.
      a5254f37
  10. 03 Apr, 2008 1 commit
    • Michael Kifer's avatar
      2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu> · 2ee00512
      Michael Kifer authored
      	* viper-macs.el (viper-read-fast-keysequence): use viper-read-event
      	instead of viper-read-key.
      
      	* viper.el (viper-mode): move the check for fundamental mode.
      
      	* viper-utils.el (viper-get-saved-cursor-color-in-replace-mode)
      	viper-get-saved-cursor-color-in-insert-mode): get rid of redundant
      	let-statements.
      
      	* viper*.el: replaced load with require in eval-when-compile.
      2ee00512
  11. 01 Mar, 2008 1 commit
  12. 28 Feb, 2008 1 commit
  13. 09 Jan, 2008 1 commit
    • Michael Kifer's avatar
      2008-01-09 Michael Kifer <kifer@cs.stonybrook.edu> · 65efc538
      Michael Kifer authored
      	* ediff*.el: commented out declare-function. "make bootstrap"
      	stops with an error and emacs does not compile with those things in.
      	Besides, declare-function is not defined in XEmacs.
      
      	* ediff-util (eqiff-quit): autoraise minibuffer.
      
      	* ediff-diff (ediff-convert-fine-diffs-to-overlays): make it a defin
      
      	* viper*.el: commented out declare-function -- not defined in XEmacs.
      
      	* viper-ex.el (viper-info-on-file): take care of indiret buffers.
      
      	* viper.el (viper-set-hooks, set-cursor-color): set viper-vi-state-cursor-color.
      65efc538
  14. 07 Jan, 2008 1 commit
  15. 02 Dec, 2007 1 commit
  16. 27 Nov, 2007 1 commit
  17. 09 Nov, 2007 1 commit
    • Dan Nicolaescu's avatar
      * ediff-init.el (ediff-xemacs-p, ediff-emacs-p): Remove. · e83d1fe8
      Dan Nicolaescu authored
      (ediff-has-face-support-p, ediff-BAD-INFO, ediff-check-version)
      (ediff-current-diff-A, ediff-current-diff-B)
      (ediff-current-diff-C, ediff-fine-diff-C, ediff-fine-diff-A)
      (ediff-fine-diff-B, ediff-fine-diff-Ancestor, ediff-even-diff-A)
      (ediff-even-diff-B, ediff-even-diff-C, ediff-even-diff-Ancestor)
      (ediff-odd-diff-A, ediff-odd-diff-B, ediff-odd-diff-C)
      (ediff-odd-diff-Ancestor, ediff-reset-mouse):
      * ediff-wind.el (ediff-narrow-control-frame-leftward-shift)
      (ediff-setup-windows-plain-merge)
      (ediff-setup-windows-plain-compare, ediff-setup-control-frame)
      (ediff-refresh-control-frame, ediff-get-visible-buffer-window):
      * ediff-util.el (ediff-setup-keymap, )
      (ediff-toggle-wide-display, ediff-toggle-multiframe)
      (ediff-toggle-use-toolbar, ediff-really-quit)
      (ediff-good-frame-under-mouse)
      (ediff-highlight-diff-in-one-buffer)
      (ediff-remove-flags-from-buffer, ediff-place-flags-in-buffer1)
      (ediff-make-bullet-proof-overlay):
      * ediff-mult.el (ediff-setup-meta-map, ediff-emacs-p)
      (ediff-set-meta-overlay):
      * ediff-help.el (ediff-help-region-map, ediff-set-help-overlays):
      * ediff.el (ediff-documentation): Replace ediff-xemacs-p and
      ediff-emacs-p with their former definitions.
      
      * emulation/viper-init.el (viper-xemacs-p, viper-emacs-p): Remove.
      (viper-has-face-support-p, viper-inactivate-input-method)
      (viper-activate-input-method)
      (viper-use-replace-region-delimiters, viper-restore-cursor-type):
      * emulation/viper-mous.el (viper-multiclick-timeout)
      (viper-surrounding-word, viper-mouse-click-insert-word)
      (viper-mouse-click-search-word, viper-parse-mouse-key):
      * emulation/viper-macs.el (viper-char-array-to-macro):
      * emulation/viper.el (viper-go-away, viper-set-hooks)
      (viper-non-hook-settings):
      * emulation/viper-util.el (viper-get-saved-cursor-color-in-replace-mode)
      (viper-get-saved-cursor-color-in-insert-mode)
      (viper-get-saved-cursor-color-in-emacs-mode)
      (viper-check-version, viper-get-visible-buffer-window)
      (viper-file-checked-in-p, viper-set-replace-overlay)
      (viper-set-replace-overlay-glyphs, viper-set-minibuffer-overlay)
      (viper-check-minibuffer-overlay, viper-read-key-sequence)
      (viper-key-to-emacs-key): Replace viper-xemacs-p and viper-emacs-p
      with their former definitions.
      (viper-eventify-list-xemacs): Only do work for XEmacs.
      (viper-set-unread-command-events): Only do work for Emacs.
      (viper-overlay-p, viper-make-overlay, viper-overlay-live-p)
      (viper-move-overlay, viper-overlay-start, viper-overlay-end)
      (viper-overlay-get, viper-overlay-put, viper-read-event)
      (viper-characterp, viper-int-to-char, viper-get-face)
      (viper-color-defined-p, viper-iconify): New defaliases replacing
      the old fsets.
      
      * progmodes/fortran.el (comment-region-function)
      (uncomment-region-function): Pacify byte compiler.
      
      * vc.el (vc-diff-internal): Remove code for an old version of
      gnus.
      e83d1fe8
  18. 26 Sep, 2007 1 commit
  19. 19 Aug, 2007 1 commit
    • Michael Kifer's avatar
      2007-08-19 Michael Kifer <kifer@cs.stonybrook.edu> · 69441214
      Michael Kifer authored
      	* viper.el (viper-remove-hooks): remove some additional viper hooks
      	when the user calls viper-go-away.
      	(viper-go-away): restore the default of default-major-mode.
      	Save the value of default-major-mode before vaperization.
      
      	* viper-cmd.el: Replace error "" with "Viper bell".
      
      	* viper-ex.el: Replace error "" with "Viper bell".
      
      	* ediff-util.el (ediff-make-temp-file): use the coding system of the
      	buffer for which file is created.
      69441214
  20. 25 Jul, 2007 1 commit
  21. 14 Jun, 2007 1 commit
  22. 12 Jun, 2007 1 commit
    • Michael Kifer's avatar
      2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu> · ac64a728
      Michael Kifer authored
      	* viper-cmd.el (viper-prefix-arg-com,viper-prefix-arg-value): display
      	error messages
      	(viper-prev-destructive-command,viper-insert-prev-from-insertion-ring):
      	get rid of cl.el dependencies.
      
      	* viper-init.el (viper-suppress-input-method-change-message): new
      	variable.
      	(viper-activate-input-method-action,viper-inactivate-input-method-action):
      	use viper-suppress-input-method-change-message.
      
      	* viper-kem.el (viper-vi-basic-map): disable the bindings for C-s, C-r.
      
      	* viper-util.el (viper-set-cursor-color-according-to-state): use
      	viper-replace-overlay-cursor-color instead of
      	viper-replace-overlay-cursor-color.
      	(viper-sit-for-short): use sit-for with 3 arguments.
      
      	* viper.el (viper-insert-state-mode-list): add gud-mode.
      	(viper-major-mode-modifier-list): add viper-comint-mode-modifier-map to
      	gud-mode.
      
      	* ediff-mult.el
      	(ediff-meta-buffer-brief-message,ediff-meta-buffer-verbose-message):
      	new variables.
      	(ediff-meta-buffer-message): variable deleted.
      	(ediff-verbose-help-enabled): new variable.
      	(ediff-toggle-verbose-help-meta-buffer): new function.
      	(ediff-redraw-directory-group-buffer): made aware of short/verbose
      	message options
      
      	* ediff-ptch.el (ediff-context-diff-label-regexp): better regexp.
      	(ediff-fixup-patch-map): improved heuristic.
      ac64a728
  23. 21 Mar, 2007 1 commit
  24. 27 Jan, 2007 1 commit
  25. 21 Jan, 2007 1 commit
  26. 02 Jan, 2007 1 commit
  27. 06 Nov, 2006 1 commit
  28. 23 Oct, 2006 1 commit
    • Michael Kifer's avatar
      2006-10-23 Michael Kifer <kifer@cs.stonybrook.edu> · 7eb605c7
      Michael Kifer authored
      	* viper-cmd.el (viper-prefix-arg-com): define gg as G0
      
      	* viper-ex.el (ex-read): quote file argument.
      
      	* ediff-diff.el (ediff-same-file-contents): expand file names.
      
      	* ediff-mult.el (ediff-append-custom-diff): quote shell file arguments.
      7eb605c7
  29. 18 Sep, 2006 1 commit
  30. 25 Aug, 2006 1 commit
    • Michael Kifer's avatar
      2006-08-25 Michael Kifer <kifer@cs.stonybrook.edu> · 83f49acb
      Michael Kifer authored
      	* viper.el (viper-set-hooks): use frame bindings for
      	viper-vi-state-cursor-color.
      	(viper-non-hook-settings): don't set default
      	mode-line-buffer-identification.
      
      	* viper-util.el (viper-set-cursor-color-according-to-state): new
      	function.
      	(viper-set-cursor-color-according-to-state,
      	viper-get-saved-cursor-color-in-replace-mode,
      	viper-get-saved-cursor-color-in-insert-mode): make conditional on
      	viper-emacs-state-cursor-color.
      
      	* viper-cmd.el (viper-envelop-ESC-key): bug fix.
      	(viper-undo): use point if undo-beg-posn is nil.
      	(viper-insert-state-post-command-sentinel,viper-change-state-to-emacs,
      	viper-after-change-undo-hook): don't use
      	viper-emacs-state-cursor-color by default.
      	(viper-undo): more sensible positioning after undo.
      
      	* viper-ex.el (ex-splice-args-in-1-letr-cmd): got rid of caddr.
      	(viper-emacs-state-cursor-color): default to nil, since this feature
      	doesn't work well yet.
      
      	* ediff-mult.el (ediff-intersect-directories,
      	ediff-get-directory-files-under-revision, ediff-dir-diff-copy-file):
      	always expand filenames.
      83f49acb
  31. 18 Jun, 2006 1 commit
    • Michael Kifer's avatar
      2006-06-18 Michael Kifer <kifer@cs.stonybrook.edu> · ec6aebe8
      Michael Kifer authored
      	* viper-cmd.el (viper-special-read-and-insert-char): use
      	read-key-sequence.
      	(viper-after-change-undo-hook): enhancements.
      	(viper-after-change-undo-hook): new hook.
      	(viper-undo): use viper-after-change-undo-hook.
      	(viper-add-newline-at-eob-if-necessary): widen before making changes.
      	(viper-next-line-at-bol): If point is on a widget or a button, simulate
      	clicking on that widget/button.
      
      	* viper.el (viper-mode): allow for a separate cursor color in Emacs
      	state.
      
      	* ediff-diff (ediff-test-patch-utility): catch errors.
      	(ediff-actual-diff-options, ediff-actual-diff3-options): new variables.
      	(ediff-set-actual-diff-options): new function.
      	(ediff-reset-diff-options, ediff-toggle-ignore-case):
      	use ediff-set-actual-diff-options.
      	(ediff-extract-diffs): catch errors.
      	(ediff-whitespace): add nonbreakable space.
      	(ediff-same-file-contents): catch errors.
      
      	* ediff-mult.el (ediff-collect-custom-diffs): save
      	coding-system-for-read.
      
      	* ediff-vers.el (ediff-keep-tmp-versions): new var.
      	(ediff-vc-internal, ediff-vc-merge-internal): use
      	ediff-delete-version-file.
      	(ediff-delete-version-file): new function.
      
      	* ediff-wind.el (ediff-control-frame-parameters): set frame fringes.
      
      	* ediff.el (ediff-directories, ediff-directory-revisions,
      	ediff-merge-directories, ediff-merge-directories-with-ancestor,
      	ediff-directories-internal, ediff-merge-directory-revisions,
      	ediff-merge-directory-revisions-with-ancestor,
      	ediff-directories3): use read-directory-name.
      ec6aebe8
  32. 19 Feb, 2006 1 commit
    • Michael Kifer's avatar
      2006-02-19 Michael Kifer <kifer@cs.stonybrook.edu> · b6178721
      Michael Kifer authored
      	* viper-cmd.el (viper-insert-state-post-command-sentinel,
      	viper-change-state-to-vi, viper-change-state-to-emacs):
      	made aware of cursor coloring in the emacs state.
      	(viper-special-read-and-insert-char): use read-char-exclusive.
      	(viper-minibuffer-trim-tail): workaround for fields in minibuffer.
      
      	* viper-init.el (viper-emacs-state-cursor-color): new variable.
      
      	* viper-util.el (viper-save-cursor-color,
      	viper-get-saved-cursor-color-in-replace-mode,
      	viper-get-saved-cursor-color-in-insert-mode,
      	viper-restore-cursor-color): make aware of the cursor color in emacs
      	state.
      	(viper-get-saved-cursor-color-in-emacs-mode): new function.
      
      	* ediff-diff.el (ediff-ignore-case, ediff-ignore-case-option,
      	ediff-ignore-case-option3, ediff-actual-diff-options,
      	ediff-actual-diff3-options): new variables to control case sensitivity.
      	(ediff-make-diff2-buffer, ediff-setup-fine-diff-regions,
      	ediff-setup-diff-regions3): made aware of case-sensitivity.
      	(ediff-toggle-ignore-case): new function.
      	(ediff-extract-diffs, ediff-extract-diffs3): preserve point in buffers.
      
      	* ediff-help.el (ediff-long-help-message-narrow2,
      	ediff-long-help-message-compare2, ediff-long-help-message-compare3,
      	ediff-long-help-message-word-mode): add ignore-case command.
      	(ediff-help-for-quick-help): add ignore-case command.
      
      	* ediff-merg.el: move provide to the end.
      
      	* ediff-ptch.el: move provide to the end.
      
      	* ediff-wind.el: move provide to the end.
      
      	* ediff-mult.el: move provide to the end.
      	(ediff-set-meta-overlay): enable follow-link.
      
      	* ediff.el: move provide to the end.
      	Break recursive load cycle in eval-when-compile.
      	(ediff-patch-buffer): better heuristics.
      
      	* ediff-util.el: move provide to the end.
      	Break recursive load cycle in eval-when-compile.
      	(ediff-setup-keymap): add binding for #c. Replaced some defsubsts with
      	defuns.
      	(ediff-submit-report): pass the values of ediff-diff3-program,
      	ediff-diff3-options.
      b6178721
  33. 06 Feb, 2006 1 commit
  34. 30 Jan, 2006 1 commit
  35. 25 Nov, 2005 1 commit
  36. 15 Nov, 2005 1 commit
  37. 23 Oct, 2005 1 commit
  38. 06 Oct, 2005 1 commit
    • Michael Kifer's avatar
      2005-10-05 Michael Kifer <kifer@cs.stonybrook.edu> · e2de3a29
      Michael Kifer authored
      	* ediff-merge.el (ediff-merge-region-is-non-clash): new defsubst.
      	(ediff-merge-region-is-non-clash-to-skip): previouslu called
      	ediff-merge-region-is-non-clash.
      
      	* ediff-mult.el (ediff-append-custom-diff,ediff-meta-show-patch): use
      	insert-buffer-substring.
      
      	* ediff-ptch.el (ediff-fixup-patch-map): use better heuristics for
      	selecting files to patch. Also bug fixes.
      
      	* ediff-util.el (ediff-setup): bug fix.
      	(ediff-next-difference): Never skip clashes that differ in white space
      	only.
      
      	* ediff-wind.el (ediff-setup-control-frame,ediff-destroy-control-frame):
      	check the menubar feature.
      
      	* viper-cmd.el (viper-normalize-minor-mode-map-alist,
      	viper-refresh-mode-line): use make-local-variable to localize some vars
      	instead of make-variable-buffer-local. Suggested by Stefan Monnier.
      
      	* viper-init.el (viper-make-variable-buffer-local): delete alias.
      	(viper-restore-cursor-type,viper-set-insert-cursor-type): use
      	make-local-variable instead of make-variable-buffer-local. Suggested by
      	Stefan Monnier.
      
      	* viper.el (viper-mode): don't use viper-make-variable-buffer-local.
      	(viper-comint-mode-hook): use make-local-variable on
      	require-final-newline.
      	(viper-non-hook-settings): don't use make-variable-buffer-local.
      e2de3a29
  39. 20 Sep, 2005 1 commit
    • Michael Kifer's avatar
      2005-09-20 Michael Kifer <kifer@cs.stonybrook.edu> · 15c77b9e
      Michael Kifer authored
      	* ediff-ptch.el (ediff-file-name-sans-prefix): treat nil as an empty
      	string.
      	(ediff-fixup-patch-map): better heuristic for intuiting the file names
      	to patch.
      	(ediff-prompt-for-patch-file): more intuitive prompt.
      
      	* ediff-util.el: use insert-buffer-substring.
      
      	* ediff-vers.el (cvs-run-ediff-on-file-descriptor): bug fix.
      
      	* viper-cmd.el (viper-change-state): don't move over the field
      	boundaries in the minibuffer.
      	(viper-set-minibuffer-style): add viper-minibuffer-post-command-hook.
      	(viper-minibuffer-post-command-hook): new hook.
      	(viper-line): don't move cursor at bolp.
      
      	* viper-ex.el (ex-pwd, viper-info-on-file): fixed message
      
      	* viper-init.el: add alias to make-variable-buffer-local to avoid
      	compiler warnings.
      
      	* viper-macs.el (ex-map): better messages.
      
      	* viper-utils.el (viper-beginning-of-field): new function.
      
      	* viper.el: replace make-variable-buffer-local with
      	viper-make-variable-buffer-local everywhere, to avoid warnings.
      15c77b9e
  40. 06 Aug, 2005 1 commit