Kevin Rodgers <[EMAIL PROTECTED]> writes:
> Pascal Bourguignon wrote:
> > Ivan Boldyrev <[EMAIL PROTECTED]> writes:
> >>What about
> >>
> >>(add-hook 'emacs-startup-hook
> >> (lambda ()
> >> (case window-system
> >> ...)))
> >
> > (add-hook 'emacs-startup-hook
> > (lambda ()
> > (message "setting up the keyboard")
> > (case window-system
> > ((nil)
> > (message "houra")
> > (normal-erase-is-backspace-mode 1))
> > ((x)
> > (define-key global-map [(delete)] "\C-d")
> > (make-face-bold 'bold-italic))
> > ((mac)
> > (setq mac-command-key-is-meta nil
> > mac-reverse-ctrl-meta nil)
> > (set-keyboard-coding-system 'mac-roman)))))
> >
> > I get:
> > setting up the keyboard
> > houra
> > in the *Message*, but C-h is still delete-backward-char and DEL
> delete-char.
>
> I believe term-setup-hook is the correct place for that:
I get the same results with:
(add-hook 'term-setup-hook ; emacs-startup-hook
(lambda ()
(message "setting up the keyboard")
...))
--
__Pascal Bourguignon__ http://www.informatimago.com/
This is a signature virus. Add me to your signature and help me to live
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs