1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00
Commit Graph

740 Commits

Author SHA1 Message Date
Stefan Monnier
6f87952b19 (viper-file-remote-p): Remove, unused. 2008-03-12 17:57:29 +00:00
Glenn Morris
aba08fe5f6 (viper-frame-value): Prefer buffer-local value, if set, over frame value. 2008-03-03 03:24:32 +00:00
Glenn Morris
ce8fc80bbd (viper-cond-compile-for-xemacs-or-emacs): Delete macro.
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.

Replace obselete frame-local variables with frame-parameters.
(viper-replace-overlay-cursor-color, viper-insert-state-cursor-color)
(viper-emacs-state-cursor-color, viper-vi-state-cursor-color): Only
call make-variable-frame-local on XEmacs.
2008-03-01 20:23:36 +00:00
Glenn Morris
c721821652 (zmacs-region-stays): No need to define for compiler.
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.

Replace obselete frame-local variables with frame-parameters.
(viper-frame-value): New macro.
(viper-set-cursor-color-according-to-state, viper-save-cursor-color)
(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-set-replace-overlay):
Use viper-frame-value for viper-replace-overlay-cursor-color,
viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
viper-vi-state-cursor-color values.

(viper-set-minibuffer-overlay): Use when rather than if.
2008-03-01 20:19:23 +00:00
Glenn Morris
821d2c71ee (zmacs-region-stays): No need to define for compiler.
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.

Replace obselete frame-local variables with frame-parameters.
(viper-insert-state-post-command-sentinel, viper-R-state-post-command-sentinel)
(viper-replace-state-post-command-sentinel, viper-change-state-to-insert)
(viper-change-state-to-emacs): Use viper-frame-value for
viper-replace-overlay-cursor-color, viper-emacs-state-cursor-color,
viper-insert-state-cursor-color, and viper-vi-state-cursor-color values.
2008-03-01 20:14:46 +00:00
Glenn Morris
0e52cd1368 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test. 2008-03-01 20:11:47 +00:00
Glenn Morris
fe4f1247e5 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
(viper-add-keymap): Use mapc rather than mapcar on Emacs.
2008-03-01 20:11:00 +00:00
Glenn Morris
b94f99c804 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test. 2008-03-01 20:10:26 +00:00
Glenn Morris
c92d7d39c8 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
(viper-counting-clicks-p): Only define on XEmacs.
2008-03-01 20:09:54 +00:00
Glenn Morris
2994902a28 (zmacs-region-stays): Define for compiler once only. 2008-03-01 20:07:49 +00:00
Juanma Barranquero
5831b5a648 (cua-remap-control-z): Fix typo in docstring. 2008-03-01 00:26:22 +00:00
Kim F. Storm
88fc71a78e (cua-remap-control-v)
(cua-remap-control-z): New defcustoms.
(cua-mode): Add them to set-after property.
(cua--init-keymaps): Use them.
Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
2008-02-29 23:43:10 +00:00
Juri Linkov
27eb24a355 (viper-emacs-state-mode-list): Rename custom-mode' to Custom-mode'. 2008-02-28 20:46:02 +00:00
Glenn Morris
281b9aa888 (vip-special-prefix-com): Use ispell-region rather than spell-region. 2008-02-22 03:54:52 +00:00
Glenn Morris
d54d5371c1 (tpu-have-ispell): Doc fix. Make obsolete.
(tpu-caar, tpu-cadr): Delete functions.
(zmacs-regions): No need to declare for compiler.
(tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
(tpu-spell-check): Rewrite, and handle mark after point.
(tpu-special-insert): Use or rather than if.
2008-02-22 03:54:20 +00:00
Miles Bader
d235ca2ff8 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
2008-01-30 07:57:28 +00:00
Dan Nicolaescu
a445370f16 * sieve.el (sieve-make-overlay, sieve-overlay-put, sieve-overlays-at):
* message.el (message-beginning-of-line): Use featurep instead of bound
tests in order to resolve conditionals at compile time.

* textmodes/reftex-toc.el (reftex-toc-next, reftex-toc-previous)
(reftex-toc-restore-region):
* textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer)
(reftex-index-phrases-apply-to-region):
* textmodes/ispell.el (ispell-word):
* progmodes/vhdl-mode.el (vhdl-keep-region-active):
* progmodes/pascal.el (pascal-mark-defun):
* progmodes/f90.el (f90-mark-subprogram, f90-indent-region)
(f90-fill-region):
* emulation/tpu-edt.el (tpu-set-mark):
* emulation/crisp.el (crisp-region-active):
* winner.el (winner-active-region):
* ansi-color.el (ansi-color-set-extent-face): Use featurep instead
of bound tests in order to resolve conditionals at compile time.
2008-01-24 15:14:52 +00:00
Glenn Morris
8d8ccf3636 Regenerate for new tpu-extras md5sum in generated autoload. 2008-01-12 23:58:50 +00:00
Michael Kifer
acb93bb2a6 2008-01-10 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff*.el: uncommented declare-function.

	* viper*.el: uncommented declare-function.
