aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKaroly Lorentey2005-04-25 11:47:55 +0000
committerKaroly Lorentey2005-04-25 11:47:55 +0000
commit5ad1bc4dead80db3e81a6855714bc0b5817f5fc0 (patch)
treed9a6baba163ca50b60f19b3f63adeb29dac2071b /lisp
parent8d6f9bce72ee94ed6c297b79a181eac3f5beca74 (diff)
parent37c5c4a7273ea3e538d3aab8862645b9096af738 (diff)
downloademacs-5ad1bc4dead80db3e81a6855714bc0b5817f5fc0.tar.gz
emacs-5ad1bc4dead80db3e81a6855714bc0b5817f5fc0.zip
Merged from miles@gnu.org--gnu-2005 (patch 269)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-269 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-331
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog50
-rw-r--r--lisp/bindings.el23
-rw-r--r--lisp/loadhist.el85
-rw-r--r--lisp/paren.el8
-rw-r--r--lisp/progmodes/flymake.el11
-rw-r--r--lisp/simple.el17
-rw-r--r--lisp/subr.el4
-rw-r--r--lisp/term/mac-win.el401
-rw-r--r--lisp/tooltip.el2
9 files changed, 263 insertions, 338 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4d8e8c6dd52..b4437f350da 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,53 @@
12005-04-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * term/mac-win.el (mac-symbol-encoder): Fix mappings of left and
4 right angle brackets.
5
62005-04-20 Nick Roberts <nickrob@snap.net.nz>
7
8 * tooltip.el (tooltip-use-echo-area): Replace as alias and deprecate.
9
102005-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * progmodes/flymake.el (flymake-get-absolute-file-name-basedir):
13 Remove. Update callers to use expand-file-name instead.
14
15 * subr.el (syntax-class): New function.
16
17 * simple.el (blink-matching-open): Use it.
18
19 * paren.el (show-paren-function): Use it to recognize parens that are
20 also used in 2-char comment markers.
21
222005-04-19 Lute Kamstra <lute@gnu.org>
23
24 * loadhist.el (unload-feature): Update for new format of
25 load-history. Simplify the code.
26
272005-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
28
29 * term/mac-win.el: Add coding: tag and set it to iso-2022-7bit.
30 (mac-add-charset-info): New function. Initialize variable
31 mac-charset-info-alist using it.
32 (mac-centraleurroman, mac-cyrillic): Do not use UCS in table data
33 for translation.
34 (mac-symbol-encoder, mac-dingbats-encoder): New translation table.
35 (mac-font-encoder-list): Add entries for mac-symbol and mac-dingbats.
36 (ccl-encode-mac-symbol-font, ccl-encode-mac-dingbats-font):
37 New CCL programs.
38
392005-04-19 Kim F. Storm <storm@cua.dk>
40
41 * simple.el (next-buffer, prev-buffer, next-error)
42 (scroll-other-window, keyboard-quit, keyboard-escape-quit)
43 (clone-indirect-buffer-other-window): Move bindings to bindings.el.
44
45 * bindings.el (next-buffer, prev-buffer, next-error)
46 (scroll-other-window, keyboard-quit, keyboard-escape-quit)
47 (clone-indirect-buffer-other-window): Move bindings from simple.el.
48 (next-buffer, prev-buffer): Add C-x C-right and C-x C-left bindings.
49 (next-error, previous-error): Add M-g M-n/n and M-g M-p/p bindings.
50
12005-04-18 Stefan Monnier <monnier@iro.umontreal.ca> 512005-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2 52
3 * isearch.el (isearch-edit-string): Make the search-ring available for 53 * isearch.el (isearch-edit-string): Make the search-ring available for
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 52a91378275..fa10873c33b 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -628,6 +628,10 @@ language you are using."
628;; (define-key ctl-x-map "n" 'narrow-to-region) 628;; (define-key ctl-x-map "n" 'narrow-to-region)
629;; (define-key ctl-x-map "w" 'widen) 629;; (define-key ctl-x-map "w" 'widen)
630 630
631;; Quitting
632(define-key global-map "\e\e\e" 'keyboard-escape-quit)
633(define-key global-map "\C-g" 'keyboard-quit)
634
631(define-key global-map "\C-j" 'newline-and-indent) 635(define-key global-map "\C-j" 'newline-and-indent)
632(define-key global-map "\C-m" 'newline) 636(define-key global-map "\C-m" 'newline)
633(define-key global-map "\C-o" 'open-line) 637(define-key global-map "\C-o" 'open-line)
@@ -652,9 +656,18 @@ language you are using."
652;; Many people are used to typing C-/ on X terminals and getting C-_. 656;; Many people are used to typing C-/ on X terminals and getting C-_.
653(define-key global-map [?\C-/] 'undo) 657(define-key global-map [?\C-/] 'undo)
654(define-key global-map "\C-_" 'undo) 658(define-key global-map "\C-_" 'undo)
659;; Richard said that we should not use C-x <uppercase letter> and I have
660;; no idea whereas to bind it. Any suggestion welcome. -stef
661;; (define-key ctl-x-map "U" 'undo-only)
662
655(define-key esc-map "!" 'shell-command) 663(define-key esc-map "!" 'shell-command)
656(define-key esc-map "|" 'shell-command-on-region) 664(define-key esc-map "|" 'shell-command-on-region)
657 665
666(define-key global-map [?\C-x right] 'next-buffer)
667(define-key global-map [?\C-x C-right] 'next-buffer)
668(define-key global-map [?\C-x left] 'prev-buffer)
669(define-key global-map [?\C-x C-left] 'prev-buffer)
670
658(let ((map minibuffer-local-map)) 671(let ((map minibuffer-local-map))
659 (define-key map "\en" 'next-history-element) 672 (define-key map "\en" 'next-history-element)
660 (define-key map [next] 'next-history-element) 673 (define-key map [next] 'next-history-element)
@@ -709,6 +722,13 @@ language you are using."
709(define-key esc-map "g\M-g" 'goto-line) 722(define-key esc-map "g\M-g" 'goto-line)
710(define-key esc-map "gg" 'goto-line) 723(define-key esc-map "gg" 'goto-line)
711 724
725(define-key esc-map "gn" 'next-error)
726(define-key esc-map "g\M-n" 'next-error)
727(define-key ctl-x-map "`" 'next-error)
728
729(define-key esc-map "gp" 'previous-error)
730(define-key esc-map "g\M-p" 'previous-error)
731
712;;(defun function-key-error () 732;;(defun function-key-error ()
713;; (interactive) 733;; (interactive)
714;; (error "That function key is not bound to anything")) 734;; (error "That function key is not bound to anything"))
@@ -737,6 +757,7 @@ language you are using."
737(define-key global-map [C-next] 'scroll-left) 757(define-key global-map [C-next] 'scroll-left)
738(define-key global-map [M-next] 'scroll-other-window) 758(define-key global-map [M-next] 'scroll-other-window)
739(define-key global-map [M-prior] 'scroll-other-window-down) 759(define-key global-map [M-prior] 'scroll-other-window-down)
760(define-key esc-map [?\C-\S-v] 'scroll-other-window-down)
740(define-key global-map [end] 'end-of-line) 761(define-key global-map [end] 'end-of-line)
741(define-key global-map [C-end] 'end-of-buffer) 762(define-key global-map [C-end] 'end-of-buffer)
742(define-key global-map [M-end] 'end-of-buffer-other-window) 763(define-key global-map [M-end] 'end-of-buffer-other-window)
@@ -1020,6 +1041,8 @@ language you are using."
1020 1041
1021(define-key ctl-x-map "z" 'repeat) 1042(define-key ctl-x-map "z" 'repeat)
1022 1043
1044(define-key ctl-x-4-map "c" 'clone-indirect-buffer-other-window)
1045
1023;; Don't look for autoload cookies in this file. 1046;; Don't look for autoload cookies in this file.
1024;; Local Variables: 1047;; Local Variables:
1025;; no-update-autoloads: t 1048;; no-update-autoloads: t
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index 473c8dc3bc8..1c71cc6cd07 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -1,6 +1,6 @@
1;;; loadhist.el --- lisp functions for working with feature groups 1;;; loadhist.el --- lisp functions for working with feature groups
2 2
3;; Copyright (C) 1995, 1998, 2000 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 1998, 2000, 2005 Free Software Foundation, Inc.
4 4
5;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 5;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -155,16 +155,16 @@ variable `unload-hook-features-list' and could remove features from it
155in the event that the package has done something normally-ill-advised, 155in the event that the package has done something normally-ill-advised,
156such as redefining an Emacs function." 156such as redefining an Emacs function."
157 (interactive (list (read-feature "Feature: ") current-prefix-arg)) 157 (interactive (list (read-feature "Feature: ") current-prefix-arg))
158 (if (not (featurep feature)) 158 (unless (featurep feature)
159 (error "%s is not a currently loaded feature" (symbol-name feature))) 159 (error "%s is not a currently loaded feature" (symbol-name feature)))
160 (if (not force) 160 (unless force
161 (let* ((file (feature-file feature)) 161 (let* ((file (feature-file feature))
162 (dependents (delete file (copy-sequence (file-dependents file))))) 162 (dependents (delete file (copy-sequence (file-dependents file)))))
163 (if dependents 163 (when dependents
164 (error "Loaded libraries %s depend on %s" 164 (error "Loaded libraries %s depend on %s"
165 (prin1-to-string dependents) file)))) 165 (prin1-to-string dependents) file))))
166 (let* ((unload-hook-features-list (feature-symbols feature)) 166 (let* ((unload-hook-features-list (feature-symbols feature))
167 (file (car unload-hook-features-list)) 167 (file (pop unload-hook-features-list))
168 (unload-hook (intern-soft (concat (symbol-name feature) 168 (unload-hook (intern-soft (concat (symbol-name feature)
169 "-unload-hook")))) 169 "-unload-hook"))))
170 ;; Try to avoid losing badly when hooks installed in critical 170 ;; Try to avoid losing badly when hooks installed in critical
@@ -183,38 +183,39 @@ such as redefining an Emacs function."
183 ;; normally works. 183 ;; normally works.
184 (mapatoms 184 (mapatoms
185 (lambda (x) 185 (lambda (x)
186 (if (or (and (boundp x) ; Random hooks. 186 (when (and (boundp x)
187 (consp (symbol-value x)) 187 (or (and (consp (symbol-value x)) ; Random hooks.
188 (string-match "-hooks?\\'" (symbol-name x))) 188 (string-match "-hooks?\\'" (symbol-name x)))
189 (and (boundp x) ; Known abnormal hooks etc. 189 (memq x unload-feature-special-hooks))) ; Known abnormal hooks etc.
190 (memq x unload-feature-special-hooks))) 190 (dolist (y unload-hook-features-list)
191 (dolist (y (cdr unload-hook-features-list)) 191 (when (eq (car-safe y) 'defun)
192 (remove-hook x y)))))) 192 (remove-hook x (cdr y))))))))
193 (if (fboundp 'elp-restore-function) ; remove ELP stuff first 193 (when (fboundp 'elp-restore-function) ; remove ELP stuff first
194 (dolist (elt (cdr unload-hook-features-list)) 194 (dolist (elt unload-hook-features-list)
195 (if (symbolp elt) 195 (when (symbolp elt)
196 (elp-restore-function elt)))) 196 (elp-restore-function elt))))
197 (dolist (x (cdr unload-hook-features-list)) 197 (dolist (x unload-hook-features-list)
198 (when (consp x) 198 (if (consp x)
199 ;; Remove any feature names that this file provided. 199 (progn
200 (if (eq (car x) 'provide) 200 ;; Remove any feature names that this file provided.
201 (setq features (delq (cdr x) features))) 201 (when (eq (car x) 'provide)
202 (when (eq (car x) 'defvar) 202 (setq features (delq (cdr x) features)))
203 ;; Kill local values as much as possible. 203 (when (eq (car x) 'defun)
204 (dolist (buf (buffer-list)) 204 (let ((fun (cdr x)))
205 (with-current-buffer buf 205 (when (fboundp fun)
206 (kill-local-variable (cdr x)))) 206 (when (fboundp 'ad-unadvise)
207 ;; Get rid of the default binding if we can. 207 (ad-unadvise fun))
208 (unless (local-variable-if-set-p (cdr x)) 208 (fmakunbound fun)
209 (makunbound (cdr x)))) 209 (let ((aload (get fun 'autoload)))
210 (when (eq (car x) 'defun) 210 (when aload
211 (let ((fun (cdr x))) 211 (fset fun (cons 'autoload aload))))))))
212 (when (fboundp fun) 212 ;; Kill local values as much as possible.
213 (if (fboundp 'ad-unadvise) 213 (dolist (buf (buffer-list))
214 (ad-unadvise fun)) 214 (with-current-buffer buf
215 (fmakunbound fun) 215 (kill-local-variable x)))
216 (let ((aload (get fun 'autoload))) 216 ;; Get rid of the default binding if we can.
217 (if aload (fset fun (cons 'autoload aload))))))))) 217 (unless (local-variable-if-set-p x)
218 (makunbound x))))
218 ;; Delete the load-history element for this file. 219 ;; Delete the load-history element for this file.
219 (let ((elt (assoc file load-history))) 220 (let ((elt (assoc file load-history)))
220 (setq load-history (delq elt load-history))))) 221 (setq load-history (delq elt load-history)))))
diff --git a/lisp/paren.el b/lisp/paren.el
index 63300ce6238..fe2beae4edd 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -1,6 +1,6 @@
1;;; paren.el --- highlight matching paren 1;;; paren.el --- highlight matching paren
2 2
3;; Copyright (C) 1993, 1996, 2001, 2004 Free Software Foundation, Inc. 3;; Copyright (C) 1993, 1996, 2001, 2004, 2005 Free Software Foundation, Inc.
4 4
5;; Author: rms@gnu.org 5;; Author: rms@gnu.org
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -139,8 +139,8 @@ in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time."
139(defun show-paren-function () 139(defun show-paren-function ()
140 (if show-paren-mode 140 (if show-paren-mode
141 (let ((oldpos (point)) 141 (let ((oldpos (point))
142 (dir (cond ((eq (car (syntax-after (1- (point)))) 5) -1) 142 (dir (cond ((eq (syntax-class (syntax-after (1- (point)))) 5) -1)
143 ((eq (car (syntax-after (point))) 4) 1))) 143 ((eq (syntax-class (syntax-after (point))) 4) 1)))
144 pos mismatch face) 144 pos mismatch face)
145 ;; 145 ;;
146 ;; Find the other end of the sexp. 146 ;; Find the other end of the sexp.
@@ -169,7 +169,7 @@ in `show-paren-style' after `show-paren-delay' seconds of Emacs idle time."
169 ;; kind of paren to match the one we started at. 169 ;; kind of paren to match the one we started at.
170 (when (integerp pos) 170 (when (integerp pos)
171 (let ((beg (min pos oldpos)) (end (max pos oldpos))) 171 (let ((beg (min pos oldpos)) (end (max pos oldpos)))
172 (unless (eq (car (syntax-after beg)) 8) ;Not syntax `$'. 172 (unless (eq (syntax-class (syntax-after beg)) 8)
173 (setq mismatch 173 (setq mismatch
174 (not (or (eq (char-before end) 174 (not (or (eq (char-before end)
175 ;; This can give nil. 175 ;; This can give nil.
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 7067ddca21c..73d77affdc4 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1765,7 +1765,7 @@ Return full-name. Names are real, not patched."
1765 (this-real-name (nth 1 (nth (1- file-count) files)))) 1765 (this-real-name (nth 1 (nth (1- file-count) files))))
1766 ;;+(flymake-log 0 "this-dir=%s this-file=%s this-real=%s msg-file=%s" this-dir this-file this-real-name file-name-from-err-msg) 1766 ;;+(flymake-log 0 "this-dir=%s this-file=%s this-real=%s msg-file=%s" this-dir this-file this-real-name file-name-from-err-msg)
1767 (when (and this-dir this-file (flymake-same-files 1767 (when (and this-dir this-file (flymake-same-files
1768 (flymake-get-absolute-file-name-basedir file-name-from-err-msg this-dir) 1768 (expand-file-name file-name-from-err-msg this-dir)
1769 this-file)) 1769 this-file))
1770 (setq real-name this-real-name))) 1770 (setq real-name this-real-name)))
1771 (setq file-count (1- file-count))) 1771 (setq file-count (1- file-count)))
@@ -1778,18 +1778,13 @@ Return full-name. Names are real, not patched."
1778 (setq real-name file-name-from-err-msg) 1778 (setq real-name file-name-from-err-msg)
1779 (let* ((base-dirs-count (length base-dirs))) 1779 (let* ((base-dirs-count (length base-dirs)))
1780 (while (and (not real-name) (> base-dirs-count 0)) 1780 (while (and (not real-name) (> base-dirs-count 0))
1781 (let* ((full-name (flymake-get-absolute-file-name-basedir file-name-from-err-msg 1781 (let* ((full-name (expand-file-name file-name-from-err-msg
1782 (nth (1- base-dirs-count) base-dirs)))) 1782 (nth (1- base-dirs-count) base-dirs))))
1783 (if (file-exists-p full-name) 1783 (if (file-exists-p full-name)
1784 (setq real-name full-name)) 1784 (setq real-name full-name))
1785 (setq base-dirs-count (1- base-dirs-count)))))) 1785 (setq base-dirs-count (1- base-dirs-count))))))
1786 real-name)) 1786 real-name))
1787 1787
1788(defun flymake-get-absolute-file-name-basedir (file-name dir-name)
1789 (if (file-name-absolute-p file-name)
1790 file-name
1791 (concat dir-name "/" file-name)))
1792
1793(defun flymake-init-find-buildfile-dir (buffer source-file-name buildfile-name) 1788(defun flymake-init-find-buildfile-dir (buffer source-file-name buildfile-name)
1794 "Find buildfile, store its dir in buffer data and return its dir, if found." 1789 "Find buildfile, store its dir in buffer data and return its dir, if found."
1795 (let* ((buildfile-dir (flymake-find-buildfile buildfile-name 1790 (let* ((buildfile-dir (flymake-find-buildfile buildfile-name
diff --git a/lisp/simple.el b/lisp/simple.el
index 1b7b40a367a..cc66ef12d16 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -51,8 +51,6 @@ wait this many seconds after Emacs becomes idle before doing an update."
51 "Highlight (un)matching of parens and expressions." 51 "Highlight (un)matching of parens and expressions."
52 :group 'matching) 52 :group 'matching)
53 53
54(define-key global-map [?\C-x right] 'next-buffer)
55(define-key global-map [?\C-x left] 'prev-buffer)
56(defun next-buffer () 54(defun next-buffer ()
57 "Switch to the next buffer in cyclic order." 55 "Switch to the next buffer in cyclic order."
58 (interactive) 56 (interactive)
@@ -258,8 +256,6 @@ See variables `compilation-parse-errors-function' and
258(defalias 'goto-next-locus 'next-error) 256(defalias 'goto-next-locus 'next-error)
259(defalias 'next-match 'next-error) 257(defalias 'next-match 'next-error)
260 258
261(define-key ctl-x-map "`" 'next-error)
262
263(defun previous-error (&optional n) 259(defun previous-error (&optional n)
264 "Visit previous next-error message and corresponding source code. 260 "Visit previous next-error message and corresponding source code.
265 261
@@ -1398,9 +1394,6 @@ A numeric argument serves as a repeat count.
1398Contrary to `undo', this will not redo a previous undo." 1394Contrary to `undo', this will not redo a previous undo."
1399 (interactive "*p") 1395 (interactive "*p")
1400 (let ((undo-no-redo t)) (undo arg))) 1396 (let ((undo-no-redo t)) (undo arg)))
1401;; Richard said that we should not use C-x <uppercase letter> and I have
1402;; no idea whereas to bind it. Any suggestion welcome. -stef
1403;; (define-key ctl-x-map "U" 'undo-only)
1404 1397
1405(defvar undo-in-progress nil 1398(defvar undo-in-progress nil
1406 "Non-nil while performing an undo. 1399 "Non-nil while performing an undo.
@@ -3635,7 +3628,6 @@ For more details, see the documentation for `scroll-other-window'."
3635 (if (eq lines '-) nil 3628 (if (eq lines '-) nil
3636 (if (null lines) '- 3629 (if (null lines) '-
3637 (- (prefix-numeric-value lines)))))) 3630 (- (prefix-numeric-value lines))))))
3638(define-key esc-map [?\C-\S-v] 'scroll-other-window-down)
3639 3631
3640(defun beginning-of-buffer-other-window (arg) 3632(defun beginning-of-buffer-other-window (arg)
3641 "Move point to the beginning of the buffer in the other window. 3633 "Move point to the beginning of the buffer in the other window.
@@ -4205,11 +4197,12 @@ when it is off screen)."
4205 (setq blinkpos (scan-sexps oldpos -1))) 4197 (setq blinkpos (scan-sexps oldpos -1)))
4206 (error nil))) 4198 (error nil)))
4207 (and blinkpos 4199 (and blinkpos
4208 (not (eq (car (syntax-after blinkpos)) 8)) ;Not syntax '$'. 4200 ;; Not syntax '$'.
4201 (not (eq (syntax-class (syntax-after blinkpos)) 8))
4209 (setq matching-paren 4202 (setq matching-paren
4210 (let ((syntax (syntax-after blinkpos))) 4203 (let ((syntax (syntax-after blinkpos)))
4211 (and (consp syntax) 4204 (and (consp syntax)
4212 (eq (logand (car syntax) 255) 4) 4205 (eq (syntax-class syntax) 4)
4213 (cdr syntax))) 4206 (cdr syntax)))
4214 mismatch 4207 mismatch
4215 (or (null matching-paren) 4208 (or (null matching-paren)
@@ -4279,8 +4272,6 @@ At top-level, as an editor command, this simply beeps."
4279 (setq defining-kbd-macro nil) 4272 (setq defining-kbd-macro nil)
4280 (signal 'quit nil)) 4273 (signal 'quit nil))
4281 4274
4282(define-key global-map "\C-g" 'keyboard-quit)
4283
4284(defvar buffer-quit-function nil 4275(defvar buffer-quit-function nil
4285 "Function to call to \"quit\" the current buffer, or nil if none. 4276 "Function to call to \"quit\" the current buffer, or nil if none.
4286\\[keyboard-escape-quit] calls this function when its more local actions 4277\\[keyboard-escape-quit] calls this function when its more local actions
@@ -4323,7 +4314,6 @@ specification for `play-sound'."
4323 (push 'sound sound) 4314 (push 'sound sound)
4324 (play-sound sound))) 4315 (play-sound sound)))
4325 4316
4326(define-key global-map "\e\e\e" 'keyboard-escape-quit)
4327 4317
4328(defcustom read-mail-command 'rmail 4318(defcustom read-mail-command 'rmail
4329 "*Your preference for a mail reading package. 4319 "*Your preference for a mail reading package.
@@ -5116,7 +5106,6 @@ the front of the list of recently selected ones."
5116 (set-buffer buffer) 5106 (set-buffer buffer)
5117 (clone-indirect-buffer nil t norecord))) 5107 (clone-indirect-buffer nil t norecord)))
5118 5108
5119(define-key ctl-x-4-map "c" 'clone-indirect-buffer-other-window)
5120 5109
5121;;; Handling of Backspace and Delete keys. 5110;;; Handling of Backspace and Delete keys.
5122 5111
diff --git a/lisp/subr.el b/lisp/subr.el
index adaf2f481c9..a1384ab685d 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2298,6 +2298,10 @@ from `standard-syntax-table' otherwise."
2298 (if (consp st) st 2298 (if (consp st) st
2299 (aref (or st (syntax-table)) (char-after pos)))))) 2299 (aref (or st (syntax-table)) (char-after pos))))))
2300 2300
2301(defun syntax-class (syntax)
2302 "Return the syntax class part of the syntax descriptor SYNTAX."
2303 (logand (car syntax) 255))
2304
2301(defun add-to-invisibility-spec (arg) 2305(defun add-to-invisibility-spec (arg)
2302 "Add elements to `buffer-invisibility-spec'. 2306 "Add elements to `buffer-invisibility-spec'.
2303See documentation for `buffer-invisibility-spec' for the kind of elements 2307See documentation for `buffer-invisibility-spec' for the kind of elements
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index d5fd541c727..7cdaa2b7257 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1,4 +1,4 @@
1;;; mac-win.el --- parse switches controlling interface with Mac window system 1;;; mac-win.el --- parse switches controlling interface with Mac window system -*-coding: iso-2022-7bit;-*-
2 2
3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005 3;; Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
@@ -1105,6 +1105,31 @@ XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp")
1105 base 1105 base
1106 (coding-system-change-eol-conversion base 'mac))) 1106 (coding-system-change-eol-conversion base 'mac)))
1107 "Coding system derived from the system script code.") 1107 "Coding system derived from the system script code.")
1108
1109(defun mac-add-charset-info (xlfd-charset mac-text-encoding)
1110 "Function to add character sets to display with Mac fonts.
1111Creates entries in `mac-charset-info-alist'.
1112XLFD-CHARSET is a string which will appear in the XLFD font name
1113to identify the character set. MAC-TEXT-ENCODING is the
1114correspoinding TextEncodingBase value."
1115 (add-to-list 'mac-charset-info-alist
1116 (list xlfd-charset mac-text-encoding
1117 (cdr (assq mac-text-encoding
1118 mac-script-code-coding-systems)))))
1119
1120(setq mac-charset-info-alist nil)
1121(mac-add-charset-info "mac-roman" 0)
1122(mac-add-charset-info "jisx0208.1983-sjis" 1)
1123(mac-add-charset-info "jisx0201.1976-0" 1)
1124(mac-add-charset-info "big5-0" 2)
1125(mac-add-charset-info "ksc5601.1989-0" 3)
1126(mac-add-charset-info "mac-cyrillic" 7)
1127(mac-add-charset-info "gb2312.1980-0" 25)
1128(mac-add-charset-info "mac-centraleurroman" 29)
1129(mac-add-charset-info "mac-symbol" 33)
1130(mac-add-charset-info "adobe-fontspecific" 33) ; for X-Symbol
1131(mac-add-charset-info "mac-dingbats" 34)
1132
1108 1133
1109;;;; Keyboard layout/language change events 1134;;;; Keyboard layout/language change events
1110(defun mac-handle-language-change (event) 1135(defun mac-handle-language-change (event)
@@ -1166,289 +1191,105 @@ XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp")
1166 1191
1167(cp-make-coding-system 1192(cp-make-coding-system
1168 mac-centraleurroman 1193 mac-centraleurroman
1169 (apply 1194 [?\,AD(B ?\$,1 (B ?\$,1 !(B ?\,AI(B ?\$,1 $(B ?\,AV(B ?\,A\(B ?\,Aa(B ?\$,1 %(B ?\$,1 ,(B ?\,Ad(B ?\$,1 -(B ?\$,1 &(B ?\$,1 '(B ?\,Ai(B ?\$,1!9(B
1170 'vector 1195 ?\$,1!:(B ?\$,1 .(B ?\,Am(B ?\$,1 /(B ?\$,1 2(B ?\$,1 3(B ?\$,1 6(B ?\,As(B ?\$,1 7(B ?\,At(B ?\,Av(B ?\,Au(B ?\,Az(B ?\$,1 :(B ?\$,1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(B ?\$,1!1(B ?\$,1!2(B ?\$,1!3(B ?\,A](B ?\,A}(B ?\$,1 W(B ?\$,1!;(B ?\$,1 a(B ?\$,1!<(B ?\$,1 B(B ?\$,1$g(B]
1177 #x00C9 ;; 131:LATIN CAPITAL LETTER E WITH ACUTE
1178 #x0104 ;; 132:LATIN CAPITAL LETTER A WITH OGONEK
1179 #x00D6 ;; 133:LATIN CAPITAL LETTER O WITH DIAERESIS
1180 #x00DC ;; 134:LATIN CAPITAL LETTER U WITH DIAERESIS
1181 #x00E1 ;; 135:LATIN SMALL LETTER A WITH ACUTE
1182 #x0105 ;; 136:LATIN SMALL LETTER A WITH OGONEK
1183 #x010C ;; 137:LATIN CAPITAL LETTER C WITH CARON
1184 #x00E4 ;; 138:LATIN SMALL LETTER A WITH DIAERESIS
1185 #x010D ;; 139:LATIN SMALL LETTER C WITH CARON
1186 #x0106 ;; 140:LATIN CAPITAL LETTER C WITH ACUTE
1187 #x0107 ;; 141:LATIN SMALL LETTER C WITH ACUTE
1188 #x00E9 ;; 142:LATIN SMALL LETTER E WITH ACUTE
1189 #x0179 ;; 143:LATIN CAPITAL LETTER Z WITH ACUTE
1190 #x017A ;; 144:LATIN SMALL LETTER Z WITH ACUTE
1191 #x010E ;; 145:LATIN CAPITAL LETTER D WITH CARON
1192 #x00ED ;; 146:LATIN SMALL LETTER I WITH ACUTE
1193 #x010F ;; 147:LATIN SMALL LETTER D WITH CARON
1194 #x0112 ;; 148:LATIN CAPITAL LETTER E WITH MACRON
1195 #x0113 ;; 149:LATIN SMALL LETTER E WITH MACRON
1196 #x0116 ;; 150:LATIN CAPITAL LETTER E WITH DOT ABOVE
1197 #x00F3 ;; 151:LATIN SMALL LETTER O WITH ACUTE
1198 #x0117 ;; 152:LATIN SMALL LETTER E WITH DOT ABOVE
1199 #x00F4 ;; 153:LATIN SMALL LETTER O WITH CIRCUMFLEX
1200 #x00F6 ;; 154:LATIN SMALL LETTER O WITH DIAERESIS
1201 #x00F5 ;; 155:LATIN SMALL LETTER O WITH TILDE
1202 #x00FA ;; 156:LATIN SMALL LETTER U WITH ACUTE
1203 #x011A ;; 157:LATIN CAPITAL LETTER E WITH CARON
1204 #x011B ;; 158:LATIN SMALL LETTER E WITH CARON
1205 #x00FC ;; 159:LATIN SMALL LETTER U WITH DIAERESIS
1206 #x2020 ;; 160:DAGGER
1207 #x00B0 ;; 161:DEGREE SIGN
1208 #x0118 ;; 162:LATIN CAPITAL LETTER E WITH OGONEK
1209 #x00A3 ;; 163:POUND SIGN
1210 #x00A7 ;; 164:SECTION SIGN
1211 #x2022 ;; 165:BULLET
1212 #x00B6 ;; 166:PILCROW SIGN
1213 #x00DF ;; 167:LATIN SMALL LETTER SHARP S
1214 #x00AE ;; 168:REGISTERED SIGN
1215 #x00A9 ;; 169:COPYRIGHT SIGN
1216 #x2122 ;; 170:TRADE MARK SIGN
1217 #x0119 ;; 171:LATIN SMALL LETTER E WITH OGONEK
1218 #x00A8 ;; 172:DIAERESIS
1219 #x2260 ;; 173:NOT EQUAL TO
1220 #x0123 ;; 174:LATIN SMALL LETTER G WITH CEDILLA
1221 #x012E ;; 175:LATIN CAPITAL LETTER I WITH OGONEK
1222 #x012F ;; 176:LATIN SMALL LETTER I WITH OGONEK
1223 #x012A ;; 177:LATIN CAPITAL LETTER I WITH MACRON
1224 #x2264 ;; 178:LESS-THAN OR EQUAL TO
1225 #x2265 ;; 179:GREATER-THAN OR EQUAL TO
1226 #x012B ;; 180:LATIN SMALL LETTER I WITH MACRON
1227 #x0136 ;; 181:LATIN CAPITAL LETTER K WITH CEDILLA
1228 #x2202 ;; 182:PARTIAL DIFFERENTIAL
1229 #x2211 ;; 183:N-ARY SUMMATION
1230 #x0142 ;; 184:LATIN SMALL LETTER L WITH STROKE
1231 #x013B ;; 185:LATIN CAPITAL LETTER L WITH CEDILLA
1232 #x013C ;; 186:LATIN SMALL LETTER L WITH CEDILLA
1233 #x013D ;; 187:LATIN CAPITAL LETTER L WITH CARON
1234 #x013E ;; 188:LATIN SMALL LETTER L WITH CARON
1235 #x0139 ;; 189:LATIN CAPITAL LETTER L WITH ACUTE
1236 #x013A ;; 190:LATIN SMALL LETTER L WITH ACUTE
1237 #x0145 ;; 191:LATIN CAPITAL LETTER N WITH CEDILLA
1238 #x0146 ;; 192:LATIN SMALL LETTER N WITH CEDILLA
1239 #x0143 ;; 193:LATIN CAPITAL LETTER N WITH ACUTE
1240 #x00AC ;; 194:NOT SIGN
1241 #x221A ;; 195:SQUARE ROOT
1242 #x0144 ;; 196:LATIN SMALL LETTER N WITH ACUTE
1243 #x0147 ;; 197:LATIN CAPITAL LETTER N WITH CARON
1244 #x2206 ;; 198:INCREMENT
1245 #x00AB ;; 199:LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
1246 #x00BB ;; 200:RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
1247 #x2026 ;; 201:HORIZONTAL ELLIPSIS
1248 #x00A0 ;; 202:NO-BREAK SPACE
1249 #x0148 ;; 203:LATIN SMALL LETTER N WITH CARON
1250 #x0150 ;; 204:LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
1251 #x00D5 ;; 205:LATIN CAPITAL LETTER O WITH TILDE
1252 #x0151 ;; 206:LATIN SMALL LETTER O WITH DOUBLE ACUTE
1253 #x014C ;; 207:LATIN CAPITAL LETTER O WITH MACRON
1254 #x2013 ;; 208:EN DASH
1255 #x2014 ;; 209:EM DASH
1256 #x201C ;; 210:LEFT DOUBLE QUOTATION MARK
1257 #x201D ;; 211:RIGHT DOUBLE QUOTATION MARK
1258 #x2018 ;; 212:LEFT SINGLE QUOTATION MARK
1259 #x2019 ;; 213:RIGHT SINGLE QUOTATION MARK
1260 #x00F7 ;; 214:DIVISION SIGN
1261 #x25CA ;; 215:LOZENGE
1262 #x014D ;; 216:LATIN SMALL LETTER O WITH MACRON
1263 #x0154 ;; 217:LATIN CAPITAL LETTER R WITH ACUTE
1264 #x0155 ;; 218:LATIN SMALL LETTER R WITH ACUTE
1265 #x0158 ;; 219:LATIN CAPITAL LETTER R WITH CARON
1266 #x2039 ;; 220:SINGLE LEFT-POINTING ANGLE QUOTATION MARK
1267 #x203A ;; 221:SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
1268 #x0159 ;; 222:LATIN SMALL LETTER R WITH CARON
1269 #x0156 ;; 223:LATIN CAPITAL LETTER R WITH CEDILLA
1270 #x0157 ;; 224:LATIN SMALL LETTER R WITH CEDILLA
1271 #x0160 ;; 225:LATIN CAPITAL LETTER S WITH CARON
1272 #x201A ;; 226:SINGLE LOW-9 QUOTATION MARK
1273 #x201E ;; 227:DOUBLE LOW-9 QUOTATION MARK
1274 #x0161 ;; 228:LATIN SMALL LETTER S WITH CARON
1275 #x015A ;; 229:LATIN CAPITAL LETTER S WITH ACUTE
1276 #x015B ;; 230:LATIN SMALL LETTER S WITH ACUTE
1277 #x00C1 ;; 231:LATIN CAPITAL LETTER A WITH ACUTE
1278 #x0164 ;; 232:LATIN CAPITAL LETTER T WITH CARON
1279 #x0165 ;; 233:LATIN SMALL LETTER T WITH CARON
1280 #x00CD ;; 234:LATIN CAPITAL LETTER I WITH ACUTE
1281 #x017D ;; 235:LATIN CAPITAL LETTER Z WITH CARON
1282 #x017E ;; 236:LATIN SMALL LETTER Z WITH CARON
1283 #x016A ;; 237:LATIN CAPITAL LETTER U WITH MACRON
1284 #x00D3 ;; 238:LATIN CAPITAL LETTER O WITH ACUTE
1285 #x00D4 ;; 239:LATIN CAPITAL LETTER O WITH CIRCUMFLEX
1286 #x016B ;; 240:LATIN SMALL LETTER U WITH MACRON
1287 #x016E ;; 241:LATIN CAPITAL LETTER U WITH RING ABOVE
1288 #x00DA ;; 242:LATIN CAPITAL LETTER U WITH ACUTE
1289 #x016F ;; 243:LATIN SMALL LETTER U WITH RING ABOVE
1290 #x0170 ;; 244:LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
1291 #x0171 ;; 245:LATIN SMALL LETTER U WITH DOUBLE ACUTE
1292 #x0172 ;; 246:LATIN CAPITAL LETTER U WITH OGONEK
1293 #x0173 ;; 247:LATIN SMALL LETTER U WITH OGONEK
1294 #x00DD ;; 248:LATIN CAPITAL LETTER Y WITH ACUTE
1295 #x00FD ;; 249:LATIN SMALL LETTER Y WITH ACUTE
1296 #x0137 ;; 250:LATIN SMALL LETTER K WITH CEDILLA
1297 #x017B ;; 251:LATIN CAPITAL LETTER Z WITH DOT ABOVE
1298 #x0141 ;; 252:LATIN CAPITAL LETTER L WITH STROKE
1299 #x017C ;; 253:LATIN SMALL LETTER Z WITH DOT ABOVE
1300 #x0122 ;; 254:LATIN CAPITAL LETTER G WITH CEDILLA
1301 #x02C7 ;; 255:CARON
1302 ]))
1303 "Mac Central European Roman Encoding (MIME:x-mac-centraleurroman).") 1202 "Mac Central European Roman Encoding (MIME:x-mac-centraleurroman).")
1304(coding-system-put 'mac-centraleurroman 'mime-charset 'x-mac-centraleurroman) 1203(coding-system-put 'mac-centraleurroman 'mime-charset 'x-mac-centraleurroman)
1305 1204
1306(cp-make-coding-system 1205(cp-make-coding-system
1307 mac-cyrillic 1206 mac-cyrillic
1308 (apply 1207 [?\$,1(0(B ?\$,1(1(B ?\$,1(2(B ?\$,1(3(B ?\$,1(4(B ?\$,1(5(B ?\$,1(6(B ?\$,1(7(B ?\$,1(8(B ?\$,1(9(B ?\$,1(:(B ?\$,1(;(B ?\$,1(<(B ?\$,1(=(B ?\$,1(>(B ?\$,1(?(B
1309 'vector 1208 ?\$,1(@(B ?\$,1(A(B ?\$,1(B(B ?\$,1(C(B ?\$,1(D(B ?\$,1(E(B ?\$,1(F(B ?\$,1(G(B ?\$,1(H(B ?\$,1(I(B ?\$,1(J(B ?\$,1(K(B ?\$,1(L(B ?\$,1(M(B ?\$,1(N(B ?\$,1(O(B
1310 (mapcar 1209 ?\$,1s (B ?\,A0(B ?\$,1)P(B ?\,A#(B ?\,A'(B ?\$,1s"(B ?\,A6(B ?\$,1(&(B ?\,A.(B ?\,A)(B ?\$,1ub(B ?\$,1("(B ?\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ER GHE
1317 #x0414 ;; 132:CYRILLIC CAPITAL LETTER DE
1318 #x0415 ;; 133:CYRILLIC CAPITAL LETTER IE
1319 #x0416 ;; 134:CYRILLIC CAPITAL LETTER ZHE
1320 #x0417 ;; 135:CYRILLIC CAPITAL LETTER ZE
1321 #x0418 ;; 136:CYRILLIC CAPITAL LETTER I
1322 #x0419 ;; 137:CYRILLIC CAPITAL LETTER SHORT I
1323 #x041A ;; 138:CYRILLIC CAPITAL LETTER KA
1324 #x041B ;; 139:CYRILLIC CAPITAL LETTER EL
1325 #x041C ;; 140:CYRILLIC CAPITAL LETTER EM
1326 #x041D ;; 141:CYRILLIC CAPITAL LETTER EN
1327 #x041E ;; 142:CYRILLIC CAPITAL LETTER O
1328 #x041F ;; 143:CYRILLIC CAPITAL LETTER PE
1329 #x0420 ;; 144:CYRILLIC CAPITAL LETTER ER
1330 #x0421 ;; 145:CYRILLIC CAPITAL LETTER ES
1331 #x0422 ;; 146:CYRILLIC CAPITAL LETTER TE
1332 #x0423 ;; 147:CYRILLIC CAPITAL LETTER U
1333 #x0424 ;; 148:CYRILLIC CAPITAL LETTER EF
1334 #x0425 ;; 149:CYRILLIC CAPITAL LETTER HA
1335 #x0426 ;; 150:CYRILLIC CAPITAL LETTER TSE
1336 #x0427 ;; 151:CYRILLIC CAPITAL LETTER CHE
1337 #x0428 ;; 152:CYRILLIC CAPITAL LETTER SHA
1338 #x0429 ;; 153:CYRILLIC CAPITAL LETTER SHCHA
1339 #x042A ;; 154:CYRILLIC CAPITAL LETTER HARD SIGN
1340 #x042B ;; 155:CYRILLIC CAPITAL LETTER YERU
1341 #x042C ;; 156:CYRILLIC CAPITAL LETTER SOFT SIGN
1342 #x042D ;; 157:CYRILLIC CAPITAL LETTER E
1343 #x042E ;; 158:CYRILLIC CAPITAL LETTER YU
1344 #x042F ;; 159:CYRILLIC CAPITAL LETTER YA
1345 #x2020 ;; 160:DAGGER
1346 #x00B0 ;; 161:DEGREE SIGN
1347 #x0490 ;; 162:CYRILLIC CAPITAL LETTER GHE WITH UPTURN
1348 #x00A3 ;; 163:POUND SIGN
1349 #x00A7 ;; 164:SECTION SIGN
1350 #x2022 ;; 165:BULLET
1351 #x00B6 ;; 166:PILCROW SIGN
1352 #x0406 ;; 167:CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
1353 #x00AE ;; 168:REGISTERED SIGN
1354 #x00A9 ;; 169:COPYRIGHT SIGN
1355 #x2122 ;; 170:TRADE MARK SIGN
1356 #x0402 ;; 171:CYRILLIC CAPITAL LETTER DJE
1357 #x0452 ;; 172:CYRILLIC SMALL LETTER DJE
1358 #x2260 ;; 173:NOT EQUAL TO
1359 #x0403 ;; 174:CYRILLIC CAPITAL LETTER GJE
1360 #x0453 ;; 175:CYRILLIC SMALL LETTER GJE
1361 #x221E ;; 176:INFINITY
1362 #x00B1 ;; 177:PLUS-MINUS SIGN
1363 #x2264 ;; 178:LESS-THAN OR EQUAL TO
1364 #x2265 ;; 179:GREATER-THAN OR EQUAL TO
1365 #x0456 ;; 180:CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
1366 #x00B5 ;; 181:MICRO SIGN
1367 #x0491 ;; 182:CYRILLIC SMALL LETTER GHE WITH UPTURN
1368 #x0408 ;; 183:CYRILLIC CAPITAL LETTER JE
1369 #x0404 ;; 184:CYRILLIC CAPITAL LETTER UKRAINIAN IE
1370 #x0454 ;; 185:CYRILLIC SMALL LETTER UKRAINIAN IE
1371 #x0407 ;; 186:CYRILLIC CAPITAL LETTER YI
1372 #x0457 ;; 187:CYRILLIC SMALL LETTER YI
1373 #x0409 ;; 188:CYRILLIC CAPITAL LETTER LJE
1374 #x0459 ;; 189:CYRILLIC SMALL LETTER LJE
1375 #x040A ;; 190:CYRILLIC CAPITAL LETTER NJE
1376 #x045A ;; 191:CYRILLIC SMALL LETTER NJE
1377 #x0458 ;; 192:CYRILLIC SMALL LETTER JE
1378 #x0405 ;; 193:CYRILLIC CAPITAL LETTER DZE
1379 #x00AC ;; 194:NOT SIGN
1380 #x221A ;; 195:SQUARE ROOT
1381 #x0192 ;; 196:LATIN SMALL LETTER F WITH HOOK
1382 #x2248 ;; 197:ALMOST EQUAL TO
1383 #x2206 ;; 198:INCREMENT
1384 #x00AB ;; 199:LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
1385 #x00BB ;; 200:RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
1386 #x2026 ;; 201:HORIZONTAL ELLIPSIS
1387 #x00A0 ;; 202:NO-BREAK SPACE
1388 #x040B ;; 203:CYRILLIC CAPITAL LETTER TSHE
1389 #x045B ;; 204:CYRILLIC SMALL LETTER TSHE
1390 #x040C ;; 205:CYRILLIC CAPITAL LETTER KJE
1391 #x045C ;; 206:CYRILLIC SMALL LETTER KJE
1392 #x0455 ;; 207:CYRILLIC SMALL LETTER DZE
1393 #x2013 ;; 208:EN DASH
1394 #x2014 ;; 209:EM DASH
1395 #x201C ;; 210:LEFT DOUBLE QUOTATION MARK
1396 #x201D ;; 211:RIGHT DOUBLE QUOTATION MARK
1397 #x2018 ;; 212:LEFT SINGLE QUOTATION MARK
1398 #x2019 ;; 213:RIGHT SINGLE QUOTATION MARK
1399 #x00F7 ;; 214:DIVISION SIGN
1400 #x201E ;; 215:DOUBLE LOW-9 QUOTATION MARK
1401 #x040E ;; 216:CYRILLIC CAPITAL LETTER SHORT U
1402 #x045E ;; 217:CYRILLIC SMALL LETTER SHORT U
1403 #x040F ;; 218:CYRILLIC CAPITAL LETTER DZHE
1404 #x045F ;; 219:CYRILLIC SMALL LETTER DZHE
1405 #x2116 ;; 220:NUMERO SIGN
1406 #x0401 ;; 221:CYRILLIC CAPITAL LETTER IO
1407 #x0451 ;; 222:CYRILLIC SMALL LETTER IO
1408 #x044F ;; 223:CYRILLIC SMALL LETTER YA
1409 #x0430 ;; 224:CYRILLIC SMALL LETTER A
1410 #x0431 ;; 225:CYRILLIC SMALL LETTER BE
1411 #x0432 ;; 226:CYRILLIC SMALL LETTER VE
1412 #x0433 ;; 227:CYRILLIC SMALL LETTER GHE
1413 #x0434 ;; 228:CYRILLIC SMALL LETTER DE
1414 #x0435 ;; 229:CYRILLIC SMALL LETTER IE
1415 #x0436 ;; 230:CYRILLIC SMALL LETTER ZHE
1416 #x0437 ;; 231:CYRILLIC SMALL LETTER ZE
1417 #x0438 ;; 232:CYRILLIC SMALL LETTER I
1418 #x0439 ;; 233:CYRILLIC SMALL LETTER SHORT I
1419 #x043A ;; 234:CYRILLIC SMALL LETTER KA
1420 #x043B ;; 235:CYRILLIC SMALL LETTER EL
1421 #x043C ;; 236:CYRILLIC SMALL LETTER EM
1422 #x043D ;; 237:CYRILLIC SMALL LETTER EN
1423 #x043E ;; 238:CYRILLIC SMALL LETTER O
1424 #x043F ;; 239:CYRILLIC SMALL LETTER PE
1425 #x0440 ;; 240:CYRILLIC SMALL LETTER ER
1426 #x0441 ;; 241:CYRILLIC SMALL LETTER ES
1427 #x0442 ;; 242:CYRILLIC SMALL LETTER TE
1428 #x0443 ;; 243:CYRILLIC SMALL LETTER U
1429 #x0444 ;; 244:CYRILLIC SMALL LETTER EF
1430 #x0445 ;; 245:CYRILLIC SMALL LETTER HA
1431 #x0446 ;; 246:CYRILLIC SMALL LETTER TSE
1432 #x0447 ;; 247:CYRILLIC SMALL LETTER CHE
1433 #x0448 ;; 248:CYRILLIC SMALL LETTER SHA
1434 #x0449 ;; 249:CYRILLIC SMALL LETTER SHCHA
1435 #x044A ;; 250:CYRILLIC SMALL LETTER HARD SIGN
1436 #x044B ;; 251:CYRILLIC SMALL LETTER YERU
1437 #x044C ;; 252:CYRILLIC SMALL LETTER SOFT SIGN
1438 #x044D ;; 253:CYRILLIC SMALL LETTER E
1439 #x044E ;; 254:CYRILLIC SMALL LETTER YU
1440 #x20AC ;; 255:EURO SIGN
1441 ]))
1442 "Mac Cyrillic Encoding (MIME:x-mac-cyrillic).") 1215 "Mac Cyrillic Encoding (MIME:x-mac-cyrillic).")
1443(coding-system-put 'mac-cyrillic 'mime-charset 'x-mac-cyrillic) 1216(coding-system-put 'mac-cyrillic 'mime-charset 'x-mac-cyrillic)
1444 1217
1218(let
1219 ((encoding-vector
1220 (vconcat
1221 (make-vector 32 nil)
1222 ;; mac-symbol (32..126) -> emacs-mule mapping
1223 [?\ ?\! ?\$,1x (B ?\# ?\$,1x#(B ?\% ?\& ?\$,1x-(B ?\( ?\) ?\$,1x7(B ?\+ ?\, ?\$,1x2(B ?\. ?\/
1224 ?\0 ?\1 ?\2 ?\3 ?\4 ?\5 ?\6 ?\7 ?\8 ?\9 ?\: ?\; ?\< ?\= ?\> ?\?
1225 ?\$,1xe(B ?\$,1&q(B ?\$,1&r(B ?\$,1''(B ?\$,1&t(B ?\$,1&u(B ?\$,1'&(B ?\$,1&s(B ?\$,1&w(B ?\$,1&y(B ?\$,1'Q(B ?\$,1&z(B ?\$,1&{(B ?\$,1&|(B ?\$,1&}(B ?\$,1&(B
1226 ?\$,1' (B ?\$,1&x(B ?\$,1'!(B ?\$,1'#(B ?\$,1'$(B ?\$,1'%(B ?\$,1'B(B ?\$,1')(B ?\$,1&~(B ?\$,1'((B ?\$,1&v(B ?\[ ?\$,1xT(B ?\] ?\$,1ye(B ?\_
1227 ?\$,3bE(B ?\$,1'1(B ?\$,1'2(B ?\$,1'G(B ?\$,1'4(B ?\$,1'5(B ?\$,1'F(B ?\$,1'3(B ?\$,1'7(B ?\$,1'9(B ?\$,1'U(B ?\$,1':(B ?\$,1';(B ?\$,1'<(B ?\$,1'=(B ?\$,1'?(B
1228 ?\$,1'@(B ?\$,1'8(B ?\$,1'A(B ?\$,1'C(B ?\$,1'D(B ?\$,1'E(B ?\$,1'V(B ?\$,1'I(B ?\$,1'>(B ?\$,1'H(B ?\$,1'6(B ?\{ ?\| ?\} ?\$,1x\(B]
1229 (make-vector (- 160 127) nil)
1230 ;; mac-symbol (160..254) -> emacs-mule mapping
1231 ;; Mapping of the following characters are changed from the
1232 ;; original one:
1233 ;; 0xE2 0x00AE+0xF87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?\$,1|@(B ?\$,1|D(B ?\$,1|E(B ?\$,1|F(B ?\$,1|K(B ?\$,1|L(B ?\$,1|M(B
1242 nil]))
1243 translation-table)
1244 (setq translation-table
1245 (make-translation-table-from-vector encoding-vector))
1246;; (define-translation-table 'mac-symbol-decoder translation-table)
1247 (define-translation-table 'mac-symbol-encoder
1248 (char-table-extra-slot translation-table 0)))
1249
1250(let
1251 ((encoding-vector
1252 (vconcat
1253 (make-vector 32 nil)
1254 ;; mac-dingbats (32..126) -> emacs-mule mapping
1255 [?\ ?\$,2%A(B ?\$,2%B(B ?\$,2%C(B ?\$,2%D(B ?\$,2"n(B ?\$,2%F(B ?\$,2%G(B ?\$,2%H(B ?\$,2%I(B ?\$,2"{(B ?\$,2"~(B ?\$,2%L(B ?\$,2%M(B ?\$,2%N(B ?\$,2%O(B
1256 ?\$,2%P(B ?\$,2%Q(B ?\$,2%R(B ?\$,2%S(B ?\$,2%T(B ?\$,2%U(B ?\$,2%V(B ?\$,2%W(B ?\$,2%X(B ?\$,2%Y(B ?\$,2%Z(B ?\$,2%[(B ?\$,2%\(B ?\$,2%](B ?\$,2%^(B ?\$,2%_(B
1257 ?\$,2%`(B ?\$,2%a(B ?\$,2%b(B ?\$,2%c(B ?\$,2%d(B ?\$,2%e(B ?\$,2%f(B ?\$,2%g(B ?\$,2"e(B ?\$,2%i(B ?\$,2%j(B ?\$,2%k(B ?\$,2%l(B ?\$,2%m(B ?\$,2%n(B ?\$,2%o(B
1258 ?\$,2%p(B ?\$,2%q(B ?\$,2%r(B ?\$,2%s(B ?\$,2%t(B ?\$,2%u(B ?\$,2%v(B ?\$,2%w(B ?\$,2%x(B ?\$,2%y(B ?\$,2%z(B ?\$,2%{(B ?\$,2%|(B ?\$,2%}(B ?\$,2%~(B ?\$,2%(B
1259 ?\$,2& (B ?\$,2&!(B ?\$,2&"(B ?\$,2&#(B ?\$,2&$(B ?\$,2&%(B ?\$,2&&(B ?\$,2&'(B ?\$,2&((B ?\$,2&)(B ?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,2&y(B ?\$,2&z(B ?\$,2&{(B ?\$,2&|(B ?\$,2&}(B ?\$,2&~(B ?\$,2&(B
1270 ?\$,2' (B ?\$,2'!(B ?\$,2'"(B ?\$,2'#(B ?\$,2'$(B ?\$,2'%(B ?\$,2'&(B ?\$,2''(B ?\$,2'((B ?\$,2')(B ?\$,2'*(B ?\$,2'+(B ?\$,2',(B ?\$,2'-(B ?\$,2'.(B ?\$,2'/(B
1271 nil
1272 ;; mac-dingbats (241..254) -> emacs-mule mapping
1273 ?\$,2'1(B ?\$,2'2(B ?\$,2'3(B ?\$,2'4(B ?\$,2'5(B ?\$,2'6(B ?\$,2'7(B ?\$,2'8(B ?\$,2'9(B ?\$,2':(B ?\$,2';(B ?\$,2'<(B ?\$,2'=(B ?\$,2'>(B
1274 nil]))
1275 translation-table)
1276 (setq translation-table
1277 (make-translation-table-from-vector encoding-vector))
1278;; (define-translation-table 'mac-dingbats-decoder translation-table)
1279 (define-translation-table 'mac-dingbats-encoder
1280 (char-table-extra-slot translation-table 0)))
1281
1445(defvar mac-font-encoder-list 1282(defvar mac-font-encoder-list
1446 '(("mac-roman" mac-roman-encoder 1283 '(("mac-roman" mac-roman-encoder
1447 ccl-encode-mac-roman-font "%s") 1284 ccl-encode-mac-roman-font "%s")
1448 ("mac-centraleurroman" encode-mac-centraleurroman 1285 ("mac-centraleurroman" encode-mac-centraleurroman
1449 ccl-encode-mac-centraleurroman-font "%s ce") 1286 ccl-encode-mac-centraleurroman-font "%s ce")
1450 ("mac-cyrillic" encode-mac-cyrillic 1287 ("mac-cyrillic" encode-mac-cyrillic
1451 ccl-encode-mac-cyrillic-font "%s cy"))) 1288 ccl-encode-mac-cyrillic-font "%s cy")
1289 ("mac-symbol" mac-symbol-encoder
1290 ccl-encode-mac-symbol-font "symbol")
1291 ("mac-dingbats" mac-dingbats-encoder
1292 ccl-encode-mac-dingbats-font "zapf dingbats")))
1452 1293
1453(let ((encoder-list 1294(let ((encoder-list
1454 (mapcar (lambda (lst) (nth 1 lst)) mac-font-encoder-list)) 1295 (mapcar (lambda (lst) (nth 1 lst)) mac-font-encoder-list))
@@ -1497,6 +1338,26 @@ XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp")
1497 (translate-character encode-mac-cyrillic r0 r1))))) 1338 (translate-character encode-mac-cyrillic r0 r1)))))
1498 "CCL program for Mac Cyrillic font") 1339 "CCL program for Mac Cyrillic font")
1499 1340
1341(define-ccl-program ccl-encode-mac-symbol-font
1342 `(0
1343 (if (r0 != ,(charset-id 'ascii))
1344 (if (r0 <= ?\x8f)
1345 (translate-character mac-symbol-encoder r0 r1)
1346 ((r1 <<= 7)
1347 (r1 |= r2)
1348 (translate-character mac-symbol-encoder r0 r1)))))
1349 "CCL program for Mac Symbol font")
1350
1351(define-ccl-program ccl-encode-mac-dingbats-font
1352 `(0
1353 (if (r0 != ,(charset-id 'ascii))
1354 (if (r0 <= ?\x8f)
1355 (translate-character mac-dingbats-encoder r0 r1)
1356 ((r1 <<= 7)
1357 (r1 |= r2)
1358 (translate-character mac-dingbats-encoder r0 r1)))))
1359 "CCL program for Mac Dingbats font")
1360
1500 1361
1501(setq font-ccl-encoder-alist 1362(setq font-ccl-encoder-alist
1502 (nconc 1363 (nconc
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index d70e20e5b6b..054f9c95711 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -145,6 +145,8 @@ only tooltips in the buffer containing the overlay arrow."
145 :tag "Use echo area" 145 :tag "Use echo area"
146 :group 'tooltip) 146 :group 'tooltip)
147 147
148(defvaralias 'tooltip-use-echo-area 'tooltip-gud-echo-area)
149(make-obsolete-variable 'tooltip-use-echo-area 'tooltip-gud-echo-area "22.1")
148 150
149;;; Variables that are not customizable. 151;;; Variables that are not customizable.
150 152