From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.bugs Subject: bug#24648: 25.1; smie indentation in strings Date: Thu, 13 Oct 2016 00:57:54 +0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476291572 13400 195.159.176.226 (12 Oct 2016 16:59:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2016 16:59:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (macOS 10.12) Cc: 24648@debbugs.gnu.org, Stefan Monnier To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 18:59:29 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buMs9-0001fK-3h for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2016 18:59:17 +0200 Original-Received: from localhost ([::1]:34791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buMs7-0007jG-RR for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2016 12:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buMrz-0007hm-F0 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2016 12:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buMru-0003Bw-Dz for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2016 12:59:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buMru-0003Bq-Al for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2016 12:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1buMru-0003rq-39 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2016 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2016 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24648-submit@debbugs.gnu.org id=B24648.147629148714805 (code B ref 24648); Wed, 12 Oct 2016 16:59:02 +0000 Original-Received: (at 24648) by debbugs.gnu.org; 12 Oct 2016 16:58:07 +0000 Original-Received: from localhost ([127.0.0.1]:53277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buMr0-0003qj-V0 for submit@debbugs.gnu.org; Wed, 12 Oct 2016 12:58:07 -0400 Original-Received: from mail-pa0-f49.google.com ([209.85.220.49]:34724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buMqz-0003pu-JS for 24648@debbugs.gnu.org; Wed, 12 Oct 2016 12:58:05 -0400 Original-Received: by mail-pa0-f49.google.com with SMTP id rz1so29972542pab.1 for <24648@debbugs.gnu.org>; Wed, 12 Oct 2016 09:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version; bh=rkfvD8SBapjD7n+F4hjknuoUFc/qRXZV8CX9o09voFI=; b=Y3lNESieIGAh58YJqafEB+ets2TCYYhiFESFFTpBxTwX//iMJIIgJ90eiun0whiyfw Id5yyzZ2AIXosOTCmhq6td4gcf6PK4nF1XicXGZycpnAsl9czsorBD/GqhhT8oEozMju 1DMtzjFXHbotjs9ij+KCgpGE6eAbPjz289UiO9tgreYPNn3aev9Oim5w8eJbiFNio5A9 VDfoMg8TUJe+GpNmkFWzbV6q7O1pbNmPdYNqUyRsA7qEn3U/yZCqE0cho4Mu7J8V+/7K H9AjzEXrSdyiA/7Zbf9VoE/2yitHAbfNm/1jIyJihrsvlOQAo4pIsZ71x+e8pma3H0Ws AQZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:face:date :in-reply-to:message-id:user-agent:mime-version; bh=rkfvD8SBapjD7n+F4hjknuoUFc/qRXZV8CX9o09voFI=; b=Qh7ckYEVJz7KlM1HIEWp/t6NfGFid+rvd/DLC+er9yOebkso+tDIJ01SQziFOmShXX sKl2BDqp9pgSkC025vQgNhAVqr9WJDWktsMIDcgF4xbEI+4/q3zIrUDe88/sMCChLTPT 69mf7TKmh8zq2+JJP8G0HldkeAOUTcoLRIK9/6U6xgzZnf1Xjw9vJ7QoKuQez4tMkNzI Rf8iF+/ZRvbITSLSQKCKw2sWng4qNRAjbboOZM3nEtoAvit31oDkFVhsqNdA22C2WYuc fnM8UeCQUkoEZaUwjWsCVFFVg+N8hwhAiS/DBlpjIg+KI7uSXjAqid6lSWusG9lilOXl pGiw== X-Gm-Message-State: AA6/9RlLlch9aboiNjguKLqLM5GTAcOyF8lB4ErSds3HHtP4kBfbDcGt9b25HQGvsj04dg== X-Received: by 10.66.190.4 with SMTP id gm4mr2703869pac.210.1476291479790; Wed, 12 Oct 2016 09:57:59 -0700 (PDT) Original-Received: from zeuss-MacBook-Pro.local ([139.59.241.182]) by smtp.gmail.com with ESMTPSA id yo3sm13032597pac.42.2016.10.12.09.57.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Oct 2016 09:57:59 -0700 (PDT) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= In-Reply-To: (Dmitry Gutov's message of "Wed, 12 Oct 2016 13:00:09 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:124400 Archived-At: On 2016-10-12 13:00 +0300, Dmitry Gutov wrote: > This is actually intentional, and was added in commit f54e5ccf. Look at that commit it is not clear what the intention is. On 2016-10-09 17:01 -0400, Stefan Monnier wrote: > What would you like instead? You're indenting within a string, so > octave-mode has no idea what rule to follow since the string may > represent anything. By design, it should behave like in text-mode, more > or less. > > > Stefan The behaviour in emacs 24 and before looks sane. I have a hard time getting used to this change. Previously noindent means no indention now it seems to mean any indention. And there are exceptions for example lisp modes don't adopt this behaviour. Any ideas why? Leo