From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Carmody Newsgroups: gmane.emacs.help Subject: Re: So clever it's stupid Date: Tue, 14 Oct 2008 16:21:29 +0300 Organization: Saunalahti Customer Message-ID: <87ljwrqply.fsf@nonospaz.fatphil.org> References: <87tzbfqw9h.fsf@nonospaz.fatphil.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223991882 31542 80.91.229.12 (14 Oct 2008 13:44:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 13:44:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 15:45:33 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KpkBQ-0007m6-KM for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 15:43:34 +0200 Original-Received: from localhost ([127.0.0.1]:55529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpkAM-0001lz-1c for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 09:42:26 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!feeder2.news.saunalahti.fi!reader1.news.saunalahti.fi!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:PaMezixNA5qibNZdgxy/yR17rFM= Original-Lines: 21 Original-NNTP-Posting-Host: 83.143.57.195 Original-X-Complaints-To: newsmaster@saunalahti.com Original-X-Trace: reader1.news.saunalahti.fi 1223990594 83.143.57.195 (Tue, 14 Oct 2008 16:23:14 EEST) Original-NNTP-Posting-Date: Tue, 14 Oct 2008 16:23:14 EEST Original-Xref: news.stanford.edu gnu.emacs.help:163421 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:58764 Archived-At: Kevin Rodgers writes: > Phil Carmody wrote: >> Magic '<', for me, must die. How do I ensure I never ever see that >> abomination again? (Unbind the key and make it self-insert in a >> bunch of relevant hooks? Or is there just a variable I can set to >> off' somehow?) > > The former: > > (add-hook 'sh-mode-hook (lambda () (local-unset-key "<"))) Many thanks. It looks like all of the shell subtypes share the same major mode. So once it's hit on the head for sh, it will be gone in csh, etc., which is good. Phil -- The fact that a believer is happier than a sceptic is no more to the point than the fact that a drunken man is happier than a sober one. The happiness of credulity is a cheap and dangerous quality. -- George Bernard Shaw (1856-1950), Preface to Androcles and the Lion