From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul Date: Thu, 07 Jul 2005 09:19:19 -0600 Message-ID: References: <64vundua.fsf@comcast.net> <86fyuwhj09.fsf@drjekyll.mkbuelow.net> <1120409203.491118.234340@z14g2000cwz.googlegroups.com> <868y0nfy9g.fsf@drjekyll.mkbuelow.net> <42C8661F.7BB80E2F@freenet.de> <86pstze7mr.fsf@drjekyll.mkbuelow.net> <86wto6vfa6.fsf@drjekyll.mkbuelow.net> <86r7ee74qo.fsf@drjekyll.mkbuelow.net> <87slyuw0ka.fsf@thalassa.informatimago.com> <100sp2-f0c.ln1@ibhome.cgitftp.uiggm.nsc.ru> <87ekac1gxk.fsf@thalassa.informatimago.com> <87d5puyc1s.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120750165 11453 80.91.229.2 (7 Jul 2005 15:29:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2005 15:29:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 07 17:29:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqYIn-0000qr-7S for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jul 2005 17:28:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqYK9-0003iQ-UD for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jul 2005 11:30:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqYHA-0002Yx-3k for help-gnu-emacs@gnu.org; Thu, 07 Jul 2005 11:26:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqYGz-0002SE-C0 for help-gnu-emacs@gnu.org; Thu, 07 Jul 2005 11:26:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqYGv-0002Q7-VE for help-gnu-emacs@gnu.org; Thu, 07 Jul 2005 11:26:41 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DqYHK-0005n8-6i for help-gnu-emacs@gnu.org; Thu, 07 Jul 2005 11:27:06 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DqYAE-0007nX-23 for help-gnu-emacs@gnu.org; Thu, 07 Jul 2005 17:19:46 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2005 17:19:46 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2005 17:19:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 46 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: <87d5puyc1s.fsf@thalassa.informatimago.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27829 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27829 Pascal Bourguignon wrote: > Ivan Boldyrev 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