From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#17620: sh-mode indentation of continued do loop lists Date: Wed, 28 May 2014 23:06:12 -0400 Message-ID: <7e61kpnv17.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1401332835 11755 80.91.229.3 (29 May 2014 03:07:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2014 03:07:15 +0000 (UTC) Cc: 17620@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 29 05:07:08 2014 Return-path: Envelope-to: geb-bug-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 1WpqgN-0002Yr-GH for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2014 05:07:07 +0200 Original-Received: from localhost ([::1]:45881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpqgN-0001WT-2N for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2014 23:07:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpqgJ-0001WO-3T for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 23:07:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpqgI-00055U-5F for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 23:07:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpqgI-00055O-2W for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 23:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WpqgH-00014k-NP for bug-gnu-emacs@gnu.org; Wed, 28 May 2014 23:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 May 2014 03:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17620 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17620-submit@debbugs.gnu.org id=B17620.14013327764041 (code B ref 17620); Thu, 29 May 2014 03:07:01 +0000 Original-Received: (at 17620) by debbugs.gnu.org; 29 May 2014 03:06:16 +0000 Original-Received: from localhost ([127.0.0.1]:35014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpqfX-000137-Rq for submit@debbugs.gnu.org; Wed, 28 May 2014 23:06:16 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:51319 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpqfV-00012w-FN for 17620@debbugs.gnu.org; Wed, 28 May 2014 23:06:14 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WpqfU-0007qK-CP; Wed, 28 May 2014 23:06:12 -0400 X-Spook: 64 Vauxhall Cross Janet Reno Noriega Dick Cheney bemd X-Ran: {#`o];J}.x4yys~o[?]ZPsy46vC"|Cxx(qF!DqfF5F.s=(Lk88,V-lOpP;^hG3pG\gv8fw X-Hue: red X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Wed, 28 May 2014 22:23:50 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89657 Archived-At: Stefan Monnier wrote: > I think this requires a config variable: > > - The indentation you show above is the one that makes sense to me, > where the \ is just a way to write "a b" on multiple logical lines, > like you can do in most free-form programming languages, in which case > "b", being an argument to "a", should be indented a bit deeper than > "a". I.e. the indentation rule pretends the \ don't really exist. > > - The indentation you ask for seems to be based on the idea that "\" is > a way to split a single logical line into several physical lines, > doing a kind of manual "word wrap". Oh right, I see, now we get: some-really-rather-long-command arg1 \ arg2 rather than the old some-really-rather-long-command arg1 \ arg2 where continued lines were always just indented +4. I'm accustomed to the old dumb method. A config var would make me happy.