diff options
| author | Dave Love | 2002-10-28 14:38:00 +0000 |
|---|---|---|
| committer | Dave Love | 2002-10-28 14:38:00 +0000 |
| commit | d14a2a1f3656673dcd9e73ac9fb9f36faa4dad0d (patch) | |
| tree | 2ba4929f28c2ca49363ff014e7cf09fa7d6460a2 /lisp | |
| parent | 5cc2d1375411a20049d512c5dbd7f71cbe965d27 (diff) | |
| download | emacs-d14a2a1f3656673dcd9e73ac9fb9f36faa4dad0d.tar.gz emacs-d14a2a1f3656673dcd9e73ac9fb9f36faa4dad0d.zip | |
(quail-keyboard-layout-alist): Fix
pc105-uk.
(quail-keyboard-layout): Customize.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/international/quail.el | 14 |
2 files changed, 16 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8b1d519a691..e310fb66fc8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-10-28 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * international/quail.el (quail-keyboard-layout-alist): Fix | ||
| 4 | pc105-uk. | ||
| 5 | (quail-keyboard-layout): Customize. | ||
| 6 | |||
| 1 | 2002-10-28 Miles Bader <miles@gnu.org> | 7 | 2002-10-28 Miles Bader <miles@gnu.org> |
| 2 | 8 | ||
| 3 | * progmodes/make-mode.el (makefile-warn-continuations): Don't | 9 | * progmodes/make-mode.el (makefile-warn-continuations): Don't |
diff --git a/lisp/international/quail.el b/lisp/international/quail.el index f56200b555a..91e0f09abbd 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el | |||
| @@ -618,7 +618,7 @@ This layout is almost the same as that of VT100, | |||
| 618 | but the location of key \\ (backslash) is just right of key ' (single-quote), | 618 | but the location of key \\ (backslash) is just right of key ' (single-quote), |
| 619 | not right of RETURN key.") | 619 | not right of RETURN key.") |
| 620 | 620 | ||
| 621 | (defvar quail-keyboard-layout quail-keyboard-layout-standard | 621 | (defcustom quail-keyboard-layout quail-keyboard-layout-standard |
| 622 | "A string which represents physical key layout of a particular keyboard. | 622 | "A string which represents physical key layout of a particular keyboard. |
| 623 | We assume there are six rows and each row has 15 keys (columns), | 623 | We assume there are six rows and each row has 15 keys (columns), |
| 624 | the first row is above the `1' - `0' row, | 624 | the first row is above the `1' - `0' row, |
| @@ -630,7 +630,13 @@ We assume there are six rows and each row has 15 keys (columns), | |||
| 630 | Nth (N is even) and (N+1)th characters in the string are non-shifted | 630 | Nth (N is even) and (N+1)th characters in the string are non-shifted |
| 631 | and shifted characters respectively at the same location. | 631 | and shifted characters respectively at the same location. |
| 632 | The location of Nth character is row (N / 30) and column ((N mod 30) / 2). | 632 | The location of Nth character is row (N / 30) and column ((N mod 30) / 2). |
| 633 | The command `quail-set-keyboard-layout' usually sets this variable.") | 633 | The command `quail-set-keyboard-layout' usually sets this variable." |
| 634 | :group 'quail | ||
| 635 | :type `(choice | ||
| 636 | ,@(mapcar (lambda (pair) | ||
| 637 | (list 'const :tag (car pair) (cdr pair))) | ||
| 638 | quail-keyboard-layout-alist) | ||
| 639 | (string :tag "Other"))) | ||
| 634 | 640 | ||
| 635 | (defconst quail-keyboard-layout-len 180) | 641 | (defconst quail-keyboard-layout-len 180) |
| 636 | 642 | ||
| @@ -671,7 +677,7 @@ The command `quail-set-keyboard-layout' usually sets this variable.") | |||
| 671 | ") | 677 | ") |
| 672 | '("pc105-uk" . "\ | 678 | '("pc105-uk" . "\ |
| 673 | \ | 679 | \ |
| 674 | `\2541!2\3\243$5%6^7&8*9(0)-_=+ \ | 680 | `\2541!2\"3\2434$5%6^7&8*9(0)-_=+ \ |
| 675 | qQwWeErRtTyYuUiIoOpP[{]} \ | 681 | qQwWeErRtTyYuUiIoOpP[{]} \ |
| 676 | aAsSdDfFgGhHjJkKlL;:'@#~ \ | 682 | aAsSdDfFgGhHjJkKlL;:'@#~ \ |
| 677 | \\|zZxXcCvVbBnNmM,<.>/? \ | 683 | \\|zZxXcCvVbBnNmM,<.>/? \ |
| @@ -894,7 +900,7 @@ The format of KBD-LAYOUT is the same as `quail-keyboard-layout'." | |||
| 894 | The variable `quail-keyboard-layout-type' holds the currently selected | 900 | The variable `quail-keyboard-layout-type' holds the currently selected |
| 895 | keyboard type." | 901 | keyboard type." |
| 896 | (interactive | 902 | (interactive |
| 897 | (list (completing-read "Keyboard type (default, current choise): " | 903 | (list (completing-read "Keyboard type (default, current choice): " |
| 898 | quail-keyboard-layout-alist | 904 | quail-keyboard-layout-alist |
| 899 | nil t))) | 905 | nil t))) |
| 900 | (or (and keyboard-type (> (length keyboard-type) 0)) | 906 | (or (and keyboard-type (> (length keyboard-type) 0)) |