From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn_Lindqvist?= Newsgroups: gmane.emacs.help Subject: Re: SMIE examples or guides Date: Mon, 27 Jun 2016 14:32:57 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1467030814 20251 80.91.229.3 (27 Jun 2016 12:33:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2016 12:33:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 14:33:34 2016 Return-path: Envelope-to: geh-help-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 1bHVjI-0002ch-1o for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 14:33:32 +0200 Original-Received: from localhost ([::1]:58446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHVjH-0005IJ-5E for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 08:33:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHVis-0005HM-NA for help-gnu-emacs@gnu.org; Mon, 27 Jun 2016 08:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHVim-0000v7-3i for help-gnu-emacs@gnu.org; Mon, 27 Jun 2016 08:33:06 -0400 Original-Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:37466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHVil-0000v0-Sz for help-gnu-emacs@gnu.org; Mon, 27 Jun 2016 08:33:00 -0400 Original-Received: by mail-wm0-x22a.google.com with SMTP id a66so113176517wme.0 for ; Mon, 27 Jun 2016 05:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=aiG079+vEcylBxKVweJqKHs53/HfL4eikWXchZTxqIQ=; b=oZ+4WT3QLyNufquSKtEy4kadzBmzfamreV/B7IThqc9uccGzYzlS2XwNpHAdx+nVkG kcxzCGfH7gFIbmxACxv0ELfvtTNdZcEOv5smo+SgFzrywJq2VznJOiFJGTx4BZ+1FI4q DhoV0588i6N7IvdtJrIWyeYFS24EyljXC+E1VFzysoP8UtjXI7CPIhXJQEOdBI2P1eCW peIc0UYjRxCwkHX+LEkv/GupZkHa0havfmH/PrnL53U9QyH9Kz23n/RlxKUhu2eiZ7jB bi+qhJ7Ns84TmQAog/bNckpGO024HBiNP9aTwy6Rh5BJT0xOX6BVa7vkv2mq5E9/BOae OT0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=aiG079+vEcylBxKVweJqKHs53/HfL4eikWXchZTxqIQ=; b=Hr61cQ60Rfc3NpZSQ2Nt/fc/pritMUTMa1ehRSzh4Qs1HPszhCdM1VBvnrhVJJ9wGl AJaCwK/DqLiF95crtng7EDkcVf9YfKRpHf8nnRA4fAF5voZmSWLIerd29cY/mVbBT1Md H4meKGBfxww610eU8U3AVAwI3dR7lCl6N/L22JMyVt37q5pz2EYgbUc8XYWTmZ+Qh5G3 4aq3KGC3VARed4N+6ShgzOn7YyoARdFxo3YPup9kzKnhJC4mMx162kKkif+fzTdlPz0O Sh281QTpwh3XNF64Rao8b7jz+G8Que2WsK7UBzk/b0FuFqLzMVyRNX29BiUYH+ZbgXY5 opZw== X-Gm-Message-State: ALyK8tLGl3fmnLvTgwfIq88uro+VEeXbtArXwVds4NQP6SYc1GkDsUkHJUuNw4T2OlyeUh+Dm10YZhctec6pRw== X-Received: by 10.194.55.234 with SMTP id v10mr711926wjp.64.1467030778772; Mon, 27 Jun 2016 05:32:58 -0700 (PDT) Original-Received: by 10.194.38.103 with HTTP; Mon, 27 Jun 2016 05:32:57 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110611 Archived-At: Just an empty list: (defconst factor-smie-grammar (list)) 2016-06-27 10:31 GMT+02:00 Stefan Monnier : >> when I type HELLO and emacs says (error "Please avoid it"). So my >> rules function is triggered, which is good but the result isn't what I >> want. > > No, I think the issue is in the grammar. What's your `factor-smie-gramma= r'? > > > Stefan --=20 mvh/best regards Bj=C3=B6rn Lindqvist