From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: << in shell-script mode Date: Mon, 19 Oct 2015 20:45:57 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA98C1FDCA3C@DAKIYA1.pegasus.local> References: <86oafxeoq1.fsf@gmail.com> <155DEC68569B714B86C2C7075F5EDA98C1FDC617@DAKIYA1.pegasus.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445287605 3905 80.91.229.3 (19 Oct 2015 20:46:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 20:46:45 +0000 (UTC) To: Stefan Monnier , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 22:46:36 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 1ZoHKD-00086H-0g for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Oct 2015 22:46:33 +0200 Original-Received: from localhost ([::1]:42026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoHKC-0004ja-BE for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Oct 2015 16:46:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoHJj-0004jP-1R for help-gnu-emacs@gnu.org; Mon, 19 Oct 2015 16:46:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoHJf-0002Dg-0L for help-gnu-emacs@gnu.org; Mon, 19 Oct 2015 16:46:02 -0400 Original-Received: from mail-oi0-f99.google.com ([209.85.218.99]:36746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoHJe-0002DZ-S6 for help-gnu-emacs@gnu.org; Mon, 19 Oct 2015 16:45:58 -0400 Original-Received: by oies6 with SMTP id s6so2524760oie.3 for ; Mon, 19 Oct 2015 13:45:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:thread-topic:thread-index:date :message-id:references:in-reply-to:accept-language:content-language :content-type:content-transfer-encoding:mime-version; bh=pF/KI9djLVWSqNRH69Hea0XJPB7rCv5u0GaObwFPr7o=; b=OVOLb6IAWP8y4j7RysmSAYuaBl010sDc3orDNV1HXhHyNc8veejTj7Mja7cvqeMvWT GlJ9Z/o+0kAoAcMTbdvAqvORn+6O8Nu9QSKjm+W+vsh0Ff3C4QFrEIl8Rv5RVWFNAQYF zrwc1kEA5MO4vh7WsDAbE7+fyCpyPz18KrYShrNAlmx9l/8C0JvPuxF1RbSzr65ZrDMf GVUW3LA2R+chFpvmiECrRnIUterC0lILOzbc932GzRCk9c2sefW2wsGVO3dla6Ue4adg uKqWXQnivbguHKqBVL4d+pSWd8bbB9OXQDLNesMG6q63ip4mLyqe51WDD7loradS8eDs 8nIg== X-Gm-Message-State: ALoCoQm6ihgeY2WxgXIwKw9pkz7DFsD1k2MoK+Ggilm7fvkFNxaQppcfRLaUNaFU0AfjDDoinshHQH53kvmDKbaaojZkxTlTEw== X-Received: by 10.140.150.4 with SMTP id 4mr38481935qhw.35.1445287558319; Mon, 19 Oct 2015 13:45:58 -0700 (PDT) Original-Received: from webmail.shubertorg.com ([207.246.209.200]) by smtp-relay.gmail.com with ESMTPS id b84sm3821599qkj.9.2015.10.19.13.45.58 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Oct 2015 13:45:58 -0700 (PDT) X-Relaying-Domain: shubertticketing.com Original-Received: from dakiya1.pegasus.local ([172.16.208.201]) by DAKIYA1.pegasus.local ([172.16.208.201]) with mapi id 14.03.0123.003; Mon, 19 Oct 2015 16:45:58 -0400 Thread-Topic: << in shell-script mode Thread-Index: AQHRCqyIQp53lRxmM0iKsdGwM8/j+55zSL4g In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.218.99 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:107760 Archived-At: Good catch. That much a much younger lisp programmer. I've already register= ed that as a bug. --=20 ,Doug Douglas Lewan Shubert Ticketing (201) 994-4335 Nonfirstorderizability. It's a thing. > -----Original Message----- > From: help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org > [mailto:help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org] On > Behalf Of Stefan Monnier > Sent: Monday, 2015 October 19 16:27 > To: help-gnu-emacs@gnu.org > Subject: Re: << in shell-script mode >=20 > > Mr. Moreton's answer is the right one. Here's how I do it in my > .emacs: > > (eval-after-load "sh-script" > > '(add-hook 'sh-mode-hook '(lambda () (sh-electric-here-document- > mode 0)))) > ^^^^^^^^ > Please don't quote your lambdas. >=20 >=20 > Stefan >=20