From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.devel Subject: Re: SMIE implementation for the C-like languages Date: Thu, 19 Nov 2015 00:14:13 +0100 Message-ID: References: <87mvun7lnx.fsf@ap4y.me> <87611alen3.fsf@ap4y.me> <87twot5ogb.fsf@ap4y.me> <87pozewswg.fsf@ap4y.me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447890531 27079 80.91.229.3 (18 Nov 2015 23:48:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2015 23:48:51 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Arthur Evstifeev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 00:48:36 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZzCSp-0003s3-3F for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2015 00:48:35 +0100 Original-Received: from localhost ([::1]:38811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzCSo-0001zY-FY for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2015 18:48:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzBvg-0002nV-Ri for emacs-devel@gnu.org; Wed, 18 Nov 2015 18:14:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzBvf-0006XF-KH for emacs-devel@gnu.org; Wed, 18 Nov 2015 18:14:20 -0500 Original-Received: from [2a01:4f8:d13:808::2] (port=48052 helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzBvf-0006WX-Dh for emacs-devel@gnu.org; Wed, 18 Nov 2015 18:14:19 -0500 Original-Received: from dawn.meta (dawn.metalevel.at [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id BD0B5EC105; Thu, 19 Nov 2015 00:14:17 +0100 (CET) Original-Received: by dawn.meta (Postfix, from userid 501) id C58C51736874; Thu, 19 Nov 2015 00:14:13 +0100 (CET) In-Reply-To: <87pozewswg.fsf@ap4y.me> (Arthur Evstifeev's message of "Fri, 13 Nov 2015 15:10:55 +1300") X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d13:808::2 X-Mailman-Approved-At: Wed, 18 Nov 2015 18:48:12 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194761 Archived-At: Hi Arthur, Arthur Evstifeev writes: > I will open a new ticket about inconsistencies in > braces behavior and how it results in issue with paren blinking. I > understand that there is no clear solution for this problem at the > moment and will appreciate any improvements. We will try to restructure > our grammar to not threat "{" as neither token in grammars and will see > how it goes. Thanks a lot for the answers! Many thanks for looking into this! Some related information that I hope helps or at least motivates: The current implementation of prolog-mode also suffers from such inconsistencies, where something quite unintended is often erroneously highlighted. If you find out how to solve this for your case, then I hope the SMIE definitions for prolog-mode can be fixed analogously. For more information, please see case (1) in the issue: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21526#35 All the best! Markus