From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#48193: Youngsters in charge of emacs vs. basic Bourne shell "for" statement Date: Mon, 03 May 2021 17:13:12 +0000 Message-ID: References: <87wnsfg9fz.5.fsf@jidanni.org> <87v97zesjj.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10363"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48193@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 03 19:27:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldcLi-0002Z0-AM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 19:27:14 +0200 Original-Received: from localhost ([::1]:56150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldcLh-00017V-CF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 13:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldc90-0002eY-8t for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 13:14:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldc8w-0004HB-8e for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 13:14:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldc8w-0000tO-3R for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 13:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 May 2021 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48193 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 48193-submit@debbugs.gnu.org id=B48193.16200619963410 (code B ref 48193); Mon, 03 May 2021 17:14:02 +0000 Original-Received: (at 48193) by debbugs.gnu.org; 3 May 2021 17:13:16 +0000 Original-Received: from localhost ([127.0.0.1]:47617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldc8C-0000sw-6U for submit@debbugs.gnu.org; Mon, 03 May 2021 13:13:16 -0400 Original-Received: from heytings.org ([95.142.160.155]:35958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldc8A-0000sq-Un for 48193@debbugs.gnu.org; Mon, 03 May 2021 13:13:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1620061993; bh=sK/2ZIj+uEYBeMPkWj8PCYQqwVXKjVjtaprsmRlk8A8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=I0+ooGZHL44lv3wxi6nyhSXk7RHJrGv7AYtvvLy/YGt084bjYQ1cu27OcHskUhhaF gHinqyZZQOFpLdKCniVui7PcfJoHpjE+dy/JUPCvsNwKi3+RsWR9kJQAiu6S++UXuo 9fthNj3hTKfmLD10V2MG9LNIG/gP7lltpkMYBLdK4GkX3K9Of8WQF688i4w/L/UBM2 p3+a+R1tGWeHnLSOJAhKqv+a2lrTuV6lRQTunaw9UmrfYveulGN8ktfE/XrBKzRWt4 EnLIBgX7Ij04grP7eFDviolX4iOhyEw/66OsPHBd4k2cuhEdIy4D0nR/FZls+05E8r OI4W8jIWJ4cRw== In-Reply-To: <87v97zesjj.5.fsf@jidanni.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205541 Archived-At: > > $ man bash > SHELL GRAMMAR > for name [ [ in [ word ... ] ] ; ] do list ; done > So what? Of course it it's not feasible to embed a complete Bourne shell interpreter (or for that matter the interpreter of any language) in Emacs to cope with every possible exotic construct of that language. I note that for i do true done and for i; do true done are both indented as you expect.