bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: npostavs
Subject: bug#25013: 26.0.50; parse-partial-sexp ignores string in shell-mode
Date: Thu, 24 Nov 2016 19:48:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

tags 25013 notabug
quit

Andreas Röhler <andreas.roehler@easy-emacs.de> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]