Subject: Re: bug#25013: 26.0.50; parse-partial-sexp ignores string in shell-mode

From: [email-masked]
Date: Thu, 24 Nov 2016 19:48:57 -0500

tags 25013 notabug
quit

Andreas Röhler <[email-masked]> writes:

> M-xshell RET
> Insert an unfinished string like
>
> "git commit -m 'My message"
>
> From scratch-buffer call
>
> (let ()
>   (set-buffer "*shell*")
>   (goto-char (point-max))
>   (message "%s" (point))
>   (parse-partial-sexp (point-min) (point)))
>
> Tellsnot being in string.

That's because shell-mode doesn't define any syntax for strings.