From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chris F.A. Johnson" Newsgroups: gmane.emacs.help Subject: Re: << in shell-script mode Date: Sat, 17 Oct 2015 17:22:05 -0400 Organization: A noiseless patient Spider Message-ID: References: Reply-To: newsgroups@cfaj.ca NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445117424 10628 80.91.229.3 (17 Oct 2015 21:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Oct 2015 21:30:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 17 23:30:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZnZ3U-0004cl-1C for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Oct 2015 23:30:20 +0200 Original-Received: from localhost ([::1]:59825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnZ3T-0007Y4-8e for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Oct 2015 17:30:19 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Injection-Info: mx02.eternal-september.org; posting-host="c432f1cfb635ddbf91a262f51eee1ba1"; logging-data="9695"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9A17USrYL0KH6Yu3UPNINSzwYTxwdmvM=" User-Agent: slrn/1.0.1 (Linux) Cancel-Lock: sha1:WV1MNSlvRz11uO95JJLul2ps+9M= Original-Xref: usenet.stanford.edu gnu.emacs.help:215442 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107726 Archived-At: On 2015-10-17, Andy Moreton wrote: > On Sat 17 Oct 2015, Chris F.A. Johnson wrote: > >> On 2015-10-17, Barry Margolin wrote: >>> In article , >>> "Chris F.A. Johnson" wrote: >>> >>>> How do I prevent emacs from inserting a here document: >>>> <>>> >>>> EOF >>>> whenever I type << >>>> ? >>> >>> Type C-q before the second < to insert it literally. >> >> Why should I have to do that? > > This is controlled by sh-electric-here-document-mode, so disable > that minor mode to disable the automatic here document insertion. Perfect. Thanks very much. -- Chris F.A. Johnson