all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Sorry for error * The didit 7 on Numeric keypad can't input into Emacs by using Numeric keypad*, it is my negligence.
@ 2006-12-07  5:22 Hongyi Zhao
  0 siblings, 0 replies; only message in thread
From: Hongyi Zhao @ 2006-12-07  5:22 UTC (permalink / raw)


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 <hongyi.zhao@gmail.com>
赵弘毅
--

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-07  5:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07  5:22 Sorry for error * The didit 7 on Numeric keypad can't input into Emacs by using Numeric keypad*, it is my negligence Hongyi Zhao

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.