From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.devel Subject: Re: help with smie Date: Thu, 21 Feb 2013 12:32:54 -0800 Message-ID: References: <874nh5bglw.fsf@yagnesh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1361478825 3973 80.91.229.3 (21 Feb 2013 20:33:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2013 20:33:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yagnesh Raghava Yakkala Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 21:34:04 2013 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 1U8cq9-00055t-9G for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2013 21:34:01 +0100 Original-Received: from localhost ([::1]:34973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8cpo-0007be-7q for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2013 15:33:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8cpl-0007bU-3i for emacs-devel@gnu.org; Thu, 21 Feb 2013 15:33:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8cpi-0005kK-3Y for emacs-devel@gnu.org; Thu, 21 Feb 2013 15:33:36 -0500 Original-Received: from mail-qa0-f54.google.com ([209.85.216.54]:47992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8cph-0005gu-Up for emacs-devel@gnu.org; Thu, 21 Feb 2013 15:33:33 -0500 Original-Received: by mail-qa0-f54.google.com with SMTP id hg5so35234qab.20 for ; Thu, 21 Feb 2013 12:33:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=R4HDAF4T/3Hxg6Of4eY7Rw7XG8z3b7oZOZ8EiQZHq+I=; b=FcE71gIWcpGRq/RQ3sA58oMSTGInejv4dvSxFCNl5XMPSbpVwdB53/ojSpBR9jbtp2 rJwfcbGngjEFoWd/9vC0LKqq9PUI8N8jAuHZUpcwytKcBMTZc1AJib5ZcXAVNJC815Du +bzjGbZgb9pnPVfSAcYKOQSOZryeY+N/LxOgy5WLVB5vm2/EBLgepfwK7CGNyz7ykmqs vOdsbkuKUGHz8G4ptSSbJd6gt5YaIkC2LoWwFzqkxCRUL1Tv1Zg5SRUyaTj5/W9cpzne 84NSVCefI2jcVyMMYXqLo+mwTMsQPl+MrIZUYU/lTIC0lyvGEhG+UGRpaMUmF7746mpK LNzg== X-Received: by 10.49.3.234 with SMTP id f10mr13056947qef.52.1361478804973; Thu, 21 Feb 2013 12:33:24 -0800 (PST) Original-Received: by 10.49.109.99 with HTTP; Thu, 21 Feb 2013 12:32:54 -0800 (PST) In-Reply-To: <874nh5bglw.fsf@yagnesh.org> X-Google-Sender-Auth: sisgcB0NgQOEiQpG32wo9k8Ys9U X-Gm-Message-State: ALoCoQlwxqiGQcSZiWqF3YWHmjLyO5E+YgCQPEmSx0AtAiCjGk7kCu8MBykfxby7Fe1zXCv4npoK X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.216.54 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:157249 Archived-At: On Thu, Feb 21, 2013 at 11:40 AM, Yagnesh Raghava Yakkala wrote: > So I decided to first try SMIE work for another small major mode called > namelist-mode=B2. Namelist files are sort of configuration files Fortran > programs (you may already know that). > [...] > I wrote smie rules in the mode, tried to see how it works. No surprise th= ey > didn't work. I tried a similar exercise recently, with similar results. I read in (info "(elisp) SMIE setup") that SMIE's "main entry point is `smie-setup' which is a function typically called while setting up a major mode." Would it make sense to add an example of a simple SMIE-based major mode to (info "(elisp) Example Major Modes") ?