From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: script requires \ after | just to get correct indentation Date: Mon, 23 Jun 2014 18:17:03 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1403572643 1279 80.91.229.3 (24 Jun 2014 01:17:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 01:17:23 +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 Jun 24 03:17:17 2014 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 1WzFML-0004O1-0u for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 03:17:17 +0200 Original-Received: from localhost ([::1]:56976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzFMK-00056O-HR for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jun 2014 21:17:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzFM9-00056J-T6 for help-gnu-emacs@gnu.org; Mon, 23 Jun 2014 21:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzFM9-0007dm-2M for help-gnu-emacs@gnu.org; Mon, 23 Jun 2014 21:17:05 -0400 Original-Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:62313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzFM8-0007de-Rw for help-gnu-emacs@gnu.org; Mon, 23 Jun 2014 21:17:04 -0400 Original-Received: by mail-wg0-f52.google.com with SMTP id b13so7111358wgh.11 for ; Mon, 23 Jun 2014 18:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4gozJIiyiOhFAxWmj2pThrWfQZ5Jwiu9O/DyjWIi8Bw=; b=MkSEpfDMSsTkHVww4eBmVP9byFNMQJ8Z5y3bieFouTW9ojzoP1NQDMQo+OLdmlMICo Do5IZmsXw3FWSy+wKzy0x3uUEk8FAnZ72vVg2ryyyjfDxJN9PDrncRA1xXxKnCMg8U4L 9uxCZJiAPDl2DrWhvdqJLUe+Q+RCet5NXfDRBWu25ASU40hx/AwXHpLpPEEV1+fY1p/T KGkb69TEqrfu6mmkvSBzSGzA/b+7SSbcyqeUI3G2LJwJLiQ2ncanNPxjveTbi0FNPcFY /wwJLzR5lxRw8Ycwo1oykdrtvlHuYkQoZwXk4zKS9bTv5lkh+Tud+uO1gnqzvuyXLhY1 Au2Q== X-Received: by 10.194.59.65 with SMTP id x1mr31352756wjq.60.1403572623302; Mon, 23 Jun 2014 18:17:03 -0700 (PDT) Original-Received: by 10.194.120.6 with HTTP; Mon, 23 Jun 2014 18:17:03 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::234 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:98363 Archived-At: this has correct indentation for my style, but is ugly and can't have comments. example-forced-to-do () { command1 | \ command2 | \ command3 } this shows comments. example-of-comments-not-working () { echo useless use of cat because i am a badass | \ # african cat # these can be kind of big cat | \ # house cat cat | \ cat } this is good but emacs does not indent correctly. is it possible? example-i-want-this () { command1 | # african cat # these can be kind of big command2 | # house cat command3 }