Open vellvisher opened 5 years ago
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:
Example code with cursor as []:
Hit C-M-SPC, C-M-@ or
mark-sexp
, marked region in between []Expected (eg from objc-mode)