2008-01-10 06:54:12 +00:00
Michael Kifer
65efc5388d 2008-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
* 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.
2008-01-09 06:16:07 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Stefan Monnier
db7552d575 Misc comment and docstring fixes to better follow conventions. 2008-01-04 07:03:47 +00:00
Stefan Monnier
88a83b17ec (tpu-load-xkeys): Recommend to run the
tpu-mapper command rather than load the tpu-mapper package.
2008-01-04 06:52:27 +00:00
Stefan Monnier
f33e2ef151 (tpu-mapper): New command. Contains all the code previously at top-level. 2008-01-04 06:52:03 +00:00
Miles Bader
d29ee6b1a1 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
2007-12-16 05:08:49 +00:00
Glenn Morris
ed8a25dfa1 (top-level): Use dolist rather than mapc in make-variable-frame-local call. 2007-12-09 02:18:04 +00:00
David Kastrup
274f1353e0 * erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.

* gnus-sum.el (gnus-summary-simplify-subject-query):
* ecomplete.el (ecomplete-display-matches): Fix buggy call to
`message'.

* textmodes/reftex.el (reftex-select-with-char):
* textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-visit-location, reftex-toc-find-section):
* textmodes/reftex-index.el (reftex-index-show-entry):
* textmodes/org.el (org-cycle-hide-archived-subtrees)
(org-table-rotate-recalc-marks, org-mark-ring-push)
(org-follow-info-link, org-mhe-get-message-folder-from-index)
(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
(org-evaluate-time-range, org-edit-agenda-file-list):
* textmodes/artist.el (artist-select-next-op-in-list)
(artist-select-prev-op-in-list):
* term/mac-win.el (mac-service-insert-text):
* startup.el (fancy-about-screen):
* progmodes/vhdl-mode.el (vhdl-decision-query):
* progmodes/idlwave.el (idlwave-template)
(idlwave-scroll-completions, idlwave-display-completion-list):
* progmodes/ebrowse.el (ebrowse-show-progress):
* progmodes/cperl-mode.el (cperl-find-pods-heres):
* progmodes/antlr-mode.el (antlr-insert-option-do):
* play/mpuz.el (mpuz-close-game):
* net/rcirc.el (rcirc-next-active-buffer):
* mail/reporter.el (reporter-update-status):
* kmacro.el (kmacro-display):
* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
* emulation/viper-util.el (viper-save-setting):
* emacs-lisp/lisp-mnt.el (lm-verify):
* emacs-lisp/edebug.el (edebug-set-mode):
* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
* calendar/calendar.el (calendar-print-day-of-year):
* calc/calcalg3.el (calc-curve-fit):
* calc/calcalg2.el (math-integral):
* calc/calc.el (calc-read-key-sequence, calc-version):
* calc/calc-mode.el (calc-set-simplify-mode):
* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
`message'.
2007-12-08 01:02:29 +00:00
Miles Bader
0bd5084171 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00
Glenn Morris
5cec305694 Remove directory part from filenames in function declarations. 2007-12-06 04:09:57 +00:00
Glenn Morris
e5aca01072 (top-level): Move (provide 'cua-base) to end.
No longer provide 'cua.  Don't require cua-rect, cua-gmrk when compiling.
(cua-set-rectangle-mark): Add doc string to autoload.
(cua--rectangle, cua--last-killed-rectangle)
(cua--global-mark-active): Always define for compiler.
(cua-copy-rectangle, cua-cut-rectangle, cua--rectangle-left)
(cua--delete-rectangle, cua--insert-rectangle)
(cua--rectangle-corner, cua--rectangle-assert)
(cua--insert-at-global-mark, cua--global-mark-post-command):
Declare as functions.
2007-12-04 03:51:25 +00:00
Glenn Morris
2c0f856464 (top-level): Move provide to end.
Don't require cua-gmrk when compiling.
(cua--cut-rectangle-to-global-mark)
(cua--copy-rectangle-to-global-mark): Declare as functions.
2007-12-04 03:48:27 +00:00
Glenn Morris
88a25b1883 (top-level): Move provide to end. 2007-12-04 03:47:26 +00:00
Glenn Morris
cbfcb1d0f1 (viper-replace-overlay-cursor-color)
(viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
(viper-vi-state-cursor-color): Consolidate make-variable-frame-local calls.
2007-12-04 03:46:45 +00:00
Glenn Morris
b01fc9c9d9 (top-level): Don't require advice.
Don't load viper-util, viper-keym, viper-mous, viper-macs, viper-ex
when compiling.
2007-12-02 21:04:10 +00:00
Glenn Morris
eec597ed4a (top-level): Don't load viper-util, viper-keym when compiling. 2007-12-02 21:02:58 +00:00
Glenn Morris
26a7f02f94 (top-level): Move provide statement to end. 2007-12-02 21:02:25 +00:00
Glenn Morris
694bc3c6e1 (top-level): Don't load viper-util when compiling. Move provide
statement to end.
2007-12-02 21:01:53 +00:00
Glenn Morris
e83e8ab56f (top-level): Don't load viper-util, viper-keym, viper-mous when compiling. 2007-12-02 21:01:17 +00:00
Glenn Morris
e41afea7f6 (top-level): Don't load viper-util when compiling. 2007-12-02 21:00:40 +00:00
Glenn Morris
2c52740ada (top-level): Don't load viper-init when compiling. 2007-12-02 21:00:08 +00:00
Glenn Morris
cdd489b0fb (top-level): Don't require ring.
Don't load viper-init, viper-cmd when compiling.
2007-12-02 20:59:21 +00:00
Glenn Morris
4b9be680a4 Don't require cl when compiling.
(tpu-emacs-search, tpu-emacs-rev-search): Declare as functions.
(tpu-edt-off): Use condition-case rather than ignore-errors.
Use with-no-warnings.
2007-11-28 03:59:06 +00:00
Glenn Morris
0dcd12a119 (edt-user-emulation-setup): Test edt-setup-user-bindings is bound
before calling.
2007-11-28 03:57:52 +00:00
Glenn Morris
fd298e0242 Load viper*.el files silently. 2007-11-27 09:06:32 +00:00
Glenn Morris
d0a3b8c274 (x-clipboard-yank): Fix declaration. 2007-11-22 20:28:14 +00:00
Juanma Barranquero
967c6c497f (x-clipboard-yank): Declare as function. 2007-11-22 13:56:22 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00
Dan Nicolaescu
6d00e226c3 * progmodes/python.el (info-lookup-maybe-add-help):
* progmodes/ps-mode.el (doc-view-minor-mode):
* mail/emacsbug.el (Info-menu, Info-goto-node):
* emulation/viper-keym.el (viper-ex)
(viper-normalize-minor-mode-map-alist, viper-set-mode-vars-for):
* emulation/viper-cmd.el (widget-type, widget-button-press)
(viper-set-hooks):
* emacs-lisp/tcover-unsafep.el (unsafep-function):
* emacs-lisp/tcover-ses.el (ses-set-curcell, ses-update-cells)
(ses-load, ses-vector-delete, ses-create-header-string)
(ses-read-cell, ses-read-symbol, ses-command-hook, ses-jump):
* emacs-lisp/gulp.el (mail-subject, mail-send): Declare as
functions.

* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
(url-generate-unique-filename): Declare as functions.
2007-11-20 07:56:02 +00:00