all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Yagnesh Raghava Yakkala <hi@yagnesh.org>
Cc: emacs-devel@gnu.org
Subject: Re: help with smie
Date: Sun, 24 Feb 2013 23:38:17 -0500	[thread overview]
Message-ID: <jwvip5hau6z.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <874nh5bglw.fsf@yagnesh.org> (Yagnesh Raghava Yakkala's message of "Fri, 22 Feb 2013 04:40:27 +0900")

> I wrote smie rules in the mode, tried to see how it works. No surprise they
> didn't work.

"didn't work" is not very informative.

> - is there any way I can check the correctness of the rules?

Try'em out?

> - can I look at the parsed tokens by SMIE to find out how SMIE sees the text
>   in the buffer.

Try to Edebug (i.e. hit C-u C-M-x when inside a function's code, so as
to cause stepping through it next time it's run), or use M-x trace-function.

> and also I would be glad if any of you can review my code (second link in the
> footnote), let me know the blunders I made in writing it.

I took a very brief&superficial look at the code and it looks sane,
other than trivial details like "grammer" instead of "grammar" or the
"\\.namelist" regexp which should probably be "\\.namelist\\'" instead.


        Stefan "SMIE author"



      parent reply	other threads:[~2013-02-25  4:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21 19:40 help with smie Yagnesh Raghava Yakkala
2013-02-21 20:32 ` Josh
2013-02-21 20:41   ` Yagnesh Raghava Yakkala
2013-02-22 18:11   ` Stephen Leake
2013-02-25  4:40     ` Stefan Monnier
2013-02-25  4:38 ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvip5hau6z.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=hi@yagnesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.