unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: SMIE documentation
Date: Tue, 15 May 2012 09:25:52 -0400	[thread overview]
Message-ID: <jwvvck0qd7g.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87fwb4l2nb.fsf@gnu.org>

> 1.
> In test/indent/modula2.mod,
>    (smie-backward-sexp) after IF returns ((172) ...) = "bumped into
>    open-thingy",
> but
>   (smie-forward-sexp) before END returns (0 ...) = "couldn't skip token
>   because its level is too high", which is not correct.

Duh, yes, of course.  And the other (car toklevels) is smimilarly wrong,
of course.  Patch doubled and installed, thank you.

> 2.
> Return values of the form ((NUMBER) ...) are not documented.
> 3.
> Doc string of smie-forward-sexp:
> "open-paren or the beginning of buffer" should be "close-paren or the end of buffer".

Thanks, I fixed those.

> There's a problem with the indentation when there's comment at the start
> of a line before a keyword, like
>     (* Comment *) IF ...                      <-- Press TAB

Also fixed (tho there might still be more cases of "wandering indentation").

> Sorry for the rather late reply.

No problem, I've been caught several times replying after a delay of
4 years.


        Stefan



  reply	other threads:[~2012-05-15 13:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 20:36 SMIE documentation Stefan Monnier
2010-11-28 21:56 ` Štěpán Němec
2010-12-04 18:01   ` Stefan Monnier
2010-12-04 19:46     ` Drew Adams
2010-12-04 20:21       ` Andreas Schwab
2010-12-04 21:36         ` Drew Adams
2010-12-04 21:04       ` Bob Rogers
2010-12-04 19:56     ` Štěpán Němec
2010-12-06 18:26       ` Stefan Monnier
2010-11-29 17:54 ` Chong Yidong
2010-11-29 21:34   ` Stefan Monnier
2010-12-07 17:54   ` Stefan Monnier
2010-12-01  0:39 ` Johan Bockgård
2010-12-07 19:27   ` Stefan Monnier
2012-05-13 11:51     ` Johan Bockgård
2012-05-15 13:25       ` Stefan Monnier [this message]
2010-12-01 19:23 ` Johan Bockgård
2010-12-04  4:41   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvvck0qd7g.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).