aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation
diff options
context:
space:
mode:
authorKaroly Lorentey2005-12-03 14:25:50 +0000
committerKaroly Lorentey2005-12-03 14:25:50 +0000
commit9ef706664e98e37e9633712126bae99869904677 (patch)
tree193bce7424700e4c7d70f54b04f7f81d64525554 /lisp/emulation
parent950bed4bb96d2a580818bdaab64a164c7c9a1c1e (diff)
parent9f6efa0c78099f2f028c4db1db5a58567a1cfb4e (diff)
downloademacs-9ef706664e98e37e9633712126bae99869904677.tar.gz
emacs-9ef706664e98e37e9633712126bae99869904677.zip
Merged from miles@gnu.org--gnu-2005 (patch 659-663)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-659 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-660 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-661 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-662 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-663 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-445
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/cua-rect.el10
-rw-r--r--lisp/emulation/viper-keym.el5
-rw-r--r--lisp/emulation/viper.el5
3 files changed, 14 insertions, 6 deletions
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el
index d83ebd543cd..0590af50249 100644
--- a/lisp/emulation/cua-rect.el
+++ b/lisp/emulation/cua-rect.el
@@ -65,6 +65,7 @@
65;; List of overlays used to display current rectangle. 65;; List of overlays used to display current rectangle.
66(defvar cua--rectangle-overlays nil) 66(defvar cua--rectangle-overlays nil)
67(make-variable-buffer-local 'cua--rectangle-overlays) 67(make-variable-buffer-local 'cua--rectangle-overlays)
68(put 'cua--rectangle-overlays 'permanent-local t)
68 69
69(defvar cua--overlay-keymap 70(defvar cua--overlay-keymap
70 (let ((map (make-sparse-keymap))) 71 (let ((map (make-sparse-keymap)))
@@ -781,7 +782,7 @@ If command is repeated at same position, delete the rectangle."
781 (make-string 782 (make-string
782 (- l cl0 (if (and (= le pl) (/= le lb)) 1 0)) 783 (- l cl0 (if (and (= le pl) (/= le lb)) 1 0))
783 (if cua--virtual-edges-debug ?. ?\s)) 784 (if cua--virtual-edges-debug ?. ?\s))
784 'face 'default)) 785 'face (or (get-text-property (1- s) 'face) 'default)))
785 (if (/= pl le) 786 (if (/= pl le)
786 (setq s (1- s)))) 787 (setq s (1- s))))
787 (cond 788 (cond
@@ -1393,7 +1394,12 @@ With prefix arg, indent to that column."
1393 (if (and mark-active 1394 (if (and mark-active
1394 (not deactivate-mark)) 1395 (not deactivate-mark))
1395 (cua--highlight-rectangle) 1396 (cua--highlight-rectangle)
1396 (cua--deactivate-rectangle))) 1397 (cua--deactivate-rectangle))
1398 (when cua--rectangle-overlays
1399 ;; clean-up after revert-buffer
1400 (mapcar (function delete-overlay) cua--rectangle-overlays)
1401 (setq cua--rectangle-overlays nil)
1402 (setq deactivate-mark t)))
1397 (when cua--rect-undo-set-point 1403 (when cua--rect-undo-set-point
1398 (goto-char cua--rect-undo-set-point) 1404 (goto-char cua--rect-undo-set-point)
1399 (setq cua--rect-undo-set-point nil))) 1405 (setq cua--rect-undo-set-point nil)))
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el
index 2af0a9bbfa8..c8a5d53b504 100644
--- a/lisp/emulation/viper-keym.el
+++ b/lisp/emulation/viper-keym.el
@@ -200,9 +200,10 @@ Enter as a sexp. Examples: \"\\C-z\", [(control ?z)]."
200 :type 'string 200 :type 'string
201 :group 'viper) 201 :group 'viper)
202 202
203(defcustom viper-ESC-key [(escape)] ; "\e" 203(defcustom viper-ESC-key (if (viper-window-display-p) [(escape)] "\e")
204 "Key used to ESC. 204 "Key used to ESC.
205Enter as a sexp. Examples: \"\\e\", [(escape)]." 205Enter as a sexp. Examples: \"\\e\", [(escape)].
206If running in a terminal, [(escape)] is not understood, so must use \"\\e\"."
206 :type 'sexp 207 :type 'sexp
207 :group 'viper 208 :group 'viper
208 :set (lambda (symbol value) 209 :set (lambda (symbol value)
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index 7bcaf8be399..754eff3906d 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -9,7 +9,7 @@
9;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 9;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
10;; Keywords: emulations 10;; Keywords: emulations
11 11
12(defconst viper-version "3.11.5 of October 5, 2005" 12(defconst viper-version "3.11.5 of November 25, 2005"
13 "The current version of Viper") 13 "The current version of Viper")
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.
@@ -429,7 +429,6 @@ widget."
429 occur-mode 429 occur-mode
430 430
431 mh-folder-mode 431 mh-folder-mode
432 mail-mode
433 gnus-group-mode 432 gnus-group-mode
434 gnus-summary-mode 433 gnus-summary-mode
435 434
@@ -442,6 +441,8 @@ widget."
442 441
443 rcirc-mode 442 rcirc-mode
444 443
444 jde-javadoc-checker-report-mode
445
445 view-mode 446 view-mode
446 vm-mode 447 vm-mode
447 vm-summary-mode) 448 vm-summary-mode)