all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings
@ 2018-06-23 13:22 Leo Liu
  2018-06-23 18:15 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liu @ 2018-06-23 13:22 UTC (permalink / raw)
  To: 31948; +Cc: Stefan Monnier


smie-indent-forward-token appears unpredictable because sometimes it
errs with (scan-error "Unbalanced parentheses" 32 33) sometimes not.

I dug a bit deeper and found the following behaviour that might be
questionable.

For example, in a ruby-mode buffer with the following content, place
point inside the first "", and M-: (smie-indent-forward-token). Point
moves to the subsequent "" no matter how far away the second "" is.

-------- buffer content --------
"",
beg do
end
abc,
abc,
abc,
""
--------------------------------

Is this a bug?

Leo





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-12 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2021-08-12 13:40       ` Lars Ingebrigtsen

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.