all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Leo Liu <sdl.web@gmail.com>
Cc: 31948@debbugs.gnu.org
Subject: bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings
Date: Sun, 24 Jun 2018 09:39:40 -0400	[thread overview]
Message-ID: <jwvk1qo8g3b.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <m1vaa8d24k.fsf@gmail.com> (Leo Liu's message of "Sun, 24 Jun 2018 16:23:23 +0800")

>> It doesn't look like a bug, in the sense that smie-indent-forward-token
>> should be able to assume it's called from a position outside of
>> a string/comment.
>> IOW I'd tend to put the blame on the code that calls this function.
> I remember reading something along these lines but cannot find it.

I don't think it's clearly documented.

> If not should it be documented?

You could try and clarify that the starting point is expected to be
*between* tokens (tho that could also be interpreted to include being
in the middle of a comment).


        Stefan





  reply	other threads:[~2018-06-24 13:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-23 13:22 bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings Leo Liu
2018-06-23 18:15 ` Stefan Monnier
2018-06-24  8:23   ` Leo Liu
2018-06-24 13:39     ` Stefan Monnier [this message]
2021-08-12 13:40       ` Lars Ingebrigtsen

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=jwvk1qo8g3b.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=31948@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.