From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: sh-script-mode Date: Mon, 29 May 2006 20:06:10 +0200 Organization: disorganized Message-ID: <87irno3dv1.fsf@robotron.kosmorama> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148926014 23505 80.91.229.2 (29 May 2006 18:06:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 May 2006 18:06:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 29 20:06:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fkm8c-0004Jr-H4 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 May 2006 20:06:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fkm8c-0006Vy-2S for geh-help-gnu-emacs@m.gmane.org; Mon, 29 May 2006 14:06:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fkm8P-0006U1-J3 for help-gnu-emacs@gnu.org; Mon, 29 May 2006 14:06:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fkm8M-0006Pk-1S for help-gnu-emacs@gnu.org; Mon, 29 May 2006 14:06:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fkm8L-0006Pe-Tt for help-gnu-emacs@gnu.org; Mon, 29 May 2006 14:06:29 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FkmDx-0007GR-OC for help-gnu-emacs@gnu.org; Mon, 29 May 2006 14:12:18 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fkm8B-0004Eg-Tw for help-gnu-emacs@gnu.org; Mon, 29 May 2006 20:06:19 +0200 Original-Received: from e178061047.adsl.alicedsl.de ([85.178.61.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 May 2006 20:06:19 +0200 Original-Received: from david.hansen by e178061047.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 May 2006 20:06:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178061047.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:NcoFwe01uolw8mEqPfZv4/J2do0= 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:35276 Archived-At: On Mon, 29 May 2006 16:41:47 +0100 Cai Qian wrote: > Hi, > > I would like to change the behaviour of default sh-script-mode through > .emacs about the following, > > 1) Here document, > When input <<, it should not automatically add EOF here document for > me, as I may want to use <<< instead. Therefore, I want to disable > this feature. Not tested: (add-hook 'sh-mode-hook (lambda () (local-set-key ?< 'self-insert-command))) David