Группа :: Редакторы
Пакет: emacs21
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: emacs-21.1-enc-kb-short-indicator.patch
I thought the short name would be more convenient for ALT users of GNU Emacs.
imz@altlinux.ru, 2002 Feb 23.
--- emacs-21.1.orig/lisp/international/encoded-kb.el Sun Jul 15 23:53:53 2001
+++ emacs-21.1/lisp/international/encoded-kb.el Sat Feb 23 13:16:59 2002
@@ -29,11 +29,11 @@
(put 'encoded-kbd-mode 'permanent-local t)
(let ((slot (assq 'encoded-kbd-mode minor-mode-alist))
- (name " Encoded-kbd"))
+ (name " Enc-kb"))
(if slot
(setcar (cdr slot) name)
(setq minor-mode-alist
- (cons '(encoded-kbd-mode " Encoded-kbd") minor-mode-alist))))
+ (cons '(encoded-kbd-mode name) minor-mode-alist))))
(defconst encoded-kbd-mode-map (make-sparse-keymap)
"Keymap for Encoded-kbd minor mode.")
@@ -316,7 +316,12 @@
In Encoded-kbd mode, a text sent from keyboard is accepted
as a multilingual text encoded in a coding system set by
-\\[set-keyboard-coding-system]."
+\\[set-keyboard-coding-system].
+
+(The indicator string for this mode has been changed by ALT from `Encoded-kbd'
+to a shorter `Enc-kb', because this mode is often used in an ALT system and
+the original GNU Emacs indicator occupied too much space in the modeline
+without giving much information to the user.)"
(if encoded-kbd-mode
;; We must at first reset input-mode to the original.
(apply 'set-input-mode saved-input-mode))