From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul
Date: Thu, 07 Jul 2005 09:19:19 -0600 [thread overview]
Message-ID: <dajh5p$7ak$1@sea.gmane.org> (raw)
In-Reply-To: <87d5puyc1s.fsf@thalassa.informatimago.com>
Pascal Bourguignon wrote:
> Ivan Boldyrev <boldyrev+nospam@cgitftp.uiggm.nsc.ru> 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:
,----[ C-h v term-setup-hook RET ]
| term-setup-hook's value is nil
|
| Documentation:
| Normal hook run after loading terminal-specific Lisp code.
| It also follows `emacs-startup-hook'. This hook exists for users to set,
| so as to override the definitions made by the terminal-specific file.
| Emacs never sets this variable itself.
|
| Defined in `startup'.
`----
--
Kevin Rodgers
next prev parent reply other threads:[~2005-07-07 15:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <OYFue.13881$XB2.3578516@twister.nyc.rr.com>
[not found] ` <Ao2dnSrQPYTKcVjfRVn-qg@speakeasy.net>
[not found] ` <u64vuarhm.fsf@nhplace.com>
[not found] ` <64vundua.fsf@comcast.net>
[not found] ` <ubr5mvsr2.fsf@nhplace.com>
[not found] ` <uoe9lgkhf.fsf@nhplace.com>
[not found] ` <sqr7egx2kr.fsf@cam.ac.uk>
[not found] ` <86fyuwhj09.fsf@drjekyll.mkbuelow.net>
[not found] ` <1120409203.491118.234340@z14g2000cwz.googlegroups.com>
[not found] ` <868y0nfy9g.fsf@drjekyll.mkbuelow.net>
[not found] ` <42C8661F.7BB80E2F@freenet.de>
[not found] ` <86pstze7mr.fsf@drjekyll.mkbuelow.net>
[not found] ` <uoe9jtmdz.fsf@nhplace.com>
[not found] ` <uk6k77zrb.fsf@news.dtpq.com>
[not found] ` <86wto6vfa6.fsf@drjekyll.mkbuelow.net>
[not found] ` <u64vq8mz1.fsf@news.dtpq.com>
[not found] ` <86r7ee74qo.fsf@drjekyll.mkbuelow.net>
[not found] ` <uoe9i73yx.fsf@news.dtpq.com>
[not found] ` <m3u0jaw5vv.fsf@4dv.net>
[not found] ` <87slyuw0ka.fsf@thalassa.informatimago.com>
[not found] ` <100sp2-f0c.ln1@ibhome.cgitftp.uiggm.nsc.ru>
2005-07-06 8:23 ` ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul Pascal Bourguignon
2005-07-07 9:24 ` Ivan Boldyrev
2005-07-07 13:34 ` Pascal Bourguignon
2005-07-07 15:19 ` Kevin Rodgers [this message]
[not found] ` <mailman.2452.1120750028.2857.help-gnu-emacs@gnu.org>
2005-07-07 15:45 ` Pascal Bourguignon
2005-07-08 10:34 ` Ivan Boldyrev
2005-07-08 12:26 ` Pascal Bourguignon
2005-07-09 14:51 ` Ivan Boldyrev
2005-07-09 16:50 ` Pascal Bourguignon
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dajh5p$7ak$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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.
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.