From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#12267: 24.2; sh-indent-comment bad default Date: Fri, 24 Aug 2012 11:37:25 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345779514 31879 80.91.229.3 (24 Aug 2012 03:38:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 03:38:34 +0000 (UTC) To: 12267@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 24 05:38:34 2012 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 1T4kjC-0003pg-CA for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2012 05:38:34 +0200 Original-Received: from localhost ([::1]:40546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4kjA-0003Ye-OK for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2012 23:38:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4kj8-0003YY-W0 for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 23:38:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4kj6-0004ZC-W3 for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 23:38:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4kj6-0004Z8-Si for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 23:38:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T4kje-0003ZR-AW for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 23:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Aug 2012 03:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134577949513670 (code B ref -1); Fri, 24 Aug 2012 03:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Aug 2012 03:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:45893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4kit-0003YQ-AD for submit@debbugs.gnu.org; Thu, 23 Aug 2012 23:38:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35099) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4kiq-0003YI-V9 for submit@debbugs.gnu.org; Thu, 23 Aug 2012 23:38:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4kiH-0004Ut-Uq for submit@debbugs.gnu.org; Thu, 23 Aug 2012 23:37:39 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:50113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4kiH-0004Up-Qw for submit@debbugs.gnu.org; Thu, 23 Aug 2012 23:37:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4kiG-0003X6-Qf for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 23:37:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4kiF-0004UQ-IS for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 23:37:36 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:59702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4kiF-0004UC-Bl for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 23:37:35 -0400 Original-Received: by pbbro12 with SMTP id ro12so2693279pbb.0 for ; Thu, 23 Aug 2012 20:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=fLuNNqTfOKiepO8Dvy0O2P/TkNXgXfYwPffivciwzeA=; b=oqLF8AE/WRpaaFG5o8LE88ec4sG6ctq+EXBThTrDfXFt3QzpT7BmKGhPqNu0n0QtXT 3xelO6btg5NcEnonqcHH+ylW1CCZYVcsCP/FwpBOflcnl9JC+thfmoXJkEc4bm0QHVYs /ld7Om/TrYVtz4UUKEecZnG/U5cCoKSydfyeXOw107OZNQWO1jVV0EXwMgZqU6PRUhQK EHOgK6PvhPrs0TESL9pY5PUOx2PUv5wyZFoWH/SbOfhKZdFZDb52Qwd2bV3rMRgVTaU7 f3s9FTDPvY12W23gIvnNIBq0Ftl035ZeVGHIbl1Ww32+IFnEG5bkRmLPIordjy3IC0ye U8LQ== Original-Received: by 10.68.231.132 with SMTP id tg4mr9437029pbc.159.1345779454419; Thu, 23 Aug 2012 20:37:34 -0700 (PDT) Original-Received: from localhost ([119.255.41.67]) by mx.google.com with ESMTPS id pf10sm7341351pbc.56.2012.08.23.20.37.32 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Aug 2012 20:37:33 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63442 Archived-At: -------------------------------- #!/bin/bash function x() { # abc='a' } -------------------------------- Put the snippet in a sh-mode buffer and try indenting the comment line (line 4). The default prohibits indenting any comment lines which contradicts behaviour in all other modes. Thus I propose changing the default value of sh-indent-comment to t to be consistent with other modes. I no one objects I will make the change in next days. Leo