From: Tobias Verbeke <tobias_verbeke@skynet.be>
Subject: Re: numeric keypad buttons
Date: Tue, 29 Jul 2003 15:27:34 +0200 [thread overview]
Message-ID: <20030729152734.6a663ec3.tobias_verbeke@skynet.be> (raw)
In-Reply-To: 3F255D5D.1090804@yahoo.com
[numeric keypad buttons don't behave
as expected when running emacs --no-windows
in a gnome terminal]
> post exactly what you added to your ~/.emacs.
Thanks for your reply. Here's my full .emacs.
I added your solution at the very end of it.
I'll summarize what I know about how
the keys behave now (after installing
GNU emacs 21.3.2 from source):
I type: C-h l gives: C-h c gives:
/ ESC O o <kp-divide> is undefined
* ESC O j <kp-multiply> is undefined
- ESC O m <kp-add> is undefined
+ ESC O k <kp-subtract> is undefined
Enter ESC O M <kp-enter> is undefined
Thanks again for your help,
Regards,
Tobias
;; get rid of menu bar
(menu-bar-mode nil)
;; font-lock everywhere
(global-font-lock-mode 1)
;; latin-1 but with euro-sign
(set-terminal-coding-system 'latin-9)
(set-keyboard-coding-system 'latin-9)
(set-language-environment 'latin-9)
;; AUCTeX
(require 'tex-site)
;; edit Sweave files with LaTeX syntax
(add-to-list 'auto-mode-alist '("\\.Stex\\'" . latex-mode))
;; ESS
(load
"/home/tobias/documents/demografie/R/ESS/ess-5.1.24/lisp/ess-site")(s
etq inferior-ess-program "R")(setq ess-ask-for-ess-directory nil)
(setq ess-pre-run-hook
'((lambda () (setq S-directory default-directory))))
(setq comint-scroll-to-bottom-on-output t)
;; Sweave
;;(defun Rnw-mode ()
;; (require 'ess-noweb)
;; (noweb-mode)
;; (if (fboundp 'R-mode)
;; (setq noweb-default-code-mode 'R-mode)))
;;(add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode))
;;(add-to-list 'auto-mode-alist '("\\.Snw\\'" . Rnw-mode))
;;(setq reftex-file-extensions
;; '(("Snw" "Rnw" "nw" "tex" ".tex" ".ltx") ("bib" ".bib")))
;;(setq TeX-file-extensions
;; '(("Snw" "Rnw" "nw" "tex" "sty" "cls" "ltx" "texi" "texinfo"))
;; R. Gentleman vi behaviour
;;(setq blink-matching-paren t)
;;(global-set-key "%" 'match-paren)
;;(defun match-paren (arg)
;; "Go to the matching parenthesis if on parenthesis otherwise insert
%.";; (interactive "p")
;; (cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1))
;; ((looking-at "\\s\)") (forward-char 1) (backward-list 1))
;; (t (self-insert-command (or arg 1)))))
;; solution num. keyp. prob in gnome-terminal
(add-hook 'term-setup-hook
(lambda ()
(define-key function-key-map "\eOo" [kp-divide])
(define-key function-key-map "\eOj" [kp-multiply])
(define-key function-key-map "\eOm" [kp-add])
(define-key function-key-map "\eOk" [kp-subtract])))
next prev parent reply other threads:[~2003-07-29 13:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030724224909.0f2725e5.tobias_verbeke@skynet.be>
[not found] ` <3F21BE5D.5070005@yahoo.com>
2003-07-26 20:56 ` numeric keypad buttons Tobias Verbeke
2003-07-28 17:29 ` Kevin Rodgers
2003-07-29 13:27 ` Tobias Verbeke [this message]
2003-07-29 13:55 ` Kai Großjohann
2003-07-29 14:23 ` Tobias Verbeke
2003-07-29 14:39 ` Tobias Verbeke
2003-07-29 16:18 ` Kai Großjohann
2003-07-29 17:08 ` Tobias Verbeke
2003-07-29 17:34 ` Kai Großjohann
2003-07-29 18:51 ` Tobias Verbeke
2003-07-30 13:58 ` Kai Großjohann
2003-07-29 16:17 ` Kai Großjohann
2003-07-29 17:40 ` Tobias Verbeke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030729152734.6a663ec3.tobias_verbeke@skynet.be \
--to=tobias_verbeke@skynet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).