From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21526: 24.5; prolog-mode: broken indentation for if-then-else construct Date: Sun, 25 Oct 2015 16:01:43 -0400 Message-ID: References: <8737xwbeo0.fsf@metalevel.at> <87a8rw27vh.fsf@metalevel.at> <87egh8rlnn.fsf@metalevel.at> <87pp06lo0w.fsf@metalevel.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445803344 24864 80.91.229.3 (25 Oct 2015 20:02:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2015 20:02:24 +0000 (UTC) Cc: 21526@debbugs.gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 25 21:02:13 2015 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 1ZqRUX-0007q8-Kv for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Oct 2015 21:02:09 +0100 Original-Received: from localhost ([::1]:49351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqRUW-00072D-Tk for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Oct 2015 16:02:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqRUT-000725-OG for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:02:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqRUQ-0006Gb-H5 for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:02:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqRUQ-0006GX-Dj for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZqRUQ-0003Rs-9d for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Oct 2015 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21526 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21526-submit@debbugs.gnu.org id=B21526.144580330813237 (code B ref 21526); Sun, 25 Oct 2015 20:02:02 +0000 Original-Received: (at 21526) by debbugs.gnu.org; 25 Oct 2015 20:01:48 +0000 Original-Received: from localhost ([127.0.0.1]:38221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqRUB-0003RQ-JJ for submit@debbugs.gnu.org; Sun, 25 Oct 2015 16:01:47 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqRU9-0003RI-Fr for 21526@debbugs.gnu.org; Sun, 25 Oct 2015 16:01:46 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t9PK1hbT020100; Sun, 25 Oct 2015 16:01:43 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 83B35660C7; Sun, 25 Oct 2015 16:01:43 -0400 (EDT) In-Reply-To: <87pp06lo0w.fsf@metalevel.at> (Markus Triska's message of "Thu, 22 Oct 2015 21:08:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5470=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5470> : inlines <3953> : streams <1527324> : uri <2070188> 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108028 Archived-At: > I reported these issues in the hope that you can modify the SMIE-based > indentation to be more useful in practical situations. Right, and I've been doing that so far. But you can't expect this to lead to a 100% bug-for-bug reproduction of the old behavior. Some changes are real regressions, while others (like this one) are much more debatable. The debatable ones, not only may need a config var, but more importantly, have much lower priority. IOW patches welcome. > please do restore the original behaviour, or at least enable it by > default via a flag. Re-adding the old code and providing a "use-smie" flag would just offer the user the choice between 2 half-broken options while adding more maintenance work in the long run. This said, if you really need it, Stefan Bruda's mode still works in Emacs-25, AFAIK. Stefan