You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mark-sexp and forward/backward-sexp assume the point is not in a comment or string. We can define some reasonable behavior for such situation. forward-sexp-function is not defined for fundamental-mode nor text-mode. So we must define what is a expected behavior:
marking a word
marking from the point to the end of the comment/string
marking the whole comment/string
marking a word or balanced brackets (what if the brackets is not balanced?)
Example code with cursor as []:
Hit C-M-SPC, C-M-@ or
mark-sexp
, marked region in between []Expected (eg from objc-mode)
The text was updated successfully, but these errors were encountered: