emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sorry for error * The didit 7 on Numeric keypad can't input into Emacs b


From: Hongyi Zhao
Subject: Sorry for error * The didit 7 on Numeric keypad can't input into Emacs by using Numeric keypad*, it is my negligence.
Date: Thu, 7 Dec 2006 13:22:15 +0800
User-agent: Mutt/1.5.12-2006-07-14

It is my negligence, because I've use the followint key binding in my
.emacs:

================
;; Set the variable truncate-lines to nil, using the command set-variable.
;; To get it back, set truncate-lines to t.
;; You can put the following code in your ~/.emacs so that pressing the 7
;; key on the number pad will toggle the state.

(defun toggle-truncate-lines ()
"toggle the variable truncate-lines between true and false"
(interactive) 
   (if (eq truncate-lines 't) 
     (set-variable 'truncate-lines nil)
     (set-variable 'truncate-lines 't)
    )
  )
(global-set-key (kbd "<kp-7>") 'toggle-truncate-lines)
================ 

Sorry for all who have seen my problem, shame on me!

-- 
Hongyi Zhao <address@hidden>
赵弘毅
--

题目:《东溪》
作者:梅尧臣(1002-1060)
行到东溪看水时,坐临孤屿发船迟。
野凫眠岸有闲意,老树着花无丑枝。
短短蒲耳齐似剪,平平沙石净于筛。
情虽不厌住不得,薄暮归来车马疲。

题目:《鲁山山行》
作者:梅尧臣(1002-1060)
适与野情惬,千山高复低。
好峰随处改,幽径独行迷。
霜落熊升树,林空鹿饮溪。
人家在何许?云外一声鸡。




reply via email to

[Prev in Thread] Current Thread [Next in Thread]