From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: SMIE implementation for the C-like languages Date: Wed, 11 Nov 2015 10:59:17 -0500 Message-ID: References: <87mvun7lnx.fsf@ap4y.me> <87611alen3.fsf@ap4y.me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447257992 31544 80.91.229.3 (11 Nov 2015 16:06:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2015 16:06:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Arthur Evstifeev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 11 17:06:23 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 1ZwXuh-0005VB-FB for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 17:06:23 +0100 Original-Received: from localhost ([::1]:41507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwXug-0003Au-Mb for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 11:06:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwXpI-0003gj-4P for emacs-devel@gnu.org; Wed, 11 Nov 2015 11:02:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwXnr-00053a-HP for emacs-devel@gnu.org; Wed, 11 Nov 2015 11:00:48 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwXnr-00053M-Di for emacs-devel@gnu.org; Wed, 11 Nov 2015 10:59:19 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A3EwA731xV/8uQWxdcgxBUXoJQhVW7NwmBXIVvBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMQCw4mEhQYDSSINwgNzxYBAQEHAgEfizqFBQeELQWMMIpxnWMjYYM1IDIBgkUBAQE X-IPAS-Result: A0A3EwA731xV/8uQWxdcgxBUXoJQhVW7NwmBXIVvBAICgTw5FAEBAQEBAQGBCkEFg10BAQMBViMQCw4mEhQYDSSINwgNzxYBAQEHAgEfizqFBQeELQWMMIpxnWMjYYM1IDIBgkUBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="177796230" Original-Received: from 23-91-144-203.cpe.pppoe.ca (HELO pastel.home) ([23.91.144.203]) by ironport2-out.teksavvy.com with ESMTP; 11 Nov 2015 10:59:19 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id DE854601DD; Wed, 11 Nov 2015 10:59:17 -0500 (EST) In-Reply-To: <87611alen3.fsf@ap4y.me> (Arthur Evstifeev's message of "Tue, 10 Nov 2015 16:25:20 +1300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:194080 Archived-At: >> I have an "smc-mode" (i.e. SMIE-based c-mode) here which I wrote as an >> exercise to try and see what it takes to get SMIE working acceptably for >> the C language syntax. It's not usable (it was really meant as an >> experimental prototype/proof-of-concept), but if you're interested to >> look at it, I could make it available somewhere. > If it's not hard to do, I'll appreciate that. I just added it to elpa.git.. See for example http://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/packages/sm-c-mode Stefan