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: Tue, 22 Sep 2015 11:12:42 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442936177 30010 80.91.229.3 (22 Sep 2015 15:36:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Sep 2015 15:36:17 +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 Tue Sep 22 17:36:09 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 1ZePbz-00064t-D9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Sep 2015 17:36:07 +0200 Original-Received: from localhost ([::1]:40896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePby-00019E-TG for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Sep 2015 11:36:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePFk-00040x-9f for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 11:13:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZePFe-0003E1-Iu for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 11:13:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePFe-0003Ds-GP for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 11:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZePFd-00043u-W0 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 11:13: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: Tue, 22 Sep 2015 15:13:01 +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.144293477315600 (code B ref 21526); Tue, 22 Sep 2015 15:13:01 +0000 Original-Received: (at 21526) by debbugs.gnu.org; 22 Sep 2015 15:12:53 +0000 Original-Received: from localhost ([127.0.0.1]:41818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZePFU-00043Y-Mt for submit@debbugs.gnu.org; Tue, 22 Sep 2015 11:12:52 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50513) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZePFS-00043O-Al for 21526@debbugs.gnu.org; Tue, 22 Sep 2015 11:12:51 -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 t8MFCm9E005428; Tue, 22 Sep 2015 11:12:48 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 467196619A; Tue, 22 Sep 2015 11:12:43 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Mon, 21 Sep 2015 16:22:31 -0400") 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 RV5437=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5437> : inlines <3853> : streams <1509470> : uri <2046405> 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:106810 Archived-At: >>> IIUC the only remaining issue is the indentation we get when the line is >>> empty. >> This issue also remains. Thank you! > Right. This one requires thinking (but will benefit other modes as well). I believe I found a solution for this one. Please test the new code in master. Stefan