From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo Liu <sdl.web@gmail.com>
Cc: 17761@debbugs.gnu.org
Subject: bug#17761: 24.3.91; smie-for-sexp and parentheses of-by-one bug?
Date: Fri, 13 Jun 2014 11:33:44 -0400 [thread overview]
Message-ID: <jwvd2ecc0fm.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <m3a99il4pv.fsf@gmail.com> (Leo Liu's message of "Thu, 12 Jun 2014 19:58:20 +0800")
> 1. Open a buffer in octave mode and insert ( ) with point between the
> parentheses
> 2. Eval (smie-forward-sexp) which should give back something like
> (t 2 ")")
> POS is before the token ")" instead of the end position of the token. Is
> this a bug?
Indeed, thanks. I installed a patch into `emacs-24' which should
fix this. As you can see, SMIE is mostly used to parse backward!
> BTW, although smie-config-guess's return value is not documented, it
> seems no harm to do something like the following:
Using its return value is an error, so I'd rather not encourage this error.
Stefan
next prev parent reply other threads:[~2014-06-13 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-12 11:58 bug#17761: 24.3.91; smie-for-sexp and parentheses of-by-one bug? Leo Liu
2014-06-13 15:33 ` Stefan Monnier [this message]
2014-06-13 16:14 ` Leo Liu
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=jwvd2ecc0fm.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=17761@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
/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.